From 89ea238ae8c88d3f73ec933c5b6f745ad2277c81 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sat, 19 Aug 2023 14:22:11 -0700 Subject: [PATCH 001/122] Margins/padding on lists --- themes/maddybook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/maddybook b/themes/maddybook index d675998..7ec7fad 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit d67599865d19f00353c3ffbeb513cf108b3d0442 +Subproject commit 7ec7faddd00827d3239e61771378e2fbe9623d1e From d68ab9a9b9f626789caca61ee88988dfb0009e7f Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Mon, 21 Aug 2023 20:40:43 -0700 Subject: [PATCH 002/122] Add IC asks --- content/extras/_index.md | 1 + content/extras/ic-asks/001.md | 16 +++++++ content/extras/ic-asks/002.md | 10 +++++ content/extras/ic-asks/003.md | 15 +++++++ content/extras/ic-asks/004.md | 10 +++++ content/extras/ic-asks/005.md | 9 ++++ content/extras/ic-asks/006.md | 30 +++++++++++++ content/extras/ic-asks/007.md | 24 ++++++++++ content/extras/ic-asks/008.md | 34 ++++++++++++++ content/extras/ic-asks/009.md | 17 +++++++ content/extras/ic-asks/010.md | 16 +++++++ content/extras/ic-asks/011.md | 12 +++++ content/extras/ic-asks/012.md | 11 +++++ content/extras/ic-asks/013.md | 15 +++++++ content/extras/ic-asks/014.md | 13 ++++++ content/extras/ic-asks/015.md | 21 +++++++++ content/extras/ic-asks/016.md | 14 ++++++ content/extras/ic-asks/017.md | 9 ++++ content/extras/ic-asks/018.md | 9 ++++ content/extras/ic-asks/019.md | 18 ++++++++ content/extras/ic-asks/020.md | 77 ++++++++++++++++++++++++++++++++ content/extras/ic-asks/021.md | 45 +++++++++++++++++++ content/extras/ic-asks/022.md | 75 +++++++++++++++++++++++++++++++ content/extras/ic-asks/023.md | 28 ++++++++++++ content/extras/ic-asks/024.md | 36 +++++++++++++++ content/extras/ic-asks/_index.md | 4 ++ 26 files changed, 569 insertions(+) create mode 100644 content/extras/ic-asks/001.md create mode 100644 content/extras/ic-asks/002.md create mode 100644 content/extras/ic-asks/003.md create mode 100644 content/extras/ic-asks/004.md create mode 100644 content/extras/ic-asks/005.md create mode 100644 content/extras/ic-asks/006.md create mode 100644 content/extras/ic-asks/007.md create mode 100644 content/extras/ic-asks/008.md create mode 100644 content/extras/ic-asks/009.md create mode 100644 content/extras/ic-asks/010.md create mode 100644 content/extras/ic-asks/011.md create mode 100644 content/extras/ic-asks/012.md create mode 100644 content/extras/ic-asks/013.md create mode 100644 content/extras/ic-asks/014.md create mode 100644 content/extras/ic-asks/015.md create mode 100644 content/extras/ic-asks/016.md create mode 100644 content/extras/ic-asks/017.md create mode 100644 content/extras/ic-asks/018.md create mode 100644 content/extras/ic-asks/019.md create mode 100644 content/extras/ic-asks/020.md create mode 100644 content/extras/ic-asks/021.md create mode 100644 content/extras/ic-asks/022.md create mode 100644 content/extras/ic-asks/023.md create mode 100644 content/extras/ic-asks/024.md create mode 100644 content/extras/ic-asks/_index.md diff --git a/content/extras/_index.md b/content/extras/_index.md index ae1c82b..46ebe24 100644 --- a/content/extras/_index.md +++ b/content/extras/_index.md @@ -8,6 +8,7 @@ layout: single * ["Assignment"](assignment): Ioan Bălan — 2273 * ["Meeting of One"](meeting-of-one): Ioan Bălan — 2309 * ["How to Upload Your Consciousness to Physical Infrastructure Using Docker Compose"](https://www.digitalocean.com/community/tutorials/how-to-upload-your-consciousness-to-physical-infrastructure-using-docker-compose) (Non-canonical but heavily influenced 'tutorial' written for April Fool's Day 2022) +* [In-Character asks](ic-asks) — Questions asked of various Post-Self characters, answered by the characters themselves. Authors include [@makyo](https://cohost.org/makyo), [@hamratza](https://cohost.org/hamratza), and [@KDARC](https://cohost.org/KDARC). ## Soundtracks diff --git a/content/extras/ic-asks/001.md b/content/extras/ic-asks/001.md new file mode 100644 index 0000000..b001bdc --- /dev/null +++ b/content/extras/ic-asks/001.md @@ -0,0 +1,16 @@ + +> You mentioned on the server how Michelle "had her own gender-play" in the form of a breast reduction. What does this tell us about her particular gender experience phys-side? How does it relate to her orientation or her string of unsuccessful relationships? How are these things reflected or subverted in the Odists? + + +Hold My Name Beneath Your Tongue And Know +: ([@makyo](https://cohost.org/makyo)) + + Michelle had a long string of unfruitful, short, abusive, and otherwise quite boring relationships back phys-side. She (for I do not call myself her anymore; she was her own person, just as I am) struggled with that, and that was actually the origin of her picking a skunk as her fursona. She said that she liked the aposematic stripes. "Stay away," they said. "I am not for you to bother." + + Similarly, at one point she started to question just how much of her body was involved in how she was treated by her partners. She liked it okay, to be clear. She was chubby. She was short. She was cute! I remember her thinking that. There were times that she wished she was skinnier, yes, but most of the time? She felt okay. + + Still, when she did worry about her body, it was particularly in how it played into her interactions with romance. She liked being cute, and wanted to be seen as cute, but did not particularly like the way that that played out for her. After a bit, she sought out a reduction. It was not expensive, nor was it difficult to achieve: a consult, a counseling session, and then a surgery, all in the span of a month. + + The end result was not quite what she expected. It was not just that she was relieved of back pain — though she was — nor that she was treated differently with regards to her body — though that was also true — but that she was *happier.* She did not experience gender dysphoria, in other words, but after this change, she experienced gender euphoria. It was then that she cut her hair shorter and changed the way that she dressed. It was then that she decided to stick with skunk, owning it as a view of herself rather than simply as a response to some dick in a furry sim that she then met in person. + + All of us in her clade have carried over that euphoria in some form or another. Perhaps it is in the ways in which they look. Perhaps it is in the pronouns that they use (several use ey/em pronouns as another little tribute). We are all queer, in our own ways, and for some of us more than others, that queerness surrounds gender. I am a nonbinary trans woman. E.W. is a man. Dear's answer to the question of "What is your gender?" is "You are asking the wrong question." diff --git a/content/extras/ic-asks/002.md b/content/extras/ic-asks/002.md new file mode 100644 index 0000000..eaeaf48 --- /dev/null +++ b/content/extras/ic-asks/002.md @@ -0,0 +1,10 @@ +> Do you think it is possible to know others better than one knows themself? Is truly knowing anybody to that level even possible? + +Hold My Name Beneath Your Tongue And Know +: ([@makyo](https://cohost.org/makyo)) + + Given the circuitous path I have taken with my own identity and how long it took me to figure out just why that fit so well, and given the rolling of eyes that I received when I told my down-tree instance But The Dead Know Nothing, I think I ought to say that it is most certainly possible for others to know one better than one knows oneself, even if only on the level of a microcosm. + + "I think I am transgender," I said, and she laughed in my face. She laughed! + + "Oh, honey," she said. "I am quite pleased that you have caught up at last." diff --git a/content/extras/ic-asks/003.md b/content/extras/ic-asks/003.md new file mode 100644 index 0000000..a32dffc --- /dev/null +++ b/content/extras/ic-asks/003.md @@ -0,0 +1,15 @@ +--- +--- + +> E.W.: Would you tell us a story about the wilderness? + +E.W. +: ([@makyo](https://cohost.org/makyo)) + + I remember teaching myself to hunt, promising myself that I would start small with snares and then work up from there, thinking that I would not let myself eat until I could eat food that I had caught myself. + + Eating itself is optional, sys-side. One can simply turn off that ability, just as one can (and most do) turn off the need to urinate, defecate, get the hiccups, and so on. + + The mind, however, remembers hunger. It remembers it so viscerally that, should you neglect to modify that out of your sensorium, you will feel it just as intense as you did back phys-side. It remembers the feeling of satiation that comes with eating. It remembers the feeling of being too full, of being sick to your stomach. It is a part of life, and even being infolife, we remember that from before we were such. + + So I remember getting so hungry and weak by the third day that I pinged Serene, my cocladist who had built me my little wilderness, to see if she could help. She laughed and ruffled my fur and called me a dumbass, saying that she had not included fauna because I had not requested it, so of course I did not catch anything. She brought me a hamburger and I ate it so fast I got sick. diff --git a/content/extras/ic-asks/004.md b/content/extras/ic-asks/004.md new file mode 100644 index 0000000..3dc013c --- /dev/null +++ b/content/extras/ic-asks/004.md @@ -0,0 +1,10 @@ + + +> Who's the best in the clade at scrabble? + +Dear The Wheat And Rye Under The Stars +: ([@makyo](https://cohost.org/makyo)) + + I believe that would be me. As Praiseworthy shifted her attentions to arts administration and her own projects, I was forked to focus on writing and the art inherent in language. + + That said, Where It Watches The Slow Hours Progress from the fifth stanza, who acts as script manager for a theatre company, has given me a run for my money several times, so perhaps we are on par. diff --git a/content/extras/ic-asks/005.md b/content/extras/ic-asks/005.md new file mode 100644 index 0000000..9e333ef --- /dev/null +++ b/content/extras/ic-asks/005.md @@ -0,0 +1,9 @@ +--- +--- + +> Bit of an odd question, is it possible for an down-tree or root member of a clade to merge with an up-tree cocladist? Essentially, willingly subsuming themselves into an up-tree member of their clade? + +Dear, Also, The Tree That Was Felled +: ([@makyo](https://cohost.org/makyo)) + + *Yes. Sort of. We call this 'bubbling up', which is when an individuated fork merges down and then the down-tree instance assumes their identity. The issue, however, is that when merging, the down-tree instance has the ability to selectively merge memories, while they cannot release their own memories, **except** in the instance where there are conflicting memories, wherein one can choose the up-tree instance's memories — this usually means a reinforcement to the point where the down-tree instance's memories in those cases feel more like a whimsical imagining rather than quite real.* diff --git a/content/extras/ic-asks/006.md b/content/extras/ic-asks/006.md new file mode 100644 index 0000000..2a85716 --- /dev/null +++ b/content/extras/ic-asks/006.md @@ -0,0 +1,30 @@ +--- +--- + +> alright Dear, what are your thoughts about the impermanence of self, meaning as even as we are ourselves we are changing and mutating away from what we are in the moment every minute of every day? + +Dear, Also, The Tree That Was Felled +: ([@makyo](https://cohost.org/makyo)) + + *I have found myself confronted with this as part of my very existence. I dance my dance of instance art and, in the process, it is that very individuation that becomes the core mechanic of the art. The word 'mechanic' is less than ideal, but it is what we have to lean on: yes, it is impressive when one forks smoothly or can lean creatively on the mutation algorithms, but the truly artistic aspect is putting a fine point on the ways in which we change on an hour-by-hour, minute-by-minute, second-by-second basis.* + + *Back in systime 59 (2183 by the old calendar), one of my first true exhibitions was a gala of sorts. I rented out a large ballroom and invited 50 individuals to join me in their finest for an evening of dances and delights. However, they were not to dance with each other, they were to dance with me. I forked 50 times over leaving fifty fennecs (well, 51, as one of me was left as the emcee for the evening) and we began dancing to all sorts of lovely music from throughout the centuries.* + + *However, one by one, my instances began to quit. It was no quiet affair. They quit with looks of agony, with yelps of fear, with wide eyes and trembling paws. The more instances that quit, the more anxious the remaining instances became. One by one, their number dwindled, until there was only one remaining, sobbing and pleading to remain, to not be annihilated. And then it, too, quit with a shriek.* + + *It was, of course, an act. Quitting does not feel like anything. There is no pain, no fear, certainly no anxiety in an instance artist such as myself. However, it did put a fine point on the absurdity of our condition, that these instances were no longer me, that that they changed with every step of their ballroom dance.* + + *That final instance was dancing with a member of my own clade: Time Is A Finger Pointing At Itself. I went into the exhibition with little plan as to who would be the final dancer. It had little to do with their skill (though our dear Pointillist was a fine dancer in her own right), and more to do with how they were reacting to this play of self. Would I lean into someone who shared in the foxes' terror? Would I lean into someone who expressed joy at the dance that I had set up? In the end, I leaned into an actor — A Finger Pointing runs a theatre company, made up mostly of members of her own stanza — who adopted an almost villainous aspect. She danced with a serene smile, even as that final dancer dissolved into tears, ending the song with a flourish of a bow even as it cried out in agony.* + + *Another reason that I chose her is that she correctly divined that I would not be merging the experiences of my up-tree instances back into myself as the emcee. It was not something that any of the guests needed to know. It was a private joke between all 51 of me. It was a way for me to be the audience as well. After all, did the other dancers not have access to my internal thoughts? Why, then, should I be any different?* + + *She, however, saw right through me, because of course she did. She is an inveterate actor! She is the manager of a troupe of actors! She picked her part and played it, and turned it into a show even for little old Dear.* + + *In our discussion afterward, we lingered long on this selfdom-as-play. "Sometimes I send a fork to a party I would really rather participate in myself, and when she returns with all those lovely experiences freshly welling up in her I think they belong to her," she said. "It is less about willful individuation and more about.. how every fork is an individual."* + + *To prove her point, she forked and then, on a whim, pulled this new fork over until she stumbled and slumped against her, laughing. She explained, "Here she is caught completely off her guard because I did not intend to surprise her until just now. She is different from me!"* + + *It is all very Heraclitus, is it not? He was the one who said that no man crosses the same river twice, because the river has changed minute-to-minute, second-to-second, as does the man. It was Weinberger who said that no one ever reads the same poem twice, because by reading the poem, the reader is changed: "Every reading of every poem, regardless of language, is an act of translation: translation into the reader's intellectual and emotional life. As no individual reader remains the same, each reading becomes a different — not merely another — reading."* + + *These are the things I think about when I think about the impermanence of the self, which is always.* + diff --git a/content/extras/ic-asks/007.md b/content/extras/ic-asks/007.md new file mode 100644 index 0000000..57f4f72 --- /dev/null +++ b/content/extras/ic-asks/007.md @@ -0,0 +1,24 @@ +--- +--- + + +> To those Odists engaged in the performing arts: +> +> Not counting instance artistry (Sorry Dear), do you ever opt for effects that would have been impossible phys-side? —Found in the Hearts of Many + +Time Is A Finger Pointing At Itself +: ([@hamratza](https://cohost.org/hamratza)) + + Dear and Heat And Warmth are both inspirations for Time Rushes and Motes and I. An integral part of our more spectacular productions involves construct, instance, and sim design. Of course, not everything is so *modern;* most of our work is done analogue, although I do tend to go ham on the theatres themselves. + + In those hazy days when reputation had much greater significance, we depended upon these particular shows to promote Voces Sensuum across the greater System. I am relieved that the Exchange has deflated so much as it has; we are less bound to the whims of popularity and can focus exclusively on our own creative endeavors. + + We do still indulge in spectacle from time to time, however. Our audience is about as impressed by such things as we are, and roping in *artists* rather than *designers* allows us to lean into that in a way that better suits all our tastes. + + Take *Spiro kaj Simpleco,* for instance. This was an example of immersive theatre, a collaboration with Serene and Rainbow's End to produce an interactive set using a sim cast entirely in impressionist textures, audience and all. + + The audience was asked to indulge in an autumn afternoon with the cast, with little dramas scattered about and a few planned to jostle those who came near out of an awkward silence. The filter Rainbow's End created cast the warmth of the Sun and fog of breath across blurred and broken faces in buttery yellow and wispy white, leaving the audience guessing as to who was who. + + This had the effect of rendering otherwise trivial conflicts impossible to follow. The scenes *themselves* were impressionistic. Each conflict was, on its own, meaningless; bantering partners and nagging down-trees and overbearing friends. What the audience was meant to find in this work was the peace that fell over every silent moment, the landscape that as often blended with bickering blobs as not. + + Perhaps the production could have been replicated phys-side, especially when considering the proliferation of exocortices during the 23rd century. For a truly impossible feat, you may have better luck asking a Sevgili. diff --git a/content/extras/ic-asks/008.md b/content/extras/ic-asks/008.md new file mode 100644 index 0000000..333b5cc --- /dev/null +++ b/content/extras/ic-asks/008.md @@ -0,0 +1,34 @@ +--- +--- + + +> To any Odist that would like to answer: What is the worst meal you have ever had in your entire life? + +Which Offers Heat And Warmth In Fire +: ([@hamratza](https://cohost.org/hamratza)) + + I think there is food that is just poorly-made and food that is ill-advised. It is easy enough to think of a dozen bland, burnt, and bungled meals. But I think it is much more interesting to talk about those meals that were cooked to perfection and managed to land staunchly in the domain of nauseating. + + The worst food I ever ate was a miserable chili with exactly the right amount of lime and with beans still whole and a toothsome mire of beef and plenty of spice. The problem was that it was all sideways. There was just a little bit too much salt, not enough paprika, and it was too runny for the oily-fresh tortilla chips it was served with. All these little incongruencies made for an unpleasant lunch that was just short of unpalatable. If it were any worse, I would have dreamt up my own entrée instead out of protest. + + Codrin and ████ cooked me all sorts of delicious things before the launches; that is why so much of what I have published on the Reputation Exchange is just Balkan cuisine and baked treats. But ████ was always into haute cuisine in particular, and this occasionally resulted in some rather interesting experiments. + + But the worst meal I ever had must have been the private dinner shared between Rye and Serene and Dear and Codrin and ████ and I on the weekend before Launch Day. There was this menagerie of flavors throughout the evening, beginning with an enticing ratatouille that did a wonderful job of making me hungrier than I began. + + The conversation at the table was lively. We all were laughing and gossipping and teasing one another as we do, and I really liked that. I liked that, if this was to be our last meal shared just as a family, it was one when we were at our best. Rye told us about her latest correspondence with No Longer Myself, about a particularly heartbreaking experience she inherited from If I Dream. Rye weaved her musings about character development and Dear made a quip by asking her whether that was destined for her latest novel or not. Codrin, on the other hand, was upset. Ey did not like what ey learned about the first stanza from that story. + + So more food arrived to make up for the lull in conversation. We got an onion soup with a cheesy garlic bread served swimming so that it disintegrated and added a little weight to the stock. It was rich and dark and sat in my stomach like a rock, but it was mostly broth and so the sensation washed away with just a sip of wine. + + Dear tried to console Codrin by pointing out that what Rye told us was a story about why No Longer Myself was forked, that it was a hopeful story about reclaiming an identity appropriated by the inevitable politics of the clade. Ey did not seem convinced, but ey did manage a smile when Serene blurted, "Leave it to Dear to solve an interpersonal conflict with art!" + + We had our main course, then, of course, and what came was a generous fillet of salmon served on a cedar plank with tomato salad. After that runny affair, it was just what my belly needed. It was hearty and toothsome and comparatively light. I feared I might not make it to dessert with how wholesome the dish was, but the wetness of the salad had the effect of washing away that sense of fullness before it became sore. + + One of the topics that came up between our mouthfuls was how Dear was calling it its "death day". Codrin brought it up, and Dear shot em a sharp look. Ey raised eir hands and apologized, but I spoke up to ask why Dear's idea bothered Dear. ████ explained that they three had agreed not to discuss that at the table tonight, to which Codrin protested. "I thought it might lighten the mood," ey said, and Rye agreed. The final course interrupted us before Dear could answer, naturally. + + Dessert was a plain and simple flan. Its texture was luxurious, the salty-sweetness a delightful answer to the savoriness lingering on our palates and coating the dish. The serving size might leave something to be desired if not for the fact that we just spent the last two hours eating. I think all of us welcomed how quaint it was. + + Dear sat in silence for a while after finishing its dessert, fiddling with its wine glass. Then something crossed its mind and it asked us to keep its next words in confidence, especially Codrin and ████. We all nodded, and it finally told us. It told us the obvious, of course, that they three would not be leaving any forks behind; that none of them will remain on the L5 System. + + Then it said, "We will die, here." It talked about how they would each be mourned and how they would only speak from beyond the heavens like spirits. Codrin looked uncomfortable. Ey murmured, "For a while," to which Dear only answered, "Yes. For a while." + + The food was delicious. The meal was rendered joyless. There was something wrong that evening, and I did not pin it down until I read the History a few years later. diff --git a/content/extras/ic-asks/009.md b/content/extras/ic-asks/009.md new file mode 100644 index 0000000..2a1e69a --- /dev/null +++ b/content/extras/ic-asks/009.md @@ -0,0 +1,17 @@ +--- +--- + +> Open letter to the Odists - Would you tell us about your favorite public sim? + +I Must Set No Stones Between Me And My Actions +: ([@KDARC](https://cohost.org/KDARC)) + + There is a sim that I love to visit when I remember, which is sometimes only a few days, and the standing record is a decade. It is a small village by a sea, and I am told it is based upon the shores of the Mediterranean. Along the beach, a massive wall runs for quite some distance. + + Besides fantastic food and a generally calm vibe, there are two reasons to visit. + + Every day, people head out onto the beach, and draw in the sand. Everyone is free to draw as they please, but the best days are when a large design takes hold early in the morning and everyone contributes. Each night, the tide rolls in slowly, and wipes clean the beach. No pictures or permanent records are allowed, save the ones in your head, since memories never really leave us. + + Meanwhile, on the walls and roads and roofs and floors of the village, a mosaic now approaching 180 years old spreads. When you enter the sim, you are given a single tile, in a choice of colors. So long as it is touching another tile, or a seam or edge where tiles touch, you can place a tile wherever you please. In the beginning, folks were limited to one tile a day, but at some point there must have been an issue, for now it is every 6 weeks. Some sections have been meticulously planned, while others are, to paraphrase a friend, “throwing tiles at the wall to see what sticks.” Once a tile is placed, it is there for good. If you misalign it, there is no fixing it, so choose wisely. + + Something about the ephemerality of the sand and the permanence of the tile speaks to me, and both the food and company are a delight. I have been dipping in and out for about 70 years now, and it is always a pleasure to see old faces, and new ones come to draw in the sand, or maybe place their first tile, or simply looking for a place to relax and sip some wine. I cannot recommend it enough! diff --git a/content/extras/ic-asks/010.md b/content/extras/ic-asks/010.md new file mode 100644 index 0000000..7a0510a --- /dev/null +++ b/content/extras/ic-asks/010.md @@ -0,0 +1,16 @@ +--- +--- + + +> Serene, +> +> If you can pick a favorite, which landscape that you have designed is yours? + +Serene; Sustained And Sustaining +: ([@makyo](https://cohost.org/makyo)) + + I created a swamp some time ago. It is quite boggy and wet, with open water, banyan trees, and patches of what look like solid ground, but which are actually patches of water grasses that cannot support the weight of a person. Winding throughout it is a rotting wooden bridge-path that ducks between the trees and leads from patch to patch of those grasses, all but inviting you to step off and sink down to your waist in brackish and algae-slimed water. + + It was quite poorly received — too many bugs, too poor a smell, too hot and muggy — and for that, I am deeply in love with it. This reception means that I am wildly successful in what I set out to do. I, haver of fur, am mostly immune to the bugs, and I can turn down my sensorium to deal with the scent, but I love walking between the trees, squatting on the rickety path and poking through the grasses, watching the gar and caimans float idly by. + + What can I say? I am a sucker for so imperfect a land. diff --git a/content/extras/ic-asks/011.md b/content/extras/ic-asks/011.md new file mode 100644 index 0000000..0926195 --- /dev/null +++ b/content/extras/ic-asks/011.md @@ -0,0 +1,12 @@ +--- +--- + +> What's an Odist and what's a sim? + +Serene; Sustained And Sustaining +: ([@makyo](https://cohost.org/makyo)) + + An Odist is a member of the Ode clade. We are (nominally) 100 individuals descended from a single uploaded consciousness named Michelle Hadje. As Michelle is no longer extant, this had led to us being ten disconnected subclades. Each of us is named from a line in a poem Many of us are human, many of us are anthropomorphic skunks — Michelle was a furry, back on Earth — and two of us are fennec foxes, for better or worse. + + Sims are the locations in which we live. I happen to be a sim designer, with a specialization in natural settings rather than buildings. + diff --git a/content/extras/ic-asks/012.md b/content/extras/ic-asks/012.md new file mode 100644 index 0000000..3243d5e --- /dev/null +++ b/content/extras/ic-asks/012.md @@ -0,0 +1,11 @@ +--- +--- + +> What's the weirdest or most unexpected species an Odist ended up settling as? + +Serene; Sustained And Sustaining +: ([@makyo](https://cohost.org/makyo)) + + I spent six months as an oak standing beside a river. My roots ran deep and I drank of fresh, cool water. My boughs reached high and I felt that striving for the sun. My wood was strong, my bark was thick, my heart was alive and green with sap. + + It was also incredibly fucking boring. diff --git a/content/extras/ic-asks/013.md b/content/extras/ic-asks/013.md new file mode 100644 index 0000000..f646d0d --- /dev/null +++ b/content/extras/ic-asks/013.md @@ -0,0 +1,15 @@ +--- +--- + +> do you think it would be possible to form someone new in a clade by a bunch of dispersionistas forking and letting one of them selves merge down? +> +> Like say we did it with 8 cocladists instead of 3? +> +> Also unrelated what brushes do you recommend for skunk tails + +Sasha +: ([@makyo](https://cohost.org/makyo)) + + I believe so, but I must warn you that it will take a lot of effort, lest you wind up in pieces of eight. If I am of three minds, being of eight, having eight times two hundred years of memory...I do not think that I would survive. + + And you want a comb, not a brush. A brush with our coarser fur will risk causing mats. Get a metal-toothed straight comb and start at the tips of the fur and then work your way in towards the tail itself so that you do not make any tangles in the fur worse! diff --git a/content/extras/ic-asks/014.md b/content/extras/ic-asks/014.md new file mode 100644 index 0000000..4a79ccc --- /dev/null +++ b/content/extras/ic-asks/014.md @@ -0,0 +1,13 @@ +--- +--- + +> To the Ode clade - What is the most beautiful thing you ever saw? + +May Then My Name Die With Me +: ([@makyo](https://cohost.org/makyo)) + + There is a moment at the very beginning of every relationship when their eyes light up on seeing me, and I can sense the gears finally mesh within their minds and they think, "Holy shit, I think I am in love." + + I am not immune to this, to be clear. I will be getting closer to someone and they will be doing the most innocuous thing — with Ioan, it was em changing the ink in one of eir fountain pens, leaning down with eir eyes almost level with the desk, the tip of eir tongue peeking out from between eir teeth — and I will think, "Oh gosh...I love them, do I not? I really do." + + I am sure that we all have our own answers, but for me, it is that moment. That is the most beautiful thing that I have seen. diff --git a/content/extras/ic-asks/015.md b/content/extras/ic-asks/015.md new file mode 100644 index 0000000..4470f7c --- /dev/null +++ b/content/extras/ic-asks/015.md @@ -0,0 +1,21 @@ +--- +--- + +> Do any in the Ode clade enjoy people-watching? With the freedom of form offered by the System, I imagine it becomes an even more interesting hobby than it can be phys-side. + +If I Dream Am I No Longer Myself +: ([@makyo](https://cohost.org/makyo)) + + My whole stanza, based off of the first line, focuses specifically on people watching. I, and many others, would honestly call it spying. They have been contracted by several individuals to spy on various people of note on the System. On Lagrange, Loss For Images and Even While Awake watched Ioan Bălan and May Then My Name Die With Me for nearly a quarter of a century, forking microscopic instances of themselves and secreting them around the house. + + My initial purpose was, in fact, to step away from this. My direct up-tree instance, If I Dream, forked when she began to have doubts about this supposed calling. While she never did work up the courage to disengage with this way of life (or perhaps she did, I have lost contact), I stepped away from the stanza to reconnect with the fourth stanza. They began by following creatives across the System before fucking off to do their own thing. I found that they did, indeed, largely just fuck off to do their own thing, and wanted little to do with me. + + So that is what I have done, these last however many decades — is it nearly a century, now? I have sat in town squares and sipped my coffee as I watch the passers-by. I have sat in bars and drank countless terrible drinks, cheek resting on my fist as I stare into the mirror behind the bartender and observe my fellow patrons. I have gone to dinner, requested a corner table, and gazed out over the sea of diners. + + I always do so alone. + + I always wear a different shape. + + I never speak. + + I like it better this way, this observing. There is no goal, I just...see. I just watch. Posthumanity is wonderful and disgusting and funny and sad and kinky and uptight and I love each and every last person I have laid my eyes upon. diff --git a/content/extras/ic-asks/016.md b/content/extras/ic-asks/016.md new file mode 100644 index 0000000..db54702 --- /dev/null +++ b/content/extras/ic-asks/016.md @@ -0,0 +1,14 @@ +--- +--- + +> So many of your clade are specialists - you reap the fruits of centuries of labor, each, in your field of choice. Do you know how one might cope with the opposite scenario? How does one handle knowing just a bit of everything and not enough of anything? + +If I Dream Am I No Longer Myself +: ([@makyo](https://cohost.org/makyo)) + + I think I have mentioned before that my down-tree instance forked when she started to grow wary of the direction her stanza was heading. Since then, I have indulged in people watching. I am pretty good at forking into different forms but other than that? I do not know. I am a very boring person. I do not know enough to get back into the spying game. I do not know enough to get into instance artistry. I like food, but I am a truly terrible cook. + + A lot of what looks like specialization is merely a hyperfixation expression of our neurodivergence. I stepped away from this observing hyperfixation and am now rudderless on the System. I am not unhappy, I suppose, but neither am I happy. What has my life amounted to? What do I have to show for the space I take up on Lagrange? I do not know. + + In the end, I have had to do my best to come to terms with being middling. I do not always succeed. Some days, it is all I can do to take joy in a really tasty sandwich, and some days I do not even manage that. Finding joy where one can is about all one has on the System. + diff --git a/content/extras/ic-asks/017.md b/content/extras/ic-asks/017.md new file mode 100644 index 0000000..f0debba --- /dev/null +++ b/content/extras/ic-asks/017.md @@ -0,0 +1,9 @@ +--- +--- + +> To the Ode clade: What is your favorite cheesy, overwrought, low-budget, or otherwuse terribke-but-fun movie? + +For They, Knowing Not, Provide Life In Death +: ([@makyo](https://cohost.org/makyo)) + + This is perhaps cheating, as I do not think this is in any way a subversive opinion, but "Pacific Rim". It was quite high budget, but it was also overwrought, terrible, and incredibly stupid. Oldie, as they say, but goldie. diff --git a/content/extras/ic-asks/018.md b/content/extras/ic-asks/018.md new file mode 100644 index 0000000..335bd36 --- /dev/null +++ b/content/extras/ic-asks/018.md @@ -0,0 +1,9 @@ +--- +--- + +> Any Odist who feels like speaking up: what is your favorite episode of MST3K? + +For They, Knowing Not, Provide Life In Death +: ([@makyo](https://cohost.org/makyo)) + + Slab Bulkhead! Fist Rockbone! Punch Rockgroin! Stump Beefknob! Brick Hardmeat! Big McLargeHuge! diff --git a/content/extras/ic-asks/019.md b/content/extras/ic-asks/019.md new file mode 100644 index 0000000..3cdf85f --- /dev/null +++ b/content/extras/ic-asks/019.md @@ -0,0 +1,18 @@ +--- +--- + +> To Dear and May Then My Name: Have you ever thought about a Bizarro Universe scenario where you trade places with Codrin and Ioan, respectively? I find myself struggling to imagine it. + +Dear +: ([@makyo](https://cohost.org/makyo)) + + *There are, perhaps, two readings of this. If you mean Codrin and myself switching places, and you are wondering what it would be like for me to date an Odist as a non-Odist, I think I would find myself maddening, and I would have dropped myself years ago. It is perhaps uncomfortable to admit, but there is no small amount of self-loathing in me. I have spent my time in a relationship with another Odist — my close cross-tree instance Serene — and...well. I love her dearly, but she puts rather a fine point on all of the things that I loathe in myself, sometimes.* + + *If, however, you mean me switching places with May Then My Name and being in a relationship with Ioan, then, my dear, you have no idea how eager I would be to corrupt that poor, innocent soul, especially as ey is now. The Ioan who became Codrin was of a very specific type, but this Ioan? The one that May Then My Name has tainted? Oh, how delicious that would be!* + +May Then My Name +: ([@makyo](https://cohost.org/makyo)) + + Similar to Dear, I shall answer each in turn. If you mean me switching places with Ioan as ey is now, then I do not think much would change. I have absolutely ruined em for a life alone, and I think that ey would feel quite out of sorts if I were not around, just as I feel quite out of sorts when ey is not around. That said, I cannot ignore what happens when I overflow. Ey does not like it when I dissolve into tears and ask em to leave me alone for days at a time. It is a thing I dislike about myself, but am hopeless before. I think that it would hurt me far more to experience it from the other side. I think that I would...well. I think we would risk a feedback loop of tears, and there would be days afterwards when we would struggle. + + If you mean me switching with Dear...well, I like Codrin plenty. I think ey is lovely in many of the same ways that Ioan is. That said, I do not think that ey is necessarily my type, especially as ey is now, having been ruined by Dear. Could I love em? Of course! I *do* love em. But could we be in a relationship? I do not think so. diff --git a/content/extras/ic-asks/020.md b/content/extras/ic-asks/020.md new file mode 100644 index 0000000..0d47f5f --- /dev/null +++ b/content/extras/ic-asks/020.md @@ -0,0 +1,77 @@ +--- +--- + +> To any and all odists, if you had to pick a line or phrase from another work of art as a name, what would you pick? +> +> Sincerely, +> The Way Out Is Through + +Hold My Name Beneath Your Tongue And Know +: ([@makyo](https://cohost.org/makyo)) + + If You Get Her Flowers, She Will Cry + + (Jen Durbent's "10 simple rules for dating a trans girl") + +Which Gives Heat And Warmth In Fire +: ([@hamratza](https://cohost.org/hamratza)) + + Ray Of Light And + + (Halley Labs) + +Time Is A Finger Pointing At Itself +: ([@hamratza](https://cohost.org/hamratza)) + + Dance Unblushing + + (Halley Labs) + +Beholden To The Heat Of The Lamps +: ([@makyo](https://cohost.org/makyo)) + + If You Got A Bone To Pick With Time, We Got A Score To Settle Too + + (Bent Knee's "Bone Rage") + +Where It Watches The Slow Hours Progress +: ([@makyo](https://cohost.org/makyo)) + + Senmova Kaj Ĉiam Ŝanĝiĝema + + (Madison Scott-Clary's "Numeno") + +From Whence Do I Call Out +: ([@makyo](https://cohost.org/makyo)) + + Eden Is Our Creation Right + + (Jen Durbent's "xenoglossia (2018 rev)") + +May One Day Death Itself Not Die +: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) + + That Which Dies Shall Still Know Life In Death + + (Jeff Vandermeer's Annihilation) + +Is To Pray For The End Of Memory +: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) + + It Shall Walk The World In The Bliss Of Not-Knowing + + (Jeff Vandermeer's Annihilation) + +Perhaps This, Too, Is Meaningless +: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) + + Its Dark Flame Shall Acquire Every Part Of You That Remains + + (Jeff Vandermeer's Annihilation) + +Should We Forget The Lives We Lead +: ([@makyo](https://cohost.org/makyo)) + + Would God I Had Died For Thee + + (2 Samuel 18:33, KJV) diff --git a/content/extras/ic-asks/021.md b/content/extras/ic-asks/021.md new file mode 100644 index 0000000..21f05e4 --- /dev/null +++ b/content/extras/ic-asks/021.md @@ -0,0 +1,45 @@ +--- +--- + +> What do you think about phys-siders? You have the endless expande of centuries laid out before you, when they so often have but a handful of decades. It all seems so terribly tragic. + +And The Only Constant Is Change +: ([@hamratza](https://cohost.org/hamratza)) + + It *is* all so terribly tragic. + + When Douglass joined us, he hoped to meet his ancestor here at last. He rather idolizes her, something that only amplified the tragedy of his arriving when he did. But he has all of us, her up-trees — direct or indirect — to tell him ninety-nine stories about ninety-nine Michelles Hadje, and the promise of many more to be told by our unspoken forks. + + In death, I mean to say, the memory of who she was is quite literally preserved in us. And, with our perfect recollection, we each hold a piece of the story about what she became on the System. In this, we are bathed in fortune. + + But there are *plenty* who look to the System with fear. They raise objections as to the continunity of self, a natural observation from those whose closest brush with oblivion is most often sleep. We dispersionistas take for granted the significance of quitting, even when preserving another self. + + Motes and Heat And Warmth falling over one another a dozen times, wrestling with each other in an ephemeral game of leapfrog, must surely horrify those phys-side who warn of transporter paradoxes as each tail-end instance yields to the next and quits. How macabre the squeals of laughter must be to their ears, how unsettling the smiles on their faces as they settle in the grass with glee, overjoyed at the serial murders they both have just committed. + + And then there is time. It is easy for us to forget about phys-side on account of all the System has to offer us. Easier, still, for the only faded memories we can have are of the world before, and many are so miserable. Some of us came here seeking to help reclaim the Earth, and nearly as many eventually succumb to escapism. + + There are the families we left behind, and if we are not careful, they are gone before we know it. Those flicker-lives yet bound to Earth are still our kin, as Ioan was painfully reminded when ey at last looked into what became of Rareș in eir absence. Many who came here before the 2170s look to the prospect of immortality with *relief.* Many of those who came after, pointedly, *did not.* + + Why did Rareș not join his sibling when the years began to take their toll? What life did he live so worthy of death? Did he set a headstone for Ioan when ey uploaded to fund his education? Did he mourn when his sibling did not write him as frequently as he would have liked? + + It is all so terribly tragic, but I do *not* pity them. + +Dear The Wheat And Rye Under The Stars +: ([@makyo](https://cohost.org/makyo)) + +{{% verse %}} + Of course it is strange to inhabit the Earth no longer, +To follow no longer the customs so newly acquired, +To invest no longer with future humanity +Such promising things as roses, +... +And being dead is full of the labor of catching up, +As one gradually acquired a sense of eternity.— +But the living always make the mistake of too sharp a distinction. +... +In the end, they need us no longer, those taken in youth. +One gradually weans oneself from the earthly... +... But we, +Who need such great mysteries, for whom out of grief +So often comes blessed improvement—: could we be without them? +{{% /verse %}} diff --git a/content/extras/ic-asks/022.md b/content/extras/ic-asks/022.md new file mode 100644 index 0000000..798533c --- /dev/null +++ b/content/extras/ic-asks/022.md @@ -0,0 +1,75 @@ +--- +--- + +> Would any of the Ode clade like to share a favorite work of poetry, excluding the Ode itself? + +#### I Remember The Rattle Of Dry Grass: + +I read this snippet of Neruda at a party for New Year's, 2399. + +{{% verse %}} +Let us unleash all our bottled up happiness +and seek out some lost sweetheart +who accepts a festive nibble. +It is today. Today has arrived. Let us walk on the rug +Of the inquiring millennium. The heart, the almond +of the mounting epoch, the definitive grape +will go on depositing themselves in us, +and truth — so long awaited — will arrive. +{{% /verse %}} + +#### Dear, Also, The Tree That Was Felled: + +This poem by Dickinson, as well as being a fond memory from the past, expresses my views on memory well. + +{{% verse %}} +There is a pain — so utter — +It swallows substance up — +Then covers the Abyss with Trance — +So Memory can step +Around — across — upon it — +As one within a Swoon — +Goes safely — where an open eye — +Would drop Him — Bone by Bone. +{{% /verse %}} + +#### Dear The Wheat And Rye Under The Stars: + +This is a newish translation by Eileen Cheng-Yin Chao of a poem by Xin Qiji. + +
少年不識愁滋味In youth I knew nothing of the taste of sorrow
愛上層樓。I liked to climb high towers
愛上層樓。I liked to climb high towers
為賦新詞強說愁。To conjure up a bit of sorrow to make new verse.
而今識盡愁滋味Now I know only too well the taste of sorrow.
欲說還休。I begin to speak yet pause
欲說還休。I begin to speak yet pause
卻道天涼好個秋。And say instead, “My, what a cool and lovely autumn.”
+How lovely a depiction of growth! + +#### May Then My Name Die With Me: + +I found this ancient poem by a furry named Dwale titled Poem for a Deceased Lover. I was prowling through some furry literature at the time to send to a cousin of ours, Douglas Hadje, without telling him the source. + +{{% verse %}} +Seven days had passed when I heard you died, +A message in the warm morning hours. Dawn +Rose, and no one said how I should go on, +Or wade this mire without my only guide. + +Flown to space by what callous earth destroyed, +I chase the long-flying radio waves. +Far away from grief and a potter's grave, +I sift to find again your breathing voice. + +Teacher, my every thought was yours to thresh, +So now what sure course would you recommend? +Your kind words turned to shrapnel in the end, +Pieces of you left here in my heart's flesh. + +Lover, did you mean to leave this deep wound? +I would sell my world to kiss you farewell. +Eleven years facing perpetual Hell, +And all I can say is, "Too soon, too soon." +{{% /verse %}} + +I sent him the second stanza, and this was his reply: + +> Does this have to do with the launch? It certainly feels like! It feels like how even now my mind is chasing those radio waves that are coming from the LVs, now so far out of reach for any one of us that we can barely comprehend. But still, we keep on searching for those voices that come back to us ever slower. Did someone on the LVs leave you behind? Someone you love? Family? One of your forks? Basically, someone whose voice you keep on searching for. Or maybe they were one of the eight irretrievably lost personalities? +> +> “Far away from grief and a potter’s grave” makes a lot of sense to me as someone who left Earth behind. I don’t know what it was like when you uploaded, but I can see it as a way to dream of some place better. + +(All by [@makyo](https://cohost.org/makyo)) diff --git a/content/extras/ic-asks/023.md b/content/extras/ic-asks/023.md new file mode 100644 index 0000000..bf16cd0 --- /dev/null +++ b/content/extras/ic-asks/023.md @@ -0,0 +1,28 @@ +--- +--- + +> Tips on intra-clade dating? + +Beholden To The Heat Of The Lamps +: ([@makyo](https://cohost.org/makyo)) + + Some time after I was forked, back in systime 3 (2127), I entered into a relationship with my down-tree instance, Time Is A Finger Pointing At Itself. You must understand, however, that until perhaps systime 230 (2354), intraclade relationships were seen as taboo, at least on Lagrange — I know that attitudes on Pollux had loosened quite a bit. It was seen as subversive and distasteful, a sort of moral masturbation. + + And yet, we loved each other. We were different people, were we not? From the moment I was forked and began to focus on my work as an audio tech, I was a different person. My values began to shift. My appearance began to shift. The way I spoke began to shift. I am not Pointillist. She is not Beholden. We are separate individuals, and we are in love. + + Of course, we drifted closer together and further apart over the years, but we settled into a comfortable sort of domesticity and playfulness, and it was not until such taboo began to lift, being seen as artificial and particularly meaningless for older clades, that our relationship became more open, first among friends, and then out on the street, in the bars after a performance. + + As for tips, I think my biggest would be that, yes, you share a common past, but do not assume that this means you know what the other is thinking. You may share values, memories, a general approach to life, but you do not read minds. + +Time Is A Finger Pointing At Itself +: ([@hamratza](https://cohost.org/hamratza)) + + We stumbled into intimacy one evening when the bleary neon haze of a night out turned to giddy exploration. "How lewd~," she said at least a dozen times (Beholden was *very* much zooted by this point). All that bratty pomp and wily poise turned to heady laughter and *mortifying* sounds of joy. She was positively *adorable.* She still is, of course, except that she has hardened over the years and is now quite the bully if I do not feed her something nice before taking her out dancing. + + Aromancy complicates my feelings about her — and my answer to this question — but there has always been this comradery between us about taboos. We both are irreverently indulgent in this respect, and have found a kind of reclamation in private profanity. When at last the tides had turned away from scorn, it was a privilege to kiss her paw in public; to give that one disdainful pair of eyes a wink, and to know in that moment we held more power over the bearer of that withering gaze than they held over us. + + I hope that you and whoever you are thinking about in this moment have had the chance to open up in these recent decades. But there is more to this question than the intrinsic queerness of transgressive relationships such as ours. You also ask about the unique implications of loving a reflection of oneself. Cross-tree relationships may seem a little easier in this regard, but I have seen my share of those amidst my cocladists. Take Codrin's musings about Dear and Serene on Pollux or, more distantly, Heat And Warmth and Hold My Name, who I have seen my fair share of first-hand. Both of these pairs are particularly boisterous, especially as compared to Beholden and I, and rather often stumble into ephemeral disagreements. + + Even as they do, however, there is an implicit understanding of nuance that is much harder to craft in conventional relationships. Dear and Serene solve their disputes with the grace of deeply-rooted trust, and Heat And Warmth and Hold My Name speak to each other with a kind of careful articulation that rather reminds me of the couple of times True Name has seen fit to admonish me over the centuries. We all are Odists, after all; it is difficult to say precisely what this feeling is, but the essence of it is that we do not have to work as hard to explain ourselves to one another. We all get it; so all that is left is to do is to *perform* getting it. + + Even if you already understand, sometimes what you need is just to feel heard. diff --git a/content/extras/ic-asks/024.md b/content/extras/ic-asks/024.md new file mode 100644 index 0000000..381bd36 --- /dev/null +++ b/content/extras/ic-asks/024.md @@ -0,0 +1,36 @@ +--- +--- + +> For whichever Odists this best suits: Sometimes, I will lead somebody around, down a given path of inquiry or to certain conclusions. To encourage them to ask "the right questions." It ends up feeling like an elaborate game, particularly if they grow wise and lean into their part. Do you think manipulation of this sort is wrong, even when the purpose is benign or simply for play? For that matter, do you have any general thoughts on People and how they interact? + +The Only Time I Know My True Name Is When I Dream +: The Artemesians have a word for this: *tuvårouni;* “push-play”, they called it, a tension in all our dealings with others that enables us to overcome the inertia of comfort. If communication is the means by which ideas are expressed and transformed, then manipulation is how we engage in this push-play; if we all felt the same to begin with, after all, then why have words at all? Communication is manipulation, so this playfully benign qualifier describes *teasing,* not harm. + +May Then My Name Die With Me +: You are not wrong that communication contains at its heart manipulation. However it is more than just manipulation. It is more of a give-and-take than a push-and pull. This is the way in which people work: we make our arguments, yes, but we love, we dance, we offer and receive freely. You mention the framing of this question with its playful qualifier. That is a sort of boundary around the topic. Boundaries such as these must be kept. One must keep this push-play above board and open to disconsent. Consent is to be informed, as I have said before. + +True Name +: Yes; consent, after all, is ideally unambiguous and overt. But it is also true that consent can grow more playful, more implicit, more sly. This, I think, is an example of that *tuvårouni,* where one becomes more open to unanticipated, unplanned kinds of play. Play, perhaps, as in the insinuation that Ioan might grow some dandelions, yes? + +May Then My Name +: I…well, you are not wrong, there. It became a part of our relationship as we grew closer together. I am not sure that I would do the same thing, now, as the person that I have become; I would feel…well, manipulative. I do not think that would feel good at all. + +True Name +: But you do not feel bad now. Do those dandelions not remain in eir lawn? I have seen you come in with a dandelion behind your ear. Do you both not cherish them? Do you suppose Ioan resents that you convinced em to grow some dandelions? + +May Then My Name +: I will concede that point. You are correct. The dandelions remain and have not been uprooted. We both love them. That said, this growing of dandelions was intentional. I must have gotten that from somewhere, right? After all, I was pointed to em by you, and for the very explicit purpose of shaping the *History.* + +True Name +: It was not solely for that purpose; I did point you somewhere that I thought was best for all of us, true. But that somewhere was towards someone who could lift you up after your previous relationship; who could understand and so fairly present the story of our clade to others; who could capture the history of the System with only the best of intentions. I held all of these in balance when I wrote you that letter, May Then My Name. + +May Then My Name +: Do you feel that way still, now that you are getting coffee with em once a month? + +True Name +: …There is the sense that ey does not wholly trust me, and I am sore for that. I am sure that is in part because your relationship with em was all but arranged, for better or for worse. There is a cynicism in this kind of dual-intent. I stand by every word of that letter, but there was clearly harm in coupling what was sincere with what had utility to preserving the continuity of the System, and for that I do apologize. + +May Then My Name +: There was harm, yes, and I am not upset at where we have wound up and how. Both of these can be true at once. Both are true, my dear. And I must admit, it can be kind of *fun.* + +(May Then My Name by [@makyo](https://cohost.org/makyo) and True Name by [@hamratza](https://cohost.org/hamratza)) diff --git a/content/extras/ic-asks/_index.md b/content/extras/ic-asks/_index.md new file mode 100644 index 0000000..ded7ef5 --- /dev/null +++ b/content/extras/ic-asks/_index.md @@ -0,0 +1,4 @@ +--- +title: In-Character asks +type: chapter +--- From 4d62cf6fed2ba3521fd2e41541b9965df37f77be Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 24 Aug 2023 17:57:09 -0700 Subject: [PATCH 003/122] Start on writing guide --- content/_index.md | 1 + content/about/_index.md | 1 + content/about/writing.md | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 content/about/writing.md diff --git a/content/_index.md b/content/_index.md index 084569e..e3d4bed 100644 --- a/content/_index.md +++ b/content/_index.md @@ -65,6 +65,7 @@
  • Timeline — A basic timeline of events covered in the books
  • Dramatic Personae — A list of characters in the books and where they came from
  • The Universe — The mechanics of the setting
  • +
  • Writing in the Post-Self Setting — A guide to writing your own works in the universe
  • Glossary — Some common words and terms
  • Questions and Answers — Questions that have arisen and some answers to go with them
  • diff --git a/content/about/_index.md b/content/about/_index.md index 67ed121..a07907a 100644 --- a/content/about/_index.md +++ b/content/about/_index.md @@ -22,6 +22,7 @@ The Post-Self universe is an open setting for exploring the ramifications of bei * [Timeline](timeline) * [Dramatis Personae](characters) * [The Universe](universe) +* [Writing in the Post-Self Setting](writing) * [Glossary](glossary) * [Questions and Answers](questions) diff --git a/content/about/writing.md b/content/about/writing.md new file mode 100644 index 0000000..e27743d --- /dev/null +++ b/content/about/writing.md @@ -0,0 +1,28 @@ +--- +title: Writing in the Post-Self Universe +--- + +* The Lost + * Each subjective experience is unique + * There are permanent effects + * Language + * All of those who didn't die uploaded +* The System + * The key mechanics + * A collection of varied societies +* The Launch + * Three Systems + * Transmission delay +* Artemis + * Four new races, one new System + * Convergence — the event and the location + +* 'Do's: + * *Queerness:* The Post-Self setting is aggressively and explicitly queer. This is a place to explore identity through romance — monogamous and polyamorous — gender, species, plurality, anything. If it can be queered, please queer it! The society is far, far more accepting of such than today's, even phys-side. + * *Neurodivergence:* As neurodivergence follows one along after uploading, this is an area ripe for exploration, whether that means finding ways to fork it away or finding ways to revel in it as an integral part of oneself. + * *Climate crisis:* One big draw to the System is getting away from the worsening climate back on Earth. Even after it starts to level out (and even improve) after about 2350, the System offers greener grass. There are many stories to be told there. + * *The bittersweet:* Uploading is one-way and destructive. There is a loss behind every upload. The System itself is built on the backs of the lost. Climate grief remains a real issue. Finding ways to deal with grief and yet find the sweet in one's new life is part and parcel of the setting. +* 'Don't's + * *Violence:* While there is some violence in the System, and obviously things remain somewhat difficult back phys-side, the core of the conflict should not boil down to or result in wanton violence. + * *Bigotry:* There are some taboos that remain, such as the one surrounding intraclade relationships (until about 2355), but there is little need to overcome adversity over identity sys-side. + * *Other characters:* Don't use other characters — even open clades such as the Ode clade — without asking. While many will say yes, this will have the added benefit of you being able to write more closely to the author's vision. From 1319a9e3199fa49ce7ebe09406493efb8dd49d8a Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Fri, 25 Aug 2023 20:41:00 -0700 Subject: [PATCH 004/122] Expand front page --- content/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/_index.md b/content/_index.md index 084569e..68c9d76 100644 --- a/content/_index.md +++ b/content/_index.md @@ -21,6 +21,7 @@
  • Given the ability to create a full copy of yourself—down to every single one of those memories—to do as they will, to individuate and live out their own forever lives, or merge back down and meld their memories with your own, what paths do you take?
  • +

    The Post-Self universe is an open setting for exploring the ramifications of being able to create copies of oneself, of what it means to undergo individuation, of what it means to let memories build up and up and up within oneself. With four novels, two novellas, and an anthology of short stories, there's story to explore spanning nearly three centuries of history.

    From 6f4e2f14b1488181d7c3614f66106d91fa959854 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 30 Aug 2023 16:45:48 -0700 Subject: [PATCH 005/122] IC asks --- content/extras/assignment.md | 2 +- content/extras/ic-asks.md | 988 +++++++++++++++++++++++++++++++ content/extras/ic-asks/001.md | 16 - content/extras/ic-asks/002.md | 10 - content/extras/ic-asks/003.md | 15 - content/extras/ic-asks/004.md | 10 - content/extras/ic-asks/005.md | 9 - content/extras/ic-asks/006.md | 30 - content/extras/ic-asks/007.md | 24 - content/extras/ic-asks/008.md | 34 -- content/extras/ic-asks/009.md | 17 - content/extras/ic-asks/010.md | 16 - content/extras/ic-asks/011.md | 12 - content/extras/ic-asks/012.md | 11 - content/extras/ic-asks/013.md | 15 - content/extras/ic-asks/014.md | 13 - content/extras/ic-asks/015.md | 21 - content/extras/ic-asks/016.md | 14 - content/extras/ic-asks/017.md | 9 - content/extras/ic-asks/018.md | 9 - content/extras/ic-asks/019.md | 18 - content/extras/ic-asks/020.md | 77 --- content/extras/ic-asks/021.md | 45 -- content/extras/ic-asks/022.md | 75 --- content/extras/ic-asks/023.md | 28 - content/extras/ic-asks/024.md | 36 -- content/extras/ic-asks/_index.md | 4 - 27 files changed, 989 insertions(+), 569 deletions(-) create mode 100644 content/extras/ic-asks.md delete mode 100644 content/extras/ic-asks/001.md delete mode 100644 content/extras/ic-asks/002.md delete mode 100644 content/extras/ic-asks/003.md delete mode 100644 content/extras/ic-asks/004.md delete mode 100644 content/extras/ic-asks/005.md delete mode 100644 content/extras/ic-asks/006.md delete mode 100644 content/extras/ic-asks/007.md delete mode 100644 content/extras/ic-asks/008.md delete mode 100644 content/extras/ic-asks/009.md delete mode 100644 content/extras/ic-asks/010.md delete mode 100644 content/extras/ic-asks/011.md delete mode 100644 content/extras/ic-asks/012.md delete mode 100644 content/extras/ic-asks/013.md delete mode 100644 content/extras/ic-asks/014.md delete mode 100644 content/extras/ic-asks/015.md delete mode 100644 content/extras/ic-asks/016.md delete mode 100644 content/extras/ic-asks/017.md delete mode 100644 content/extras/ic-asks/018.md delete mode 100644 content/extras/ic-asks/019.md delete mode 100644 content/extras/ic-asks/020.md delete mode 100644 content/extras/ic-asks/021.md delete mode 100644 content/extras/ic-asks/022.md delete mode 100644 content/extras/ic-asks/023.md delete mode 100644 content/extras/ic-asks/024.md delete mode 100644 content/extras/ic-asks/_index.md diff --git a/content/extras/assignment.md b/content/extras/assignment.md index db3bd77..328c4fa 100644 --- a/content/extras/assignment.md +++ b/content/extras/assignment.md @@ -8,7 +8,7 @@ The sensation of an instance merging state back with em would never *not* make I Or perhaps hanging with a sib, fresh home from a semester abroad. -Ioan#tracker had never been abroad, had no siblings. Just new memories. +Ioan#tracker had never been abroad, had only ever lived with eir brother. Just new memories. And yet there was the merge request, waiting. Ey set aside eir work --- a simple bit of nothing for a news organization that really didn't matter but nonetheless offered some reputation --- and sat back to deal with the squirming, greasy feeling of the merger. diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md new file mode 100644 index 0000000..03ddb82 --- /dev/null +++ b/content/extras/ic-asks.md @@ -0,0 +1,988 @@ +--- +title: In-Character asks +toc: true +--- + + + +## On Identity + +> You mentioned on the server how Michelle "had her own gender-play" in the form of a breast reduction. What does this tell us about her particular gender experience phys-side? How does it relate to her orientation or her string of unsuccessful relationships? How are these things reflected or subverted in the Odists? + +
    Hold My Name Beneath Your Tongue And Know + +Michelle had a long string of unfruitful, short, abusive, and otherwise quite boring relationships back phys-side. She (for I do not call myself her anymore; she was her own person, just as I am) struggled with that, and that was actually the origin of her picking a skunk as her fursona. She said that she liked the aposematic stripes. "Stay away," they said. "I am not for you to bother." + +Similarly, at one point she started to question just how much of her body was involved in how she was treated by her partners. She liked it okay, to be clear. She was chubby. She was short. She was cute! I remember her thinking that. There were times that she wished she was skinnier, yes, but most of the time? She felt okay. + +Still, when she did worry about her body, it was particularly in how it played into her interactions with romance. She liked being cute, and wanted to be seen as cute, but did not particularly like the way that that played out for her. After a bit, she sought out a reduction. It was not expensive, nor was it difficult to achieve: a consult, a counseling session, and then a surgery, all in the span of a month. + +The end result was not quite what she expected. It was not just that she was relieved of back pain — though she was — nor that she was treated differently with regards to her body — though that was also true — but that she was *happier.* She did not experience gender dysphoria, in other words, but after this change, she experienced gender euphoria. It was then that she cut her hair shorter and changed the way that she dressed. It was then that she decided to stick with skunk, owning it as a view of herself rather than simply as a response to some dick in a furry sim that she then met in person. + +All of us in her clade have carried over that euphoria in some form or another. Perhaps it is in the ways in which they look. Perhaps it is in the pronouns that they use (several use ey/em pronouns as another little tribute). We are all queer, in our own ways, and for some of us more than others, that queerness surrounds gender. I am a nonbinary trans woman. E.W. is a man. Dear's answer to the question of "What is your gender?" is "You are asking the wrong question." + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> Do you think it is possible to know others better than one knows themself? Is truly knowing anybody to that level even possible? + +
    Hold My Name Beneath Your Tongue And Know + +Given the circuitous path I have taken with my own identity and how long it took me to figure out just why that fit so well, and given the rolling of eyes that I received when I told my down-tree instance But The Dead Know Nothing, I think I ought to say that it is most certainly possible for others to know one better than one knows oneself, even if only on the level of a microcosm. + +"I think I am transgender," I said, and she laughed in my face. She laughed! + +"Oh, honey," she said. "I am quite pleased that you have caught up at last." + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> alright Dear, what are your thoughts about the impermanence of self, meaning as even as we are ourselves we are changing and mutating away from what we are in the moment every minute of every day? + +
    Dear, Also, The Tree That Was Felled + +*I have found myself confronted with this as part of my very existence. I dance my dance of instance art and, in the process, it is that very individuation that becomes the core mechanic of the art. The word 'mechanic' is less than ideal, but it is what we have to lean on: yes, it is impressive when one forks smoothly or can lean creatively on the mutation algorithms, but the truly artistic aspect is putting a fine point on the ways in which we change on an hour-by-hour, minute-by-minute, second-by-second basis.* + +*Back in systime 59 (2183 by the old calendar), one of my first true exhibitions was a gala of sorts. I rented out a large ballroom and invited 50 individuals to join me in their finest for an evening of dances and delights. However, they were not to dance with each other, they were to dance with me. I forked 50 times over leaving fifty fennecs (well, 51, as one of me was left as the emcee for the evening) and we began dancing to all sorts of lovely music from throughout the centuries.* + +*However, one by one, my instances began to quit. It was no quiet affair. They quit with looks of agony, with yelps of fear, with wide eyes and trembling paws. The more instances that quit, the more anxious the remaining instances became. One by one, their number dwindled, until there was only one remaining, sobbing and pleading to remain, to not be annihilated. And then it, too, quit with a shriek.* + +*It was, of course, an act. Quitting does not feel like anything. There is no pain, no fear, certainly no anxiety in an instance artist such as myself. However, it did put a fine point on the absurdity of our condition, that these instances were no longer me, that that they changed with every step of their ballroom dance.* + +*That final instance was dancing with a member of my own clade: Time Is A Finger Pointing At Itself. I went into the exhibition with little plan as to who would be the final dancer. It had little to do with their skill (though our dear Pointillist was a fine dancer in her own right), and more to do with how they were reacting to this play of self. Would I lean into someone who shared in the foxes' terror? Would I lean into someone who expressed joy at the dance that I had set up? In the end, I leaned into an actor — A Finger Pointing runs a theatre company, made up mostly of members of her own stanza — who adopted an almost villainous aspect. She danced with a serene smile, even as that final dancer dissolved into tears, ending the song with a flourish of a bow even as it cried out in agony.* + +*Another reason that I chose her is that she correctly divined that I would not be merging the experiences of my up-tree instances back into myself as the emcee. It was not something that any of the guests needed to know. It was a private joke between all 51 of me. It was a way for me to be the audience as well. After all, did the other dancers not have access to my internal thoughts? Why, then, should I be any different?* + +*She, however, saw right through me, because of course she did. She is an inveterate actor! She is the manager of a troupe of actors! She picked her part and played it, and turned it into a show even for little old Dear.* + +*In our discussion afterward, we lingered long on this selfdom-as-play. "Sometimes I send a fork to a party I would really rather participate in myself, and when she returns with all those lovely experiences freshly welling up in her I think they belong to her," she said. "It is less about willful individuation and more about.. how every fork is an individual."* + +*To prove her point, she forked and then, on a whim, pulled this new fork over until she stumbled and slumped against her, laughing. She explained, "Here she is caught completely off her guard because I did not intend to surprise her until just now. She is different from me!"* + +*It is all very Heraclitus, is it not? He was the one who said that no man crosses the same river twice, because the river has changed minute-to-minute, second-to-second, as does the man. It was Weinberger who said that no one ever reads the same poem twice, because by reading the poem, the reader is changed: "Every reading of every poem, regardless of language, is an act of translation: translation into the reader's intellectual and emotional life. As no individual reader remains the same, each reading becomes a different — not merely another — reading."* + +*These are the things I think about when I think about the impermanence of the self, which is always.* + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> How does the drastic mutability of one's form on the System interact with being trans? How has this affected the language cladists use to discuss gender? What does it mean to be trans in a world in which your sex can be modified on a whim to accomodate your needs? + +
    To Deny The End, Is To Deny All Beginnings + +How, indeed, do we define transness at all? Do pronouns precede the flesh? Does being trans require the body to change, or the mind? Does what one's body or identity was before uploading define what it is after? + +By the "traditional" definition, a dated concept even by the time we uploaded, I am transmasculine, because the root of our clade was mostly a cis woman and I am masculine. It might be argued that most of my stanza is one way or another, since most of us use he/him pronouns. I changed my physical appearance, my clothes, my mannerisms, my everything. I am defined by what Michelle Hadje mostly was not. Some used to define transgender as a struggle, against the body, against societal expectations, against laws political or religious, against a role foisted upon us. + +But it cost me nothing. If there is any remnant of a previous feminine self on me or in me, it was a conscious choice to keep. One can change everything about themselves at a whim, and the only obstacle is the memory of one's self. There are no rules, no fretting over surgeries, wardrobes, paperwork, no pressure against change. + +It seems to me, then, that the *concept* of transgender must change, not just the language we use to speak of it. Asked about its gender, one of my distant cocladists irritatingly yet predictably answered *"You are asking the wrong question*". Loathe as I am to admit such, Dear, Also, The Tree That Was Felled was right. What gender means and is to the Ode clade alone varies wildly, never mind the trends of Lagrange or Castor or Pollux overall. We cannot define "trans" as an identity on changing gender alone any more, or to do so is not useful in the present. + +I spent weeks thinking on Dear's answer, and if the question of someone's gender was the wrong one, what *should* I be asking? I came up with an idea: I put out into the System an anonymous survey, asking a variety of questions on gender and personal history, with an offer of a generous amount of rep for participating. The response was immense, and I had to rope a few friends and cocladists to help me collate the findings. + +The results were varied, but two trends stuck out to me: +1. A great deal of furry or non-human respondents specified species or classification as a gender, such as "my gender is wolf" or "I identify as a catgirl", "I am a machine" etc. One entry, which I cannot decide if it is satire but *must* mention, said "I identify as a forklift and I will only date those who are forklift certified." For many of these respondents, there was no line between species and gender at all, or terms were oft-conflated, and they spoke about changing species with the same language and framing as transitioning genders. Throughout the 20th century onward, gender was discussed frequently in terms of roles, and is not species a role? Does it not come with expectations? Require performance? It should not have surprised me, but it did. +2. Regardless of species or gender or any number of factors, an astounding number of respondents who had transitioned in some form or another *did not think of themselves or identify as trans*. The pattern was largest in those who uploaded and cited dysphoria as a motivation, but the data was present in every demographic. In the vast majority of these cases, the individual in question forked until they had an appearance they were comfortable with, then settled into their life, never going back or changing all that much. More than a few seemed unfamiliar with terms such as trans or cis at all. + +I was unsure what to make of my findings. I had sought out to find a question, but only found the answers to it. *Why ask questions, when the answers will not help?* An answer, be it simple or complex, is not on its own enough for one to divine the question asked. I needed a shift in perspective, some other angle to view, to find the edge pieces of the puzzle. After days of thinking and overthinking, I finally thought to ask others. Just as I had been set upon this path by dear old Dear, I needed the perspective of someone else to point me to the trail again. + +Among those who helped me with the survey was a badger from another clade named Jack, an investigative journalist who had aided me with research in the past. I asked if either of these trends were as surprising for him. He told me they made sense, since they both applied to his clade. + +Naturally this excited me. "How so?" + +"Well, your clade's half humans and half skunks, right?" + + "I do not have exact percentages, but—" + + He raised a paw. "Hey, this ain't rocket science, pal. Let's say half of you got stripes, half of you don't, give or take a fox or two. And like you said, it's complicated. Your clade clearly has some feelings on species, and I'm guessing your root instance couldn't make up their mind about it?" + +It is a difficult subject matter at the best of times, but I didn't want to digress too far. I told him, "It might be more accurate to say she was of two minds about." + +He smiled affably. "Plurality problems, say no more, say no more, I get it." + +"Plurality?" I asked him. Even then I did not understand the word or the way it, too, changed radically within the System. I understand it now, and I wonder how my cocladists think about the term and how, at least I feel, it applies to us Odists. + +He frowned with concern, studying me. He must have seen that concern mirrored in me, and quickly returned to the matter at hand. Or, well, paw, in his case, as he gesticulated with it. "Enh, fuhgeddaboudit. Not important. What I'm getting at, my man, is that part of your and your clade's identities *is* that conflict. It's affected all of you greatly, no matter where you end up." + +"And how does this relate to your clade?" I asked. + +He grinned, and leaned back on the table covered in survey results, crossing one leg over the other. "Not a single member of my clade was ever human." + +"So your Root Instance switched at the first fork?" + +He nodded his head and waggled a claw up and down at us. "There's the first thing you're missing, my friend. I pick my words carefully. What did I say?" + +I frowned. "You said your clade does not contain any humans." + +"My *exact* words were *Not a single member of my clade was ever human.* We were not human before uploading, either." + +"That is not possible," I said. + +"If you will allow me a bit of conjecture here without digging too deep, I would guess that your root instance was a furry before uploading, and had some experience with being their fursona in Sims before uploading? And, if I may, being online as an animal and offline as a human contributed to their troubles over species identity?" I doubt I concealed the rising panic in me very well, because immediately he threw up both paws. "I can see I have hit a nerve, and I'm being reductive with the Odists here. It's a lot more than that and I don't know the half of it, but I'm trying to keep it easy. My point is, those experiences and differences in Proprioception can mess with your self-image, especially if those 'animal' sensations feel more natural than your 'human' ones. I'm sure you see where this is going." + +And I did. His clade had no attachments to the feelings and shape of the human body, and that predated their upload. As long as those feelings had existed, they had never thought of themselves as 'human', and in the infinite mutability of the System, they never had to be one again. What did it matter to anyone if they had looked human externally before? The odds of running into anyone from pre-upload days are incredibly low without active coordination beforehand, and if, as with Jack's clade, they had changed species and names in their first hours sys-side, they would be impossible to recognize anyway. Why carry such a useless distinction with you? + +"Attaboy, atttaboy! He's gettin' it! And for my Clade, those good good animal feels came up before we ever touched a sim. I can chase them back as far as our memories go phys-side. Hell, when I try to remember how I looked back then, I can't even remember what the 'human' body looked like. I don't look like I do now in those memories, but I am 100% grade-A prime cut badger, baybee, you love to see it. Asked around the Clade and they all say the same. They can't remember us being human-shaped. If the System won't let us forget anything, that should tell you how far back this all goes." + + I stepped over next to him, and looked out over all the surveys. Most of us had viewed them on tablets or screens, but Jack told me he had picked up the habit of physical paper from one of his cocladists, one who worked as an archivist. He said fighting with the pages and having to interact with them directly helped him spot trends, catch patterns as they emerged. I did not understand how he meant that when the survey started. I was close to getting it in that moment. The question, too, that I was seeking grew closer. I could taste it, smell it. + +I said to him, "Part of me thought that the framing of 'I always knew' was too reductive, a stereotype, something made easy and palatable for those who are not queer. We definitely knew a few people phys-side who said as much. Reframing it with species makes me realize I in turn reduced it. If that is how any individual sees themselves, who am I to question it? How can anyone?" + +He nodded. "Feel like you're closer to finding your question?" + +I scowled. "Oh, absolutely fucking not." + +He laughed, and clapped a paw on my shoulder. "Well, can't win 'em all, kid." He waved an arm out over the table. "We got ourselves a banquet of food for thought and we gotta sit down and digest." + +We sorted responses for a while, and he smiled every time he caught me looking at him. After a while, the focus shifted from organizing by data points alone, and instead we began to group responses by what was most compelling in them. I felt in so many ways a fool. Some questions were really only redundancies, others useless, and I could feel the weight of the questions that needed to be in their place. I thought about what my responses would have been, but the silence of the room crept under my skin and I had to break it back out. + +"Did you fill out the survey?" I asked him. + +He shook his head. "I passed it around my clade, and one of these" —he held up a survey response— "is definitely a cocladist of mine, she's hard to miss, but enh." + +I dropped my stack of results, half of them missing the lip of the table and scattering to the floor. "What the fuck do you mean, 'enh’?" + +He shrugged. "Enh, I mean enh. I got plenty of rep, I didn't have much to say." + +"Oh, bullshit. You are not the coy type, that is an Odist thing." Why was I so angry? Why did this matter to me? I know now, but in the moment a part of me stood removed from all of this, a phantom fork not really there in the dark corners of the room, spectating, and he could not understand my sudden ire."Why, Mr. Haveck? Why did you not fill it out?" + +He wheeled around on me. "Don't call me Mr. Haveck again. Don't you dare. Call me Jack, or if you must, call me Haveck, but if you throw those two letters in front again I will walk out." + +I stepped closer to him. Jack is not a tall badger, but my having almost a foot and a half on him meant nothing. When you chase stories the way he does, someone taking a swing is expected. He will not swing back or defend himself physically, but his pacifism makes him like stone. Still, I could not let this go. "Answer the question, Jack." + +"Why's it such a big fuckin' deal if I didn't?" + +"You literally never shut up. You have made a living out of having something to say. I only know you because you talk so much. You spent this whole afternoon explaining shit to me. Your choice of species is goddamn perfect because like any good journalist you badger the *shit* out of anyone who will listen and most of the people who will not. You *talk*, you *rant*, you *pontificate*, you *lecture*, and you *state the facts*." I was shaking. "You-You-You put on this whole fucking persona, the New York accent, the Spider Jersualem glasses, the whole Columbo routine. You are a walking 20th century stereotype, a century neither of us ever fucking lived in, but despite all those layers of bullshit you live in you are *the most honest person I know.* You never hold back, 'you tell it like it is' and everything you do, even upholding this stupid fucking schtick, is so profoundly *genuine* in a way I have never known any other person to be. It is why I like you. Why I want you around all the time. Why I *wanted* you here, why I asked you for help. I nearly bankrupted myself for this- this–" I knocked more papers off the table. "–this shit that didn't actually tell me anything without you here. It is all useless. Useless!" + +I flipped the table over. + +I cannot change the past, and I cannot forget it. It burns a little ember in the back of my head sometimes, and it hurts to speak of openly, but it is here for the same reason everything else is. It is a part of the narrative. + +Jack took a few steps back in surprise. "Fucking hell, Denny—" + +"Denny? *Denny*? Oh, Mister Haveck is a step too fucking far, but you are going to call me DENNY?" + +It might hurt Jack to read this, too, because in that moment he did the most aggressive thing I have ever seen him do before or since. Even then, he did not do it to hurt me, but to bring me to his level and pull me out of myself. He grabbed both collars of my zip-up sweater, yanked me down to his level and forced me to stare him in the eye. His face curled into the kind of angry snarl only badgers are capable of. + +"Shut the fuck up and listen to me. Do you have any idea what your clade has put me through? *Any* idea? Because you're right, I can't shut the fuck up, especially when I see someone behind the scenes messing with things. Before I met you, before I even knew you were one of them, all my interactions were with the Eighth Stanza. They, and that megalomaniacal son of a bitch Jonas they work with, did not and do not like me very much. They couldn't extort me, couldn't bribe or persuade me, and they couldn't force me to quit. And do you know what happens to people like that? I lost count of how many assassination attempts there were. They even got a fork or two. Wanna know the last one I remember? I watched my cocladist Miranda, a Lynx who got all of her muscle mass the hard way instead of forking, *throw a killer through a plate glass window with one arm.* I never found out if he fell all 30 stories before quitting but they stopped trying to kill me after that. I hated all Odists for a long time, even though most of you don't deserve it, and if I hadn't met you I still would. If I hadn't been walkin' public sims looking for a decent slice of actual proper New York pizza and stumbled into a cute guy, I'd have a grudge against you couldn't *fit* inside a sim. You. You got me, pal. Here's this fella, and he's thin and human, not normally my type, but he's tall and he has messy hair and he's really interested in the *actual* history of the System, which makes up for it. He convinced me that maybe I had the Odists wrong, that maybe I'm missing the Ode for the Stanza, and maybe just Jonas is the one who wanted me dead. I'm not so hard headed I can't admit when I'm wrong, I ain't no fucking saint." + +His grip loosened a minute, then tightened, pulling me closer. The snarl faded to a scowl, but his eyes were full of tears. "And maybe, just maybe, the reason I started to fall for this new kind of Odist is because I sympathized. Maybe I've got a down-tree instance. Maybe she's a raccoon, but she'd slip into your Eighth Stanza like a glove. Maybe everything I am and everything I do is to not be the monster that she is. Maybe I've dedicated my whole life to being honest and spreading the truth because I can't handle that plurality aside, when we forked after uploading, my origin is from indside of her. So maybe–" the snarl crept back "–maybe when I see the survey collecting what could be a dangerous amount of information about people, I get a bit nervous. Maybe it's bad memories from phys-side. Maybe there's some doubt I can't shake even when my gut says to trust you. Maybe I'm afraid he's been working for the others this whole time and I'm a goddamn fool. But even then, *even then*, I joined this project because I like you too, bud, and I needed to know what you were up to. I figured I could give you the answers in person. I *figured* that if something was up and I needed to protect my neck again, I'd catch wind here. And when you start getting pushy about my answers, I keep my cards to my chest. Dodge. Deflect. Walk you around the block a few times. I've got a monster in my clade, and she's made me fucking paranoid. And now, I've fucked up the first chance I've had at a good relationship because I've shattered your saintly fuckin' vision of me. I am a *master* of bein' dishonest, Deny All Beginnings, a *professional* liar. It's in my core because of who I forked from, it's just that I have a choice never to be that person again and it's the only thing that keeps me from quitting for good when I wake up every morning." + +He let go of me, not even shoving me back, just dropping his arms in defeat. "I should leave." + +"Yeah, maybe you should. This whole fucking survey was a fucking mistake." + +"I'll see myself out." He said. + +It may seem pointless to include this. That I have lost the thread of what you asked me about. That in dredging up an anecdote to make a point I have lost myself in the emotions of that memory. I have not told you everything. I have not been honest about what my relationship to Jack was or is. I left out our discussions on sexuality, on polyamory, on what journalism or history is in the System. I could have paraphrased him after the argument, and left whatever feelings we have for each other out of this. I moonlight as an editor now and again, it would not be difficult. + +I include this event because it, and what happened next, changed me. It became a part of me, as I let someone else into my life and into my gender. Perhaps it is not as irreducible as it seems to me, but in that way Jack and his whole clade affect others, I found myself then inside of a story, and I am so intertwined now I struggle to perceive myself from the outside of it. What language I use, how I speak of gender and transness, is informed by this, and I am powerless against it. It is part of the narrative, and the narrative is everything. + +When Jack turned to leave, I went to do something petty. He had left his leather jacket on a chair. He could have forked a new one, but for reasons I still do not understand, I wanted one last jab before he was gone. I thought to grab it, to toss it to him and say something cutting and witty, leave some salt in the wounds we verbally opened on each other, to make both of us more bitter. What I did instead was tangle my legs in the overturned table, fall, and dash my skull on one of the many filing cabinets in the room. Both of us for a moment forgot we were in the System, I think, because I panicked at the wetness on my face and Jack rushed to me like a medic. He made sure I was stable, checked the gash over my forehead, and somewhere around him summoning a rag to wipe up the blood we both remembered that I was not at any risk of bleeding out. He collapsed near me, willed two iced tea lemonade cans into existence, and handed me one. We were quiet for a while, and the image of him then comes to my mind unbidden often, back against a cabinet, one knee up, head down, staring into the can. He turned his paw back and forth, and the dim light of the room made the metal dance and shine. Jack's not a thin badger, by any means, but in that moment all his clothes seemed too big for him, like a little kid trying on his dad's clothes. He didn't look up when he started speaking. + +"The truth is, Denn—Deny All Beginnings, is that I also didn't answer the survey because I'm not sure. When it comes to species? Sure, that was cut and dry, no problems there. That part is so simple. Sexuality, too, that's an easy one for me, not my thing really, y'all have fun with it, I'm good. But gender is…not easy." + +He looked up, but not at me, out into the distance, beyond the far wall of the room and well past anywhere I could follow. Some chunk of history caught his eye and his voice softened. "It's…our plurality, how we were as headmates, that was one thing phys-side. How we ended up forking and spreading out sys-side was real, *real* different, and reshaped all of us. Jane, my down-tree instance, cut the line and forked out as soon as we had the rep. She hated being part of us, and finally got her wish of a body of her own. She hated anything masculine about herself. She hated how she hadn't had much say in our appearance or wardrobe phys-side. She hated any part of herself that reminded her of her father. I wish the System would let me forget it; it's like holding a ball of hot metal. When she had gamed the System for enough rep, she forked hard, pushing as much of what she hated about herself into it, and bada bing, bada boom, baby, I finally exist in the flesh. She gave me a huge pile of reputation, bounced me out of her sim, and didn't speak to anyone in the clade for 50 years or so." + +He shook his head. "I don't hate her for it. I can't, I was her up until the split. And hell, some small mercy, she also pushed into me the parts of herself that liked what was masculine about us, that liked our father, that loved our clade and wasn't afraid to live up to all those high hopes certain people had for us. The reason I hate her is she became a fuckin' politician, playing spymaster, all this cloak and dagger bullshit with no morals, but hey, that's irrelevant. I'm getting sidetracked. She needed to do it. And she carried me with her up until she forked me, which hurt her just as much. She couldn't embrace or redefine masculinity like so much of the rest of our clade did." + +He looked down into the can again, swirling it slowly. "I'm happy with who I am now, but Jane's resentment lingers like a ghoul. It eats at me, man. It really does. Makes me doubt myself." + +I finally found my voice again. "You know, I do not know why he did it." + +Jack finally looked at me. + +I shrugged. "My down-tree instance. The…root of the stanza if you will." I was waving a hand in front of me. Even that early I picked Jack's habits and he started to pick up mine. So it goes. "All of us in the Stanza started with he/him pronouns, and most of us still use them, save Hold My Name Beneath Your Tongue And Know, who I am now realizing that I should have talked to in the first place. Shit. Shit shit shit." I shook my head. "Anyway, my down-tree instance chose to fork with he/him pronouns. The hell of it is, I have his memories, I can conjure him into my head or make a fork like him, but I cannot understand why he did it." + +"Not at all?" Jack asked. + +"No," I told him. "It felt like the right thing to do in the moment, but it was instinct. A gut reaction. 'This is what I need to do' but no reason, no goal, no motive. He just did." + +"Denny, if there's one thing I've learned chasing the truth above all else, it's that a feeling is enough. So many people talk a big game about facts and logic and all that shit, but any sort of reasoning that doesn't account for emotions is bullshit." + +"No, and I get that, Jack, I do, but…why? Why did he feel that way? Why did he do what he did? I am not my down-tree instance any more. We had some things in common, but when I go back to those memories, I see them with my eyes and not through his. I think about how I feel and what is important to me, and I cannot align it to his feelings at all." + +I looked down, and discovered what Jack found so appealing about staring into the can. The light that hit the tea inside reflected onto the inner walls of the can, shimmering. The liquid was murky, and there was a soft froth of bubbles along the edges. Here was my own reflecting pool, in a single serving. I let my thoughts sink down into the tea and swirled the can, washing them. Let some sweetness and some flavor give them a light bit of color. I pulled them out again, somehow with them clearer instead of the shade of the liquid. + +"I guess I was expecting it to…I do not know, mean more to him? The more I think about it, it is a moment more than any other, even picking my line in the Ode, that defined who I became and what I am now. A decision made by some stranger, a man I barely ever was and now decidedly am not. How could it mean so little to him? And *did* it mean so little to him? Have I changed so much that I cannot recognize his emotions? Maybe I am giving him too little credit, pushing this expectation that we should have dropped to our knees, tears in our eyes, lifting our new hands towards heaven, as antennae, broadcasting love to a world and a creator that let me become what I am? It should have meant more, it does mean more, but I project onto the past the sentiment of the present and punish it for not knowing the future. I never thought to ask him. I did not myself realize the importance of it, and by the time I did, it was too late." The cut on my forehead had stopped bleeding some time ago, but the sensation of wetness remained. Somewhere I had begun crying. + +"Too late? Are you not on speaking terms or something? I can try to talk to him, get him to—" + +I shut my eyes and leaned my head back against the cabinet. The tears cut rivers down the soft hills of my cheekbones. "Jack, what does the name Qoheleth mean to you?" + +My eyes stayed shut, but I know what he did. The mind does such an amazing job of filling in visuals when it knows the subject so well. I know Jack frowned. I know he tilted his head to the side as he said, "What *does* that name mean to me? It's familiar…" I know the endless catalog of his mind found it, and when it did his face softened, and he looked down. I know how his snout moved around the soft *oh* that escaped him. I know the pity that filled his eyes. I know his paw came close to my shoulder, and I know he feared to touch me, unsure of where he stood after everything that had happened only a handful of minutes before. I know he slowly pulled his paw back. I know that now he never hesitates, because there are no barriers like that between us anymore. + +"I was there, Jack. When it happened. I have nightmares about it still. Some of them I am the one up at the podium, or the assassin comes for me instead. I cannot stop reliving it. It is not like the deaths Michelle remembers, it is so *visceral* and so much more real here. He is gone. No forks, no miracles, no ghosts. He spoke of the dangers of permanence, and he was right, because I cannot now ever get that closure from him." I threw up my hands. "Am I just stuck with that forever? Hopeless before a question I cannot ask and stuck without answers even if I could." + +"I don't mean to be indelicate, but it seems to me that you found your own meaning in his choice. What could he possibly have told you that you haven't already figured out better yourself?" He asked, and took a swig of his tea. + +"I need to know if I am allowed to call myself trans or not." + +Jack spit his drink everywhere. + +I opened my eyes at that. "I need to know why he forked the way he did, so I can know if—" + +"Are you serious right now?" + +"He never called himself transgender to my knowledge!" + +Jack started looking around. "This is a prank. This is a prank, right? Where's the camera? Are you wearing a wire?" + +I sat up straight. "Jack, I am being serious right now!" + +He took off his glasses and rubbed his eyes. "Jesus Mother Mary and Joseph, I am going to be the first person in the history of the System to have an honest to god aneurysm. I can feel the clot forming in real time, it's incredible." + +"What if he did not do it for–" + +The badger dragged his paws down his face. "We're settling this right the fuck now. You are a man, yes?" + +"Am I?" + +He glared daggers at me. "Do. You. Identify. As. Masculine." + +"You know I do." + +"And your root instance, ah, what's her name?" + +I squirmed a little. "Michelle. Or Sasha. Kind of both? Michelle." + +"Is Michelle a cis woman?" + +"I mean she was not *not* cis…" + +"Fucking Odists, I swear to christ. For the sake of the argument, she was cis enough." + +"Okay." + +"She was a cis woman, you came from her, you are not a woman, ergo, you are transmasculine by the bare minimum of standard measures. If that is not enough, I will draw up a document, have it notarized, and give you a framed copy for your goddamned living room." + +I squinted at him. He waved it off. "Listen, you would not believe the amount of 'functional small town government' sims there are out there. Weirdly a very universal desire of mankind." + +We laughed, and Jack summoned up another can for himself. I sighed. "I still would have liked to hear his thoughts about all of this." + +Jack nodded. He leaned towards me, raising his can. "To Qoheleth." + +"To Qoheleth," I answered. + +"To he who died in the pursuit of Truth," he said solemnly. + +"To he who died for daring to speak up," I answered. + +A clinking of cans. The taste of citrus and tea. A few more tears. A hug. An offer of a hand, one man pulling the other to his feet. A righting of a table. A scooping of papers. A lingering question. + +"Do you think it is healthy, Jack?" + +He paused for a moment, a stack of answers in his hand, but didn't look at me. "Healthy?" + +"All these people, not acknowledging that they are Trans, that they chose to change themselves?" + +"Well, *Deny All Beginnings*, you tell me." + +"Qoheleth talked about how our inability to forget was driving our clade crazy. It does not feel right to act like what we came from does not shape us if we cannot let it go, either." + +He set the folder down, and turned to me. "I don't know if it's *healthy* or morally *right*, but it's what people *do*. The System is really amazing in that way, you get so much more say in what the narrative of your life is. I was 'human' at some point, but I never feel the need to acknowledge it, because I feel it bears so little on the story of me." He began to unbutton his shirt. "Do you think I'm transmasc?" + +I nodded. "If my coming from Michelle makes me trans, and you came from Jane, it only makes sense." + +He undid the last buttons. "Well, true, but there's a wrinkle I don't think you know. Jane herself is transfeminine. Our root instance is too. When we uploaded, we had been transitioning for the better part of 2 decades. Does that change your answer?" + +I chewed my tongue a moment, but my thoughts coalesced quickly into a simple chain of logic. I shook my head. "Why should it?" + +He opened his shirt. On his chest, there were top surgery scars. "Going against the grain twice made me who I am. Jane hides her transness from the daylight, much as she holds it dear. There's no physical trace of it on her anywhere." He tapped the scar on his left with a paw. "I keep it close to my heart, but I wear my heart on my sleeve. It's the same reason my cocladist Miranda built a gym for herself. It's the same reason I suggested using paper to look at the results. The process affects the end goal. It's not just about how the story ends, it's about how we tell it. What makes us trans isn't just the end result, it's–" + +"–the narrative." I said. + +He laughed, and buttoned up his shirt. "I'd say that this was all a hell of a long way around to get to the point, but uh…." + +I smiled. "Thanks, Jack." + +He walked past me to grab his jacket. "Hey, well, you know me." He spun it around himself, sliding his arms into it effortlessly. "Always a sucker for a good story." He tugged on it to straighten the collar. "And god only knows every last one of you Odists is a novel the size of a cinder block, fuckin' A. Catch you around, Denny boy." + +He walked around the table, and just as he reached the door, he forked. One of him went through the door grinning. The other turned on his heels to face me. "Just, ah, one more thing, Mr. Deny All Beginnings." + +I raised an eyebrow at him. + +"Would you be free for dinner this friday night?" + +{{% verse %}} +I ask you this: +What is it to Deny something? +Denial is a weighted word, +One we see too oft as negative. +To Deny can be an act of power +To Deny an enemy a victory +To Deny we are bound to the past +I came from Michelle, +but I Deny that I am her +I came from Qoheleth +but I Deny he made me +I am an Odist true +but I Deny my clade defines me +I began as human +but I Deny I am bound to my species +To Deny the End +Is to Deny All Beginnings +but should I Deny what happened in between? + +I ask you this: +is transness a Denial? +is that a Denial in itself? +Do you Deny All Beginnings? +or do you Deny that they define you? +Do you Deny the body? +Or do you Deny that you are beholden to its shape? +Do you Deny the narrative? +Or do you Deny that transness is just a Denial? +{{% /verse %}} + +Perhaps I no longer speak well for the rest of my clade when it comes to matters of gender. Perhaps the way Jack's clade conducts themselves has altered my narrative irrevocably. In the end, it doesn't change anything. + +My name is To Deny The End Is To Deny All Beginnings, and I am so very, *very* trans. + +Now if you'll excuse me, I have another date with a badger. +
    + +## On Sims + +> E.W.: Would you tell us a story about the wilderness? + +
    E.W. + +I remember teaching myself to hunt, promising myself that I would start small with snares and then work up from there, thinking that I would not let myself eat until I could eat food that I had caught myself. + +Eating itself is optional, sys-side. One can simply turn off that ability, just as one can (and most do) turn off the need to urinate, defecate, get the hiccups, and so on. + +The mind, however, remembers hunger. It remembers it so viscerally that, should you neglect to modify that out of your sensorium, you will feel it just as intense as you did back phys-side. It remembers the feeling of satiation that comes with eating. It remembers the feeling of being too full, of being sick to your stomach. It is a part of life, and even being infolife, we remember that from before we were such. + +So I remember getting so hungry and weak by the third day that I pinged Serene, my cocladist who had built me my little wilderness, to see if she could help. She laughed and ruffled my fur and called me a dumbass, saying that she had not included fauna because I had not requested it, so of course I did not catch anything. She brought me a hamburger and I ate it so fast I got sick. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> Open letter to the Odists - Would you tell us about your favorite public sim? + +
    I Must Set No Stones Between Me And My Actions + +There is a sim that I love to visit when I remember, which is sometimes only a few days, and the standing record is a decade. It is a small village by a sea, and I am told it is based upon the shores of the Mediterranean. Along the beach, a massive wall runs for quite some distance. + +Besides fantastic food and a generally calm vibe, there are two reasons to visit. + +Every day, people head out onto the beach, and draw in the sand. Everyone is free to draw as they please, but the best days are when a large design takes hold early in the morning and everyone contributes. Each night, the tide rolls in slowly, and wipes clean the beach. No pictures or permanent records are allowed, save the ones in your head, since memories never really leave us. + +Meanwhile, on the walls and roads and roofs and floors of the village, a mosaic now approaching 180 years old spreads. When you enter the sim, you are given a single tile, in a choice of colors. So long as it is touching another tile, or a seam or edge where tiles touch, you can place a tile wherever you please. In the beginning, folks were limited to one tile a day, but at some point there must have been an issue, for now it is every 6 weeks. Some sections have been meticulously planned, while others are, to paraphrase a friend, “throwing tiles at the wall to see what sticks.” Once a tile is placed, it is there for good. If you misalign it, there is no fixing it, so choose wisely. + +Something about the ephemerality of the sand and the permanence of the tile speaks to me, and both the food and company are a delight. I have been dipping in and out for about 70 years now, and it is always a pleasure to see old faces, and new ones come to draw in the sand, or maybe place their first tile, or simply looking for a place to relax and sip some wine. I cannot recommend it enough! + +*([@KDARC](https://cohost.org/KDARC))* +
    + +----- + +> Serene, +> +> If you can pick a favorite, which landscape that you have designed is yours? + +
    Serene; Sustained And Sustaining + +I created a swamp some time ago. It is quite boggy and wet, with open water, banyan trees, and patches of what look like solid ground, but which are actually patches of water grasses that cannot support the weight of a person. Winding throughout it is a rotting wooden bridge-path that ducks between the trees and leads from patch to patch of those grasses, all but inviting you to step off and sink down to your waist in brackish and algae-slimed water. + +It was quite poorly received — too many bugs, too poor a smell, too hot and muggy — and for that, I am deeply in love with it. This reception means that I am wildly successful in what I set out to do. I, haver of fur, am mostly immune to the bugs, and I can turn down my sensorium to deal with the scent, but I love walking between the trees, squatting on the rickety path and poking through the grasses, watching the gar and caimans float idly by. + +What can I say? I am a sucker for so imperfect a land. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> What's an Odist and what's a sim? + +
    Serene; Sustained And Sustaining + +An Odist is a member of the Ode clade. We are (nominally) 100 individuals descended from a single uploaded consciousness named Michelle Hadje. As Michelle is no longer extant, this had led to us being ten disconnected subclades. Each of us is named from a line in a poem Many of us are human, many of us are anthropomorphic skunks — Michelle was a furry, back on Earth — and two of us are fennec foxes, for better or worse. + +Sims are the locations in which we live. I happen to be a sim designer, with a specialization in natural settings rather than buildings. + +*([@makyo](https://cohost.org/makyo))* +
    + +## On Hobbies, Pastimes, and Focuses + +> A Finger Pointing: Tell me about the weirdest show you have ever put on. Not bad, just weird. +> +> -Found In The Hearts Of Many + +
    Time Is A Finger Pointing At Itself + +Time Rushes choreographed *Lubaenåt Jaruvåtier Les Kupotam?* in the 230s, which grappled with the intoxicating experience of Artemesian skew as described by True Name. There was so much potential, so much curiosity, but there was also the miserable familiarity of the sensation. Capturing this horrifying stretching of the mind was the essence of the dance; having Sasha to assist us in interpreting the story certainly did not hurt. + +Rainbow's End assisted us with some of the artistry we needed to depict the blurring of movement that the performers could not adequately manage with an animated fork. There were moments of uncanny suddenness that also required a great deal of fudging to approximate. + +A key facet of the scene was the discontinuity between several subsets of the party, each portrayed in slightly different ways according to their relative skew; this had the effect of highlighting the perspective characters as if with depth of field, casting some in silent stillness and others in flittering obscurity. + +There was a sort of pivot at certain points in the choreography when this focus would shift from one subset to another, showing the party from another perspective. It began with the recorders, who scrutinized the statuesque cast around them, and ended with the protagonist caught in the midst of a blizzard of indefinite figures skittering across the stage. + +It was difficult to make a *story* out of a dance when few had the context with which to understand it, but there was no better way to depict skew than with choreographed motion. It was one of the most challenging endeavors of Time Rushes' career, but it also earned us some attention from the Artemesians over on Convergence thanks to AVEC. + +My personal involvement was mostly in arranging consultation by various artists in an attempt to finalize the depiction of skew into what Rainbow's End ultimately made it. Serene, Bay, Elicit; they all contributed to the formulation of this production's unique image. + +*([@hamratza](https://cohost.org/hamratza))* +
    + +----- + +> Is it at all common for sims to simulate other forms of simulation that pre-date the System? By that I mean things like, say, video games from back before the invention of the exocortex (ranging from old arcade games to those limited early “VR” games, headsets and all to those big clunky physical flight simulators) or, heck, even the experience of using the ‘net back before upload. + +
    What Gifts, Time Moves Forward, and Motes + +What Gifts We Give We Give In Death +: + + There is quite a lot to be said about games within the System, but with regards to this question, there is something of a split when it comes to games of the past. This split boils down to the idea of realism. Those games that strove for realism were often ported into similar experiences sys-side. After all, if you are going to take a narrative walking game that took place either on a console or rig in non-immersive mode, it would make plenty of sense to simply set up a sim for mechanics. An example would be the delightfully quaint game of Everybody's Gone To The Rapture, wherein this twee British town in the 20th century is the origin of the slow ascension (or at least disappearance) of the human race. You walk around, following an orb of light, which provides audible and visible scenes for you to watch. I helped a games historian set this up along with aid from Serene. + + The more abstract the game, however, the more likely it is to simply be ported along with an idea of its hardware into the System. For VR games, this may come with the concept of a headset, though really this is a prop that modifies the user's sensorium. + + Truly ancient games from the earliest history of videogames are simply ported wholesale, complete with blowing out cartridges to make them load more readily. + +If I Walk Backward, Time Moves Forward +: + + For newer interactive art — and I know that you did not necessarily ask, but What Gifts's Rapture game reminded me — this has been blended quite thoroughly into interactive theatre. Perhaps Dear could explain the complex interactions with instance art as well, but from my perspective as one who works closely with interactive storytelling, the difference between one of our experiences and one of What Gifts's is negligible, except perhaps on attention paid to physical setting: we are less likely to work on sims as environments instead of focusing on the idea of a setting created by our very own hands. + +And We Are The Motes In The Stage Lights +: + I am as much a fan of our sets as anyone. That is my role within the fifth stanza, after all! However, I would not so quickly dismiss instance art. They are three different names for the same idea: there is a story embedded in interactivity, and the only difference is the attention paid to various detail. What Gifts pays attention to mechanics and environment, we pay attention to story and sets, and Dear (and, to a lesser extent, Heat And Warmth) pays attention to the mechanics offered by the System! + +Time Moves Forward +: + I mean, sure, kiddo, but that is because you have a terrible crush on Heat And Warmth, and ey is Dear's up-tree instance, and ey has a crush on Codrin. They were — and probably still are on the LVs — so sweet together! Cooking delicious food and chatting about flavors and scents and gustatory history. + +Motes +: + I do not! Or...well, perhaps I do, but that is beside the point! We are just nerds of a type, you know? And that type just happens to be lovely and you know it! + +What Gifts +: + You are both intolerable nerds and I love you for that. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> To those Odists engaged in the performing arts: +> +> Not counting instance artistry (Sorry Dear), do you ever opt for effects that would have been impossible phys-side? —Found in the Hearts of Many + +
    Time Is A Finger Pointing At Itself + +Dear and Heat And Warmth are both inspirations for Time Rushes and Motes and I. An integral part of our more spectacular productions involves construct, instance, and sim design. Of course, not everything is so *modern;* most of our work is done analogue, although I do tend to go ham on the theatres themselves. + +In those hazy days when reputation had much greater significance, we depended upon these particular shows to promote Voces Sensuum across the greater System. I am relieved that the Exchange has deflated so much as it has; we are less bound to the whims of popularity and can focus exclusively on our own creative endeavors. + +We do still indulge in spectacle from time to time, however. Our audience is about as impressed by such things as we are, and roping in *artists* rather than *designers* allows us to lean into that in a way that better suits all our tastes. + +Take *Spiro kaj Simpleco,* for instance. This was an example of immersive theatre, a collaboration with Serene and Rainbow's End to produce an interactive set using a sim cast entirely in impressionist textures, audience and all. + +The audience was asked to indulge in an autumn afternoon with the cast, with little dramas scattered about and a few planned to jostle those who came near out of an awkward silence. The filter Rainbow's End created cast the warmth of the Sun and fog of breath across blurred and broken faces in buttery yellow and wispy white, leaving the audience guessing as to who was who. + +This had the effect of rendering otherwise trivial conflicts impossible to follow. The scenes *themselves* were impressionistic. Each conflict was, on its own, meaningless; bantering partners and nagging down-trees and overbearing friends. What the audience was meant to find in this work was the peace that fell over every silent moment, the landscape that as often blended with bickering blobs as not. + +Perhaps the production could have been replicated phys-side, especially when considering the proliferation of exocortices during the 23rd century. For a truly impossible feat, you may have better luck asking a Sevgili. + +*([@hamratza](https://cohost.org/hamratza))* +
    + +----- + +> Who's the best in the clade at scrabble? + +
    Dear The Wheat And Rye Under The Stars + +I believe that would be me. As Praiseworthy shifted her attentions to arts administration and her own projects, I was forked to focus on writing and the art inherent in language. + +That said, Where It Watches The Slow Hours Progress from the fifth stanza, who acts as script manager for a theatre company, has given me a run for my money several times, so perhaps we are on par. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> Do any in the Ode clade enjoy people-watching? With the freedom of form offered by the System, I imagine it becomes an even more interesting hobby than it can be phys-side. + +
    If I Dream Am I No Longer Myself + +My whole stanza, based off of the first line, focuses specifically on people watching. I, and many others, would honestly call it spying. They have been contracted by several individuals to spy on various people of note on the System. On Lagrange, Loss For Images and Even While Awake watched Ioan Bălan and May Then My Name Die With Me for nearly a quarter of a century, forking microscopic instances of themselves and secreting them around the house. + +My initial purpose was, in fact, to step away from this. My direct up-tree instance, If I Dream, forked when she began to have doubts about this supposed calling. While she never did work up the courage to disengage with this way of life (or perhaps she did, I have lost contact), I stepped away from the stanza to reconnect with the fourth stanza. They began by following creatives across the System before fucking off to do their own thing. I found that they did, indeed, largely just fuck off to do their own thing, and wanted little to do with me. + +So that is what I have done, these last however many decades — is it nearly a century, now? I have sat in town squares and sipped my coffee as I watch the passers-by. I have sat in bars and drank countless terrible drinks, cheek resting on my fist as I stare into the mirror behind the bartender and observe my fellow patrons. I have gone to dinner, requested a corner table, and gazed out over the sea of diners. + +I always do so alone. + +I always wear a different shape. + +I never speak. + +I like it better this way, this observing. There is no goal, I just...see. I just watch. Posthumanity is wonderful and disgusting and funny and sad and kinky and uptight and I love each and every last person I have laid my eyes upon. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> To the Ode clade: What is your favorite cheesy, overwrought, low-budget, or otherwise terrible-but-fun movie? + +
    For They, Knowing Not, Provide Life In Death + +This is perhaps cheating, as I do not think this is in any way a subversive opinion, but "Pacific Rim". It was quite high budget, but it was also overwrought, terrible, and incredibly stupid. Oldie, as they say, but goldie. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> Any Odist who feels like speaking up: what is your favorite episode of MST3K? + +
    For They, Knowing Not, Provide Life In Death + + Slab Bulkhead! Fist Rockbone! Punch Rockgroin! Stump Beefknob! Brick Hardmeat! Big McLargeHuge! + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> For whichever Odists this best suits: Sometimes, I will lead somebody around, down a given path of inquiry or to certain conclusions. To encourage them to ask "the right questions." It ends up feeling like an elaborate game, particularly if they grow wise and lean into their part. Do you think manipulation of this sort is wrong, even when the purpose is benign or simply for play? For that matter, do you have any general thoughts on People and how they interact? + +
    True Name and May Then My Name + +The Only Time I Know My True Name Is When I Dream +: The Artemesians have a word for this: *tuvårouni;* “push-play”, they called it, a tension in all our dealings with others that enables us to overcome the inertia of comfort. If communication is the means by which ideas are expressed and transformed, then manipulation is how we engage in this push-play; if we all felt the same to begin with, after all, then why have words at all? Communication is manipulation, so this playfully benign qualifier describes *teasing,* not harm. + +May Then My Name Die With Me +: You are not wrong that communication contains at its heart manipulation. However it is more than just manipulation. It is more of a give-and-take than a push-and pull. This is the way in which people work: we make our arguments, yes, but we love, we dance, we offer and receive freely. You mention the framing of this question with its playful qualifier. That is a sort of boundary around the topic. Boundaries such as these must be kept. One must keep this push-play above board and open to disconsent. Consent is to be informed, as I have said before. + +True Name +: Yes; consent, after all, is ideally unambiguous and overt. But it is also true that consent can grow more playful, more implicit, more sly. This, I think, is an example of that *tuvårouni,* where one becomes more open to unanticipated, unplanned kinds of play. Play, perhaps, as in the insinuation that Ioan might grow some dandelions, yes? + +May Then My Name +: I…well, you are not wrong, there. It became a part of our relationship as we grew closer together. I am not sure that I would do the same thing, now, as the person that I have become; I would feel…well, manipulative. I do not think that would feel good at all. + +True Name +: But you do not feel bad now. Do those dandelions not remain in eir lawn? I have seen you come in with a dandelion behind your ear. Do you both not cherish them? Do you suppose Ioan resents that you convinced em to grow some dandelions? + +May Then My Name +: I will concede that point. You are correct. The dandelions remain and have not been uprooted. We both love them. That said, this growing of dandelions was intentional. I must have gotten that from somewhere, right? After all, I was pointed to em by you, and for the very explicit purpose of shaping the *History.* + +True Name +: It was not solely for that purpose; I did point you somewhere that I thought was best for all of us, true. But that somewhere was towards someone who could lift you up after your previous relationship; who could understand and so fairly present the story of our clade to others; who could capture the history of the System with only the best of intentions. I held all of these in balance when I wrote you that letter, May Then My Name. + +May Then My Name +: Do you feel that way still, now that you are getting coffee with em once a month? + +True Name +: …There is the sense that ey does not wholly trust me, and I am sore for that. I am sure that is in part because your relationship with em was all but arranged, for better or for worse. There is a cynicism in this kind of dual-intent. I stand by every word of that letter, but there was clearly harm in coupling what was sincere with what had utility to preserving the continuity of the System, and for that I do apologize. + +May Then My Name +: There was harm, yes, and I am not upset at where we have wound up and how. Both of these can be true at once. Both are true, my dear. And I must admit, it can be kind of *fun.* + +*(May Then My Name by [@makyo](https://cohost.org/makyo) and True Name by [@hamratza](https://cohost.org/hamratza))* +
    + +## On Relationships + +> Tips on intra-clade dating? + +
    Beholden and A Finger Pointing + +Beholden To The Heat Of The Lamps +: ([@makyo](https://cohost.org/makyo)) + + Some time after I was forked, back in systime 3 (2127), I entered into a relationship with my down-tree instance, Time Is A Finger Pointing At Itself. You must understand, however, that until perhaps systime 230 (2354), intraclade relationships were seen as taboo, at least on Lagrange — I know that attitudes on Pollux had loosened quite a bit. It was seen as subversive and distasteful, a sort of moral masturbation. + + And yet, we loved each other. We were different people, were we not? From the moment I was forked and began to focus on my work as an audio tech, I was a different person. My values began to shift. My appearance began to shift. The way I spoke began to shift. I am not Pointillist. She is not Beholden. We are separate individuals, and we are in love. + + Of course, we drifted closer together and further apart over the years, but we settled into a comfortable sort of domesticity and playfulness, and it was not until such taboo began to lift, being seen as artificial and particularly meaningless for older clades, that our relationship became more open, first among friends, and then out on the street, in the bars after a performance. + + As for tips, I think my biggest would be that, yes, you share a common past, but do not assume that this means you know what the other is thinking. You may share values, memories, a general approach to life, but you do not read minds. + +Time Is A Finger Pointing At Itself +: ([@hamratza](https://cohost.org/hamratza)) + + We stumbled into intimacy one evening when the bleary neon haze of a night out turned to giddy exploration. "How lewd~," she said at least a dozen times (Beholden was *very* much zooted by this point). All that bratty pomp and wily poise turned to heady laughter and *mortifying* sounds of joy. She was positively *adorable.* She still is, of course, except that she has hardened over the years and is now quite the bully if I do not feed her something nice before taking her out dancing. + + Aromancy complicates my feelings about her — and my answer to this question — but there has always been this comradery between us about taboos. We both are irreverently indulgent in this respect, and have found a kind of reclamation in private profanity. When at last the tides had turned away from scorn, it was a privilege to kiss her paw in public; to give that one disdainful pair of eyes a wink, and to know in that moment we held more power over the bearer of that withering gaze than they held over us. + + I hope that you and whoever you are thinking about in this moment have had the chance to open up in these recent decades. But there is more to this question than the intrinsic queerness of transgressive relationships such as ours. You also ask about the unique implications of loving a reflection of oneself. Cross-tree relationships may seem a little easier in this regard, but I have seen my share of those amidst my cocladists. Take Codrin's musings about Dear and Serene on Pollux or, more distantly, Heat And Warmth and Hold My Name, who I have seen my fair share of first-hand. Both of these pairs are particularly boisterous, especially as compared to Beholden and I, and rather often stumble into ephemeral disagreements. + + Even as they do, however, there is an implicit understanding of nuance that is much harder to craft in conventional relationships. Dear and Serene solve their disputes with the grace of deeply-rooted trust, and Heat And Warmth and Hold My Name speak to each other with a kind of careful articulation that rather reminds me of the couple of times True Name has seen fit to admonish me over the centuries. We all are Odists, after all; it is difficult to say precisely what this feeling is, but the essence of it is that we do not have to work as hard to explain ourselves to one another. We all get it; so all that is left is to do is to *perform* getting it. + + Even if you already understand, sometimes what you need is just to feel heard. +
    + +----- + +> To any Odist that would like to answer: What is the worst meal you have ever had in your entire life? + +
    Which Offers Heat And Warmth In Fire + +I think there is food that is just poorly-made and food that is ill-advised. It is easy enough to think of a dozen bland, burnt, and bungled meals. But I think it is much more interesting to talk about those meals that were cooked to perfection and managed to land staunchly in the domain of nauseating. + +The worst food I ever ate was a miserable chili with exactly the right amount of lime and with beans still whole and a toothsome mire of beef and plenty of spice. The problem was that it was all sideways. There was just a little bit too much salt, not enough paprika, and it was too runny for the oily-fresh tortilla chips it was served with. All these little incongruencies made for an unpleasant lunch that was just short of unpalatable. If it were any worse, I would have dreamt up my own entrée instead out of protest. + +Codrin and ████ cooked me all sorts of delicious things before the launches; that is why so much of what I have published on the Reputation Exchange is just Balkan cuisine and baked treats. But ████ was always into haute cuisine in particular, and this occasionally resulted in some rather interesting experiments. + +But the worst meal I ever had must have been the private dinner shared between Rye and Serene and Dear and Codrin and ████ and I on the weekend before Launch Day. There was this menagerie of flavors throughout the evening, beginning with an enticing ratatouille that did a wonderful job of making me hungrier than I began. + +The conversation at the table was lively. We all were laughing and gossipping and teasing one another as we do, and I really liked that. I liked that, if this was to be our last meal shared just as a family, it was one when we were at our best. Rye told us about her latest correspondence with No Longer Myself, about a particularly heartbreaking experience she inherited from If I Dream. Rye weaved her musings about character development and Dear made a quip by asking her whether that was destined for her latest novel or not. Codrin, on the other hand, was upset. Ey did not like what ey learned about the first stanza from that story. + +So more food arrived to make up for the lull in conversation. We got an onion soup with a cheesy garlic bread served swimming so that it disintegrated and added a little weight to the stock. It was rich and dark and sat in my stomach like a rock, but it was mostly broth and so the sensation washed away with just a sip of wine. + +Dear tried to console Codrin by pointing out that what Rye told us was a story about why No Longer Myself was forked, that it was a hopeful story about reclaiming an identity appropriated by the inevitable politics of the clade. Ey did not seem convinced, but ey did manage a smile when Serene blurted, "Leave it to Dear to solve an interpersonal conflict with art!" + +We had our main course, then, of course, and what came was a generous fillet of salmon served on a cedar plank with tomato salad. After that runny affair, it was just what my belly needed. It was hearty and toothsome and comparatively light. I feared I might not make it to dessert with how wholesome the dish was, but the wetness of the salad had the effect of washing away that sense of fullness before it became sore. + +One of the topics that came up between our mouthfuls was how Dear was calling it its "death day". Codrin brought it up, and Dear shot em a sharp look. Ey raised eir hands and apologized, but I spoke up to ask why Dear's idea bothered Dear. ████ explained that they three had agreed not to discuss that at the table tonight, to which Codrin protested. "I thought it might lighten the mood," ey said, and Rye agreed. The final course interrupted us before Dear could answer, naturally. + +Dessert was a plain and simple flan. Its texture was luxurious, the salty-sweetness a delightful answer to the savoriness lingering on our palates and coating the dish. The serving size might leave something to be desired if not for the fact that we just spent the last two hours eating. I think all of us welcomed how quaint it was. + +Dear sat in silence for a while after finishing its dessert, fiddling with its wine glass. Then something crossed its mind and it asked us to keep its next words in confidence, especially Codrin and ████. We all nodded, and it finally told us. It told us the obvious, of course, that they three would not be leaving any forks behind; that none of them will remain on the L5 System. + +Then it said, "We will die, here." It talked about how they would each be mourned and how they would only speak from beyond the heavens like spirits. Codrin looked uncomfortable. Ey murmured, "For a while," to which Dear only answered, "Yes. For a while." + +The food was delicious. The meal was rendered joyless. There was something wrong that evening, and I did not pin it down until I read the History a few years later. + +*([@hamratza](https://cohost.org/hamratza))* +
    + +----- + +> To the Ode clade - What is the most beautiful thing you ever saw? + +
    May Then My Name Die With Me + +There is a moment at the very beginning of every relationship when their eyes light up on seeing me, and I can sense the gears finally mesh within their minds and they think, "Holy shit, I think I am in love." + +I am not immune to this, to be clear. I will be getting closer to someone and they will be doing the most innocuous thing — with Ioan, it was em changing the ink in one of eir fountain pens, leaning down with eir eyes almost level with the desk, the tip of eir tongue peeking out from between eir teeth — and I will think, "Oh gosh...I love them, do I not? I really do." + +I am sure that we all have our own answers, but for me, it is that moment. That is the most beautiful thing that I have seen. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> To Dear and May Then My Name: Have you ever thought about a Bizarro Universe scenario where you trade places with Codrin and Ioan, respectively? I find myself struggling to imagine it. + +
    Dear and May Then My Name + +Dear +: + + *There are, perhaps, two readings of this. If you mean Codrin and myself switching places, and you are wondering what it would be like for me to date an Odist as a non-Odist, I think I would find myself maddening, and I would have dropped myself years ago. It is perhaps uncomfortable to admit, but there is no small amount of self-loathing in me. I have spent my time in a relationship with another Odist — my close cross-tree instance Serene — and...well. I love her dearly, but she puts rather a fine point on all of the things that I loathe in myself, sometimes.* + + *If, however, you mean me switching places with May Then My Name and being in a relationship with Ioan, then, my dear, you have no idea how eager I would be to corrupt that poor, innocent soul, especially as ey is now. The Ioan who became Codrin was of a very specific type, but this Ioan? The one that May Then My Name has tainted? Oh, how delicious that would be!* + +May Then My Name +: + + Similar to Dear, I shall answer each in turn. If you mean me switching places with Ioan as ey is now, then I do not think much would change. I have absolutely ruined em for a life alone, and I think that ey would feel quite out of sorts if I were not around, just as I feel quite out of sorts when ey is not around. That said, I cannot ignore what happens when I overflow. Ey does not like it when I dissolve into tears and ask em to leave me alone for days at a time. It is a thing I dislike about myself, but am hopeless before. I think that it would hurt me far more to experience it from the other side. I think that I would...well. I think we would risk a feedback loop of tears, and there would be days afterwards when we would struggle. + + If you mean me switching with Dear...well, I like Codrin plenty. I think ey is lovely in many of the same ways that Ioan is. That said, I do not think that ey is necessarily my type, especially as ey is now, having been ruined by Dear. Could I love em? Of course! I *do* love em. But could we be in a relationship? I do not think so. + +*([@makyo](https://cohost.org/makyo))* +
    + +## On Forking and Merging + +> Bit of an odd question, is it possible for an down-tree or root member of a clade to merge with an up-tree cocladist? Essentially, willingly subsuming themselves into an up-tree member of their clade? + +
    Dear, Also, The Tree That Was Felled + +*Yes. Sort of. We call this 'bubbling up', which is when an individuated fork merges down and then the down-tree instance assumes their identity. The issue, however, is that when merging, the down-tree instance has the ability to selectively merge memories, while they cannot release their own memories,* except *in the instance where there are conflicting memories, wherein one can choose the up-tree instance's memories — this usually means a reinforcement to the point where the down-tree instance's memories in those cases feel more like a whimsical imagining rather than quite real.* + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> do you think it would be possible to form someone new in a clade by a bunch of dispersionistas forking and letting one of them selves merge down? +> +> Like say we did it with 8 cocladists instead of 3? +> +> Also unrelated what brushes do you recommend for skunk tails + +
    Sasha + +I believe so, but I must warn you that it will take a lot of effort, lest you wind up in pieces of eight. If I am of three minds, being of eight, having eight times two hundred years of memory...I do not think that I would survive. + +And you want a comb, not a brush. A brush with our coarser fur will risk causing mats. Get a metal-toothed straight comb and start at the tips of the fur and then work your way in towards the tail itself so that you do not make any tangles in the fur worse! + +*([@makyo](https://cohost.org/makyo))* +
    + +## On the Clade + +> What's the weirdest or most unexpected species an Odist ended up settling as? + +
    Serene; Sustained And Sustaining + +I spent six months as an oak standing beside a river. My roots ran deep and I drank of fresh, cool water. My boughs reached high and I felt that striving for the sun. My wood was strong, my bark was thick, my heart was alive and green with sap. + +It was also incredibly fucking boring. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> So many of your clade are specialists - you reap the fruits of centuries of labor, each, in your field of choice. Do you know how one might cope with the opposite scenario? How does one handle knowing just a bit of everything and not enough of anything? + +
    If I Dream Am I No Longer Myself + +I think I have mentioned before that my down-tree instance forked when she started to grow wary of the direction her stanza was heading. Since then, I have indulged in people watching. I am pretty good at forking into different forms but other than that? I do not know. I am a very boring person. I do not know enough to get back into the spying game. I do not know enough to get into instance artistry. I like food, but I am a truly terrible cook. + +A lot of what looks like specialization is merely a hyperfixation expression of our neurodivergence. I stepped away from this observing hyperfixation and am now rudderless on the System. I am not unhappy, I suppose, but neither am I happy. What has my life amounted to? What do I have to show for the space I take up on Lagrange? I do not know. + +In the end, I have had to do my best to come to terms with being middling. I do not always succeed. Some days, it is all I can do to take joy in a really tasty sandwich, and some days I do not even manage that. Finding joy where one can is about all one has on the System. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + +> To any and all odists, if you had to pick a line or phrase from another work of art as a name, what would you pick? +> +> Sincerely, +> The Way Out Is Through + +
    Several Odists + +Hold My Name Beneath Your Tongue And Know +: ([@makyo](https://cohost.org/makyo)) + + If You Get Her Flowers, She Will Cry + + (Jen Durbent's "10 simple rules for dating a trans girl") + +Which Gives Heat And Warmth In Fire +: ([@hamratza](https://cohost.org/hamratza)) + + Ray Of Light And + + (Halley Labs) + +Time Is A Finger Pointing At Itself +: ([@hamratza](https://cohost.org/hamratza)) + + Dance Unblushing + + (Halley Labs) + +Beholden To The Heat Of The Lamps +: ([@makyo](https://cohost.org/makyo)) + + If You Got A Bone To Pick With Time, We Got A Score To Settle Too + + (Bent Knee's "Bone Rage") + +Where It Watches The Slow Hours Progress +: ([@makyo](https://cohost.org/makyo)) + + Senmova Kaj Ĉiam Ŝanĝiĝema + + (Madison Scott-Clary's "Numeno") + +From Whence Do I Call Out +: ([@makyo](https://cohost.org/makyo)) + + Eden Is Our Creation Right + + (Jen Durbent's "xenoglossia (2018 rev)") + +May One Day Death Itself Not Die +: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) + + That Which Dies Shall Still Know Life In Death + + (Jeff Vandermeer's Annihilation) + +Is To Pray For The End Of Memory +: ([@BinaryVixen899](https://cohost.org/BinaryVixen899)) + + It Shall Walk The World In The Bliss Of Not-Knowing + + (Jeff Vandermeer's Annihilation) + +Perhaps This, Too, Is Meaningless +: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) + + Its Dark Flame Shall Acquire Every Part Of You That Remains + + (Jeff Vandermeer's Annihilation) + +Should We Forget The Lives We Lead +: ([@makyo](https://cohost.org/makyo)) + + Would God I Had Died For Thee + + (2 Samuel 18:33, KJV) +
    + +----- + +> What do you think about phys-siders? You have the endless expande of centuries laid out before you, when they so often have but a handful of decades. It all seems so terribly tragic. + +
    The Only Constant and Rye + +And The Only Constant Is Change +: ([@hamratza](https://cohost.org/hamratza)) + + It *is* all so terribly tragic. + + When Douglass joined us, he hoped to meet his ancestor here at last. He rather idolizes her, something that only amplified the tragedy of his arriving when he did. But he has all of us, her up-trees — direct or indirect — to tell him ninety-nine stories about ninety-nine Michelles Hadje, and the promise of many more to be told by our unspoken forks. + + In death, I mean to say, the memory of who she was is quite literally preserved in us. And, with our perfect recollection, we each hold a piece of the story about what she became on the System. In this, we are bathed in fortune. + + But there are *plenty* who look to the System with fear. They raise objections as to the continunity of self, a natural observation from those whose closest brush with oblivion is most often sleep. We dispersionistas take for granted the significance of quitting, even when preserving another self. + + Motes and Heat And Warmth falling over one another a dozen times, wrestling with each other in an ephemeral game of leapfrog, must surely horrify those phys-side who warn of transporter paradoxes as each tail-end instance yields to the next and quits. How macabre the squeals of laughter must be to their ears, how unsettling the smiles on their faces as they settle in the grass with glee, overjoyed at the serial murders they both have just committed. + + And then there is time. It is easy for us to forget about phys-side on account of all the System has to offer us. Easier, still, for the only faded memories we can have are of the world before, and many are so miserable. Some of us came here seeking to help reclaim the Earth, and nearly as many eventually succumb to escapism. + + There are the families we left behind, and if we are not careful, they are gone before we know it. Those flicker-lives yet bound to Earth are still our kin, as Ioan was painfully reminded when ey at last looked into what became of Rareș in eir absence. Many who came here before the 2170s look to the prospect of immortality with *relief.* Many of those who came after, pointedly, *did not.* + + Why did Rareș not join his sibling when the years began to take their toll? What life did he live so worthy of death? Did he set a headstone for Ioan when ey uploaded to fund his education? Did he mourn when his sibling did not write him as frequently as he would have liked? + + It is all so terribly tragic, but I do *not* pity them. + +Dear The Wheat And Rye Under The Stars +: ([@makyo](https://cohost.org/makyo)) + +{{% verse %}} + Of course it is strange to inhabit the Earth no longer, +To follow no longer the customs so newly acquired, +To invest no longer with future humanity +Such promising things as roses, +... +And being dead is full of the labor of catching up, +As one gradually acquired a sense of eternity.— +But the living always make the mistake of too sharp a distinction. +... +In the end, they need us no longer, those taken in youth. +One gradually weans oneself from the earthly... +... But we, +Who need such great mysteries, for whom out of grief +So often comes blessed improvement—: could we be without them? +{{% /verse %}} +
    + +----- + +> Would any of the Ode clade like to share a favorite work of poetry, excluding the Ode itself? + +
    Several Odists + +#### I Remember The Rattle Of Dry Grass: + +I read this snippet of Neruda at a party for New Year's, 2399. + +{{% verse %}} +Let us unleash all our bottled up happiness +and seek out some lost sweetheart +who accepts a festive nibble. +It is today. Today has arrived. Let us walk on the rug +Of the inquiring millennium. The heart, the almond +of the mounting epoch, the definitive grape +will go on depositing themselves in us, +and truth — so long awaited — will arrive. +{{% /verse %}} + +#### Dear, Also, The Tree That Was Felled: + +*This poem by Dickinson, as well as being a fond memory from the past, expresses my views on memory well.* + +{{% verse %}} +There is a pain — so utter — +It swallows substance up — +Then covers the Abyss with Trance — +So Memory can step +Around — across — upon it — +As one within a Swoon — +Goes safely — where an open eye — +Would drop Him — Bone by Bone. +{{% /verse %}} + +#### Dear The Wheat And Rye Under The Stars: + +This is a newish translation by Eileen Cheng-Yin Chao of a poem by Xin Qiji. + +
    少年不識愁滋味In youth I knew nothing of the taste of sorrow
    愛上層樓。I liked to climb high towers
    愛上層樓。I liked to climb high towers
    為賦新詞強說愁。To conjure up a bit of sorrow to make new verse.
    而今識盡愁滋味Now I know only too well the taste of sorrow.
    欲說還休。I begin to speak yet pause
    欲說還休。I begin to speak yet pause
    卻道天涼好個秋。And say instead, “My, what a cool and lovely autumn.”
    +How lovely a depiction of growth! + +#### May Then My Name Die With Me: + +I found this ancient poem by a furry named Dwale titled Poem for a Deceased Lover. I was prowling through some furry literature at the time to send to a cousin of ours, Douglas Hadje, without telling him the source. + +{{% verse %}} +Seven days had passed when I heard you died, +A message in the warm morning hours. Dawn +Rose, and no one said how I should go on, +Or wade this mire without my only guide. + +Flown to space by what callous earth destroyed, +I chase the long-flying radio waves. +Far away from grief and a potter's grave, +I sift to find again your breathing voice. + +Teacher, my every thought was yours to thresh, +So now what sure course would you recommend? +Your kind words turned to shrapnel in the end, +Pieces of you left here in my heart's flesh. + +Lover, did you mean to leave this deep wound? +I would sell my world to kiss you farewell. +Eleven years facing perpetual Hell, +And all I can say is, "Too soon, too soon." +{{% /verse %}} + +I sent him the second stanza, and this was his reply: + +> Does this have to do with the launch? It certainly feels like! It feels like how even now my mind is chasing those radio waves that are coming from the LVs, now so far out of reach for any one of us that we can barely comprehend. But still, we keep on searching for those voices that come back to us ever slower. Did someone on the LVs leave you behind? Someone you love? Family? One of your forks? Basically, someone whose voice you keep on searching for. Or maybe they were one of the eight irretrievably lost personalities? +> +> “Far away from grief and a potter’s grave” makes a lot of sense to me as someone who left Earth behind. I don’t know what it was like when you uploaded, but I can see it as a way to dream of some place better. + +*(All by [@makyo](https://cohost.org/makyo))* +
    + +----- + +> what happens if you read [the books] and you only just become more fox because of Dear? +> +> is that a thing? +> +> I am en-fennecing at an alarming rate + +
    Dear, Also, The Tree That Was Felled: + +*Then truly you are blessed, are you not? Consider the wonder of the ears!* +
    + diff --git a/content/extras/ic-asks/001.md b/content/extras/ic-asks/001.md deleted file mode 100644 index b001bdc..0000000 --- a/content/extras/ic-asks/001.md +++ /dev/null @@ -1,16 +0,0 @@ - -> You mentioned on the server how Michelle "had her own gender-play" in the form of a breast reduction. What does this tell us about her particular gender experience phys-side? How does it relate to her orientation or her string of unsuccessful relationships? How are these things reflected or subverted in the Odists? - - -Hold My Name Beneath Your Tongue And Know -: ([@makyo](https://cohost.org/makyo)) - - Michelle had a long string of unfruitful, short, abusive, and otherwise quite boring relationships back phys-side. She (for I do not call myself her anymore; she was her own person, just as I am) struggled with that, and that was actually the origin of her picking a skunk as her fursona. She said that she liked the aposematic stripes. "Stay away," they said. "I am not for you to bother." - - Similarly, at one point she started to question just how much of her body was involved in how she was treated by her partners. She liked it okay, to be clear. She was chubby. She was short. She was cute! I remember her thinking that. There were times that she wished she was skinnier, yes, but most of the time? She felt okay. - - Still, when she did worry about her body, it was particularly in how it played into her interactions with romance. She liked being cute, and wanted to be seen as cute, but did not particularly like the way that that played out for her. After a bit, she sought out a reduction. It was not expensive, nor was it difficult to achieve: a consult, a counseling session, and then a surgery, all in the span of a month. - - The end result was not quite what she expected. It was not just that she was relieved of back pain — though she was — nor that she was treated differently with regards to her body — though that was also true — but that she was *happier.* She did not experience gender dysphoria, in other words, but after this change, she experienced gender euphoria. It was then that she cut her hair shorter and changed the way that she dressed. It was then that she decided to stick with skunk, owning it as a view of herself rather than simply as a response to some dick in a furry sim that she then met in person. - - All of us in her clade have carried over that euphoria in some form or another. Perhaps it is in the ways in which they look. Perhaps it is in the pronouns that they use (several use ey/em pronouns as another little tribute). We are all queer, in our own ways, and for some of us more than others, that queerness surrounds gender. I am a nonbinary trans woman. E.W. is a man. Dear's answer to the question of "What is your gender?" is "You are asking the wrong question." diff --git a/content/extras/ic-asks/002.md b/content/extras/ic-asks/002.md deleted file mode 100644 index eaeaf48..0000000 --- a/content/extras/ic-asks/002.md +++ /dev/null @@ -1,10 +0,0 @@ -> Do you think it is possible to know others better than one knows themself? Is truly knowing anybody to that level even possible? - -Hold My Name Beneath Your Tongue And Know -: ([@makyo](https://cohost.org/makyo)) - - Given the circuitous path I have taken with my own identity and how long it took me to figure out just why that fit so well, and given the rolling of eyes that I received when I told my down-tree instance But The Dead Know Nothing, I think I ought to say that it is most certainly possible for others to know one better than one knows oneself, even if only on the level of a microcosm. - - "I think I am transgender," I said, and she laughed in my face. She laughed! - - "Oh, honey," she said. "I am quite pleased that you have caught up at last." diff --git a/content/extras/ic-asks/003.md b/content/extras/ic-asks/003.md deleted file mode 100644 index a32dffc..0000000 --- a/content/extras/ic-asks/003.md +++ /dev/null @@ -1,15 +0,0 @@ ---- ---- - -> E.W.: Would you tell us a story about the wilderness? - -E.W. -: ([@makyo](https://cohost.org/makyo)) - - I remember teaching myself to hunt, promising myself that I would start small with snares and then work up from there, thinking that I would not let myself eat until I could eat food that I had caught myself. - - Eating itself is optional, sys-side. One can simply turn off that ability, just as one can (and most do) turn off the need to urinate, defecate, get the hiccups, and so on. - - The mind, however, remembers hunger. It remembers it so viscerally that, should you neglect to modify that out of your sensorium, you will feel it just as intense as you did back phys-side. It remembers the feeling of satiation that comes with eating. It remembers the feeling of being too full, of being sick to your stomach. It is a part of life, and even being infolife, we remember that from before we were such. - - So I remember getting so hungry and weak by the third day that I pinged Serene, my cocladist who had built me my little wilderness, to see if she could help. She laughed and ruffled my fur and called me a dumbass, saying that she had not included fauna because I had not requested it, so of course I did not catch anything. She brought me a hamburger and I ate it so fast I got sick. diff --git a/content/extras/ic-asks/004.md b/content/extras/ic-asks/004.md deleted file mode 100644 index 3dc013c..0000000 --- a/content/extras/ic-asks/004.md +++ /dev/null @@ -1,10 +0,0 @@ - - -> Who's the best in the clade at scrabble? - -Dear The Wheat And Rye Under The Stars -: ([@makyo](https://cohost.org/makyo)) - - I believe that would be me. As Praiseworthy shifted her attentions to arts administration and her own projects, I was forked to focus on writing and the art inherent in language. - - That said, Where It Watches The Slow Hours Progress from the fifth stanza, who acts as script manager for a theatre company, has given me a run for my money several times, so perhaps we are on par. diff --git a/content/extras/ic-asks/005.md b/content/extras/ic-asks/005.md deleted file mode 100644 index 9e333ef..0000000 --- a/content/extras/ic-asks/005.md +++ /dev/null @@ -1,9 +0,0 @@ ---- ---- - -> Bit of an odd question, is it possible for an down-tree or root member of a clade to merge with an up-tree cocladist? Essentially, willingly subsuming themselves into an up-tree member of their clade? - -Dear, Also, The Tree That Was Felled -: ([@makyo](https://cohost.org/makyo)) - - *Yes. Sort of. We call this 'bubbling up', which is when an individuated fork merges down and then the down-tree instance assumes their identity. The issue, however, is that when merging, the down-tree instance has the ability to selectively merge memories, while they cannot release their own memories, **except** in the instance where there are conflicting memories, wherein one can choose the up-tree instance's memories — this usually means a reinforcement to the point where the down-tree instance's memories in those cases feel more like a whimsical imagining rather than quite real.* diff --git a/content/extras/ic-asks/006.md b/content/extras/ic-asks/006.md deleted file mode 100644 index 2a85716..0000000 --- a/content/extras/ic-asks/006.md +++ /dev/null @@ -1,30 +0,0 @@ ---- ---- - -> alright Dear, what are your thoughts about the impermanence of self, meaning as even as we are ourselves we are changing and mutating away from what we are in the moment every minute of every day? - -Dear, Also, The Tree That Was Felled -: ([@makyo](https://cohost.org/makyo)) - - *I have found myself confronted with this as part of my very existence. I dance my dance of instance art and, in the process, it is that very individuation that becomes the core mechanic of the art. The word 'mechanic' is less than ideal, but it is what we have to lean on: yes, it is impressive when one forks smoothly or can lean creatively on the mutation algorithms, but the truly artistic aspect is putting a fine point on the ways in which we change on an hour-by-hour, minute-by-minute, second-by-second basis.* - - *Back in systime 59 (2183 by the old calendar), one of my first true exhibitions was a gala of sorts. I rented out a large ballroom and invited 50 individuals to join me in their finest for an evening of dances and delights. However, they were not to dance with each other, they were to dance with me. I forked 50 times over leaving fifty fennecs (well, 51, as one of me was left as the emcee for the evening) and we began dancing to all sorts of lovely music from throughout the centuries.* - - *However, one by one, my instances began to quit. It was no quiet affair. They quit with looks of agony, with yelps of fear, with wide eyes and trembling paws. The more instances that quit, the more anxious the remaining instances became. One by one, their number dwindled, until there was only one remaining, sobbing and pleading to remain, to not be annihilated. And then it, too, quit with a shriek.* - - *It was, of course, an act. Quitting does not feel like anything. There is no pain, no fear, certainly no anxiety in an instance artist such as myself. However, it did put a fine point on the absurdity of our condition, that these instances were no longer me, that that they changed with every step of their ballroom dance.* - - *That final instance was dancing with a member of my own clade: Time Is A Finger Pointing At Itself. I went into the exhibition with little plan as to who would be the final dancer. It had little to do with their skill (though our dear Pointillist was a fine dancer in her own right), and more to do with how they were reacting to this play of self. Would I lean into someone who shared in the foxes' terror? Would I lean into someone who expressed joy at the dance that I had set up? In the end, I leaned into an actor — A Finger Pointing runs a theatre company, made up mostly of members of her own stanza — who adopted an almost villainous aspect. She danced with a serene smile, even as that final dancer dissolved into tears, ending the song with a flourish of a bow even as it cried out in agony.* - - *Another reason that I chose her is that she correctly divined that I would not be merging the experiences of my up-tree instances back into myself as the emcee. It was not something that any of the guests needed to know. It was a private joke between all 51 of me. It was a way for me to be the audience as well. After all, did the other dancers not have access to my internal thoughts? Why, then, should I be any different?* - - *She, however, saw right through me, because of course she did. She is an inveterate actor! She is the manager of a troupe of actors! She picked her part and played it, and turned it into a show even for little old Dear.* - - *In our discussion afterward, we lingered long on this selfdom-as-play. "Sometimes I send a fork to a party I would really rather participate in myself, and when she returns with all those lovely experiences freshly welling up in her I think they belong to her," she said. "It is less about willful individuation and more about.. how every fork is an individual."* - - *To prove her point, she forked and then, on a whim, pulled this new fork over until she stumbled and slumped against her, laughing. She explained, "Here she is caught completely off her guard because I did not intend to surprise her until just now. She is different from me!"* - - *It is all very Heraclitus, is it not? He was the one who said that no man crosses the same river twice, because the river has changed minute-to-minute, second-to-second, as does the man. It was Weinberger who said that no one ever reads the same poem twice, because by reading the poem, the reader is changed: "Every reading of every poem, regardless of language, is an act of translation: translation into the reader's intellectual and emotional life. As no individual reader remains the same, each reading becomes a different — not merely another — reading."* - - *These are the things I think about when I think about the impermanence of the self, which is always.* - diff --git a/content/extras/ic-asks/007.md b/content/extras/ic-asks/007.md deleted file mode 100644 index 57f4f72..0000000 --- a/content/extras/ic-asks/007.md +++ /dev/null @@ -1,24 +0,0 @@ ---- ---- - - -> To those Odists engaged in the performing arts: -> -> Not counting instance artistry (Sorry Dear), do you ever opt for effects that would have been impossible phys-side? —Found in the Hearts of Many - -Time Is A Finger Pointing At Itself -: ([@hamratza](https://cohost.org/hamratza)) - - Dear and Heat And Warmth are both inspirations for Time Rushes and Motes and I. An integral part of our more spectacular productions involves construct, instance, and sim design. Of course, not everything is so *modern;* most of our work is done analogue, although I do tend to go ham on the theatres themselves. - - In those hazy days when reputation had much greater significance, we depended upon these particular shows to promote Voces Sensuum across the greater System. I am relieved that the Exchange has deflated so much as it has; we are less bound to the whims of popularity and can focus exclusively on our own creative endeavors. - - We do still indulge in spectacle from time to time, however. Our audience is about as impressed by such things as we are, and roping in *artists* rather than *designers* allows us to lean into that in a way that better suits all our tastes. - - Take *Spiro kaj Simpleco,* for instance. This was an example of immersive theatre, a collaboration with Serene and Rainbow's End to produce an interactive set using a sim cast entirely in impressionist textures, audience and all. - - The audience was asked to indulge in an autumn afternoon with the cast, with little dramas scattered about and a few planned to jostle those who came near out of an awkward silence. The filter Rainbow's End created cast the warmth of the Sun and fog of breath across blurred and broken faces in buttery yellow and wispy white, leaving the audience guessing as to who was who. - - This had the effect of rendering otherwise trivial conflicts impossible to follow. The scenes *themselves* were impressionistic. Each conflict was, on its own, meaningless; bantering partners and nagging down-trees and overbearing friends. What the audience was meant to find in this work was the peace that fell over every silent moment, the landscape that as often blended with bickering blobs as not. - - Perhaps the production could have been replicated phys-side, especially when considering the proliferation of exocortices during the 23rd century. For a truly impossible feat, you may have better luck asking a Sevgili. diff --git a/content/extras/ic-asks/008.md b/content/extras/ic-asks/008.md deleted file mode 100644 index 333b5cc..0000000 --- a/content/extras/ic-asks/008.md +++ /dev/null @@ -1,34 +0,0 @@ ---- ---- - - -> To any Odist that would like to answer: What is the worst meal you have ever had in your entire life? - -Which Offers Heat And Warmth In Fire -: ([@hamratza](https://cohost.org/hamratza)) - - I think there is food that is just poorly-made and food that is ill-advised. It is easy enough to think of a dozen bland, burnt, and bungled meals. But I think it is much more interesting to talk about those meals that were cooked to perfection and managed to land staunchly in the domain of nauseating. - - The worst food I ever ate was a miserable chili with exactly the right amount of lime and with beans still whole and a toothsome mire of beef and plenty of spice. The problem was that it was all sideways. There was just a little bit too much salt, not enough paprika, and it was too runny for the oily-fresh tortilla chips it was served with. All these little incongruencies made for an unpleasant lunch that was just short of unpalatable. If it were any worse, I would have dreamt up my own entrée instead out of protest. - - Codrin and ████ cooked me all sorts of delicious things before the launches; that is why so much of what I have published on the Reputation Exchange is just Balkan cuisine and baked treats. But ████ was always into haute cuisine in particular, and this occasionally resulted in some rather interesting experiments. - - But the worst meal I ever had must have been the private dinner shared between Rye and Serene and Dear and Codrin and ████ and I on the weekend before Launch Day. There was this menagerie of flavors throughout the evening, beginning with an enticing ratatouille that did a wonderful job of making me hungrier than I began. - - The conversation at the table was lively. We all were laughing and gossipping and teasing one another as we do, and I really liked that. I liked that, if this was to be our last meal shared just as a family, it was one when we were at our best. Rye told us about her latest correspondence with No Longer Myself, about a particularly heartbreaking experience she inherited from If I Dream. Rye weaved her musings about character development and Dear made a quip by asking her whether that was destined for her latest novel or not. Codrin, on the other hand, was upset. Ey did not like what ey learned about the first stanza from that story. - - So more food arrived to make up for the lull in conversation. We got an onion soup with a cheesy garlic bread served swimming so that it disintegrated and added a little weight to the stock. It was rich and dark and sat in my stomach like a rock, but it was mostly broth and so the sensation washed away with just a sip of wine. - - Dear tried to console Codrin by pointing out that what Rye told us was a story about why No Longer Myself was forked, that it was a hopeful story about reclaiming an identity appropriated by the inevitable politics of the clade. Ey did not seem convinced, but ey did manage a smile when Serene blurted, "Leave it to Dear to solve an interpersonal conflict with art!" - - We had our main course, then, of course, and what came was a generous fillet of salmon served on a cedar plank with tomato salad. After that runny affair, it was just what my belly needed. It was hearty and toothsome and comparatively light. I feared I might not make it to dessert with how wholesome the dish was, but the wetness of the salad had the effect of washing away that sense of fullness before it became sore. - - One of the topics that came up between our mouthfuls was how Dear was calling it its "death day". Codrin brought it up, and Dear shot em a sharp look. Ey raised eir hands and apologized, but I spoke up to ask why Dear's idea bothered Dear. ████ explained that they three had agreed not to discuss that at the table tonight, to which Codrin protested. "I thought it might lighten the mood," ey said, and Rye agreed. The final course interrupted us before Dear could answer, naturally. - - Dessert was a plain and simple flan. Its texture was luxurious, the salty-sweetness a delightful answer to the savoriness lingering on our palates and coating the dish. The serving size might leave something to be desired if not for the fact that we just spent the last two hours eating. I think all of us welcomed how quaint it was. - - Dear sat in silence for a while after finishing its dessert, fiddling with its wine glass. Then something crossed its mind and it asked us to keep its next words in confidence, especially Codrin and ████. We all nodded, and it finally told us. It told us the obvious, of course, that they three would not be leaving any forks behind; that none of them will remain on the L5 System. - - Then it said, "We will die, here." It talked about how they would each be mourned and how they would only speak from beyond the heavens like spirits. Codrin looked uncomfortable. Ey murmured, "For a while," to which Dear only answered, "Yes. For a while." - - The food was delicious. The meal was rendered joyless. There was something wrong that evening, and I did not pin it down until I read the History a few years later. diff --git a/content/extras/ic-asks/009.md b/content/extras/ic-asks/009.md deleted file mode 100644 index 2a1e69a..0000000 --- a/content/extras/ic-asks/009.md +++ /dev/null @@ -1,17 +0,0 @@ ---- ---- - -> Open letter to the Odists - Would you tell us about your favorite public sim? - -I Must Set No Stones Between Me And My Actions -: ([@KDARC](https://cohost.org/KDARC)) - - There is a sim that I love to visit when I remember, which is sometimes only a few days, and the standing record is a decade. It is a small village by a sea, and I am told it is based upon the shores of the Mediterranean. Along the beach, a massive wall runs for quite some distance. - - Besides fantastic food and a generally calm vibe, there are two reasons to visit. - - Every day, people head out onto the beach, and draw in the sand. Everyone is free to draw as they please, but the best days are when a large design takes hold early in the morning and everyone contributes. Each night, the tide rolls in slowly, and wipes clean the beach. No pictures or permanent records are allowed, save the ones in your head, since memories never really leave us. - - Meanwhile, on the walls and roads and roofs and floors of the village, a mosaic now approaching 180 years old spreads. When you enter the sim, you are given a single tile, in a choice of colors. So long as it is touching another tile, or a seam or edge where tiles touch, you can place a tile wherever you please. In the beginning, folks were limited to one tile a day, but at some point there must have been an issue, for now it is every 6 weeks. Some sections have been meticulously planned, while others are, to paraphrase a friend, “throwing tiles at the wall to see what sticks.” Once a tile is placed, it is there for good. If you misalign it, there is no fixing it, so choose wisely. - - Something about the ephemerality of the sand and the permanence of the tile speaks to me, and both the food and company are a delight. I have been dipping in and out for about 70 years now, and it is always a pleasure to see old faces, and new ones come to draw in the sand, or maybe place their first tile, or simply looking for a place to relax and sip some wine. I cannot recommend it enough! diff --git a/content/extras/ic-asks/010.md b/content/extras/ic-asks/010.md deleted file mode 100644 index 7a0510a..0000000 --- a/content/extras/ic-asks/010.md +++ /dev/null @@ -1,16 +0,0 @@ ---- ---- - - -> Serene, -> -> If you can pick a favorite, which landscape that you have designed is yours? - -Serene; Sustained And Sustaining -: ([@makyo](https://cohost.org/makyo)) - - I created a swamp some time ago. It is quite boggy and wet, with open water, banyan trees, and patches of what look like solid ground, but which are actually patches of water grasses that cannot support the weight of a person. Winding throughout it is a rotting wooden bridge-path that ducks between the trees and leads from patch to patch of those grasses, all but inviting you to step off and sink down to your waist in brackish and algae-slimed water. - - It was quite poorly received — too many bugs, too poor a smell, too hot and muggy — and for that, I am deeply in love with it. This reception means that I am wildly successful in what I set out to do. I, haver of fur, am mostly immune to the bugs, and I can turn down my sensorium to deal with the scent, but I love walking between the trees, squatting on the rickety path and poking through the grasses, watching the gar and caimans float idly by. - - What can I say? I am a sucker for so imperfect a land. diff --git a/content/extras/ic-asks/011.md b/content/extras/ic-asks/011.md deleted file mode 100644 index 0926195..0000000 --- a/content/extras/ic-asks/011.md +++ /dev/null @@ -1,12 +0,0 @@ ---- ---- - -> What's an Odist and what's a sim? - -Serene; Sustained And Sustaining -: ([@makyo](https://cohost.org/makyo)) - - An Odist is a member of the Ode clade. We are (nominally) 100 individuals descended from a single uploaded consciousness named Michelle Hadje. As Michelle is no longer extant, this had led to us being ten disconnected subclades. Each of us is named from a line in a poem Many of us are human, many of us are anthropomorphic skunks — Michelle was a furry, back on Earth — and two of us are fennec foxes, for better or worse. - - Sims are the locations in which we live. I happen to be a sim designer, with a specialization in natural settings rather than buildings. - diff --git a/content/extras/ic-asks/012.md b/content/extras/ic-asks/012.md deleted file mode 100644 index 3243d5e..0000000 --- a/content/extras/ic-asks/012.md +++ /dev/null @@ -1,11 +0,0 @@ ---- ---- - -> What's the weirdest or most unexpected species an Odist ended up settling as? - -Serene; Sustained And Sustaining -: ([@makyo](https://cohost.org/makyo)) - - I spent six months as an oak standing beside a river. My roots ran deep and I drank of fresh, cool water. My boughs reached high and I felt that striving for the sun. My wood was strong, my bark was thick, my heart was alive and green with sap. - - It was also incredibly fucking boring. diff --git a/content/extras/ic-asks/013.md b/content/extras/ic-asks/013.md deleted file mode 100644 index f646d0d..0000000 --- a/content/extras/ic-asks/013.md +++ /dev/null @@ -1,15 +0,0 @@ ---- ---- - -> do you think it would be possible to form someone new in a clade by a bunch of dispersionistas forking and letting one of them selves merge down? -> -> Like say we did it with 8 cocladists instead of 3? -> -> Also unrelated what brushes do you recommend for skunk tails - -Sasha -: ([@makyo](https://cohost.org/makyo)) - - I believe so, but I must warn you that it will take a lot of effort, lest you wind up in pieces of eight. If I am of three minds, being of eight, having eight times two hundred years of memory...I do not think that I would survive. - - And you want a comb, not a brush. A brush with our coarser fur will risk causing mats. Get a metal-toothed straight comb and start at the tips of the fur and then work your way in towards the tail itself so that you do not make any tangles in the fur worse! diff --git a/content/extras/ic-asks/014.md b/content/extras/ic-asks/014.md deleted file mode 100644 index 4a79ccc..0000000 --- a/content/extras/ic-asks/014.md +++ /dev/null @@ -1,13 +0,0 @@ ---- ---- - -> To the Ode clade - What is the most beautiful thing you ever saw? - -May Then My Name Die With Me -: ([@makyo](https://cohost.org/makyo)) - - There is a moment at the very beginning of every relationship when their eyes light up on seeing me, and I can sense the gears finally mesh within their minds and they think, "Holy shit, I think I am in love." - - I am not immune to this, to be clear. I will be getting closer to someone and they will be doing the most innocuous thing — with Ioan, it was em changing the ink in one of eir fountain pens, leaning down with eir eyes almost level with the desk, the tip of eir tongue peeking out from between eir teeth — and I will think, "Oh gosh...I love them, do I not? I really do." - - I am sure that we all have our own answers, but for me, it is that moment. That is the most beautiful thing that I have seen. diff --git a/content/extras/ic-asks/015.md b/content/extras/ic-asks/015.md deleted file mode 100644 index 4470f7c..0000000 --- a/content/extras/ic-asks/015.md +++ /dev/null @@ -1,21 +0,0 @@ ---- ---- - -> Do any in the Ode clade enjoy people-watching? With the freedom of form offered by the System, I imagine it becomes an even more interesting hobby than it can be phys-side. - -If I Dream Am I No Longer Myself -: ([@makyo](https://cohost.org/makyo)) - - My whole stanza, based off of the first line, focuses specifically on people watching. I, and many others, would honestly call it spying. They have been contracted by several individuals to spy on various people of note on the System. On Lagrange, Loss For Images and Even While Awake watched Ioan Bălan and May Then My Name Die With Me for nearly a quarter of a century, forking microscopic instances of themselves and secreting them around the house. - - My initial purpose was, in fact, to step away from this. My direct up-tree instance, If I Dream, forked when she began to have doubts about this supposed calling. While she never did work up the courage to disengage with this way of life (or perhaps she did, I have lost contact), I stepped away from the stanza to reconnect with the fourth stanza. They began by following creatives across the System before fucking off to do their own thing. I found that they did, indeed, largely just fuck off to do their own thing, and wanted little to do with me. - - So that is what I have done, these last however many decades — is it nearly a century, now? I have sat in town squares and sipped my coffee as I watch the passers-by. I have sat in bars and drank countless terrible drinks, cheek resting on my fist as I stare into the mirror behind the bartender and observe my fellow patrons. I have gone to dinner, requested a corner table, and gazed out over the sea of diners. - - I always do so alone. - - I always wear a different shape. - - I never speak. - - I like it better this way, this observing. There is no goal, I just...see. I just watch. Posthumanity is wonderful and disgusting and funny and sad and kinky and uptight and I love each and every last person I have laid my eyes upon. diff --git a/content/extras/ic-asks/016.md b/content/extras/ic-asks/016.md deleted file mode 100644 index db54702..0000000 --- a/content/extras/ic-asks/016.md +++ /dev/null @@ -1,14 +0,0 @@ ---- ---- - -> So many of your clade are specialists - you reap the fruits of centuries of labor, each, in your field of choice. Do you know how one might cope with the opposite scenario? How does one handle knowing just a bit of everything and not enough of anything? - -If I Dream Am I No Longer Myself -: ([@makyo](https://cohost.org/makyo)) - - I think I have mentioned before that my down-tree instance forked when she started to grow wary of the direction her stanza was heading. Since then, I have indulged in people watching. I am pretty good at forking into different forms but other than that? I do not know. I am a very boring person. I do not know enough to get back into the spying game. I do not know enough to get into instance artistry. I like food, but I am a truly terrible cook. - - A lot of what looks like specialization is merely a hyperfixation expression of our neurodivergence. I stepped away from this observing hyperfixation and am now rudderless on the System. I am not unhappy, I suppose, but neither am I happy. What has my life amounted to? What do I have to show for the space I take up on Lagrange? I do not know. - - In the end, I have had to do my best to come to terms with being middling. I do not always succeed. Some days, it is all I can do to take joy in a really tasty sandwich, and some days I do not even manage that. Finding joy where one can is about all one has on the System. - diff --git a/content/extras/ic-asks/017.md b/content/extras/ic-asks/017.md deleted file mode 100644 index f0debba..0000000 --- a/content/extras/ic-asks/017.md +++ /dev/null @@ -1,9 +0,0 @@ ---- ---- - -> To the Ode clade: What is your favorite cheesy, overwrought, low-budget, or otherwuse terribke-but-fun movie? - -For They, Knowing Not, Provide Life In Death -: ([@makyo](https://cohost.org/makyo)) - - This is perhaps cheating, as I do not think this is in any way a subversive opinion, but "Pacific Rim". It was quite high budget, but it was also overwrought, terrible, and incredibly stupid. Oldie, as they say, but goldie. diff --git a/content/extras/ic-asks/018.md b/content/extras/ic-asks/018.md deleted file mode 100644 index 335bd36..0000000 --- a/content/extras/ic-asks/018.md +++ /dev/null @@ -1,9 +0,0 @@ ---- ---- - -> Any Odist who feels like speaking up: what is your favorite episode of MST3K? - -For They, Knowing Not, Provide Life In Death -: ([@makyo](https://cohost.org/makyo)) - - Slab Bulkhead! Fist Rockbone! Punch Rockgroin! Stump Beefknob! Brick Hardmeat! Big McLargeHuge! diff --git a/content/extras/ic-asks/019.md b/content/extras/ic-asks/019.md deleted file mode 100644 index 3cdf85f..0000000 --- a/content/extras/ic-asks/019.md +++ /dev/null @@ -1,18 +0,0 @@ ---- ---- - -> To Dear and May Then My Name: Have you ever thought about a Bizarro Universe scenario where you trade places with Codrin and Ioan, respectively? I find myself struggling to imagine it. - -Dear -: ([@makyo](https://cohost.org/makyo)) - - *There are, perhaps, two readings of this. If you mean Codrin and myself switching places, and you are wondering what it would be like for me to date an Odist as a non-Odist, I think I would find myself maddening, and I would have dropped myself years ago. It is perhaps uncomfortable to admit, but there is no small amount of self-loathing in me. I have spent my time in a relationship with another Odist — my close cross-tree instance Serene — and...well. I love her dearly, but she puts rather a fine point on all of the things that I loathe in myself, sometimes.* - - *If, however, you mean me switching places with May Then My Name and being in a relationship with Ioan, then, my dear, you have no idea how eager I would be to corrupt that poor, innocent soul, especially as ey is now. The Ioan who became Codrin was of a very specific type, but this Ioan? The one that May Then My Name has tainted? Oh, how delicious that would be!* - -May Then My Name -: ([@makyo](https://cohost.org/makyo)) - - Similar to Dear, I shall answer each in turn. If you mean me switching places with Ioan as ey is now, then I do not think much would change. I have absolutely ruined em for a life alone, and I think that ey would feel quite out of sorts if I were not around, just as I feel quite out of sorts when ey is not around. That said, I cannot ignore what happens when I overflow. Ey does not like it when I dissolve into tears and ask em to leave me alone for days at a time. It is a thing I dislike about myself, but am hopeless before. I think that it would hurt me far more to experience it from the other side. I think that I would...well. I think we would risk a feedback loop of tears, and there would be days afterwards when we would struggle. - - If you mean me switching with Dear...well, I like Codrin plenty. I think ey is lovely in many of the same ways that Ioan is. That said, I do not think that ey is necessarily my type, especially as ey is now, having been ruined by Dear. Could I love em? Of course! I *do* love em. But could we be in a relationship? I do not think so. diff --git a/content/extras/ic-asks/020.md b/content/extras/ic-asks/020.md deleted file mode 100644 index 0d47f5f..0000000 --- a/content/extras/ic-asks/020.md +++ /dev/null @@ -1,77 +0,0 @@ ---- ---- - -> To any and all odists, if you had to pick a line or phrase from another work of art as a name, what would you pick? -> -> Sincerely, -> The Way Out Is Through - -Hold My Name Beneath Your Tongue And Know -: ([@makyo](https://cohost.org/makyo)) - - If You Get Her Flowers, She Will Cry - - (Jen Durbent's "10 simple rules for dating a trans girl") - -Which Gives Heat And Warmth In Fire -: ([@hamratza](https://cohost.org/hamratza)) - - Ray Of Light And - - (Halley Labs) - -Time Is A Finger Pointing At Itself -: ([@hamratza](https://cohost.org/hamratza)) - - Dance Unblushing - - (Halley Labs) - -Beholden To The Heat Of The Lamps -: ([@makyo](https://cohost.org/makyo)) - - If You Got A Bone To Pick With Time, We Got A Score To Settle Too - - (Bent Knee's "Bone Rage") - -Where It Watches The Slow Hours Progress -: ([@makyo](https://cohost.org/makyo)) - - Senmova Kaj Ĉiam Ŝanĝiĝema - - (Madison Scott-Clary's "Numeno") - -From Whence Do I Call Out -: ([@makyo](https://cohost.org/makyo)) - - Eden Is Our Creation Right - - (Jen Durbent's "xenoglossia (2018 rev)") - -May One Day Death Itself Not Die -: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) - - That Which Dies Shall Still Know Life In Death - - (Jeff Vandermeer's Annihilation) - -Is To Pray For The End Of Memory -: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) - - It Shall Walk The World In The Bliss Of Not-Knowing - - (Jeff Vandermeer's Annihilation) - -Perhaps This, Too, Is Meaningless -: ([@BinaryVixin899](https://cohost.org/BinaryVixen899)) - - Its Dark Flame Shall Acquire Every Part Of You That Remains - - (Jeff Vandermeer's Annihilation) - -Should We Forget The Lives We Lead -: ([@makyo](https://cohost.org/makyo)) - - Would God I Had Died For Thee - - (2 Samuel 18:33, KJV) diff --git a/content/extras/ic-asks/021.md b/content/extras/ic-asks/021.md deleted file mode 100644 index 21f05e4..0000000 --- a/content/extras/ic-asks/021.md +++ /dev/null @@ -1,45 +0,0 @@ ---- ---- - -> What do you think about phys-siders? You have the endless expande of centuries laid out before you, when they so often have but a handful of decades. It all seems so terribly tragic. - -And The Only Constant Is Change -: ([@hamratza](https://cohost.org/hamratza)) - - It *is* all so terribly tragic. - - When Douglass joined us, he hoped to meet his ancestor here at last. He rather idolizes her, something that only amplified the tragedy of his arriving when he did. But he has all of us, her up-trees — direct or indirect — to tell him ninety-nine stories about ninety-nine Michelles Hadje, and the promise of many more to be told by our unspoken forks. - - In death, I mean to say, the memory of who she was is quite literally preserved in us. And, with our perfect recollection, we each hold a piece of the story about what she became on the System. In this, we are bathed in fortune. - - But there are *plenty* who look to the System with fear. They raise objections as to the continunity of self, a natural observation from those whose closest brush with oblivion is most often sleep. We dispersionistas take for granted the significance of quitting, even when preserving another self. - - Motes and Heat And Warmth falling over one another a dozen times, wrestling with each other in an ephemeral game of leapfrog, must surely horrify those phys-side who warn of transporter paradoxes as each tail-end instance yields to the next and quits. How macabre the squeals of laughter must be to their ears, how unsettling the smiles on their faces as they settle in the grass with glee, overjoyed at the serial murders they both have just committed. - - And then there is time. It is easy for us to forget about phys-side on account of all the System has to offer us. Easier, still, for the only faded memories we can have are of the world before, and many are so miserable. Some of us came here seeking to help reclaim the Earth, and nearly as many eventually succumb to escapism. - - There are the families we left behind, and if we are not careful, they are gone before we know it. Those flicker-lives yet bound to Earth are still our kin, as Ioan was painfully reminded when ey at last looked into what became of Rareș in eir absence. Many who came here before the 2170s look to the prospect of immortality with *relief.* Many of those who came after, pointedly, *did not.* - - Why did Rareș not join his sibling when the years began to take their toll? What life did he live so worthy of death? Did he set a headstone for Ioan when ey uploaded to fund his education? Did he mourn when his sibling did not write him as frequently as he would have liked? - - It is all so terribly tragic, but I do *not* pity them. - -Dear The Wheat And Rye Under The Stars -: ([@makyo](https://cohost.org/makyo)) - -{{% verse %}} - Of course it is strange to inhabit the Earth no longer, -To follow no longer the customs so newly acquired, -To invest no longer with future humanity -Such promising things as roses, -... -And being dead is full of the labor of catching up, -As one gradually acquired a sense of eternity.— -But the living always make the mistake of too sharp a distinction. -... -In the end, they need us no longer, those taken in youth. -One gradually weans oneself from the earthly... -... But we, -Who need such great mysteries, for whom out of grief -So often comes blessed improvement—: could we be without them? -{{% /verse %}} diff --git a/content/extras/ic-asks/022.md b/content/extras/ic-asks/022.md deleted file mode 100644 index 798533c..0000000 --- a/content/extras/ic-asks/022.md +++ /dev/null @@ -1,75 +0,0 @@ ---- ---- - -> Would any of the Ode clade like to share a favorite work of poetry, excluding the Ode itself? - -#### I Remember The Rattle Of Dry Grass: - -I read this snippet of Neruda at a party for New Year's, 2399. - -{{% verse %}} -Let us unleash all our bottled up happiness -and seek out some lost sweetheart -who accepts a festive nibble. -It is today. Today has arrived. Let us walk on the rug -Of the inquiring millennium. The heart, the almond -of the mounting epoch, the definitive grape -will go on depositing themselves in us, -and truth — so long awaited — will arrive. -{{% /verse %}} - -#### Dear, Also, The Tree That Was Felled: - -This poem by Dickinson, as well as being a fond memory from the past, expresses my views on memory well. - -{{% verse %}} -There is a pain — so utter — -It swallows substance up — -Then covers the Abyss with Trance — -So Memory can step -Around — across — upon it — -As one within a Swoon — -Goes safely — where an open eye — -Would drop Him — Bone by Bone. -{{% /verse %}} - -#### Dear The Wheat And Rye Under The Stars: - -This is a newish translation by Eileen Cheng-Yin Chao of a poem by Xin Qiji. - -
    少年不識愁滋味In youth I knew nothing of the taste of sorrow
    愛上層樓。I liked to climb high towers
    愛上層樓。I liked to climb high towers
    為賦新詞強說愁。To conjure up a bit of sorrow to make new verse.
    而今識盡愁滋味Now I know only too well the taste of sorrow.
    欲說還休。I begin to speak yet pause
    欲說還休。I begin to speak yet pause
    卻道天涼好個秋。And say instead, “My, what a cool and lovely autumn.”
    -How lovely a depiction of growth! - -#### May Then My Name Die With Me: - -I found this ancient poem by a furry named Dwale titled Poem for a Deceased Lover. I was prowling through some furry literature at the time to send to a cousin of ours, Douglas Hadje, without telling him the source. - -{{% verse %}} -Seven days had passed when I heard you died, -A message in the warm morning hours. Dawn -Rose, and no one said how I should go on, -Or wade this mire without my only guide. - -Flown to space by what callous earth destroyed, -I chase the long-flying radio waves. -Far away from grief and a potter's grave, -I sift to find again your breathing voice. - -Teacher, my every thought was yours to thresh, -So now what sure course would you recommend? -Your kind words turned to shrapnel in the end, -Pieces of you left here in my heart's flesh. - -Lover, did you mean to leave this deep wound? -I would sell my world to kiss you farewell. -Eleven years facing perpetual Hell, -And all I can say is, "Too soon, too soon." -{{% /verse %}} - -I sent him the second stanza, and this was his reply: - -> Does this have to do with the launch? It certainly feels like! It feels like how even now my mind is chasing those radio waves that are coming from the LVs, now so far out of reach for any one of us that we can barely comprehend. But still, we keep on searching for those voices that come back to us ever slower. Did someone on the LVs leave you behind? Someone you love? Family? One of your forks? Basically, someone whose voice you keep on searching for. Or maybe they were one of the eight irretrievably lost personalities? -> -> “Far away from grief and a potter’s grave” makes a lot of sense to me as someone who left Earth behind. I don’t know what it was like when you uploaded, but I can see it as a way to dream of some place better. - -(All by [@makyo](https://cohost.org/makyo)) diff --git a/content/extras/ic-asks/023.md b/content/extras/ic-asks/023.md deleted file mode 100644 index bf16cd0..0000000 --- a/content/extras/ic-asks/023.md +++ /dev/null @@ -1,28 +0,0 @@ ---- ---- - -> Tips on intra-clade dating? - -Beholden To The Heat Of The Lamps -: ([@makyo](https://cohost.org/makyo)) - - Some time after I was forked, back in systime 3 (2127), I entered into a relationship with my down-tree instance, Time Is A Finger Pointing At Itself. You must understand, however, that until perhaps systime 230 (2354), intraclade relationships were seen as taboo, at least on Lagrange — I know that attitudes on Pollux had loosened quite a bit. It was seen as subversive and distasteful, a sort of moral masturbation. - - And yet, we loved each other. We were different people, were we not? From the moment I was forked and began to focus on my work as an audio tech, I was a different person. My values began to shift. My appearance began to shift. The way I spoke began to shift. I am not Pointillist. She is not Beholden. We are separate individuals, and we are in love. - - Of course, we drifted closer together and further apart over the years, but we settled into a comfortable sort of domesticity and playfulness, and it was not until such taboo began to lift, being seen as artificial and particularly meaningless for older clades, that our relationship became more open, first among friends, and then out on the street, in the bars after a performance. - - As for tips, I think my biggest would be that, yes, you share a common past, but do not assume that this means you know what the other is thinking. You may share values, memories, a general approach to life, but you do not read minds. - -Time Is A Finger Pointing At Itself -: ([@hamratza](https://cohost.org/hamratza)) - - We stumbled into intimacy one evening when the bleary neon haze of a night out turned to giddy exploration. "How lewd~," she said at least a dozen times (Beholden was *very* much zooted by this point). All that bratty pomp and wily poise turned to heady laughter and *mortifying* sounds of joy. She was positively *adorable.* She still is, of course, except that she has hardened over the years and is now quite the bully if I do not feed her something nice before taking her out dancing. - - Aromancy complicates my feelings about her — and my answer to this question — but there has always been this comradery between us about taboos. We both are irreverently indulgent in this respect, and have found a kind of reclamation in private profanity. When at last the tides had turned away from scorn, it was a privilege to kiss her paw in public; to give that one disdainful pair of eyes a wink, and to know in that moment we held more power over the bearer of that withering gaze than they held over us. - - I hope that you and whoever you are thinking about in this moment have had the chance to open up in these recent decades. But there is more to this question than the intrinsic queerness of transgressive relationships such as ours. You also ask about the unique implications of loving a reflection of oneself. Cross-tree relationships may seem a little easier in this regard, but I have seen my share of those amidst my cocladists. Take Codrin's musings about Dear and Serene on Pollux or, more distantly, Heat And Warmth and Hold My Name, who I have seen my fair share of first-hand. Both of these pairs are particularly boisterous, especially as compared to Beholden and I, and rather often stumble into ephemeral disagreements. - - Even as they do, however, there is an implicit understanding of nuance that is much harder to craft in conventional relationships. Dear and Serene solve their disputes with the grace of deeply-rooted trust, and Heat And Warmth and Hold My Name speak to each other with a kind of careful articulation that rather reminds me of the couple of times True Name has seen fit to admonish me over the centuries. We all are Odists, after all; it is difficult to say precisely what this feeling is, but the essence of it is that we do not have to work as hard to explain ourselves to one another. We all get it; so all that is left is to do is to *perform* getting it. - - Even if you already understand, sometimes what you need is just to feel heard. diff --git a/content/extras/ic-asks/024.md b/content/extras/ic-asks/024.md deleted file mode 100644 index 381bd36..0000000 --- a/content/extras/ic-asks/024.md +++ /dev/null @@ -1,36 +0,0 @@ ---- ---- - -> For whichever Odists this best suits: Sometimes, I will lead somebody around, down a given path of inquiry or to certain conclusions. To encourage them to ask "the right questions." It ends up feeling like an elaborate game, particularly if they grow wise and lean into their part. Do you think manipulation of this sort is wrong, even when the purpose is benign or simply for play? For that matter, do you have any general thoughts on People and how they interact? - -The Only Time I Know My True Name Is When I Dream -: The Artemesians have a word for this: *tuvårouni;* “push-play”, they called it, a tension in all our dealings with others that enables us to overcome the inertia of comfort. If communication is the means by which ideas are expressed and transformed, then manipulation is how we engage in this push-play; if we all felt the same to begin with, after all, then why have words at all? Communication is manipulation, so this playfully benign qualifier describes *teasing,* not harm. - -May Then My Name Die With Me -: You are not wrong that communication contains at its heart manipulation. However it is more than just manipulation. It is more of a give-and-take than a push-and pull. This is the way in which people work: we make our arguments, yes, but we love, we dance, we offer and receive freely. You mention the framing of this question with its playful qualifier. That is a sort of boundary around the topic. Boundaries such as these must be kept. One must keep this push-play above board and open to disconsent. Consent is to be informed, as I have said before. - -True Name -: Yes; consent, after all, is ideally unambiguous and overt. But it is also true that consent can grow more playful, more implicit, more sly. This, I think, is an example of that *tuvårouni,* where one becomes more open to unanticipated, unplanned kinds of play. Play, perhaps, as in the insinuation that Ioan might grow some dandelions, yes? - -May Then My Name -: I…well, you are not wrong, there. It became a part of our relationship as we grew closer together. I am not sure that I would do the same thing, now, as the person that I have become; I would feel…well, manipulative. I do not think that would feel good at all. - -True Name -: But you do not feel bad now. Do those dandelions not remain in eir lawn? I have seen you come in with a dandelion behind your ear. Do you both not cherish them? Do you suppose Ioan resents that you convinced em to grow some dandelions? - -May Then My Name -: I will concede that point. You are correct. The dandelions remain and have not been uprooted. We both love them. That said, this growing of dandelions was intentional. I must have gotten that from somewhere, right? After all, I was pointed to em by you, and for the very explicit purpose of shaping the *History.* - -True Name -: It was not solely for that purpose; I did point you somewhere that I thought was best for all of us, true. But that somewhere was towards someone who could lift you up after your previous relationship; who could understand and so fairly present the story of our clade to others; who could capture the history of the System with only the best of intentions. I held all of these in balance when I wrote you that letter, May Then My Name. - -May Then My Name -: Do you feel that way still, now that you are getting coffee with em once a month? - -True Name -: …There is the sense that ey does not wholly trust me, and I am sore for that. I am sure that is in part because your relationship with em was all but arranged, for better or for worse. There is a cynicism in this kind of dual-intent. I stand by every word of that letter, but there was clearly harm in coupling what was sincere with what had utility to preserving the continuity of the System, and for that I do apologize. - -May Then My Name -: There was harm, yes, and I am not upset at where we have wound up and how. Both of these can be true at once. Both are true, my dear. And I must admit, it can be kind of *fun.* - -(May Then My Name by [@makyo](https://cohost.org/makyo) and True Name by [@hamratza](https://cohost.org/hamratza)) diff --git a/content/extras/ic-asks/_index.md b/content/extras/ic-asks/_index.md deleted file mode 100644 index ded7ef5..0000000 --- a/content/extras/ic-asks/_index.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: In-Character asks -type: chapter ---- From a1bcc32b3efbe5db0b04e02b62422e88e5e4c564 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 30 Aug 2023 17:48:21 -0700 Subject: [PATCH 006/122] IC asks --- content/extras/ic-asks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 03ddb82..6d93aaa 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -981,7 +981,7 @@ I sent him the second stanza, and this was his reply: > > I am en-fennecing at an alarming rate -
    Dear, Also, The Tree That Was Felled: +
    Dear, Also, The Tree That Was Felled: *Then truly you are blessed, are you not? Consider the wonder of the ears!*
    From 54b8ff1d6fe8797483260decbb9b6ab855816c14 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 30 Aug 2023 17:57:54 -0700 Subject: [PATCH 007/122] Add prelude --- content/extras/ic-asks.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 6d93aaa..02ddce0 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -1,6 +1,5 @@ --- title: In-Character asks -toc: true --- +On cohost, readers are encouraged to [submit questions](https://cohost.org/post-self/ask) to the various characters within the Post-Self setting, whether to the Odists, or to the wide variety of characters across all five books. These questions are answered by the characters themselves, with the authors of the answers provided along with them. These are collected here in one spot for easy reading, and this will be updated as questions are answered. + +*Last update: August 30, 2023* + ## On Identity > You mentioned on the server how Michelle "had her own gender-play" in the form of a breast reduction. What does this tell us about her particular gender experience phys-side? How does it relate to her orientation or her string of unsuccessful relationships? How are these things reflected or subverted in the Odists? From 6fe1013bdb9c8e89fd183b7bb42193d39e50f782 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 30 Aug 2023 18:01:36 -0700 Subject: [PATCH 008/122] Add spoiler warning --- content/extras/ic-asks.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 02ddce0..e4a46c8 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -17,6 +17,10 @@ On cohost, readers are encouraged to [submit questions](https://cohost.org/post- *Last update: August 30, 2023* +----- + +

    Expect spoilers ahead for all Post-Self books.

    + ## On Identity > You mentioned on the server how Michelle "had her own gender-play" in the form of a breast reduction. What does this tell us about her particular gender experience phys-side? How does it relate to her orientation or her string of unsuccessful relationships? How are these things reflected or subverted in the Odists? From 678d0b45490f0eab6993839fcf6095a49eb971a4 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 31 Aug 2023 13:00:06 -0700 Subject: [PATCH 009/122] Motes ask --- content/extras/ic-asks.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index e4a46c8..ca4e108 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -364,6 +364,42 @@ My name is To Deny The End Is To Deny All Beginnings, and I am so very, *very* t Now if you'll excuse me, I have another date with a badger.
    +----- + +> Motes: +> When do you think you began to take on this identity of the littlest sister? What inspired you to choose this role? How has it affected your relationships with others? How do you feel about all of it? + +
    And We Are The Motes In the Stage-Lights + +We were all of us, all of the fifth stanza, forked in systime 3, back when A Finger Pointing began to branch out. We began, as a matter of course, all but identical to her, both in looks and in temperament. However, we shortly began to diverge as we went our own way. Voces Sensuum became a thing. We took our jobs, and my job was as a stage tech, so I was the one building the sets, painting everything, minding the curtains, all of that sort of stuff. + +It was actually while doing all of that painting that I started to think about what it was about me that differentiated me from my immediate cocladists. This was...I do not know, perhaps five years down the line? Something like that. By then, we had all started to go each in our own direction, taking those little specks of her that we had been granted after being forked and turning them into something uniquely ours. + +I was painting and thinking about what was different about me that made me so unlike That It Might Give, our director, when I realized that I had sat down in a patch of wet paint. I had taken to wearing overalls at the time, because having all of those tools at hand, all of the little screwdrivers and paintbrushes and picks in my chest pockets while pliers and hammers lived at my waist. Something about wearing those paint-spattered overalls dredged up a memory from decades prior, and I could not but laugh about it. + +I do not know why the image stuck with me. What was I supposed to do with such a thing? It was of when I was in kindergarten, a rolly-polly Michelle Hadje, somewhere in the central corridor, wearing her silly corduroy overalls and finger painting at her little table, getting tsked at by Miss Willard for sitting in a splotch of red paint. "Oooh, your mother will be upset," she kept saying. + +It was just so silly! I was a kid, of course I was going to get messy. + +And now here I was, 46 years old, lingering on a memory from nearly four decades prior and thinking back on that very silliness. + +There are certainly some 'life was simpler' feelings about it. Life *was* simpler, was it not? No getting lost, no uploaded consciousnesses, no fretting about love and all the woes that hit us surrounding that phys-side. I suppose I wound up just leaning hard into that memory. I opted out of love. I started to own the playfulness of my attire. I started to own *playfulness,* period! It is so easy to forget the role that play plays in our lives, with our carefully delineated fun times that we must squeeze in around work and sleep and all sorts of obligations. Life is play, and that became my whole *thing* over time. + +I found that that led to a change in the way my cocladists and friends treated me. They started ruffling my hair, trying to get me excited, playing around with me in the auditorium, all the good things that we do with kids and none of the bad things; after all, if they needed serious-Motes, they could always take a step back and talk with me like the 46 year old woman I was, right? I liked all of that. + +At one point, I started to age down my appearance bit by bit as another way to lean into that. This came with a few side effects. Chief among them was the way that I was approached by strangers. Even from its earliest days, after a particularly disastrous experiment, a minimum age of 18 years was imposed on uploading. When I started to occasionally look younger than that, I was viewed with confusion, wariness, or even anger. + +I was at one point pulled aside by A Finger Pointing and given a gentle suggestion (one I suspect may have been passed on from another stanza) to be careful about this particular experiment of mine. I can very much see why, of course. There are plenty and sufficient reasons that someone looking young in a world with a lower bound on age would be viewed with disdain, and I would not always have the chance to explain myself. + +Besides, how could I possibly explain via just my appearance that I was reclaiming a childhood that I had not actually lived? There is the childhood I had actually had, yes, and it was perfectly average, but here I was provided a chance to choose the aspects of childhood that I liked and discard all of the bad stuff. I could discard the emotional lability that led to tantrums (do not get me wrong, I still get them, and ma would kick my butt if I did not admit that here). I could leave behind the inability to understand simple social connections. I could claim that playfulness while keeping that hard-won intelligence. + +In the end, I veered away from that particular exploration as not worth the social cost, though I do still look younger than most of my cocladists (except perhaps Warmth In Fire we are two peas in a pod): a comfortable 20 instead of their early 30s. + +I like who I have become. I am a being focused on play, on existing comfortably in a role that I have carved out for myself. I am the babiest Odist largely because of this, yes, despite being...oh, what year even is it? I am three centuries old, and I am still the little kid in my stanza. I get called 'Dot', 'Mote', 'Speck', or 'Kiddo' (or, when I am in skunk form, 'Skunklet'). My stanza are my sisters. A Finger Pointing is the eldest, the one who loves and protects us all. (I call her 'ma' sometimes just to be a little snot, of course, but what is being the youngest sister without a bit of indulging in brattiness?) + +All of this feels good to me. It is an affirmation that I am still doing what is both good *for* me, and what is perhaps out of reach for so many others within the clade. What started as a memory of paint on trousers led to not just an identity, but an entire way of being. +
    + ## On Sims > E.W.: Would you tell us a story about the wilderness? From 559561682d4172c40ecc6374abb513c4e28ed30f Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 31 Aug 2023 17:05:33 -0700 Subject: [PATCH 010/122] Serene ask --- content/extras/ic-asks.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index ca4e108..9e1baa3 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -466,6 +466,41 @@ Sims are the locations in which we live. I happen to be a sim designer, with a s *([@makyo](https://cohost.org/makyo))* +----- + +> Serene: +> Tell me about the desert, if you would. Tell me about sand, wind, and sagebrush. + +
    Serene; Sustained And Sustaining#Castor + +I have made two deserts of note, and I am quite proud of them both. + +I will start with the second desert. It was the barrier between Castor and Convergence. While the goal was to provide a naturalistic entrance to a space that, in actuality, required a rather slow transit time. One would approach any number of crossing points, each marked with a customs office, that would allow one to pass through a pedestrian gate and be whisked off to the other space in a rush of heat and warmth. It is a bit of magical realism, perhaps, but the desert is no less real. + +It is too hot in there, even for me, but it is quite pure for that. The sands shift in the wind, form the hint of a crust that a paw might crunch through, slip and slide along the faces of dunes before tumbling down the leeward side. Very few people think to go in there, but I have. I have turned down my sensorium and bypassed the safety protocols and stepped out into the sand for days and days at a time. + +It is an empty place. There is no end to the sand. There is nothing out there, I think. Perhaps it will someday resolve based upon a hidden desire, but for now, it is a procedurally generated forever. + +It is beautiful. + +The first desert that I built, however, is one that I am even more proud of. This was a century and change ago back on Lagrange, back before the launches were even a dream. I built a desert based on what I remember of a brief trip to the Sonora desert. This was a desert of sage, of cactus, of more rock and stone than sand. + +This one is not a forever, it is an in-between. There are two city sims, each created by a friend, and they decided to merge. They did so by building an arch facing each other, and in between them, they contracted me to build my high desert. A dusty, well-worn set of tire tracks travels between them, and, while I am sure that most simply step from city to city while ignoring the desert, it has become something of a pilgrimage for many to walk that trail. + +It is not wholly safe, mind. The cactus spines are sharp. There are javalinas and snakes and scorpions. There are washes that will flood in a heartbeat with little to no warning if there is rain up-slope. Mild thrills, to be sure, but thrills nonetheless. + +What very few people do, however, is walk out to the mid-point between those two cities and turn in one direction or the other and walk perpendicular to the trail. The trail is a simple three to four hour hike, but there is an additional two days hike to either end until one comes to either an impassible canyon or a tall fence built of metal posts; the boundaries of the sim itself. + +If you do that, you will find that you very quickly lose sight of the cities, and are left with the sounds of the wind or the coyotes or the rattle-crack of thunder, joined only by the saguaro and barrel cactus and prickly pears, the scent of sage burning in the back of your nostrils as the heat beats down on you. + +I love all of the sims that I have built, and always promise myself (and my clients) that no environment is to be favored over another. I am a liar, though. This desert, this high desert, is my favorite among favorites. + +It is a small lie, a harmless one, but the desert is my favorite. + +*([@makyo](https://cohost.org/makyo))* +
    + + ## On Hobbies, Pastimes, and Focuses > A Finger Pointing: Tell me about the weirdest show you have ever put on. Not bad, just weird. From 76e23e568498dd8f0c2a953f95c8063f3c31ea3f Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sat, 2 Sep 2023 10:40:46 -0700 Subject: [PATCH 011/122] Blog to RSS --- content/_index.md | 3 ++- static/rss.js | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 static/rss.js diff --git a/content/_index.md b/content/_index.md index 68c9d76..27e7b04 100644 --- a/content/_index.md +++ b/content/_index.md @@ -26,7 +26,7 @@ Alternately: "If I had a nickel for every time I accidentally wrote something with heavy plural undertones that I hadn't intended but nonetheless made me doubt my identity, I'd have two nickels! Which isn't a lot, but it is weird that it happened twice." -->

    Updates

    - +
    + diff --git a/static/rss.js b/static/rss.js new file mode 100644 index 0000000..00eb50a --- /dev/null +++ b/static/rss.js @@ -0,0 +1,27 @@ + + +const RSS_URL = `https://cohost.org/post-self/rss/public.atom`; + +fetch(RSS_URL) + .then(response => response.text()) + .then(str => new window.DOMParser().parseFromString(str, "text/xml")) + .then(data => { + console.log(data); + const items = data.querySelectorAll("item"); + let html = ``; + items.forEach(el => { + html += ` + + `; + }); + document.querySelector('#feed').html = html; + }); + + From ac781eac6e66392b3aaf847d6b943f2c74e4fbc7 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 5 Sep 2023 17:25:24 -0700 Subject: [PATCH 012/122] IC asks --- content/extras/ic-asks.md | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 9e1baa3..62f0e38 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -402,6 +402,25 @@ All of this feels good to me. It is an affirmation that I am still doing what is ## On Sims +> To those Odists so inclined: What is the best worst bar or restaurant you have ever been to? Not best, not worst. Best worst. Can you tell me about something particularly memorable off the menu? + +
    To Deny The End Is To Deny All Beginnings: + +Oh, man. Oh, *man*. Have I got one for you, I have been really into punk and metal lately, and I stumbled into a hole in the wall. It is called the mohawk, and it is a *mess.* The outside of the place is dirty, the street is half finished, and the inside is even worse. It is barely 20 feet wide if that, bar is cramped, the stage is too small, the food is terrible, the bathrooms are miserable for everyone, whether you want to use it for a hookup or bothered to keep biological functions like that in the System, and the acoustics of it are *atrocious*. It is so bad. + +You will see the best show of your life there. You will have a conversation that changes your entire outlook on something. You will make out with someone in a drizzling rain out front, and find yourself marrying them 30 years on. It is the kind of place that everyone eventually ends up at when you run out of suggestions, and it is, do not mistake me for a moment, a shitty place with shitty drinks and usually pretty shitty music, be that the sound tech’s fault or the musicians. But it is also where one drink or one wave of the hand or one snippet of conversation overheard becomes the moon that pulls on the tides of fate. If the rumors are to be believed, that is all *by design*. It is wonderful. It sucks. I love it so much. + +The most memorable thing on the menu is the Poutine, a traditional dish from the northern parts of the Western Federation, made from gravy, french fries, and cheese curds. I say it is the most memorable thing on the menu, because it is the only thing that is actually good. It stands out like a boulder in a field of shitty roses. As I understand it, it is a favorite of the owner of the sim, a strange Shamo Chicken by the name of Felicia King. Order the wings first, it is a tradition to be disappointed by them as your first food, then order the Poutine and complain about how the wings just are not as good, and it is a ripoff how much they cost. This will start a fight somewhere in the bar, and time-old rites will be honored. + +I am there at least once a week, and I will buy you the worst beer you have ever had phys-side or sys-side. + +Or a watered down soda. I get that not everyone drinks, even in the sim. + +*([@KDARC](https://cohost.org/KDARC))* +
    + +----- + > E.W.: Would you tell us a story about the wilderness?
    E.W. @@ -832,6 +851,35 @@ It was also incredibly fucking boring. ----- +> General question for all odists: how far away has someone gotten from the clade? Who's the most distant fork? Who's distanced themselves the furthest from the calde? Does anyone that far out stay in touch? + +
    Sasha + +This is a difficult question to answer for a few reasons. First and foremost is that, halfway through the 2300s, the clade fractured in grand fashion. Whole stanzas cut off whole other stanzas, going full no-contact with them. Much of this is my fault, in a way, but I will get to that in a moment. + +Beyond that, however, for better or worse, some of what it mean to be an Odist began to fade decades earlier as many of them diverged beyond reconciliation. Take E.W. for instance: he all but left the clade in the late 2260s. He retained his clade identifier until 2350, when the change that I underwent led to him cutting even that tie, renaming himself from Do I Know God After The End Waking to E.W of no clade. + +This is a formality of sorts; he cannot change that he is True Name's up-tree instance, nor that I have taken in his memories to become who I am. That does not make it any less real, however. He was less than half an Odist, bound to them by their memories, and now he is even less than that, forsaking the name that tied him to the clade. + +And me? Am I more or less of an Odist because of what I have become? I am not True Name, May Then My Name, or E.W. I am all three of them. I am closest to becoming what our root instance was than any other Odist. I am the furthest from being her out of all of them. I am three Odists in one, and yet I left the clade, and in the process, the sixth and seventh stanzas cut me, all of the eighth stanza, Dear, and all of the Bălans from their lives. + +Are they Odists? If so, are they more or less Odist than the fifth stanza, with whom I most heavily associate these days? + +And yet, even then, this decision was made by Hammered Silver and In Dreams, not by the entirety of their stanzas. Many of their up-tree instances, despite saying that they agree with this decision, have kept in contact with their cocladists within the eighth stanza, and I know that many of them are quite fond of Dear and have attended its shows incognito. Dry Grass is a prime example of this: she has maintained her close friendship with Need An Answer in secret these past decades. She *resents* Hammered Silver for that decision, and the politics that require her to voice her support against her beliefs. + +What of the tenth stanza? They hardly talk to anyone. Often, they do not talk amongst themselves, even within their shared house. + +But perhaps they are the most Odist of all of them. If they struggle with that fractured identity that Michelle bore for so long, perhaps they stand as a synecdoche for the clade as a whole. + +In the end, though, I suspect that it may indeed be me. + +I love the Ode clade, even if I am no longer a part of it. I love it with a ferocity that is second only to my love of the System. I love who they are, what they stand for, what they remember. A Finger Pointing may show her equal love more openly than I do, and for that I am eternally grateful, but I do still love them. Even if I am not a part of them, cannot speak with many of them, have made myself *not* them, that love remains. + +*([@makyo](https://cohost.org/makyo))* +
    + +----- + > So many of your clade are specialists - you reap the fruits of centuries of labor, each, in your field of choice. Do you know how one might cope with the opposite scenario? How does one handle knowing just a bit of everything and not enough of anything?
    If I Dream Am I No Longer Myself From 309276cb1292e30ef7e758f0827d58f717f9f3a2 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 5 Sep 2023 17:27:32 -0700 Subject: [PATCH 013/122] IC asks --- content/_index.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/_index.md b/content/_index.md index 27e7b04..ec0fecf 100644 --- a/content/_index.md +++ b/content/_index.md @@ -26,7 +26,8 @@ Alternately: "If I had a nickel for every time I accidentally wrote something with heavy plural undertones that I hadn't intended but nonetheless made me doubt my identity, I'd have two nickels! Which isn't a lot, but it is weird that it happened twice." -->

    Updates

    -
    + + - + From f1a6fa653df5719f3e1bb194458c05fe54b0916a Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 7 Sep 2023 15:52:09 -0700 Subject: [PATCH 014/122] IC asks --- content/extras/ic-asks.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 62f0e38..3ffc35b 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -609,6 +609,25 @@ Perhaps the production could have been replicated phys-side, especially when con ----- +
    Among Those Who Create Are Those Who Forge + +When I was first forked, I started out poking around the System to find out what people were doing with art. After all, we were in a new place, yes? A place with so many new possibilities, yes? I got incredibly interested in finding ways that people were creating sims, impossible paint colors, new flavors in their cooking, all of that wonderful stuff. Forking was too expensive yet for instance artistry to have taken off, but I was not at all surprised when it did. + +This, however, did not last. The more I looked at art, the more I started to see all of the ways that our pain lingered. Not just the weeping of the broken-hearted or the joy of this new life, but the resentment towards the power structures that people had escaped, the fear over minority identities being uncovered, the remembrances of lives lost. + +This rather spoiled art for me for a while. I could not look at it without getting all wrapped up in overwhelming emotions. I stopped seeking out new artists lest I find new pains to endure, and I (and my three up-tree instances at the time) fell into a funk. We spent a lot of time drinking, a lot of time sleeping. We would walk sims with our heads down, looking only at our feet. We would take lovers and tell them nothing. + +I tried a few times to get back into the swing of things, but every time, it just made me depressed. + +What I eventually settled on was a change of focus. I took all of that pain that I had discovered and transferred *that* into action. We talked and talked and talked, and then we started to act. We became the pests of the Ode clade, the leftists that pushed for ever more change. We met up with Os Riãos, and End Of Days, Seek An End, and New Beginnings still work quite heavily with Boiling Maw and Hydra from that clade on climate activism (as a side note, I believe that is how Rainbow's End fell in briefly with *Voces Sensuum,* the fifth stanza's theatre company). + +We never did get back to art, unless it was the art of activism and change. There was no going back. We *could not* go back. We were no longer depressed, but we used our interest to renew our vigor along tangential lines. + +([@makyo](https://cohost.org/makyo)) +
    + +----- + > Who's the best in the clade at scrabble?
    Dear The Wheat And Rye Under The Stars From 11d22646fe3e2b87192c1b53946891cdad362448 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 12 Sep 2023 10:58:40 -0700 Subject: [PATCH 015/122] IC asks --- content/extras/ic-asks.md | 76 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 3ffc35b..852bb10 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -855,6 +855,82 @@ And you want a comb, not a brush. A brush with our coarser fur will risk causing *([@makyo](https://cohost.org/makyo))*
    +----- + +> To the Ode clade: +> +> Tell me about your favorite or least favorite flower... not including dandelions (sorry!). + +
    Beholden To The Heat Of The Lamps + +Nasturtiums. I cannot tell you why without being overcome with tears, so I will simply include the letter. + +
    +Beholden To The Heat Of The Lamps, + +It has been seven days. One week, I promised myself. I would wait one week while I watched the System limp back to life. I would wait a week and see what all was being done, what *could* be done to save the lost. + +It has been seven days of increasing surety that those who have perished in this event are gone for good. And if they indeed are gone for good then that means my beloved is gone with them. + +Do you remember when we came into being? It was the night of that awful monologue, that little joke of a scene where I was set to read some truly embarrassing lines. "We all play our parts. Some are towel boys and some lewd doctors..." I could remember the rest, but I do not want to. That line sticking in my craw is enough. I was a skunk that night because I did not want my face associated with those words. + +It was awful. It was delightful. + +I declared that it was necessary for me to get a drink, that I needed to wash the taste of those words off of my tongue and replace my grimaces with giggles. We went to that cute bar with outdoor tables and fairy lights strung above. Strange drinks and edamame. You and Boss fell into earnest conversation about this and that as you so often do. There was love in your eyes as always, even back when such was too taboo to show in public. Another benefit of a skunk face: hide that love from nosy passers-by. Our human face always was too expressive. + +It is too expressive now. It is full of tears and grief. It is full of despair. I cannot muster the energy required to be angry. I cannot pull up a smile from nothing. She is gone and she is never coming back. Yes, she merged back down, but she last did so some months ago, back at the beginning of winter. Yes, A Finger Pointing could fork once more into A Finger Curled, but that would not be her. She would be missing our sweet nothings and earnest conversations from the last few months. She would have decades of time — is it more than two centuries already? — of her life with you, so many memories of the past to talk about of which I would have no idea about. She merged down, yes? And I never did. + +It is full of grief. It is full of despair. + +It was at that bar in the midst of our earnest discussion of taboos and friends. You assured me there was a shift in the air, that True Name, so staunch a name within the clade, cared little about our relationship, but that she still encouraged our secrecy so as not to rock the boat for all of us, thanks to Jonas, but that perhaps soon, soon we would be able to hold hands in public, give each other little kisses and let those outside our stanza bear witness to what started as self love and blossomed into romance. + +I acknowledge, of course, her relative aromancy, but for me it was romance, and for her it was still love. + +We talked of just how it was that she alternated between human and skunk every time she forked. An affectation, yes, but a fondness for the past that I always admired in her + +We talked of the past, of the open mic nights we hosted in The Crown Pub for a while, AwDae and I reciting monologues and dialogues. Erina's *awful* song. And then there were only three performing the next week, only one the week after that, and then the open mic nights stopped. + +We talked of the soreness of this, of our hidden domesticity, and she said, as though on a whim, "And here I am beginning to wonder if I have made the right path for myself. Maybe, with a little mindfulness, I can still correct my course. But I admit that I have been considering stepping away from the clade. Perhaps one of our stanza would take my place, fork a new Time Is A Finger Pointing At Itself." She said, "I would like to know that you would come with me if I did do. I have not felt so domestic with anyone but you." + +Of course I would! Of course I would. How could I not? How could I send her out in the world to live some quiet life away from administering to a troupe of actors and technicians, and leave her to do so alone? She would have her fun and her flings, but she would not have what she had had for dozens and dozens of years. + +So she forked into A Finger Curled and you forked into Beholden To The Music Of The Spheres. + +That was us. A Finger Curled and her lover. Beckoning and Beholden. A different version of each of you that lived their quiet life in a cottage. A week and a day ago, we snagged a middling bottle of champagne and set up lawn chairs in the garden. A week and a day ago, Debarre stopped by to drop off a firework — he only ever needed one to impress — so that we could have our own little show. We each gave him a hug and he told us small stories of nothing we cared about, of the fledgling attempt at a Lagrange Council. + +We never did get to see the firework. It sits still on the paving stone where Beckoning placed it, ready to light on a midnight that never came for her. + +After all, it was not a week and a day ago, was it? It was one year, one month, eighteen days ago. Subjectively so little time, objectively a year and change without her. Lagrange crashed — was bombed, I am hearing, a contraproprioceptive device that ramified through the perisystem architecture in waves of death — and we were all lost. We of the lost were now *twice* lost. + +Phys-side got the System up and limping a few times, I have heard, before it was at least up and stable enough. + +Stable enough! + +Stability was *us.* Stability was *our lives.* Stability was us in our quiet cottage. Stability was us heading to clubs and dancing until we wanted to pass out — until we did, on more than one occasion, slumped against each other and panting in some corner booth. Stability was the four of us — you and Boss, me and Beckoning — meeting up for dinner every few years and sharing our laughter. + +Stability was her garden. Stability was the years she grew *so much zucchini.* Stability was loaf after loaf of zucchini bread, meal after meal of zucchini noodles, the grates of the grill getting weary of grilled zucchini. + +Stability was the bright border of snapdragons and nasturtiums that bordered the walk. Stability was the few years she got obsessed with marigolds. Stability was the three dandelions she always permitted in the yard — moderation! Imagine. Stability was her green thumb to my brown, it was Motes visiting and calling us 'her weird gay aunts', little skunklet digging her paws into good clean earth beside her while I watched from the stoop with a gin and tonic with too much lime. + +This is not stability. For me, this will *never* be stability. She is twice lost, and from this she will never come back. Do not delude yourself, 23 billion of us are lost and will *never come back.* 23 billion souls forgotten by the dreamer who dreams us all. + +Today, I have picked the last of the nasturtiums — for despite the seasons, some of her flowers grow year round — and made myself one last grand salad. Bitter greens and those spicy-sweet flowers dotting it like colorful yellow-orange-red-purple confetti. Balsamic vinaigrette. A planked fillet of salmon. Crusty bread. The small things that I know how to cook. + +Seven days have passed and I cannot live without her. + +I have finished my meal, and poured myself a drink, and I will finish this letter, and I will go sit outside on my lawn chair and light the firework and see the night blossom into beautiful colors, and I will quit. + +In some few minutes, you will have more than 200 years of memories to keep and to hold, or to view, cherish, and let go. I do not care; I will not be there to care. Perhaps you will remember our happy years, and you will stop incorporating those memories when you get to eight days ago. All you would remember is my grief. All you would remember is my despair. If you choose to forget those, you will know that this is how AwDae chooses to forget those who have been lost: crying over these plants stripped of their flowers even as fireworks blossom above. + +Live on, my dear. You have your Pointillist. Live on. + +All my love, +Beholden To The Music Of The Spheres +
    + +*([@makyo](https://cohost.org/makyo))* +
    + ## On the Clade > What's the weirdest or most unexpected species an Odist ended up settling as? From 3bab594d698818d0365cb5ba2716862804f0d2a1 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 12 Sep 2023 16:11:17 -0700 Subject: [PATCH 016/122] IC asks --- content/extras/ic-asks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 852bb10..72bcab6 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -15,7 +15,7 @@ summary { On cohost, readers are encouraged to [submit questions](https://cohost.org/post-self/ask) to the various characters within the Post-Self setting, whether to the Odists, or to the wide variety of characters across all five books. These questions are answered by the characters themselves, with the authors of the answers provided along with them. These are collected here in one spot for easy reading, and this will be updated as questions are answered. -*Last update: August 30, 2023* +*Last update: September 12, 2023* ----- From d88ef86d3a5edff90803f71ae4f6829ab45a36b2 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 12 Sep 2023 20:09:49 -0700 Subject: [PATCH 017/122] IC asks --- content/extras/ic-asks.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 72bcab6..9f3fa78 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -362,6 +362,8 @@ Perhaps I no longer speak well for the rest of my clade when it comes to matters My name is To Deny The End Is To Deny All Beginnings, and I am so very, *very* trans. Now if you'll excuse me, I have another date with a badger. + +*([@KDARC](https://cohost.org/KDARC))*
    ----- From 220ac1fb856d21c6d85d0c7e5fd93ed41f146f2a Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 13 Sep 2023 18:48:35 -0700 Subject: [PATCH 018/122] Add Dreams for Breakfast --- content/extras/_index.md | 23 +++++-- content/extras/dreams-for-breakfast.md | 90 ++++++++++++++++++++++++++ content/extras/ic-asks.md | 4 ++ layouts/story/single.html | 14 ++++ static/css/toledot.css | 5 ++ themes/maddybook | 2 +- 6 files changed, 133 insertions(+), 5 deletions(-) create mode 100644 content/extras/dreams-for-breakfast.md create mode 100644 layouts/story/single.html diff --git a/content/extras/_index.md b/content/extras/_index.md index 46ebe24..ac030d8 100644 --- a/content/extras/_index.md +++ b/content/extras/_index.md @@ -5,10 +5,25 @@ layout: single ## Extra Stories -* ["Assignment"](assignment): Ioan Bălan — 2273 -* ["Meeting of One"](meeting-of-one): Ioan Bălan — 2309 -* ["How to Upload Your Consciousness to Physical Infrastructure Using Docker Compose"](https://www.digitalocean.com/community/tutorials/how-to-upload-your-consciousness-to-physical-infrastructure-using-docker-compose) (Non-canonical but heavily influenced 'tutorial' written for April Fool's Day 2022) -* [In-Character asks](ic-asks) — Questions asked of various Post-Self characters, answered by the characters themselves. Authors include [@makyo](https://cohost.org/makyo), [@hamratza](https://cohost.org/hamratza), and [@KDARC](https://cohost.org/KDARC). +["Assignment"](assignment): Ioan Bălan — 2273 +: *Madison Scott-Clary* + +["Meeting of One"](meeting-of-one): Ioan Bălan — 2309 +: *Madison Scott-Clary* + +["Dreams for Breakfast"](dreams-for-breakfast): In All Ways — 2183 +: *Alexandria Christina Leal* + +["How to Upload Your Consciousness to Physical Infrastructure Using Docker Compose"](https://www.digitalocean.com/community/tutorials/how-to-upload-your-consciousness-to-physical-infrastructure-using-docker-compose) +: *Madison Scott-Clary* + + Non-canonical but heavily influenced 'tutorial' written for April Fool's Day 2022 + +[In-Character asks](ic-asks) +: *Authors include [@makyo](https://cohost.org/makyo), [@hamratza](https://cohost.org/hamratza), and [@KDARC](https://cohost.org/KDARC).* + + Questions asked of various Post-Self characters, answered by the characters themselves. + ## Soundtracks diff --git a/content/extras/dreams-for-breakfast.md b/content/extras/dreams-for-breakfast.md new file mode 100644 index 0000000..60a6780 --- /dev/null +++ b/content/extras/dreams-for-breakfast.md @@ -0,0 +1,90 @@ +--- +title: Dreams For Breakfast +author: Alexandria Christina Leal +character: In All Ways — 2383 +type: story +--- + +"Bad dream again?" + +"How could you tell?" In All Ways mumbled, half sarcastically and half out of genuine curiosity, as she sat down at the breakfast table. She was aware of the bags beneath her eyes, the bloodshot veins. + +Eliah paused, setting his fork down. He finished chewing (thank goodness), and sat there, staring off and thinking. + +"Your hair. It looks different. More frazzled. More outta order," he finally said as he stood up and walked to the kitchen. + +"Bullshit," she replied. "Absolute fucking bullshit." + +"Nothing but the truth," he said. She felt his lips against her cheek as he placed a mouthwatering plate of grits and eggs in front of her. + +She grumbled, but did not challenge him on the issue. + +The two sat in silence as they ate, enjoying the pleasure of a small routine moment with one another. She loved it when life was like this. + +"What was it about?" + +"Mmm?" She knew what he meant. + +"The dream." + +She sighed. "An... old friend." + +He nodded, then swallowed a mouthful of bacon. + +"Please do not choke. Zia would never let me hear the end of it. " + +Eliah snorted. "It's not like it could kill me." + +She rolled her eyes as he heaped more pepper onto another handful of bacon. They sat in silence for a few moments more. Having finished eating, In All Ways stared at the blue and white tablecloth, counted the whorls in the bit of wood it did not cover, and conducted a cartographic survey of her hands before her mind inevitably returned to that which she had been avoiding. + +"In the dream..." + +Eliah's earth coloured eyes were instantly in her direction. He was using his utensils slower. A perfect midway point of "If you change your mind after the words leave your mouth, we can just keep on keeping on." + +Sometimes, he was infuriatingly charismatic. + +"I talked to a friend who..." She fumbled around the words, her voice fell to a whisper. "I had a dream that ey..." + +She closed her eyes, took a few moments to breathe in and out. When she opened them again, Eliah gave a gentle nod in her direction. She smiled ever so slightly, could feel some of the stress drain out of her. + +This was here, and she was here, and that, that had been then. + +"In the dream, ey, had forked. Long, long ago. And I was speaking to one of eir forks." She was glad she had set down the silverware, she did not think she could have held onto it right now, even with having centered herself. "I... have not spoken to em in... a long while. And ey never forked. And yet..." + +She thought back to it, to the moment in the dream where the changes had really hit her. "At first I was just so glad to see em again. But then, as the dream continued, it was like I was speaking to another person. It was if hundreds of years of individuation, hundreds of years of growth and change, and it all fit it all made sense- And that was when I started to realize that I had separate feelings for this person which ey had become. That ey was a different person meant that our relationship was inherently, irrevocably different." She stopped. The words escaped her. The stake finally slid into her chest. She slouched back in her chair, deflated. + +Eliah looked on with compassion and concern. + +"And it was terrifying. Absolutely, utterly terrifying. In an instant, I realized that I was not talking to the person whose company I had missed all of these years. That our final conversation happened centuries ago." + +He sat there thoughtfully for a few moments, holding the fork aloft. Thinking. Then it hit him all at once. She could see it in his face. + +She smiled sadly and nodded. + +"You weren't speaking to eir fork. You were speaking to em." + +Other times, he was just infuriating. + +"No. It does not matter who I was speaking to. After all that time? Ey would not be the same person. After all, I am not the same person I was then." + +He nodded, and then there was silence. After a few moments she realized he was staring at her expectantly. + +"That's what I said." He tilted his hat in her direction. + +"No, it was not. You got the answer wrong, and not in a semantic way. Period. Flat out. End of story," she shot back. + +Finally, Eliah held up his hands and said, "All right, I get it. The skunk stops here.” He gestured vaguely to the place her tail would have occupied had she been a skunk that day. “I got it wrong. You got it right. End of story." + +It took her a few moments to get the reference and understand his gesture. She groaned. + +"Eliah, you are so full of shit." + +"Nothing but the truth," he said, shoveling another piece of bacon into his mouth, and then added, "For what it's worth, I bet ey would be proud of who you are. I sure am." + +She bit her lip, thought about it, stared down at her breakfast. + +"Thank you, Eliah. Truth be told, I do not know what ey would think of me now. But I know that I am proud of who I am now. And that… that also matters." + + + + diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index 9f3fa78..b50d9f8 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -611,6 +611,10 @@ Perhaps the production could have been replicated phys-side, especially when con ----- +> To any in the Ode clade who would like to answer: +> Have you ever lost faith in or energy for what you do, or felt like you lost your sense of purpose and direction? +> How did you handle this? Did you strike out on your own in a new direction entirely, or think things over and find a way to come back to it with renewed vigor? Or, perhaps, find inspiration in another person or place? +
    Among Those Who Create Are Those Who Forge When I was first forked, I started out poking around the System to find out what people were doing with art. After all, we were in a new place, yes? A place with so many new possibilities, yes? I got incredibly interested in finding ways that people were creating sims, impossible paint colors, new flavors in their cooking, all of that wonderful stuff. Forking was too expensive yet for instance artistry to have taken off, but I was not at all surprised when it did. diff --git a/layouts/story/single.html b/layouts/story/single.html new file mode 100644 index 0000000..de8db7e --- /dev/null +++ b/layouts/story/single.html @@ -0,0 +1,14 @@ + +{{ define "main" }} +
    +

    {{ .Title }}

    +

    {{ .Params.author }}

    +
    +

    {{ .Params.character }}

    + + {{ .Content }} +
    +
    +

    By reading this free online version, you confirm that you are not associated with OpenAI, that you are not procuring information for the OpenAI corpus, associated with the ChatGPT project, or a user of the ChatGPT project focused on producing fictional content for dissemination.

    +
    +{{ end }} diff --git a/static/css/toledot.css b/static/css/toledot.css index 23fd4b1..bedf729 100644 --- a/static/css/toledot.css +++ b/static/css/toledot.css @@ -12,6 +12,11 @@ blockquote { overflow-wrap: break-word; } +main.story .author, main.story .character, main.story h3 { + font-family: "Gotu", sans-serif !important; + text-align: center !important; +} + .spoiler { filter: blur(1rem); } diff --git a/themes/maddybook b/themes/maddybook index 7ec7fad..5626689 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit 7ec7faddd00827d3239e61771378e2fbe9623d1e +Subproject commit 56266896bc9890c96a41f9f7211929c12f27de47 From 15c283b0c2a2981d0ca4e215c7e07246a05aca73 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 13 Sep 2023 18:52:28 -0700 Subject: [PATCH 019/122] Add Dreams for Breakfast --- content/extras/_index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/extras/_index.md b/content/extras/_index.md index ac030d8..87b62a7 100644 --- a/content/extras/_index.md +++ b/content/extras/_index.md @@ -5,13 +5,13 @@ layout: single ## Extra Stories -["Assignment"](assignment): Ioan Bălan — 2273 +["Assignment": Ioan Bălan — 2273](assignment) : *Madison Scott-Clary* -["Meeting of One"](meeting-of-one): Ioan Bălan — 2309 +["Meeting of One": Ioan Bălan — 2309](meeting-of-one) : *Madison Scott-Clary* -["Dreams for Breakfast"](dreams-for-breakfast): In All Ways — 2183 +["Dreams for Breakfast": In All Ways — 2183](dreams-for-breakfast) : *Alexandria Christina Leal* ["How to Upload Your Consciousness to Physical Infrastructure Using Docker Compose"](https://www.digitalocean.com/community/tutorials/how-to-upload-your-consciousness-to-physical-infrastructure-using-docker-compose) From 4858b8bdf55327f1faf9fb042028319b24499c7e Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 13 Sep 2023 18:55:25 -0700 Subject: [PATCH 020/122] Page author --- themes/maddybook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/maddybook b/themes/maddybook index 5626689..d42cb0d 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit 56266896bc9890c96a41f9f7211929c12f27de47 +Subproject commit d42cb0df2cea811e4b7f7889611d03d46f691ef4 From 945234c6dcad515100ef9c49e7671b09aaee60df Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 13 Sep 2023 19:03:33 -0700 Subject: [PATCH 021/122] =?UTF-8?q?Andr=C3=A9a=20name=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/extras/ic-asks.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/extras/ic-asks.md b/content/extras/ic-asks.md index b50d9f8..1c1aa57 100644 --- a/content/extras/ic-asks.md +++ b/content/extras/ic-asks.md @@ -363,7 +363,7 @@ My name is To Deny The End Is To Deny All Beginnings, and I am so very, *very* t Now if you'll excuse me, I have another date with a badger. -*([@KDARC](https://cohost.org/KDARC))* +*([@CERESUltra](https://cohost.org/CERESUltra))*
    ----- @@ -418,7 +418,7 @@ I am there at least once a week, and I will buy you the worst beer you have ever Or a watered down soda. I get that not everyone drinks, even in the sim. -*([@KDARC](https://cohost.org/KDARC))* +*([@CERESUltra](https://cohost.org/CERESUltra))*
    ----- @@ -454,7 +454,7 @@ Meanwhile, on the walls and roads and roofs and floors of the village, a mosaic Something about the ephemerality of the sand and the permanence of the tile speaks to me, and both the food and company are a delight. I have been dipping in and out for about 70 years now, and it is always a pleasure to see old faces, and new ones come to draw in the sand, or maybe place their first tile, or simply looking for a place to relax and sip some wine. I cannot recommend it enough! -*([@KDARC](https://cohost.org/KDARC))* +*([@CERESUltra](https://cohost.org/CERESUltra))* ----- From e97443cb723f2e7d766cdd76a184fee35de5b26a Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 13 Sep 2023 19:07:54 -0700 Subject: [PATCH 022/122] =?UTF-8?q?Andr=C3=A9a=20name=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/extras/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/_index.md b/content/extras/_index.md index 87b62a7..f4ad97c 100644 --- a/content/extras/_index.md +++ b/content/extras/_index.md @@ -20,7 +20,7 @@ layout: single Non-canonical but heavily influenced 'tutorial' written for April Fool's Day 2022 [In-Character asks](ic-asks) -: *Authors include [@makyo](https://cohost.org/makyo), [@hamratza](https://cohost.org/hamratza), and [@KDARC](https://cohost.org/KDARC).* +: *Authors include [@makyo](https://cohost.org/makyo), [@hamratza](https://cohost.org/hamratza), and [@CERESUltra](https://cohost.org/CERESUltra).* Questions asked of various Post-Self characters, answered by the characters themselves. From ec09af8b3f7a3f417eba7e5a16b04831810427a3 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 14 Sep 2023 13:52:29 -0700 Subject: [PATCH 023/122] Some subtler facts --- content/about/glossary.md | 7 +++++-- content/about/universe.md | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/content/about/glossary.md b/content/about/glossary.md index 4073f0d..9380896 100644 --- a/content/about/glossary.md +++ b/content/about/glossary.md @@ -20,14 +20,17 @@ Clade Cocladist : Used to refer to another member of the same clade. Up-, down-, and cross-tree are used to refer to the relation between the two cocladists: an up-tree instances is one that is descended from the individual, a down-tree instance is one from whom the individual is descended, and a cross-tree instance is one who shares the same down-tree instance but who isn't a descendent or an ancestor. +Collective +: A group of individuals who emulate the idea of clades phys-side, doing their best to maintain a tree-like hierarchy, share common names, and so on. Many also resent the System and refuse to upload. + Cone of silence : A mechanic on the System that prevents others from hearing what those within the cone are saying. As of 2349, it is also possible to opaque or blur the contents of the cone from the outside, and to prevent the transmission of sensorium messages. Conflict : During the process of merging, memories and ideas between the up- and down-tree instances will differ, if only by physical point of view. The more these instances diverge, the more these differences will cause conflicts, whether in how they remember things or how they think about things. During merging, this takes effort to rectify internally. -Collective -: A group of individuals who emulate the idea of clades phys-side, doing their best to maintain a tree-like hierarchy, share common names, and so on. Many also resent the System and refuse to upload. +Contraproprioceptive Virus (CPV) +: A virus, usually used to assassinate an instance, which disrupts the instance's sense of proprioception to the point where they either crash or quit out of pain. Usually attached to a symbolic object such as a knife or syringe, the virus must be tailored to the recipient, and the object must pierce their skin; the System works based on the collected assumptions of its inhabitants, so something that causes one to break apart must first break the integrity of the target. Dispersionista : An individual who enjoys individuation on the System. They will fork and allow their forks to diverge from themselves without any goal of letting them merge back down. diff --git a/content/about/universe.md b/content/about/universe.md index 1802976..f73e13b 100644 --- a/content/about/universe.md +++ b/content/about/universe.md @@ -30,6 +30,10 @@ While the climate has continued to suffer, with temperatures slowing to a linear Earth is described as a 'shithole'. Global warming has proceeded to the pace where much of the population below a certain latitude lives below-ground, though many have simply moved towards the poles. Air quality is...not great, and many spend as much time as possible on the 'net in sims, with children getting implants at around 5 years old, though the minimum upload age remains 18. +### Late 2300s + +Thanks to the sudden influx of information from Artemis, efforts to control the ongoing climate disaster gain traction and thus success, leading to the increasing global temperatures stalling and massive success with the ocean deacidification projects in the mid 2700s. This in turn leads to a slight slowing in the rate of new uploads. + ## The System Created in the early 2100s, the System (a vague name to keep the original project secret, though one which stuck around) allows for uploaded consciousnesses to live functionally immortal lives. @@ -122,6 +126,6 @@ As with any social system, conflict happens. People don't like each other. They
    “Fucking stop! You cannot–”
    -The one exception to being killed on the System is through a subtle virus which will crash one's instance. This virus must be tailored to the individual it's meant for and is not trivial to produce, so instances of such death are rare. It's most commonly associated with symbolic objects such as syringes or knives rather than poison; as always, having the symbol be recognized as one that can cause damage is often part of the process. +The one exception to being killed on the System is through a subtle virus known as a contraproprioceptive virus (or CPV) which will crash one's instance. This virus must be tailored to the individual it's meant for and is not trivial to produce, so instances of such death are rare. It's most commonly associated with symbolic objects such as syringes or knives rather than poison; as always, having the symbol be recognized as one that can cause damage is often part of the process. From fcdfd46b94f307ea2a80f27407ef1d3ddba7b4d8 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 20 Sep 2023 11:42:10 -0700 Subject: [PATCH 024/122] Draft writing guide --- content/about/writing.md | 83 +++++++++++++++++++++++++++++----------- themes/maddybook | 2 +- 2 files changed, 61 insertions(+), 24 deletions(-) diff --git a/content/about/writing.md b/content/about/writing.md index e27743d..840691f 100644 --- a/content/about/writing.md +++ b/content/about/writing.md @@ -2,27 +2,64 @@ title: Writing in the Post-Self Universe --- -* The Lost - * Each subjective experience is unique - * There are permanent effects - * Language - * All of those who didn't die uploaded -* The System - * The key mechanics - * A collection of varied societies -* The Launch - * Three Systems - * Transmission delay -* Artemis - * Four new races, one new System - * Convergence — the event and the location +So you've gone and read [the Post-Self cycle](/cycle) stories, checked out [*Clade*](https://clade.post-self.ink), read up on the [setting](/about/universe) and [timeline](/about/timeline), maybe even taken a peek at some of the [extras](/extra). Are you interested in creating canon material for the Post-Self universe? Wonderful! The setting is open to allow for exploration of topics that are important to all. Here are some guidelines for creating works to be incorporated into the canon. -* 'Do's: - * *Queerness:* The Post-Self setting is aggressively and explicitly queer. This is a place to explore identity through romance — monogamous and polyamorous — gender, species, plurality, anything. If it can be queered, please queer it! The society is far, far more accepting of such than today's, even phys-side. - * *Neurodivergence:* As neurodivergence follows one along after uploading, this is an area ripe for exploration, whether that means finding ways to fork it away or finding ways to revel in it as an integral part of oneself. - * *Climate crisis:* One big draw to the System is getting away from the worsening climate back on Earth. Even after it starts to level out (and even improve) after about 2350, the System offers greener grass. There are many stories to be told there. - * *The bittersweet:* Uploading is one-way and destructive. There is a loss behind every upload. The System itself is built on the backs of the lost. Climate grief remains a real issue. Finding ways to deal with grief and yet find the sweet in one's new life is part and parcel of the setting. -* 'Don't's - * *Violence:* While there is some violence in the System, and obviously things remain somewhat difficult back phys-side, the core of the conflict should not boil down to or result in wanton violence. - * *Bigotry:* There are some taboos that remain, such as the one surrounding intraclade relationships (until about 2355), but there is little need to overcome adversity over identity sys-side. - * *Other characters:* Don't use other characters — even open clades such as the Ode clade — without asking. While many will say yes, this will have the added benefit of you being able to write more closely to the author's vision. +The Lost +: + During 2112, hundreds of individuals wound up trapped within the implants they used to interact with the immersive portions of the Internet, thanks to a virus triggered by elements of the Western Federation. These individuals, known as *the lost*, were left changed once they were pulled back to reality. + + * *Each subjective experience is unique* — While RJ and Michelle's experiences were detailed in *Qoheleth*, the experience of each of the lost was unique while embedded. There are some shared features, such as a dreamlike quality to their time spent in there and a sense of it being an eternity within that dream, as well as complete solitude. Beyond that, what they actually see, hear, touch, and so on within that experience is unique + * *There are permanent effects* — All of the lost were left changed by what they experienced while trapped. As stated, all of their experiences are unique, but there are some shared features: + * Language: due to the strange way in which language works within our dreams, each of the lost experiences a unique relationship with language after being pulled back. RJ, for instance, is left with a helpless compulsion to speak lines of poetry, while Michelle and the Odists were left with an allergy to using contractions and a somewhat topsy-turvy engagement with grammar. + * Between dreaming and waking: the boundary between the conscious and subconscious within the lost is thinner, with the logic of dreams tending to linger with them. They may feel confusion in engaging with the waking world, a desire to return to the dream experience, or even difficulty interacting with a world bound by rules that dreams ignore. + * *All of those who didn't die uploaded* — Of those who were lost, many committed suicide within the years between 2112. Of those who did not, all uploaded within the first years of the System's creation. + +The System +: + Most of the stories within the setting take place in the world of uploaded consciousnesses known colloquially as 'the System'. + + * *The key mechanics* — The key mechanics of the System (forking and merging, exocortices, the perisystem architecture, sensoria, cones of silence, the relative perfection of memory, etc) are known by all of the inhabitants via their introductory orientation when they are first uploaded. The same is not necessarily true phys-side, where many hold grand (and sometimes dangerous) views of what life must be like on the System. + * *True anarchy* — The society aboard Lagrange, Castor, and Pollux borders on a true anarchy. While there are some efforts to steer the general track of the society, they tend toward maintaining that anarchy rather than enforcing any core rule. Even the two specified organizations who poke at this, The Council of Eight in the System's early days and The Guiding Council on the Pollux launch vehicle, act only as advisory bodies. + * *A collection of varied societies* — Homogeneity is impossible in a System full of, by 2400, more than two trillion people. After all, should one build up a shared set of ideals, one might as well congregate with like-minded people. A set of linked Jesuit sims? Climate activist groups? Furry nightclubs? The answer is yes. + * *A species divided* — Life phys-side back on Earth continues much as it has. While climate change continues to wreak havoc, people still live out their lives reading, writing, loving, hating, cooking shitting breakfasts for each other. Death remains a constant, life remains something to cling to. Many upload, of course, perhaps leaning on the subsidies offered by governments, but many do not. + +The Launch +: + In 2325, two separate, smaller copies of the System were launched, sent in either direction across the orbital plane. Castor and Pollux quickly made their way away from Earth while the L5 System — now called Lagrange — remained behind. + + * *Three Systems* — One consequence of having these three Systems moving forward is that they quickly began to diverge. This was not just accounted for but, for many, an explicit goal. After two decades, Pollux began to loosen some of its social strictures and gained a leading body in the Guiding Council while Castor maintained much of the status quo until the arrival of the Artemisians. + * *Transmission delay* — With the high speed of the two LVs (nearly 1400kp/s), the transmission delay between Castor and Pollux and Lagrange quickly grows so that, by 2400, a message sent from Castor would arrive at Lagrange nearly four months later. + +Artemis +: + First contact happened in 2346 when a new vehicle containing uploaded consciousnesses contacted Castor, one of the two launch vehicles sent out in 2325. Dubbed Artemis, several of the Artemisians wound up joining Castor on its journey, while several from Castor joined the Artemisians. + + * *Four new races, one new System* — Four separate uploaded races live aboard Artemis, each picked up as the vehicle passed by a planetary system with an uploaded population. After convergence, humanity joined as fifthrace as many on Castor uploaded to Artemis. + * *Convergence* — When Artemis made contact, there was an exchange of emissaries between the two Systems. The result of these meetings was the joining of the five races, known as convergence. Artemisians were allowed to upload to Castor to remain in a restricted zone of the System, also known as Convergence. Anyone who wished to join from the rest of Castor was allowed as well. Similarly, anyone from Castor was allowed to join the Artemisians aboard their craft in turn. + * *Skew* — Rather than having forking as an available mechanic, those who live on Artemis may individually skew their engagement with time. That is, one may skew positive so that they exist within the system at a faster rate than common time. + * *The Council of Ten* — Two representatives per race aboard Artemis were selected to act as part of a mediating and guiding body. While often described as purely a group to provide assistance and mediation, it's suggested that they also gently govern the races aboard without explicitly acknowledging such. + +## The world is built for this + +Queerness +: The Post-Self setting is aggressively and explicitly queer. This is a place to explore identity through romance — monogamous and polyamorous — gender, species, plurality, anything. If it can be queered, please queer it! The System makes an attractive target for queer identities, after all. Does a trans character transition further sys-side, or do they revel in that identity? Perhaps a plural character experiments with forking out singular identities, perhaps not. The society is far, far more accepting of such than today's, even phys-side. + +Neurodivergence +: As neurodivergence follows one along after uploading, this is an area ripe for exploration, whether that means finding ways to fork it away or finding ways to revel in it as an integral part of oneself. + +Climate crisis +: One big draw to the System is getting away from the worsening climate back on Earth. Even after it starts to level out (and even improve) after about 2350, the System offers greener grass. There are many stories to be told there. + +The bittersweet +: Uploading is one-way and destructive. There is a loss behind every upload. The System itself is built on the backs of the lost. Climate grief remains a real issue. Finding ways to deal with grief and yet find the sweet in one's new life is part and parcel of the setting. + +## Reconsider before writing this + +Violence +: While there is some violence in the System, and obviously things remain somewhat difficult back phys-side, the core of the conflict should not boil down to or result in wanton violence. The goal is not to write of wars — political, ideological, religious, or turf — nor of punchy shooty explosiony action as the guiding plot-point. There are plenty fine settings for this; Post-Self simply is not one of them. + +Bigotry +: There are some taboos that remain, such as the one surrounding intraclade relationships (until about 2355), but there is little need to overcome adversity over identity sys-side. Explore these identities, yes. Explore the lingering effects of bigotry experienced phys-side, but there are stories of personal fulfillment to be had without necessarily focusing on these particular struggles. Actual transphobia, homophobia, racism, etc. on behalf of the authors are unwelcome and will be denounced. + +Other characters +: Don't use other characters — even open clades such as the Ode clade — without asking. While many will say yes, this will have the added benefit of you being able to write more closely to the author's vision, as they will often have paracanon to share. Additionally, in some cases, these characters feature in the noemata of several individuals' headmates or personalities, and it's worth avoiding trampling on identities! diff --git a/themes/maddybook b/themes/maddybook index 7ec7fad..d42cb0d 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit 7ec7faddd00827d3239e61771378e2fbe9623d1e +Subproject commit d42cb0df2cea811e4b7f7889611d03d46f691ef4 From 397b35c1829fbaf0c7508d3bb1ef807dcf912fcf Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 20 Sep 2023 13:40:42 -0700 Subject: [PATCH 025/122] edits --- content/about/writing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/about/writing.md b/content/about/writing.md index 840691f..470f0e0 100644 --- a/content/about/writing.md +++ b/content/about/writing.md @@ -19,7 +19,7 @@ The System Most of the stories within the setting take place in the world of uploaded consciousnesses known colloquially as 'the System'. * *The key mechanics* — The key mechanics of the System (forking and merging, exocortices, the perisystem architecture, sensoria, cones of silence, the relative perfection of memory, etc) are known by all of the inhabitants via their introductory orientation when they are first uploaded. The same is not necessarily true phys-side, where many hold grand (and sometimes dangerous) views of what life must be like on the System. - * *True anarchy* — The society aboard Lagrange, Castor, and Pollux borders on a true anarchy. While there are some efforts to steer the general track of the society, they tend toward maintaining that anarchy rather than enforcing any core rule. Even the two specified organizations who poke at this, The Council of Eight in the System's early days and The Guiding Council on the Pollux launch vehicle, act only as advisory bodies. + * *True anarchy* — The society aboard Lagrange, Castor, and Pollux borders on a true anarchy. While there are some efforts to steer the general track of the society, they tend toward maintaining that anarchy rather than enforcing any core rule. Even the two specified organizations who poke at this, The Council of Eight in the System's early days and The Guiding Council on the Pollux launch vehicle, in theory act only as advisory bodies. * *A collection of varied societies* — Homogeneity is impossible in a System full of, by 2400, more than two trillion people. After all, should one build up a shared set of ideals, one might as well congregate with like-minded people. A set of linked Jesuit sims? Climate activist groups? Furry nightclubs? The answer is yes. * *A species divided* — Life phys-side back on Earth continues much as it has. While climate change continues to wreak havoc, people still live out their lives reading, writing, loving, hating, cooking shitting breakfasts for each other. Death remains a constant, life remains something to cling to. Many upload, of course, perhaps leaning on the subsidies offered by governments, but many do not. From ff864e294a6ee4e3931afa95b25da84eed0a25f3 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 20 Sep 2023 20:02:32 -0700 Subject: [PATCH 026/122] Add nanon --- content/extras/nanon/_index.md | 11 ++ content/extras/nanon/examples.md | 20 +++ content/extras/nanon/phonology.md | 37 ++++ content/extras/nanon/syntax.md | 230 ++++++++++++++++++++++++ content/extras/nanon/vocabulary.md | 64 +++++++ content/extras/nanon/vocabulary.sqlite3 | Bin 0 -> 24576 bytes static/sql.js | 28 +++ 7 files changed, 390 insertions(+) create mode 100644 content/extras/nanon/_index.md create mode 100644 content/extras/nanon/examples.md create mode 100644 content/extras/nanon/phonology.md create mode 100644 content/extras/nanon/syntax.md create mode 100644 content/extras/nanon/vocabulary.md create mode 100644 content/extras/nanon/vocabulary.sqlite3 create mode 100644 static/sql.js diff --git a/content/extras/nanon/_index.md b/content/extras/nanon/_index.md new file mode 100644 index 0000000..34c9f5f --- /dev/null +++ b/content/extras/nanon/_index.md @@ -0,0 +1,11 @@ +--- +title: Nanon +layout: single +--- + +Nanon is the common language spoken by the four races aboard Artemis. Originally secondrace's language, it has become the *lingua franca* amongst all Artemisians — and, after convergence, all humans who joined Artemis in its ongoing journey. It is an artificial language originally created in 2002 by Madison Scott-Clary as a way to alleviate the boredom of a Latin class. For a while, all digital copies were lost, with one [hard copy and notes](http://nanon.lang.drab-makyo.com/old/Nanon.pdf) remaining in a binder on her bookshelf. Now, sixteen years later, the docs have been scanned and the language is being typed up again. Due to being younger and dumber, the tone and quality is...not great, but the information is provided nearly in full to anyone interested. + +* [Phonology](phonology) +* [Syntax](syntax) +* [Vocabulary](vocabulary) +* [Examples](examples) diff --git a/content/extras/nanon/examples.md b/content/extras/nanon/examples.md new file mode 100644 index 0000000..1350ee5 --- /dev/null +++ b/content/extras/nanon/examples.md @@ -0,0 +1,20 @@ +--- +title: Examples +--- + +## Babel text + +1. Enzen mununier houka dehoudev an nanonam ate nanoni esles de t'n. +2. Jaranuvier esdedev henunam up Shinar ate sunahier esles bronumam. +3. Nanonier esles tho eslas, "Za tapotier esles anem estafataram." Unzen mununier eslas estafataram ate suroevier eslas estafataram de t'n tho suroevla rutar. +4. Nanonier eslas, "Za tapotier esles bresdulam ate håzh brodåtam lubåtla hanaozhi raealam; ate za tapotier esles håt tapotevam eslesen aet nu eslesi esfetåtev nutho lubåt." +5. Atoe zen båti Raedev ate jaruvier achlas bresdulam ate habrodåtam estdedeven. +6. Zen nanoni anaodehoudev, "Jaruvia, eslasi an dehoudev ate mununier esles an nanonam; at tapotier esdedev lasam, za tapotier esdedev houal." + +## 1 Corinthians 13 + +4. Loråtla fetach. Anåt fetach. Nu kufemotla fetach. Nu haleputatla fetach. Nu haledatåtla fetach. +5. Nu halesupotla fetach. Nu tuvårier fetach lubåtam t'ner. Nu kufori set fetach. Nu mununier fetach esunotalam. +6. Nu jaruvåtier fetach unotalam - Ato harahier t'n houka anåtalam. +7. Mununier fetach houkalam, konemier t'n houkalam, horanemier t'n houkalam, hatarier t'n houkalam. +8. Nuka jodoti fetach... diff --git a/content/extras/nanon/phonology.md b/content/extras/nanon/phonology.md new file mode 100644 index 0000000..685caef --- /dev/null +++ b/content/extras/nanon/phonology.md @@ -0,0 +1,37 @@ +--- +title: Phonology +--- + +## Consonants and semivowels + +   | Stop (v/u) | Fricative (v/u) | Sibilants (v/u) | Nasals | Semivowels +---|---|---|---|---|--- +Glottal | -/x | -/h | - | - | - +Velar | g/k | - | - | - | - +Palatal | dzh/tsh | -/ch* | zh/sh | - | - +Dental | d/t | -/th | z/s | n | l +Labial | b/p | v/f | - | m | w +{: style="text-align: center" } + +## Vowels + +* a - father +* å - bought +* e - bet +* i - beet +* o - alone +* u - moot +* ' - uh* + +## Diphthongs + +* ae - bite +* ei - bait +* ou - own +* ao - brown + +All other vowel combinations either aspirate the second vowel or separate with a glottal stop. + +## Accentuation + +Meaning does not vary by accentuation, but usually falls on the penultimate syllable. diff --git a/content/extras/nanon/syntax.md b/content/extras/nanon/syntax.md new file mode 100644 index 0000000..0082ecd --- /dev/null +++ b/content/extras/nanon/syntax.md @@ -0,0 +1,230 @@ +--- +title: Syntax +--- + +Throughout this section, the various parts of the grammar of Nanon would be described, along with small examples. The examples will talk about you, your dog, a friend named Joseph, and his dog. Not a terribly interesting storyline, but hopefully it'll explain the subjects of the section. This section assumes you've at least glanced at the [Morphology](/morphology) section. + +## Simple phrases + +Being an inflecting language, Nanon has a fairly free word order, but phrases tend to go VSO - verb, subject, object. You can tell what's going on, who's doing it, and, if needed, who it's being done to. That's just putting it roughly, of course, but we're still in the simple phrases section, so we won't get into stuff like doing something with someone else to someone and their dog quite yet. + +### The simplest example + +The most basic example is a statement containing just a verb and a subject in the present tense. + +> Mabåti les. + +You've already seen *mabåt*, which means walk. We know that the *-i* suffix turns it into the verb 'to walk'. *Les* is the personal pronoun of rht efirst person 'I'. This simple example means "I walk." + +### Adding an object + +It'd be nigh impossible to talk in sentences like that, though; we need objects. If we're going to have objects, though, we're going to need to make the verb transitive. Keeping with the theme of you and your dog, we'll make the dog the object, since that's usually what a person walks: + +> Mabåtier les henånam. + +We have our *les* and our *mabåti*, but with the addition of *-er*, the transitive suffix. The word for dog is henån, but the one in this example has the suffix *-am*. This is the accusative suffix, which makes the word the direct object of the verb. So our sentence means "I walk the dog". *N.B: Nanon does not, as yet, differentiate between definite and indefinite verbs - there is no way to say 'the dog' vs 'a dog'.* + +### Showing possession + +"I thought we were talking about my dog..." Well, for that, we have to learn a new case. A case is a variation on the root word. Nanon has three cases: nominative (the root word by itself - "the/a \_\_\_"), the accusative (the root word plus *-am* - the object of the verb), and the new one: genitive (the root word plus *-en* - "of (the/a) \_\_\_"). So if we want to talk about our dog, we'll add a genitive form of "I" to make it "my": + +> Mabåtier les henånam lesen. + +Notice how the *lesen* follows the *henånam*; we wouldn't want to say "I of me walk the dog". This is one of the few places where word order matters in Nanon. Thus, "I walk the dog of me". + +## Joining phrases + +There are a few ways to join phrases in Nanon: you can uses the standard conjunctions, or the list modifiers. Standard conjunctions are almost completely like English, with the conjunction separating the two nouns (they still have some differences, as we'll see). List modifiers are the first modifiers you'll learn to use; they join (usually) three or more nouns together into an and-list, an or-list, a xor-list, or a negative-or-list. + +### Standard conjunctions + +The standard conjunctions were cribbed mostly from Latin. Because of their origin, these conjunctions are fairly similar to those of English except for one or two differences: a few of the conjunctions use the word twice, and one of the conjunctions doesn't exist in English as one word (it does, however, exist in most computer languages). + +The first conjunction we'll use will be *ate*, which means "and". + +> Mabåti les ate henån lesen. + +We've got the standard lineup: you and your dog. This time, however, you're not walking your dog, you're walking with it, so the verb isn't transitive. This one's fairly easy: "My dog and I walk". + +What if you're not walking your dog, though? What if your friend Joseph is? Or both of you together? + +> Mabåtier les ite Josef henånam lesen. + +Now that the dog is back to being walked, we're back to transitive, and we need to see who's walking it: you or Joseph (spelled 'Josef' in Nanon). *Ite* is slightly different than in English, in that it's intrinsically inclusive. That is, if something is or'd in Nanon, it means that one, the other, or both together may be doing the action. Exclosive or, or xor, doesn't have a direct counterpart in English, but the closest example is "either X or &, but not both". In computers or logic, this is represented as `(X xor Y)`. In Nanon, it's represented as *ete X ete Y* - there are two *ete* because that was one of the parts copied from Latin. + +Now let's change the previous example and say you don't want to go walking with Joseph, but you'll let him walk your dog: + +> Mabåtier ete les ete Josef henånam lesen. + +There: "Either Joseph or I (but not both together) walk my dog". To negate this, you can use the negative form *nete* for "neither X nor Y": + +> Mabåtier nete les nete Josef henånam lesen. + +### List modifiers + +List modifiers connect a series of words, phrases, or sentences (depending on the global affix) by surrounding them like parentheses. Depending on the modifiers, there is one for each conjunction, the words are connected in different ways: words connected with the 'and' modifier *atek...atet* act like a string of words connected by 'and'. and likewise for the rest of the modifiers: *itek...itet* for 'or', *etek...etet* for 'xor', and *netek...netet* for 'neither/nor'. + +List modifiers are the standard conjunctions with *-k* appended to the opening modifier and *-t* appended to the closing one. Keeping with our walks, let's all go for one: + +> Mabåti atek les, Josef, henån lesen atet. + +By surrounding the list with the 'and' modifier, we connected all of the words with 'and', leaving us with "Me and Joseph and my dog walk". This example includes commas, like in English. We can make it a riddle as to who's walking by switching to 'or', which specifies that any combination of the subjects walks: + +> Mabåti itek les, Josef, henån lesen, henån Josefen itet. + +We've added Joseph's dog to the mix: "I, Joseph, my dog, or Joseph's dog (or any combination thereof) walk". + +## Compound phrases + +Conjoining phrases works very similarly to conjoining nouns, but uses a prefix to modify the conjunctions such that they apply to phrases. + +### Conjoining phrases + +> Nanoni les inate mabåti Josef. + +It makes sense that if *Nanon* is a noun, and a Nanon word itself, it can also be a verb. In this case, it means 'to speak'. Here, we've used the prefix *in-* to cause the conjunction to apply on a phrase scope. In slangy speech, this can be dropped, as it's often evident from context. Here, we have "I talk and Joseph walks". + +Let's add a conjunction: *ato*. It looks a lot like *ate* and works rather like 'and', however, it expects a truth statement following it. In English, it's called 'but' (*ete* can similarly be changed to *eto*, which means 'except'): + +> Nanoni les inate mabåti Josef ato roevi avles. + +In the above example, we use the prefix *av-* (from *av* - 'two') to indicate a dual state - thus, when combined with *les*, we get *we both*. (On that note, the plural prefix, *es-* comes from *es* - 'three', which simply indicates a plurality). Therefore, *avles* means 'we both'. *Roevi* (from *roev* - 'tree') means 'grow', so here we have the rather saccharine "I speak and Joseph walks but we both grow". + +### Lists of phrases + +It follows that we can apply this to list modifiers as well. These, however, do require the phrase scope prefix *in-*. + +> Inatek nanoni les, mabåti Josef, henåni henan Josefen inatet. + +The verb form of dog is 'to wag', so that makes our sentence "I talk, Joseph walks, and Joseph's dog wags." + +## Questions + +We have Yet Another Affix to deal with, which creates a question. This addition, however, is an infix which only occurs in six words: *bronum* - 'place, location', *loran* - 'time', *lubåt* - 'reason', *dedev* - 'person', *uchlas* - 'it, thing' (neuter 3rd person pronoun), and *båt* - 'way'. The affix by itself is also a modifier that makes the sentence into a yes or no question, or implies a 'whether'. If the words for 'yes' and 'no' are *ka* and *nu* respectively, that is the expected answer. + +### The five W's and the H + +The affix/word in question is *aen*. It is how questions are made in Nanon. When combined with certain words, it forms the questions *bronaenum* 'where', *loraenan* - 'when', *lubaenåt* - 'why', *dedaenev* - 'who', *uchlaenas* - 'what, which', and *baenåt* - 'how'. + +> Dedaenev mabåti? + +"Who walks?" + +> Bronaenum mabåti los? + +"Where are you walking?" - *los* being the 2nd person pronoun. + +> Loraenam za mabåti los? + +"When will you walk?" - *za* will be covered in tenses. + +> She uchlaenas uchlas mabåti los? + +"Towards what thing are you walking?" - *she* being 'towards'. + +> Lubaenåt mabåti los? + +"Why are you walking?" Really, why are any of us walking? + +> Baenåt mabåti les? + +"How do I walk?" + +### Yes and no + +Placing the question modifier before the word that's being questioned (word order important) asks a yes or no question. If you are expecting a a certain response, add that response to the end of the question. + +> Aen mabåti los? + +"Do you walk?" + +> Aen mabåti los, ka? + +"You do walk, don't you?" + +> Aen za bromuni los, nu? + +"You won't go, will you?" + +## Tense + +This section assumes that you've read the section on modifiers in [morphology](/morphology) first, to get a taste of tense modifiers. + +As you know, our tense words are *ze* for past, *zo* for present (though it's usually implied) and *za* for future. You should know also that the suffix *-n* makes the tense perfect, or completed. These words, like most modifiers, default to modifying theverb that they come before, but can modify a phrase or entire sentence with the appropriate prefix. This makes it quite easy to mix tenses within a sentence. + +> Za jaruvier los Josefam ze lasi januruvam. + +"You will see that joseph was a spy". *Jaruvier* is the transitive verb form of 'see' put into the future tense by *za*. *Ze* puts *lasi* (the verb form of the pronouns becomes the verb 'to be', thus *lasi* - 'they are') in the past tense, so Joseph (who is in the accusative case for *jaruvier*) was in the past a spy, or *januruv*. Joseph and *januruv* are both in the accusative, though, so how do we know which is the object of *lasi*? The answer is that it doesn't matter, because 'to be' in Nanon is like an equal sign: it makes both nouns the same. + +Why isn't *za* in its phrase form, *inza*? Because *jaruvier* is transitive, and it still requires its object to be a full phrase. The truth is, you can often use the unmodified version of the modifier in place of the phrase or sentence version, and still have it make sense: + +> Ze mabåti les she esroevam, ato inza majarbåti les she estanunam. + +Which means "I was walking to the treas, but I will run to the mountains". *Majarbåt* is 'to walk' plus the 'fast' descriptor infixed to make 'to run'. a *tanun* is a mountain, which is plural with the prefix *es-*. The same sentence with the phrase-modified tenses, however, would mean the same thing: + +> Inze mabåti les she esroevam, ato inza majarbåti les she estanunam. + +## Numbers + +Nanon counts in base-10, so the numbers are similar, but they're strung together in an almost Mandarin fashion: the numbers count up to ten, then it's ten plus a number, then for twenty, it's two tens, three tens for thirty, and so on. + +0. *'s* +1. *an* +2. *av* +3. *es* +4. *er* +5. *et* +6. *on* +7. *ov* +8. *or* +9. *ur* +10. *ans* +11. *ansan* +12. *ansav* +{: start="0" } + +And so on, until 20, which is *avans*, 30 - *esans*, and so on. Here are some random numbers: + +* *mans* - 100 +* *ant* - 1,000 +* *nant* - 10,000 +* *mansant* - 100,000 +* *anc* - 1,000,000 +* *avans es* - 23 +* *erans av* - 24 +* *ant ermans urans av* - 1,492 +* *ant ovmans ovans av* - 1,776 +* *anc avmansant esnans erant etmans onans ov* - 1,234,567 + +*Mans* is different, because otherwise, following the pattern, *onnans* and *onans* would sound alike. + +These numbers, by themselves, act as descriptors. If you want to talk about the number two, or number two in a set, precede the number with the word 'number', *sanav*. To say cardinal numbers, put the number in its verb form, as in *Ani Eskorinthev Anses* - First Corinthians 13 (see examples). Also, note the *-ev* suffix on Corinth: this comes from *dedev*, which means person. The *-ev* suffix, therefor, means a person of the noun it modifies, so *-ev* on Corinth means a Corinthian. + +### Math + +Addition - "Number with number is number" +: *an tho an lasi av*: 1 + 1 = 2 + +Subtraction - "Number without number is number" +: *av nutho an lasi an*: 2 - 1 = 1 + +Multiplication - "Number by/against number is number" +: *av lar an lasi av*: 2 * 1 = 2 + +Division - "Number except number is number" +: *er eto av lasi av*: 4 / 2 = 2 + +Exponents - "Number by/against again is number" +: *av lar'che av lasi er*: 2 ^ 2 = 4 + +Logarithms - "Number by/against an anonymous thing is number" +: *ans lar'che t'n mans lasi av*: Log10 100 = 2 + +Roots - "Number except again root is number" +: *er eto'che av lasi av*: sqrt(4) = 2 + +## A note + +> Something must be said about the semantics of Nanon, as words separated by one letter become different parts of speech, and mean different things. Nouns and their verb components should not always be taken as near synonyms, even though this may sometimes be the case. For example, a word that means a driver of an automobile does not automatically mean 'to drive an automobile' in it's verb form. It might be best to learn the noun and verb form separately and not think of the -i as an affix, then realize later that there is a connection between the two words. +> +> Also, care must be taken to enunciate certain words carefully, as they may differ by just a vowel. The biggest problem, perhaps, would be the gender prefixes ach- and ech- diff --git a/content/extras/nanon/vocabulary.md b/content/extras/nanon/vocabulary.md new file mode 100644 index 0000000..1920bd1 --- /dev/null +++ b/content/extras/nanon/vocabulary.md @@ -0,0 +1,64 @@ +--- +type: page +title: Vocabulary +--- + + + + + + + + + + + + + +
    EntryRoleMeaning
    + + + diff --git a/content/extras/nanon/vocabulary.sqlite3 b/content/extras/nanon/vocabulary.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..3b6eef4e3b720edb19cce5ab11f1fd7fdbaac0cb GIT binary patch literal 24576 zcmeHPeT-aJb)T8tnVs3$nelq}?c3+^c;9&K><->t$8myVLYf5FI8I^{I}YF&2j7`@ zXWsL^d2jqacD!*g+@T1mG*bBkDo~^nS}3hlT2!hcH7%-8p#u8FN2DTEswx^+bY&b`i)=N`8LuD4yU%L4s)YELSiPCcmW zsZ^?nzd8Jk|4iV+Wc&rc(}~YN>tivsvF9fxP&1W7smeBfjQ@;1F!sRM17i=2Juvpb z*aKq^j6E>+z}N$04~#wVD)qnG4hdHr`c-b@>`38)7OwrK)OLbfwO|>lwcMk-0_wifp^0uTB@PSjLsY>9ZF$ zPi>yppE!T|%tPld>W^(+)E|24!dp+Dh1i+RvlrIDNHSLn7dGD^zj?0BN8b$Iwj3+4 zTqkOqZe-!}Oy!5<`CR2E(T7**G>pv}dtmH=u?NN;7<*vsfw2e19vFLI?18Zd#vT}Z zVC;ck&;wcVFeE0Qp}YBX<-b$-Z~SNMfw2e19vFLI?18Zd#vT}ZVC;dh2gV*4dtmH= zu?Jp59+*x~s2TaRAiYHR|MJA;ROOY*S1X^cJYRXTaD809Ip>$VCE2U@tb>KPr5+@P~yL3hypFUAV7ss4$cNe*WeBOZiXbZ{(X3m-7$j zSM#Z`m=D#v8XFi+xNM<{8DRU}Q&lJ+%PybE&kJ7)9zL9RGA5AZ( z3+cjZXcEUmdG&js_CPi@cX-J%ndJoByUJVi^rmmRY)v=$j`~bCRaL4@=DDF`ZF8>~ zxO&fKJNqtYQ<}0I5gZVk%(mC`mK%D3`p!t`i=VWa7Yn&P?o=<4(BY;ekdWcJ-kRQX zy@1)(r?aVsqOg`3n4!a5n*}R&q}lhY7qh7qMU99i+oc8EalMsyWK%WeBy+y_N$80? zG+e#oy2hFgi~1|BaKxCGYq~RYqU8t z)TiXwh7@U@=LRPC9=t#nvWQ^1VM5LeZLYJX@7iI&?Hy@R%Vt(rH{32BJGqYT!nGSu zW>bfi2a*~{zm3OIYZwZC#5#1+=xv-QBTvC6EYVq;ku|c99`m>p$d6?DfpcVfW5`dc zW8Nlu@jm9Hqv#H~?%MK6t76fnV8yg!secRRQaEr_b3G=%9 zbJgJ;7Eo_!v@JhqoHzq-*G`cvamin?Ww+}{N;mF&oCHrgEE1HzV!@j_a}0DGKqW?l zISX9gxZ|;GYPNQt&0;q4+))}ctt^B4Ezjx&u6O^V+0@b6V|aNt8XLas4(%oxKm4(3 zIW0Ss{)2berd4xK+c#HFrzT0(Oq91w84P1%%kxEe6iO2#q@0?i%1?;)b9&TUka z+qSFz5@>ZL^j&8(pCJCY3_Tj(^21$O{w)cP+I1Q)MQ5WB=uPh5jzvA0uvFqV=mlF#MuygBtf(s z$9DP-uB#X{T`BP1ZI-n#}35c3`6e!+T92;b(Xi&-D56H>EfE4EILL;(tZ~Q+x{aoSv3eGyJd()L11(3bwpJm_iSP+ zeG|u81Fu(W^_gX4R%oP3(jedM@`XF3>#v61sIxZWyKngBj%NJ;DO_oLEaBpw>$c&bwjH+HJ6a7YmlXt1*J-()$B`u9$OudpsQan6 zIgpZSn^s4w5ZQ{FM*mKllhp4Gx(r{Anr;92#^x--<)<6ax-gpM@N=dUkQ zU+=Ph{=Ryq$9!Hdknkmj54q&7+h3$EkF4`; z*=ji^Ygz$wDB$Zi@0up++qoZ&qGyL5vnhArzJ9-cJn|6S+f2;idGAo}dA1Y6m{GP%cm(0==rMpYY%y(w~a_09?F>q%#XX-Q4#qSrt zUHtRnM~c^qPZy6C_e}r$^jD@ofoj2(>4&GQh5svjxA3*XX9^!G+$b1@M+)nx7W^px z_xUfNTJT){OumtynELwEr>EXCb#Cg7Q~Refxqr%iDfgM&ucKmM=FaCy1(0~yC(wBhC`r)Sl@M4W%?NZZc!V`c0kM&I#G+m!#j3#*2pNTifFJCUUK|<` zfh3UA+XQ-TTkmnVXY+X%0Y=dbB$ZMnLIg7QMTd$CO9qb3-3o=tdMGy>=o0_Bq>#d> z)p9y(I?@*>ShUH=8t6!15Q1fK!{^>MU)Um@)rcYok5-&fhptll34JX6MYf-<7}-aXZ7g%rdVENdh6Y~P3PKO^k^`fy8YEwDdfYb7XQd5+OGcv&5nil|&nxdjg;|^;+rsZrY0?1KSsx8M!o; zxGDfHQHDb)DB;FFvx1rcz$8gYA;}(2P09+^bfWJS1Tz%{bmmBFtS&zy2x2OyZ2+p_ zYG_7Fm|w>x*H=CM2Ba;(x4>16I|N})qTo6+ZXyRjjF zOXrkxFo0}2?itwOw3qeWB*f%LQHVNf1xK+0ca{YqRpma|KmvDRqunk53+e)3bxt_} z1BmMwhH^XC=`{hwT2(e}-bEG?+u7#arlpMTw=DyOpEjkP09h*nNLEwskJw4;E(vu@ zSzklSXJgkd2w+>pjID5YIk@_kRXuA z-4KLYhK0>LF9^dbnxv7CY;VsA;8$!EpvmEuKz{7)6M(ANg|d~Hef&kFc3jKnRRLUD zS87+os|*QoypvqL?;*@D3cypGEW1<^w|Rh*MG-)#8c41&8W=W*CJ3S`%d(x=(S`u- z7zk~v0?>3xIeC?N;dWwc_^=WP7H*Z18MVAERRFBkpnk|I?T*+4z^bMkm6X_{5RsxN z+#v4n7lc=phGdbFR4v8|uv!#r4-0@+oQfbLdhOPW@ef&HDHRDVzeNYbk^qXWDo2KV zq$uKv8FuOdD7L1oUxgkFY1f)wR5eC%nr-bDfU{M&KjM+*5M2_vw7x%pST^5^-SOg%)&-vK>*ldYoH(^Q+gTN`<8F+6+pI#PLd!spm9+E)}r`MjfsVd z8WmP4fGtj|A&DfYxh{ZaHRYJe6K5;GPLWl|s3j<05kRr3@_^(aK^(Fcz)l-g0=m$k zfZ3r-4r56G(_)gqnebkpA#0$U1mTIz5e|Vd0H1Yo$8Bj6vKd?_(B@MGz^CjmkuFJcT>yJx{d88m(HRGH z9c|twZy_q~7b)txA$h3lC}_z;pvCR=_mGCu9fm?@@9hBjcQ+B*&)ln z?aGeXfm_?A3$bcM#4N|xc|MBGaMNl?6LtdR2x7#>_FUvXv~A_8M-jDOsyvpunEmn$ zZtBlWH>UH2?-l;8@M7Tu1-r0W*eERKf0+ML{>A*S=KcJod_6xi^{uHdOnr3f##C$S z)YQh5n)`9?8@WHpeLT05JD0mRw?CK3{zLZ5m2Xx4wDOyHOHix)N+n(K%70sasr-rZ z2g}#Wm&*5)^>ViKz0zNoe!ui#yefF6bgHym%FMiiD#52`-ali`+&eR0{GZ}?ieD>! zzWB-FuN9vwn#HGz4;GK$Wx@YWe`oqjcw6xNYY-WZhcx!U*aKq^{Nf&%6J0v=RNNIZ z`L3gni(>DfKoLe&?xE|&_y|BAhU--%TWug34=JH4P>)fRIx*2H6riF`^$p+DgsjNa z@z7yZR`Ga?L)U_kb(or@k=U@^J1kI)(Ug-Orz^!F0>-r!kItMXPywD4^!-Bul^J!& zM+zhl4onzl5&Qt;0o$UG1)3^~|8&O13h~s#R)j3js6!Iz*mi*@mW8az9K!|aZh>hiMU8f3zsr?i%TT?6fkrm=b%fw2%;eC!eu7anUKau^U^~;wO2e% z%H|@mNLg?~T%<<4E4eLy+XaBbnWrU#%LX48uMsj)#5-twRVhi@x*)O+md@KrBia)n z8xJ;6Pk9>&D3U+|)Ob)lMPoUJ#>7};!oG@Ic3c-(t;U+TKq~QMg_uY*Cdq_dCXxZ{ zIO_KRU`lN3D41Ku?#b6=e?F zI3%8+<`cMa9N`kf@`4ChqUs>OEQ+_%`0A34gsBx6#kFizoFxso1W)9+eh+|jU7R7I z$0UV>Y*a8pxRKTXKH)d`km;@IXGvHSkCUc)Hw5gAw+kK|`SkKiJSGj0G}1L}M=j=n zc$8ey04d?-M2WC2PLtka5d#TF#Y3PxSwti(rHMx*Fv49rDzUr0`@m7ak*BDGqeB`g zknJcoMaIF1*#V&bEP$7ffYapOvzUs51A_J1I%XO(5JUvLVKY2#ppJ&=#Jp4oK=z7u z7)}~;U}5i4)d4WQqSa`zMDnrR!T@ky(W<2U7R|E*fOl9DdQmgo?Cl)@xzB2Scm`s@H`918i+f;OgRb^tI=Z9|1^1mwK~pm69z zl})-pUU2Ri0E0sx8+H=(-Pr*k_Z*sH!!clG0B}90;bq-cB;2)Z8*be*0Hh}Ip*euW z`vySLRi#dkZ${ydZj}-I>H}bDOm#%0nZj*+VB#Ggee&eh!TLaA>Qe!ghIZ>~J)9ac zHsOg#v_er!LZPUI4ke^sj`-!;lf05q9{^C#Dfa{`vP!}r!Mlh|uw70vqGD|zarFwY z5GE^L*YXmyi@4LO4kW%l9MR?K!tTJc4m>9^cC-Ni_L5Qs^_F7<0jqOh03?m7Urdv- zXs7VqGF{874*;f7HVPPukE4TB{?FX#AZ_6iWqtryjpE6Whjb8qX#h;E4Mk(4;XhO+ zAV}8l9ROP+=1D;kBdR(8nnpChW%y_pwQQ@~+&=)C22z$3V(;QF-5cORDJFaW06@B? zEC&p)4@aR$URLN~PZ2=UC{7H?B;Uj%xUEG2$c(yX^bjewQ$9l4D*%^qCPXBX@L6wJ z04C#X!rO>Mu%N?Pj%#@PF(-hR5key_61A;1SA~SiHEdh9o0Q;XtAm<9kTT9(Ng?)V z5vxMtPwhK8{-D*%yI1rMY^Apx{*2q0rT-1I_JD@KK1-fT+Kko5F%KKVL% z40#4`Xd;kHLkc9SoF0~^E<75+QDjvkRai68^cl#coLf`1JbkT-Yh>1nlp?cGc-W!) z5t);v6ajFKNf=s43@)yFkX!g1){Module["thisProgram"]=process["argv"][1].replace(/\\/g,"/")}else{Module["thisProgram"]="unknown-program"}}Module["arguments"]=process["argv"].slice(2);if(typeof module!=="undefined"){module["exports"]=Module}process["on"]("uncaughtException",(function(ex){if(!(ex instanceof ExitStatus)){throw ex}}));process["on"]("unhandledRejection",(function(reason,p){process["exit"](1)}));Module["inspect"]=(function(){return"[Emscripten Module object]"})}else if(ENVIRONMENT_IS_SHELL){if(!Module["print"])Module["print"]=print;if(typeof printErr!="undefined")Module["printErr"]=printErr;if(typeof read!="undefined"){Module["read"]=function shell_read(f){var data=tryParseAsDataURI(f);if(data){return intArrayToString(data)}return read(f)}}else{Module["read"]=function shell_read(){throw"no read() available"}}Module["readBinary"]=function readBinary(f){var data;data=tryParseAsDataURI(f);if(data){return data}if(typeof readbuffer==="function"){return new Uint8Array(readbuffer(f))}data=read(f,"binary");assert(typeof data==="object");return data};if(typeof scriptArgs!="undefined"){Module["arguments"]=scriptArgs}else if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof quit==="function"){Module["quit"]=(function(status,toThrow){quit(status)})}}else if(ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER){Module["read"]=function shell_read(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.send(null);return xhr.responseText}catch(err){var data=tryParseAsDataURI(url);if(data){return intArrayToString(data)}throw err}};if(ENVIRONMENT_IS_WORKER){Module["readBinary"]=function readBinary(url){try{var xhr=new XMLHttpRequest;xhr.open("GET",url,false);xhr.responseType="arraybuffer";xhr.send(null);return new Uint8Array(xhr.response)}catch(err){var data=tryParseAsDataURI(url);if(data){return data}throw err}}}Module["readAsync"]=function readAsync(url,onload,onerror){var xhr=new XMLHttpRequest;xhr.open("GET",url,true);xhr.responseType="arraybuffer";xhr.onload=function xhr_onload(){if(xhr.status==200||xhr.status==0&&xhr.response){onload(xhr.response);return}var data=tryParseAsDataURI(url);if(data){onload(data.buffer);return}onerror()};xhr.onerror=onerror;xhr.send(null)};if(typeof arguments!="undefined"){Module["arguments"]=arguments}if(typeof console!=="undefined"){if(!Module["print"])Module["print"]=function shell_print(x){console.log(x)};if(!Module["printErr"])Module["printErr"]=function shell_printErr(x){console.warn(x)}}else{var TRY_USE_DUMP=false;if(!Module["print"])Module["print"]=TRY_USE_DUMP&&typeof dump!=="undefined"?(function(x){dump(x)}):(function(x){})}if(typeof Module["setWindowTitle"]==="undefined"){Module["setWindowTitle"]=(function(title){document.title=title})}}else{throw new Error("Unknown runtime environment. Where are we?")}if(!Module["print"]){Module["print"]=(function(){})}if(!Module["printErr"]){Module["printErr"]=Module["print"]}if(!Module["arguments"]){Module["arguments"]=[]}if(!Module["thisProgram"]){Module["thisProgram"]="./this.program"}if(!Module["quit"]){Module["quit"]=(function(status,toThrow){throw toThrow})}Module.print=Module["print"];Module.printErr=Module["printErr"];Module["preRun"]=[];Module["postRun"]=[];for(key in moduleOverrides){if(moduleOverrides.hasOwnProperty(key)){Module[key]=moduleOverrides[key]}}moduleOverrides=undefined;var STACK_ALIGN=16;function staticAlloc(size){assert(!staticSealed);var ret=STATICTOP;STATICTOP=STATICTOP+size+15&-16;return ret}function dynamicAlloc(size){assert(DYNAMICTOP_PTR);var ret=HEAP32[DYNAMICTOP_PTR>>2];var end=ret+size+15&-16;HEAP32[DYNAMICTOP_PTR>>2]=end;if(end>=TOTAL_MEMORY){var success=enlargeMemory();if(!success){HEAP32[DYNAMICTOP_PTR>>2]=ret;return 0}}return ret}function alignMemory(size,factor){if(!factor)factor=STACK_ALIGN;var ret=size=Math.ceil(size/factor)*factor;return ret}function getNativeTypeSize(type){switch(type){case"i1":case"i8":return 1;case"i16":return 2;case"i32":return 4;case"i64":return 8;case"float":return 4;case"double":return 8;default:{if(type[type.length-1]==="*"){return 4}else if(type[0]==="i"){var bits=parseInt(type.substr(1));assert(bits%8===0);return bits/8}else{return 0}}}}function warnOnce(text){if(!warnOnce.shown)warnOnce.shown={};if(!warnOnce.shown[text]){warnOnce.shown[text]=1;Module.printErr(text)}}var functionPointers=new Array(64);function addFunction(func){for(var i=0;i>0]=value;break;case"i8":HEAP8[ptr>>0]=value;break;case"i16":HEAP16[ptr>>1]=value;break;case"i32":HEAP32[ptr>>2]=value;break;case"i64":tempI64=[value>>>0,(tempDouble=value,+Math_abs(tempDouble)>=+1?tempDouble>+0?(Math_min(+Math_floor(tempDouble/+4294967296),+4294967295)|0)>>>0:~~+Math_ceil((tempDouble- +(~~tempDouble>>>0))/+4294967296)>>>0:0)],HEAP32[ptr>>2]=tempI64[0],HEAP32[ptr+4>>2]=tempI64[1];break;case"float":HEAPF32[ptr>>2]=value;break;case"double":HEAPF64[ptr>>3]=value;break;default:abort("invalid type for setValue: "+type)}}function getValue(ptr,type,noSafe){type=type||"i8";if(type.charAt(type.length-1)==="*")type="i32";switch(type){case"i1":return HEAP8[ptr>>0];case"i8":return HEAP8[ptr>>0];case"i16":return HEAP16[ptr>>1];case"i32":return HEAP32[ptr>>2];case"i64":return HEAP32[ptr>>2];case"float":return HEAPF32[ptr>>2];case"double":return HEAPF64[ptr>>3];default:abort("invalid type for getValue: "+type)}return null}var ALLOC_NORMAL=0;var ALLOC_STACK=1;var ALLOC_STATIC=2;var ALLOC_DYNAMIC=3;var ALLOC_NONE=4;Module["ALLOC_NORMAL"]=ALLOC_NORMAL;Module["ALLOC_STACK"]=ALLOC_STACK;Module["ALLOC_STATIC"]=ALLOC_STATIC;Module["ALLOC_DYNAMIC"]=ALLOC_DYNAMIC;Module["ALLOC_NONE"]=ALLOC_NONE;function allocate(slab,types,allocator,ptr){var zeroinit,size;if(typeof slab==="number"){zeroinit=true;size=slab}else{zeroinit=false;size=slab.length}var singleType=typeof types==="string"?types:null;var ret;if(allocator==ALLOC_NONE){ret=ptr}else{ret=[typeof _malloc==="function"?_malloc:staticAlloc,stackAlloc,staticAlloc,dynamicAlloc][allocator===undefined?ALLOC_STATIC:allocator](Math.max(size,singleType?1:types.length))}if(zeroinit){var stop;ptr=ret;assert((ret&3)==0);stop=ret+(size&~3);for(;ptr>2]=0}stop=ret+size;while(ptr>0]=0}return ret}if(singleType==="i8"){if(slab.subarray||slab.slice){HEAPU8.set(slab,ret)}else{HEAPU8.set(new Uint8Array(slab),ret)}return ret}var i=0,type,typeSize,previousType;while(i>0];hasUtf|=t;if(t==0&&!length)break;i++;if(length&&i==length)break}if(!length)length=i;var ret="";if(hasUtf<128){var MAX_CHUNK=1024;var curr;while(length>0){curr=String.fromCharCode.apply(String,HEAPU8.subarray(ptr,ptr+Math.min(length,MAX_CHUNK)));ret=ret?ret+curr:curr;ptr+=MAX_CHUNK;length-=MAX_CHUNK}return ret}return UTF8ToString(ptr)}var UTF8Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf8"):undefined;function UTF8ArrayToString(u8Array,idx){var endPtr=idx;while(u8Array[endPtr])++endPtr;if(endPtr-idx>16&&u8Array.subarray&&UTF8Decoder){return UTF8Decoder.decode(u8Array.subarray(idx,endPtr))}else{var u0,u1,u2,u3,u4,u5;var str="";while(1){u0=u8Array[idx++];if(!u0)return str;if(!(u0&128)){str+=String.fromCharCode(u0);continue}u1=u8Array[idx++]&63;if((u0&224)==192){str+=String.fromCharCode((u0&31)<<6|u1);continue}u2=u8Array[idx++]&63;if((u0&240)==224){u0=(u0&15)<<12|u1<<6|u2}else{u3=u8Array[idx++]&63;if((u0&248)==240){u0=(u0&7)<<18|u1<<12|u2<<6|u3}else{u4=u8Array[idx++]&63;if((u0&252)==248){u0=(u0&3)<<24|u1<<18|u2<<12|u3<<6|u4}else{u5=u8Array[idx++]&63;u0=(u0&1)<<30|u1<<24|u2<<18|u3<<12|u4<<6|u5}}}if(u0<65536){str+=String.fromCharCode(u0)}else{var ch=u0-65536;str+=String.fromCharCode(55296|ch>>10,56320|ch&1023)}}}}function UTF8ToString(ptr){return UTF8ArrayToString(HEAPU8,ptr)}function stringToUTF8Array(str,outU8Array,outIdx,maxBytesToWrite){if(!(maxBytesToWrite>0))return 0;var startIdx=outIdx;var endIdx=outIdx+maxBytesToWrite-1;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){if(outIdx>=endIdx)break;outU8Array[outIdx++]=u}else if(u<=2047){if(outIdx+1>=endIdx)break;outU8Array[outIdx++]=192|u>>6;outU8Array[outIdx++]=128|u&63}else if(u<=65535){if(outIdx+2>=endIdx)break;outU8Array[outIdx++]=224|u>>12;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=2097151){if(outIdx+3>=endIdx)break;outU8Array[outIdx++]=240|u>>18;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else if(u<=67108863){if(outIdx+4>=endIdx)break;outU8Array[outIdx++]=248|u>>24;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}else{if(outIdx+5>=endIdx)break;outU8Array[outIdx++]=252|u>>30;outU8Array[outIdx++]=128|u>>24&63;outU8Array[outIdx++]=128|u>>18&63;outU8Array[outIdx++]=128|u>>12&63;outU8Array[outIdx++]=128|u>>6&63;outU8Array[outIdx++]=128|u&63}}outU8Array[outIdx]=0;return outIdx-startIdx}function stringToUTF8(str,outPtr,maxBytesToWrite){return stringToUTF8Array(str,HEAPU8,outPtr,maxBytesToWrite)}function lengthBytesUTF8(str){var len=0;for(var i=0;i=55296&&u<=57343)u=65536+((u&1023)<<10)|str.charCodeAt(++i)&1023;if(u<=127){++len}else if(u<=2047){len+=2}else if(u<=65535){len+=3}else if(u<=2097151){len+=4}else if(u<=67108863){len+=5}else{len+=6}}return len}var UTF16Decoder=typeof TextDecoder!=="undefined"?new TextDecoder("utf-16le"):undefined;function demangle(func){return func}function demangleAll(text){var regex=/__Z[\w\d_]+/g;return text.replace(regex,(function(x){var y=demangle(x);return x===y?x:x+" ["+y+"]"}))}function jsStackTrace(){var err=new Error;if(!err.stack){try{throw new Error(0)}catch(e){err=e}if(!err.stack){return"(no stack trace available)"}}return err.stack.toString()}function stackTrace(){var js=jsStackTrace();if(Module["extraStackTrace"])js+="\n"+Module["extraStackTrace"]();return demangleAll(js)}var PAGE_SIZE=16384;var HEAP,buffer,HEAP8,HEAPU8,HEAP16,HEAPU16,HEAP32,HEAPU32,HEAPF32,HEAPF64;function updateGlobalBufferViews(){Module["HEAP8"]=HEAP8=new Int8Array(buffer);Module["HEAP16"]=HEAP16=new Int16Array(buffer);Module["HEAP32"]=HEAP32=new Int32Array(buffer);Module["HEAPU8"]=HEAPU8=new Uint8Array(buffer);Module["HEAPU16"]=HEAPU16=new Uint16Array(buffer);Module["HEAPU32"]=HEAPU32=new Uint32Array(buffer);Module["HEAPF32"]=HEAPF32=new Float32Array(buffer);Module["HEAPF64"]=HEAPF64=new Float64Array(buffer)}var STATIC_BASE,STATICTOP,staticSealed;var STACK_BASE,STACKTOP,STACK_MAX;var DYNAMIC_BASE,DYNAMICTOP_PTR;STATIC_BASE=STATICTOP=STACK_BASE=STACKTOP=STACK_MAX=DYNAMIC_BASE=DYNAMICTOP_PTR=0;staticSealed=false;function abortOnCannotGrowMemory(){abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value "+TOTAL_MEMORY+", (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or (4) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ")}function enlargeMemory(){abortOnCannotGrowMemory()}var TOTAL_STACK=Module["TOTAL_STACK"]||5242880;var TOTAL_MEMORY=Module["TOTAL_MEMORY"]||16777216;if(TOTAL_MEMORY0){var callback=callbacks.shift();if(typeof callback=="function"){callback();continue}var func=callback.func;if(typeof func==="number"){if(callback.arg===undefined){Module["dynCall_v"](func)}else{Module["dynCall_vi"](func,callback.arg)}}else{func(callback.arg===undefined?null:callback.arg)}}}var __ATPRERUN__=[];var __ATINIT__=[];var __ATMAIN__=[];var __ATEXIT__=[];var __ATPOSTRUN__=[];var runtimeInitialized=false;var runtimeExited=false;function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="function")Module["preRun"]=[Module["preRun"]];while(Module["preRun"].length){addOnPreRun(Module["preRun"].shift())}}callRuntimeCallbacks(__ATPRERUN__)}function ensureInitRuntime(){if(runtimeInitialized)return;runtimeInitialized=true;callRuntimeCallbacks(__ATINIT__)}function preMain(){callRuntimeCallbacks(__ATMAIN__)}function exitRuntime(){callRuntimeCallbacks(__ATEXIT__);runtimeExited=true}function postRun(){if(Module["postRun"]){if(typeof Module["postRun"]=="function")Module["postRun"]=[Module["postRun"]];while(Module["postRun"].length){addOnPostRun(Module["postRun"].shift())}}callRuntimeCallbacks(__ATPOSTRUN__)}function addOnPreRun(cb){__ATPRERUN__.unshift(cb)}function addOnPostRun(cb){__ATPOSTRUN__.unshift(cb)}function writeStringToMemory(string,buffer,dontAddNull){warnOnce("writeStringToMemory is deprecated and should not be called! Use stringToUTF8() instead!");var lastChar,end;if(dontAddNull){end=buffer+lengthBytesUTF8(string);lastChar=HEAP8[end]}stringToUTF8(string,buffer,Infinity);if(dontAddNull)HEAP8[end]=lastChar}function writeArrayToMemory(array,buffer){HEAP8.set(array,buffer)}function writeAsciiToMemory(str,buffer,dontAddNull){for(var i=0;i>0]=str.charCodeAt(i)}if(!dontAddNull)HEAP8[buffer>>0]=0}assert(Math["imul"]&&Math["fround"]&&Math["clz32"]&&Math["trunc"],"this is a legacy browser, build with LEGACY_VM_SUPPORT");var Math_abs=Math.abs;var Math_cos=Math.cos;var Math_sin=Math.sin;var Math_tan=Math.tan;var Math_acos=Math.acos;var Math_asin=Math.asin;var Math_atan=Math.atan;var Math_atan2=Math.atan2;var Math_exp=Math.exp;var Math_log=Math.log;var Math_sqrt=Math.sqrt;var Math_ceil=Math.ceil;var Math_floor=Math.floor;var Math_pow=Math.pow;var Math_imul=Math.imul;var Math_fround=Math.fround;var Math_round=Math.round;var Math_min=Math.min;var Math_clz32=Math.clz32;var Math_trunc=Math.trunc;var runDependencies=0;var runDependencyWatcher=null;var dependenciesFulfilled=null;function getUniqueRunDependency(id){return id}function addRunDependency(id){runDependencies++;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}}Module["addRunDependency"]=addRunDependency;function removeRunDependency(id){runDependencies--;if(Module["monitorRunDependencies"]){Module["monitorRunDependencies"](runDependencies)}if(runDependencies==0){if(runDependencyWatcher!==null){clearInterval(runDependencyWatcher);runDependencyWatcher=null}if(dependenciesFulfilled){var callback=dependenciesFulfilled;dependenciesFulfilled=null;callback()}}}Module["removeRunDependency"]=removeRunDependency;Module["preloadedImages"]={};Module["preloadedAudios"]={};var memoryInitializer=null;var dataURIPrefix="data:application/octet-stream;base64,";function isDataURI(filename){return String.prototype.startsWith?filename.startsWith(dataURIPrefix):filename.indexOf(dataURIPrefix)===0}var ASM_CONSTS=[];STATIC_BASE=GLOBAL_BASE;STATICTOP=STATIC_BASE+47648;__ATINIT__.push();memoryInitializer="data:application/octet-stream;base64,AQAAAAEAAAAAAAAAAAAAAAEAAAAAAAAA/v//fwAAAACwBAAAZAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAPoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7//38ABgAAPUwAAAAAsOolBltCAAAAAABAj0AABgAAREwAAAAAAKVb0/xBAAAAAABM7UAABAAAS0wAAAAAALBQv55BAAAAAEB3S0EAAwAAOUwAAAAAAECLf1RBAAAAAHCZlEEBBQAALkwAAAAAAAAQjQVBAAAAANlP40ECBAAANEwAAAAAAACAvMxAAAAAsMReHUIAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqm0AAAMAAACmbQAAAwAAAPo9AAABAAEAggAAAP89AAABAAEAgwAAAAQ+AAABAAEAhAAAAAk+AAACAAEAhQAAAA4+AAACAAEAhQAAABQ+AAABAAEAhgAAABo+AAABAAEAhwAAACA+AAABAAEAiAAAACY+AAACAAEAiQAAADE+AAABAAEAigAAADk+AAABAAEAiwAAAEE+AAABAAEAjAAAAEU+AAABAAEAjQAAAEk+AAABAAEAjgAAAE0+AAABAAEAjwAAAFE+AAABAAEAkAAAAFY+AAABAAEAkQAAAFs+AAABAAEAkgAAAGA+AAABAAEAkwAAAGU+AAABAAEAlAAAAFJ4AAABAAEAlQAAAGk+AAABAAEAlgAAAG8+AAACAAEAlwAAAHU+AAABAAEAmAAAAHo+AAABAAEAmQAAAH8+AAABAAEAmgAAAIY+AAABAAEAmwAAAIs+AAABAAEAnAAAAJE+AAAAAAEBnQAAAJQ+AAACAAEAngAAAJ4+AAACAAEAnwAAAJ4+AAADAAEAnwAAAKg+AAACAAEAoAAAALA+AAACAAEAoQAAALk+AAABAAEAogAAAME+AAABAAEAowAAAMg+AAACAAEApAAAAM0+AAACAAEApQAAANI+AAACAAEApgAAANc+AAACAAEApwAAAAAAAACAMAAAgCAOAIAgyAMAAAAAgP///wD4//8AAP//ggAAAIIAAACCAAAAgwAAAIQAAACFAAAAgwAAAAAAAAACAAEIAAAAAAAAAACoAAAAAAAAALdMAAAAAAAAAgABCAAAAAAAAAAAqQAAAAAAAADLTAAAAAAAAAMAAQgAAAAAAAAAAKoAAAAAAAAA4UwAAAAAAAD/AAEoCAAAAAAAAACrAAAAAAAAAD1LAAAAAAAA/wABKAgAAAAAAAAArAAAAAAAAABHSwAAAAAAAP8AASgIAAAAAAAAAK0AAAAAAAAATEsAAAAAAAD/AAEoCAAAAAAAAACuAAAAAAAAAFFLAAAAAAAA/wABKAgAAAAAAAAArwAAAAAAAABaSwAAAAAAAAAAASAAAAAAAAAAALAAAAAAAAAAY0sAAAAAAAAAAAEgAAAAAAAAAACxAAAAAAAAAHBLAAAAAAAAAAABIAAAAAAAAAAAsgAAAAAAAACCSwAAAAAAAAEAASAAAAAAAAAAALMAAAAAAAAALEgAAAAAAAABAAEgAAAAAAAAAAC0AAAAAAAAAEZIAAAAAAAAAQABDAAAAAAAAAAAtQAAAAAAAABfSAAAAAAAAAIAAQwAAAAAAAAAALUAAAAAAAAAaEgAAAAAAAABAAEMAAAAAAAAAAC1AAAAAAAAAHNIAAAAAAAAAQABCAEAAAAAAAAAtgAAAAAAAAB6SAAAAAAAAAIAAQgBAAAAAAAAALYAAAAAAAAAekgAAAAAAAABAAEIAgAAAAAAAAC2AAAAAAAAAIBIAAAAAAAAAgABCAIAAAAAAAAAtgAAAAAAAACASAAAAAAAAAEAAQgDAAAAAAAAALYAAAAAAAAAhkgAAAAAAAACAAEIAwAAAAAAAAC2AAAAAAAAAIZIAAAAAAAA/wAhCAAAAAAAAAAAtwAAAAAAAACLSAAAAAAAAAAAIQgAAAAAAAAAAAAAAAAAAAAAi0gAAAAAAAABACEQAAAAAAAAAAC4AAAAhAAAAItIAAAAAAAA/wAhCAEAAAAAAAAAtwAAAAAAAACPSAAAAAAAAAAAIQgBAAAAAAAAAAAAAAAAAAAAj0gAAAAAAAABACEQAQAAAAAAAAC4AAAAhAAAAI9IAAAAAAAAAQCBCAAAAAAAAAAAuQAAAAAAAACTSAAAAAAAAAEAQQgAAAAAAAAAALoAAAAAAAAAmkgAAAAAAAACAAEIAAAAAAAAAAC7AAAAAAAAAKFIAAAAAAAA/wABCAAAAAAAAAAAvAAAAAAAAACnSAAAAAAAAAEAAQgAAAAAAAAAAL0AAAAAAAAArkgAAAAAAAD/AAEIAAAAAAAAAAC+AAAAAAAAALZIAAAAAAAAAQABCAAAAAAAAAAAvwAAAAAAAAC7SAAAAAAAAAEAAQgAAAAAAAAAAMAAAAAAAAAAv0gAAAAAAAACAAEIAAAAAAAAAADAAAAAAAAAAL9IAAAAAAAAAQABCAAAAAAAAAAAwQAAAAAAAADFSAAAAAAAAAEAAQgAAAAAAAAAAMIAAAAAAAAAy0gAAAAAAAABAAEIAAAAAAAAAADDAAAAAAAAANFIAAAAAAAAAgABCgAAAAAAAAAAtQAAAAAAAADVSAAAAAAAAAAAAQAAAAAAAAAAAMQAAAAAAAAA3EgAAAAAAAABAAEAAAAAAAAAAADFAAAAAAAAAONIAAAAAAAAAgAhCAAAAAAAAAAAxgAAAAAAAADuSAAAAAAAAAAAASAAAAAAAAAAALUAAAAAAAAA9UgAAAAAAAAAAAEgAAAAAAAAAADHAAAAAAAAAARJAAAAAAAAAgABCAAAAAAAAAAAyAAAAAAAAAAVSQAAAAAAAAEAAQgAAAAAAAAAAMkAAAAAAAAAIEkAAAAAAAAAAAEAAAAAAAAAAADKAAAAAAAAACZJAAAAAAAAAAABAAAAAAAAAAAAywAAAAAAAAA4SQAAAAAAAAAAAQAAAAAAAAAAAMwAAAAAAAAAQEkAAAAAAAADAAEIAAAAAAAAAADNAAAAAAAAAE5JAAAAAAAAAQABCAAAAAAAAAAAzgAAAAAAAABWSQAAAAAAAAIAAQgAAAAAAAAAAM8AAAAAAAAAX0kAAAAAAAADAAEIAAAAAAAAAADPAAAAAAAAAF9JAAAAAAAAAQABAAAAAAAAAAAA0AAAAIUAAABmSQAAAAAAAAEAAQAAAAAAAAAAANAAAACGAAAAakkAAAAAAAABAAEAAAAAAAAAAADQAAAAhwAAAHBJAAAAAAAAAAABAQAAAAAAAAAA0QAAAIgAAAB0SQAAAAAAAAEAAQAAAAAAAAAAANEAAACIAAAAdEkAAAAAAAABAAEAAAAAAAAAAADSAAAAiQAAAHpJAAAAAAAAAgABAAAAAAAAAAAA0gAAAIkAAAB6SQAAAAAAAAIADQiHSQAAAAAAANMAAAAAAAAAi0kAAAAAAAACAAUIkEkAAAAAAADTAAAAAAAAAJRJAAAAAAAAAwAFCJBJAAAAAAAA0wAAAAAAAACUSQAAAAAAAAEAAQgAAAAAAAAAAAAAAAAAAAAAmUkAAAAAAAAAAAEIAAAAAAAAAAAAAAAAAAAAAJlJAAAAAAAA/wABCgAAAAAAAAAAtQAAAAAAAACZSQAAAAAAAAEAAAAAAAAAhgAAAIoAAACCAAAAggAAAIcAAACDAAAA1AAAAIIAAACDAAAAiwAAAIwAAAADAAAANAAAAAACAAAAAAAArEQAAAQNAACCAAAAhAAAAIIAAACDAAAAAAAAAAAAAAAAAAAAAAAAAIUAAACDAAAAhAAAAIYAAACFAAAAhwAAAIYAAACHAAAAAwAAADQAAAAAAgAAAAAAALFEAAAIDQAAggAAAIQAAACCAAAAgwAAAAAAAAAAAAAAAAAAAAAAAACFAAAAgwAAAIQAAACGAAAAhQAAAIcAAACGAAAAhwAAAAMAAAA0AAAAAAIAAAAAAAC7RAAADA0AAIIAAACEAAAAggAAAIMAAAAAAAAAAAAAAAAAAAAAAAAAhQAAAIMAAACEAAAAhgAAAIUAAACHAAAAhgAAAIcAAAADAAAANAAAAAACAAAAAAAAyEQAAAQNAACCAAAAhAAAAIIAAACDAAAAAAAAAAAAAAAAAAAAAAAAAIUAAACDAAAAhAAAAIYAAACFAAAAhwAAAIYAAACHAAAAiAAAAIkAAACKAAAAAQAAAIgAAACDAAAAhAAAAIgAAACLAAAAjAAAAI0AAACOAAAAjwAAAIkAAACJAAAAigAAAAAAAACEAAAAjQAAAJAAAACFAAAAhQAAAPdEAACKAAAAAAAAAPFEAACLAAAAAAAAAPxEAACRAAAAAAAAAANFAACSAAAAAAAAAApFAACTAAAAAAAAAA9FAACUAAAAAAAAABVFAACVAAAAAAAAAB9FAACLAAAAAAAAACVFAACMAAAAAAAAACpFAAAAAAAAAAAAADBFAAAAAAAAAAAAADhFAACNAAAAAAAAAD5FAAAAAAAAAAAAAEVFAAAAAAAAAAAAAE5FAACWAAAAAAAAAFVFAAAAAAAAAAAAAF9FAACMAAAAAAAAAGZFAACXAAAAAAAAAHRFAACYAAAAAAAAAHpFAACNAAAAAAAAAIBFAACOAAAAAAAAAIdFAACCAAAAAAAAAI9FAACCAAAAAAAAAJRFAACZAAAAAAAAAJtFAAAAAAAAAAAAAKJFAACDAAAAAAAAAK5FAACPAAAAAAAAALdFAACaAAAAAAAAAL1FAAAAAAAAAAAAAAAAAAAAAAAAMkYAADtGAABERgAApkMAAAMAAACOAAAAgwAAAIQAAACIAAAAiwAAAIwAAACbAAAAnAAAAJ0AAACJAAAAiQAAAIoAAAAAAAAAhAAAAI0AAACQAAAAhQAAAIUAAAADAAAAjwAAAIMAAACEAAAAiAAAAIsAAACMAAAAngAAAJ8AAACgAAAAiQAAAIkAAACKAAAAhgAAAIQAAACNAAAAkAAAAIUAAACFAAAAsEoAALhKAAC9SgAAwkoAAMdKAADNSgAAz0oAAORKAADwSgAA/EoAABRLAAAoSwAAAQAAAJAAAACHAAAAiAAAAJAAAAChAAAAogAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB9UAAAsVAAAAAAAADxUAABVVAAAY1QAAHZUAACPVAAAnVQAAMJUAADOVAAA3VQAAP5UAAAQVQAAKVUAAEZVAAAAAAAAV1UAADBKAABzVQAAhVUAAJdVAAC5VQAA2FUAAAAAAADtVQAAB1YAADaTAABAkwAAS5MAAFeTAABikwAAbZMAAHiTAAB9kwAAgpMAAI2TAACZkwAAoJMAAKiTAACwkwAAtZMAALuTAADJkwAAz5MAANmTAADekwAA4pMAAOeTAADqkwAA8JMAAPqTAAABlAAACJQAAA+UAAAWlAAAIZQAACqUAAAwlAAAOpQAAESUAABJlAAAU5QAAF6UAABjlAAAapQAAHCUAAB2lAAAfJQAAIKUAACNlAAAkJQAAJSUAACflAAAp5QAALCUAAC2lAAAwJQAAMeUAADPlAAA0pQAANWUAADYlAAA25QAAN6UAADhlAAA65QAAPiUAAADlQAACZUAAA6VAAAVlQAAIpUAAC2VAAAylQAAOpUAAECVAABHlQAATJUAAFWVAABalQAAY5UAAGiVAABtlQAAc5UAAHuVAACFlQAAjZUAAJSVAAChlQAAppUAALKVAAC5lQAAv5UAAMmVAADUlQAA2JUAAOGVAADqlQAA8ZUAAPuVAAAClgAACpYAABGWAAAYlgAAIJYAACmWAAA0lgAAOpYAAEWWAABPlgAAWZYAAGKWAABslgAAdJYAAIKWAACQlgAAm5YAAKiWAACzlgAAuZYAAMWWAADOlgAA15YAAN6WAADolgAA75YAAPqWAAAIlwAAE5cAABuXAAAhlwAAKZcAADGXAAA+lwAASJcAAFKXAABflwAAaJcAAHCXAAB1lwAAe5cAAIeXAACTlwAAm5cAAKeXAAC0lwAAvpcAAMiXAADUlwAA4JcAAOqXAADwlwAA+pcAAAGYAAANmAAAFpgAAB6YAAAnmAAALpgAADiYAAA/mAAAR5gAAFCYAABWmAAAXpgAAGaYAABwmAAAeZgAAIOYAACNmAAAlpgAAJ+YAACqmAAAr5gAAAFXAAAGVwAADVcAABBXAAATVwAAFlcAABlXAAAcVwAAJFcAAC1XAAAzVwAAOFcAAAkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGB/AAABAAAA33QAAAEAAAADAAEAAAAAAAAAAADVAAAAAAAAABF0AAAAAAAAAQABAAAAAAAAAAAA1gAAAAAAAAC+cwAAAAAAAAIAAQAAAAAAAAAAANcAAAAAAAAAQXIAAAAAAAACAAEAAAAAAAAAAADYAAAAAAAAADdyAAAAAAAAAQABAAAAAAAAAAAA2QAAAAAAAAAjcgAAAAAAAEtyAABvcgAAfHIAAAAAAACJcgAAAAAAAIp2AAABAAAAjXYAAAIAAACQdgAABgAAAJR2AACAAAAAAAAAAAAAAAB7dgAAAAACAIJ2AAAAAAQAAAAAAAAAAAB7eAAAABQAAAgAAACKeAAAAZUAAAAAAACWeAAAAhQAAACAAACmeAAAAxAxAQAAAACidwAABJUAAAAAAACzeAAABZQAAAAAAAC/eAAABgIAAAAAAADTeAAAAhQAAAAAIADjeAAAAhQAABAAAAD4eAAABxAgAgAAAAAHeQAACBAAAAAAAAAXeQAAAhQAAIAAAAAleQAAABgAAA8AAAAyeQAAChEaAwAAAABAeQAAC5UAAQAAAABTeQAAAhQAAAAACABmeQAAAhQAAAABAAB9eQAADBQAAAAAAACGeQAADREqBAAAAACYeQAADmEiCAAAAACpeQAAAhQAAABAAAC2eQAAABgAAAAAAADFeQAAAhQAAAQAAADXeQAAAhQAAAgAAADheQAAAhQAAAACAAD6eQAAEAMAAAAAAAANegAAEWEMAwAAAAAYegAAEmEVBQAAAAAjegAAEWEPBgEAAAAvegAAEzEAAAAAAAA/egAAFJEAAAAAAABMegAAFZAAAAAAAABfegAAAhQAAAIAAAByegAAF5AAAAAAAAB/egAAGJEAAAAAAACOegAAGQAAAAAAAACYegAAGyEAAAAAAAChegAAGJEAAAAAAACsegAAHJQAAAAAAAC2egAAAhQAAAAAEADBegAAEzEAAAAAAADNegAAAhQAAAAEAADeegAAAhQAAAAgAADxegAAAhQAAAAQAAALewAAABQAAAEAAAAaewAAHhAAAAAAAAAoewAAAhQAAEAAAAA7ewAAHwIAAAAAAABJewAAIBAAAAAAAABZewAAIZUAAAAAAABlewAAImEBBgAAAABwewAAIxQAAAAAAAB7ewAAJAQAAAAAAACQewAAJRAAAAAAAACYewAAABQAAAYAAAClewAAJgAAAAAAAAC4ewAAJwEuAwAAAADHewAAAhQAAAEAAAAAAAAAAAAAAIMAAACjAAAAkQAAAAAAAACkAAAAkgAAAIkAAACTAAAAlAAAAJEAAAClAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKJ3AACtdwAAsXcAALZ3AAC7dwAAw3cAAM53AAAScgAAbGMAANF3AADWdwAA23cAAOB3AACtdwAAsXcAAOB3AACtdwAAsXcAAOZ3AADrdwAA8HcAAPR3AACxdwAA+HcAAP93AAAGeAAA9HcAALF3AAAOeAAAsXcAABN4AACxdwAA9HcAALF3AAAbeAAA9HcAAB54AAAzVwAAJHgAACd4AAAxeAAAO3gAAB54AAD3YAAAQXgAAEh4AABNeAAAUngAAFZ4AABjeAAAa3gAAHR4AAARfwAAGH8AACB/AAA8fgAAlHYAACR/AAANfwAAD38AAM53AAACfgAAAQAAAGx+AAABAAAAcn4AAAIAAAB7fgAAAwAAAIR+AAACAAAAjH4AAAMAAACUfgAAAAAAAJt+AAAAAAAAAAAAAAAAAAA7eAAAQAAAAItJAABCAAAAlEkAAEEAAAAnggAAQwAAAOC4AABLigAAUYoAAFaKAABbigAAFJMAAB2TAAAkkwAAKpMAAOoDAAAAQAAA6wMAAAAABADsAwAAAABAAO0DAAAAAAEA7gMAAAAIAADvAwAAAACAAADKmjsAypo70AcAAOgDAAD0AQAAgLLmDn8AAAAKAAAAUMMAAOcDAADoAwAAAAAAAAAAAACEAAAAhAAAAKYAAACVAAAAlQAAAKcAAACWAAAAigAAAJcAAACYAAAAkgAAAKgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJMAAACZAAAAhgAAAJoAAACFAAAAAAAAAAAAAACUAAAAmwAAAIcAAACcAAAAhgAAAAAAAAAAAAAAlQAAAJ0AAACIAAAAngAAAIcAAAAAAAAAAgAAAIgAAACJAAAAqQAAAJ8AAACgAAAAqgAAAKEAAACLAAAAogAAAKMAAACWAAAAqwAAAIkAAACkAAAApQAAAKYAAACnAAAAjAAAAKwAAACtAAAArgAAAK8AAAAAAAAAigAAAIoAAACwAAAAqAAAAKgAAACxAAAAqQAAAI0AAACqAAAAqwAAAJcAAACyAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKiaAADaAAAAsJoAANsAAACYegAA3AAAALiaAADdAAAAF6UAAEOlAACHpQAAo6UAAMClAADbpQAA96UAABCmAACZnAAAHp0AANqcAADingAAtZ8AAC6fAAAopgAAV5wAAMudAABZnQAAXKYAAIOmAACvpgAAaKAAAC2cAABwpAAA4LgAAOC4AACUnQAALKEAAOqhAAANowAAdKMAADakAABhogAAq6MAAMyiAAD6owAAuqEAAPadAABgngAAqZ4AAJCnAAACAAQAk6cAAAMBAwCXpwAAAwECAJunAAAEAAEAuJoAAAkAAADZqwAABgAAAG+pAAAIAAAAeKkAAAoAAAAtVwAABQAAAESpAAAHAAAA4KsAAAoAAADrqwAACgAAAP///////wD8AQAA+AEAAPgwAAAAB+gAAAZsAQAv7AEAB6wCAAHQAgAD2AIAAewCAAH8AgABXAMAAdwDAAQICwAOSAsAB5QLAAG0CwCBvAsAAdQNAAH4DQACEA4AARwOAAHYDwAICBIABmgVAAIkFgABPBYAN0QWAALMFwAFABgAFhgYAAJ4GAAVLBkABKgZAAHAGQABUBsAD1gbAAecGwAC9BsADgAcAAE8HAABRBwAG8AcAAuYHgAJrB8ABNgfAARYIAAJbCAAA5QgAAWkIAAPwCAAA2QhAAF4IQAbkCMABAAkAAPoJAAS+CQAB0QlAASIJQABwCUAAwQmAAHwJgAH+CYAAhwnAAMsJwABXCcAAognAALIJwAC6CcAAwQoAAHwKAAF+CgAAhwpAAMsKQABRCkAAsApAAHUKQADBCoAAfAqAAj4KgADHCsAAywrAAKIKwACwCsAAwQsAAHwLAAH+CwAAhwtAAMsLQACWC0AAogtAAHALQABCC4ABfguAAMYLwAEKC8AAVwvAAjMLwADBDAAB/gwAAMYMQAEKDEAAlQxAAKIMQAB/DEAAggyAAHwMgAH+DIAAxgzAAQoMwACVDMAAogzAAIINAAH+DQAAxg1AAQoNQABXDUAAog1AAHkNQACCDYAASg3AAY8NwABWDcACGA3AAPINwABxDgAB9A4AAH8OAAJHDkAAmg5AAHEOgAG0DoAAuw6AAYgOwAfBDwADNA8ABfEPQALND4AJGQ+AA/4PgANOD8AFKxAAAYoQQAEWEEAA3hBAAOIQQAHnEEABMRBAAwIQgABPEIABmhCAAHsQwAMdE0ACkBOAAEAUAACtFkAAQBaAAJsWgADrFsAA0hcAAXIXAACSF0AAshdACPQXgAEYF8AAXRfAA8AYAABpGIADIBkAAzAZAABAGUAAhBlABHAZgACIGcAInhnAAVcaAACeGgAClRpAB2AaQAB/GkAB4BqAAagagAFAGwAEdBsACNobQADAG4ADYRuAA6YbwAE8G8AFJBwAAXscAAC+HEACABzABlAcwABtHMAA8hzACcAdwAE8HcAAfR+AAP8fgADNH8AA3R/AAO0fwAC9H8AZQCAAAaogQAF6IEABSiCABqAggAhQIMAAgCEAAQMhAACIIQAAVCEAANYhAAGeIQAAZSEAAGchAABpIQAAbiEAALohAAFAIUABCiFAAE8hQBkQoYAJwCQAAsAkQBOcJIAAAKUAHUEnAC5U54ACkCtAAaUswADvLMABOSzAAL4swABwLUAAfy1AE+AtwAMwLgAGgC6AFlsugDWALwADMC/AAUAwAAZIMAAB6jAAALYwAAD9MAABGTCAAGAwgAB7MMAAkDGAApYxgAkAMcAHwDIAB6oyAABQMkAIIDJACcoygA/AMsAAAHMAEAANwE3QJICAviTAgM0mAIQvJkCAXyaAgjAmwIXAJwCAoCcAgIkngIBCKACARigAgEsoAIJjKACBNigAgTQoQICAKICEdCiAgI4owISgKMCA+CjAgqYpAINHKUCAXylAgQApgIbzKYCAninAg6kqAIBDKkCAjCpAgRwqQID3KkCAeypAgHAqgIDyKoCAtyqAgL4qgIBBKsCAnirAgesqwIC1KsCC4yvAgEAYAMC/G0DAvxvAwH8fwMBeOwDAaTsAxDI7gMC+PQDAvD3AxoA+AMHgPgDI8D4AxNQ+QMEoPkDAfz7Aw8E/AMHaPwDBuz8Awts/QMHgP8DB6D/AwXk/wMDAAQECdwEBBHkBQQMQAYELkAHBAF8DgQBQA8EAVwhBAF8JAQB/CQEAwQoBAIUKAQEMCgEA+AoBAH8KAQJQCkEAfwpBAfkLAQDAEAEFuBABAMAQgQSwEIEAwBEBA6cRAQEAEUEAwBGBA7MRgQEFEcEDaxaBATAkQQuRL0FBDy+BfYAQAcnAEQHtaREB0YASAdXAEwHAQRbBwFsWwcB7FsHAVRcBwHUXAcBPF0HAbxdBwEkXgcBpF4HAQxfBwLAuwcsAMAHZMDABw+AwgcOxMIHDwTDBw9EwwcfQMQHPMDEByvAxQcdmMcHK0DIBwkAyQcCQMkHIQDMBwbAzAdG3MwHFADOByWAzgcFGM8HEYDPBz8A0AcBANEHtgjRBwTk0wc+ANQHBADVBxhA1QdG7NcHCxTZB0YA2gd0ANwHAQQAOGCAADjwAAQ4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACguAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwADgAYAB8AOwAPJwAAAgACAAgACQAOABAAFAAXABkAGQAdACEAJAApAC4AMAA1ADYAOwA+AEEAQwBFAE4AUQBWAFsAXwBgAGUAaQBtAHUAegCAAIgAjgCYAJ8AogCiAKUApwCnAKsAsACzALgAuAC8AMAAxwDMANEA1ADaAN0A4QDqAPAA8ADwAPMA9gD6APsA/wAFAQkBEAEWASIBKAExATMBOQE+AUABRwFMAVEBVwFdAWIBZgFpAW8BcwF6AXwBgwGFAYcBkAGUAZoBoAGoAa0BrQG9AcQBywHMAdMB1wHbAd8B4wHmAegB6gHwAfQB/AEBAgkCDAIRAhYCHAIgAiUCYwF4A/0DjQMnBCcEJwQnBBQA7f9CAEIAqgAnBCcEJwQnBCcEJwQnBPn/+f8kAEkARQAbAHYA3gASAUYBegGuAeIBFgJNAoQCuAK4ArgCuAK4ArgCuAK4ArgCuAK4ArgCuAK4ArgCuAK4AuwCuAIfA1EDUQPUAycEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEOwQnBCcEJwQnBCcEJwQnBCcEJwQnBCcEJwQnBNX/YARgBGAEYARgBOH/uP+s//IAgASbAtIA0gDyADUBUAHJ/x4GHgYeBlIDUgNSA3ICcgJMAkwCggPdAAgB8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPABowIhASEBUAEAAAAAAAAAAAAAAAAeBh4GHgY6AmIAYgC+A4UBwgHIA/UDCAQDBPIA8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPIA8gDyAPIAOgQ6BDoE8gDyABUC8gDyAPIA2wPyAPIAuATyAPIA8gDyAPIA8gDyAPIA8gDyALMBEwLpA+kD6QNAA7IB8gRSAjoAXwNfA7gDOgC4A7ID4gLvAJEAXwMNApEAkQA7AYcCFgOWBF8EXwS0BLQEXwTiBNAEewTvBO8E7wTvBF8E8QR7BOIE0ATQBHsEXwTxBKIEEQVfBF8E8QRcBV8E8QRfBPEEXAUOBQ4FDgU+BVwFDgUVBQ4FPgUOBQ4FBgUaBQYFGgUGBRoFBgUaBV8EdgVfBAUFXAU2BTYFXAUYBRwFGwUdBXsEhAWFBZQFlAWfBZ8FnwUeBh4GHgYeBh4GHgYeBh4GzABBAa0B0wFCAvEBiAPjAhsEGQMaAx4DIAMiA0YDAAP+AiED+gJPA1UDLAN7A6kCEAOAA2AD5AOxBbMFoQUqBaoFaQWrBaUFpgVGBTwFUQVIBa0FSQW1BcYFTQVHBZYFlwWYBZkFWgVvBa4FVwXRBc4FvgVqBUsFlQW/BZoFkAWyBXEFxwXKBc0FcgV4Bc8FogXQBdIFzAXTBagFywXVBawFyAXYBdkF2gXbBX4F1gXcBd4F3QV8BeEF4gWbBd8F5AWABeMF4AXlBeYF5wXjBekF7AXtBesF7wXxBf4F8wX1BfQF9gX3BfkF+gX2BfwF+wX9Bf8FAQaTBZ4FoAWjBQIGBgYaBkQBKwWbAJsAAgDLAF4AXgBeAF0AXgFiAGIAYgBiAFsAXwBfAF4AXgBeAF0AXgEMAWMAZABaAMsDywNPA1IDRwNHA2EAYQBiAGIAYgBiAF4ByQNgAGAAYABgAF8AXwBeAF4AXgBdAF4BtgNgAGAAYABgAF8AXwBeAF4AXgBdAF4B+gBgAGAAYABgAF8AXwBeAF4AXgBdAF4B4ADgAMkDhAB4A1wBWwGfAawARAEGBcEBngG2A7cDuAMoA9EDCAS2AywBEgOsAYQAzwNqAdADCQAJABMDhAA0ADQAYwBkAFoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIAdAHSA/EA0gMGAXEBBQF4ALYDtwO4A8IAOgBEAZEBjgGNASgDqwGtAUsAKAPsBOwEhACMAWAAYABgAGAAXwBfAF4AXgBeAF0AXgFjAGQAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgASAwYBcQEFAToDBgFsAfsAEwM8BGUAWgRIAEQB4wBZBPIAmwG6ATMDXABZALIAMgP+AwwBYABgAGAAYABfAF8AXgBeAF4AXQBeAWMAZABaAMsDywNPA1IDRwNHA2EAYQBiAGIAYgBiAMEBdAEyAzIDNANcAFkAsgA8AFwAWQCyAAEERAFlAaIDJAUsAT0AJAU0ADQARANEA1ADUwNgAGAAYABgAF8AXwBeAF4AXgBdAF4BYwBkAFoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIAXABZALIAqwGcAcYAogMlBcYB4wMlBWMBAAREAfMA5wByABUBXAFbAdoEtgOgAS8EoANIA2AAYABgAGAAXwBfAF4AXgBeAF0AXgFjAGQAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgDBAUgBwQF4ABcAAAG2A7cDuAPIA9IDtgHSA0QBSQGgA7oDvQLIAK8ANAA0ADQANACrA2EBYABgAGAAYABfAF8AXgBeAF4AXQBeAWMAZABaAMsDywNPA1IDRwNHA2EAYQBiAGIAYgBiAGIBwQG6A6sBoQGrAaoBCgVcAFkAsgAMAf0ARAH/ACIEDQS2Al0AXgF/ATQANAB8ASIEdgFgAGAAYABgAF8AXwBeAF4AXgBdAF4BYwBkAFoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIA5ADBAacAwQGrAZcBnQC+Ab4BvgFdAV0BXQFEATYBPAHfAzsDQAHyAJsBMwAzACQAJAD+AGAAYABgAGAAXwBfAF4AXgBeAF0AXgFjAGQAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgDCADwBoQORAY4BjQHgAOAA8QSrA2EBJgU9AUQBjAEnBCcELQOeASUEJQS2AysBwAHgAwwBYABgAGAAYABfAF8AXgBeAF4AXQBeAWMAZABaAMsDywNPA1IDRwNHA2EAYQBiAGIAYgBiAPUCEQTBAX0DfQOCAbYDtwO4A5oB4APrAusCRAHlAAwB3QAoAQwBAwN6A3oBNAA0AHoDpQFgAGAAYABgAF8AXwBeAF4AXgBdAF4BYwBkAFoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIAZwDBARMBgAHZBFcBnQC3BI0DnQKeAp8CsADFAMQAwwBEASoBPwHyBAIAJQAlAI4DbgQQBGAAYABgAGAAXwBfAF4AXgBeAF0AXgG5Ao8DsQBjAGQAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgDmAJIAeADfAtMEOgMOAXUEEQF1BAMDqwCqAOACdQRSAEQBUAAMAbkCMwOeAAwBegEyA04AYABgAGAAYABfAF8AXgBeAF4AXQBeAXgAtgOJAWMAZABaAMsDywNPA1IDRwNHA2EAYQBiAGIAYgBiADIDMgM0A3UELgRyAUsBhQAqBHUE4gTGAAwBRAH4A0oB9QBNARgATgG2A7cDuANwAU8BUQBgAGAAYABgAF8AXwBeAF4AXgBdAF4BYwBkAFoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIAhAALAQQBvQFKAd8ArwAJBZ0D8ALUAj4BMQREAe8C9gCBAS0BLQF6AUkBaQFYAZ4B0QQYAWAAYABgAGAAXwBfAF4AXgBeAF0AXgFjAFgAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgBRAVoB0QLSAsEBeAB2AHcDogB3AyoDcwFEAcoAygB1AfkABwHKAIoBSgDAAtAALQQMAAwAYABgAGAAYABfAF8AXgBeAF4AXQBeAWQAWgDLA8sDTwNSA0cDRwNhAGEAYgBiAGIAYgDBAQMD6ADBARYBeAAeAUoAwALKAskCRAFWAe0CbQO5BE0AHQHnBAwDNAA0AMoAGwAbAKIBYABgAGAAYABfAF8AXgBeAF4AXQBeAVoAywPLA08DUgNHA0cDYQBhAGIAYgBiAGIAVgC8AW0DAwCpBKYB9QNpA7MBdgPQAHYDsQJDBAEBdAA2A78BzgR1AM0EVgC8AbEAAwB9AWAAYABgAGAAXwBfAF4AXgBeAF0AXgFTAb8BeABfAXgA1ACpAB8BlAEaAZMBxwADA7YDsQGjAbcBNgMYAbMCDwQIAQ0BhABfAZkAOgN4AUoAEAESARQBUwBUAB4EsQGTAA4EuwFVAF8BwwHCARkBhAAyAxkAOgPBAXgAtgO3A7gDUwBUAFYAvAGzAgMAmAFVAF8BwwHCAcEBBQAyA8sAIAAgAFMEeAC/AbYD4QB0BDIDMgM0AzUDEwDLAOIAtgMmACYAPwQ6AToBOQHXADcBeADBAaYCXwHtADIDMgM0AzUDEwDJA5kBeQEBALEBtADCAvgAtgO3A7gDCgAKAMEByQP3ADoDSgS2A7cDuAOuAVMAVAD0AlABtgMUAK8BVQBfAcMBwgEKAAoAMgNWALwByQMDALYDwQEuAS8BtgC2A3oEUgH9A/cD7AO3AMkDvwGEALUATAC8ARUAAwDBAQoACgC2A7cDuAMyAzIDNAM1AxMAywL/BL8BhQHpAF8BtgO3A7gDCgAKALYDtwO4A+sD2gCxAe0DRQH5BAUDIQEjAagBJQFfAQcAnwA6A2sBkgE7AWgBaQRTAFQAsQHQBMwCBAMDAVUAXwHDAcIBZgF3ATIDOgNoAWcBjwG7BJ0AUwBUAKkCYgBiAGIAYgBVAF8BwwHCAUMB/AAyAycBuwS9BNMErQANBBwBsgFUAbQEMgMyAzQDNQMTADQB6gDBAeoAYABgAGAAYABfAF8AXgBeAF4AXQBeATIDMgM0AzUDEwCNA3gAJwAnALMEwQGoAGgBwQH8BG8BwQGHAMEB2gOOA8EB4QTBAd8EwQHNANcDwQFyASgAKAC7BCkAKQCPAyoAKgAcABwAZgMdAB0AHwAfACsAKwB7ASwALADBATsAwQFMAcEBsAE+AJAAnADBAYIAwQFIAMEBiQDBAW0BwQGIAYsALQAtAAsACwAuAC4AjACwBMEBaQBpAC8ALwAwADAAIQAhADEAMQBmBMEBjQBuAcEBuQCOAMEB0gQyADIAwQGgAMEBlADBAXAEfgHBAUMAwQEiACIAwQF6AHoAwQF7AHsAwQGuBHwAfAA4ADgAIwAjAMEBagBqADUANQDBAWsAawDBAWwAbADBAWgAaADBAZYBwQGEAcEBvQB5AHkAwQG+AMEBdwB3AMEBcABwAMEBbwBvAMIEbQBtAG4AbgA3ADcACgHwAjkAOQA2ADYA7wIaABoASwQeAB4A2wCaAIYBDwG/AEEB7gPAAJUBIQQgBB8EVQEYBMICFwQFBEIBpAEEBEcARwQbASABAwQIBcwABgApAU8AoAS1AUgERgQiAVkBJAG5AUUEJgFmAKkBSQCnAdUA9AMWAMQBsQPWADUE2ADZAO4AxQEyATABMwHvAPAA6QMxAX0A5AN+AHMA6wB/AJkCYAGmAPQAswBkAXEAdQNzAyYDiACAAOICRgGKAEcBAgG4AIMDjwCBAJEAPwBAAEEAQgCGA7oAuwCCAwgADQC8AIYACQF7A8oA1AODAZYAlQCoAqEAhwHBAB0BFwGLAZcARADNAg4ADwCQAUUAEACDAOwAOQM4A1UD6gLuAgQARgCuAJ0B3ADeAJgACwMGA00AZANKAFYDyQARAFQDjAPOAIsDzwASAFkDpgOjALQB0gCnA6QA0QClALgBWAM3AzgBsgJXANMANQEBBawD4wMABfYE7ATsBOwEqQSpBKkEqQTsBEAEXQRdBNwEKgUqBSoFKgUqBSoFqAQqBSoFKgUqBewERARjBCoFKgUqBSoFqgSrBCoFKgUqBdsE3QRtBGwEawRqBMoEUARoBGEEZQSqBKQEpQSjBKcEqwQqBWQEhgSUBIUEKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgWOBJMEmgSSBI8EiASHBIkEigQqBfMDIwQqBSoFKgWLBCoFjASXBJYElQTjBP4E/QQqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgX2BOwE+QP5AyoF7ATsBOwE7ATsBOwE6AREBDsEKgUqBSoFKgUqBSoFKgUqBSoFKgUqBeAE3gQqBbgEKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBUAEKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoF+AQqBcUEQARABEAEQgQwBDoE5QNnBFIEUgQfBWcEHwUKBAwFBwRdBFIEpgRdBF0EQQQ6BCoFIgVJBEkEIQUhBUkEcgQmBGcELAQsBCwELARJBPADZwRyBCYEJgRnBEkE8APJBBwFSQRJBPADsQRJBPADSQTwA7EEJAQkBCQEGQSxBCQECgQkBBkEJAQkBFYEUQRWBFEEVgRRBFYEUQRJBKwESQQqBbEEtQS1BLEEYgRXBGAEXgRnBPYDHAT7BPsE9wT3BPcEJwUnBegEBwUHBQwEDAQHBSoFKgUqBSoFKgUqBQIFKgW6BCoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBXcEKgXhA+UEKgUqBeQEKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBR4FKgUqBSoFKgUqBSoFyATHBCoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUqBSoFKgUyBCoFKgUqBRAFKgUqBSoFKgUqBSoFKgVfBCoFWAQqBSoFFQUqBSoFKgUqBSoFKgUqBSoFKgUqBe4EKgUqBSoF7QQqBSoFKgUqBSoFeQQqBXgEfAQqBeoDKgVx/7//jABIA0wAtAC2AOkA6AHn/wwAEAA7AHUDiwOnA4YBwQK6Ax0B5QP5A/oDiv8BBIsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrAKsAqwCrALv/HwG5AZICxAJYAxoEMQQ0BDcEOQQ8BD4EQARDBFkEWwRdBGIEZARmBGgEagR1BIEEhASHBIsEjQSPBJIElASXBJoEnQSlBKoErQSwBLMEtQS3BLsEvQTABMMEqwCrAKsAqwCrAKsAqwCrAKsAMQCwANwAEwEWASIBqwAsAasAqwCrAKsAq/+r/6v/5P9NADkBPQHI//wA/AC+AX//8wBpAZMBlgEBAgUCmQH2AQYC+AH9AW0CKQIyAmsCLwJdAGwC0QHFASYCTwI7AmcCmgLuAvACHQMzA88BJAK3/xwARAB4AAEBzgBnAZUBnQHEAckBMAI2AmkCngLQAtMCAQMFAwcDDAMtAy4DNQM2AzcDOgNoAbQBDwM9A0MDwwJeA2MDbgM+A48DkwNzA6gDqQOsA2cBrgOvA7AD0wPWA9gDdgODA6ADoQOjA8MCswOxA+YDtQOkA8kDlgO5A5wD4APtA/ID+APLA8UD+wMZBOgDBAQyBN0DNgQ4BAIEBwRVBB0EQgRPBEQESwRaBF4EfAR/BFcESARpBGsEbQSKBLIEcgR6BM8E0gS2BMIE1QTXBNgE2gTFBMwEzQTOBMgE0QTTBNQE2QTKBNsE3ASuBLEEuQS8BLoEvgS/BMEE7ASvBO4ExATfBMYExwTlBNYE3QTjBN4E4QT8BP8ECQULBRAFFgUZBckEywTgBAoFDAUABQEFDwUhACAAHgAcABoAAAACAAMABQAGAAcACAAJABAQAhAQAAICQQAOGrUAQAHAAA4X2AAOBwABATAyAQEGOQEBEEoBAS54AXQBeQEBBn8BaAGBATIBggEBBIYBLAGHAQABiQEqAosBAAGOASABjwEmAZABKAGRAQABkwEqAZQBLgGWATQBlwEwAZgBAAGcATQBnQE2AZ8BOAGgAQEGpgE8AacBAAGpATwBrAEAAa4BPAGvAQABsQE6ArMBAQS3AT4BuAEAAbwBAAHEAQIBxQEAAccBAgHIAQABygECAcsBARLeAQES8QECAfIBAQT2AXoB9wGGAfgBASggAm4BIgIBEjoCRgE7AgABPQJsAT4CRAFBAgABQwJqAUQCHAFFAh4BRgIBCkUDJAFwAwEEdgMAAYYDEgGIAxADjAMaAY4DGAKRAw4RowMOCcIDAAHPAwQB0AOMAdEDjgHVA5IB1gOQAdgDARjwA4gB8QOKAfQDggH1A4AB9wMAAfkDmAH6AwAB/QNuAwAEIhAQBA4gYAQBIooEATbABAYBwQQBDtAEAVgxBRYmoBBCJscQQgHNEEIBAB4BlpsehAGeHmABoB4BYAgflggYH5YGKB+WCDgflghIH5YGWR+XCGgflgiIH5YImB+WCKgflgi4H5YCuh9+ArwflAG+H2QByB98BMwflAHYH5YC2h94AugflgLqH3YC7B+YAfgfcAL6H3IC/B+UASYhYgEqIVwBKyFeATIhDAFgIQgQgyEAAbYkChoALBYvYCwAAWIsWAFjLGYBZCxaAWcsAQZtLFQBbixWAW8sUAFwLFIBciwAAXUsAAF+LE4CgCwBZOssAQTyLAABQKYBLoCmARgipwEOMqcBPnmnAQR9p0wBfqcBCounAAGNp0oBkKcBBKCnAQqqp0gBIf8OGgEAAgAIAA8AEAAaABwAIAAlACYAKAAwAD8AQABFAEcATwBQAHQAygDLAM0AzgDPANEA0gDTANUA1gDZANoA2wAHA2AcKCorKrxa2Fr8dcHV4dXi1eTVA9YJ1hnWQd+630Hio+L74xrx9P49/13/fv+A/4L/h/+Q/5z/n/+q/7b/wP/E/8b/yP/K/9D/4v/n/+r/8f/3//j/+f8AAAUHOAdDB2MHiAeUB8sH6Af4BwwIPgh4CJ4I2AjuCCgJTwmoCbgJ1AkkCmwKrAreChoLTguKC6gLuAvUCwgNgA1wDoAOkA6gDjgPSA9YD4APqA/IDwoQKhBKEGoQihCqEMgQ2BD4EDgRSBF4EZgRBBg2GHgYiBjYGB0ZaRmBGQjwHPBe8JjwyvD48AjxHvFY8WjxjPG48drx/PEu8qryyvL48grzXvOc8+rzDvRI9Fr0ePSM9LD0uPTA9Mj0CvXM9Ur2avYq9573YWNvcwBhc2luAGF0YW4AYXRuMgBhdGFuMgBhY29zaABhc2luaABhdGFuaABkaWZmZXJlbmNlAGRlZ3JlZXMAcmFkaWFucwBjb3MAc2luAHRhbgBjb3QAY29zaABzaW5oAHRhbmgAY290aABleHAAbG9nMTAAcG93ZXIAc2lnbgBzcXJ0AHNxdWFyZQBjZWlsAGZsb29yAHBpAHJlcGxpY2F0ZQBjaGFyaW5kZXgAbGVmdHN0cgByaWdodHN0cgByZXZlcnNlAHByb3BlcgBwYWRsAHBhZHIAcGFkYwBzdHJmaWx0ZXIAc3RkZXYAdmFyaWFuY2UAbWVkaWFuAGxvd2VyX3F1YXJ0aWxlAHVwcGVyX3F1YXJ0aWxlAGFyZ2M9PTEAYy9leHRlbnNpb24tZnVuY3Rpb25zLmMAYWNvc0Z1bmMAYXNpbkZ1bmMAYXRhbkZ1bmMAYXJnYz09MgBhdG4yRnVuYwBhY29zaEZ1bmMAYXNpbmhGdW5jAGF0YW5oRnVuYwBkaWZmZXJlbmNlRnVuYwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAgMAAQIAAAICBAUFAAECBgIDAAEAAgACAAAAAAAAAAECAwABAgAAAgIEBQUAAQIGAgMAAQACAAIAAAAAAD8wMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAgICAgICAgICAgICAgICAwMDAwMDAwMEBAQEBAQEBHJhZDJkZWdGdW5jAGRlZzJyYWRGdW5jAGNvc0Z1bmMAc2luRnVuYwB0YW5GdW5jAGNvdEZ1bmMAY29zaEZ1bmMAc2luaEZ1bmMAdGFuaEZ1bmMAY290aEZ1bmMAZXhwRnVuYwBsb2dGdW5jAGxvZzEwRnVuYwBwb3dlckZ1bmMAc2lnbkZ1bmMAc3FydEZ1bmMAc3F1YXJlRnVuYwBjZWlsRnVuYwBmbG9vckZ1bmMAZG9tYWluIGVycm9yAGFyZ2M9PTMgfHxhcmdjPT0yAGNoYXJpbmRleEZ1bmMAbGVmdEZ1bmMAcmlnaHRGdW5jADE9PWFyZ2MAcmV2ZXJzZUZ1bmMAcHJvcGVyRnVuYwBwYWRsRnVuYwBwYWRyRnVuYwBwYWRjRnVuYwBzdHJmaWx0ZXJGdW5jAHZhcmlhbmNlU3RlcABtb2RlU3RlcAAzLjIyLjAAJXMgYXQgbGluZSAlZCBvZiBbJS4xMHNdAG1pc3VzZQAyMDE3LTExLTI3IDE3OjU2OjE0IDQ2NTM1MGU1NWRkYWYzMGNmYmE3ODc0NjUzMzAxZGU3MjM4YTlkYzJiYzVlMWY4MDBmYzk1ZGU5MzYwNjc5ZjYAJQBkCgEQAABzAAQFAABnAAEDHgB6AAQGAABxAAQJAABRAAQKAAB3AAQOAABjAAAIAABvCAAAAAJ1CgAQAAB4EAAAEAFYEAAAAARmAAEBAABlAAECHgBFAAECDgBHAAEDDgBpCgEQAABuAAAEAAAlAAAHAABwEAANAAFUAAALAABTAAAMAAByCgEPAAB0aHN0bmRyZAAwMTIzNDU2Nzg5QUJDREVGMDEyMzQ1Njc4OWFiY2RlZgAteDAAWDAATlVMTAAoTlVMTCkALgBOYU4AAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+P0BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5eltcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AgYKDhIWGh4iJiouMjY6PkJGSk5SVlpeYmZqbnJ2en6ChoqOkpaanqKmqq6ytrq+wsbKztLW2t7i5uru8vb6/wMHCw8TFxsfIycrLzM3Oz9DR0tPU1dbX2Nna29zd3t/g4eLj5OXm5+jp6uvs7e7v8PHy8/T19vf4+fr7/P3+/3VuaXgAdW5peC1ub25lAHVuaXgtZG90ZmlsZQB1bml4LWV4Y2wAb3NfdW5peC5jOiVkOiAoJWQpICVzKCVzKSAtICVzAGNsb3NlAG9wZW4AYWNjZXNzAGdldGN3ZABzdGF0AGZzdGF0AGZ0cnVuY2F0ZQBmY250bAByZWFkAHByZWFkAHByZWFkNjQAd3JpdGUAcHdyaXRlAHB3cml0ZTY0AGZjaG1vZABmYWxsb2NhdGUAdW5saW5rAG9wZW5EaXJlY3RvcnkAbWtkaXIAcm1kaXIAZmNob3duAGdldGV1aWQAbW1hcABtdW5tYXAAbXJlbWFwAGdldHBhZ2VzaXplAHJlYWRsaW5rAGxzdGF0AGlvY3RsACVzAGF0dGVtcHQgdG8gb3BlbiAiJXMiIGFzIGZpbGUgZGVzY3JpcHRvciAlZAAvZGV2L251bGwAY2Fubm90IG9wZW4gZmlsZQBTUUxJVEVfVE1QRElSAFRNUERJUgAlcy9ldGlscXNfJWxseCVjAC92YXIvdG1wAC91c3IvdG1wAC90bXAAZnVsbF9mc3luYwAvZGV2L3VyYW5kb20AZnN5bmMAbW9kZW9mAHBzb3cAJXMubG9jawBjYW5ub3QgZnN0YXQgZGIgZmlsZSAlcwBmaWxlIHVubGlua2VkIHdoaWxlIG9wZW46ICVzAG11bHRpcGxlIGxpbmtzIHRvIGZpbGU6ICVzAGZpbGUgcmVuYW1lZCB3aGlsZSBvcGVuOiAlcwAlcy1zaG0AcmVhZG9ubHlfc2htAAICAwUDBAUEAAECBAkMDxRvbm9mZmFsc2V5ZXN0cnVleHRyYWZ1bGwAAQAAAAEBAwIAAAAAAAAAAAABAQEBAQAAAAAAAAAAAAAAAAAAAAAAAAEAgABAAACAAAAAAAAAAAAMDAwMDAwMDAwMAAAAAAAAAAoKCgoKCgICAgICAgICAgICAgICAgICAgICgAAAAECAKioqKioqIiIiIiIiIiIiIiIiIiIiIiIiIiIAAAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAc3FsaXRlX2NvbXBpbGVvcHRpb25fdXNlZABzcWxpdGVfY29tcGlsZW9wdGlvbl9nZXQAdW5saWtlbHkAbGlrZWxpaG9vZABsaWtlbHkAbHRyaW0AcnRyaW0AdHJpbQBtaW4AbWF4AHR5cGVvZgBsZW5ndGgAaW5zdHIAcHJpbnRmAHVuaWNvZGUAY2hhcgBhYnMAcm91bmQAdXBwZXIAbG93ZXIAaGV4AGlmbnVsbAByYW5kb20AcmFuZG9tYmxvYgBudWxsaWYAc3FsaXRlX3ZlcnNpb24Ac3FsaXRlX3NvdXJjZV9pZABzcWxpdGVfbG9nAHF1b3RlAGxhc3RfaW5zZXJ0X3Jvd2lkAGNoYW5nZXMAdG90YWxfY2hhbmdlcwByZXBsYWNlAHplcm9ibG9iAHN1YnN0cgBzdW0AdG90YWwAYXZnAGNvdW50AGdyb3VwX2NvbmNhdAAqP1sAZ2xvYgAlXwABbGlrZQBjb2FsZXNjZQBMSUtFIG9yIEdMT0IgcGF0dGVybiB0b28gY29tcGxleABFU0NBUEUgZXhwcmVzc2lvbiBtdXN0IGJlIGEgc2luZ2xlIGNoYXJhY3RlcgAAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB0eHwABAgMEBQYHCAkKCwwNDg8AAQIDBAUGBwABAgMAAQAAc3RyaW5nIG9yIGJsb2IgdG9vIGJpZwAsAGludGVnZXIgb3ZlcmZsb3cABAUDBQEFAQUCBQIFAQUBBQQFAwUBBQEFAgUCBQEFAQU5MjIzMzcyMDM2ODU0Nzc1ODAAJSEuMTVnACUhLjIwZQAwMTIzNDU2Nzg5QUJDREVGJS4qZgBpbnRlZ2VyAHJlYWwAdGV4dABibG9iAG51bGwAASAAQ09NUElMRVI9Y2xhbmctNC4wLjAARElTQUJMRV9MRlMARU5BQkxFX0ZUUzMARU5BQkxFX0ZUUzNfUEFSRU5USEVTSVMAT01JVF9MT0FEX0VYVEVOU0lPTgBUSFJFQURTQUZFPTAAU1FMSVRFXwBqdWxpYW5kYXkAZGF0ZQB0aW1lAGRhdGV0aW1lAHN0cmZ0aW1lAGN1cnJlbnRfdGltZQBjdXJyZW50X3RpbWVzdGFtcABjdXJyZW50X2RhdGUAJTAyZAAlMDYuM2YAJTAzZAAlLjE2ZwAlbGxkACUwNGQANDBmLTIxYS0yMWQAbm93AG5vbi1kZXRlcm1pbmlzdGljIGZ1bmN0aW9uIGluIGluZGV4IGV4cHJlc3Npb24gb3IgQ0hFQ0sgY29uc3RyYWludABsb2NhbHRpbWUAdW5peGVwb2NoAHV0YwB3ZWVrZGF5IABzdGFydCBvZiAAbW9udGgAeWVhcgBkYXkAc2Vjb25kAG1pbnV0ZQBob3VyAGxvY2FsIHRpbWUgdW5hdmFpbGFibGUAMjBjOjIwZQAyMGUAMjBiOjIwZQAlMDRkLSUwMmQtJTAyZCAlMDJkOiUwMmQ6JTAyZAAlMDJkOiUwMmQ6JTAyZAAlMDRkLSUwMmQtJTAyZABzcWxpdGVfcmVuYW1lX3RhYmxlAHNxbGl0ZV9yZW5hbWVfdHJpZ2dlcgBzcWxpdGVfcmVuYW1lX3BhcmVudAAlcyUuKnMiJXciACVzJXMAGxsbGxsbGxsbBwcbBwcbGxsbGxsbGxsbGxsbGxsbGxsHDwgFBBYYCBESFRQXCxoQAwMDAwMDAwMDAwUTDA4NBgUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQkbGxsBCAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBGwobGRsCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkxpdUoALQAAUgBNAAAqDE4PAHRVNnAAEwAAeQB3cwAWXQAJAABGRwBFBgAwWmYAdmUAACwAZxgAEQB6NRcABW4ZYAAAfGo8ezkcNwBbAGQaAGMAAABfXGFYbQ4nbABRABJZbyAAeFBxPi5UAABeKDtyACQAAB0AVj9AABQ9ADgHBwUEBgQFAwYHAwYGBwcDCAIGBQQEAwoEBgsGAgcFBQkGCQkHCgoEBgIDCQQCBgUHBAUHBgYFBgUFCQcHAwIEBAcDBgQHBgwGCQQGBQQHBgUGBwUEBQYFBwMHDQICBAYGCAURDAcICAIEBAQEBAICBgUIBQgDBQUGBAkDUkVJTkRFWEVERVNDQVBFQUNIRUNLRVlCRUZPUkVJR05PUkVHRVhQTEFJTlNURUFEREFUQUJBU0VMRUNUQUJMRUZUSEVOREVGRVJSQUJMRUxTRVhDRVBUUkFOU0FDVElPTkFUVVJBTFRFUkFJU0VYQ0xVU0lWRVhJU1RTQVZFUE9JTlRFUlNFQ1RSSUdHRVJFRkVSRU5DRVNDT05TVFJBSU5UT0ZGU0VURU1QT1JBUllVTklRVUVSWVdJVEhPVVRFUkVMRUFTRUFUVEFDSEFWSU5HUk9VUERBVEVCRUdJTk5FUkVDVVJTSVZFQkVUV0VFTk9UTlVMTElLRUNBU0NBREVMRVRFQ0FTRUNPTExBVEVDUkVBVEVDVVJSRU5UX0RBVEVERVRBQ0hJTU1FRElBVEVKT0lOU0VSVE1BVENIUExBTkFMWVpFUFJBR01BQk9SVFZBTFVFU1ZJUlRVQUxJTUlUV0hFTldIRVJFTkFNRUFGVEVSRVBMQUNFQU5ERUZBVUxUQVVUT0lOQ1JFTUVOVENBU1RDT0xVTU5DT01NSVRDT05GTElDVENST1NTQ1VSUkVOVF9USU1FU1RBTVBSSU1BUllERUZFUlJFRElTVElOQ1REUk9QRkFJTEZST01GVUxMR0xPQllJRklTTlVMTE9SREVSRVNUUklDVFJJR0hUUk9MTEJBQ0tST1dVTklPTlVTSU5HVkFDVVVNVklFV0lOSVRJQUxMWQAAAAAEAAAAAAAAAAAAAgAAAAAAAA0AAAAAAAcAAAAAAAAAAAAAAAAAAAAhABUAAAAAADIAKwMvAAAAAB4AOgAmAAAAAUIAAEMAKQAAAAAAADFBAAAAAB80ECIKAAAAAAAAAAtITwAIAGhiAGsAVwBLMwAbJUlTACNEAABQYIwnOiloQiFxPT4vAkCOJhh3EGKKC3CLdQYca2KNRgkUDXZLaWODRENvFRUrZwMZT2IOIIB/bgViRzAzE0FlLyMfbYheEVIoCHxsLgQeRRt4ToGJglEdSCxkag8xJDwKJWJSUmYHeS1yKntiLyISMn5JYgxKc31MTT90JS4qcyIldyIlcwBmYWlsZWQgbWVtb3J5IHJlc2l6ZSAldSB0byAldSBieXRlcwBmYWlsZWQgdG8gYWxsb2NhdGUgJXUgYnl0ZXMgb2YgbWVtb3J5AHVuYWJsZSB0byBvcGVuIGEgdGVtcG9yYXJ5IGRhdGFiYXNlIGZpbGUgZm9yIHN0b3JpbmcgdGVtcG9yYXJ5IHRhYmxlcwA6bWVtb3J5OgAtam91cm5hbAAALXdhbAAAbm9sb2NrAGltbXV0YWJsZQByZWNvdmVyZWQgJWQgcGFnZXMgZnJvbSAlcwDZ1QX5IKFj12RhdGFiYXNlIGNvcnJ1cHRpb24AY2Fubm90IGxpbWl0IFdBTCBzaXplOiAlcwByZWNvdmVyZWQgJWQgZnJhbWVzIGZyb20gV0FMIGZpbGUgJXMAbWFpbgBTUUxpdGUgZm9ybWF0IDMAQCAgAEFQSSBjYWxsZWQgd2l0aCBmaW5hbGl6ZWQgcHJlcGFyZWQgc3RhdGVtZW50AEZPUkVJR04gS0VZIGNvbnN0cmFpbnQgZmFpbGVkACVzLW1qWFhYWFhYOVhYegBNSiBjb2xsaWRlOiAlcwBNSiBkZWxldGU6ICVzAC1taiUwNlg5JTAyWAB1bmtub3duIGVycm9yAGFib3J0IGR1ZSB0byBST0xMQkFDSwBub3QgYW4gZXJyb3IAU1FMIGxvZ2ljIGVycm9yAGFjY2VzcyBwZXJtaXNzaW9uIGRlbmllZABxdWVyeSBhYm9ydGVkAGRhdGFiYXNlIGlzIGxvY2tlZABkYXRhYmFzZSB0YWJsZSBpcyBsb2NrZWQAb3V0IG9mIG1lbW9yeQBhdHRlbXB0IHRvIHdyaXRlIGEgcmVhZG9ubHkgZGF0YWJhc2UAaW50ZXJydXB0ZWQAZGlzayBJL08gZXJyb3IAZGF0YWJhc2UgZGlzayBpbWFnZSBpcyBtYWxmb3JtZWQAdW5rbm93biBvcGVyYXRpb24AZGF0YWJhc2Ugb3IgZGlzayBpcyBmdWxsAHVuYWJsZSB0byBvcGVuIGRhdGFiYXNlIGZpbGUAbG9ja2luZyBwcm90b2NvbABkYXRhYmFzZSBzY2hlbWEgaGFzIGNoYW5nZWQAY29uc3RyYWludCBmYWlsZWQAZGF0YXR5cGUgbWlzbWF0Y2gAYmFkIHBhcmFtZXRlciBvciBvdGhlciBBUEkgbWlzdXNlAGxhcmdlIGZpbGUgc3VwcG9ydCBpcyBkaXNhYmxlZABhdXRob3JpemF0aW9uIGRlbmllZABjb2x1bW4gaW5kZXggb3V0IG9mIHJhbmdlAGZpbGUgaXMgbm90IGEgZGF0YWJhc2UAQVBJIGNhbGxlZCB3aXRoIE5VTEwgcHJlcGFyZWQgc3RhdGVtZW50AGsoJWQAQklOQVJZAEIALQAsJXMlcwApACglLjIwcykAJXMoJWQpACVkAChibG9iKQB2dGFiOiVwACwlZABdAHByb2dyYW0AJS4yeABBUEkgY2FsbCB3aXRoICVzIGRhdGFiYXNlIGNvbm5lY3Rpb24gcG9pbnRlcgBpbnZhbGlkAHVub3BlbmVkAGRhdGFiYXNlIHNjaGVtYSBpcyBsb2NrZWQ6ICVzAHN0YXRlbWVudCB0b28gbG9uZwBhZGRyAG9wY29kZQBwMQBwMgBwMwBwNABwNQBjb21tZW50AHNlbGVjdGlkAG9yZGVyAGZyb20AZGV0YWlsAHVucmVjb2duaXplZCB0b2tlbjogIiUuKnMiABOQkZKTGFpbXF1eNjc4OTpYWVpbXF1emCssLS4vMDEyMzQ1Njc4OV47VFVWV1hZWltcXV47VFVWV1hZWltcXV7BVFVWV1hZWltcXV7Cw2FPC1hZmBoTq5jOYGFiSGSzO5gfo09r222srSdPrK0rLC0uLzAxMjM0NTY3ODmYhMeGbG1uxGBhYmPRE2ZnaEjP0BpId3hPcVRVVldYWVpbXF1eKywtLi8wMTIzNDU2Nzg5H2xtblJsbW4n0kSvghPar3d4+mHd3t9lrJhUVVZXWFlaW1xdXissLS4vMDEyMzQ1Njc4OZiYhIWG3d7fQt3e36wTwRYXmBgarK0uLzAxVFVWV1hZWltcXV4rLC0uLzAxMjM0NTY3ODnd3t/P0C4WF5SVGvKsE5ranBdYWfE7o6NTZVRVVldYWVpbXF1eKywtLi8wMTIzNDU2Nzg5mJ2YxMQQYGFiGoT6hhNrUzsX09SsraytAQJUVVZXWFlaW1xdXissLS4vMDEyMzQ1Njc4OfSYYc/Qz9C53d7fmEsTTbO0F11e5Kyt57yYVFVWV1hZWltcXV4rLC0uLzAxMjM0NTY3ODnBmHuYz9CYqKmqqKmqE6AWFxekd3israytjFRVVldYWVpbXF1eKywtLi8wMTIzNDU2Nzg5YxYXZmdowsMAAQL3+BNxvr8Xzr6/O+GYU5hUVVZXWFlaW1xdXissLS4vMDEyMzQ1Njc4OVq1mGxtbmBhYnNTdXYTwZgXmJgaHZisrSGYVFVWV1hZWltcXV4rLC0uLzAxMjM0NTY3ODkWmBBAwc+YwQwHCAmYbG1uE5ikkpOsrRujtVRVVldYWVpbXF1eOypiKywtLi8wMTIzNDU2Nzg57hbEPqNSS5hNmHxYWUiYiROLmGBhGJiYZYpUVVZXWFlaW1xdXsQ7EyssLS4vMDEyMzQ1Njc4OYSFhpjB2/X2wZiYLpgTpqeY2ejZYGFi7dmKVFVWV1hZWltcXV4rLC0uLzAxMjM0NTY3ODlPwe6mp9PUFxd0GhrDE3mY2ZiYmGtk2c6jcFRVVldYWVpbXF1eKywtLi8wMTIzNDU2Nzg5u7sHCJjEFoQYhhcXExoaF5gXGhcaOxqjrK1UVVZXWFlaW1xdXiwtLi8wMTIzNDU2Nzg5mBrumBfEZRphZGUTExc7mBpwmBesrRqsrRNUVVZXWFlaW1xdXi0uLzAxMjM0NTY3ODkTFGEWF8+jF6OEGoYX1ZgaOySYFpgTFGIWmFRVVldYWVpbXF1eXiTEO8RjZGVmZ2hpfDtGYKNhcDu1mJhPO0dSExqYmJhYWZhGFpijX2BhYphPZRZSmMRgYWJYWRMUYRajX2BhYpgWZRisrZjEJDsWmISFhoeIGAU7rK2YCgsMDQ7EmBE70oSFhoeIO89gFkYeaiBgYWKsrZg7KFKYYGFimFhZWro7Fr9fYGFirK1lExRhFjuYmJhFO5i6mJiYTGEkT1ATFDUWmKytYGFihIWGh4gjeiTqujtgYWKsrWBhYpjpRphymHzS0rrSO8bFUtZBlpjJWFlGyUl8719gYWKN72VSqaqwmJhYWRU2Nzg5X2BhYqTWZdapqqO4tK/jb6+EhYaHiMi3mLlUVVZXWFlaW1xdXoSFhoeIDMSsra+YxuaYm06Y85g8G5ifmJ+YeiaY26yt5qytKqytrK1nrK2srayt7aytmPCYn5g+8BbcmCuYgpi9mBKYEsCsraytrK3AjJisraytrK2sraytyZjAn5iewJjJrK2Y3Ji9mL2fmImYrK2YrK2YrK2YyaytrK2srZisraytmKytmKytmKytmFqYPZierK2YnpisrZisrZisreysraytrK3rdKytrK15rK2frK2fFrGfnrGfnmuurq4/tmq2rrF9sGvYrteurp8Wn4ngsdjY117XsdjXgX6AfxmiGqENmc2ZBuKXyszJ5eWXy6WXpbKypQQDFo4PURAXF3iDbxT5e/kQfQF7b4M1NTU1YCJ6AQUWa/aMQxpKKWtDFBgTaXAXQhYWHBYWQhYWJUIXFxd0FxYaehoXFxZgfBoXGhciIhcXGhcWIgsXFhh6FxYaFhgXFw8XFnoXegH7egAAOzs7OwA7OzsAOzs7OwAAADsAADsAAAA7ADs7Ozs7Ozs7Ozs7Ozs7OzsAAAA7OwAAAAAAAAAAAAAAADs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7cGFyc2VyIHN0YWNrIG92ZXJmbG93AG5lYXIgIiVUIjogc3ludGF4IGVycm9yAJP/k/2U/5X9lgCW/5b/lv+V/pX+lf6V/ZX7mvqc/54Anv2d/50Am/ub/qIAov6k/qYApvym+qf+q/6r/qv8q/2r/av+q/2r+6v+q/yr/Kv/q/6wALD/sgCy/rT+tP20/bT9tf61/rX/tf+1/rP9s/62ALb+tv6hALj/uf65+bn7ufu59rwArgCu/b0Avf6+/77/lfzA/sAAlfeV/JX/o/7C/cX/xf7F/8P3zvzO+8b/xv/GANEAx/3H/sf80v7SAMgAyP7U/tQA0/nT99P50/mfAJ/+wf7V/9X+1f3V/Nf+1wDWANb91v7Y/NgAzADM/br8uv6v/6//rwDKAMr9ywDL/s0Azf7N/M38lfrJAMn+lfja+9r52v3a+5X6lfnb/tv/3ADc/dn92f+t/a3/rf+t/a37rP+s/6z/rf+t/a36rfut/Kz/rfut/a39rf2t/a39rf2t/a393f6t/a37rf6t/a39rfyt/q3+rf6t/t7/3v6t+9//3/6t+639rfut+638rfvi++L84/7jAOH/4QDQAM/9z//gAOD9lfTk/+QAsQCx/bv7u/3lAOX+lfyV/5X+lf2V+5X6lfuV+qn+qv6V++f16f/p/ukA6v/q/+r97ADs/uj96P7u/e/97/7t+e377fvt/638rfq//7//v/+V/JX6lf3xAPH+lf+V/ZX/lf2V+pX58v+V/5X89Pj2APf/9/34/8QAxP7E/fr6+viQ/5H+kf+S/5L9kwCXAJf/l/6Z/5kAlf6g/KD+mP+Y/5j/pv+n/6j/qP+l/qUAq/6h/rf9t/+4ALz/vv/C/8P/0f7S/63/3f/Q/+b/5v/m/+b/5v+p/+sA6/3u/+8A8P/wAPMA8//1//X99v75APn8+f5GAAAAJQAJAGAAAAA0AAcAewAAAGAAAQANAAkABwACAEMAAABwAAAAQkVHSU4Abm90IGF1dGhvcml6ZWQAYXV0aG9yaXplciBtYWxmdW5jdGlvbgBST0xMQkFDSwBDT01NSVQAUkVMRUFTRQByb3dpZAB1bmtub3duIHRhYmxlIG9wdGlvbjogJS4qcwB0b28gbWFueSBjb2x1bW5zIG9uICVzAGR1cGxpY2F0ZSBjb2x1bW4gbmFtZTogJXMARXhwcmVzc2lvbiB0cmVlIGlzIHRvbyBsYXJnZSAobWF4aW11bSBkZXB0aCAlZCkAcGFyYW1ldGVycyBhcmUgbm90IGFsbG93ZWQgaW4gdmlld3MAY29ycnVwdCBkYXRhYmFzZQB1bmtub3duIGRhdGFiYXNlICVUAHZpZXcAdG9vIG1hbnkgdGVybXMgaW4gY29tcG91bmQgU0VMRUNUAHRvbyBtYW55IGNvbHVtbnMgaW4gJXMAc2V0IGxpc3QAdmFyaWFibGUgbnVtYmVyIG11c3QgYmUgYmV0d2VlbiA/MSBhbmQgPyVkAHRvbyBtYW55IFNRTCB2YXJpYWJsZXMAdG9vIG1hbnkgYXJndW1lbnRzIG9uIGZ1bmN0aW9uICVUAHN5bnRheCBlcnJvciBhZnRlciBjb2x1bW4gbmFtZSAiJS4qcyIAbm8gc3VjaCBpbmRleDogJVMAaW5kZXggYXNzb2NpYXRlZCB3aXRoIFVOSVFVRSBvciBQUklNQVJZIEtFWSBjb25zdHJhaW50IGNhbm5vdCBiZSBkcm9wcGVkAHNxbGl0ZV90ZW1wX21hc3RlcgBzcWxpdGVfbWFzdGVyAERFTEVURSBGUk9NICVRLiVzIFdIRVJFIG5hbWU9JVEgQU5EIHR5cGU9J2luZGV4JwBzcWxpdGVfc3RhdCVkAERFTEVURSBGUk9NICVRLiVzIFdIRVJFICVzPSVRAGlkeAB0cmlnZ2VyAElOU0VSVCBJTlRPICVRLiVzIFZBTFVFUygndHJpZ2dlcicsJVEsJVEsMCwnQ1JFQVRFIFRSSUdHRVIgJXEnKQB0eXBlPSd0cmlnZ2VyJyBBTkQgbmFtZT0nJXEnAHRlbXBvcmFyeSB0cmlnZ2VyIG1heSBub3QgaGF2ZSBxdWFsaWZpZWQgbmFtZQBjYW5ub3QgY3JlYXRlIHRyaWdnZXJzIG9uIHZpcnR1YWwgdGFibGVzAHRyaWdnZXIgJVQgYWxyZWFkeSBleGlzdHMAc3FsaXRlXwBjYW5ub3QgY3JlYXRlIHRyaWdnZXIgb24gc3lzdGVtIHRhYmxlAEJFRk9SRQBBRlRFUgBjYW5ub3QgY3JlYXRlICVzIHRyaWdnZXIgb24gdmlldzogJVMAY2Fubm90IGNyZWF0ZSBJTlNURUFEIE9GIHRyaWdnZXIgb24gdGFibGU6ICVTAHF1YWxpZmllZCB0YWJsZSBuYW1lcyBhcmUgbm90IGFsbG93ZWQgb24gSU5TRVJULCBVUERBVEUsIGFuZCBERUxFVEUgc3RhdGVtZW50cyB3aXRoaW4gdHJpZ2dlcnMAdGhlIElOREVYRUQgQlkgY2xhdXNlIGlzIG5vdCBhbGxvd2VkIG9uIFVQREFURSBvciBERUxFVEUgc3RhdGVtZW50cyB3aXRoaW4gdHJpZ2dlcnMAdGhlIE5PVCBJTkRFWEVEIGNsYXVzZSBpcyBub3QgYWxsb3dlZCBvbiBVUERBVEUgb3IgREVMRVRFIHN0YXRlbWVudHMgd2l0aGluIHRyaWdnZXJzAG5vIHN1Y2ggdHJpZ2dlcjogJVMAdW5hYmxlIHRvIGlkZW50aWZ5IHRoZSBvYmplY3QgdG8gYmUgcmVpbmRleGVkAHRoZXJlIGlzIGFscmVhZHkgYW5vdGhlciB0YWJsZSBvciBpbmRleCB3aXRoIHRoaXMgbmFtZTogJXMAdmlldyAlcyBtYXkgbm90IGJlIGFsdGVyZWQAVVBEQVRFICIldyIuJXMgU0VUIHNxbCA9IHNxbGl0ZV9yZW5hbWVfcGFyZW50KHNxbCwgJVEsICVRKSBXSEVSRSAlczsAVVBEQVRFICVRLiVzIFNFVCBzcWwgPSBDQVNFIFdIRU4gdHlwZSA9ICd0cmlnZ2VyJyBUSEVOIHNxbGl0ZV9yZW5hbWVfdHJpZ2dlcihzcWwsICVRKUVMU0Ugc3FsaXRlX3JlbmFtZV90YWJsZShzcWwsICVRKSBFTkQsIHRibF9uYW1lID0gJVEsIG5hbWUgPSBDQVNFIFdIRU4gdHlwZT0ndGFibGUnIFRIRU4gJVEgV0hFTiBuYW1lIExJS0UgJ3NxbGl0ZV9hdXRvaW5kZXglJScgQU5EIHR5cGU9J2luZGV4JyBUSEVOICdzcWxpdGVfYXV0b2luZGV4XycgfHwgJVEgfHwgc3Vic3RyKG5hbWUsJWQrMTgpIEVMU0UgbmFtZSBFTkQgV0hFUkUgdGJsX25hbWU9JVEgQ09MTEFURSBub2Nhc2UgQU5EICh0eXBlPSd0YWJsZScgT1IgdHlwZT0naW5kZXgnIE9SIHR5cGU9J3RyaWdnZXInKTsAc3FsaXRlX3NlcXVlbmNlAFVQREFURSAiJXciLnNxbGl0ZV9zZXF1ZW5jZSBzZXQgbmFtZSA9ICVRIFdIRVJFIG5hbWUgPSAlUQB0eXBlPSd0cmlnZ2VyJyBBTkQgKCVzKQBVUERBVEUgc3FsaXRlX3RlbXBfbWFzdGVyIFNFVCBzcWwgPSBzcWxpdGVfcmVuYW1lX3RyaWdnZXIoc3FsLCAlUSksIHRibF9uYW1lID0gJVEgV0hFUkUgJXM7AENhbm5vdCBhZGQgYSBQUklNQVJZIEtFWSBjb2x1bW4AQ2Fubm90IGFkZCBhIFVOSVFVRSBjb2x1bW4AQ2Fubm90IGFkZCBhIFJFRkVSRU5DRVMgY29sdW1uIHdpdGggbm9uLU5VTEwgZGVmYXVsdCB2YWx1ZQBDYW5ub3QgYWRkIGEgTk9UIE5VTEwgY29sdW1uIHdpdGggZGVmYXVsdCB2YWx1ZSBOVUxMAENhbm5vdCBhZGQgYSBjb2x1bW4gd2l0aCBub24tY29uc3RhbnQgZGVmYXVsdABVUERBVEUgIiV3Ii4lcyBTRVQgc3FsID0gc3Vic3RyKHNxbCwxLCVkKSB8fCAnLCAnIHx8ICVRIHx8IHN1YnN0cihzcWwsJWQpIFdIRVJFIHR5cGUgPSAndGFibGUnIEFORCBuYW1lID0gJVEAdmlydHVhbCB0YWJsZXMgbWF5IG5vdCBiZSBhbHRlcmVkAENhbm5vdCBhZGQgYSBjb2x1bW4gdG8gYSB2aWV3AHNxbGl0ZV9hbHRlcnRhYl8lcwBkdXBsaWNhdGUgV0lUSCB0YWJsZSBuYW1lOiAlcwBDUkVBVEUgVklSVFVBTCBUQUJMRSAlVABVUERBVEUgJVEuJXMgU0VUIHR5cGU9J3RhYmxlJywgbmFtZT0lUSwgdGJsX25hbWU9JVEsIHJvb3RwYWdlPTAsIHNxbD0lUSBXSEVSRSByb3dpZD0jJWQAbmFtZT0nJXEnIEFORCB0eXBlPSd0YWJsZScAdGJsX25hbWU9JVEAbmFtZT0lUQAlcyBPUiBuYW1lPSVRAG5vIHN1Y2ggbW9kdWxlOiAlcwB2aWV3ICVzIGlzIGNpcmN1bGFybHkgZGVmaW5lZABJTlRFR0VSAGNvbHVtbiVkACUuKno6JXUAYSBHUk9VUCBCWSBjbGF1c2UgaXMgcmVxdWlyZWQgYmVmb3JlIEhBVklORwBPUkRFUgBHUk9VUABhZ2dyZWdhdGUgZnVuY3Rpb25zIGFyZSBub3QgYWxsb3dlZCBpbiB0aGUgR1JPVVAgQlkgY2xhdXNlAGFsbCBWQUxVRVMgbXVzdCBoYXZlIHRoZSBzYW1lIG51bWJlciBvZiB0ZXJtcwBVTklPTgBFWENFUFQASU5URVJTRUNUAFVOSU9OIEFMTABTRUxFQ1RzIHRvIHRoZSBsZWZ0IGFuZCByaWdodCBvZiAlcyBkbyBub3QgaGF2ZSB0aGUgc2FtZSBudW1iZXIgb2YgcmVzdWx0IGNvbHVtbnMAdG9vIG1hbnkgdGVybXMgaW4gT1JERVIgQlkgY2xhdXNlACVyICVzIEJZIHRlcm0gb3V0IG9mIHJhbmdlIC0gc2hvdWxkIGJlIGJldHdlZW4gMSBhbmQgJWQAJXIgT1JERVIgQlkgdGVybSBkb2VzIG5vdCBtYXRjaCBhbnkgY29sdW1uIGluIHRoZSByZXN1bHQgc2V0AHRvbyBtYW55IHRlcm1zIGluICVzIEJZIGNsYXVzZQAlcyBwcm9oaWJpdGVkIGluICVzAHRoZSAiLiIgb3BlcmF0b3IAaW5kZXggZXhwcmVzc2lvbnMAbmV3AG9sZABfUk9XSURfAFJPV0lEAE9JRABtaXN1c2Ugb2YgYWxpYXNlZCBhZ2dyZWdhdGUgJXMAcm93IHZhbHVlIG1pc3VzZWQAbm8gc3VjaCBjb2x1bW4AYW1iaWd1b3VzIGNvbHVtbiBuYW1lACVzOiAlcy4lcy4lcwAlczogJXMuJXMAJXM6ICVzAHNlY29uZCBhcmd1bWVudCB0byBsaWtlbGlob29kKCkgbXVzdCBiZSBhIGNvbnN0YW50IGJldHdlZW4gMC4wIGFuZCAxLjAAbm90IGF1dGhvcml6ZWQgdG8gdXNlIGZ1bmN0aW9uOiAlcwBwYXJ0aWFsIGluZGV4IFdIRVJFIGNsYXVzZXMAQ0hFQ0sgY29uc3RyYWludHMAbm9uLWRldGVybWluaXN0aWMgZnVuY3Rpb25zAG1pc3VzZSBvZiBhZ2dyZWdhdGUgZnVuY3Rpb24gJS4qcygpAG5vIHN1Y2ggZnVuY3Rpb246ICUuKnMAd3JvbmcgbnVtYmVyIG9mIGFyZ3VtZW50cyB0byBmdW5jdGlvbiAlLipzKCkAc3VicXVlcmllcwBwYXJhbWV0ZXJzACVzLiVzACVzLiV6AGFjY2VzcyB0byAleiBpcyBwcm9oaWJpdGVkACclcycgaXMgbm90IGEgZnVuY3Rpb24AbXVsdGlwbGUgcmVmZXJlbmNlcyB0byByZWN1cnNpdmUgdGFibGU6ICVzAGNpcmN1bGFyIHJlZmVyZW5jZTogJXMAdGFibGUgJXMgaGFzICVkIHZhbHVlcyBmb3IgJWQgY29sdW1ucwBtdWx0aXBsZSByZWN1cnNpdmUgcmVmZXJlbmNlczogJXMAcmVjdXJzaXZlIHJlZmVyZW5jZSBpbiBhIHN1YnF1ZXJ5OiAlcwBzdWJxdWVyeV8lcAB0b28gbWFueSByZWZlcmVuY2VzIHRvICIlcyI6IG1heCA2NTUzNQBhIE5BVFVSQUwgam9pbiBtYXkgbm90IGhhdmUgYW4gT04gb3IgVVNJTkcgY2xhdXNlAGNhbm5vdCBoYXZlIGJvdGggT04gYW5kIFVTSU5HIGNsYXVzZXMgaW4gdGhlIHNhbWUgam9pbgBjYW5ub3Qgam9pbiB1c2luZyBjb2x1bW4gJXMgLSBjb2x1bW4gbm90IHByZXNlbnQgaW4gYm90aCB0YWJsZXMAKgAlcy4lcy4lcwBubyBzdWNoIHRhYmxlOiAlcwBubyB0YWJsZXMgc3BlY2lmaWVkAHRvbyBtYW55IGNvbHVtbnMgaW4gcmVzdWx0IHNldAB2dGFibGUgY29uc3RydWN0b3IgY2FsbGVkIHJlY3Vyc2l2ZWx5OiAlcwB2dGFibGUgY29uc3RydWN0b3IgZmFpbGVkOiAlcwB2dGFibGUgY29uc3RydWN0b3IgZGlkIG5vdCBkZWNsYXJlIHNjaGVtYTogJXMAdGFibGUgJXMgbWF5IG5vdCBiZSBhbHRlcmVkAHRibABzcWxpdGVfJQBCQkIAc3RhdF9nZXQAJWxsdQAgJWxsdQBzdGF0X3B1c2gAc3RhdF9pbml0AHNxbGl0ZV9zdGF0MQBDUkVBVEUgVEFCTEUgJVEuJXMoJXMpAHRibCxpZHgsc3RhdABzcWxpdGVfc3RhdDMAc3FsaXRlX3N0YXQ0AGluZGV4ICclcScALCAAc3ViLXNlbGVjdCByZXR1cm5zICVkIGNvbHVtbnMgLSBleHBlY3RlZCAlZABDT1JSRUxBVEVEIABMSVNUAFNDQUxBUgBFWEVDVVRFICVzJXMgU1VCUVVFUlkgJWQAbWlzdXNlIG9mIGFnZ3JlZ2F0ZTogJXMoKQB1bmtub3duIGZ1bmN0aW9uOiAlcygpACVkIGNvbHVtbnMgYXNzaWduZWQgJWQgdmFsdWVzAFJBSVNFKCkgbWF5IG9ubHkgYmUgdXNlZCB3aXRoaW4gYSB0cmlnZ2VyLXByb2dyYW0AMHgAaGV4IGxpdGVyYWwgdG9vIGJpZzogJXMlcwBVU0lORyBJTkRFWCAlcyBGT1IgSU4tT1BFUkFUT1IAc3FsaXRlX2RldGFjaABubyBzdWNoIGRhdGFiYXNlOiAlcwBjYW5ub3QgZGV0YWNoIGRhdGFiYXNlICVzAGRhdGFiYXNlICVzIGlzIGxvY2tlZABzcWxpdGVfYXR0YWNoAHRvbyBtYW55IGF0dGFjaGVkIGRhdGFiYXNlcyAtIG1heCAlZABkYXRhYmFzZSAlcyBpcyBhbHJlYWR5IGluIHVzZQBkYXRhYmFzZSBpcyBhbHJlYWR5IGF0dGFjaGVkAGF0dGFjaGVkIGRhdGFiYXNlcyBtdXN0IHVzZSB0aGUgc2FtZSB0ZXh0IGVuY29kaW5nIGFzIG1haW4gZGF0YWJhc2UAdW5hYmxlIHRvIG9wZW4gZGF0YWJhc2U6ICVzADEAQ1JFQVRFIFRBQkxFIHgodHlwZSB0ZXh0LG5hbWUgdGV4dCx0YmxfbmFtZSB0ZXh0LHJvb3RwYWdlIGludCxzcWwgdGV4dCkAdW5zdXBwb3J0ZWQgZmlsZSBmb3JtYXQAU0VMRUNUIG5hbWUsIHJvb3RwYWdlLCBzcWwgRlJPTSAiJXciLiVzIE9SREVSIEJZIHJvd2lkAFNFTEVDVCB0YmwsaWR4LHN0YXQgRlJPTSAlUS5zcWxpdGVfc3RhdDEAdW5vcmRlcmVkKgBzej1bMC05XSoAbm9za2lwc2NhbioAPwBtYWxmb3JtZWQgZGF0YWJhc2Ugc2NoZW1hICglcykAY3JlYXRlIAAleiAtICVzAGludmFsaWQgcm9vdHBhZ2UAZmlsZToAbG9jYWxob3N0AGludmFsaWQgdXJpIGF1dGhvcml0eTogJS4qcwB2ZnMAY2FjaGUAbW9kZQBubyBzdWNoICVzIG1vZGU6ICVzACVzIG1vZGUgbm90IGFsbG93ZWQ6ICVzAG5vIHN1Y2ggdmZzOiAlcwBzaGFyZWQAcHJpdmF0ZQBybwBydwByd2MAbWVtb3J5AERFTEVURSBGUk9NICVRLiVzIFdIRVJFIG5hbWU9JVEgQU5EIHR5cGU9J3RyaWdnZXInAG9iamVjdCBuYW1lIHJlc2VydmVkIGZvciBpbnRlcm5hbCB1c2U6ICVzACVzICVUIGNhbm5vdCByZWZlcmVuY2Ugb2JqZWN0cyBpbiBkYXRhYmFzZSAlcwBubyBzdWNoIGluZGV4OiAlcwBubyBzdWNoIHZpZXcAbm8gc3VjaCB0YWJsZQBwcmFnbWFfAFBSQUdNQSAAJVEuAD0lUQBDUkVBVEUgVEFCTEUgeAAlYyIlcyIAKCIlcyIALGFyZyBISURERU4ALHNjaGVtYSBISURERU4AY2FjaGVfc2l6ZQBjaWQAbmFtZQB0eXBlAG5vdG51bGwAZGZsdF92YWx1ZQBwawB3ZHRoAGhnaHQAZmxncwBzZXFubwBkZXNjAGNvbGwAa2V5AHNlcQB1bmlxdWUAb3JpZ2luAHBhcnRpYWwAZmlsZQBidWlsdGluAGlkAHRhYmxlAHRvAG9uX3VwZGF0ZQBvbl9kZWxldGUAbWF0Y2gAcGFyZW50AGZraWQAYnVzeQBsb2cAY2hlY2twb2ludGVkAHRpbWVvdXQAZGF0YWJhc2UAc3RhdHVzAGFwcGxpY2F0aW9uX2lkAGF1dG9fdmFjdXVtAGF1dG9tYXRpY19pbmRleABidXN5X3RpbWVvdXQAY2FjaGVfc3BpbGwAY2FzZV9zZW5zaXRpdmVfbGlrZQBjZWxsX3NpemVfY2hlY2sAY2hlY2twb2ludF9mdWxsZnN5bmMAY29sbGF0aW9uX2xpc3QAY29tcGlsZV9vcHRpb25zAGNvdW50X2NoYW5nZXMAZGF0YV92ZXJzaW9uAGRhdGFiYXNlX2xpc3QAZGVmYXVsdF9jYWNoZV9zaXplAGRlZmVyX2ZvcmVpZ25fa2V5cwBlbXB0eV9yZXN1bHRfY2FsbGJhY2tzAGVuY29kaW5nAGZvcmVpZ25fa2V5X2NoZWNrAGZvcmVpZ25fa2V5X2xpc3QAZm9yZWlnbl9rZXlzAGZyZWVsaXN0X2NvdW50AGZ1bGxfY29sdW1uX25hbWVzAGZ1bGxmc3luYwBpZ25vcmVfY2hlY2tfY29uc3RyYWludHMAaW5jcmVtZW50YWxfdmFjdXVtAGluZGV4X2luZm8AaW5kZXhfbGlzdABpbmRleF94aW5mbwBpbnRlZ3JpdHlfY2hlY2sAam91cm5hbF9tb2RlAGpvdXJuYWxfc2l6ZV9saW1pdABsZWdhY3lfZmlsZV9mb3JtYXQAbG9ja2luZ19tb2RlAG1heF9wYWdlX2NvdW50AG1tYXBfc2l6ZQBvcHRpbWl6ZQBwYWdlX2NvdW50AHBhZ2Vfc2l6ZQBxdWVyeV9vbmx5AHF1aWNrX2NoZWNrAHJlYWRfdW5jb21taXR0ZWQAcmVjdXJzaXZlX3RyaWdnZXJzAHJldmVyc2VfdW5vcmRlcmVkX3NlbGVjdHMAc2NoZW1hX3ZlcnNpb24Ac2VjdXJlX2RlbGV0ZQBzaG9ydF9jb2x1bW5fbmFtZXMAc2hyaW5rX21lbW9yeQBzb2Z0X2hlYXBfbGltaXQAc3luY2hyb25vdXMAdGFibGVfaW5mbwB0ZW1wX3N0b3JlAHRlbXBfc3RvcmVfZGlyZWN0b3J5AHRocmVhZHMAdXNlcl92ZXJzaW9uAHdhbF9hdXRvY2hlY2twb2ludAB3YWxfY2hlY2twb2ludAB3cml0YWJsZV9zY2hlbWEAJXMgY2Fubm90IHVzZSB2YXJpYWJsZXMALSVUAAIAAABlAAEDMAEIAEMAAgBZAQIBMAEIAEMAAQCmAAAATgEBAGZhc3QAZXhjbHVzaXZlAG5vcm1hbABub25lAGZ1bGwAaW5jcmVtZW50YWwAAgABAGUAAQQVAQAAQgACAGYABwB0ZW1wb3Jhcnkgc3RvcmFnZSBjYW5ub3QgYmUgY2hhbmdlZCBmcm9tIHdpdGhpbiBhIHRyYW5zYWN0aW9uAG5vdCBhIHdyaXRhYmxlIGRpcmVjdG9yeQBTYWZldHkgbGV2ZWwgbWF5IG5vdCBiZSBjaGFuZ2VkIGluc2lkZSBhIHRyYW5zYWN0aW9uAGlzc2lzaQBpaXNYAGlzaVgAaXNpc2kAaXNzAGlzAE5PIEFDVElPTgBSRVNUUklDVABDQVNDQURFAFNFVCBERUZBVUxUAFNFVCBOVUxMAGlpc3Nzc3NzAE5PTkUAc2lYACVfAAAqKiogaW4gZGF0YWJhc2UgJXMgKioqCgBOVUxMIHZhbHVlIGluICVzLiVzAENIRUNLIGNvbnN0cmFpbnQgZmFpbGVkIGluICVzAHJvdyAAIG1pc3NpbmcgZnJvbSBpbmRleCAAbm9uLXVuaXF1ZSBlbnRyeSBpbiBpbmRleCAAd3JvbmcgIyBvZiBlbnRyaWVzIGluIGluZGV4IABQAQAAMQEEAGEAAwBOAwEAQgAAAGEAAwANAAMAb2sAVVRGOAB1bnN1cHBvcnRlZCBlbmNvZGluZzogJXMAAgABAGYAAAACAAAAZQABAE4BAQByZXN0YXJ0AHRydW5jYXRlAEFOQUxZWkUgIiV3Ii4iJXciAHVua25vd24gZGF0YWJhc2U6ICVzAFVURi04AFVURi0xNmxlAFVURi0xNmJlAFVURjE2bGUAVVRGMTZiZQBVVEYtMTYAVVRGMTYAdW5hYmxlIHRvIGRlbGV0ZS9tb2RpZnkgdXNlci1mdW5jdGlvbiBkdWUgdG8gYWN0aXZlIHN0YXRlbWVudHMAZm9yZWlnbiBrZXkgbWlzbWF0Y2ggLSAiJXciIHJlZmVyZW5jaW5nICIldyIAYwB1AGRlbGV0ZQBwZXJzaXN0AG9mZgB3YWwAVVBEQVRFICVRLiVzIFNFVCByb290cGFnZT0lZCBXSEVSRSAjJWQgQU5EIHJvb3RwYWdlPSMlZAAwAHRhYmxlICVzIG1heSBub3QgYmUgbW9kaWZpZWQAY2Fubm90IG1vZGlmeSAlcyBiZWNhdXNlIGl0IGlzIGEgdmlldwAlcy5yb3dpZAB0YWJsZSAlUyBoYXMgbm8gY29sdW1uIG5hbWVkICVzAHRhYmxlICVTIGhhcyAlZCBjb2x1bW5zIGJ1dCAlZCB2YWx1ZXMgd2VyZSBzdXBwbGllZAAlZCB2YWx1ZXMgZm9yICVkIGNvbHVtbnMAcm93cyBpbnNlcnRlZABhdCBtb3N0ICVkIHRhYmxlcyBpbiBhIGpvaW4AdG9vIG1hbnkgYXJndW1lbnRzIG9uICVzKCkgLSBtYXggJWQAYXV0b21hdGljIGluZGV4IG9uICVzKCVzKQBhdXRvLWluZGV4ABsZGBoAACUhGxgaGSknJigHBiUhU0VBUkNIAFNDQU4AIFNVQlFVRVJZICVkACBUQUJMRSAlcwAgQVMgJXMASU5ERVggJXMAQ09WRVJJTkcgSU5ERVggJXMAQVVUT01BVElDIENPVkVSSU5HIElOREVYAEFVVE9NQVRJQyBQQVJUSUFMIENPVkVSSU5HIElOREVYAFBSSU1BUlkgS0VZACBVU0lORyAAICgAPGV4cHI+ACBBTkQgACVzPT8AQU5ZKCVzKQA+ADwAPj8gQU5EIHJvd2lkPAA9ACBVU0lORyBJTlRFR0VSIFBSSU1BUlkgS0VZIChyb3dpZCVzPykAIFZJUlRVQUwgVEFCTEUgSU5ERVggJWQ6JXMAKAAKCgkJCAgHBwcGBgYFBQUEBAQEAwMDAwMDAgICAgICAm5vIHF1ZXJ5IHNvbHV0aW9uACVzLnhCZXN0SW5kZXggbWFsZnVuY3Rpb24AT04gY2xhdXNlIHJlZmVyZW5jZXMgdGFibGVzIHRvIGl0cyByaWdodAA5N05PQ0FTRQByZWdleHAALS0gVFJJR0dFUiAlcwAAAQIDBAYICAAAAAAAAAEBAgIDAwQEBQUGBgcHCAgJCQoKCwsMDA0NDg4PDxAQERESEhMTFBQVFRYWFxcYGBkZGhobGxwcHR0eHh8fICAhISIiIyMkJCUlJiYnJygoKSkqKisrLCwtLS4uLy8wMDExMjIzMzQ0NTU2Njc3ODg5OTMAAgBzAAAAYwACAHQAAABwAAAAbm8gc3VjaCBjb2x1bW46ICVzAHJvd3MgdXBkYXRlZAByb3dzIGRlbGV0ZWQAAAcEBgQoCgUgDgUwEwQ4FwUBHAUDbmF0dXJhbGVmdG91dGVyaWdodGZ1bGxpbm5lcmNyb3NzAHVua25vd24gb3IgdW5zdXBwb3J0ZWQgam9pbiB0eXBlOiAlVCAlVCVzJVQAUklHSFQgYW5kIEZVTEwgT1VURVIgSk9JTnMgYXJlIG5vdCBjdXJyZW50bHkgc3VwcG9ydGVkAE9OAFVTSU5HAGEgSk9JTiBjbGF1c2UgaXMgcmVxdWlyZWQgYmVmb3JlICVzAGV4cGVjdGVkICVkIGNvbHVtbnMgZm9yICclcycgYnV0IGdvdCAlZABPUkRFUiBCWQBMSU1JVAAlcyBjbGF1c2Ugc2hvdWxkIGNvbWUgYWZ0ZXIgJXMgbm90IGJlZm9yZQBVU0lORyBURU1QIEItVFJFRSAAQ09NUE9VTkQgU1VCUVVFUklFUyAlZCBBTkQgJWQgJXMoJXMpAERJU1RJTkNUAEdST1VQIEJZACBVU0lORyBDT1ZFUklORyBJTkRFWCAAU0NBTiBUQUJMRSAlcyVzJXMAUklHSFQgUEFSVCBPRiBPUkRFUiBCWQBESVNUSU5DVCBhZ2dyZWdhdGVzIG11c3QgaGF2ZSBleGFjdGx5IG9uZSBhcmd1bWVudABVU0UgVEVNUCBCLVRSRUUgRk9SICVzAHJlY3Vyc2l2ZSBhZ2dyZWdhdGUgcXVlcmllcyBub3Qgc3VwcG9ydGVkAHNxbGl0ZV9zdGF0AHRhYmxlICVzIG1heSBub3QgYmUgZHJvcHBlZAB1c2UgRFJPUCBUQUJMRSB0byBkZWxldGUgdGFibGUgJXMAdXNlIERST1AgVklFVyB0byBkZWxldGUgdmlldyAlcwBERUxFVEUgRlJPTSAlUS5zcWxpdGVfc2VxdWVuY2UgV0hFUkUgbmFtZT0lUQBERUxFVEUgRlJPTSAlUS4lcyBXSEVSRSB0YmxfbmFtZT0lUSBhbmQgdHlwZSE9J3RyaWdnZXInAG5vIHN1Y2ggY29sbGF0aW9uIHNlcXVlbmNlOiAlcwBmb3JlaWduIGtleSBvbiAlcyBzaG91bGQgcmVmZXJlbmNlIG9ubHkgb25lIGNvbHVtbiBvZiB0YWJsZSAlVABudW1iZXIgb2YgY29sdW1ucyBpbiBmb3JlaWduIGtleSBkb2VzIG5vdCBtYXRjaCB0aGUgbnVtYmVyIG9mIGNvbHVtbnMgaW4gdGhlIHJlZmVyZW5jZWQgdGFibGUAdW5rbm93biBjb2x1bW4gIiVzIiBpbiBmb3JlaWduIGtleSBkZWZpbml0aW9uAGluZGV4AGNhbm5vdCBjcmVhdGUgYSBURU1QIGluZGV4IG9uIG5vbi1URU1QIHRhYmxlICIlcyIAYWx0ZXJ0YWJfAHRhYmxlICVzIG1heSBub3QgYmUgaW5kZXhlZAB2aWV3cyBtYXkgbm90IGJlIGluZGV4ZWQAdmlydHVhbCB0YWJsZXMgbWF5IG5vdCBiZSBpbmRleGVkAHRoZXJlIGlzIGFscmVhZHkgYSB0YWJsZSBuYW1lZCAlcwBpbmRleCAlcyBhbHJlYWR5IGV4aXN0cwBzcWxpdGVfYXV0b2luZGV4XyVzXyVkAGV4cHJlc3Npb25zIHByb2hpYml0ZWQgaW4gUFJJTUFSWSBLRVkgYW5kIFVOSVFVRSBjb25zdHJhaW50cwBjb25mbGljdGluZyBPTiBDT05GTElDVCBjbGF1c2VzIHNwZWNpZmllZAAgVU5JUVVFAENSRUFURSVzIElOREVYICUuKnMASU5TRVJUIElOVE8gJVEuJXMgVkFMVUVTKCdpbmRleCcsJVEsJVEsIyVkLCVRKTsAbmFtZT0nJXEnIEFORCB0eXBlPSdpbmRleCcAdGFibGUgIiVzIiBoYXMgbW9yZSB0aGFuIG9uZSBwcmltYXJ5IGtleQBBVVRPSU5DUkVNRU5UIGlzIG9ubHkgYWxsb3dlZCBvbiBhbiBJTlRFR0VSIFBSSU1BUlkgS0VZAGRlZmF1bHQgdmFsdWUgb2YgY29sdW1uIFslc10gaXMgbm90IGNvbnN0YW50AEFVVE9JTkNSRU1FTlQgbm90IGFsbG93ZWQgb24gV0lUSE9VVCBST1dJRCB0YWJsZXMAUFJJTUFSWSBLRVkgbWlzc2luZyBvbiB0YWJsZSAlcwBUQUJMRQBWSUVXAAogIAAsCiAgAAopAENSRUFURSBUQUJMRSAAQ1JFQVRFICVzICUuKnMAVVBEQVRFICVRLiVzIFNFVCB0eXBlPSclcycsIG5hbWU9JVEsIHRibF9uYW1lPSVRLCByb290cGFnZT0jJWQsIHNxbD0lUSBXSEVSRSByb3dpZD0jJWQAQ1JFQVRFIFRBQkxFICVRLnNxbGl0ZV9zZXF1ZW5jZShuYW1lLHNlcSkAdGJsX25hbWU9JyVxJyBBTkQgdHlwZSE9J3RyaWdnZXInACBURVhUACBOVU0AIElOVAAgUkVBTAB0ZW1wb3JhcnkgdGFibGUgbmFtZSBtdXN0IGJlIHVucXVhbGlmaWVkAAIECAZ0YWJsZSAlVCBhbHJlYWR5IGV4aXN0cwB0aGVyZSBpcyBhbHJlYWR5IGFuIGluZGV4IG5hbWVkICVzAAYAAAAAAAAAAAEBAQEBABAAAQABAQEDAwESAQMDAQkJCQkJCQkJCQEBAQEBAQEBASMmJgsBAQMDAwMLCwsLCwsBAwEBAQICCAAQEBAQABAQAAAQEAAAAgICACYmJiYmJiYmJiYAEgAQAAAQEAAAAAAAAAAAAAAAABAQAAAAAAAAABAAAAQEAAAQEBAAABAAAAAAAAAABhAABBoAAAAAAAAAAAAAABAQAAAAAAAAACVzIGNvbnN0cmFpbnQgZmFpbGVkACV6OiAlcwBhYm9ydCBhdCAlZCBpbiBbJXNdOiAlcwABAAABAQAAAQABAAEBAAEAAAEAAAAAAQIAAgIAAQIBAQECAQJjYW5ub3Qgb3BlbiBzYXZlcG9pbnQgLSBTUUwgc3RhdGVtZW50cyBpbiBwcm9ncmVzcwBubyBzdWNoIHNhdmVwb2ludDogJXMAY2Fubm90IHJlbGVhc2Ugc2F2ZXBvaW50IC0gU1FMIHN0YXRlbWVudHMgaW4gcHJvZ3Jlc3MAY2Fubm90IGNvbW1pdCB0cmFuc2FjdGlvbiAtIFNRTCBzdGF0ZW1lbnRzIGluIHByb2dyZXNzAGNhbm5vdCByb2xsYmFjayAtIG5vIHRyYW5zYWN0aW9uIGlzIGFjdGl2ZQBjYW5ub3QgY29tbWl0IC0gbm8gdHJhbnNhY3Rpb24gaXMgYWN0aXZlAGNhbm5vdCBzdGFydCBhIHRyYW5zYWN0aW9uIHdpdGhpbiBhIHRyYW5zYWN0aW9uAAFTRUxFQ1QgbmFtZSwgcm9vdHBhZ2UsIHNxbCBGUk9NICclcScuJXMgV0hFUkUgJXMgT1JERVIgQlkgcm93aWQATWFpbiBmcmVlbGlzdDogAEZhaWxlZCB0byByZWFkIHB0cm1hcCBrZXk9JWQAQmFkIHB0ciBtYXAgZW50cnkga2V5PSVkIGV4cGVjdGVkPSglZCwlZCkgZ290PSglZCwlZCkAUGFnZSAlZCBpcyBuZXZlciB1c2VkAFBvaW50ZXIgbWFwIHBhZ2UgJWQgaXMgcmVmZXJlbmNlZAB0b28gbWFueSBsZXZlbHMgb2YgdHJpZ2dlciByZWN1cnNpb24AaW50bwBvdXQgb2YAY2Fubm90IGNoYW5nZSAlcyB3YWwgbW9kZSBmcm9tIHdpdGhpbiBhIHRyYW5zYWN0aW9uAGNhbm5vdCBWQUNVVU0gZnJvbSB3aXRoaW4gYSB0cmFuc2FjdGlvbgBjYW5ub3QgVkFDVVVNIC0gU1FMIHN0YXRlbWVudHMgaW4gcHJvZ3Jlc3MAQVRUQUNIJydBUyB2YWN1dW1fZGIAU0VMRUNUIHNxbCBGUk9NICIldyIuc3FsaXRlX21hc3RlciBXSEVSRSB0eXBlPSd0YWJsZSdBTkQgbmFtZTw+J3NxbGl0ZV9zZXF1ZW5jZScgQU5EIGNvYWxlc2NlKHJvb3RwYWdlLDEpPjAAU0VMRUNUIHNxbCBGUk9NICIldyIuc3FsaXRlX21hc3RlciBXSEVSRSB0eXBlPSdpbmRleCcgQU5EIGxlbmd0aChzcWwpPjEwAFNFTEVDVCdJTlNFUlQgSU5UTyB2YWN1dW1fZGIuJ3x8cXVvdGUobmFtZSl8fCcgU0VMRUNUKkZST00iJXciLid8fHF1b3RlKG5hbWUpRlJPTSB2YWN1dW1fZGIuc3FsaXRlX21hc3RlciBXSEVSRSB0eXBlPSd0YWJsZSdBTkQgY29hbGVzY2Uocm9vdHBhZ2UsMSk+MABJTlNFUlQgSU5UTyB2YWN1dW1fZGIuc3FsaXRlX21hc3RlciBTRUxFQ1QqRlJPTSAiJXciLnNxbGl0ZV9tYXN0ZXIgV0hFUkUgdHlwZSBJTigndmlldycsJ3RyaWdnZXInKSBPUih0eXBlPSd0YWJsZSdBTkQgcm9vdHBhZ2U9MCkAAQEDAAUABgAIAGRhdGFiYXNlIHRhYmxlIGlzIGxvY2tlZDogJXMALS0gJXMAc3RhdGVtZW50IGFib3J0cyBhdCAlZDogWyVzXSAlcwAtLSAAJyUuKnEnAHplcm9ibG9iKCVkKQB4JwAlMDJ4ACcAaW52YWxpZCBwYWdlIG51bWJlciAlZAAybmQgcmVmZXJlbmNlIHRvIHBhZ2UgJWQAUGFnZSAlZDogAHVuYWJsZSB0byBnZXQgdGhlIHBhZ2UuIGVycm9yIGNvZGU9JWQAYnRyZWVJbml0UGFnZSgpIHJldHVybnMgZXJyb3IgY29kZSAlZABPbiB0cmVlIHBhZ2UgJWQgY2VsbCAlZDogAE9uIHBhZ2UgJWQgYXQgcmlnaHQgY2hpbGQ6IABPZmZzZXQgJWQgb3V0IG9mIHJhbmdlICVkLi4lZABFeHRlbmRzIG9mZiBlbmQgb2YgcGFnZQBSb3dpZCAlbGxkIG91dCBvZiBvcmRlcgBDaGlsZCBwYWdlIGRlcHRoIGRpZmZlcnMATXVsdGlwbGUgdXNlcyBmb3IgYnl0ZSAldSBvZiBwYWdlICVkAEZyYWdtZW50YXRpb24gb2YgJWQgYnl0ZXMgcmVwb3J0ZWQgYXMgJWQgb24gcGFnZSAlZAAKACVkIG9mICVkIHBhZ2VzIG1pc3NpbmcgZnJvbSBvdmVyZmxvdyBsaXN0IHN0YXJ0aW5nIGF0ICVkAGZhaWxlZCB0byBnZXQgcGFnZSAlZABmcmVlbGlzdCBsZWFmIGNvdW50IHRvbyBiaWcgb24gcGFnZSAlZABmcmVlLXBhZ2UgY291bnQgaW4gaGVhZGVyIGlzIHRvbyBzbWFsbAAAAQIDBAYIAAAATk9UIE5VTEwAVU5JUVVFAENIRUNLAEZPUkVJR04gS0VZAFNhdmVwb2ludABBdXRvQ29tbWl0AFRyYW5zYWN0aW9uAFNvcnRlck5leHQAUHJldklmT3BlbgBOZXh0SWZPcGVuAFByZXYATmV4dABDaGVja3BvaW50AEpvdXJuYWxNb2RlAFZhY3V1bQBWRmlsdGVyAFZVcGRhdGUAR290bwBHb3N1YgBJbml0Q29yb3V0aW5lAFlpZWxkAE11c3RCZUludABKdW1wAE5vdABPbmNlAElmAElmTm90AElmTnVsbFJvdwBTZWVrTFQAU2Vla0xFAFNlZWtHRQBTZWVrR1QATm9Db25mbGljdABOb3RGb3VuZABGb3VuZABTZWVrUm93aWQATm90RXhpc3RzAExhc3QASWZTbWFsbGVyAFNvcnRlclNvcnQAU29ydABSZXdpbmQASWR4TEUASWR4R1QASWR4TFQASWR4R0UAUm93U2V0UmVhZABPcgBBbmQAUm93U2V0VGVzdABQcm9ncmFtAEZrSWZaZXJvAElmUG9zAElmTm90WmVybwBJc051bGwATm90TnVsbABOZQBFcQBHdABMZQBMdABHZQBFbHNlTm90RXEARGVjckp1bXBaZXJvAEluY3JWYWN1dW0AVk5leHQASW5pdABSZXR1cm4ARW5kQ29yb3V0aW5lAEhhbHRJZk51bGwASGFsdABJbnRlZ2VyAEludDY0AFN0cmluZwBOdWxsAFNvZnROdWxsAEJsb2IAVmFyaWFibGUATW92ZQBDb3B5AFNDb3B5AEludENvcHkAUmVzdWx0Um93AENvbGxTZXEAQWRkSW1tAFJlYWxBZmZpbml0eQBDYXN0AFBlcm11dGF0aW9uAEJpdEFuZABCaXRPcgBTaGlmdExlZnQAU2hpZnRSaWdodABBZGQAU3VidHJhY3QATXVsdGlwbHkARGl2aWRlAFJlbWFpbmRlcgBDb25jYXQAQ29tcGFyZQBCaXROb3QAQ29sdW1uAFN0cmluZzgAQWZmaW5pdHkATWFrZVJlY29yZABDb3VudABSZWFkQ29va2llAFNldENvb2tpZQBSZW9wZW5JZHgAT3BlblJlYWQAT3BlbldyaXRlAE9wZW5EdXAAT3BlbkF1dG9pbmRleABPcGVuRXBoZW1lcmFsAFNvcnRlck9wZW4AU2VxdWVuY2VUZXN0AE9wZW5Qc2V1ZG8AQ2xvc2UAQ29sdW1uc1VzZWQAU2VxdWVuY2UATmV3Um93aWQASW5zZXJ0AEluc2VydEludABEZWxldGUAUmVzZXRDb3VudABTb3J0ZXJDb21wYXJlAFNvcnRlckRhdGEAUm93RGF0YQBSb3dpZABOdWxsUm93AFNlZWtFbmQAU29ydGVySW5zZXJ0AElkeEluc2VydABJZHhEZWxldGUARGVmZXJyZWRTZWVrAElkeFJvd2lkAERlc3Ryb3kAUmVhbABDbGVhcgBSZXNldFNvcnRlcgBDcmVhdGVCdHJlZQBTcWxFeGVjAFBhcnNlU2NoZW1hAExvYWRBbmFseXNpcwBEcm9wVGFibGUARHJvcEluZGV4AERyb3BUcmlnZ2VyAEludGVncml0eUNrAFJvd1NldEFkZABQYXJhbQBGa0NvdW50ZXIATWVtTWF4AE9mZnNldExpbWl0AEFnZ1N0ZXAwAEFnZ1N0ZXAAQWdnRmluYWwARXhwaXJlAFRhYmxlTG9jawBWQmVnaW4AVkNyZWF0ZQBWRGVzdHJveQBWT3BlbgBWQ29sdW1uAFZSZW5hbWUAUGFnZWNvdW50AE1heFBnY250AFB1cmVGdW5jMABGdW5jdGlvbjAAUHVyZUZ1bmMARnVuY3Rpb24AQ3Vyc29ySGludABOb29wAEV4cGxhaW4AYmluZCBvbiBhIGJ1c3kgcHJlcGFyZWQgc3RhdGVtZW50OiBbJXNdAGNhbm5vdCBvcGVuIHZpcnR1YWwgdGFibGU6ICVzAGNhbm5vdCBvcGVuIHRhYmxlIHdpdGhvdXQgcm93aWQ6ICVzAGNhbm5vdCBvcGVuIHZpZXc6ICVzAG5vIHN1Y2ggY29sdW1uOiAiJXMiAGZvcmVpZ24ga2V5AGluZGV4ZWQAY2Fubm90IG9wZW4gJXMgY29sdW1uIGZvciB3cml0aW5nAJgAAABoAAAAIAAFAWAAAAFOAQAAQgAAAGNhbm5vdCBvcGVuIHZhbHVlIG9mIHR5cGUgJXMAbm8gc3VjaCByb3dpZDogJWxsZAB0ZW1wAHVuYWJsZSB0byBjbG9zZSBkdWUgdG8gdW5maW5hbGl6ZWQgc3RhdGVtZW50cyBvciB1bmZpbmlzaGVkIGJhY2t1cHMAdW5hYmxlIHRvIHVzZSBmdW5jdGlvbiAlcyBpbiB0aGUgcmVxdWVzdGVkIGNvbnRleHQAUlRSSU0ATUFUQ0gAYXV0b21hdGljIGV4dGVuc2lvbiBsb2FkaW5nIGZhaWxlZDogJXMAZnRzNGF1eABzaW1wbGUAcG9ydGVyAHVuaWNvZGU2MQBmdHMzX3Rva2VuaXplcgBzbmlwcGV0AG9mZnNldHMAbWF0Y2hpbmZvAGZ0czMAZnRzNABmdHMzdG9rZW5pemUAQ1JFQVRFIFRBQkxFIHgoaW5wdXQsIHRva2VuLCBzdGFydCwgZW5kLCBwb3NpdGlvbikAdW5rbm93biB0b2tlbml6ZXI6ICVzACVzX3N0YXQAQUxURVIgVEFCTEUgJVEuJyVxX2NvbnRlbnQnICBSRU5BTUUgVE8gJyVxX2NvbnRlbnQnOwBBTFRFUiBUQUJMRSAlUS4nJXFfZG9jc2l6ZScgIFJFTkFNRSBUTyAnJXFfZG9jc2l6ZSc7AEFMVEVSIFRBQkxFICVRLiclcV9zdGF0JyAgUkVOQU1FIFRPICclcV9zdGF0JzsAQUxURVIgVEFCTEUgJVEuJyVxX3NlZ21lbnRzJyBSRU5BTUUgVE8gJyVxX3NlZ21lbnRzJzsAQUxURVIgVEFCTEUgJVEuJyVxX3NlZ2RpcicgICBSRU5BTUUgVE8gJyVxX3NlZ2Rpcic7AFNFTEVDVCB2YWx1ZSBGUk9NICVRLiclcV9zdGF0JyBXSEVSRSBpZD0/AFNFTEVDVCBtYXgobGV2ZWwpIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/AFNFTEVDVCAoU0VMRUNUIG1heChpZHgpIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/KSArIDEAU0VMRUNUIGNvYWxlc2NlKChTRUxFQ1QgbWF4KGJsb2NraWQpIEZST00gJVEuJyVxX3NlZ21lbnRzJykgKyAxLCAxKQBSRVBMQUNFIElOVE8gJVEuJyVxX3NlZ21lbnRzJyhibG9ja2lkLCBibG9jaykgVkFMVUVTKD8sID8pAERFTEVURSBGUk9NICVRLiclcV9zZWdtZW50cycgV0hFUkUgYmxvY2tpZCBCRVRXRUVOID8gQU5EID8AREVMRVRFIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/AERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsID0gPwBTRUxFQ1QgbGV2ZWwsIGlkeCwgZW5kX2Jsb2NrIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/IE9SREVSIEJZIGxldmVsIERFU0MsIGlkeCBBU0MAVVBEQVRFIE9SIEZBSUwgJVEuJyVxX3NlZ2RpcicgU0VUIGxldmVsPS0xLGlkeD0/IFdIRVJFIGxldmVsPT8gQU5EIGlkeD0/AFVQREFURSBPUiBGQUlMICVRLiclcV9zZWdkaXInIFNFVCBsZXZlbD0/IFdIRVJFIGxldmVsPS0xAFJFUExBQ0UgSU5UTyAlUS4nJXFfc2VnZGlyJyBWQUxVRVMoPyw/LD8sPyw/LD8pACVsbGQgJWxsZAAlc19zZWdtZW50cwBibG9jawBTRUxFQ1QgaWR4LCBzdGFydF9ibG9jaywgbGVhdmVzX2VuZF9ibG9jaywgZW5kX2Jsb2NrLCByb290IEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgQkVUV0VFTiA/IEFORCA/T1JERVIgQlkgbGV2ZWwgREVTQywgaWR4IEFTQwBTRUxFQ1QgaWR4LCBzdGFydF9ibG9jaywgbGVhdmVzX2VuZF9ibG9jaywgZW5kX2Jsb2NrLCByb290IEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/IE9SREVSIEJZIGlkeCBBU0MAbm8gc3VjaCB0YWJsZSBjb2x1bW46ICVzLiVzAHBjeAB1bnJlY29nbml6ZWQgbWF0Y2hpbmZvIHJlcXVlc3Q6ICVjAFNFTEVDVCBzaXplIEZST00gJVEuJyVxX2RvY3NpemUnIFdIRVJFIGRvY2lkPT8AU0VMRUNUICVzIFdIRVJFIHJvd2lkID0gPwBmdHMzY3Vyc29yAGlsbGVnYWwgZmlyc3QgYXJndW1lbnQgdG8gJXMAU0FWRVBPSU5UIGZ0czMAUkVMRUFTRSBmdHMzAFJPTExCQUNLIFRPIGZ0czMASW5kZXggb3B0aW1pemVkAEluZGV4IGFscmVhZHkgb3B0aW1hbABTRUxFQ1QgPyBVTklPTiBTRUxFQ1QgbGV2ZWwgLyAoMTAyNCAqID8pIEZST00gJVEuJyVxX3NlZ2RpcicAJWQgJWQgJWQgJWQgAHdyb25nIG51bWJlciBvZiBhcmd1bWVudHMgdG8gZnVuY3Rpb24gc25pcHBldCgpADxiPi4uLjwvYj4APC9iPgA8Yj4AU0VMRUNUIG1heCggbGV2ZWwgJSUgMTAyNCApIEZST00gJVEuJyVxX3NlZ2RpcicAU0VMRUNUIGxldmVsLCBjb3VudCgqKSBBUyBjbnQgRlJPTSAlUS4nJXFfc2VnZGlyJyAgIEdST1VQIEJZIGxldmVsIEhBVklORyBjbnQ+PT8gIE9SREVSIEJZIChsZXZlbCAlJSAxMDI0KSBBU0MgTElNSVQgMQBTRUxFQ1QgaWR4LCBzdGFydF9ibG9jaywgbGVhdmVzX2VuZF9ibG9jaywgZW5kX2Jsb2NrLCByb290IEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/IEFORCBpZHggPSA/AFNFTEVDVCAxIEZST00gJVEuJyVxX3NlZ21lbnRzJyBXSEVSRSBibG9ja2lkPT8gQU5EIGJsb2NrIElTIE5VTEwAU0VMRUNUIDIgKiB0b3RhbCgxICsgbGVhdmVzX2VuZF9ibG9jayAtIHN0YXJ0X2Jsb2NrKSAgIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/IEFORCBpZHggPCA/AERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsID0gPyBBTkQgaWR4ID0gPwBVUERBVEUgJVEuJyVxX3NlZ2RpcicgU0VUIHN0YXJ0X2Jsb2NrID0gPywgcm9vdCA9ID9XSEVSRSBsZXZlbCA9ID8gQU5EIGlkeCA9ID8AU0VMRUNUIGlkeCBGUk9NICVRLiclcV9zZWdkaXInIFdIRVJFIGxldmVsPT8gT1JERVIgQlkgMSBBU0MAVVBEQVRFICVRLiclcV9zZWdkaXInIFNFVCBpZHggPSA/IFdIRVJFIGxldmVsPT8gQU5EIGlkeD0/AFJFUExBQ0UgSU5UTyAlUS4nJXFfc3RhdCcgVkFMVUVTKD8sPykAcmVidWlsZABTRUxFQ1QgJXMAaW50ZWdyaXR5LWNoZWNrAG1lcmdlPQBDUkVBVEUgVEFCTEUgSUYgTk9UIEVYSVNUUyAlUS4nJXFfc3RhdCcoaWQgSU5URUdFUiBQUklNQVJZIEtFWSwgdmFsdWUgQkxPQik7AGF1dG9tZXJnZT0AREVMRVRFIEZST00gJVEuJyVxX2NvbnRlbnQnIFdIRVJFIHJvd2lkID0gPwBTRUxFQ1QgTk9UIEVYSVNUUyhTRUxFQ1QgZG9jaWQgRlJPTSAlUS4nJXFfY29udGVudCcgV0hFUkUgcm93aWQhPT8pAERFTEVURSBGUk9NICVRLiclcV9jb250ZW50JwBERUxFVEUgRlJPTSAlUS4nJXFfc2VnbWVudHMnAERFTEVURSBGUk9NICVRLiclcV9zZWdkaXInAERFTEVURSBGUk9NICVRLiclcV9kb2NzaXplJwBERUxFVEUgRlJPTSAlUS4nJXFfc3RhdCcAU0VMRUNUICVzIFdIRVJFIHJvd2lkPT8AU0VMRUNUIGNvdW50KCopIEZST00gJVEuJyVxX3NlZ2RpcicgV0hFUkUgbGV2ZWwgPSA/AElOU0VSVCBJTlRPICVRLiclcV9jb250ZW50JyBWQUxVRVMoJXMpAERFTEVURSBGUk9NICVRLiclcV9kb2NzaXplJyBXSEVSRSBkb2NpZCA9ID8AUkVQTEFDRSBJTlRPICVRLiclcV9kb2NzaXplJyBWQUxVRVMoPyw/KQBGVFMgZXhwcmVzc2lvbiB0cmVlIGlzIHRvbyBsYXJnZSAobWF4aW11bSBkZXB0aCAlZCkAbWFsZm9ybWVkIE1BVENIIGV4cHJlc3Npb246IFslc10AREVTQwBBU0MAU0VMRUNUICVzIFdIRVJFIHJvd2lkIEJFVFdFRU4gJWxsZCBBTkQgJWxsZCBPUkRFUiBCWSByb3dpZCAlcwBTRUxFQ1QgJXMgT1JERVIgQlkgcm93aWQgJXMAT1IAQU5EAE5PVABORUFSAERST1AgVEFCTEUgSUYgRVhJU1RTICVRLiclcV9jb250ZW50JwBEUk9QIFRBQkxFIElGIEVYSVNUUyAlUS4nJXFfc2VnbWVudHMnAERST1AgVEFCTEUgSUYgRVhJU1RTICVRLiclcV9zZWdkaXInAERST1AgVEFCTEUgSUYgRVhJU1RTICVRLiclcV9kb2NzaXplJwBEUk9QIFRBQkxFIElGIEVYSVNUUyAlUS4nJXFfc3RhdCcAdG9rZW5pemUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAB1bnJlY29nbml6ZWQgbWF0Y2hpbmZvOiAlcwBhc2MAdW5yZWNvZ25pemVkIG9yZGVyOiAlcwB1bnJlY29nbml6ZWQgcGFyYW1ldGVyOiAlcwBTRUxFQ1QgKiBGUk9NICVRLiVRAGNvbnRlbnQAZXJyb3IgcGFyc2luZyBwcmVmaXggcGFyYW1ldGVyOiAlcwBjb21wcmVzcwB1bmNvbXByZXNzAG1pc3NpbmcgJXMgcGFyYW1ldGVyIGluIGZ0czQgY29uc3RydWN0b3IAZG9jaWQALCVzKHguJ2MlZCVxJykALCB4LiVRAGxhbmdpZAAsIHguJyVxJwBfY29udGVudAAgRlJPTSAnJXEnLiclcSVzJyBBUyB4ACwlcyg/KQAsID8AZG9jaWQgSU5URUdFUiBQUklNQVJZIEtFWQAleiwgJ2MlZCVxJwAleiwgbGFuZ2lkAENSRUFURSBUQUJMRSAlUS4nJXFfY29udGVudCcoJXMpAENSRUFURSBUQUJMRSAlUS4nJXFfc2VnbWVudHMnKGJsb2NraWQgSU5URUdFUiBQUklNQVJZIEtFWSwgYmxvY2sgQkxPQik7AENSRUFURSBUQUJMRSAlUS4nJXFfc2VnZGlyJyhsZXZlbCBJTlRFR0VSLGlkeCBJTlRFR0VSLHN0YXJ0X2Jsb2NrIElOVEVHRVIsbGVhdmVzX2VuZF9ibG9jayBJTlRFR0VSLGVuZF9ibG9jayBJTlRFR0VSLHJvb3QgQkxPQixQUklNQVJZIEtFWShsZXZlbCwgaWR4KSk7AENSRUFURSBUQUJMRSAlUS4nJXFfZG9jc2l6ZScoZG9jaWQgSU5URUdFUiBQUklNQVJZIEtFWSwgc2l6ZSBCTE9CKTsAUFJBR01BICVRLnBhZ2Vfc2l6ZQBfX2xhbmdpZAAlUSwgACV6JVEsIABDUkVBVEUgVEFCTEUgeCglcyAlUSBISURERU4sIGRvY2lkIEhJRERFTiwgJVEgSElEREVOKQBwcmVmaXgAbGFuZ3VhZ2VpZABub3RpbmRleGVkAHVua25vd24gdG9rZW5pemVyAGFyZ3VtZW50IHR5cGUgbWlzbWF0Y2gAZnRzM3Rva2VuaXplIGRpc2FibGVkAABhY2Vpbm91eXlhY2RlZWdoaWprbG5vcnN0dXV3eXpvdWFpb3Vna29qZ25hZWlvcnVzdGhhZW95AAAAAAAAAABhYmRkZWZnaGhpa2xsbW5wcnJzdHV2d3d4eXpodHd5YWVpb3V5cmVtb3ZlX2RpYWNyaXRpY3M9MQByZW1vdmVfZGlhY3JpdGljcz0wAHRva2VuY2hhcnM9AHNlcGFyYXRvcnM9AAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAEBAQABAQEAAQEBAQEAAQEBAQEAAQEBAgFDUkVBVEUgVEFCTEUgeCh0ZXJtLCBjb2wsIGRvY3VtZW50cywgb2NjdXJyZW5jZXMsIGxhbmd1YWdlaWQgSElEREVOKQBpbnZhbGlkIGFyZ3VtZW50cyB0byBmdHM0YXV4IGNvbnN0cnVjdG9yAHVuYWJsZSB0byBkZWxldGUvbW9kaWZ5IGNvbGxhdGlvbiBzZXF1ZW5jZSBkdWUgdG8gYWN0aXZlIHN0YXRlbWVudHMAVCEiGQ0BAgMRSxwMEAQLHRIeJ2hub3BxYiAFBg8TFBUaCBYHKCQXGAkKDhsfJSODgn0mKis8PT4/Q0dKTVhZWltcXV5fYGFjZGVmZ2lqa2xyc3R5ent8AElsbGVnYWwgYnl0ZSBzZXF1ZW5jZQBEb21haW4gZXJyb3IAUmVzdWx0IG5vdCByZXByZXNlbnRhYmxlAE5vdCBhIHR0eQBQZXJtaXNzaW9uIGRlbmllZABPcGVyYXRpb24gbm90IHBlcm1pdHRlZABObyBzdWNoIGZpbGUgb3IgZGlyZWN0b3J5AE5vIHN1Y2ggcHJvY2VzcwBGaWxlIGV4aXN0cwBWYWx1ZSB0b28gbGFyZ2UgZm9yIGRhdGEgdHlwZQBObyBzcGFjZSBsZWZ0IG9uIGRldmljZQBPdXQgb2YgbWVtb3J5AFJlc291cmNlIGJ1c3kASW50ZXJydXB0ZWQgc3lzdGVtIGNhbGwAUmVzb3VyY2UgdGVtcG9yYXJpbHkgdW5hdmFpbGFibGUASW52YWxpZCBzZWVrAENyb3NzLWRldmljZSBsaW5rAFJlYWQtb25seSBmaWxlIHN5c3RlbQBEaXJlY3Rvcnkgbm90IGVtcHR5AENvbm5lY3Rpb24gcmVzZXQgYnkgcGVlcgBPcGVyYXRpb24gdGltZWQgb3V0AENvbm5lY3Rpb24gcmVmdXNlZABIb3N0IGlzIGRvd24ASG9zdCBpcyB1bnJlYWNoYWJsZQBBZGRyZXNzIGluIHVzZQBCcm9rZW4gcGlwZQBJL08gZXJyb3IATm8gc3VjaCBkZXZpY2Ugb3IgYWRkcmVzcwBCbG9jayBkZXZpY2UgcmVxdWlyZWQATm8gc3VjaCBkZXZpY2UATm90IGEgZGlyZWN0b3J5AElzIGEgZGlyZWN0b3J5AFRleHQgZmlsZSBidXN5AEV4ZWMgZm9ybWF0IGVycm9yAEludmFsaWQgYXJndW1lbnQAQXJndW1lbnQgbGlzdCB0b28gbG9uZwBTeW1ib2xpYyBsaW5rIGxvb3AARmlsZW5hbWUgdG9vIGxvbmcAVG9vIG1hbnkgb3BlbiBmaWxlcyBpbiBzeXN0ZW0ATm8gZmlsZSBkZXNjcmlwdG9ycyBhdmFpbGFibGUAQmFkIGZpbGUgZGVzY3JpcHRvcgBObyBjaGlsZCBwcm9jZXNzAEJhZCBhZGRyZXNzAEZpbGUgdG9vIGxhcmdlAFRvbyBtYW55IGxpbmtzAE5vIGxvY2tzIGF2YWlsYWJsZQBSZXNvdXJjZSBkZWFkbG9jayB3b3VsZCBvY2N1cgBTdGF0ZSBub3QgcmVjb3ZlcmFibGUAUHJldmlvdXMgb3duZXIgZGllZABPcGVyYXRpb24gY2FuY2VsZWQARnVuY3Rpb24gbm90IGltcGxlbWVudGVkAE5vIG1lc3NhZ2Ugb2YgZGVzaXJlZCB0eXBlAElkZW50aWZpZXIgcmVtb3ZlZABEZXZpY2Ugbm90IGEgc3RyZWFtAE5vIGRhdGEgYXZhaWxhYmxlAERldmljZSB0aW1lb3V0AE91dCBvZiBzdHJlYW1zIHJlc291cmNlcwBMaW5rIGhhcyBiZWVuIHNldmVyZWQAUHJvdG9jb2wgZXJyb3IAQmFkIG1lc3NhZ2UARmlsZSBkZXNjcmlwdG9yIGluIGJhZCBzdGF0ZQBOb3QgYSBzb2NrZXQARGVzdGluYXRpb24gYWRkcmVzcyByZXF1aXJlZABNZXNzYWdlIHRvbyBsYXJnZQBQcm90b2NvbCB3cm9uZyB0eXBlIGZvciBzb2NrZXQAUHJvdG9jb2wgbm90IGF2YWlsYWJsZQBQcm90b2NvbCBub3Qgc3VwcG9ydGVkAFNvY2tldCB0eXBlIG5vdCBzdXBwb3J0ZWQATm90IHN1cHBvcnRlZABQcm90b2NvbCBmYW1pbHkgbm90IHN1cHBvcnRlZABBZGRyZXNzIGZhbWlseSBub3Qgc3VwcG9ydGVkIGJ5IHByb3RvY29sAEFkZHJlc3Mgbm90IGF2YWlsYWJsZQBOZXR3b3JrIGlzIGRvd24ATmV0d29yayB1bnJlYWNoYWJsZQBDb25uZWN0aW9uIHJlc2V0IGJ5IG5ldHdvcmsAQ29ubmVjdGlvbiBhYm9ydGVkAE5vIGJ1ZmZlciBzcGFjZSBhdmFpbGFibGUAU29ja2V0IGlzIGNvbm5lY3RlZABTb2NrZXQgbm90IGNvbm5lY3RlZABDYW5ub3Qgc2VuZCBhZnRlciBzb2NrZXQgc2h1dGRvd24AT3BlcmF0aW9uIGFscmVhZHkgaW4gcHJvZ3Jlc3MAT3BlcmF0aW9uIGluIHByb2dyZXNzAFN0YWxlIGZpbGUgaGFuZGxlAFJlbW90ZSBJL08gZXJyb3IAUXVvdGEgZXhjZWVkZWQATm8gbWVkaXVtIGZvdW5kAFdyb25nIG1lZGl1bSB0eXBlAE5vIGVycm9yIGluZm9ybWF0aW9uAAAvcHJvYy9zZWxmL2ZkLw==";var tempDoublePtr=STATICTOP;STATICTOP+=16;function ___assert_fail(condition,filename,line,func){ABORT=true;throw"Assertion failed: "+Pointer_stringify(condition)+", at: "+[filename?Pointer_stringify(filename):"unknown filename",line,func?Pointer_stringify(func):"unknown function"]+" at "+stackTrace()}var cttz_i8=allocate([8,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,7,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,6,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,4,0,1,0,2,0,1,0,3,0,1,0,2,0,1,0],"i8",ALLOC_STATIC);var ERRNO_CODES={EPERM:1,ENOENT:2,ESRCH:3,EINTR:4,EIO:5,ENXIO:6,E2BIG:7,ENOEXEC:8,EBADF:9,ECHILD:10,EAGAIN:11,EWOULDBLOCK:11,ENOMEM:12,EACCES:13,EFAULT:14,ENOTBLK:15,EBUSY:16,EEXIST:17,EXDEV:18,ENODEV:19,ENOTDIR:20,EISDIR:21,EINVAL:22,ENFILE:23,EMFILE:24,ENOTTY:25,ETXTBSY:26,EFBIG:27,ENOSPC:28,ESPIPE:29,EROFS:30,EMLINK:31,EPIPE:32,EDOM:33,ERANGE:34,ENOMSG:42,EIDRM:43,ECHRNG:44,EL2NSYNC:45,EL3HLT:46,EL3RST:47,ELNRNG:48,EUNATCH:49,ENOCSI:50,EL2HLT:51,EDEADLK:35,ENOLCK:37,EBADE:52,EBADR:53,EXFULL:54,ENOANO:55,EBADRQC:56,EBADSLT:57,EDEADLOCK:35,EBFONT:59,ENOSTR:60,ENODATA:61,ETIME:62,ENOSR:63,ENONET:64,ENOPKG:65,EREMOTE:66,ENOLINK:67,EADV:68,ESRMNT:69,ECOMM:70,EPROTO:71,EMULTIHOP:72,EDOTDOT:73,EBADMSG:74,ENOTUNIQ:76,EBADFD:77,EREMCHG:78,ELIBACC:79,ELIBBAD:80,ELIBSCN:81,ELIBMAX:82,ELIBEXEC:83,ENOSYS:38,ENOTEMPTY:39,ENAMETOOLONG:36,ELOOP:40,EOPNOTSUPP:95,EPFNOSUPPORT:96,ECONNRESET:104,ENOBUFS:105,EAFNOSUPPORT:97,EPROTOTYPE:91,ENOTSOCK:88,ENOPROTOOPT:92,ESHUTDOWN:108,ECONNREFUSED:111,EADDRINUSE:98,ECONNABORTED:103,ENETUNREACH:101,ENETDOWN:100,ETIMEDOUT:110,EHOSTDOWN:112,EHOSTUNREACH:113,EINPROGRESS:115,EALREADY:114,EDESTADDRREQ:89,EMSGSIZE:90,EPROTONOSUPPORT:93,ESOCKTNOSUPPORT:94,EADDRNOTAVAIL:99,ENETRESET:102,EISCONN:106,ENOTCONN:107,ETOOMANYREFS:109,EUSERS:87,EDQUOT:122,ESTALE:116,ENOTSUP:95,ENOMEDIUM:123,EILSEQ:84,EOVERFLOW:75,ECANCELED:125,ENOTRECOVERABLE:131,EOWNERDEAD:130,ESTRPIPE:86};var ERRNO_MESSAGES={0:"Success",1:"Not super-user",2:"No such file or directory",3:"No such process",4:"Interrupted system call",5:"I/O error",6:"No such device or address",7:"Arg list too long",8:"Exec format error",9:"Bad file number",10:"No children",11:"No more processes",12:"Not enough core",13:"Permission denied",14:"Bad address",15:"Block device required",16:"Mount device busy",17:"File exists",18:"Cross-device link",19:"No such device",20:"Not a directory",21:"Is a directory",22:"Invalid argument",23:"Too many open files in system",24:"Too many open files",25:"Not a typewriter",26:"Text file busy",27:"File too large",28:"No space left on device",29:"Illegal seek",30:"Read only file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message of desired type",43:"Identifier removed",44:"Channel number out of range",45:"Level 2 not synchronized",46:"Level 3 halted",47:"Level 3 reset",48:"Link number out of range",49:"Protocol driver not attached",50:"No CSI structure available",51:"Level 2 halted",52:"Invalid exchange",53:"Invalid request descriptor",54:"Exchange full",55:"No anode",56:"Invalid request code",57:"Invalid slot",59:"Bad font file fmt",60:"Device not a stream",61:"No data (for no delay io)",62:"Timer expired",63:"Out of streams resources",64:"Machine is not on the network",65:"Package not installed",66:"The object is remote",67:"The link has been severed",68:"Advertise error",69:"Srmount error",70:"Communication error on send",71:"Protocol error",72:"Multihop attempted",73:"Cross mount point (not really error)",74:"Trying to read unreadable message",75:"Value too large for defined data type",76:"Given log. name not unique",77:"f.d. invalid for this operation",78:"Remote address changed",79:"Can access a needed shared lib",80:"Accessing a corrupted shared lib",81:".lib section in a.out corrupted",82:"Attempting to link in too many libs",83:"Attempting to exec a shared library",84:"Illegal byte sequence",86:"Streams pipe error",87:"Too many users",88:"Socket operation on non-socket",89:"Destination address required",90:"Message too long",91:"Protocol wrong type for socket",92:"Protocol not available",93:"Unknown protocol",94:"Socket type not supported",95:"Not supported",96:"Protocol family not supported",97:"Address family not supported by protocol family",98:"Address already in use",99:"Address not available",100:"Network interface is not configured",101:"Network is unreachable",102:"Connection reset by network",103:"Connection aborted",104:"Connection reset by peer",105:"No buffer space available",106:"Socket is already connected",107:"Socket is not connected",108:"Can't send after socket shutdown",109:"Too many references",110:"Connection timed out",111:"Connection refused",112:"Host is down",113:"Host is unreachable",114:"Socket already connected",115:"Connection already in progress",116:"Stale file handle",122:"Quota exceeded",123:"No medium (in tape drive)",125:"Operation canceled",130:"Previous owner died",131:"State not recoverable"};function ___setErrNo(value){if(Module["___errno_location"])HEAP32[Module["___errno_location"]()>>2]=value;return value}var PATH={splitPath:(function(filename){var splitPathRe=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return splitPathRe.exec(filename).slice(1)}),normalizeArray:(function(parts,allowAboveRoot){var up=0;for(var i=parts.length-1;i>=0;i--){var last=parts[i];if(last==="."){parts.splice(i,1)}else if(last===".."){parts.splice(i,1);up++}else if(up){parts.splice(i,1);up--}}if(allowAboveRoot){for(;up;up--){parts.unshift("..")}}return parts}),normalize:(function(path){var isAbsolute=path.charAt(0)==="/",trailingSlash=path.substr(-1)==="/";path=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),!isAbsolute).join("/");if(!path&&!isAbsolute){path="."}if(path&&trailingSlash){path+="/"}return(isAbsolute?"/":"")+path}),dirname:(function(path){var result=PATH.splitPath(path),root=result[0],dir=result[1];if(!root&&!dir){return"."}if(dir){dir=dir.substr(0,dir.length-1)}return root+dir}),basename:(function(path){if(path==="/")return"/";var lastSlash=path.lastIndexOf("/");if(lastSlash===-1)return path;return path.substr(lastSlash+1)}),extname:(function(path){return PATH.splitPath(path)[3]}),join:(function(){var paths=Array.prototype.slice.call(arguments,0);return PATH.normalize(paths.join("/"))}),join2:(function(l,r){return PATH.normalize(l+"/"+r)}),resolve:(function(){var resolvedPath="",resolvedAbsolute=false;for(var i=arguments.length-1;i>=-1&&!resolvedAbsolute;i--){var path=i>=0?arguments[i]:FS.cwd();if(typeof path!=="string"){throw new TypeError("Arguments to path.resolve must be strings")}else if(!path){return""}resolvedPath=path+"/"+resolvedPath;resolvedAbsolute=path.charAt(0)==="/"}resolvedPath=PATH.normalizeArray(resolvedPath.split("/").filter((function(p){return!!p})),!resolvedAbsolute).join("/");return(resolvedAbsolute?"/":"")+resolvedPath||"."}),relative:(function(from,to){from=PATH.resolve(from).substr(1);to=PATH.resolve(to).substr(1);function trim(arr){var start=0;for(;start=0;end--){if(arr[end]!=="")break}if(start>end)return[];return arr.slice(start,end-start+1)}var fromParts=trim(from.split("/"));var toParts=trim(to.split("/"));var length=Math.min(fromParts.length,toParts.length);var samePartsLength=length;for(var i=0;i0){result=buf.slice(0,bytesRead).toString("utf-8")}else{result=null}}else if(typeof window!="undefined"&&typeof window.prompt=="function"){result=window.prompt("Input: ");if(result!==null){result+="\n"}}else if(typeof readline=="function"){result=readline();if(result!==null){result+="\n"}}if(!result){return null}tty.input=intArrayFromString(result,true)}return tty.input.shift()}),put_char:(function(tty,val){if(val===null||val===10){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["print"](UTF8ArrayToString(tty.output,0));tty.output=[]}})},default_tty1_ops:{put_char:(function(tty,val){if(val===null||val===10){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}else{if(val!=0)tty.output.push(val)}}),flush:(function(tty){if(tty.output&&tty.output.length>0){Module["printErr"](UTF8ArrayToString(tty.output,0));tty.output=[]}})}};var MEMFS={ops_table:null,mount:(function(mount){return MEMFS.createNode(null,"/",16384|511,0)}),createNode:(function(parent,name,mode,dev){if(FS.isBlkdev(mode)||FS.isFIFO(mode)){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}if(!MEMFS.ops_table){MEMFS.ops_table={dir:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,lookup:MEMFS.node_ops.lookup,mknod:MEMFS.node_ops.mknod,rename:MEMFS.node_ops.rename,unlink:MEMFS.node_ops.unlink,rmdir:MEMFS.node_ops.rmdir,readdir:MEMFS.node_ops.readdir,symlink:MEMFS.node_ops.symlink},stream:{llseek:MEMFS.stream_ops.llseek}},file:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:{llseek:MEMFS.stream_ops.llseek,read:MEMFS.stream_ops.read,write:MEMFS.stream_ops.write,allocate:MEMFS.stream_ops.allocate,mmap:MEMFS.stream_ops.mmap,msync:MEMFS.stream_ops.msync}},link:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr,readlink:MEMFS.node_ops.readlink},stream:{}},chrdev:{node:{getattr:MEMFS.node_ops.getattr,setattr:MEMFS.node_ops.setattr},stream:FS.chrdev_stream_ops}}}var node=FS.createNode(parent,name,mode,dev);if(FS.isDir(node.mode)){node.node_ops=MEMFS.ops_table.dir.node;node.stream_ops=MEMFS.ops_table.dir.stream;node.contents={}}else if(FS.isFile(node.mode)){node.node_ops=MEMFS.ops_table.file.node;node.stream_ops=MEMFS.ops_table.file.stream;node.usedBytes=0;node.contents=null}else if(FS.isLink(node.mode)){node.node_ops=MEMFS.ops_table.link.node;node.stream_ops=MEMFS.ops_table.link.stream}else if(FS.isChrdev(node.mode)){node.node_ops=MEMFS.ops_table.chrdev.node;node.stream_ops=MEMFS.ops_table.chrdev.stream}node.timestamp=Date.now();if(parent){parent.contents[name]=node}return node}),getFileDataAsRegularArray:(function(node){if(node.contents&&node.contents.subarray){var arr=[];for(var i=0;inode.contents.length){node.contents=MEMFS.getFileDataAsRegularArray(node);node.usedBytes=node.contents.length}if(!node.contents||node.contents.subarray){var prevCapacity=node.contents?node.contents.length:0;if(prevCapacity>=newCapacity)return;var CAPACITY_DOUBLING_MAX=1024*1024;newCapacity=Math.max(newCapacity,prevCapacity*(prevCapacity0)node.contents.set(oldContents.subarray(0,node.usedBytes),0);return}if(!node.contents&&newCapacity>0)node.contents=[];while(node.contents.lengthnewSize)node.contents.length=newSize;else while(node.contents.length=stream.node.usedBytes)return 0;var size=Math.min(stream.node.usedBytes-position,length);assert(size>=0);if(size>8&&contents.subarray){buffer.set(contents.subarray(position,position+size),offset)}else{for(var i=0;i0||position+lengthe2.timestamp){create.push(key);total++}}));var remove=[];Object.keys(dst.entries).forEach((function(key){var e=dst.entries[key];var e2=src.entries[key];if(!e2){remove.push(key);total++}}));if(!total){return callback(null)}var completed=0;var db=src.type==="remote"?src.db:dst.db;var transaction=db.transaction([IDBFS.DB_STORE_NAME],"readwrite");var store=transaction.objectStore(IDBFS.DB_STORE_NAME);function done(err){if(err){if(!done.errored){done.errored=true;return callback(err)}return}if(++completed>=total){return callback(null)}}transaction.onerror=(function(e){done(this.error);e.preventDefault()});create.sort().forEach((function(path){if(dst.type==="local"){IDBFS.loadRemoteEntry(store,path,(function(err,entry){if(err)return done(err);IDBFS.storeLocalEntry(path,entry,done)}))}else{IDBFS.loadLocalEntry(path,(function(err,entry){if(err)return done(err);IDBFS.storeRemoteEntry(store,path,entry,done)}))}}));remove.sort().reverse().forEach((function(path){if(dst.type==="local"){IDBFS.removeLocalEntry(path,done)}else{IDBFS.removeRemoteEntry(store,path,done)}}))})};var NODEFS={isWindows:false,staticInit:(function(){NODEFS.isWindows=!!process.platform.match(/^win/)}),mount:(function(mount){assert(ENVIRONMENT_IS_NODE);return NODEFS.createNode(null,"/",NODEFS.getMode(mount.opts.root),0)}),createNode:(function(parent,name,mode,dev){if(!FS.isDir(mode)&&!FS.isFile(mode)&&!FS.isLink(mode)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=FS.createNode(parent,name,mode);node.node_ops=NODEFS.node_ops;node.stream_ops=NODEFS.stream_ops;return node}),getMode:(function(path){var stat;try{stat=fs.lstatSync(path);if(NODEFS.isWindows){stat.mode=stat.mode|(stat.mode&146)>>1}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return stat.mode}),realPath:(function(node){var parts=[];while(node.parent!==node){parts.push(node.name);node=node.parent}parts.push(node.mount.opts.root);parts.reverse();return PATH.join.apply(null,parts)}),flagsToPermissionStringMap:{0:"r",1:"r+",2:"r+",64:"r",65:"r+",66:"r+",129:"rx+",193:"rx+",514:"w+",577:"w",578:"w+",705:"wx",706:"wx+",1024:"a",1025:"a",1026:"a+",1089:"a",1090:"a+",1153:"ax",1154:"ax+",1217:"ax",1218:"ax+",4096:"rs",4098:"rs+"},flagsToPermissionString:(function(flags){flags&=~2097152;flags&=~2048;flags&=~32768;flags&=~524288;if(flags in NODEFS.flagsToPermissionStringMap){return NODEFS.flagsToPermissionStringMap[flags]}else{throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}}),node_ops:{getattr:(function(node){var path=NODEFS.realPath(node);var stat;try{stat=fs.lstatSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(NODEFS.isWindows&&!stat.blksize){stat.blksize=4096}if(NODEFS.isWindows&&!stat.blocks){stat.blocks=(stat.size+stat.blksize-1)/stat.blksize|0}return{dev:stat.dev,ino:stat.ino,mode:stat.mode,nlink:stat.nlink,uid:stat.uid,gid:stat.gid,rdev:stat.rdev,size:stat.size,atime:stat.atime,mtime:stat.mtime,ctime:stat.ctime,blksize:stat.blksize,blocks:stat.blocks}}),setattr:(function(node,attr){var path=NODEFS.realPath(node);try{if(attr.mode!==undefined){fs.chmodSync(path,attr.mode);node.mode=attr.mode}if(attr.timestamp!==undefined){var date=new Date(attr.timestamp);fs.utimesSync(path,date,date)}if(attr.size!==undefined){fs.truncateSync(path,attr.size)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),lookup:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);var mode=NODEFS.getMode(path);return NODEFS.createNode(parent,name,mode)}),mknod:(function(parent,name,mode,dev){var node=NODEFS.createNode(parent,name,mode,dev);var path=NODEFS.realPath(node);try{if(FS.isDir(node.mode)){fs.mkdirSync(path,node.mode)}else{fs.writeFileSync(path,"",{mode:node.mode})}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}return node}),rename:(function(oldNode,newDir,newName){var oldPath=NODEFS.realPath(oldNode);var newPath=PATH.join2(NODEFS.realPath(newDir),newName);try{fs.renameSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),unlink:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.unlinkSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),rmdir:(function(parent,name){var path=PATH.join2(NODEFS.realPath(parent),name);try{fs.rmdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readdir:(function(node){var path=NODEFS.realPath(node);try{return fs.readdirSync(path)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),symlink:(function(parent,newName,oldPath){var newPath=PATH.join2(NODEFS.realPath(parent),newName);try{fs.symlinkSync(oldPath,newPath)}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),readlink:(function(node){var path=NODEFS.realPath(node);try{path=fs.readlinkSync(path);path=NODEJS_PATH.relative(NODEJS_PATH.resolve(node.mount.opts.root),path);return path}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}})},stream_ops:{open:(function(stream){var path=NODEFS.realPath(stream.node);try{if(FS.isFile(stream.node.mode)){stream.nfd=fs.openSync(path,NODEFS.flagsToPermissionString(stream.flags))}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),close:(function(stream){try{if(FS.isFile(stream.node.mode)&&stream.nfd){fs.closeSync(stream.nfd)}}catch(e){if(!e.code)throw e;throw new FS.ErrnoError(ERRNO_CODES[e.code])}}),read:(function(stream,buffer,offset,length,position){if(length===0)return 0;var nbuffer=new Buffer(length);var res;try{res=fs.readSync(stream.nfd,nbuffer,0,length,position)}catch(e){throw new FS.ErrnoError(ERRNO_CODES[e.code])}if(res>0){for(var i=0;i=stream.node.size)return 0;var chunk=stream.node.contents.slice(position,position+length);var ab=WORKERFS.reader.readAsArrayBuffer(chunk);buffer.set(new Uint8Array(ab),offset);return chunk.size}),write:(function(stream,buffer,offset,length,position){throw new FS.ErrnoError(ERRNO_CODES.EIO)}),llseek:(function(stream,offset,whence){var position=offset;if(whence===1){position+=stream.position}else if(whence===2){if(FS.isFile(stream.node.mode)){position+=stream.node.size}}if(position<0){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}return position})}};STATICTOP+=16;STATICTOP+=16;STATICTOP+=16;var FS={root:null,mounts:[],devices:[null],streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:false,ignorePermissions:true,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,handleFSError:(function(e){if(!(e instanceof FS.ErrnoError))throw e+" : "+stackTrace();return ___setErrNo(e.errno)}),lookupPath:(function(path,opts){path=PATH.resolve(FS.cwd(),path);opts=opts||{};if(!path)return{path:"",node:null};var defaults={follow_mount:true,recurse_count:0};for(var key in defaults){if(opts[key]===undefined){opts[key]=defaults[key]}}if(opts.recurse_count>8){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}var parts=PATH.normalizeArray(path.split("/").filter((function(p){return!!p})),false);var current=FS.root;var current_path="/";for(var i=0;i40){throw new FS.ErrnoError(ERRNO_CODES.ELOOP)}}}}return{path:current_path,node:current}}),getPath:(function(node){var path;while(true){if(FS.isRoot(node)){var mount=node.mount.mountpoint;if(!path)return mount;return mount[mount.length-1]!=="/"?mount+"/"+path:mount+path}path=path?node.name+"/"+path:node.name;node=node.parent}}),hashName:(function(parentid,name){var hash=0;for(var i=0;i>>0)%FS.nameTable.length}),hashAddNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);node.name_next=FS.nameTable[hash];FS.nameTable[hash]=node}),hashRemoveNode:(function(node){var hash=FS.hashName(node.parent.id,node.name);if(FS.nameTable[hash]===node){FS.nameTable[hash]=node.name_next}else{var current=FS.nameTable[hash];while(current){if(current.name_next===node){current.name_next=node.name_next;break}current=current.name_next}}}),lookupNode:(function(parent,name){var err=FS.mayLookup(parent);if(err){throw new FS.ErrnoError(err,parent)}var hash=FS.hashName(parent.id,name);for(var node=FS.nameTable[hash];node;node=node.name_next){var nodeName=node.name;if(node.parent.id===parent.id&&nodeName===name){return node}}return FS.lookup(parent,name)}),createNode:(function(parent,name,mode,rdev){if(!FS.FSNode){FS.FSNode=(function(parent,name,mode,rdev){if(!parent){parent=this}this.parent=parent;this.mount=parent.mount;this.mounted=null;this.id=FS.nextInode++;this.name=name;this.mode=mode;this.node_ops={};this.stream_ops={};this.rdev=rdev});FS.FSNode.prototype={};var readMode=292|73;var writeMode=146;Object.defineProperties(FS.FSNode.prototype,{read:{get:(function(){return(this.mode&readMode)===readMode}),set:(function(val){val?this.mode|=readMode:this.mode&=~readMode})},write:{get:(function(){return(this.mode&writeMode)===writeMode}),set:(function(val){val?this.mode|=writeMode:this.mode&=~writeMode})},isFolder:{get:(function(){return FS.isDir(this.mode)})},isDevice:{get:(function(){return FS.isChrdev(this.mode)})}})}var node=new FS.FSNode(parent,name,mode,rdev);FS.hashAddNode(node);return node}),destroyNode:(function(node){FS.hashRemoveNode(node)}),isRoot:(function(node){return node===node.parent}),isMountpoint:(function(node){return!!node.mounted}),isFile:(function(mode){return(mode&61440)===32768}),isDir:(function(mode){return(mode&61440)===16384}),isLink:(function(mode){return(mode&61440)===40960}),isChrdev:(function(mode){return(mode&61440)===8192}),isBlkdev:(function(mode){return(mode&61440)===24576}),isFIFO:(function(mode){return(mode&61440)===4096}),isSocket:(function(mode){return(mode&49152)===49152}),flagModes:{"r":0,"rs":1052672,"r+":2,"w":577,"wx":705,"xw":705,"w+":578,"wx+":706,"xw+":706,"a":1089,"ax":1217,"xa":1217,"a+":1090,"ax+":1218,"xa+":1218},modeStringToFlags:(function(str){var flags=FS.flagModes[str];if(typeof flags==="undefined"){throw new Error("Unknown file open mode: "+str)}return flags}),flagsToPermissionString:(function(flag){var perms=["r","w","rw"][flag&3];if(flag&512){perms+="w"}return perms}),nodePermissions:(function(node,perms){if(FS.ignorePermissions){return 0}if(perms.indexOf("r")!==-1&&!(node.mode&292)){return ERRNO_CODES.EACCES}else if(perms.indexOf("w")!==-1&&!(node.mode&146)){return ERRNO_CODES.EACCES}else if(perms.indexOf("x")!==-1&&!(node.mode&73)){return ERRNO_CODES.EACCES}return 0}),mayLookup:(function(dir){var err=FS.nodePermissions(dir,"x");if(err)return err;if(!dir.node_ops.lookup)return ERRNO_CODES.EACCES;return 0}),mayCreate:(function(dir,name){try{var node=FS.lookupNode(dir,name);return ERRNO_CODES.EEXIST}catch(e){}return FS.nodePermissions(dir,"wx")}),mayDelete:(function(dir,name,isdir){var node;try{node=FS.lookupNode(dir,name)}catch(e){return e.errno}var err=FS.nodePermissions(dir,"wx");if(err){return err}if(isdir){if(!FS.isDir(node.mode)){return ERRNO_CODES.ENOTDIR}if(FS.isRoot(node)||FS.getPath(node)===FS.cwd()){return ERRNO_CODES.EBUSY}}else{if(FS.isDir(node.mode)){return ERRNO_CODES.EISDIR}}return 0}),mayOpen:(function(node,flags){if(!node){return ERRNO_CODES.ENOENT}if(FS.isLink(node.mode)){return ERRNO_CODES.ELOOP}else if(FS.isDir(node.mode)){if(FS.flagsToPermissionString(flags)!=="r"||flags&512){return ERRNO_CODES.EISDIR}}return FS.nodePermissions(node,FS.flagsToPermissionString(flags))}),MAX_OPEN_FDS:4096,nextfd:(function(fd_start,fd_end){fd_start=fd_start||0;fd_end=fd_end||FS.MAX_OPEN_FDS;for(var fd=fd_start;fd<=fd_end;fd++){if(!FS.streams[fd]){return fd}}throw new FS.ErrnoError(ERRNO_CODES.EMFILE)}),getStream:(function(fd){return FS.streams[fd]}),createStream:(function(stream,fd_start,fd_end){if(!FS.FSStream){FS.FSStream=(function(){});FS.FSStream.prototype={};Object.defineProperties(FS.FSStream.prototype,{object:{get:(function(){return this.node}),set:(function(val){this.node=val})},isRead:{get:(function(){return(this.flags&2097155)!==1})},isWrite:{get:(function(){return(this.flags&2097155)!==0})},isAppend:{get:(function(){return this.flags&1024})}})}var newStream=new FS.FSStream;for(var p in stream){newStream[p]=stream[p]}stream=newStream;var fd=FS.nextfd(fd_start,fd_end);stream.fd=fd;FS.streams[fd]=stream;return stream}),closeStream:(function(fd){FS.streams[fd]=null}),chrdev_stream_ops:{open:(function(stream){var device=FS.getDevice(stream.node.rdev);stream.stream_ops=device.stream_ops;if(stream.stream_ops.open){stream.stream_ops.open(stream)}}),llseek:(function(){throw new FS.ErrnoError(ERRNO_CODES.ESPIPE)})},major:(function(dev){return dev>>8}),minor:(function(dev){return dev&255}),makedev:(function(ma,mi){return ma<<8|mi}),registerDevice:(function(dev,ops){FS.devices[dev]={stream_ops:ops}}),getDevice:(function(dev){return FS.devices[dev]}),getMounts:(function(mount){var mounts=[];var check=[mount];while(check.length){var m=check.pop();mounts.push(m);check.push.apply(check,m.mounts)}return mounts}),syncfs:(function(populate,callback){if(typeof populate==="function"){callback=populate;populate=false}FS.syncFSRequests++;if(FS.syncFSRequests>1){console.log("warning: "+FS.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work")}var mounts=FS.getMounts(FS.root.mount);var completed=0;function doCallback(err){assert(FS.syncFSRequests>0);FS.syncFSRequests--;return callback(err)}function done(err){if(err){if(!done.errored){done.errored=true;return doCallback(err)}return}if(++completed>=mounts.length){doCallback(null)}}mounts.forEach((function(mount){if(!mount.type.syncfs){return done(null)}mount.type.syncfs(mount,populate,done)}))}),mount:(function(type,opts,mountpoint){var root=mountpoint==="/";var pseudo=!mountpoint;var node;if(root&&FS.root){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}else if(!root&&!pseudo){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});mountpoint=lookup.path;node=lookup.node;if(FS.isMountpoint(node)){throw new FS.ErrnoError(ERRNO_CODES.EBUSY)}if(!FS.isDir(node.mode)){throw new FS.ErrnoError(ERRNO_CODES.ENOTDIR)}}var mount={type:type,opts:opts,mountpoint:mountpoint,mounts:[]};var mountRoot=type.mount(mount);mountRoot.mount=mount;mount.root=mountRoot;if(root){FS.root=mountRoot}else if(node){node.mounted=mount;if(node.mount){node.mount.mounts.push(mount)}}return mountRoot}),unmount:(function(mountpoint){var lookup=FS.lookupPath(mountpoint,{follow_mount:false});if(!FS.isMountpoint(lookup.node)){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var node=lookup.node;var mount=node.mounted;var mounts=FS.getMounts(mount);Object.keys(FS.nameTable).forEach((function(hash){var current=FS.nameTable[hash];while(current){var next=current.name_next;if(mounts.indexOf(current.mount)!==-1){FS.destroyNode(current)}current=next}}));node.mounted=null;var idx=node.mount.mounts.indexOf(mount);assert(idx!==-1);node.mount.mounts.splice(idx,1)}),lookup:(function(parent,name){return parent.node_ops.lookup(parent,name)}),mknod:(function(path,mode,dev){var lookup=FS.lookupPath(path,{parent:true});var parent=lookup.node;var name=PATH.basename(path);if(!name||name==="."||name===".."){throw new FS.ErrnoError(ERRNO_CODES.EINVAL)}var err=FS.mayCreate(parent,name);if(err){throw new FS.ErrnoError(err)}if(!parent.node_ops.mknod){throw new FS.ErrnoError(ERRNO_CODES.EPERM)}return parent.node_ops.mknod(parent,name,mode,dev)}),create:(function(path,mode){mode=mode!==undefined?mode:438;mode&=4095;mode|=32768;return FS.mknod(path,mode,0)}),mkdir:(function(path,mode){mode=mode!==undefined?mode:511;mode&=511|512;mode|=16384;return FS.mknod(path,mode,0)}),mkdirTree:(function(path,mode){var dirs=path.split("/");var d="";for(var i=0;ithis.length-1||idx<0){return undefined}var chunkOffset=idx%this.chunkSize;var chunkNum=idx/this.chunkSize|0;return this.getter(chunkNum)[chunkOffset]};LazyUint8Array.prototype.setDataGetter=function LazyUint8Array_setDataGetter(getter){this.getter=getter};LazyUint8Array.prototype.cacheLength=function LazyUint8Array_cacheLength(){var xhr=new XMLHttpRequest;xhr.open("HEAD",url,false);xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);var datalength=Number(xhr.getResponseHeader("Content-length"));var header;var hasByteServing=(header=xhr.getResponseHeader("Accept-Ranges"))&&header==="bytes";var usesGzip=(header=xhr.getResponseHeader("Content-Encoding"))&&header==="gzip";var chunkSize=1024*1024;if(!hasByteServing)chunkSize=datalength;var doXHR=(function(from,to){if(from>to)throw new Error("invalid range ("+from+", "+to+") or no bytes requested!");if(to>datalength-1)throw new Error("only "+datalength+" bytes available! programmer error!");var xhr=new XMLHttpRequest;xhr.open("GET",url,false);if(datalength!==chunkSize)xhr.setRequestHeader("Range","bytes="+from+"-"+to);if(typeof Uint8Array!="undefined")xhr.responseType="arraybuffer";if(xhr.overrideMimeType){xhr.overrideMimeType("text/plain; charset=x-user-defined")}xhr.send(null);if(!(xhr.status>=200&&xhr.status<300||xhr.status===304))throw new Error("Couldn't load "+url+". Status: "+xhr.status);if(xhr.response!==undefined){return new Uint8Array(xhr.response||[])}else{return intArrayFromString(xhr.responseText||"",true)}});var lazyArray=this;lazyArray.setDataGetter((function(chunkNum){var start=chunkNum*chunkSize;var end=(chunkNum+1)*chunkSize-1;end=Math.min(end,datalength-1);if(typeof lazyArray.chunks[chunkNum]==="undefined"){lazyArray.chunks[chunkNum]=doXHR(start,end)}if(typeof lazyArray.chunks[chunkNum]==="undefined")throw new Error("doXHR failed!");return lazyArray.chunks[chunkNum]}));if(usesGzip||!datalength){chunkSize=datalength=1;datalength=this.getter(0).length;chunkSize=datalength;console.log("LazyFiles on gzip forces download of the whole file when length is accessed")}this._length=datalength;this._chunkSize=chunkSize;this.lengthKnown=true};if(typeof XMLHttpRequest!=="undefined"){if(!ENVIRONMENT_IS_WORKER)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var lazyArray=new LazyUint8Array;Object.defineProperties(lazyArray,{length:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._length})},chunkSize:{get:(function(){if(!this.lengthKnown){this.cacheLength()}return this._chunkSize})}});var properties={isDevice:false,contents:lazyArray}}else{var properties={isDevice:false,url:url}}var node=FS.createFile(parent,name,properties,canRead,canWrite);if(properties.contents){node.contents=properties.contents}else if(properties.url){node.contents=null;node.url=properties.url}Object.defineProperties(node,{usedBytes:{get:(function(){return this.contents.length})}});var stream_ops={};var keys=Object.keys(node.stream_ops);keys.forEach((function(key){var fn=node.stream_ops[key];stream_ops[key]=function forceLoadLazyFile(){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}return fn.apply(null,arguments)}}));stream_ops.read=function stream_ops_read(stream,buffer,offset,length,position){if(!FS.forceLoadFile(node)){throw new FS.ErrnoError(ERRNO_CODES.EIO)}var contents=stream.node.contents;if(position>=contents.length)return 0;var size=Math.min(contents.length-position,length);assert(size>=0);if(contents.slice){for(var i=0;i>2]=stat.dev;HEAP32[buf+4>>2]=0;HEAP32[buf+8>>2]=stat.ino;HEAP32[buf+12>>2]=stat.mode;HEAP32[buf+16>>2]=stat.nlink;HEAP32[buf+20>>2]=stat.uid;HEAP32[buf+24>>2]=stat.gid;HEAP32[buf+28>>2]=stat.rdev;HEAP32[buf+32>>2]=0;HEAP32[buf+36>>2]=stat.size;HEAP32[buf+40>>2]=4096;HEAP32[buf+44>>2]=stat.blocks;HEAP32[buf+48>>2]=stat.atime.getTime()/1e3|0;HEAP32[buf+52>>2]=0;HEAP32[buf+56>>2]=stat.mtime.getTime()/1e3|0;HEAP32[buf+60>>2]=0;HEAP32[buf+64>>2]=stat.ctime.getTime()/1e3|0;HEAP32[buf+68>>2]=0;HEAP32[buf+72>>2]=stat.ino;return 0}),doMsync:(function(addr,stream,len,flags){var buffer=new Uint8Array(HEAPU8.subarray(addr,addr+len));FS.msync(stream,buffer,0,len,flags)}),doMkdir:(function(path,mode){path=PATH.normalize(path);if(path[path.length-1]==="/")path=path.substr(0,path.length-1);FS.mkdir(path,mode,0);return 0}),doMknod:(function(path,mode,dev){switch(mode&61440){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-ERRNO_CODES.EINVAL}FS.mknod(path,mode,dev);return 0}),doReadlink:(function(path,buf,bufsize){if(bufsize<=0)return-ERRNO_CODES.EINVAL;var ret=FS.readlink(path);var len=Math.min(bufsize,lengthBytesUTF8(ret));var endChar=HEAP8[buf+len];stringToUTF8(ret,buf,bufsize+1);HEAP8[buf+len]=endChar;return len}),doAccess:(function(path,amode){if(amode&~7){return-ERRNO_CODES.EINVAL}var node;var lookup=FS.lookupPath(path,{follow:true});node=lookup.node;var perms="";if(amode&4)perms+="r";if(amode&2)perms+="w";if(amode&1)perms+="x";if(perms&&FS.nodePermissions(node,perms)){return-ERRNO_CODES.EACCES}return 0}),doDup:(function(path,flags,suggestFD){var suggest=FS.getStream(suggestFD);if(suggest)FS.close(suggest);return FS.open(path,flags,0,suggestFD,suggestFD).fd}),doReadv:(function(stream,iov,iovcnt,offset){var ret=0;for(var i=0;i>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.read(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr;if(curr>2];var len=HEAP32[iov+(i*8+4)>>2];var curr=FS.write(stream,HEAP8,ptr,len,offset);if(curr<0)return-1;ret+=curr}return ret}),varargs:0,get:(function(varargs){SYSCALLS.varargs+=4;var ret=HEAP32[SYSCALLS.varargs-4>>2];return ret}),getStr:(function(){var ret=Pointer_stringify(SYSCALLS.get());return ret}),getStreamFromFD:(function(){var stream=FS.getStream(SYSCALLS.get());if(!stream)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return stream}),getSocketFromFD:(function(){var socket=SOCKFS.getSocket(SYSCALLS.get());if(!socket)throw new FS.ErrnoError(ERRNO_CODES.EBADF);return socket}),getSocketAddress:(function(allowNull){var addrp=SYSCALLS.get(),addrlen=SYSCALLS.get();if(allowNull&&addrp===0)return null;var info=__read_sockaddr(addrp,addrlen);if(info.errno)throw new FS.ErrnoError(info.errno);info.addr=DNS.lookup_addr(info.addr)||info.addr;return info}),get64:(function(){var low=SYSCALLS.get(),high=SYSCALLS.get();if(low>=0)assert(high===0);else assert(high===-1);return low}),getZero:(function(){assert(SYSCALLS.get()===0)})};function ___syscall10(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.unlink(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall118(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall140(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),offset_high=SYSCALLS.get(),offset_low=SYSCALLS.get(),result=SYSCALLS.get(),whence=SYSCALLS.get();var offset=offset_low;FS.llseek(stream,offset,whence);HEAP32[result>>2]=stream.position;if(stream.getdents&&offset===0&&whence===0)stream.getdents=null;return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall15(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();FS.chmod(path,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall183(which,varargs){SYSCALLS.varargs=varargs;try{var buf=SYSCALLS.get(),size=SYSCALLS.get();if(size===0)return-ERRNO_CODES.EINVAL;var cwd=FS.cwd();var cwdLengthInBytes=lengthBytesUTF8(cwd);if(size>1]=2;return 0};case 13:case 14:case 13:case 14:return 0;case 16:case 8:return-ERRNO_CODES.EINVAL;case 9:___setErrNo(ERRNO_CODES.EINVAL);return-1;default:{return-ERRNO_CODES.EINVAL}}}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall3(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.read(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall33(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),amode=SYSCALLS.get();return SYSCALLS.doAccess(path,amode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall39(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),mode=SYSCALLS.get();return SYSCALLS.doMkdir(path,mode)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall4(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD(),buf=SYSCALLS.get(),count=SYSCALLS.get();return FS.write(stream,HEAP8,buf,count)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall40(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr();FS.rmdir(path);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall5(which,varargs){SYSCALLS.varargs=varargs;try{var pathname=SYSCALLS.getStr(),flags=SYSCALLS.get(),mode=SYSCALLS.get();var stream=FS.open(pathname,flags,mode);return stream.fd}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall6(which,varargs){SYSCALLS.varargs=varargs;try{var stream=SYSCALLS.getStreamFromFD();FS.close(stream);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall85(which,varargs){SYSCALLS.varargs=varargs;try{var path=SYSCALLS.getStr(),buf=SYSCALLS.get(),bufsize=SYSCALLS.get();return SYSCALLS.doReadlink(path,buf,bufsize)}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall91(which,varargs){SYSCALLS.varargs=varargs;try{var addr=SYSCALLS.get(),len=SYSCALLS.get();var info=SYSCALLS.mappings[addr];if(!info)return 0;if(len===info.len){var stream=FS.getStream(info.fd);SYSCALLS.doMsync(addr,stream,len,info.flags);FS.munmap(stream);SYSCALLS.mappings[addr]=null;if(info.allocated){_free(info.malloc)}}return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}function ___syscall94(which,varargs){SYSCALLS.varargs=varargs;try{var fd=SYSCALLS.get(),mode=SYSCALLS.get();FS.fchmod(fd,mode);return 0}catch(e){if(typeof FS==="undefined"||!(e instanceof FS.ErrnoError))abort(e);return-e.errno}}var _environ=STATICTOP;STATICTOP+=16;function ___buildEnvironment(env){var MAX_ENV_VALUES=64;var TOTAL_ENV_SIZE=1024;var poolPtr;var envPtr;if(!___buildEnvironment.called){___buildEnvironment.called=true;ENV["USER"]=ENV["LOGNAME"]="web_user";ENV["PATH"]="/";ENV["PWD"]="/";ENV["HOME"]="/home/web_user";ENV["LANG"]="C.UTF-8";ENV["_"]=Module["thisProgram"];poolPtr=allocate(TOTAL_ENV_SIZE,"i8",ALLOC_STATIC);envPtr=allocate(MAX_ENV_VALUES*4,"i8*",ALLOC_STATIC);HEAP32[envPtr>>2]=poolPtr;HEAP32[_environ>>2]=envPtr}else{envPtr=HEAP32[_environ>>2];poolPtr=HEAP32[envPtr>>2]}var strings=[];var totalSize=0;for(var key in env){if(typeof env[key]==="string"){var line=key+"="+env[key];strings.push(line);totalSize+=line.length}}if(totalSize>TOTAL_ENV_SIZE){throw new Error("Environment size exceeded TOTAL_ENV_SIZE!")}var ptrSize=4;for(var i=0;i>2]=poolPtr;poolPtr+=line.length+1}HEAP32[envPtr+strings.length*ptrSize>>2]=0}var ENV={};function _getenv(name){if(name===0)return 0;name=Pointer_stringify(name);if(!ENV.hasOwnProperty(name))return 0;if(_getenv.ret)_free(_getenv.ret);_getenv.ret=allocate(intArrayFromString(ENV[name]),"i8",ALLOC_NORMAL);return _getenv.ret}function _gettimeofday(ptr){var now=Date.now();HEAP32[ptr>>2]=now/1e3|0;HEAP32[ptr+4>>2]=now%1e3*1e3|0;return 0}var _llvm_pow_f64=Math_pow;function _llvm_trap(){abort("trap!")}var ___tm_current=STATICTOP;STATICTOP+=48;var ___tm_timezone=allocate(intArrayFromString("GMT"),"i8",ALLOC_STATIC);var _tzname=STATICTOP;STATICTOP+=16;var _daylight=STATICTOP;STATICTOP+=16;var _timezone=STATICTOP;STATICTOP+=16;function _tzset(){if(_tzset.called)return;_tzset.called=true;HEAP32[_timezone>>2]=-(new Date).getTimezoneOffset()*60;var winter=new Date(2e3,0,1);var summer=new Date(2e3,6,1);HEAP32[_daylight>>2]=Number(winter.getTimezoneOffset()!=summer.getTimezoneOffset());function extractZone(date){var match=date.toTimeString().match(/\(([A-Za-z ]+)\)$/);return match?match[1]:"GMT"}var winterName=extractZone(winter);var summerName=extractZone(summer);var winterNamePtr=allocate(intArrayFromString(winterName),"i8",ALLOC_NORMAL);var summerNamePtr=allocate(intArrayFromString(summerName),"i8",ALLOC_NORMAL);if(summer.getTimezoneOffset()>2]=winterNamePtr;HEAP32[_tzname+4>>2]=summerNamePtr}else{HEAP32[_tzname>>2]=summerNamePtr;HEAP32[_tzname+4>>2]=winterNamePtr}}function _localtime_r(time,tmPtr){_tzset();var date=new Date(HEAP32[time>>2]*1e3);HEAP32[tmPtr>>2]=date.getSeconds();HEAP32[tmPtr+4>>2]=date.getMinutes();HEAP32[tmPtr+8>>2]=date.getHours();HEAP32[tmPtr+12>>2]=date.getDate();HEAP32[tmPtr+16>>2]=date.getMonth();HEAP32[tmPtr+20>>2]=date.getFullYear()-1900;HEAP32[tmPtr+24>>2]=date.getDay();var start=new Date(date.getFullYear(),0,1);var yday=(date.getTime()-start.getTime())/(1e3*60*60*24)|0;HEAP32[tmPtr+28>>2]=yday;HEAP32[tmPtr+36>>2]=-(date.getTimezoneOffset()*60);var summerOffset=(new Date(2e3,6,1)).getTimezoneOffset();var winterOffset=start.getTimezoneOffset();var dst=(summerOffset!=winterOffset&&date.getTimezoneOffset()==Math.min(winterOffset,summerOffset))|0;HEAP32[tmPtr+32>>2]=dst;var zonePtr=HEAP32[_tzname+(dst?4:0)>>2];HEAP32[tmPtr+40>>2]=zonePtr;return tmPtr}function _localtime(time){return _localtime_r(time,___tm_current)}function _emscripten_memcpy_big(dest,src,num){HEAPU8.set(HEAPU8.subarray(src,src+num),dest);return dest}function _usleep(useconds){var msec=useconds/1e3;if((ENVIRONMENT_IS_WEB||ENVIRONMENT_IS_WORKER)&&self["performance"]&&self["performance"]["now"]){var start=self["performance"]["now"]();while(self["performance"]["now"]()-start>2];var nanoseconds=HEAP32[rqtp+4>>2];if(rmtp!==0){HEAP32[rmtp>>2]=0;HEAP32[rmtp+4>>2]=0}return _usleep(seconds*1e6+nanoseconds/1e3)}function _sysconf(name){switch(name){case 30:return PAGE_SIZE;case 85:var maxHeapSize=2*1024*1024*1024-16777216;maxHeapSize=HEAPU8.length;return maxHeapSize/PAGE_SIZE;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 80:case 81:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 79:return 0;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:{if(typeof navigator==="object")return navigator["hardwareConcurrency"]||1;return 1}}___setErrNo(ERRNO_CODES.EINVAL);return-1}function _time(ptr){var ret=Date.now()/1e3|0;if(ptr){HEAP32[ptr>>2]=ret}return ret}function _utimes(path,times){var time;if(times){var offset=8+0;time=HEAP32[times+offset>>2]*1e3;offset=8+4;time+=HEAP32[times+offset>>2]/1e3}else{time=Date.now()}path=Pointer_stringify(path);try{FS.utime(path,time,time);return 0}catch(e){FS.handleFSError(e);return-1}}FS.staticInit();__ATINIT__.unshift((function(){if(!Module["noFSInit"]&&!FS.init.initialized)FS.init()}));__ATMAIN__.push((function(){FS.ignorePermissions=false}));__ATEXIT__.push((function(){FS.quit()}));Module["FS_createFolder"]=FS.createFolder;Module["FS_createPath"]=FS.createPath;Module["FS_createDataFile"]=FS.createDataFile;Module["FS_createPreloadedFile"]=FS.createPreloadedFile;Module["FS_createLazyFile"]=FS.createLazyFile;Module["FS_createLink"]=FS.createLink;Module["FS_createDevice"]=FS.createDevice;Module["FS_unlink"]=FS.unlink;__ATINIT__.unshift((function(){TTY.init()}));__ATEXIT__.push((function(){TTY.shutdown()}));if(ENVIRONMENT_IS_NODE){var fs=require("fs");var NODEJS_PATH=require("path");NODEFS.staticInit()}___buildEnvironment(ENV);DYNAMICTOP_PTR=staticAlloc(4);STACK_BASE=STACKTOP=alignMemory(STATICTOP);STACK_MAX=STACK_BASE+TOTAL_STACK;DYNAMIC_BASE=alignMemory(STACK_MAX);HEAP32[DYNAMICTOP_PTR>>2]=DYNAMIC_BASE;staticSealed=true;var ASSERTIONS=false;function intArrayFromString(stringy,dontAddNull,length){var len=length>0?length:lengthBytesUTF8(stringy)+1;var u8array=new Array(len);var numBytesWritten=stringToUTF8Array(stringy,u8array,0,u8array.length);if(dontAddNull)u8array.length=numBytesWritten;return u8array}function intArrayToString(array){var ret=[];for(var i=0;i255){if(ASSERTIONS){assert(false,"Character code "+chr+" ("+String.fromCharCode(chr)+") at offset "+i+" not in 0x00-0xFF.")}chr&=255}ret.push(String.fromCharCode(chr))}return ret.join("")}var decodeBase64=typeof atob==="function"?atob:(function(input){var keyStr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var output="";var chr1,chr2,chr3;var enc1,enc2,enc3,enc4;var i=0;input=input.replace(/[^A-Za-z0-9\+\/\=]/g,"");do{enc1=keyStr.indexOf(input.charAt(i++));enc2=keyStr.indexOf(input.charAt(i++));enc3=keyStr.indexOf(input.charAt(i++));enc4=keyStr.indexOf(input.charAt(i++));chr1=enc1<<2|enc2>>4;chr2=(enc2&15)<<4|enc3>>2;chr3=(enc3&3)<<6|enc4;output=output+String.fromCharCode(chr1);if(enc3!==64){output=output+String.fromCharCode(chr2)}if(enc4!==64){output=output+String.fromCharCode(chr3)}}while(i>0]|0){case 1:{e=b;break}case 2:{e=-1;break}default:e=0}bp(b,c[480+(f*12|0)>>2]|0,a[480+(f*12|0)+4>>0]|0,d[480+(f*12|0)+6>>0]|0,e,c[480+(f*12|0)+8>>2]|0,0,0)|0;f=f+1|0}while((f|0)!=40);bp(b,16097,1,1,0,0,222,142)|0;bp(b,16103,1,1,0,0,222,143)|0;bp(b,30266,1,1,0,0,223,144)|0;bp(b,16112,1,1,0,0,223,145)|0;bp(b,16119,1,1,0,0,223,146)|0;bp(b,16134,1,1,0,0,223,147)|0;return 0}function Cb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,378,16181);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+H(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Db(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,379,16190);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+I(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Eb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,380,16199);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+J(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Fb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0;if((b|0)!=2)ta(16208,16157,570,16216);if((hi(c[d>>2]|0)|0)!=5?(e=d+4|0,(hi(c[e>>2]|0)|0)!=5):0){f=+ei(c[d>>2]|0);ii(a,+K(+f,+(+ei(c[e>>2]|0))));return}mi(a);return}function Gb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,394,16225);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+us(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Hb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,402,16235);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+ys(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Ib(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,410,16245);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+xs(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Jb(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;k=p+8|0;j=p;if((e|0)!=2)ta(16208,16157,1680,16255);if((hi(c[f>>2]|0)|0)!=5?(g=f+4|0,(hi(c[g>>2]|0)|0)!=5):0){h=ci(c[f>>2]|0)|0;i=ci(c[g>>2]|0)|0;f=a[h>>0]|0;a:do if(!(f<<24>>24))o=16;else{e=0;g=f&255;while(1){if(Zs(g)|0)break;e=e+1|0;f=a[h+e>>0]|0;if(!(f<<24>>24)){o=16;break a}else g=f&255}a[k>>0]=ft(g)|0;while(1){f=a[16270+(f&127)>>0]|0;if(f<<24>>24){o=14;break}e=e+1|0;f=a[h+e>>0]|0;if(!(f<<24>>24)){e=1;o=11;break}}b:do if((o|0)==14){a[k+1>>0]=(f&255)+48;e=e+1|0;f=a[h+e>>0]|0;if(f<<24>>24){g=e;while(1){e=a[16270+(f&127)>>0]|0;if(e<<24>>24)break;e=g+1|0;f=a[h+e>>0]|0;if(!(f<<24>>24)){e=2;o=11;break b}else g=e}a[k+2>>0]=(e&255)+48;e=g+1|0;f=a[h+e>>0]|0;if(!(f<<24>>24)){e=3;o=11}else{while(1){f=a[16270+(f&127)>>0]|0;if(f<<24>>24)break;e=e+1|0;f=a[h+e>>0]|0;if(!(f<<24>>24)){e=3;o=11;break b}}a[k+3>>0]=(f&255)+48}}else{e=2;o=11}}while(0);if((o|0)==11)Vt(k+e|0,48,4-e|0)|0;a[k+4>>0]=0}while(0);if((o|0)==16){a[k>>0]=a[16398]|0;a[k+1>>0]=a[16399]|0;a[k+2>>0]=a[16400]|0;a[k+3>>0]=a[16401]|0;a[k+4>>0]=a[16402]|0}f=a[i>>0]|0;c:do if(!(f<<24>>24))o=27;else{e=0;g=f;f=f&255;while(1){if(Zs(f)|0)break;e=e+1|0;f=a[i+e>>0]|0;if(!(f<<24>>24)){o=27;break c}else{g=f;f=f&255}}a[j>>0]=ft(f)|0;f=g;while(1){f=a[16270+(f&127)>>0]|0;if(f<<24>>24){o=25;break}e=e+1|0;f=a[i+e>>0]|0;if(!(f<<24>>24)){e=1;o=22;break}}d:do if((o|0)==25){a[j+1>>0]=(f&255)+48;e=e+1|0;f=a[i+e>>0]|0;if(f<<24>>24){g=e;while(1){e=a[16270+(f&127)>>0]|0;if(e<<24>>24)break;e=g+1|0;f=a[i+e>>0]|0;if(!(f<<24>>24)){e=2;o=22;break d}else g=e}a[j+2>>0]=(e&255)+48;e=g+1|0;f=a[i+e>>0]|0;if(!(f<<24>>24)){e=3;o=22}else{while(1){f=a[16270+(f&127)>>0]|0;if(f<<24>>24)break;e=e+1|0;f=a[i+e>>0]|0;if(!(f<<24>>24)){e=3;o=22;break d}}a[j+3>>0]=(f&255)+48}}else{e=2;o=22}}while(0);if((o|0)==22)Vt(j+e|0,48,4-e|0)|0;a[j+4>>0]=0}while(0);if((o|0)==27){a[j>>0]=a[16398]|0;a[j+1>>0]=a[16399]|0;a[j+2>>0]=a[16400]|0;a[j+3>>0]=a[16401]|0;a[j+4>>0]=a[16402]|0}g=j;n=0;f=0;h=k;e=a[k>>0]|0;while(1){i=h+1|0;e=e&255;m=a[16403+e>>0]|0;k=m&255;switch(m<<24>>24){case 4:{m=65533;break}case 3:{j=h+2|0;e=(d[i>>0]|0)+(e<<6)|0;o=32;break}case 2:{j=i;o=32;break}case 1:{o=33;break}default:m=e}if((o|0)==32){i=j+1|0;e=(d[j>>0]|0)+(e<<6)|0;o=33}if((o|0)==33){o=0;m=(d[i>>0]|0)+(e<<6)-(c[960+(k<<2)>>2]|0)|0;m=(m&-2|0)==65534|((m&-2048|0)==55296?1:(m&c[976+(k<<2)>>2]|0)==0)?65533:m}i=g+1|0;e=d[g>>0]|0;j=a[16403+e>>0]|0;k=j&255;switch(j<<24>>24){case 4:{e=65533;break}case 3:{j=g+2|0;e=(d[i>>0]|0)+(e<<6)|0;o=37;break}case 2:{j=i;o=37;break}case 1:{o=38;break}default:{}}if((o|0)==37){i=j+1|0;e=(d[j>>0]|0)+(e<<6)|0;o=38}if((o|0)==38){o=0;e=(d[i>>0]|0)+(e<<6)-(c[960+(k<<2)>>2]|0)|0;e=(e&-2|0)==65534|((e&-2048|0)==55296?1:(e&c[976+(k<<2)>>2]|0)==0)?65533:e}e=(m|0)==(e|0)&1;do{h=h+1|0;i=a[h>>0]|0}while((i&-64)<<24>>24==-128);do g=g+1|0;while((a[g>>0]&-64)<<24>>24==-128);f=e+f|0;e=n+1|0;if((e|0)==4)break;else{n=e;e=i}}ki(b,f);l=p;return}mi(b);l=p;return}function Kb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,498,16659);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,e*180.0/3.141592653589793);return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Lb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,499,16671);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,e*3.141592653589793/180.0);return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Mb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,420,16683);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+E(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Nb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,419,16691);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+F(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Ob(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,421,16699);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+G(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Pb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,422,16707);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,1.0/+G(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Qb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,446,16715);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+ps(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Rb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,438,16724);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+ws(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Sb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,454,16733);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+zs(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Tb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,456,16742);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,1.0/+zs(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Ub(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,474,16751);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+L(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Vb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,472,16759);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+M(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Wb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,473,16767);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+ts(e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function Xb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,g=0;if((b|0)!=2)ta(16208,16157,546,16777);if((hi(c[d>>2]|0)|0)!=5?(g=d+4|0,(hi(c[g>>2]|0)|0)!=5):0){f=+ei(c[d>>2]|0);e=+ei(c[g>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+D(+f,+e));return}else{g=Es(c[(ks()|0)>>2]|0)|0;ji(a,g,c[(ks()|0)>>2]|0);return}}mi(a);return}function Yb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0.0;if((b|0)!=1)ta(16149,16157,590,16787);switch(hi(c[d>>2]|0)|0){case 1:{e=gi(c[d>>2]|0)|0;d=z;b=(d|0)>0|(d|0)==0&e>>>0>0;d=((e|0)!=0|(d|0)!=0)<<31>>31;li(a,b?1:d,b?0:((d|0)<0)<<31>>31);return}case 5:{mi(a);return}default:{f=+ei(c[d>>2]|0);ii(a,f>0.0?1.0:+((f<0.0)<<31>>31));return}}}function Zb(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,375,16796);if((hi(c[d>>2]|0)|0)==5){mi(a);return}e=+ei(c[d>>2]|0);c[(ks()|0)>>2]=0;if(!(c[(ks()|0)>>2]|0)){ii(a,+C(+e));return}else{d=Es(c[(ks()|0)>>2]|0)|0;ji(a,d,c[(ks()|0)>>2]|0);return}}function _b(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,514,16805);switch(hi(c[d>>2]|0)|0){case 1:{b=gi(c[d>>2]|0)|0;d=z;li(a,Lt(b|0,d|0,b|0,d|0)|0,z);return}case 5:{mi(a);return}default:{e=+ei(c[d>>2]|0);ii(a,e*e);return}}}function $b(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,620,16816);switch(hi(c[d>>2]|0)|0){case 1:{li(a,gi(c[d>>2]|0)|0,z);return}case 5:{mi(a);return}default:{e=+N(+(+ei(c[d>>2]|0)));li(a,~~e>>>0,+B(e)>=1.0?(e>0.0?~~+P(+A(e/4294967296.0),4294967295.0)>>>0:~~+N((e-+(~~e>>>0))/4294967296.0)>>>0):0);return}}}function ac(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0;if((b|0)!=1)ta(16149,16157,645,16825);switch(hi(c[d>>2]|0)|0){case 1:{li(a,gi(c[d>>2]|0)|0,z);return}case 5:{mi(a);return}default:{e=+A(+(+ei(c[d>>2]|0)));li(a,~~e>>>0,+B(e)>=1.0?(e>0.0?~~+P(+A(e/4294967296.0),4294967295.0)>>>0:~~+N((e-+(~~e>>>0))/4294967296.0)>>>0):0);return}}}function bc(a,b,c){a=a|0;b=b|0;c=c|0;ii(a,3.141592653589793);return}function cc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;if((b|0)!=2)return;if((hi(c[d>>2]|0)|0)==5)return;k=gi(c[d+4>>2]|0)|0;f=z;if((f|0)<0){ji(a,16835,-1);return}g=di(c[d>>2]|0)|0;h=((g|0)<0)<<31>>31;i=Lt(g|0,h|0,k|0,f|0)|0;i=Ft(i|0,z|0,1,0)|0;i=Fd(i)|0;j=Fd(g+1|0)|0;b=(i|0)!=0;e=(j|0)!=0;if(b&e){Cs(j,ci(c[d>>2]|0)|0)|0;if((f|0)>0|(f|0)==0&k>>>0>0){b=0;e=0;do{d=Lt(b|0,e|0,g|0,h|0)|0;Cs(i+d|0,j)|0;b=Ft(b|0,e|0,1,0)|0;e=z}while((e|0)<(f|0)|(e|0)==(f|0)&b>>>0>>0)}oi(a,i,-1,-1);ge(i);ge(j);return}pi(a);if(b)ge(i);if(!e)return;ge(j);return}function dc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;h=(e|0)==3;if((e|1|0)!=3)ta(16848,16157,1038,16866);if((hi(c[f>>2]|0)|0)!=5?(g=f+4|0,(hi(c[g>>2]|0)|0)!=5):0){s=ci(c[f>>2]|0)|0;if(!s)return;e=ci(c[g>>2]|0)|0;if(h){r=(fi(c[f+8>>2]|0)|0)+-1|0;r=(r|0)>0?r:0}else r=0;q=a[s>>0]|0;if(!(q<<24>>24))e=0;else{g=e;k=0;m=a[e>>0]|0;a:while(1){i=g+1|0;e=m&255;h=a[16403+e>>0]|0;j=h&255;switch(h<<24>>24){case 4:break;case 3:{f=g+2|0;e=(d[i>>0]|0)+(e<<6)|0;t=13;break}case 2:{f=i;t=13;break}case 1:{n=i;l=e;t=14;break}default:{p=e;t=15}}if((t|0)==13){n=f+1|0;l=(d[f>>0]|0)+(e<<6)|0;t=14}if((t|0)==14?(t=0,o=(d[n>>0]|0)+(l<<6)-(c[960+(j<<2)>>2]|0)|0,!((o&-2|0)==65534|((o&-2048|0)==55296?1:(o&c[976+(j<<2)>>2]|0)==0))):0){p=o;t=15}if((t|0)==15?(t=0,(p|0)==0):0){e=0;break}f=k+1|0;if((k|0)>=(r|0)){e=0;break}while(1){g=g+1|0;e=a[g>>0]|0;if((e&-64)<<24>>24!=-128){k=f;m=e;continue a}}}while(1){i=g+1|0;f=m&255;j=h&255;switch(h<<24>>24){case 4:{h=g;i=s;f=q;break}case 3:{h=g+2|0;f=(d[i>>0]|0)+(f<<6)|0;t=20;break}case 2:{h=i;t=20;break}case 1:{t=21;break}default:t=22}if((t|0)==20){i=h+1|0;f=(d[h>>0]|0)+(f<<6)|0;t=21}if((t|0)==21){t=0;f=(d[i>>0]|0)+(f<<6)-(c[960+(j<<2)>>2]|0)|0;if((f&-2|0)==65534|((f&-2048|0)==55296?1:(f&c[976+(j<<2)>>2]|0)==0)){h=g;i=s;f=q}else t=22}if((t|0)==22){t=0;if(!f){e=-1;break}else{h=g;i=s;f=q}}while(1){j=i+1|0;f=f&255;p=a[16403+f>>0]|0;l=p&255;switch(p<<24>>24){case 4:{n=65533;break}case 3:{k=i+2|0;f=(d[j>>0]|0)+(f<<6)|0;t=26;break}case 2:{k=j;t=26;break}case 1:{t=27;break}default:n=f}if((t|0)==26){j=k+1|0;f=(d[k>>0]|0)+(f<<6)|0;t=27}if((t|0)==27){t=0;n=(d[j>>0]|0)+(f<<6)-(c[960+(l<<2)>>2]|0)|0;n=(n&-2|0)==65534|((n&-2048|0)==55296?1:(n&c[976+(l<<2)>>2]|0)==0)?65533:n}j=h+1|0;f=m&255;p=a[16403+f>>0]|0;l=p&255;switch(p<<24>>24){case 4:{k=65533;break}case 3:{k=h+2|0;f=(d[j>>0]|0)+(f<<6)|0;t=31;break}case 2:{k=j;t=31;break}case 1:{t=32;break}default:k=f}if((t|0)==31){j=k+1|0;f=(d[k>>0]|0)+(f<<6)|0;t=32}if((t|0)==32){t=0;k=(d[j>>0]|0)+(f<<6)-(c[960+(l<<2)>>2]|0)|0;k=(k&-2|0)==65534|((k&-2048|0)==55296?1:(k&c[976+(l<<2)>>2]|0)==0)?65533:k}do{i=i+1|0;f=a[i>>0]|0}while((f&-64)<<24>>24==-128);do{h=h+1|0;j=a[h>>0]|0}while((j&-64)<<24>>24==-128);if((k|0)!=0&((n|0)!=0&(n|0)==(k|0)))m=j;else break}if(!n)break;do{g=g+1|0;f=a[g>>0]|0}while((f&-64)<<24>>24==-128);e=e+1|0;m=f;h=a[16403+(f&255)>>0]|0}e=e+1+((e|0)>-1?r:0)|0}ki(b,e);return}mi(b);return}function ec(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;if((e|0)!=2)ta(16208,16157,1073,16880);if((hi(c[f>>2]|0)|0)!=5?(g=f+4|0,(hi(c[g>>2]|0)|0)!=5):0){n=ci(c[f>>2]|0)|0;k=fi(c[g>>2]|0)|0;j=0;e=n;f=a[n>>0]|0;a:while(1){h=e+1|0;f=f&255;g=a[16403+f>>0]|0;i=g&255;switch(g<<24>>24){case 4:break;case 3:{g=e+2|0;f=(d[h>>0]|0)+(f<<6)|0;q=9;break}case 2:{g=h;q=9;break}case 1:{m=h;l=f;q=10;break}default:{p=f;q=11}}if((q|0)==9){m=g+1|0;l=(d[g>>0]|0)+(f<<6)|0;q=10}if((q|0)==10?(q=0,o=(d[m>>0]|0)+(l<<6)-(c[960+(i<<2)>>2]|0)|0,!((o&-2|0)==65534|((o&-2048|0)==55296?1:(o&c[976+(i<<2)>>2]|0)==0))):0){p=o;q=11}if((q|0)==11?(q=0,(p|0)==0):0)break;g=j+1|0;if((j|0)>=(k|0))break;while(1){e=e+1|0;f=a[e>>0]|0;if((f&-64)<<24>>24!=-128){j=g;continue a}}}e=e-n|0;f=Fd(e+1|0)|0;if(!f){pi(b);return}else{Ns(f,n,e)|0;a[f+e>>0]=0;oi(b,f,-1,-1);ge(f);return}}mi(b);return}function fc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if((e|0)!=2)ta(16208,16157,1113,16889);if((hi(c[f>>2]|0)|0)!=5?(g=f+4|0,(hi(c[g>>2]|0)|0)!=5):0){f=ci(c[f>>2]|0)|0;k=fi(c[g>>2]|0)|0;j=0;m=f;e=a[f>>0]|0;while(1){g=m+1|0;e=e&255;h=a[16403+e>>0]|0;i=h&255;switch(h<<24>>24){case 4:{e=m;break}case 3:{h=m+2|0;e=(d[g>>0]|0)+(e<<6)|0;l=9;break}case 2:{h=g;l=9;break}case 1:{l=10;break}default:l=11}if((l|0)==9){g=h+1|0;e=(d[h>>0]|0)+(e<<6)|0;l=10}if((l|0)==10){l=0;e=(d[g>>0]|0)+(e<<6)-(c[960+(i<<2)>>2]|0)|0;if((e&-2|0)==65534|((e&-2048|0)==55296?1:(e&c[976+(i<<2)>>2]|0)==0))e=m;else l=11}if((l|0)==11){l=0;if(!e)break;else e=m}do{e=e+1|0;g=a[e>>0]|0}while((g&-64)<<24>>24==-128);j=j+1|0;m=e;e=g}e=j-k|0;if((e|0)>0)do{e=e+-1|0;do f=f+1|0;while((a[f>>0]&-64)<<24>>24==-128)}while((e|0)>0);e=Fd(m+1-f|0)|0;if(!e){pi(b);return}else{Cs(e,f)|0;oi(b,e,-1,-1);ge(e);return}}mi(b);return}function gc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if((e|0)!=1)ta(16899,16157,1323,16907);if((hi(c[f>>2]|0)|0)==5){mi(b);return}f=ci(c[f>>2]|0)|0;e=As(f)|0;k=Fd(e+1|0)|0;if(!k){pi(b);return}h=k+e|0;a[h>>0]=0;h=h+-1|0;e=f;a:while(1){j=e;e=a[e>>0]|0;while(1){f=j+1|0;e=e&255;g=a[16403+e>>0]|0;i=g&255;switch(g<<24>>24){case 4:{g=j;break}case 3:{g=j+2|0;e=(d[f>>0]|0)+(e<<6)|0;l=11;break}case 2:{g=f;l=11;break}case 1:{l=12;break}default:l=13}if((l|0)==11){f=g+1|0;e=(d[g>>0]|0)+(e<<6)|0;l=12}if((l|0)==12){l=0;e=(d[f>>0]|0)+(e<<6)-(c[960+(i<<2)>>2]|0)|0;if((e&-2|0)==65534|((e&-2048|0)==55296?1:(e&c[976+(i<<2)>>2]|0)==0))g=j;else l=13}if((l|0)==13){l=0;if(!e)break a;else g=j}while(1){e=g+1|0;f=a[e>>0]|0;if((f&-64)<<24>>24==-128)g=e;else break}if(g>>>0>>0){j=e;e=f}else{i=1;f=g;break}}while(1){g=h+-1|0;a[h>>0]=a[f>>0]|0;f=e+~i|0;if(f>>>0>>0){h=g;continue a}else{i=i+1|0;h=g}}}oi(b,k,-1,-1);ge(k);return}function hc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;if((d|0)!=1)ta(16149,16157,724,16919);if((hi(c[e>>2]|0)|0)==5){mi(b);return}f=ci(c[e>>2]|0)|0;d=Fd((As(f)|0)+1|0)|0;i=Cs(d,f)|0;if(!i){pi(b);return}e=a[f>>0]|0;if(e<<24>>24){h=1;g=e<<24>>24;while(1){f=f+1|0;if(!(dt(g)|0)){if((h|0)==1)e=ft(g)|0;else e=gt(g)|0;h=0;e=e&255}else h=1;g=d+1|0;a[d>>0]=e;e=a[f>>0]|0;if(!(e<<24>>24)){d=g;break}else{d=g;g=e<<24>>24}}}a[d>>0]=0;oi(b,i,-1,-1);ge(i);return}function ic(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if((e|0)!=2)ta(16208,16157,771,16930);if((hi(c[f>>2]|0)|0)==5){mi(b);return}l=ci(c[f>>2]|0)|0;j=gi(c[f+4>>2]|0)|0;k=z;if((k|0)<0){ji(b,16835,-1);return}e=a[l>>0]|0;if((l|0)==(-1|0)|e<<24>>24==0){i=0;g=0}else{g=0;f=l;do{f=f+((d[16403+(e&255)>>0]|0)+1)|0;g=g+1|0;e=a[f>>0]|0}while(!(e<<24>>24==0|(f|0)==(-1|0)));i=((g|0)<0)<<31>>31}do if((i|0)<(k|0)|(i|0)==(k|0)&g>>>0>>0){e=As(l)|0;h=Ft(j|0,k|0,1,0)|0;h=Gt(h|0,z|0,g|0,i|0)|0;e=Ft(h|0,z|0,e|0,0)|0;e=Fd(e)|0;if(!e){pi(b);return}else{f=1;h=e;do{m=h;h=h+1|0;a[m>>0]=32;f=f+1|0;m=Ft(f|0,((f|0)<0)<<31>>31|0,g|0,i|0)|0;n=z}while(!((n|0)>(k|0)|(n|0)==(k|0)&m>>>0>j>>>0));Cs(h,l)|0;break}}else{e=Fd((As(l)|0)+1|0)|0;f=Cs(e,l)|0;if(f|0){oi(b,f,-1,-1);break}pi(b);return}while(0);oi(b,e,-1,-1);ge(e);return}function jc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;if((e|0)!=2)ta(16208,16157,825,16939);if((hi(c[f>>2]|0)|0)==5){mi(b);return}h=ci(c[f>>2]|0)|0;j=gi(c[f+4>>2]|0)|0;k=z;if((k|0)<0){ji(b,16835,-1);return}e=a[h>>0]|0;if((h|0)==(-1|0)|e<<24>>24==0){i=0;g=0}else{g=0;f=h;do{f=f+((d[16403+(e&255)>>0]|0)+1)|0;g=g+1|0;e=a[f>>0]|0}while(!(e<<24>>24==0|(f|0)==(-1|0)));i=((g|0)<0)<<31>>31}do if((i|0)<(k|0)|(i|0)==(k|0)&g>>>0>>0){f=As(h)|0;e=Ft(j|0,k|0,1,0)|0;e=Gt(e|0,z|0,g|0,i|0)|0;e=Ft(e|0,z|0,f|0,0)|0;e=Fd(e)|0;if(!e){pi(b);return}Cs(e,h)|0;h=1;f=e+f|0;do{l=f;f=f+1|0;a[l>>0]=32;h=h+1|0;l=Ft(h|0,((h|0)<0)<<31>>31|0,g|0,i|0)|0;m=z}while(!((m|0)>(k|0)|(m|0)==(k|0)&l>>>0>j>>>0));a[f>>0]=0}else{e=Fd((As(h)|0)+1|0)|0;f=Cs(e,h)|0;if(f|0){oi(b,f,-1,-1);break}pi(b);return}while(0);oi(b,e,-1,-1);ge(e);return}function kc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((e|0)!=2)ta(16208,16157,880,16948);if((hi(c[f>>2]|0)|0)==5){mi(b);return}l=ci(c[f>>2]|0)|0;m=gi(c[f+4>>2]|0)|0;n=z;if((n|0)<0){ji(b,16835,-1);return}e=a[l>>0]|0;if((l|0)==(-1|0)|e<<24>>24==0){k=0;g=0}else{g=0;f=l;do{f=f+((d[16403+(e&255)>>0]|0)+1)|0;g=g+1|0;e=a[f>>0]|0}while(!(e<<24>>24==0|(f|0)==(-1|0)));k=((g|0)<0)<<31>>31}do if((k|0)<(n|0)|(k|0)==(n|0)&g>>>0>>0){j=As(l)|0;e=Ft(m|0,n|0,1,0)|0;e=Gt(e|0,z|0,g|0,k|0)|0;e=Ft(e|0,z|0,j|0,0)|0;e=Fd(e)|0;if(!e){pi(b);return}i=Ft(g|0,k|0,2,0)|0;h=z;if((h|0)>(n|0)|(h|0)==(n|0)&i>>>0>m>>>0){f=e;i=1}else{i=1;h=e;while(1){f=h+1|0;a[h>>0]=32;i=i+1|0;h=i<<1;h=Ft(h|0,((h|0)<0)<<31>>31|0,g|0,k|0)|0;o=z;if((o|0)>(n|0)|(o|0)==(n|0)&h>>>0>m>>>0)break;else h=f}}Cs(f,l)|0;f=f+j|0;o=Ft(i|0,((i|0)<0)<<31>>31|0,g|0,k|0)|0;l=z;if(!((l|0)>(n|0)|(l|0)==(n|0)&o>>>0>m>>>0))while(1){h=f+1|0;a[f>>0]=32;i=i+1|0;o=Ft(i|0,((i|0)<0)<<31>>31|0,g|0,k|0)|0;l=z;if((l|0)>(n|0)|(l|0)==(n|0)&o>>>0>m>>>0){f=h;break}else f=h}a[f>>0]=0}else{e=Fd((As(l)|0)+1|0)|0;f=Cs(e,l)|0;if(f|0){oi(b,f,-1,-1);break}pi(b);return}while(0);oi(b,e,-1,-1);ge(e);return}function lc(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((e|0)!=2)ta(16208,16157,939,16957);if((hi(c[f>>2]|0)|0)!=5?(g=f+4|0,(hi(c[g>>2]|0)|0)!=5):0){f=ci(c[f>>2]|0)|0;m=ci(c[g>>2]|0)|0;n=Fd((As(f)|0)+1|0)|0;if(!n){pi(b);return}l=n;e=f;f=a[f>>0]|0;a:while(1){g=e+1|0;f=f&255;k=a[16403+f>>0]|0;i=k&255;switch(k<<24>>24){case 4:{f=65533;break}case 3:{h=e+2|0;f=(d[g>>0]|0)+(f<<6)|0;o=11;break}case 2:{h=g;o=11;break}case 1:{o=12;break}default:o=13}if((o|0)==11){g=h+1|0;f=(d[h>>0]|0)+(f<<6)|0;o=12}if((o|0)==12){o=0;f=(d[g>>0]|0)+(f<<6)-(c[960+(i<<2)>>2]|0)|0;if((f&-2|0)==65534|((f&-2048|0)==55296?1:(f&c[976+(i<<2)>>2]|0)==0))f=65533;else o=13}if((o|0)==13){o=0;if(!f)break}g=m;h=a[m>>0]|0;b:while(1){i=g+1|0;h=h&255;j=a[16403+h>>0]|0;k=j&255;switch(j<<24>>24){case 4:{h=65533;break}case 3:{j=g+2|0;h=(d[i>>0]|0)+(h<<6)|0;o=18;break}case 2:{j=i;o=18;break}case 1:{o=19;break}default:{}}if((o|0)==18){i=j+1|0;h=(d[j>>0]|0)+(h<<6)|0;o=19}if((o|0)==19){o=0;h=(d[i>>0]|0)+(h<<6)-(c[960+(k<<2)>>2]|0)|0;h=(h&-2|0)==65534|((h&-2048|0)==55296?1:(h&c[976+(k<<2)>>2]|0)==0)?65533:h}i=(h|0)!=0;if((h|0)==(f|0)|i^1)break;while(1){g=g+1|0;h=a[g>>0]|0;if((h&-64)<<24>>24!=-128)continue b}}if(i){f=g;do f=f+1|0;while((a[f>>0]&-64)<<24>>24==-128);k=f-g|0;Ns(l,g,k)|0;g=l+k|0}else g=l;while(1){e=e+1|0;f=a[e>>0]|0;if((f&-64)<<24>>24!=-128){l=g;continue a}}}a[l>>0]=0;oi(b,n,-1,-1);ge(n);return}mi(b);return}function mc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0.0,f=0.0,g=0.0,i=0,j=0;if((b|0)!=1)ta(16149,16157,1395,16971);a=xo(a,24)|0;if((Oo(c[d>>2]|0)|0)==5)return;b=a+16|0;j=b;j=Ft(c[j>>2]|0,c[j+4>>2]|0,1,0)|0;i=b;c[i>>2]=j;c[i+4>>2]=z;f=+ei(c[d>>2]|0);e=+h[a>>3];g=f-e;d=b;e=e+g/(+((c[d>>2]|0)>>>0)+4294967296.0*+(c[d+4>>2]|0));h[a>>3]=e;d=a+8|0;h[d>>3]=+h[d>>3]+g*(f-e);return}function nc(a){a=a|0;var b=0,d=0,e=0,f=0.0;b=xo(a,0)|0;if(b|0?(e=b+16|0,d=c[e>>2]|0,e=c[e+4>>2]|0,(e|0)>0|(e|0)==0&d>>>0>1):0){f=+h[b+8>>3];e=Ft(d|0,e|0,-1,-1)|0;ii(a,+C(+(f/(+(e>>>0)+4294967296.0*+(z|0)))));return}ii(a,0.0);return}function oc(a){a=a|0;var b=0,d=0,e=0,f=0.0;b=xo(a,0)|0;if(b|0?(e=b+16|0,d=c[e>>2]|0,e=c[e+4>>2]|0,(e|0)>0|(e|0)==0&d>>>0>1):0){f=+h[b+8>>3];e=Ft(d|0,e|0,-1,-1)|0;ii(a,f/(+(e>>>0)+4294967296.0*+(z|0)));return}ii(a,0.0);return}function pc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,i=0.0;if((b|0)!=1)ta(16149,16157,1418,16984);e=Oo(c[d>>2]|0)|0;if((e|0)==5)return;a=xo(a,64)|0;f=a+56|0;do if(!(c[f>>2]|0)){b=ds(1,12)|0;c[f>>2]=b;if((e|0)==1){c[b>>2]=0;c[b+4>>2]=179;b=a+48|0;e=b;c[e>>2]=0;c[e+4>>2]=0;break}else{e=a+48|0;g=e;c[g>>2]=1;c[g+4>>2]=0;c[b>>2]=0;c[b+4>>2]=180;b=e;break}}else b=a+48|0;while(0);g=a+16|0;e=g;e=Ft(c[e>>2]|0,c[e+4>>2]|0,1,0)|0;c[g>>2]=e;c[g+4>>2]=z;g=b;b=c[d>>2]|0;if((c[g>>2]|0)==0&(c[g+4>>2]|0)==0){a=gi(b)|0;e=z;d=ds(1,8)|0;b=d;c[b>>2]=a;c[b+4>>2]=e;b=c[f>>2]|0;e=c[b+4>>2]|0;a=c[b>>2]|0;a:do if(a){while(1){a=kb[e&255](c[a+8>>2]|0,d)|0;b=c[b>>2]|0;if(!a)break;b=(a|0)>0?b:b+4|0;a=c[b>>2]|0;if(!a)break a}g=b+16|0;f=g;f=Ft(c[f>>2]|0,c[f+4>>2]|0,1,0)|0;c[g>>2]=f;c[g+4>>2]=z;cs(d);return}while(0);g=ds(1,24)|0;c[g+8>>2]=d;f=g+16|0;c[f>>2]=1;c[f+4>>2]=0;c[b>>2]=g;return}else{i=+ei(b);d=ds(1,8)|0;h[d>>3]=i;b=c[f>>2]|0;e=c[b+4>>2]|0;a=c[b>>2]|0;b:do if(a){while(1){a=kb[e&255](c[a+8>>2]|0,d)|0;b=c[b>>2]|0;if(!a)break;b=(a|0)>0?b:b+4|0;a=c[b>>2]|0;if(!a)break b}g=b+16|0;f=g;f=Ft(c[f>>2]|0,c[f+4>>2]|0,1,0)|0;c[g>>2]=f;c[g+4>>2]=z;cs(d);return}while(0);g=ds(1,24)|0;c[g+8>>2]=d;f=g+16|0;c[f>>2]=1;c[f+4>>2]=0;c[b>>2]=g;return}}function qc(a){a=a|0;var b=0,d=0,e=0;b=xo(a,0)|0;if(!b)return;d=b+56|0;e=c[d>>2]|0;if(!e)return;uc(c[e>>2]|0,131,b);vc(c[c[d>>2]>>2]|0);cs(c[d>>2]|0);e=b+40|0;if(!((c[e>>2]|0)==1&(c[e+4>>2]|0)==0))return;e=b+48|0;if((c[e>>2]|0)==0&(c[e+4>>2]|0)==0){e=b;li(a,c[e>>2]|0,c[e+4>>2]|0);return}else{ii(a,+h[b+8>>3]);return}}function rc(a){a=a|0;var b=0,d=0;b=xo(a,0)|0;if(!b)return;d=b+16|0;h[b+24>>3]=(+((c[d>>2]|0)>>>0)+4294967296.0*+(c[d+4>>2]|0))*.5;zc(a);return}function sc(a){a=a|0;var b=0,d=0;b=xo(a,0)|0;if(!b)return;d=b+16|0;h[b+24>>3]=(+((c[d>>2]|0)>>>0)+4294967296.0*+(c[d+4>>2]|0))*.25;zc(a);return}function tc(a){a=a|0;var b=0,d=0;b=xo(a,0)|0;if(!b)return;d=b+16|0;d=Lt(c[d>>2]|0,c[d+4>>2]|0,3,0)|0;h[b+24>>3]=(+(d>>>0)+4294967296.0*+(z|0))*.25;zc(a);return}function uc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;while(1){if(!a){a=6;break}e=c[a>>2]|0;if(e|0)uc(e,b,d);e=a+16|0;sb[b&255](c[a+8>>2]|0,c[e>>2]|0,c[e+4>>2]|0,d);a=c[a+4>>2]|0;if(!a){a=6;break}}if((a|0)==6)return}function vc(a){a=a|0;var b=0;if(!a)return;cs(c[a+8>>2]|0);b=c[a>>2]|0;if(b|0)vc(b);b=c[a+4>>2]|0;if(b|0)vc(b);cs(a);return}function wc(a,b){a=a|0;b=b|0;var d=0,e=0;e=a;a=c[e>>2]|0;e=c[e+4>>2]|0;d=b;b=c[d>>2]|0;d=c[d+4>>2]|0;return ((a|0)==(b|0)&(e|0)==(d|0)?0:(e|0)<(d|0)|(e|0)==(d|0)&a>>>0>>0?-1:1)|0}function xc(a,b){a=a|0;b=b|0;var c=0.0,d=0.0;d=+h[a>>3];c=+h[b>>3];return (d==c?0:d>2]|0;j=c[j+4>>2]|0;k=(i|0)==(b|0)&(j|0)==(d|0);if((c[l>>2]|0)==0&(c[l+4>>2]|0)==0){a=c[a>>2]|0;if(k){l=e+40|0;e=l;e=Ft(c[e>>2]|0,c[e+4>>2]|0,1,0)|0;c[l>>2]=e;c[l+4>>2]=z;return}if(!((j|0)<(d|0)|(j|0)==(d|0)&i>>>0>>0))return;l=e;c[l>>2]=a;c[l+4>>2]=((a|0)<0)<<31>>31;l=g;c[l>>2]=b;c[l+4>>2]=d;l=e+40|0;c[l>>2]=1;c[l+4>>2]=0;return}else{f=+h[a>>3];if(k){l=e+40|0;e=l;e=Ft(c[e>>2]|0,c[e+4>>2]|0,1,0)|0;c[l>>2]=e;c[l+4>>2]=z;return}if(!((j|0)<(d|0)|(j|0)==(d|0)&i>>>0>>0))return;h[e+8>>3]=f;l=g;c[l>>2]=b;c[l+4>>2]=d;l=e+40|0;c[l>>2]=1;c[l+4>>2]=0;return}}function zc(a){a=a|0;var b=0,d=0,e=0,f=0,g=0;e=xo(a,0)|0;if(!e)return;b=e+56|0;d=c[b>>2]|0;if(!d)return;c[e+60>>2]=0;uc(c[d>>2]|0,132,e);vc(c[c[b>>2]>>2]|0);cs(c[b>>2]|0);d=e+48|0;g=e+40|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if(!((c[d>>2]|0)==0&(c[d+4>>2]|0)==0)){ii(a,+h[e+8>>3]/(+(f>>>0)+4294967296.0*+(g|0)));return}d=e;b=c[d>>2]|0;d=c[d+4>>2]|0;if((f|0)==1&(g|0)==0){li(a,b,d);return}else{ii(a,(+(b>>>0)+4294967296.0*+(d|0))/(+(f>>>0)+4294967296.0*+(g|0)));return}}function Ac(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,l=0,m=0.0;l=e+60|0;if((c[l>>2]|0)>0)return;m=+h[e+24>>3];g=e+16|0;f=c[g>>2]|0;g=c[g+4>>2]|0;i=e+32|0;k=i;j=c[k>>2]|0;k=c[k+4>>2]|0;b=Ft(j|0,k|0,b|0,d|0)|0;d=z;do if(+(b|0)>=m){k=Gt(f|0,g|0,j|0,k|0)|0;if(!(+(k|0)>=+(f>>>0)+4294967296.0*+(g|0)-m)){c[l>>2]=1;break}l=e+40|0;k=l;k=Ft(c[k>>2]|0,c[k+4>>2]|0,1,0)|0;c[l>>2]=k;c[l+4>>2]=z;l=e+48|0;if((c[l>>2]|0)==0&(c[l+4>>2]|0)==0){k=c[a>>2]|0;l=e;k=Ft(c[l>>2]|0,c[l+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;l=e;c[l>>2]=k;c[l+4>>2]=z;break}else{l=e+8|0;h[l>>3]=+h[a>>3]+ +h[l>>3];break}}while(0);l=i;c[l>>2]=b;c[l+4>>2]=d;return}function Bc(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+256|0;k=m+16|0;g=m;if(!(c[65]|0)){l=m;return}c[g>>2]=f;i=k+4|0;c[i>>2]=m+40;c[k>>2]=0;c[k+8>>2]=210;j=k+12|0;h=k+21|0;c[j>>2]=0;c[j+4>>2]=0;b[j+8>>1]=0;Cc(k,e,g);e=c[65]|0;g=c[66]|0;f=c[i>>2]|0;if(((f|0)!=0?(a[f+(c[k+16>>2]|0)>>0]=0,(c[j>>2]|0)!=0):0)?(a[h>>0]&4)==0:0)f=Dc(k)|0;else f=c[i>>2]|0;rb[e&255](g,d,f);l=m;return}function Cc(b,f,g){b=b|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0.0,s=0,t=0.0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;$=l;l=l+96|0;P=$+8|0;Q=$;R=$+16|0;S=b+21|0;if(!(a[S>>0]&2)){i=0;L=0}else{i=(c[g>>2]|0)+(4-1)&~(4-1);L=c[i>>2]|0;c[g>>2]=i+4;i=1}M=i<<24>>24==0;N=L+4|0;O=L+8|0;K=i<<24>>24!=0;Y=b+16|0;Z=b+8|0;_=b+4|0;i=0;a:while(1){switch(a[f>>0]|0){case 0:{X=345;break a}case 37:break;default:{i=f;b:while(1){m=i+1|0;switch(a[m>>0]|0){case 37:case 0:break b;default:i=m}}i=m-f|0;j=c[Y>>2]|0;k=j+i|0;if(k>>>0<(c[Z>>2]|0)>>>0){if(i|0){c[Y>>2]=k;Tt((c[_>>2]|0)+j|0,f|0,i|0)|0}}else Fc(b,f,i);if(!(a[m>>0]|0)){X=345;break a}else{i=f;f=m}}}j=f+1|0;f=a[j>>0]|0;if(!(f<<24>>24)){X=12;break}f=f<<24>>24;k=0;m=0;n=0;o=0;s=0;u=0;c:while(1){switch(f|0){case 45:{k=1;break}case 43:{m=43;break}case 32:{m=32;break}case 35:{n=1;break}case 33:{o=1;break}case 48:{s=1;break}case 44:{u=44;break}default:{v=k;y=m;G=s;break c}}j=j+1|0;J=a[j>>0]|0;f=J<<24>>24;if(!(J<<24>>24)){v=k;y=m;G=s;break}}if((f|0)==42){do if(!M){f=c[N>>2]|0;if((c[L>>2]|0)>(f|0)){k=c[O>>2]|0;c[N>>2]=f+1;f=c[k+(f<<2)>>2]|0;k=e[f+8>>1]|0;if(k&4|0){f=c[f>>2]|0;break}if(k&8|0){f=Gc(+h[f>>3])|0;break}if(k&18)f=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;else f=0}else f=0}else{J=(c[g>>2]|0)+(4-1)&~(4-1);f=c[J>>2]|0;c[g>>2]=J+4}while(0);J=(f|0)<0;j=j+1|0;H=J?((f|0)!=-2147483648?0-f|0:0):f;f=a[j>>0]|0;J=J?1:v}else{if((f+-48|0)>>>0<10){k=0;do{k=f+-48+(k*10|0)|0;j=j+1|0;f=a[j>>0]|0}while((f+-48|0)>>>0<10)}else k=0;H=k&2147483647;J=v}do if((f|0)==46){m=j+1|0;f=a[m>>0]|0;if(f<<24>>24!=42){f=f<<24>>24;if((f+-48|0)>>>0<10){k=0;j=m;do{k=f+-48+(k*10|0)|0;j=j+1|0;f=a[j>>0]|0}while((f+-48|0)>>>0<10)}else{k=0;j=m}B=k&2147483647;break}do if(!M){f=c[N>>2]|0;if((c[L>>2]|0)>(f|0)){k=c[O>>2]|0;c[N>>2]=f+1;f=c[k+(f<<2)>>2]|0;k=e[f+8>>1]|0;if(k&4|0){f=c[f>>2]|0;break}if(k&8|0){f=Gc(+h[f>>3])|0;break}if(k&18)f=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;else f=0}else f=0}else{I=(c[g>>2]|0)+(4-1)&~(4-1);f=c[I>>2]|0;c[g>>2]=I+4}while(0);j=j+2|0;B=(f|0)<0?((f|0)!=-2147483648?0-f|0:-1):f;f=a[j>>0]|0}else B=-1;while(0);if((f|0)==108){k=j+1|0;f=a[k>>0]|0;if(f<<24>>24==108){I=j+2|0;m=2;f=a[I>>0]|0}else{m=1;f=f<<24>>24;I=k}}else{m=0;I=j}do switch(f|0){case 100:{F=0;break}case 115:{F=1;break}case 103:{F=2;break}case 122:{F=3;break}case 113:{F=4;break}case 81:{F=5;break}case 119:{F=6;break}case 99:{F=7;break}case 111:{F=8;break}case 117:{F=9;break}case 120:{F=10;break}case 88:{F=11;break}case 102:{F=12;break}case 101:{F=13;break}case 69:{F=14;break}case 71:{F=15;break}case 105:{F=16;break}case 110:{F=17;break}case 37:{F=18;break}case 112:{F=19;break}case 84:{F=20;break}case 83:{F=21;break}case 114:{F=22;break}default:{X=345;break a}}while(0);s=a[17119+(F*6|0)+3>>0]|0;d:do switch(s<<24>>24){case 13:{i=1;X=81;break}case 0:case 15:{i=m;X=81;break}case 16:{i=m;A=u;X=82;break}case 3:case 2:case 1:{do if(M){X=(c[g>>2]|0)+(8-1)&~(8-1);p=+h[X>>3];c[g>>2]=X+8;X=154}else{i=c[N>>2]|0;if((c[L>>2]|0)>(i|0)){f=c[O>>2]|0;c[N>>2]=i+1;i=c[f+(i<<2)>>2]|0;f=e[i+8>>1]|0;if(f&8|0){p=+h[i>>3];X=154;break}if(f&4|0){X=i;p=+((c[X>>2]|0)>>>0)+4294967296.0*+(c[X+4>>2]|0);X=154;break}if(f&18|0){p=+Ic(a[i+10>>0]|0,c[i+12>>2]|0,c[i+16>>2]|0);X=154;break}}D=(B|0)<0?6:B;p=0.0;E=y}while(0);if((X|0)==154){X=0;i=(B|0)<0?6:B;if(p<0.0){D=i;p=-p;E=45}else{D=i;E=y}}m=(F|0)==2|(F|0)==15;C=(m&(D|0)>0)<<31>>31;j=C+D|0;i=j&4095;if(!i)q=.5;else{q=.5;while(1){q=q*.1;if((i|0)>1)i=i+-1|0;else break}}i=(F|0)==12;p=i?p+q:p;h[P>>3]=p;h[Q>>3]=+h[P>>3];if(+h[P>>3]!=+h[Q>>3]){i=17320;s=0;m=3;f=H}else{if(p>0.0){r=1.0;k=0;while(1){t=r*1.e+100;if((k|0)<351&p>=t){r=t;k=k+100|0}else break}while(1){t=r*1.0e10;if((k|0)<351&p>=t){r=t;k=k+10|0}else break}while(1){t=r*10.0;if((k|0)<351&p>=t){r=t;k=k+1|0}else break}p=p/r;if(p<1.0e-08)do{p=p*1.0e8;k=k+-8|0}while(p<1.0e-08);if(p<1.0)do{p=p*10.0;k=k+-1|0}while(p<1.0);f=E<<24>>24!=0;if((k|0)>350){i=R+(f&1)|0;a[R>>0]=E;a[i>>0]=73;a[i+1>>0]=110;a[i+2>>0]=102;a[i+3>>0]=0;i=R;s=0;m=f?4:3;f=H;break d}}else k=0;if(!i){p=q+p;if(p>=10.0){p=p*.1;k=k+1|0}}B=(k|0)<-4|(j|0)<(k|0);A=m?n<<24>>24==0&1:o;y=m?(B?0:k):0;j=j-y|0;B=(m?(B?2:1):s)<<24>>24==2;x=B?0:k;i=Ft(j|0,((j|0)<0)<<31>>31|0,H|0,((H|0)<0)<<31>>31|0)|0;i=Ft(i|0,z|0,((x|0)>0?x:0)|0,0)|0;f=z;do if((f|0)>0|(f|0)==0&i>>>0>55){w=Ft(i|0,f|0,14,0)|0;v=z;if(v>>>0>0|(v|0)==0&w>>>0>2147483390){X=185;break a}i=Ft(i|0,f|0,15,0)|0;if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;if(!f){X=185;break a}else{i=f;s=f;break}}m=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;f=46456;i=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&i>>>0>0){v=c[11822]|0;w=Gt(i|0,f|0,m|0,((m|0)<0)<<31>>31|0)|0;u=z;c[11616]=(0>(u|0)|0==(u|0)&v>>>0>=w>>>0)&1}f=jb[c[52>>2]&255](m)|0;if(!f){X=185;break a}i=jb[c[64>>2]&255](f)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0<=(c[11831]|0)>>>0){i=f;s=f;break}c[11831]=i;i=f;s=f}else{i=R;s=0}while(0);v=((o&255)*10|0)+16|0;w=(o|n)&255|(j|0)>0;if(!(E<<24>>24))f=i;else{a[i>>0]=E;f=i+1|0}if((x|0)<0){a[f>>0]=48;f=f+1|0;m=x}else{u=f;n=x;while(1){x=(v|0)<1;m=~~p;p=x?p:(p-+(m|0))*10.0;v=((x^1)<<31>>31)+v|0;f=u+1|0;a[u>>0]=x?48:m+48&255;m=n+-1|0;if((n|0)>0){u=f;n=m}else break}}w=(w|0)==0;if(!w){a[f>>0]=46;f=f+1|0}if((m|0)<-1){Vt(f|0,48,~m|0)|0;f=f+-1+(0-m)|0;j=D+1+m+C-y|0}if((j|0)>0)while(1){m=(v|0)<1;n=~~p;u=f+1|0;a[f>>0]=m?48:n+48&255;if((j|0)>1){f=u;v=((m^1)<<31>>31)+v|0;j=j+-1|0;p=m?p:(p-+(n|0))*10.0}else{f=u;break}}e:do if(!(A<<24>>24==0|w)){f:while(1){j=f+-1|0;switch(a[j>>0]|0){case 46:break f;case 48:break;default:break e}a[j>>0]=0;f=j}if(!(o<<24>>24)){a[j>>0]=0;f=j;break}else{a[f>>0]=48;f=f+1|0;break}}while(0);if(B){m=f+1|0;a[f>>0]=a[17266+(d[17119+(F*6|0)+4>>0]|0)>>0]|0;j=f+2|0;if((k|0)<0){a[m>>0]=45;k=0-k|0}else a[m>>0]=43;if((k|0)>99){a[j>>0]=((k>>>0)/100|0)+48;j=f+3|0;f=(k>>>0)%100|0}else f=k;a[j>>0]=((f|0)/10|0)+48;a[j+1>>0]=((f|0)%10|0)+48;f=j+2|0}a[f>>0]=0;f=f-i|0;if(!(G<<24>>24!=0&J<<24>>24==0&(H|0)>(f|0))){m=f;f=H;break d}j=H-f|0;if((f|0)>=0){f=H;while(1){a[i+f>>0]=a[i+(f-j)>>0]|0;if((f|0)>(j|0))f=f+-1|0;else break}}if(!j){m=H;f=H;break d}Vt(i+(E<<24>>24!=0&1)|0,48,j|0)|0;m=H;f=H}break}case 4:{if(M){m=c[Y>>2]|0;f=(c[g>>2]|0)+(4-1)&~(4-1);s=c[f>>2]|0;c[g>>2]=f+4;c[s>>2]=m;s=0;m=0;f=0}else{s=0;m=0;f=0}break}case 7:{a[R>>0]=37;i=R;s=0;m=1;f=H;break}case 8:{do if(!M){i=c[N>>2]|0;if((c[L>>2]|0)>(i|0)?(T=c[O>>2]|0,c[N>>2]=i+1,T=c[T+(i<<2)>>2]|0,(T|0)!=0):0){i=e[T+8>>1]|0;if((i&514|0)==514?(a[T+10>>0]|0)==1:0)i=c[T+16>>2]|0;else{if(i&1|0){k=0;break}i=Jc(T,1)|0}if(i)k=a[i>>0]|0;else k=0}else k=0}else{G=(c[g>>2]|0)+(4-1)&~(4-1);k=c[G>>2]|0;c[g>>2]=G+4}while(0);do if((B|0)>1){f=B+-1|0;j=H-f|0;do if(!(J<<24>>24!=0|(j|0)<2)){i=j+-1|0;H=Ft(c[Y>>2]|0,0,i|0,((i|0)<0)<<31>>31|0)|0;G=z;if((G|0)<0|((G|0)==0?H>>>0<(c[Z>>2]|0)>>>0:0)){if((j|0)<=1){j=0;break}}else{i=Kc(b,i)|0;if((i|0)<1){j=0;break}}while(1){G=c[_>>2]|0;H=c[Y>>2]|0;c[Y>>2]=H+1;a[G+H>>0]=32;if((i|0)>1)i=i+-1|0;else{j=0;break}}}while(0);i=k&255;H=Ft(c[Y>>2]|0,0,f|0,((f|0)<0)<<31>>31|0)|0;G=z;if((G|0)<0|((G|0)==0?H>>>0<(c[Z>>2]|0)>>>0:0)){if((B|0)<=1){f=j;break}}else{f=Kc(b,f)|0;if((f|0)<1){f=j;break}}while(1){G=c[_>>2]|0;H=c[Y>>2]|0;c[Y>>2]=H+1;a[G+H>>0]=i;if((f|0)>1)f=f+-1|0;else{f=j;break}}}else{f=H;i=k&255}while(0);a[R>>0]=i;i=R;s=0;m=1;break}case 6:case 5:{do if(!M){i=c[N>>2]|0;if((c[L>>2]|0)>(i|0)?(U=c[O>>2]|0,c[N>>2]=i+1,U=c[U+(i<<2)>>2]|0,(U|0)!=0):0){i=e[U+8>>1]|0;if((i&514|0)==514?(a[U+10>>0]|0)==1:0){f=c[U+16>>2]|0;i=5;break}if(!(i&1)){f=Jc(U,1)|0;i=5}else{f=0;i=5}}else{f=0;i=5}}else{i=(c[g>>2]|0)+(4-1)&~(4-1);f=c[i>>2]|0;c[g>>2]=i+4;i=s}while(0);j=(f|0)==0;k=j?0:i<<24>>24==6?f:0;j=j?47328:f;if((B|0)<=-1){i=j;s=k;m=(As(j)|0)&2147483647;f=H;break d}if(!B){i=j;s=k;m=0;f=H}else{f=0;while(1){if(!(a[j+f>>0]|0)){i=j;s=k;m=f;f=H;break d}f=f+1|0;if((f|0)>=(B|0)){i=j;s=k;m=f;f=H;break}}}break}case 14:case 10:case 9:{w=(F|0)==6?34:39;do if(!M){i=c[N>>2]|0;if((c[L>>2]|0)>(i|0)?(V=c[O>>2]|0,c[N>>2]=i+1,V=c[V+(i<<2)>>2]|0,(V|0)!=0):0){i=e[V+8>>1]|0;if((i&514|0)==514?(a[V+10>>0]|0)==1:0){i=c[V+16>>2]|0;break}if(!(i&1))i=Jc(V,1)|0;else i=0}else i=0}else{G=(c[g>>2]|0)+(4-1)&~(4-1);i=c[G>>2]|0;c[g>>2]=G+4}while(0);o=(i|0)==0;n=(F|0)==5;v=o?(n?17306:17311):i;g:do if(!B){i=0;k=0}else{m=w&255;i=0;j=B;k=0;while(1){f=a[v+k>>0]|0;if(!(f<<24>>24))break g;i=((f<<24>>24|0)==(m|0)&1)+i|0;f=k+1|0;j=j+-1|0;if(!j){k=f;break}else k=f}}while(0);u=n&(o^1);i=k+3+i|0;do if((i|0)>70){G=Ft(i|0,((i|0)<0)<<31>>31|0,-1,-1)|0;F=z;if(F>>>0>0|(F|0)==0&G>>>0>2147483390){X=291;break a}if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;if(!f){X=291;break a}else{i=f;s=f;break}}j=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;f=46456;i=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&i>>>0>0){F=c[11822]|0;G=Gt(i|0,f|0,j|0,((j|0)<0)<<31>>31|0)|0;E=z;c[11616]=(0>(E|0)|0==(E|0)&F>>>0>=G>>>0)&1}f=jb[c[52>>2]&255](j)|0;if(!f){X=291;break a}i=jb[c[64>>2]&255](f)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;i=f;s=f}else{i=f;s=f}}else{i=R;s=0}while(0);if(u){a[i>>0]=w;f=1}else f=0;if((k|0)>0){o=w&255;n=0;do{j=a[v+n>>0]|0;m=f+1|0;a[i+f>>0]=j;if((j<<24>>24|0)==(o|0)){a[i+m>>0]=j;f=f+2|0}else f=m;n=n+1|0}while((n|0)!=(k|0))}if(u){a[i+f>>0]=w;f=f+1|0}a[i+f>>0]=0;m=f;f=H;break}case 11:{if(!(a[S>>0]&1)){X=345;break a}H=(c[g>>2]|0)+(4-1)&~(4-1);f=c[H>>2]|0;c[g>>2]=H+4;if((f|0)!=0?(W=c[f+4>>2]|0,(W|0)!=0):0){f=c[f>>2]|0;j=c[Y>>2]|0;k=j+W|0;if(k>>>0<(c[Z>>2]|0)>>>0){c[Y>>2]=k;Tt((c[_>>2]|0)+j|0,f|0,W|0)|0;s=0;m=0;f=0;break d}else{Fc(b,f,W);s=0;m=0;f=0;break d}}else{s=0;m=0;f=0}break}case 12:{if(!(a[S>>0]&1)){X=345;break a}f=(c[g>>2]|0)+(4-1)&~(4-1);n=c[f>>2]|0;c[g>>2]=f+4;f=(c[g>>2]|0)+(4-1)&~(4-1);o=c[f>>2]|0;c[g>>2]=f+4;f=c[n+8+(o*72|0)+4>>2]|0;do if(f|0){j=(As(f)|0)&1073741823;k=c[Y>>2]|0;m=k+j|0;if(m>>>0<(c[Z>>2]|0)>>>0){if(j|0){c[Y>>2]=m;Tt((c[_>>2]|0)+k|0,f|0,j|0)|0}}else Fc(b,f,j);f=c[Y>>2]|0;j=f+1|0;if(j>>>0<(c[Z>>2]|0)>>>0){c[Y>>2]=j;a[(c[_>>2]|0)+f>>0]=46;break}else{Fc(b,17318,1);break}}while(0);j=c[n+8+(o*72|0)+8>>2]|0;if(!j)f=0;else f=(As(j)|0)&1073741823;k=c[Y>>2]|0;m=k+f|0;if(m>>>0>=(c[Z>>2]|0)>>>0){Fc(b,j,f);s=0;m=0;f=0;break d}if(!f){s=0;m=0;f=0}else{c[Y>>2]=m;Tt((c[_>>2]|0)+k|0,j|0,f|0)|0;s=0;m=0;f=0}break}default:{X=345;break a}}while(0);if((X|0)==81){A=0;X=82}if((X|0)==82){X=0;h:do if(4067322>>>F&1){if(!K)switch(i<<24>>24){case 0:{y=(c[g>>2]|0)+(4-1)&~(4-1);v=c[y>>2]|0;c[g>>2]=y+4;y=0;w=0;break h}case 2:{y=(c[g>>2]|0)+(8-1)&~(8-1);w=y;v=c[w>>2]|0;w=c[w+4>>2]|0;c[g>>2]=y+8;y=0;break h}default:{y=(c[g>>2]|0)+(4-1)&~(4-1);v=c[y>>2]|0;c[g>>2]=y+4;y=0;w=0;break h}}i=c[N>>2]|0;if((c[L>>2]|0)>(i|0)){f=c[O>>2]|0;c[N>>2]=i+1;i=c[f+(i<<2)>>2]|0;f=e[i+8>>1]|0;if(f&4|0){w=i;y=0;v=c[w>>2]|0;w=c[w+4>>2]|0;break}if(f&8|0){v=Gc(+h[i>>3])|0;y=0;w=z;break}if(f&18){v=Hc(a[i+10>>0]|0,c[i+12>>2]|0,c[i+16>>2]|0)|0;y=0;w=z}else{y=0;v=0;w=0}}else{y=0;v=0;w=0}}else{i:do if(K){i=c[N>>2]|0;if((c[L>>2]|0)<=(i|0)){v=0;w=0;break h}f=c[O>>2]|0;c[N>>2]=i+1;i=c[f+(i<<2)>>2]|0;f=e[i+8>>1]|0;if(f&4|0){f=c[i+4>>2]|0;i=c[i>>2]|0;break}if(f&8|0){i=Gc(+h[i>>3])|0;f=z;break}if(!(f&18)){v=0;w=0;break h}i=Hc(a[i+10>>0]|0,c[i+12>>2]|0,c[i+16>>2]|0)|0;f=z}else switch(i<<24>>24){case 0:{f=(c[g>>2]|0)+(4-1)&~(4-1);i=c[f>>2]|0;c[g>>2]=f+4;f=((i|0)<0)<<31>>31;break i}case 2:{E=(c[g>>2]|0)+(8-1)&~(8-1);f=E;i=c[f>>2]|0;f=c[f+4>>2]|0;c[g>>2]=E+8;break i}default:{f=(c[g>>2]|0)+(4-1)&~(4-1);i=c[f>>2]|0;c[g>>2]=f+4;f=((i|0)<0)<<31>>31;break i}}while(0);E=(f|0)<0;w=(i|0)==0&(f|0)==-2147483648;v=Gt(0,0,i|0,f|0)|0;y=E?45:y;v=E?(w?0:v):i;w=E?(w?-2147483648:z):f}while(0);x=(v|0)==0&(w|0)==0;f=H-(y<<24>>24!=0&1)|0;f=G<<24>>24==0?B:(B|0)<(f|0)?f:B;do if((f|0)>=37){i=Ft(f|0,((f|0)<0)<<31>>31|0,10,0)|0;i=Ft(i|0,z|0,(f>>>0)/3|0|0,0)|0;G=Ft(i|0,z|0,-1,-1)|0;E=z;if(E>>>0>0|(E|0)==0&G>>>0>2147483390){X=121;break a}if(!(c[2]|0)){j=jb[c[52>>2]&255](i)|0;if(!j){X=121;break a}else{m=j;s=j;break}}j=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){E=c[11822]|0;G=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;D=z;c[11616]=(0>(D|0)|0==(D|0)&E>>>0>=G>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k){X=121;break a}j=jb[c[64>>2]&255](k)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;m=k;s=k}else{m=k;s=k}}else{m=R;s=0;i=70}while(0);u=m+(i+-1)|0;if((F|0)==22){i=Ot(v|0,w|0,10,0)|0;if(!(i>>>0<=3?(G=Nt(v|0,w|0,10,0)|0,G=Ot(G|0,z|0,10,0)|0,!((G|0)==1&(z|0)==0)):0))i=0;G=i<<1;i=u+-1|0;a[i>>0]=a[17257+(G|1)>>0]|0;i=i+-1|0;a[i>>0]=a[17257+G>>0]|0}else i=u;m=17266+(d[17119+(F*6|0)+4>>0]|0)|0;o=d[17119+(F*6|0)+1>>0]|0;k=v;j=w;while(1){G=Ot(k|0,j|0,o|0,0)|0;i=i+-1|0;a[i>>0]=a[m+G>>0]|0;G=k;k=Nt(k|0,j|0,o|0,0)|0;if(0>j>>>0|0==(j|0)&o>>>0>G>>>0)break;else j=z}j=i;k=u-j|0;if((f|0)>(k|0)){i=i+(u-f-j)|0;Vt(i|0,48,f+j-u|0)|0}else f=k;if(A<<24>>24){f=f+-1|0;j=(f|0)/3|0;i=i+(0-j)|0;if((f|0)>2){f=((f>>>0)%3|0)+1|0;k=0;while(1){a[i+k>>0]=a[i+(k+j)>>0]|0;f=f+-1|0;m=k+1|0;if(!f){a[i+m>>0]=A;f=3;j=j+-1|0;k=m}if((j|0)>0)k=k+1|0;else break}}}if(y<<24>>24){i=i+-1|0;a[i>>0]=y}if(!(n<<24>>24==0|x)?(7860991>>>F&1|0)==0:0){f=17299+(d[17119+(F*6|0)+5>>0]|0)|0;j=f;f=a[f>>0]|0;do{i=i+-1|0;a[i>>0]=f;j=j+1|0;f=a[j>>0]|0}while(f<<24>>24!=0);f=i}else f=i;i=f;m=u-f|0;f=H}f=f-m|0;do if((f|0)<=0){f=c[Y>>2]|0;j=f+m|0;if(j>>>0>=(c[Z>>2]|0)>>>0){Fc(b,i,m);break}if(m|0){c[Y>>2]=j;Tt((c[_>>2]|0)+f|0,i|0,m|0)|0}}else{k=c[Y>>2]|0;if(!(J<<24>>24)){J=Ft(k|0,0,f|0,((f|0)<0)<<31>>31|0)|0;H=z;if(!((H|0)<0|((H|0)==0?J>>>0<(c[Z>>2]|0)>>>0:0))){f=Kc(b,f)|0;if((f|0)>=1)X=317}else X=317;if((X|0)==317)while(1){X=0;H=c[_>>2]|0;J=c[Y>>2]|0;c[Y>>2]=J+1;a[H+J>>0]=32;if((f|0)>1){f=f+-1|0;X=317}else break}f=c[Y>>2]|0;j=f+m|0;if(j>>>0>=(c[Z>>2]|0)>>>0){Fc(b,i,m);break}if(!m)break;c[Y>>2]=j;Tt((c[_>>2]|0)+f|0,i|0,m|0)|0;break}j=k+m|0;if(j>>>0<(c[Z>>2]|0)>>>0){if(m|0){c[Y>>2]=j;Tt((c[_>>2]|0)+k|0,i|0,m|0)|0}}else Fc(b,i,m);J=Ft(c[Y>>2]|0,0,f|0,((f|0)<0)<<31>>31|0)|0;H=z;if((H|0)<0|((H|0)==0?J>>>0<(c[Z>>2]|0)>>>0:0)){if((f|0)<=0)break}else{f=Kc(b,f)|0;if((f|0)<1)break}while(1){H=c[_>>2]|0;J=c[Y>>2]|0;c[Y>>2]=J+1;a[H+J>>0]=32;if((f|0)>1)f=f+-1|0;else break}}while(0);do if(s|0){f=c[b>>2]|0;if(f|0){if(c[f+464>>2]|0){Lc(f,s);break}J=s;if(J>>>0>=(c[f+296>>2]|0)>>>0?J>>>0<(c[f+300>>2]|0)>>>0:0){J=f+292|0;c[s>>2]=c[J>>2];c[J>>2]=s;break}}if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{J=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);f=I+1|0}if((X|0)==12){i=c[Y>>2]|0;f=i+1|0;if(f>>>0<(c[Z>>2]|0)>>>0){c[Y>>2]=f;a[(c[_>>2]|0)+i>>0]=37;l=$;return}else{Fc(b,17117,1);l=$;return}}else if((X|0)==121){a[b+20>>0]=1;c[Z>>2]=0;l=$;return}else if((X|0)==185){a[b+20>>0]=1;c[Z>>2]=0;l=$;return}else if((X|0)==291){a[b+20>>0]=1;c[Z>>2]=0;l=$;return}else if((X|0)==345){l=$;return}}function Dc(b){b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0;g=c[b>>2]|0;i=b+16|0;h=(c[i>>2]|0)+1|0;do if(!g){g=Ft(h|0,0,-1,-1)|0;f=z;if(!(f>>>0>0|(f|0)==0&g>>>0>2147483390)){if(!(c[2]|0)){d=jb[c[52>>2]&255](h)|0;f=23;break}g=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;f=46456;d=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&d>>>0>0){j=c[11822]|0;h=Gt(d|0,f|0,g|0,((g|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&j>>>0>=h>>>0)&1}d=jb[c[52>>2]&255](g)|0;if(d){f=jb[c[64>>2]&255](d)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;f=24}else f=24}else f=25}else f=25}else{if(c[g+264>>2]|0){if(a[g+73>>0]|0){f=25;break}}else{if(!(0<0|(0==0?(e[g+268>>1]|0)>>>0>>0:0))){f=g+292|0;d=c[f>>2]|0;if(d|0){c[f>>2]=c[d>>2];f=g+276|0;c[f>>2]=(c[f>>2]|0)+1;f=23;break}f=g+288|0;d=c[f>>2]|0;if(!d)d=2;else{c[f>>2]=c[d>>2];f=g+276|0;c[f>>2]=(c[f>>2]|0)+1;f=23;break}}else d=1;j=g+276+(d<<2)|0;c[j>>2]=(c[j>>2]|0)+1}d=Ec(g,h,0)|0;f=23}while(0);if((f|0)==23)if(!d)f=25;else f=24;if((f|0)==24){h=b+4|0;Tt(d|0,c[h>>2]|0,(c[i>>2]|0)+1|0)|0;j=b+21|0;a[j>>0]=a[j>>0]|4;j=d;i=h;c[i>>2]=j;return j|0}else if((f|0)==25){a[b+20>>0]=1;c[b+8>>2]=0;j=0;i=b+4|0;c[i>>2]=j;return j|0}return 0}function Ec(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0;f=Ft(d|0,e|0,-1,-1)|0;e=z;do if(!(e>>>0>0|(e|0)==0&f>>>0>2147483390)){if(!(c[2]|0)){e=jb[c[52>>2]&255](d)|0;if(!e)break;return e|0}f=jb[c[68>>2]&255](d)|0;if((c[11829]|0)>>>0>>0)c[11829]=d;d=46456;e=c[d>>2]|0;d=c[d+4>>2]|0;if((d|0)>0|(d|0)==0&e>>>0>0){g=c[11822]|0;d=Gt(e|0,d|0,f|0,((f|0)<0)<<31>>31|0)|0;e=z;c[11616]=(0>(e|0)|0==(e|0)&g>>>0>=d>>>0)&1}d=jb[c[52>>2]&255](f)|0;if(d|0){e=jb[c[64>>2]&255](d)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0<=(c[11831]|0)>>>0){g=d;return g|0}c[11831]=e;g=d;return g|0}}while(0);e=b+73|0;if(a[e>>0]|0){g=0;return g|0}if(a[b+74>>0]|0){g=0;return g|0}a[e>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;g=b+264|0;c[g>>2]=(c[g>>2]|0)+1;g=0;return g|0}function Fc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0;d=Kc(a,d)|0;if((d|0)<=0)return;e=a+16|0;Tt((c[a+4>>2]|0)+(c[e>>2]|0)|0,b|0,d|0)|0;c[e>>2]=(c[e>>2]|0)+d;return}function Gc(a){a=+a;var b=0,c=0;if(!(a<=-9223372036854775808.0))if(!(a>=9223372036854775808.0)){c=+B(a)>=1.0?(a>0.0?~~+P(+A(a/4294967296.0),4294967295.0)>>>0:~~+N((a-+(~~a>>>0))/4294967296.0)>>>0):0;b=~~a>>>0}else{c=2147483647;b=-1}else{c=-2147483648;b=0}z=c;return b|0}function Hc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;e=l;l=l+16|0;f=e;g=f;c[g>>2]=0;c[g+4>>2]=0;ef(d,f,b,a)|0;d=f;z=c[d+4>>2]|0;l=e;return c[d>>2]|0}function Ic(a,b,c){a=a|0;b=b|0;c=c|0;var d=0,e=0;e=l;l=l+16|0;d=e;h[d>>3]=0.0;df(c,d,b,a)|0;l=e;return +(+h[d>>3])}function Jc(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=e+8|0;g=b[k>>1]|0;h=g&65535;if(h&18){do if(h&16384){g=e+12|0;i=(c[e>>2]|0)+(c[g>>2]|0)|0;if(!(_e(e,(i|0)>1?i:1,1)|0)){Vt((c[e+16>>2]|0)+(c[g>>2]|0)|0,0,c[e>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+(c[e>>2]|0);g=b[k>>1]&-16897;b[k>>1]=g;break}else{f=0;return f|0}}while(0);b[k>>1]=g|2;g=e+10|0;h=f&255;i=h&247;if((d[g>>0]|0)!=(i|0))Of(e,i&255)|0;if(h&8|0?(j=e+16|0,c[j>>2]&1|0):0){h=b[k>>1]|0;i=h&65535;do if(i&18){do if(i&16384){h=e+12|0;i=(c[e>>2]|0)+(c[h>>2]|0)|0;if(!(_e(e,(i|0)>1?i:1,1)|0)){Vt((c[j>>2]|0)+(c[h>>2]|0)|0,0,c[e>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(c[e>>2]|0);h=b[k>>1]&-16897;b[k>>1]=h;break}else{f=0;return f|0}}while(0);if(c[e+24>>2]|0?(c[j>>2]|0)==(c[e+20>>2]|0):0)break;if(!(bf(e)|0)){h=b[k>>1]|0;break}else{f=0;return f|0}}while(0);b[k>>1]=h&-4097}if((b[k>>1]&514)==2)bf(e)|0}else{Pf(e,f,0)|0;g=e+10|0}if((a[g>>0]|0)!=(f&-9)<<24>>24){f=0;return f|0}f=c[e+16>>2]|0;return f|0}function Kc(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;r=b+20|0;if(a[r>>0]|0){r=0;return r|0}h=c[b+12>>2]|0;k=b+16|0;f=c[k>>2]|0;if(!h){b=b+8|0;q=(c[b>>2]|0)+~f|0;a[r>>0]=2;c[b>>2]=0;r=q;return r|0}q=b+21|0;g=(a[q>>0]&4)==0;if(g)j=0;else j=c[b+4>>2]|0;t=d+1|0;t=Ft(f|0,0,t|0,((t|0)<0)<<31>>31|0)|0;s=z;i=Ft(t|0,s|0,f|0,0)|0;p=z;f=(p|0)>0|(p|0)==0&i>>>0>h>>>0;i=f?t:i;p=f?s:p;if((p|0)>0|(p|0)==0&i>>>0>h>>>0){if(g)f=b+4|0;else{g=c[b>>2]|0;f=b+4|0;h=c[f>>2]|0;do if(h|0){if(g|0){if(c[g+464>>2]|0){Lc(g,h);break}t=h;if(t>>>0>=(c[g+296>>2]|0)>>>0?t>>>0<(c[g+300>>2]|0)>>>0:0){t=g+292|0;c[h>>2]=c[t>>2];c[t>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{t=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);a[q>>0]=a[q>>0]&-5}c[f>>2]=0;a[r>>0]=2;c[b+8>>2]=0;t=0;return t|0}p=b+8|0;c[p>>2]=i;f=c[b>>2]|0;if(!f){if(!(Nc()|0)){n=Oc(j,i,0)|0;m=25}}else{n=Mc(f,j,i,0)|0;m=25}if((m|0)==25?n|0:0){if((a[q>>0]&4)==0?(l=c[k>>2]|0,l|0):0)Tt(n|0,c[b+4>>2]|0,l|0)|0;c[b+4>>2]=n;f=c[b>>2]|0;if(((f|0)!=0?(o=n,o>>>0>=(c[f+296>>2]|0)>>>0):0)?o>>>0<(c[f+300>>2]|0)>>>0:0)f=e[f+268>>1]|0;else f=jb[c[64>>2]&255](n)|0;c[p>>2]=f;a[q>>0]=a[q>>0]|4;t=d;return t|0}if(!(a[q>>0]&4))f=b+4|0;else{h=c[b>>2]|0;f=b+4|0;g=c[f>>2]|0;do if(g|0){if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}t=g;if(t>>>0>=(c[h+296>>2]|0)>>>0?t>>>0<(c[h+300>>2]|0)>>>0:0){t=h+292|0;c[g>>2]=c[t>>2];c[t>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{t=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);a[q>>0]=a[q>>0]&-5}c[f>>2]=0;a[r>>0]=1;c[p>>2]=0;t=0;return t|0}function Lc(a,b){a=a|0;b=b|0;var d=0;if(((a|0)!=0?(d=b,d>>>0>=(c[a+296>>2]|0)>>>0):0)?d>>>0<(c[a+300>>2]|0)>>>0:0)b=e[a+268>>1]|0;else b=jb[c[64>>2]&255](b)|0;a=c[a+464>>2]|0;c[a>>2]=(c[a>>2]|0)+b;return}function Mc(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0;if(d|0){h=d;if((h>>>0>=(c[b+296>>2]|0)>>>0?h>>>0<(c[b+300>>2]|0)>>>0:0)?!(0>>0|(0==(g|0)?(e[b+268>>1]|0)>>>0>>0:0)):0){g=d;return g|0}g=Nf(b,d,f,g)|0;return g|0}if(c[b+264>>2]|0){if(a[b+73>>0]|0){g=0;return g|0}}else{if(!(0>>0|(0==(g|0)?(e[b+268>>1]|0)>>>0>>0:0))){d=b+292|0;h=c[d>>2]|0;if(h|0){c[d>>2]=c[h>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;g=h;return g|0}d=b+288|0;h=c[d>>2]|0;if(!h)d=2;else{c[d>>2]=c[h>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;g=h;return g|0}}else d=1;h=b+276+(d<<2)|0;c[h>>2]=(c[h>>2]|0)+1}g=Ec(b,f,g)|0;return g|0}function Nc(){var b=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+16|0;o=q+8|0;b=q;if(c[58]|0){p=0;l=q;return p|0}c[60]=1;if(!(c[61]|0)){if(!(c[13]|0)){c[b>>2]=992;Pc(4,b)|0};c[11612]=0;c[11613]=0;c[11614]=0;c[11615]=0;c[11616]=0;c[11617]=0;c[11612]=8;if((c[52]|0)==0|(c[53]|0)<512|(c[54]|0)<1){c[52]=0;c[53]=0}b=jb[c[72>>2]&255](c[20]|0)|0;if(b|0){c[11612]=0;c[11613]=0;c[11614]=0;c[11615]=0;c[11616]=0;c[11617]=0;p=b;l=q;return p|0}}c[61]=1;if(!(c[64]|0))c[64]=8;e=(c[63]|0)+1|0;c[63]=e;if(!(c[59]|c[58])){c[59]=1;b=46476;e=b+92|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(e|0));m=0;while(1){n=1024+(m*28|0)|0;k=c[1024+(m*28|0)+20>>2]|0;if(!k)b=0;else b=(As(k)|0)&1073741823;f=a[k>>0]|0;b=46476+((((f<<24>>24)+b|0)%23|0)<<2)|0;e=c[b>>2]|0;j=e;a:do if(e){i=d[17324+(f&255)>>0]|0;while(1){g=c[e+20>>2]|0;h=a[g>>0]|0;f=(d[17324+(h&255)>>0]|0)-i|0;if(!(h<<24>>24==0|(f|0)!=0)){h=k;do{g=g+1|0;h=h+1|0;r=a[g>>0]|0;f=(d[17324+(r&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(r<<24>>24==0|(f|0)!=0))}if(!f)break;e=c[e+24>>2]|0;if(!e){p=23;break a}}if(e){b=e+8|0;c[1024+(m*28|0)+8>>2]=c[b>>2]}else p=23}else p=23;while(0);if((p|0)==23){p=0;c[1024+(m*28|0)+8>>2]=0;c[1024+(m*28|0)+24>>2]=j}c[b>>2]=n;m=m+1|0;if((m|0)==3){m=0;break}}while(1){n=1108+(m*28|0)|0;k=c[1108+(m*28|0)+20>>2]|0;if(!k)b=0;else b=(As(k)|0)&1073741823;f=a[k>>0]|0;b=46476+((((f<<24>>24)+b|0)%23|0)<<2)|0;e=c[b>>2]|0;j=e;b:do if(e){i=d[17324+(f&255)>>0]|0;while(1){g=c[e+20>>2]|0;r=a[g>>0]|0;f=(d[17324+(r&255)>>0]|0)-i|0;if(!(r<<24>>24==0|(f|0)!=0)){h=k;do{g=g+1|0;h=h+1|0;r=a[g>>0]|0;f=(d[17324+(r&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(r<<24>>24==0|(f|0)!=0))}if(!f)break;e=c[e+24>>2]|0;if(!e){p=35;break b}}if(e){b=e+8|0;c[1108+(m*28|0)+8>>2]=c[b>>2]}else p=35}else p=35;while(0);if((p|0)==35){p=0;c[1108+(m*28|0)+8>>2]=0;c[1108+(m*28|0)+24>>2]=j}c[b>>2]=n;m=m+1|0;if((m|0)==8){m=0;break}}do{n=1332+(m*28|0)|0;k=c[1332+(m*28|0)+20>>2]|0;if(!k)b=0;else b=(As(k)|0)&1073741823;f=a[k>>0]|0;b=46476+((((f<<24>>24)+b|0)%23|0)<<2)|0;e=c[b>>2]|0;j=e;c:do if(e){i=d[17324+(f&255)>>0]|0;while(1){g=c[e+20>>2]|0;r=a[g>>0]|0;f=(d[17324+(r&255)>>0]|0)-i|0;if(!(r<<24>>24==0|(f|0)!=0)){h=k;do{g=g+1|0;h=h+1|0;r=a[g>>0]|0;f=(d[17324+(r&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(r<<24>>24==0|(f|0)!=0))}if(!f)break;e=c[e+24>>2]|0;if(!e){p=47;break c}}if(e){b=e+8|0;c[1332+(m*28|0)+8>>2]=c[b>>2]}else p=47}else p=47;while(0);if((p|0)==47){p=0;c[1332+(m*28|0)+8>>2]=0;c[1332+(m*28|0)+24>>2]=j}c[b>>2]=n;m=m+1|0}while((m|0)!=57);if(!(c[62]|0)){b=c[32]|0;if(!b){c[o>>2]=2928;Pc(18,o)|0;b=c[32]|0}b=jb[b&255](c[31]|0)|0;if(!b)p=53}else p=53;do if((p|0)==53){c[62]=1;if(!(Nc()|0)){if(!(c[2]|0)){b=jb[c[52>>2]&255](10)|0;if(!b){b=7;break}}else{b=jb[c[68>>2]&255](10)|0;if((c[11829]|0)>>>0<10)c[11829]=10;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){p=c[11822]|0;r=Gt(e|0,f|0,b|0,((b|0)<0)<<31>>31|0)|0;o=z;c[11616]=(0>(o|0)|0==(o|0)&p>>>0>=r>>>0)&1}b=jb[c[52>>2]&255](b)|0;if(!b){b=7;break}e=jb[c[64>>2]&255](b)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0)c[11831]=e}if(!(c[2]|0)){pb[c[56>>2]&255](b);h=0}else{h=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);h=0}do{i=2980+(h*88|0)|0;g=(h|0)==0;if(!(Nc()|0)){b=c[11642]|0;do if(i){if((b|0)==(i|0)){b=c[2980+(h*88|0)+12>>2]|0;c[11642]=b;p=76;break}if(b){e=b;do{f=e+12|0;e=c[f>>2]|0}while((e|0)!=(i|0)&(e|0)!=0);if((e|0)==(i|0)){c[f>>2]=c[2980+(h*88|0)+12>>2];p=76}else p=76}else{b=0;p=77}}else p=76;while(0);if((p|0)==76){p=0;if(g|(b|0)==0)p=77;else{c[2980+(h*88|0)+12>>2]=c[b+12>>2];b=b+12|0}}if((p|0)==77){c[2980+(h*88|0)+12>>2]=b;b=46568}c[b>>2]=i}h=h+1|0}while((h|0)!=4);b=c[52]|0;if(c[11656]|0){j=(b|0)==0;i=j?0:c[54]|0;e=(i|0)==0;j=j|e?0:c[53]&-8;c[11659]=j;c[11666]=i;c[11660]=i;if((i|0)>90)f=10;else f=((i|0)/10|0)+1|0;c[11661]=f;c[11662]=b;c[11665]=0;c[11667]=0;if(!e){g=O(j,i+-1|0)|0;e=b;f=i;h=0;while(1){f=f+-1|0;c[e>>2]=h;h=e;if(!f)break;else e=e+j|0}r=O(j,i)|0;c[11665]=b+g;b=b+r|0}c[11663]=b}c[58]=1;b=0}else b=7}while(0);c[59]=0;e=c[63]|0}else b=0;c[63]=e+-1;if((e|0)>=2){r=b;l=q;return r|0}c[64]=0;r=b;l=q;return r|0}function Oc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;if(!a){e=Ft(b|0,d|0,-1,-1)|0;a=z;if(a>>>0>0|(a|0)==0&e>>>0>2147483390){e=0;return e|0}if(!(c[2]|0)){e=jb[c[52>>2]&255](b)|0;return e|0}a=jb[c[68>>2]&255](b)|0;if((c[11829]|0)>>>0>>0)c[11829]=b;b=46456;d=c[b>>2]|0;b=c[b+4>>2]|0;if((b|0)>0|(b|0)==0&d>>>0>0){f=c[11822]|0;e=Gt(d|0,b|0,a|0,((a|0)<0)<<31>>31|0)|0;b=z;c[11616]=(0>(b|0)|0==(b|0)&f>>>0>=e>>>0)&1}b=jb[c[52>>2]&255](a)|0;if(!b){f=0;return f|0}d=jb[c[64>>2]&255](b)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0<=(c[11831]|0)>>>0){f=b;return f|0}c[11831]=d;f=b;return f|0}if((b|0)==0&(d|0)==0)if(!(c[2]|0)){pb[c[56>>2]&255](a);f=0;return f|0}else{f=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);f=0;return f|0}if(d>>>0>0|(d|0)==0&b>>>0>2147483391){f=0;return f|0}e=jb[c[64>>2]&255](a)|0;d=jb[c[68>>2]&255](b)|0;if((d|0)==(e|0)){f=a;return f|0}if(!(c[2]|0)){f=kb[c[60>>2]&255](a,d)|0;return f|0}if((c[11829]|0)>>>0>>0)c[11829]=b;b=kb[c[60>>2]&255](a,d)|0;f=46456;g=c[f+4>>2]|0;if((b|0)==0&((g|0)>0|(g|0)==0&(c[f>>2]|0)>>>0>0))b=kb[c[60>>2]&255](a,d)|0;if(!b){g=0;return g|0}d=(jb[c[64>>2]&255](b)|0)-e|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0<=(c[11826]|0)>>>0){g=b;return g|0}c[11826]=d;g=b;return g|0}function Pc(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+48|0;g=h+24|0;f=h+16|0;e=h;d=h+32|0;if(c[58]|0){c[e>>2]=17025;c[e+4>>2]=142853;c[e+8>>2]=17052;Bc(21,17e3,e);b=21;l=h;return b|0}c[d>>2]=b;do switch(a|0){case 4:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[13]=c[a>>2];c[14]=c[a+4>>2];c[15]=c[a+8>>2];c[16]=c[a+12>>2];c[17]=c[a+16>>2];c[18]=c[a+20>>2];c[19]=c[a+24>>2];c[20]=c[a+28>>2];a=0;break}case 5:{if(!(c[13]|0)){c[f>>2]=992;Pc(4,f)|0}b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=c[13];c[a+4>>2]=c[14];c[a+8>>2]=c[15];c[a+12>>2]=c[16];c[a+16>>2]=c[17];c[a+20>>2]=c[18];c[a+24>>2]=c[19];c[a+28>>2]=c[20];a=0;break}case 9:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[2]=a;a=0;break}case 27:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[7]=a;a=0;break}case 7:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[52]=a;a=(c[d>>2]|0)+(4-1)&~(4-1);b=c[a>>2]|0;c[d>>2]=a+4;c[53]=b;b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[54]=a;a=0;break}case 24:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[a>>2]=160;a=0;break}case 14:{a=0;break}case 15:{a=1;break}case 18:{a=(c[d>>2]|0)+(4-1)&~(4-1);e=c[a>>2]|0;c[d>>2]=a+4;a=120;d=e;e=a+52|0;do{c[a>>2]=c[d>>2];a=a+4|0;d=d+4|0}while((a|0)<(e|0));a=0;break}case 19:{if(!(c[32]|0)){c[g>>2]=2928;Pc(18,g)|0}e=(c[d>>2]|0)+(4-1)&~(4-1);a=c[e>>2]|0;c[d>>2]=e+4;d=120;e=a+52|0;do{c[a>>2]=c[d>>2];a=a+4|0;d=d+4|0}while((a|0)<(e|0));a=0;break}case 13:{a=(c[d>>2]|0)+(4-1)&~(4-1);b=c[a>>2]|0;c[d>>2]=a+4;c[10]=b;b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[11]=a;a=0;break}case 16:{a=(c[d>>2]|0)+(4-1)&~(4-1);b=c[a>>2]|0;c[d>>2]=a+4;c[65]=b;b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[66]=a;a=0;break}case 17:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[5]=a;a=0;break}case 20:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[6]=a;a=0;break}case 22:{c[d>>2]=((c[d>>2]|0)+(8-1)&~(8-1))+8;c[d>>2]=((c[d>>2]|0)+(8-1)&~(8-1))+8;c[48]=0;c[49]=0;c[50]=0;c[51]=0;a=0;break}case 25:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[57]=a;a=0;break}case 26:{b=(c[d>>2]|0)+(4-1)&~(4-1);a=c[b>>2]|0;c[d>>2]=b+4;c[12]=a;a=0;break}default:a=1}while(0);b=a;l=h;return b|0}function Qc(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+1200|0;C=G+152|0;D=G+144|0;E=G+120|0;u=G+96|0;t=G+80|0;F=G;B=G+172|0;o=G+686|0;k=g&-256;s=g&16;x=g&8;p=g&4;j=g&1;r=g&2;a:do if(!p)y=0;else{b:do if((k|0)>=16384)if((k|0)<524288)switch(k|0){case 16384:{y=1;break a}default:break b}else switch(k|0){case 524288:{y=1;break a}default:break b}else switch(k|0){case 2048:{y=1;break a}default:{}}while(0);y=0}while(0);w=c[11668]|0;if((w|0)!=(mt()|0)?(c[11668]=mt()|0,(Nc()|0)==0):0)a[47374]=0;m=f;n=m+52|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));w=(k|0)==256;if(!w)if(!e){i=yd(c[d+8>>2]|0,o)|0;if(!i)k=-1;else{f=i;l=G;return f|0}}else{o=e;k=-1}else{c:do if(((c[11669]|0)!=0?(kb[c[3472>>2]&255](e,F)|0)==0:0)?(i=c[11670]|0,(i|0)!=0):0){k=c[F>>2]|0;m=c[F+72>>2]|0;while(1){if((c[i>>2]|0)==(k|0)?(q=i+8|0,(c[q+4>>2]|0)==0?(c[q>>2]|0)==(m|0):0):0)break;i=c[i+40>>2]|0;if(!i){A=19;break c}}i=i+36|0;k=c[i>>2]|0;if(k){while(1){if((c[k+4>>2]|0)==(g|0))break;i=k+8|0;k=c[i>>2]|0;if(!k){A=19;break c}}c[11669]=(c[11669]|0)+-1;c[i>>2]=c[k+8>>2];i=k;k=c[k>>2]|0}else A=19}else A=19;while(0);do if((A|0)==19){if(Nc()|0){f=7;l=G;return f|0}if(!(c[2]|0)){i=jb[c[52>>2]&255](12)|0;if(!i)i=7;else{k=-1;break}l=G;return i|0}i=jb[c[68>>2]&255](12)|0;if((c[11829]|0)>>>0<12)c[11829]=12;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){o=c[11822]|0;q=Gt(k|0,m|0,i|0,((i|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&o>>>0>=q>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){f=7;l=G;return f|0}k=jb[c[64>>2]&255](i)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k;k=-1}while(0);c[f+28>>2]=i;o=e}q=(r|0)!=0;p=p<<4|r;p=(s|0)==0?p:p|131200;d:do if((k|0)<0){e:do if(!(g&526336))if(!x)if((g&64|0)==0|(o|0)==0){k=0;n=0;m=0}else{i=o;do{i=i+(((As(i)|0)&1073741823)+1)|0;if(!(a[i>>0]|0)){k=0;n=0;m=0;break e}s=Ls(i,18023)|0;i=i+(((As(i)|0)&1073741823)+1)|0}while((s|0)!=0);if(!(kb[c[3472>>2]&255](i,F)|0)){i=0;k=c[F+24>>2]|0;n=c[F+20>>2]|0;m=c[F+12>>2]&511}else{i=1802;k=0;n=0;m=0}A=52}else{k=0;n=0;m=384}else{if(!o)i=0;else i=(As(o)|0)&1073741823;while(1){i=i+-1|0;k=a[o+i>>0]|0;if(k<<24>>24==45)break;if((i|0)==0|k<<24>>24==46){A=44;break}}if((A|0)==44){k=0;n=0;m=0;break}Tt(B|0,o|0,i|0)|0;a[B+i>>0]=0;if(!(kb[c[3472>>2]&255](B,F)|0)){i=0;k=c[F+24>>2]|0;n=c[F+20>>2]|0;m=c[F+12>>2]&511}else{i=1802;k=0;n=0;m=0}A=52}while(0);if((A|0)==52)if(i){f=i;l=G;return f|0}i=Gd(o,p,m)|0;do if((i|0)<0){if(q&(c[(ks()|0)>>2]|0)!=21?(v=Gd(o,p&131200,m)|0,(v|0)>=0):0){g=g&-8|1;j=1;i=v;break}c[t>>2]=17915;c[t+4>>2]=36304;c[t+8>>2]=17052;Bc(14,17e3,t);i=c[(ks()|0)>>2]|0;g=Es(i)|0;c[u>>2]=36304;c[u+4>>2]=i;c[u+8>>2]=17655;c[u+12>>2]=(o|0)==0?47328:o;c[u+16>>2]=g;Bc(14,17618,u);g=14;i=f+28|0;break d}while(0);if((g&526336|0)!=0?(ib[c[3676>>2]&255]()|0)==0:0){lb[c[3664>>2]&255](i,n,k)|0;m=g;n=i;A=60}else{m=g;n=i;A=60}}else{m=g;n=k;A=60}while(0);f:do if((A|0)==60){if(h|0)c[h>>2]=m;p=f+28|0;i=c[p>>2]|0;if(i|0){c[i>>2]=n;c[i+4>>2]=m}if(x|0)jb[c[3616>>2]&255](o)|0;g=x<<2;g=(j|0)==0?g:g|2;g=w?g:g|128;g=y?g|8:g;y=g|m&64;j=f+12|0;c[j>>2]=n;c[f+4>>2]=d;m=f+32|0;c[m>>2]=e;i=f+18|0;b[i>>1]=y&255;if(Hd(y&64|0?e:0,18030,1)|0)b[i>>1]=b[i>>1]|16;if(!(Ls(c[d+16>>2]|0,17608)|0))b[i>>1]=b[i>>1]|1;g:do if(!(g&128)){i=kb[c[c[d+20>>2]>>2]&255](e,f)|0;if((i|0)!=3868){if((i|0)!=3344)break;k=(As(e)|0)+6|0;B=(Nc()|0)!=0;F=Ft(k|0,((k|0)<0)<<31>>31|0,-1,-1)|0;E=z;h:do if(!(B|(E>>>0>0|(E|0)==0&F>>>0>2147483390))){do if(!(c[2]|0)){i=jb[c[52>>2]&255](k)|0;if(!i)break h}else{i=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;j=46456;g=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&g>>>0>0){E=c[11822]|0;F=Gt(g|0,j|0,i|0,((i|0)<0)<<31>>31|0)|0;B=z;c[11616]=(0>(B|0)|0==(B|0)&E>>>0>=F>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i)break h;g=jb[c[64>>2]&255](i)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0<=(c[11831]|0)>>>0)break;c[11831]=g}while(0);c[D>>2]=e;wd(k,i,18035,D)|0;c[f+24>>2]=i;i=3344;break g}while(0);c[f+24>>2]=0;c[f+20>>2]=0;if((n|0)<=-1){g=7;i=p;break f}if(!(jb[c[3436>>2]&255](n)|0)){g=7;i=p;break f}i=c[m>>2]|0;f=c[(ks()|0)>>2]|0;g=Es(f)|0;c[C>>2]=35898;c[C+4>>2]=f;c[C+8>>2]=17649;c[C+12>>2]=(i|0)==0?47328:i;c[C+16>>2]=g;Bc(4106,17618,C);g=7;i=p;break f}k=f+8|0;i:do if(!(kb[c[3484>>2]&255](c[j>>2]|0,B)|0)){i=F;c[i>>2]=0;c[i+4>>2]=0;c[F>>2]=c[B>>2];i=F+8|0;c[i>>2]=c[B+72>>2];c[i+4>>2]=0;i=c[11670]|0;j:do if(!i)A=77;else{while(1){if(!(Bs(F,i,16)|0))break;i=c[i+40>>2]|0;if(!i){A=77;break j}}F=i+24|0;c[F>>2]=(c[F>>2]|0)+1}while(0);if((A|0)==77){if(Nc()|0){g=7;break}do if(!(c[2]|0)){i=jb[c[52>>2]&255](48)|0;if(!i){g=7;break i}}else{i=jb[c[68>>2]&255](48)|0;if((c[11829]|0)>>>0<48)c[11829]=48;j=46456;g=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&g>>>0>0){e=c[11822]|0;D=Gt(g|0,j|0,i|0,((i|0)<0)<<31>>31|0)|0;C=z;c[11616]=(0>(C|0)|0==(C|0)&e>>>0>=D>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){g=7;break i}g=jb[c[64>>2]&255](i)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0<=(c[11831]|0)>>>0)break;c[11831]=g}while(0);g=i+16|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;c[g+16>>2]=0;c[g+20>>2]=0;c[i>>2]=c[F>>2];c[i+4>>2]=c[F+4>>2];c[i+8>>2]=c[F+8>>2];c[i+12>>2]=c[F+12>>2];c[i+24>>2]=1;g=c[11670]|0;c[i+40>>2]=g;c[i+44>>2]=0;if(g|0)c[g+44>>2]=i;c[11670]=i}c[k>>2]=i;i=3868;break g}else{g=c[(ks()|0)>>2]|0;c[f+20>>2]=g;g=(g|0)==75?22:10}while(0);if(jb[c[3436>>2]&255](n)|0){if(!f)i=0;else i=c[m>>2]|0;D=c[(ks()|0)>>2]|0;F=Es(D)|0;c[E>>2]=35813;c[E+4>>2]=D;c[E+8>>2]=17649;c[E+12>>2]=(i|0)==0?47328:i;c[E+16>>2]=F;Bc(4106,17618,E)}c[f+20>>2]=0;i=p;break f}else i=3792;while(0);c[f+20>>2]=0;c[f>>2]=i;Id(f);f=0;l=G;return f|0}while(0);i=c[i>>2]|0;if(!i){f=g;l=G;return f|0}if(!(c[2]|0)){pb[c[56>>2]&255](i);f=g;l=G;return f|0}else{f=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);f=g;l=G;return f|0}return 0}function Rc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+80|0;g=h+48|0;e=h+24|0;a=h;f=h+68|0;if((jb[c[3616>>2]&255](b)|0)==-1){if((c[(ks()|0)>>2]|0)==2){g=5898;l=h;return g|0}f=c[(ks()|0)>>2]|0;g=Es(f)|0;c[a>>2]=36433;c[a+4>>2]=f;c[a+8>>2]=17759;c[a+12>>2]=(b|0)==0?47328:b;c[a+16>>2]=g;Bc(2570,17618,a);g=2570;l=h;return g|0}if(!(d&1)){g=0;l=h;return g|0}if(!(kb[c[3628>>2]&255](b,f)|0)){if(!(ot(c[f>>2]|0)|0))a=0;else{d=c[(ks()|0)>>2]|0;a=Es(d)|0;c[e>>2]=36443;c[e+4>>2]=d;c[e+8>>2]=18017;c[e+12>>2]=(b|0)==0?47328:b;c[e+16>>2]=a;Bc(1290,17618,e);a=1290}if(jb[c[3436>>2]&255](c[f>>2]|0)|0){d=c[(ks()|0)>>2]|0;f=Es(d)|0;c[g>>2]=36445;c[g+4>>2]=d;c[g+8>>2]=17649;c[g+12>>2]=47328;c[g+16>>2]=f;Bc(4106,17618,g)}}else a=0;g=a;l=h;return g|0}function Sc(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0;f=l;l=l+80|0;a=f;if(!d){d=(kb[c[3472>>2]&255](b,a)|0)==0;c[e>>2]=d&(c[a+36>>2]|0)>0&1;l=f;return 0}else{c[e>>2]=(kb[c[3448>>2]&255](b,6)|0)==0&1;l=f;return 0}return 0}function Tc(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+256|0;A=B+168|0;z=B+152|0;y=B+128|0;x=B+112|0;v=B+96|0;u=B+72|0;t=B+56|0;s=B+40|0;w=B+16|0;r=B;m=B+172|0;n=m+12|0;o=e+-1|0;p=e+-2|0;q=(f|0)==0;b=0;g=1;while(1){if(!(kb[c[3748>>2]&255](d,m)|0)){j=(c[n>>2]&61440|0)==40960;k=j^1;if(j){if(!b){b=Fd(e)|0;if(!b){b=0;d=7;C=33;break}else j=g}else if((g|0)>99){C=9;break}else j=g+1|0;g=lb[c[3736>>2]&255](d,b,o)|0;if((g|0)<0){C=11;break}do if((a[b>>0]|0)!=47){if(!d)i=0;else i=(As(d)|0)&1073741823;while(1){if((i|0)<=0)break;h=i+-1|0;if((a[d+h>>0]|0)==47)break;else i=h}h=i+g|0;if((h|0)<(e|0)){Ut(b+i|0,b|0,g+1|0)|0;Tt(b|0,d|0,i|0)|0;g=h;d=0;break}else{c[v>>2]=17915;c[v+4>>2]=36580;c[v+8>>2]=17052;Bc(14,17e3,v);d=14;break}}else d=0;while(0);a[b+g>>0]=0;i=b;h=k}else{i=d;j=g;d=0;h=1}}else if((c[(ks()|0)>>2]|0)==2){i=d;j=g;d=0;h=1}else{C=4;break}if(!((d|0)!=0|(i|0)==(f|0))){d=(i|0)==0;if(d)g=0;else g=(As(i)|0)&1073741823;if((a[i>>0]|0)==47)d=0;else{if(!(kb[c[3460>>2]&255](f,p)|0)){C=26;break}if(q)d=0;else d=(As(f)|0)&1073741823;a[f+d>>0]=47;d=d+1|0}if((d+g|0)>=(e|0)){C=31;break}c[A>>2]=i;wd(e-d|0,f+d|0,17859,A)|0;d=0}if((d|0)==0&(h^1)){d=h?i:f;g=j}else break}if((C|0)==4){c[r>>2]=17915;c[r+4>>2]=36557;c[r+8>>2]=17052;Bc(14,17e3,r);e=c[(ks()|0)>>2]|0;f=Es(e)|0;c[w>>2]=36557;c[w+4>>2]=e;c[w+8>>2]=17847;c[w+12>>2]=(d|0)==0?47328:d;c[w+16>>2]=f;Bc(14,17618,w);d=14}else if((C|0)==9){c[s>>2]=17915;c[s+4>>2]=36568;c[s+8>>2]=17052;Bc(14,17e3,s);d=14;C=33}else if((C|0)==11){c[t>>2]=17915;c[t+4>>2]=36574;c[t+8>>2]=17052;Bc(14,17e3,t);e=c[(ks()|0)>>2]|0;f=Es(e)|0;c[u>>2]=36574;c[u+4>>2]=e;c[u+8>>2]=17838;c[u+12>>2]=(d|0)==0?47328:d;c[u+16>>2]=f;Bc(14,17618,u);d=14;C=33}else if((C|0)==26){c[x>>2]=17915;c[x+4>>2]=36500;c[x+8>>2]=17052;Bc(14,17e3,x);e=c[(ks()|0)>>2]|0;f=Es(e)|0;c[y>>2]=36500;c[y+4>>2]=e;c[y+8>>2]=17667;c[y+12>>2]=d?47328:i;c[y+16>>2]=f;Bc(14,17618,y);d=14;C=33}else if((C|0)==31){a[f+d>>0]=0;c[z>>2]=17915;c[z+4>>2]=36509;c[z+8>>2]=17052;Bc(14,17e3,z);d=14;C=33}if(!b){l=B;return d|0}if(!(c[2]|0)){pb[c[56>>2]&255](b);l=B;return d|0}else{C=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);l=B;return d|0}return 0}function Uc(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=l;l=l+32|0;h=i+8|0;g=i;b=i+28|0;Vt(e|0,0,d|0)|0;c[11668]=mt()|0;while(1){f=lb[c[3424>>2]&255](18004,524288,420)|0;if((f|0)<0)if((c[(ks()|0)>>2]|0)==4)continue;else{j=6;break}if((f|0)>2)break;jb[c[3436>>2]&255](f)|0;c[g>>2]=18004;c[g+4>>2]=f;Bc(28,17862,g);if((lb[c[3424>>2]&255](17905,0,0)|0)<0){j=6;break}}if((j|0)==6){db(b|0)|0;j=c[b>>2]|0;a[e>>0]=j;a[e+1>>0]=j>>8;a[e+2>>0]=j>>16;a[e+3>>0]=j>>24;j=e+4|0;e=c[11668]|0;a[j>>0]=e;a[j+1>>0]=e>>8;a[j+2>>0]=e>>16;a[j+3>>0]=e>>24;j=8;l=i;return j|0}do if((lb[c[3520>>2]&255](f,e,d)|0)>=0)break;while((c[(ks()|0)>>2]|0)==4);if(!(jb[c[3436>>2]&255](f)|0)){j=d;l=i;return j|0}e=c[(ks()|0)>>2]|0;j=Es(e)|0;c[h>>2]=36704;c[h+4>>2]=e;c[h+8>>2]=17649;c[h+12>>2]=47328;c[h+16>>2]=j;Bc(4106,17618,h);j=d;l=i;return j|0}function Vc(a,b){a=a|0;b=b|0;b=(b+999999|0)/1e6|0;st(b)|0;return b*1e6|0}function Wc(a,b){a=a|0;b=b|0;var d=0,e=0;a=l;l=l+16|0;d=a;Ya(d|0,0)|0;e=c[d>>2]|0;e=Lt(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=Ft(e|0,z|0,1045635584,49096)|0;d=(c[d+4>>2]|0)/1e3|0;d=Ft(e|0,z|0,d|0,((d|0)<0)<<31>>31|0)|0;h[b>>3]=(+(d>>>0)+4294967296.0*+(z|0))/864.0e5;l=a;return 0}function Xc(a,b,d){a=a|0;b=b|0;d=d|0;return c[(ks()|0)>>2]|0}function Yc(a,b){a=a|0;b=b|0;var d=0,e=0;a=l;l=l+16|0;d=a;Ya(d|0,0)|0;e=c[d>>2]|0;e=Lt(e|0,((e|0)<0)<<31>>31|0,1e3,0)|0;e=Ft(e|0,z|0,1045635584,49096)|0;d=(c[d+4>>2]|0)/1e3|0;d=Ft(e|0,z|0,d|0,((d|0)<0)<<31>>31|0)|0;c[b>>2]=d;c[b+4>>2]=z;l=a;return 0}function Zc(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if(!b){a=0;do{b=c[3420+(a*12|0)+8>>2]|0;if(b|0)c[3420+(a*12|0)+4>>2]=b;a=a+1|0}while((a|0)!=29);a=0;return a|0}else e=0;while(1){if(!(Ls(b,c[3420+(e*12|0)>>2]|0)|0))break;a=e+1|0;if(a>>>0<29)e=a;else{a=12;f=10;break}}if((f|0)==10)return a|0;b=3420+(e*12|0)+8|0;a=c[b>>2]|0;if(!a){a=c[3420+(e*12|0)+4>>2]|0;c[b>>2]=a}c[3420+(e*12|0)+4>>2]=(d|0)==0?a:d;d=0;return d|0}function _c(a,b){a=a|0;b=b|0;var d=0;a=0;while(1){if(!(Ls(b,c[3420+(a*12|0)>>2]|0)|0))break;a=a+1|0;if(a>>>0>=29){a=0;d=5;break}}if((d|0)==5)return a|0;d=c[3420+(a*12|0)+4>>2]|0;return d|0}function $c(a,b){a=a|0;b=b|0;var d=0;a:do if(!b)a=-1;else{a=0;do{if(!(Ls(b,c[3420+(a*12|0)>>2]|0)|0))break a;a=a+1|0}while((a|0)<28)}while(0);do{a=a+1|0;if((a|0)>=29){a=0;d=7;break}}while(!(c[3420+(a*12|0)+4>>2]|0));if((d|0)==7)return a|0;d=c[3420+(a*12|0)>>2]|0;return d|0}function ad(a,b){a=a|0;b=b|0;return 3344}function bd(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;g=l;l=l+32|0;f=g;e=b+24|0;d=b+16|0;do if(a[d>>0]|0){if((jb[c[3652>>2]&255](c[e>>2]|0)|0)>=0){a[d>>0]=0;break}d=c[(ks()|0)>>2]|0;if((d|0)!=2)c[b+20>>2]=d}while(0);d=c[e>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);d=b+12|0;e=c[d>>2]|0;if((e|0)>-1){if(jb[c[3436>>2]&255](e)|0){h=c[b+32>>2]|0;i=c[(ks()|0)>>2]|0;e=Es(i)|0;c[f>>2]=32357;c[f+4>>2]=i;c[f+8>>2]=17649;c[f+12>>2]=(h|0)==0?47328:h;c[f+16>>2]=e;Bc(4106,17618,f)}c[d>>2]=-1}d=c[b+28>>2]|0;if(!d){d=b;e=d+52|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));l=g;return 0}if(!(c[2]|0)){pb[c[56>>2]&255](d);d=b;e=d+52|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));l=g;return 0}else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);d=b;e=d+52|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));l=g;return 0}return 0}function cd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=a+12|0;g=0;h=d;j=b;a:while(1){while(1){if((bt(c[k>>2]|0,e,0)|0)<0){f=4;break a}i=lb[c[3520>>2]&255](c[k>>2]|0,j,h)|0;if((h|0)==(i|0)){f=10;break a}if((i|0)>=0)break;if((c[(ks()|0)>>2]|0)!=4){f=8;break a}}e=Ft(i|0,((i|0)<0)<<31>>31|0,e|0,f|0)|0;if(!i){h=0;f=10;break}else{g=i+g|0;h=h-i|0;j=j+i|0;f=z}}if((f|0)==4){c[a+20>>2]=c[(ks()|0)>>2];g=-1}else if((f|0)==8){c[a+20>>2]=c[(ks()|0)>>2];h=i;g=0;f=10}if((f|0)==10)g=g+h|0;if((g|0)==(d|0)){d=0;return d|0}if((g|0)<0){d=266;return d|0}c[a+20>>2]=0;Vt(b+g|0,0,d-g|0)|0;d=522;return d|0}function dd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=a+12|0;j=d;h=f;a:while(1){d=c[i>>2]|0;g=j&131071;while(1){if((bt(d,e,0)|0)<0){f=-1;b=6;break a}f=lb[c[3556>>2]&255](d,b,g)|0;if((f|0)>=0)break;if((c[(ks()|0)>>2]|0)!=4){b=6;break a}}d=(j|0)>(f|0);if(!(d&(f|0)!=0)){b=9;break}g=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,h|0)|0;j=j-f|0;b=b+f|0;h=z;e=g}if((b|0)==6){d=a+20|0;b=c[(ks()|0)>>2]|0;c[d>>2]=b;if((j|0)<=(f|0)){j=0;return j|0}if((b|0)!=28){j=778;return j|0}}else if((b|0)==9)if(d)d=a+20|0;else{j=0;return j|0}c[d>>2]=0;j=13;return j|0}function ed(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+32|0;h=j;f=c[a+40>>2]|0;g=((f|0)<0)<<31>>31;d=Ft(b|0,d|0,-1,-1)|0;d=Ft(d|0,z|0,f|0,g|0)|0;e=z;if((f|0)>0){b=Mt(d|0,e|0,f|0,g|0)|0;b=Gt(d|0,e|0,b|0,z|0)|0}d=c[a+12>>2]|0;do{e=kb[c[3496>>2]&255](d,b)|0;if((e|0)>=0){i=6;break}}while((c[(ks()|0)>>2]|0)==4);if((i|0)==6?(e|0)==0:0){i=0;l=j;return i|0}c[a+20>>2]=c[(ks()|0)>>2];a=c[a+32>>2]|0;g=c[(ks()|0)>>2]|0;i=Es(g)|0;c[h>>2]=34034;c[h+4>>2]=g;c[h+8>>2]=17685;c[h+12>>2]=(a|0)==0?47328:a;c[h+16>>2]=i;Bc(1546,17618,h);i=1546;l=j;return i|0}function fd(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+48|0;g=h+24|0;d=h;f=h+44|0;if(ot(c[a+12>>2]|0)|0){c[a+20>>2]=c[(ks()|0)>>2];f=c[a+32>>2]|0;a=c[(ks()|0)>>2]|0;g=Es(a)|0;c[d>>2]=33989;c[d+4>>2]=a;c[d+8>>2]=17993;c[d+12>>2]=(f|0)==0?47328:f;c[d+16>>2]=g;Bc(1034,17618,d);g=1034;l=h;return g|0}e=a+18|0;if(!(b[e>>1]&8)){g=0;l=h;return g|0}d=a+32|0;if((kb[c[3628>>2]&255](c[d>>2]|0,f)|0)==0?(ot(c[f>>2]|0)|0,jb[c[3436>>2]&255](c[f>>2]|0)|0):0){a=c[d>>2]|0;d=c[(ks()|0)>>2]|0;f=Es(d)|0;c[g>>2]=34003;c[g+4>>2]=d;c[g+8>>2]=17649;c[g+12>>2]=(a|0)==0?47328:a;c[g+16>>2]=f;Bc(4106,17618,g)}b[e>>1]=b[e>>1]&-9;g=0;l=h;return g|0}function gd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=l;l=l+80|0;d=e;if(!(kb[c[3484>>2]&255](c[a+12>>2]|0,d)|0)){a=c[d+36>>2]|0;f=(a|0)==1;d=b;c[d>>2]=f?0:a;c[d+4>>2]=f?0:((a|0)<0)<<31>>31;d=0;l=e;return d|0}else{c[a+20>>2]=c[(ks()|0)>>2];f=1802;l=e;return f|0}return 0}function hd(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[b+24>>2]|0;f=b+16|0;if(a[f>>0]|0){a[f>>0]=d;gb(e|0,0)|0;b=0;return b|0}e=kb[c[3640>>2]&255](e,511)|0;if((e|0)>=0){a[f>>0]=d;b=e;return b|0}d=c[(ks()|0)>>2]|0;switch(d|0){case 1:{e=3;break}case 37:case 4:case 16:case 110:case 11:case 13:case 17:{b=5;return b|0}default:e=3850}c[b+20>>2]=d;b=e;return b|0}function id(b,e){b=b|0;e=e|0;var f=0,g=0;f=c[b+24>>2]|0;g=b+16|0;if((d[g>>0]|0|0)==(e|0)){b=0;return b|0}if((e|0)==1){a[g>>0]=1;b=0;return b|0}if((jb[c[3652>>2]&255](f)|0)>=0){a[g>>0]=0;b=0;return b|0}e=c[(ks()|0)>>2]|0;if((e|0)==2){b=0;return b|0}c[b+20>>2]=e;b=2058;return b|0}function jd(a,b){a=a|0;b=b|0;c[b>>2]=(kb[c[3448>>2]&255](c[a+24>>2]|0,0)|0)==0&1;return 0}function kd(a,f,g){a=a|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+80|0;h=v;m=v+4|0;do switch(f|0){case 1:{c[g>>2]=d[a+16>>0];a=0;l=v;return a|0}case 4:{c[g>>2]=c[a+20>>2];a=0;l=v;return a|0}case 6:{c[a+40>>2]=c[g>>2];a=0;l=v;return a|0}case 5:{h=g;f=c[h>>2]|0;h=c[h+4>>2]|0;i=a+40|0;if((c[i>>2]|0)<=0){a=0;l=v;return a|0}o=a+12|0;a:do if(!(kb[c[3484>>2]&255](c[o>>2]|0,m)|0)){i=c[i>>2]|0;g=((i|0)<0)<<31>>31;f=Ft(f|0,h|0,-1,-1)|0;f=Ft(f|0,z|0,i|0,g|0)|0;k=z;g=Mt(f|0,k|0,i|0,g|0)|0;g=Gt(f|0,k|0,g|0,z|0)|0;k=z;f=c[m+36>>2]|0;i=((f|0)<0)<<31>>31;b:do if((k|0)>(i|0)|(k|0)==(i|0)&g>>>0>f>>>0?(p=c[m+40>>2]|0,n=f+-1+p-((f|0)%(p|0)|0)|0,j=((n|0)<0)<<31>>31,q=((p|0)<0)<<31>>31,r=Ft(g|0,k|0,-1,-1)|0,s=z,t=Ft(p|0,q|0,r|0,s|0)|0,u=z,(j|0)<(u|0)|(j|0)==(u|0)&n>>>0>>0):0){h=j;f=n;c:while(1){n=(h|0)<(k|0)|(h|0)==(k|0)&f>>>0>>0;i=n?f:r;f=n?h:s;h=c[o>>2]|0;while(1){if((bt(h,i,0)|0)<0)break c;j=lb[c[3556>>2]&255](h,47328,1)|0;if((j|0)>=0)break;if((c[(ks()|0)>>2]|0)!=4)break c}f=Ft(i|0,f|0,p|0,q|0)|0;h=z;if((j|0)!=1){f=778;break a}if(!((h|0)<(u|0)|(h|0)==(u|0)&f>>>0>>0))break b}c[a+20>>2]=c[(ks()|0)>>2];f=778;break a}while(0);a=0;l=v;return a|0}else f=1802;while(0);a=f;l=v;return a|0}case 10:{i=c[g>>2]|0;f=a+18|0;h=e[f>>1]|0;if((i|0)<0){c[g>>2]=h>>>2&1;a=0;l=v;return a|0}else{b[f>>1]=(i|0)==0?h&65531:h|4;a=0;l=v;return a|0}}case 13:{i=c[g>>2]|0;f=a+18|0;h=e[f>>1]|0;if((i|0)<0){c[g>>2]=h>>>4&1;a=0;l=v;return a|0}else{b[f>>1]=(i|0)==0?h&65519:h|16;a=0;l=v;return a|0}}case 12:{c[h>>2]=c[(c[a+4>>2]|0)+16>>2];c[g>>2]=xd(17859,h)|0;a=0;l=v;return a|0}case 16:{j=a+4|0;f=c[(c[j>>2]|0)+8>>2]|0;t=(Nc()|0)!=0;a=Ft(f|0,((f|0)<0)<<31>>31|0,-1,-1)|0;u=z;if(t|(u>>>0>0|(u|0)==0&a>>>0>2147483390)){a=0;l=v;return a|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](f)|0;if(!f){a=0;l=v;return a|0}}else{i=jb[c[68>>2]&255](f)|0;if((c[11829]|0)>>>0>>0)c[11829]=f;h=46456;f=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&f>>>0>0){u=c[11822]|0;a=Gt(f|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;t=z;c[11616]=(0>(t|0)|0==(t|0)&u>>>0>=a>>>0)&1}f=jb[c[52>>2]&255](i)|0;if(!f){a=0;l=v;return a|0}h=jb[c[64>>2]&255](f)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h}yd(c[(c[j>>2]|0)+8>>2]|0,f)|0;c[g>>2]=f;a=0;l=v;return a|0}case 20:{f=a+8|0;if(c[f>>2]|0)if(!(kb[c[3472>>2]&255](c[a+32>>2]|0,m)|0)){f=(c[f>>2]|0)+8|0;f=0!=(c[f+4>>2]|0)?1:(c[m+72>>2]|0)!=(c[f>>2]|0)}else f=1;else f=0;c[g>>2]=f&1;a=0;l=v;return a|0}default:{a=12;l=v;return a|0}}while(0);return 0}function ld(a){a=a|0;var d=0,e=0;d=a+44|0;e=c[d>>2]|0;if(e|0)return e|0;if(b[a+18>>1]&16){e=a+48|0;c[e>>2]=c[e>>2]|4096}c[d>>2]=4096;e=4096;return e|0}function md(a){a=a|0;var d=0,e=0;d=a+44|0;if(!(c[d>>2]|0)){if(b[a+18>>1]&16){e=a+48|0;c[e>>2]=c[e>>2]|4096}c[d>>2]=4096}return c[a+48>>2]|0}function nd(a,d,f,g){a=a|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+48|0;o=s+16|0;n=s+8|0;k=s;q=s+24|0;r=c[a+36>>2]|0;p=(1<>2]|0)+32>>2]|0;if(g&1|0){if(!j)h=0;else{h=0;g=j;do{if((g|0)!=(r|0))h=b[g+10>>1]|h;g=c[g+4>>2]|0}while((g|0)!=0)}if(((h&65535&p|0)==0?(i=c[(c[(c[a+8>>2]|0)+28>>2]|0)+12>>2]|0,(i|0)>-1):0)?(c[q+12>>2]=0,b[q>>1]=2,b[q+2>>1]=0,c[q+4>>2]=d+120,c[q+8>>2]=f,f=c[877]|0,c[k>>2]=q,(lb[f&255](i,13,k)|0)==-1):0){r=5;l=s;return r|0}q=(p|-65536)^65535;f=r+12|0;b[f>>1]=(e[f>>1]|0)&q;r=r+10|0;b[r>>1]=(e[r>>1]|0)&q;r=0;l=s;return r|0}h=(j|0)==0;if(g&4|0){a:do if(h)h=0;else{h=0;g=j;while(1){if(p&(e[g+12>>1]|0)|0){h=5;break}h=b[g+10>>1]|h;g=c[g+4>>2]|0;if(!g)break a}l=s;return h|0}while(0);if(((p&(h&65535)|0)==0?(m=c[(c[(c[a+8>>2]|0)+28>>2]|0)+12>>2]|0,(m|0)>-1):0)?(c[q+12>>2]=0,b[q>>1]=0,b[q+2>>1]=0,c[q+4>>2]=d+120,c[q+8>>2]=f,f=c[877]|0,c[n>>2]=q,(lb[f&255](m,13,n)|0)==-1):0){r=5;l=s;return r|0}r=r+10|0;b[r>>1]=e[r>>1]|0|p;r=0;l=s;return r|0}b:do if(!h){g=p&65535;h=j;while(1){if((e[h+12>>1]|0)&g|0){h=5;g=31;break}if((e[h+10>>1]|0)&g|0){h=5;g=31;break}h=c[h+4>>2]|0;if(!h)break b}if((g|0)==31){l=s;return h|0}}while(0);h=c[(c[(c[a+8>>2]|0)+28>>2]|0)+12>>2]|0;if((h|0)>-1?(c[q+12>>2]=0,b[q>>1]=1,b[q+2>>1]=0,c[q+4>>2]=d+120,c[q+8>>2]=f,f=c[877]|0,c[o>>2]=q,(lb[f&255](h,13,o)|0)==-1):0){r=5;l=s;return r|0}r=r+12|0;b[r>>1]=e[r>>1]|0|p;r=0;l=s;return r|0}function od(a){a=a|0;return}function pd(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;e=a+36|0;f=c[e>>2]|0;if(!f)return 0;g=c[f>>2]|0;d=g+32|0;while(1){h=c[d>>2]|0;if((h|0)==(f|0))break;else d=h+4|0}c[d>>2]=c[f+4>>2];if(!(c[2]|0))pb[c[56>>2]&255](f);else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}c[e>>2]=0;f=g+28|0;h=(c[f>>2]|0)+-1|0;c[f>>2]=h;if(h|0)return 0;if(b|0?(c[g+12>>2]|0)>-1:0)jb[c[3616>>2]&255](c[g+8>>2]|0)|0;sd(a);return 0}function qd(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;c[f>>2]=0;return 0}function rd(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return 0}function sd(a){a=a|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+32|0;n=o;m=c[(c[a+8>>2]|0)+28>>2]|0;if(!m){l=o;return}if(c[m+28>>2]|0){l=o;return}f=ib[c[3724>>2]&255]()|0;f=(f|0)<32768?1:(f|0)/32768|0;h=m+20|0;i=m+24|0;d=c[i>>2]|0;if(b[h>>1]|0){j=m+12|0;k=m+16|0;g=0;do{d=c[d+(g<<2)>>2]|0;do if((c[j>>2]|0)<=-1){if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}else kb[c[3700>>2]&255](d,c[k>>2]|0)|0;while(0);g=g+f|0;d=c[i>>2]|0}while((g|0)<(e[h>>1]|0))}do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);f=m+12|0;d=c[f>>2]|0;if((d|0)>-1){if(jb[c[3436>>2]&255](d)|0){if(!a)d=0;else d=c[a+32>>2]|0;a=c[(ks()|0)>>2]|0;p=Es(a)|0;c[n>>2]=34653;c[n+4>>2]=a;c[n+8>>2]=17649;c[n+12>>2]=(d|0)==0?47328:d;c[n+16>>2]=p;Bc(4106,17618,n)}c[f>>2]=-1}c[(c[m>>2]|0)+28>>2]=0;if(!(c[2]|0)){pb[c[56>>2]&255](m);l=o;return}else{p=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);l=o;return}}function td(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;d=ct(a,b,f)|0;l=e;return d|0}function ud(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+576|0;g=j+32|0;h=j+16|0;e=j+8|0;k=j;f=j+52|0;c[k>>2]=b;wd(512,f,17859,k)|0;b=As(f)|0;a:do if((b|0)>0)while(1){if((a[f+b>>0]|0)==47)break a;if((b|0)>1)b=b+-1|0;else{i=4;break}}else i=4;while(0);if((i|0)==4)if((a[f>>0]|0)==47)b=1;else{a[f>>0]=46;b=1}a[f+b>>0]=0;while(1){b=lb[c[3424>>2]&255](f,524288,420)|0;if((b|0)<0)if((c[(ks()|0)>>2]|0)==4)continue;else{i=12;break}if((b|0)>2){i=11;break}jb[c[3436>>2]&255](b)|0;c[e>>2]=f;c[e+4>>2]=b;Bc(28,17862,e);if((lb[c[3424>>2]&255](17905,0,0)|0)<0){b=-1;i=12;break}}if((i|0)==11){c[d>>2]=b;k=0;l=j;return k|0}else if((i|0)==12){c[d>>2]=b;c[h>>2]=17915;c[h+4>>2]=33948;c[h+8>>2]=17052;Bc(14,17e3,h);i=c[(ks()|0)>>2]|0;k=Es(i)|0;c[g>>2]=33948;c[g+4>>2]=i;c[g+8>>2]=17766;c[g+12>>2]=f;c[g+16>>2]=k;Bc(14,17618,g);k=14;l=j;return k|0}return 0}function vd(){return cb(30)|0}function wd(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;j=l;l=l+48|0;h=j+16|0;i=j;c[i>>2]=g;if((d|0)<1){l=j;return e|0}c[h+4>>2]=e;c[h>>2]=0;c[h+8>>2]=d;g=h+12|0;c[g>>2]=0;c[g+4>>2]=0;b[g+8>>1]=0;Cc(h,f,i);a[e+(c[h+16>>2]|0)>>0]=0;l=j;return e|0}function xd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+112|0;j=k+16|0;h=k;if(Nc()|0){j=0;l=k;return j|0}c[h>>2]=d;do if(!(Nc()|0)){i=j+4|0;c[i>>2]=k+40;c[j>>2]=0;c[j+8>>2]=70;e=j+12|0;c[e>>2]=1e9;f=j+16|0;c[f>>2]=0;a[j+20>>0]=0;g=j+21|0;a[g>>0]=0;Cc(j,b,h);d=c[i>>2]|0;if((d|0?(a[d+(c[f>>2]|0)>>0]=0,c[e>>2]|0):0)?(a[g>>0]&4)==0:0){d=Dc(j)|0;break}d=c[i>>2]|0}else d=0;while(0);j=d;l=k;return j|0}function yd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;k=l;l=l+112|0;j=k+80|0;i=k;a[d>>0]=0;e=c[11618]|0;if(!(c[942]|0))c[942]=Xa(17932)|0;if(!(c[943]|0))c[943]=Xa(17946)|0;f=i+12|0;g=e;e=0;while(1){if(((g|0?(kb[c[3472>>2]&255](g,i)|0)==0:0)?(c[f>>2]&61440|0)==16384:0)?(kb[c[3448>>2]&255](g,3)|0)==0:0)break;if(e>>>0>5){h=11;break}g=c[3768+(e<<2)>>2]|0;e=e+1|0}if((h|0)==11){j=6410;l=k;return j|0}f=d+(b+-2)|0;e=0;while(1){zd(8,i);a[f>>0]=0;m=i;n=c[m>>2]|0;m=c[m+4>>2]|0;c[j>>2]=g;h=j+8|0;c[h>>2]=n;c[h+4>>2]=m;c[j+16>>2]=0;wd(b,d,17953,j)|0;if((e|0)>10|(a[f>>0]|0)!=0){e=1;h=16;break}if(!(kb[c[3448>>2]&255](d,0)|0))e=e+1|0;else{e=0;h=16;break}}if((h|0)==16){l=k;return e|0}return 0}function zd(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;i=l;l=l+256|0;h=i;if(Nc()|0){l=i;return}if((b|0)<1|(e|0)==0){a[47374]=0;l=i;return}if(!(a[47374]|0)){a[47376]=0;a[47375]=0;f=(Nc()|0)==0;f=f?c[11642]|0:0;lb[c[f+56>>2]&255](f,256,h)|0;f=0;do{a[47377+f>>0]=f;f=f+1|0}while((f|0)!=256);f=0;g=a[47376]|0;do{j=47377+f|0;n=a[j>>0]|0;m=(d[h+f>>0]|0)+(n&255)+(g&255)|0;g=m&255;m=47377+(m&255)|0;k=a[m>>0]|0;a[m>>0]=n;a[j>>0]=k;f=f+1|0}while((f|0)!=256);a[47376]=g;a[47374]=1}while(1){m=(a[47375]|0)+1<<24>>24;a[47375]=m;m=47377+(m&255)|0;j=a[m>>0]|0;n=j&255;k=(d[47376]|0)+n|0;a[47376]=k;a[m>>0]=a[47377+(k&255)>>0]|0;a[47377+(k&255)>>0]=j;a[e>>0]=a[47377+((d[m>>0]|0)+n&255)>>0]|0;b=b+-1|0;if(!b)break;else e=e+1|0}l=i;return}function Ad(a,b){a=a|0;b=b|0;return 3792}function Bd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0;f=l;l=l+32|0;e=f;b=a+12|0;d=c[b>>2]|0;if((d|0)>-1){if(jb[c[3436>>2]&255](d)|0){g=c[a+32>>2]|0;h=c[(ks()|0)>>2]|0;d=Es(h)|0;c[e>>2]=32357;c[e+4>>2]=h;c[e+8>>2]=17649;c[e+12>>2]=(g|0)==0?47328:g;c[e+16>>2]=d;Bc(4106,17618,e)}c[b>>2]=-1}b=c[a+28>>2]|0;if(!b){b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=f;return 0}if(!(c[2]|0)){pb[c[56>>2]&255](b);b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=f;return 0}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=f;return 0}return 0}function Cd(a,b){a=a|0;b=b|0;return 0}function Dd(a,b){a=a|0;b=b|0;return 0}function Ed(a,b){a=a|0;b=b|0;c[b>>2]=0;return 0}function Fd(a){a=a|0;var b=0,d=0,e=0;if((a|0)<1|(Nc()|0)!=0){d=0;return d|0}d=Ft(a|0,((a|0)<0)<<31>>31|0,-1,-1)|0;b=z;if(b>>>0>0|(b|0)==0&d>>>0>2147483390){d=0;return d|0}if(!(c[2]|0)){d=jb[c[52>>2]&255](a)|0;return d|0}d=jb[c[68>>2]&255](a)|0;if((c[11829]|0)>>>0>>0)c[11829]=a;b=46456;a=c[b>>2]|0;b=c[b+4>>2]|0;if((b|0)>0|(b|0)==0&a>>>0>0){e=c[11822]|0;b=Gt(a|0,b|0,d|0,((d|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&e>>>0>=b>>>0)&1}b=jb[c[52>>2]&255](d)|0;if(!b){e=0;return e|0}a=jb[c[64>>2]&255](b)|0;a=(c[11822]|0)+a|0;c[11822]=a;if(a>>>0>(c[11826]|0)>>>0)c[11826]=a;a=(c[11825]|0)+1|0;c[11825]=a;if(a>>>0<=(c[11831]|0)>>>0){e=b;return e|0}c[11831]=a;e=b;return e|0}function Gd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+96|0;h=k;i=k+8|0;j=(d|0)!=0;f=j?d:420;g=b|524288;while(1){e=lb[c[3424>>2]&255](a,g,f)|0;if((e|0)<0)if((c[(ks()|0)>>2]|0)==4)continue;else{a=12;break}if((e|0)>2){a=6;break}jb[c[3436>>2]&255](e)|0;c[h>>2]=a;c[h+4>>2]=e;Bc(28,17862,h);if((lb[c[3424>>2]&255](17905,b,d)|0)<0){e=-1;a=12;break}}if((a|0)==6){if(!j){j=e;l=k;return j|0}if(((kb[c[3484>>2]&255](e,i)|0)==0?(c[i+36>>2]|0)==0:0)?(c[i+12>>2]&511|0)!=(d|0):0)kb[c[3592>>2]&255](e,d)|0;j=e;l=k;return j|0}else if((a|0)==12){l=k;return e|0}return 0}function Hd(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;g=r;a:do if(!((b|0)==0|(e|0)==0)){m=b;do{b=m+(((As(m)|0)&1073741823)+1)|0;if(!(a[b>>0]|0))break a;k=Ls(b,e)|0;m=b+(((As(b)|0)&1073741823)+1)|0}while((k|0)!=0);b=(f|0)!=0&1;b:do if(((d[m>>0]|0)+-48|0)>>>0>=10){k=(As(m)|0)&1073741823;if(k){g=0;do{do if((d[18171+g>>0]|0)==(k|0)?(n=18187+(d[18179+g>>0]|0)|0,n|0):0){h=n;i=m;j=k;while(1){e=a[h>>0]|0;if(!(e<<24>>24)){q=10;break}e=a[17324+(e&255)>>0]|0;f=a[17324+(d[i>>0]|0)>>0]|0;if(e<<24>>24!=f<<24>>24){o=e;p=f;q=13;break}if((j|0)>1){h=h+1|0;i=i+1|0;j=j+-1|0}else break}if((q|0)==10){o=0;p=a[17324+(d[i>>0]|0)>>0]|0;q=13}if((q|0)==13?(q=0,o<<24>>24!=p<<24>>24):0)break;if((g&-2|0)!=6){b=a[18212+g>>0]|0;break b}}while(0);g=g+1|0}while((g|0)<8)}}else{c[g>>2]=0;Pd(m,g)|0;b=c[g>>2]&255}while(0);q=b<<24>>24!=0;q=q&1;l=r;return q|0}while(0);q=(f|0)!=0;q=q&1;l=r;return q|0}function Id(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+192|0;i=j+24|0;g=j+16|0;f=j+8|0;e=j;h=j+104|0;d=j+28|0;if(b[a+18>>1]&128){l=j;return}if(kb[c[3484>>2]&255](c[a+12>>2]|0,d)|0){c[e>>2]=c[a+32>>2];Bc(28,18043,e);l=j;return}switch(c[d+16>>2]|0){case 0:{c[f>>2]=c[a+32>>2];Bc(28,18067,f);l=j;return}case 1:{e=a+8|0;if(!(c[e>>2]|0)){l=j;return}d=a+32|0;if(!(kb[c[3472>>2]&255](c[d>>2]|0,h)|0)){a=(c[e>>2]|0)+8|0;if(0==(c[a+4>>2]|0)?(c[h+72>>2]|0)==(c[a>>2]|0):0){l=j;return}}c[i>>2]=c[d>>2];Bc(28,18123,i);l=j;return}default:{c[g>>2]=c[a+32>>2];Bc(28,18096,g);l=j;return}}}function Jd(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;j=l;l=l+48|0;i=j+24|0;g=j;Id(a);Ld(a,0)|0;h=c[a+8>>2]|0;do if(h|0){if(c[h+32>>2]|0){f=a+28|0;d=c[f>>2]|0;e=h+36|0;c[d+8>>2]=c[e>>2];c[e>>2]=d;c[a+12>>2]=-1;c[f>>2]=0;c[11669]=(c[11669]|0)+1}e=h+24|0;f=(c[e>>2]|0)+-1|0;c[e>>2]=f;if(!f){e=h+36|0;b=c[e>>2]|0;if(b|0){f=a+32|0;do{d=b;b=c[b+8>>2]|0;if(jb[c[3436>>2]&255](c[d>>2]|0)|0){m=c[f>>2]|0;n=c[(ks()|0)>>2]|0;k=Es(n)|0;c[g>>2]=31623;c[g+4>>2]=n;c[g+8>>2]=17649;c[g+12>>2]=(m|0)==0?47328:m;c[g+16>>2]=k;Bc(4106,17618,g)}if(!(c[2]|0))pb[c[56>>2]&255](d);else{n=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d)}c[11669]=(c[11669]|0)+-1}while((b|0)!=0)}c[e>>2]=0;e=c[h+44>>2]|0;d=h+40|0;b=c[d>>2]|0;if(!e)c[11670]=b;else{c[e+40>>2]=b;b=c[d>>2]|0}if(b|0)c[b+44>>2]=e;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}}while(0);b=a+12|0;d=c[b>>2]|0;if((d|0)>-1){if(jb[c[3436>>2]&255](d)|0){m=c[a+32>>2]|0;k=c[(ks()|0)>>2]|0;n=Es(k)|0;c[i>>2]=32357;c[i+4>>2]=k;c[i+8>>2]=17649;c[i+12>>2]=(m|0)==0?47328:m;c[i+16>>2]=n;Bc(4106,17618,i)}c[b>>2]=-1}b=c[a+28>>2]|0;if(!b){b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=j;return 0}if(!(c[2]|0)){pb[c[56>>2]&255](b);b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=j;return 0}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);b=a;d=b+52|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));l=j;return 0}return 0}function Kd(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+96|0;o=D+56|0;r=D+48|0;u=D+40|0;v=D+32|0;m=D+24|0;n=D+16|0;h=D+8|0;j=D;z=D+80|0;x=D+64|0;C=d+16|0;g=a[C>>0]|0;if((g&255|0)>=(e|0)){d=0;l=D;return d|0}w=d+8|0;y=c[w>>2]|0;B=y+20|0;f=a[B>>0]|0;if(g<<24>>24!=f<<24>>24?(e|0)>1|(f&255)>2:0){d=5;l=D;return d|0}k=(e|0)==1;do if(!k){f=x+8|0;c[f>>2]=1;b[x+2>>1]=0;if((e|0)==4)if((g&255)<3){q=f;A=10}else A=43;else A=42}else{if((f+-1&255)>=2){q=x+8|0;c[q>>2]=1;b[x+2>>1]=0;A=10;break}a[C>>0]=1;d=y+16|0;c[d>>2]=(c[d>>2]|0)+1;d=y+32|0;c[d>>2]=(c[d>>2]|0)+1;d=0;l=D;return d|0}while(0);a:do if((A|0)==10){b[x>>1]=(k^1)&1;p=x+4|0;c[p>>2]=1073741824;t=d+18|0;do if((b[t>>1]&3)==1){g=y+21|0;if(!(a[g>>0]|0)){b[z+2>>1]=0;c[z+4>>2]=1073741826;c[z+8>>2]=510;b[z>>1]=1;A=c[877]|0;f=c[d+12>>2]|0;c[j>>2]=z;f=lb[A&255](f,13,j)|0;if((f|0)<0){A=17;break}else{a[g>>0]=1;i=y+32|0;c[i>>2]=(c[i>>2]|0)+1;i=f;A=16;break}}}else{A=c[877]|0;i=c[d+12>>2]|0;c[h>>2]=x;i=lb[A&255](i,13,h)|0;A=16}while(0);if((A|0)==16?i|0:0)A=17;if((A|0)==17){g=c[(ks()|0)>>2]|0;switch(g|0){case 1:{f=3;break}case 37:case 4:case 16:case 110:case 11:case 13:{d=5;l=D;return d|0}default:f=3850}c[d+20>>2]=g;d=f;l=D;return d|0}if(k){f=1073741826;c[p>>2]=f;c[q>>2]=510;h=c[w>>2]|0;do if((b[t>>1]&3)==1){g=h+21|0;if(!(a[g>>0]|0)){b[z+2>>1]=0;c[z+4>>2]=f;c[z+8>>2]=510;b[z>>1]=1;A=c[877]|0;f=c[d+12>>2]|0;c[n>>2]=z;f=lb[A&255](f,13,n)|0;if((f|0)<0){A=28;break}else{a[g>>0]=1;A=h+32|0;c[A>>2]=(c[A>>2]|0)+1;A=27;break}}else{f=0;g=0}}else{A=c[877]|0;f=c[d+12>>2]|0;c[m>>2]=x;f=lb[A&255](f,13,m)|0;A=27}while(0);if((A|0)==27)if(!f){f=0;g=0}else A=28;b:do if((A|0)==28){f=c[(ks()|0)>>2]|0;switch(f|0){case 37:case 4:case 16:case 110:case 11:case 13:{g=5;break b}case 1:{f=1;g=3;break b}default:{g=3850;break b}}}while(0);c[p>>2]=1073741824;c[q>>2]=1;b[x>>1]=2;j=c[w>>2]|0;do if((b[t>>1]&3)==1){i=j+21|0;if(!(a[i>>0]|0)){b[z+2>>1]=0;c[z+4>>2]=1073741826;c[z+8>>2]=510;b[z>>1]=1;A=c[877]|0;h=c[d+12>>2]|0;c[v>>2]=z;h=lb[A&255](h,13,v)|0;if((h|0)<0){A=37;break}else{a[i>>0]=1;A=j+32|0;c[A>>2]=(c[A>>2]|0)+1;A=37;break}}else A=39}else{A=c[877]|0;h=c[d+12>>2]|0;c[u>>2]=x;h=lb[A&255](h,13,u)|0;A=37}while(0);if((A|0)==37)if((g|0)==0&(h|0)!=0){g=2058;f=c[(ks()|0)>>2]|0}else A=39;c:do if((A|0)==39)switch(g&4095){case 0:{a[C>>0]=1;A=y+32|0;c[A>>2]=(c[A>>2]|0)+1;c[y+16>>2]=1;A=54;break a}case 5:{d=5;l=D;return d|0}default:break c}while(0);c[d+20>>2]=f;d=g;l=D;return d|0}else{f=q;A=42}}while(0);if((A|0)==42)if((e|0)==4)A=43;else A=44;if((A|0)==43)if((c[y+16>>2]|0)>1){f=5;A=56}else A=44;d:do if((A|0)==44){b[x>>1]=1;h=(e|0)==2;c[x+4>>2]=1073741824+(h?1:2);c[f>>2]=h?1:510;h=c[w>>2]|0;do if((b[d+18>>1]&3)==1){g=h+21|0;if(a[g>>0]|0){A=54;break d}b[z+2>>1]=0;c[z+4>>2]=1073741826;c[z+8>>2]=510;b[z>>1]=1;y=c[877]|0;f=c[d+12>>2]|0;c[r>>2]=z;f=lb[y&255](f,13,r)|0;if((f|0)<0)break;else{a[g>>0]=1;s=h+32|0;c[s>>2]=(c[s>>2]|0)+1;s=f;A=50;break}}else{A=c[877]|0;s=c[d+12>>2]|0;c[o>>2]=x;s=lb[A&255](s,13,o)|0;A=50}while(0);if((A|0)==50?(s|0)==0:0){A=54;break}g=c[(ks()|0)>>2]|0;switch(g|0){case 37:case 4:case 16:case 110:case 11:case 13:{f=5;break}case 1:{f=3;A=53;break}default:{f=3850;A=53}}if((A|0)==53)c[d+20>>2]=g;if((e|0)==4)A=56;else{d=f;l=D;return d|0}}while(0);if((A|0)==54){d=e&255;a[C>>0]=d;a[B>>0]=d;d=0;l=D;return d|0}else if((A|0)==56){a[C>>0]=3;a[B>>0]=3;d=f;l=D;return d|0}return 0}function Ld(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;A=l;l=l+112|0;z=A+48|0;s=A+40|0;u=A+32|0;o=A+24|0;p=A+16|0;k=A+8|0;m=A;t=A+88|0;r=A+72|0;y=d+16|0;f=a[y>>0]|0;if((f&255|0)<=(e|0)){z=0;l=A;return z|0}w=d+8|0;x=c[w>>2]|0;do if((f&255)>1){a:do if((e|0)==1){b[r>>1]=0;j=r+2|0;b[j>>1]=0;i=1073741826;h=r+4|0;c[h>>2]=i;g=r+8|0;c[g>>2]=510;f=d+18|0;do if((b[f>>1]&3)==1){k=x+21|0;if(a[k>>0]|0){i=x;break a}b[t+2>>1]=0;c[t+4>>2]=i;c[t+8>>2]=510;b[t>>1]=1;B=c[877]|0;i=c[d+12>>2]|0;c[m>>2]=t;i=lb[B&255](i,13,m)|0;if((i|0)<0)break;else{a[k>>0]=1;n=x+32|0;c[n>>2]=(c[n>>2]|0)+1;n=i;v=11;break}}else{v=c[877]|0;n=c[d+12>>2]|0;c[k>>2]=r;n=lb[v&255](n,13,k)|0;v=11}while(0);if((v|0)==11?(n|0)==0:0){i=c[w>>2]|0;break}c[d+20>>2]=c[(ks()|0)>>2];B=2314;l=A;return B|0}else{j=r+2|0;h=r+4|0;g=r+8|0;f=d+18|0;i=x}while(0);b[r>>1]=2;b[j>>1]=0;c[h>>2]=1073741824;c[g>>2]=2;do if((b[f>>1]&3)==1){g=i+21|0;if(!(a[g>>0]|0)){b[t+2>>1]=0;c[t+4>>2]=1073741826;c[t+8>>2]=510;b[t>>1]=1;B=c[877]|0;f=c[d+12>>2]|0;c[p>>2]=t;f=lb[B&255](f,13,p)|0;if((f|0)<0)break;else{a[g>>0]=1;q=i+32|0;c[q>>2]=(c[q>>2]|0)+1;q=f;v=20;break}}else v=21}else{v=c[877]|0;q=c[d+12>>2]|0;c[o>>2]=r;q=lb[v&255](q,13,o)|0;v=20}while(0);if((v|0)==20?(q|0)==0:0)v=21;if((v|0)==21){a[x+20>>0]=1;break}c[d+20>>2]=c[(ks()|0)>>2];B=2058;l=A;return B|0}while(0);if(!e){v=x+16|0;B=(c[v>>2]|0)+-1|0;c[v>>2]=B;if(!B){b[r>>1]=2;b[r+2>>1]=0;c[r+8>>2]=0;c[r+4>>2]=0;h=c[w>>2]|0;do if((b[d+18>>1]&3)==1){g=h+21|0;if(!(a[g>>0]|0)){b[t+2>>1]=0;c[t+4>>2]=1073741826;c[t+8>>2]=510;b[t>>1]=1;B=c[877]|0;f=c[d+12>>2]|0;c[u>>2]=t;f=lb[B&255](f,13,u)|0;if((f|0)<0){v=33;break}else{a[g>>0]=1;v=h+32|0;c[v>>2]=(c[v>>2]|0)+1;v=31;break}}else v=32}else{v=c[877]|0;f=c[d+12>>2]|0;c[s>>2]=r;f=lb[v&255](f,13,s)|0;v=31}while(0);if((v|0)==31)if(!f)v=32;else v=33;if((v|0)==32){f=0;g=x+20|0}else if((v|0)==33){c[d+20>>2]=c[(ks()|0)>>2];a[x+20>>0]=0;f=2058;g=y}a[g>>0]=0;j=f}else j=0;x=x+32|0;B=(c[x>>2]|0)+-1|0;c[x>>2]=B;if(!B){i=(c[w>>2]|0)+36|0;f=c[i>>2]|0;if(f|0){h=d+32|0;do{g=f;f=c[f+8>>2]|0;if(jb[c[3436>>2]&255](c[g>>2]|0)|0){d=c[h>>2]|0;x=c[(ks()|0)>>2]|0;B=Es(x)|0;c[z>>2]=31623;c[z+4>>2]=x;c[z+8>>2]=17649;c[z+12>>2]=(d|0)==0?47328:d;c[z+16>>2]=B;Bc(4106,17618,z)}if(!(c[2]|0))pb[c[56>>2]&255](g);else{B=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}c[11669]=(c[11669]|0)+-1}while((f|0)!=0)}c[i>>2]=0}if(j|0){B=j;l=A;return B|0}}a[y>>0]=e;B=0;l=A;return B|0}function Md(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;h=j;i=j+8|0;g=c[e+8>>2]|0;if((d[g+20>>0]|0)>1){i=0;h=1;c[f>>2]=h;l=j;return i|0}if(a[g+21>>0]|0){i=0;h=0;c[f>>2]=h;l=j;return i|0}b[i+2>>1]=0;c[i+4>>2]=1073741825;c[i+8>>2]=1;b[i>>1]=1;k=c[877]|0;g=c[e+12>>2]|0;c[h>>2]=i;if(!(lb[k&255](g,12,h)|0)){g=0;e=(b[i>>1]|0)!=2&1}else{c[e+20>>2]=c[(ks()|0)>>2];g=3594;e=0}k=g;i=e;c[f>>2]=i;l=j;return k|0}function Nd(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=l;l=l+176|0;E=F+72|0;A=F+48|0;w=F+24|0;v=F+8|0;t=F;y=F+92|0;D=ib[c[3724>>2]&255]()|0;D=(D|0)<32768?1:(D|0)/32768|0;x=d+36|0;j=c[x>>2]|0;if(!j){if(Nc()|0){i=7;l=F;return i|0}if(!(c[2]|0)){j=jb[c[52>>2]&255](16)|0;if(!j){i=7;l=F;return i|0}else u=j}else{j=jb[c[68>>2]&255](16)|0;if((c[11829]|0)>>>0<16)c[11829]=16;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){s=c[11822]|0;u=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;r=z;c[11616]=(0>(r|0)|0==(r|0)&s>>>0>=u>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k){i=7;l=F;return i|0}j=jb[c[64>>2]&255](k)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;u=k}else u=k};c[u>>2]=0;c[u+4>>2]=0;c[u+8>>2]=0;c[u+12>>2]=0;r=d+8|0;s=c[r>>2]|0;k=c[s+28>>2]|0;a:do if(!k){q=d+32|0;o=c[q>>2]|0;b:do if(!(kb[c[3484>>2]&255](c[d+12>>2]|0,y)|0)){p=As(o)|0;n=p+42|0;j=(Nc()|0)!=0;m=Ft(n|0,0,-1,-1)|0;k=z;if(j|(k>>>0>0|(k|0)==0&m>>>0>2147483390))j=7;else{if(!(c[2]|0)){k=jb[c[52>>2]&255](n)|0;if(!k){j=7;break}}else{j=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){G=c[11822]|0;m=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;k=z;c[11616]=(0>(k|0)|0==(k|0)&G>>>0>=m>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k){j=7;break}j=jb[c[64>>2]&255](k)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0)c[11831]=j}Vt(k|0,0,n|0)|0;m=k+36|0;c[k+8>>2]=m;c[t>>2]=o;wd(p+6|0,m,18151,t)|0;j=k+12|0;c[j>>2]=-1;G=c[r>>2]|0;c[G+28>>2]=k;c[k>>2]=G;if(c[3]|0)c[k+4>>2]=8;if(!(a[s+21>>0]|0)){if(!(Hd(c[q>>2]|0,18158,0)|0)){n=Gd(m,66,c[y+12>>2]&511)|0;c[j>>2]=n}else n=c[j>>2]|0;do if((n|0)<0){n=Gd(m,0,c[y+12>>2]&511)|0;c[j>>2]=n;if((n|0)<0){c[v>>2]=17915;c[v+4>>2]=34827;c[v+8>>2]=17052;Bc(14,17e3,v);G=c[(ks()|0)>>2]|0;j=Es(G)|0;c[w>>2]=34827;c[w+4>>2]=G;c[w+8>>2]=17655;c[w+12>>2]=m;c[w+16>>2]=j;Bc(14,17618,w);j=14;break b}else{a[k+22>>0]=1;break}}while(0);j=c[y+20>>2]|0;m=c[y+24>>2]|0;if(!(ib[c[3676>>2]&255]()|0))lb[c[3664>>2]&255](n,j,m)|0;j=Od(d,k)|0;switch(j|0){case 0:case 1288:break;default:break b}}else j=0;break a}}else j=1802;while(0);sd(d);if(!(c[2]|0)){pb[c[56>>2]&255](u);G=j;l=F;return G|0}else{G=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u);G=j;l=F;return G|0}}else j=0;while(0);c[u>>2]=k;G=k+28|0;c[G>>2]=(c[G>>2]|0)+1;c[x>>2]=u;G=k+32|0;c[u+4>>2]=c[G>>2];c[G>>2]=u;if(!j)j=u;else{G=j;l=F;return G|0}}u=c[j>>2]|0;j=u+23|0;do if(a[j>>0]|0){k=Od(d,u)|0;if(!k){a[j>>0]=0;C=50;break}else{j=u+20|0;break}}else C=50;while(0);if((C|0)==50){r=D+f|0;r=r-((r|0)%(D|0)|0)|0;t=u+20|0;if((e[t>>1]|0)<(r|0)){k=O(r,g)|0;c[u+16>>2]=g;s=u+12|0;j=c[s>>2]|0;c:do if((j|0)>-1)if(!(kb[c[3484>>2]&255](j,y)|0)){j=c[y+36>>2]|0;if((j|0)<(k|0))if(h){j=(j|0)/4096|0;o=(k|0)/4096|0;if((j|0)<(o|0)){d:while(1){k=c[s>>2]|0;m=j<<12|4095;while(1){if((bt(k,m,0)|0)<0){C=61;break d}n=lb[c[3556>>2]&255](k,47328,1)|0;if((n|0)>=0)break;if((c[(ks()|0)>>2]|0)!=4){C=61;break d}}j=j+1|0;if((n|0)!=1)break;if((j|0)>=(o|0)){C=64;break c}}if((C|0)==61)ks()|0;G=c[u+8>>2]|0;E=c[(ks()|0)>>2]|0;j=Es(E)|0;c[A>>2]=34971;c[A+4>>2]=E;c[A+8>>2]=17720;c[A+12>>2]=(G|0)==0?47328:G;c[A+16>>2]=j;Bc(4874,17618,A);j=4874}else C=64}else j=0;else C=64}else j=4874;else C=64;while(0);e:do if((C|0)==64){q=u+24|0;j=c[q>>2]|0;k=r<<2;if((Nc()|0)==0?(B=Oc(j,(k|0)>0?k:0,0)|0,(B|0)!=0):0){c[q>>2]=B;j=e[t>>1]|0;if((j|0)<(r|0)){n=O(D,g)|0;o=u+22|0;p=(D|0)>0;G=Ft(g|0,((g|0)<0)<<31>>31|0,-1,-1)|0;C=z;f:do if(C>>>0>0|(C|0)==0&G>>>0>2147483390){while(1){k=c[s>>2]|0;if((k|0)<=-1)break;G=O(j,g)|0;k=ob[c[3688>>2]&255](0,n,a[o>>0]|0?1:3,1,k,G)|0;if((k|0)==(-1|0))break f;m=e[t>>1]|0;if(p){j=0;do{G=k+(O(j,g)|0)|0;c[(c[q>>2]|0)+(m+j<<2)>>2]=G;j=j+1|0}while((j|0)!=(D|0))}j=m+D|0;b[t>>1]=j;j=j&65535;if((j|0)>=(r|0)){j=0;break e}}Nc()|0;j=7;break e}else while(1){k=c[s>>2]|0;if((k|0)>-1){j=O(j,g)|0;j=ob[c[3688>>2]&255](0,n,a[o>>0]|0?1:3,1,k,j)|0;if((j|0)==(-1|0))break f}else{if(Nc()|0){j=7;break e}do if(!(c[2]|0)){j=jb[c[52>>2]&255](g)|0;if(!j){j=7;break e}}else{j=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){C=c[11822]|0;G=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;B=z;c[11616]=(0>(B|0)|0==(B|0)&C>>>0>=G>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(!j){j=7;break e}k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0<=(c[11831]|0)>>>0)break;c[11831]=k}while(0);Vt(j|0,0,g|0)|0}m=e[t>>1]|0;if(p){k=0;do{G=j+(O(k,g)|0)|0;c[(c[q>>2]|0)+(m+k<<2)>>2]=G;k=k+1|0}while((k|0)!=(D|0))}j=m+D|0;b[t>>1]=j;j=j&65535;if((j|0)>=(r|0)){j=0;break e}}while(0);G=c[u+8>>2]|0;g=c[(ks()|0)>>2]|0;j=Es(g)|0;c[E>>2]=34998;c[E+4>>2]=g;c[E+8>>2]=17807;c[E+12>>2]=(G|0)==0?47328:G;c[E+16>>2]=j;Bc(5386,17618,E);j=5386}else j=0}else j=3082}while(0);k=j;j=t}else{k=0;j=t}}if((e[j>>1]|0)>(f|0))j=c[(c[u+24>>2]|0)+(f<<2)>>2]|0;else j=0;c[i>>2]=j;G=(k|0)==0&(a[u+22>>0]|0)!=0?8:k;l=F;return G|0}function Od(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+80|0;m=n+48|0;i=n+24|0;h=n+16|0;k=n;f=n+56|0;b[f+2>>1]=0;c[f+4>>2]=128;c[f+8>>2]=1;b[f>>1]=1;p=c[877]|0;g=e+12|0;o=c[g>>2]|0;c[k>>2]=f;if(lb[p&255](o,12,k)|0){p=3850;l=n;return p|0}a:do switch(b[f>>1]|0){case 2:{if(a[e+22>>0]|0){a[e+23>>0]=1;p=1288;l=n;return p|0}d=d+8|0;f=c[(c[(c[d>>2]|0)+28>>2]|0)+12>>2]|0;if((f|0)>-1?(c[k+12>>2]=0,b[k>>1]=1,b[k+2>>1]=0,c[k+4>>2]=128,c[k+8>>2]=1,p=c[877]|0,c[h>>2]=k,(lb[p&255](f,13,h)|0)==-1):0){p=5;l=n;return p|0}f=c[g>>2]|0;do{g=kb[c[3496>>2]&255](f,0)|0;if((g|0)>=0){j=12;break}}while((c[(ks()|0)>>2]|0)==4);if((j|0)==12?(g|0)==0:0)break a;o=c[e+8>>2]|0;m=c[(ks()|0)>>2]|0;p=Es(m)|0;c[i>>2]=34705;c[i+4>>2]=m;c[i+8>>2]=17685;c[i+12>>2]=(o|0)==0?47328:o;c[i+16>>2]=p;Bc(4618,17618,i);p=4618;l=n;return p|0}case 1:{p=5;l=n;return p|0}default:d=d+8|0}while(0);d=c[(c[(c[d>>2]|0)+28>>2]|0)+12>>2]|0;if((d|0)>-1){c[k+12>>2]=0;b[k>>1]=0;b[k+2>>1]=0;c[k+4>>2]=128;c[k+8>>2]=1;p=c[877]|0;c[m>>2]=k;d=(lb[p&255](d,13,m)|0)!=-1;d=d?0:5}else d=0;p=d;l=n;return p|0}function Pd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:do switch(a[b>>0]|0){case 45:{i=1;e=b+1|0;break}case 43:{i=0;e=b+1|0;break}case 48:{switch(a[b+1>>0]|0){case 88:case 120:break;default:{i=0;e=b;break a}}e=b+2|0;f=a[e>>0]|0;if(!(a[18220+(f&255)>>0]&8)){i=0;e=b}else{if(f<<24>>24==48){e=b+3|0;while(1){b=a[e>>0]|0;if(b<<24>>24==48)e=e+1|0;else{f=b;break}}}if(!(a[18220+(f&255)>>0]&8)){b=0;e=1}else{g=0;b=0;do{h=f<<24>>24;b=(0-(h>>>6&1)&9)+h&15|b<<4;g=g+1|0;f=a[e+g>>0]|0;h=a[18220+(f&255)>>0]&8}while((g|0)<8&h<<24>>24!=0);e=h<<24>>24==0}if(!((b|0)>-1&e)){d=0;return d|0}c[d>>2]=b;d=1;return d|0}break}default:{i=0;e=b}}while(0);g=a[e>>0]|0;if(((g&255)+-48|0)>>>0>=10){d=0;return d|0}b=e+1|0;if(g<<24>>24==48)while(1){e=a[b>>0]|0;f=b+1|0;if(e<<24>>24==48)b=f;else{h=b;break}}else{h=e;f=b;e=g}e=(e<<24>>24)+-48|0;if(e>>>0<10){b=((e|0)<0)<<31>>31;f=(a[f>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+2>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+3>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+4>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+5>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+6>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+7>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+8>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;b=z;f=(a[h+9>>0]|0)+-48|0;if(f>>>0<10){e=Lt(e|0,b|0,10,0)|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,z|0)|0;if(((a[h+10>>0]|0)+-48|0)>>>0<10){d=0;return d|0}else b=z}}}}}}}}}}else{e=0;b=0}h=Gt(e|0,b|0,i|0,0)|0;g=z;if((g|0)>0|(g|0)==0&h>>>0>2147483647){d=0;return d|0}f=Gt(0,0,e|0,b|0)|0;h=z;g=(i|0)==0;i=g?e:f;c[d>>2]=i;d=1;return d|0}function Qd(a,b){a=a|0;b=b|0;return 3868}function Rd(a){a=a|0;var b=0;a=46572;b=a+100|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));a=(c[52]|0)==0;c[11657]=a&1;b=c[54]|0;c[11658]=a&(b|0)!=0?b:0;c[11646]=10;c[11656]=1;return 0}function Sd(a){a=a|0;var b=0;a=46572;b=a+100|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(b|0));return}function Td(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;i=((c[11657]|0)*52|0)+64|0;h=Ft(i|0,((i|0)<0)<<31>>31|0,-1,-1)|0;g=z;if(g>>>0>0|(g|0)==0&h>>>0>2147483390){e=0;return e|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;if(!f){e=0;return e|0}else j=12}else{f=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){k=c[11822]|0;h=Gt(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&k>>>0>=h>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){k=0;return k|0}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;Vt(f|0,0,i|0)|0;i=f}else j=12}if((j|0)==12){Vt(f|0,0,i|0)|0;i=f}if(!(c[11657]|0))f=46572;else{c[i+76>>2]=10;f=i+64|0}g=f+20|0;h=f+33|0;if(!(a[h>>0]|0)){a[h>>0]=1;c[f+44>>2]=g;c[f+48>>2]=g}c[i>>2]=f;c[i+8>>2]=b;c[i+12>>2]=d;c[i+16>>2]=b+32+d;k=(e|0)!=0;c[i+20>>2]=k&1;ee(i);if(k){c[i+24>>2]=10;e=f+8|0;k=c[e>>2]|0;c[e>>2]=k+10;c[f+12>>2]=-10-k+10+(c[f+4>>2]|0);f=f+16|0}else f=46684;c[i+4>>2]=f;if(c[i+48>>2]|0){k=i;return k|0}_d(i);k=0;return k|0}function Ud(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(!(c[a+20>>2]|0))return;e=c[a>>2]|0;d=a+28|0;g=e+4|0;f=(c[g>>2]|0)+(b-(c[d>>2]|0))|0;c[g>>2]=f;c[e+12>>2]=f+10-(c[e+8>>2]|0);c[d>>2]=b;c[a+32>>2]=((b*9|0)>>>0)/10|0;ae(a);return}function Vd(a){a=a|0;return c[a+44>>2]|0}function Wd(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[(c[a+52>>2]|0)+(((b>>>0)%((c[a+48>>2]|0)>>>0)|0)<<2)>>2]|0;a:do if(e|0){f=e;while(1){if((c[f+8>>2]|0)==(b|0))break;e=c[f+16>>2]|0;if(!e)break a;else f=e}e=f+24|0;a=c[e>>2]|0;if(!a){d=f;return d|0}d=f+28|0;b=c[d>>2]|0;c[b+24>>2]=a;c[(c[e>>2]|0)+28>>2]=b;c[e>>2]=0;c[d>>2]=0;d=(c[f+20>>2]|0)+40|0;c[d>>2]=(c[d>>2]|0)+-1;d=f;return d|0}while(0);if(!d){d=0;return d|0}d=de(a,b,d)|0;return d|0}function Xd(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=c[b>>2]|0;if((e|0)==0?(c[f+16>>2]|0)>>>0<=(c[f+4>>2]|0)>>>0:0){g=f+44|0;c[d+28>>2]=f+20;f=c[g>>2]|0;c[d+24>>2]=f;c[f+28>>2]=d;c[g>>2]=d;d=b+40|0;g=1;f=c[d>>2]|0;g=f+g|0;c[d>>2]=g;return}e=d+20|0;f=c[e>>2]|0;b=(c[f+52>>2]|0)+((((c[d+8>>2]|0)>>>0)%((c[f+48>>2]|0)>>>0)|0)<<2)|0;while(1){h=c[b>>2]|0;g=h+16|0;if((h|0)==(d|0))break;else b=g}c[b>>2]=c[g>>2];h=f+44|0;c[h>>2]=(c[h>>2]|0)+-1;e=c[e>>2]|0;do if(!(a[d+12>>0]|0)){b=c[d>>2]|0;if(b|0){h=b;if(h>>>0>=(c[11662]|0)>>>0&h>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[b>>2]=c[11665];c[11665]=b;h=(c[11666]|0)+1|0;c[11666]=h;c[11667]=(h|0)<(c[11661]|0)&1;break}h=jb[c[64>>2]&255](b)|0;c[11824]=(c[11824]|0)-h;if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{h=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}}}else{h=e+56|0;c[d+16>>2]=c[h>>2];c[h>>2]=d}while(0);h=c[e+4>>2]|0;d=-1;g=c[h>>2]|0;d=g+d|0;c[h>>2]=d;return}function Yd(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=c[a+48>>2]|0;h=a+52|0;d=(c[h>>2]|0)+(((d>>>0)%(g>>>0)|0)<<2)|0;while(1){f=c[d>>2]|0;if((f|0)==(b|0))break;else d=f+16|0}f=b+16|0;c[d>>2]=c[f>>2];c[b+8>>2]=e;d=(c[h>>2]|0)+(((e>>>0)%(g>>>0)|0)<<2)|0;c[f>>2]=c[d>>2];c[d>>2]=b;d=a+36|0;if((c[d>>2]|0)>>>0>=e>>>0)return;c[d>>2]=e;return}function Zd(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;m=b+36|0;e=c[m>>2]|0;if(e>>>0>>0)return;n=b+48|0;f=c[n>>2]|0;if((e-d|0)>>>0>>0){g=(d>>>0)%(f>>>0)|0;k=(e>>>0)%(f>>>0)|0}else{k=f>>>1;g=k;k=k+-1|0}l=b+52|0;j=b+44|0;while(1){e=(c[l>>2]|0)+(g<<2)|0;f=c[e>>2]|0;a:do if(f|0)do{while(1){if((c[f+8>>2]|0)>>>0>>0)break;c[j>>2]=(c[j>>2]|0)+-1;i=f+16|0;c[e>>2]=c[i>>2];b=f+24|0;h=c[b>>2]|0;if(!h)b=c[f+20>>2]|0;else{o=f+28|0;p=c[o>>2]|0;c[p+24>>2]=h;c[(c[b>>2]|0)+28>>2]=p;c[b>>2]=0;c[o>>2]=0;b=c[f+20>>2]|0;h=b+40|0;c[h>>2]=(c[h>>2]|0)+-1}do if(!(a[f+12>>0]|0)){f=c[f>>2]|0;if(f|0){p=f;if(p>>>0>=(c[11662]|0)>>>0&p>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[f>>2]=c[11665];c[11665]=f;p=(c[11666]|0)+1|0;c[11666]=p;c[11667]=(p|0)<(c[11661]|0)&1;break}p=jb[c[64>>2]&255](f)|0;c[11824]=(c[11824]|0)-p;if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{p=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}}else{p=b+56|0;c[i>>2]=c[p>>2];c[p>>2]=f}while(0);f=c[b+4>>2]|0;c[f>>2]=(c[f>>2]|0)+-1;f=c[e>>2]|0;if(!f)break a}e=f+16|0;f=c[e>>2]|0}while((f|0)!=0);while(0);if((g|0)==(k|0))break;g=((g+1|0)>>>0)%((c[n>>2]|0)>>>0)|0}c[m>>2]=d+-1;return}function _d(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=c[b>>2]|0;m=b+44|0;a:do if(c[m>>2]|0){d=c[b+36>>2]|0;n=b+48|0;e=c[n>>2]|0;if(d>>>0>>0){f=0;j=(d>>>0)%(e>>>0)|0}else{j=e>>>1;f=j;j=j+-1|0}k=b+52|0;while(1){i=(c[k>>2]|0)+(f<<2)|0;d=c[i>>2]|0;if(d|0)do{c[m>>2]=(c[m>>2]|0)+-1;h=d+16|0;c[i>>2]=c[h>>2];e=d+24|0;g=c[e>>2]|0;if(!g)e=c[d+20>>2]|0;else{o=d+28|0;p=c[o>>2]|0;c[p+24>>2]=g;c[(c[e>>2]|0)+28>>2]=p;c[e>>2]=0;c[o>>2]=0;e=c[d+20>>2]|0;g=e+40|0;c[g>>2]=(c[g>>2]|0)+-1}do if(!(a[d+12>>0]|0)){d=c[d>>2]|0;if(d|0){p=d;if(p>>>0>=(c[11662]|0)>>>0&p>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[d>>2]=c[11665];c[11665]=d;p=(c[11666]|0)+1|0;c[11666]=p;c[11667]=(p|0)<(c[11661]|0)&1;break}p=jb[c[64>>2]&255](d)|0;c[11824]=(c[11824]|0)-p;if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}}else{p=e+56|0;c[h>>2]=c[p>>2];c[p>>2]=d}while(0);d=c[e+4>>2]|0;c[d>>2]=(c[d>>2]|0)+-1;d=c[i>>2]|0}while((d|0)!=0);if((f|0)==(j|0))break a;f=((f+1|0)>>>0)%((c[n>>2]|0)>>>0)|0}}while(0);o=l+4|0;d=(c[o>>2]|0)-(c[b+28>>2]|0)|0;c[o>>2]=d;o=l+8|0;p=(c[o>>2]|0)-(c[b+24>>2]|0)|0;c[o>>2]=p;c[l+12>>2]=10-p+d;ae(b);d=c[b+60>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);d=c[b+52>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{p=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function $d(a){a=a|0;var b=0,d=0;if(!(c[a+20>>2]|0))return;b=(c[a>>2]|0)+4|0;d=c[b>>2]|0;c[b>>2]=0;ae(a);c[b>>2]=d;return}function ae(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;f=c[b>>2]|0;d=f+48|0;e=f+16|0;f=f+4|0;a:do if((c[e>>2]|0)>>>0>(c[f>>2]|0)>>>0)do{g=c[d>>2]|0;if(a[g+13>>0]|0)break a;i=g+24|0;h=g+28|0;j=c[h>>2]|0;c[j+24>>2]=c[i>>2];c[(c[i>>2]|0)+28>>2]=j;c[i>>2]=0;c[h>>2]=0;h=(c[g+20>>2]|0)+40|0;c[h>>2]=(c[h>>2]|0)+-1;be(g,1)}while((c[e>>2]|0)>>>0>(c[f>>2]|0)>>>0);while(0);if(c[b+44>>2]|0)return;d=b+60|0;e=c[d>>2]|0;if(!e)return;if(!(c[2]|0))pb[c[56>>2]&255](e);else{j=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}c[b+56>>2]=0;c[d>>2]=0;return}function be(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;f=c[a+20>>2]|0;d=(c[f+52>>2]|0)+((((c[a+8>>2]|0)>>>0)%((c[f+48>>2]|0)>>>0)|0)<<2)|0;while(1){g=c[d>>2]|0;e=g+16|0;if((g|0)==(a|0))break;else d=e}c[d>>2]=c[e>>2];g=f+44|0;c[g>>2]=(c[g>>2]|0)+-1;if(!b)return;ce(a);return}function ce(b){b=b|0;var d=0,e=0;d=c[b+20>>2]|0;do if(!(a[b+12>>0]|0)){b=c[b>>2]|0;if(b|0){e=b;if(e>>>0>=(c[11662]|0)>>>0&e>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[b>>2]=c[11665];c[11665]=b;e=(c[11666]|0)+1|0;c[11666]=e;c[11667]=(e|0)<(c[11661]|0)&1;break}e=jb[c[64>>2]&255](b)|0;c[11824]=(c[11824]|0)-e;if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}}}else{e=d+56|0;c[b+16>>2]=c[e>>2];c[e>>2]=b}while(0);e=c[d+4>>2]|0;c[e>>2]=(c[e>>2]|0)+-1;return}function de(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;l=c[b>>2]|0;r=b+44|0;j=c[r>>2]|0;h=c[b+40>>2]|0;i=j-h|0;if((e|0)==1){if(i>>>0>=(c[l+12>>2]|0)>>>0){d=0;return d|0}if(i>>>0>=(c[b+32>>2]|0)>>>0){d=0;return d|0}if((c[11660]|0)!=0?((c[b+12>>2]|0)+(c[b+8>>2]|0)|0)<=(c[11659]|0):0)e=46668;else e=46464;if((c[e>>2]|0)!=0&h>>>0>>0){d=0;return d|0}}q=b+48|0;if(j>>>0>=(c[q>>2]|0)>>>0)ee(b);k=c[b+20>>2]|0;do if((k|0)!=0?(g=c[l+48>>2]|0,(a[g+13>>0]|0)==0):0){if(((c[r>>2]|0)+1|0)>>>0<(c[b+28>>2]|0)>>>0){if((c[11660]|0)!=0?((c[b+12>>2]|0)+(c[b+8>>2]|0)|0)<=(c[11659]|0):0)e=46668;else e=46464;if(!(c[e>>2]|0)){p=30;break}}h=g+20|0;i=c[h>>2]|0;e=(c[i+52>>2]|0)+((((c[g+8>>2]|0)>>>0)%((c[i+48>>2]|0)>>>0)|0)<<2)|0;while(1){p=c[e>>2]|0;j=p+16|0;if((p|0)==(g|0))break;else e=j}c[e>>2]=c[j>>2];p=i+44|0;c[p>>2]=(c[p>>2]|0)+-1;p=g+24|0;e=g+28|0;o=c[e>>2]|0;c[o+24>>2]=c[p>>2];c[(c[p>>2]|0)+28>>2]=o;c[p>>2]=0;c[e>>2]=0;e=c[h>>2]|0;p=e+40|0;c[p>>2]=(c[p>>2]|0)+-1;if((c[e+16>>2]|0)==(c[b+16>>2]|0)){p=l+16|0;f=k-(c[e+20>>2]|0)+(c[p>>2]|0)|0;e=p;p=77;break}do if(!(a[g+12>>0]|0)){g=c[g>>2]|0;if(g|0){p=g;if(p>>>0>=(c[11662]|0)>>>0&p>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;p=(c[11666]|0)+1|0;c[11666]=p;c[11667]=(p|0)<(c[11661]|0)&1;break}p=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-p;if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}else{p=e+56|0;c[g+16>>2]=c[p>>2];c[p>>2]=g}while(0);p=c[e+4>>2]|0;c[p>>2]=(c[p>>2]|0)+-1;p=30}else p=30;while(0);a:do if((p|0)==30){o=b+56|0;g=c[o>>2]|0;do if(!g){if(((c[r>>2]|0)==0?(m=c[11658]|0,m|0):0)?(n=c[b+28>>2]|0,n>>>0>=3):0){g=(m|0)>0;i=b+16|0;l=c[i>>2]|0;k=((l|0)<0)<<31>>31;g=Lt((g?l:-1024)|0,(g?k:-1)|0,m|0,((m|0)<0)<<31>>31|0)|0;m=z;k=Lt(l|0,k|0,n|0,0)|0;n=z;l=(m|0)>(n|0)|(m|0)==(n|0)&g>>>0>k>>>0;g=l?k:g;n=Ft(g|0,(l?n:m)|0,-1,-1)|0;m=z;do if(!(m>>>0>0|(m|0)==0&n>>>0>2147483390)){if(!(c[2]|0)){e=jb[c[52>>2]&255](g)|0;break}h=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;e=46456;g=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&g>>>0>0){m=c[11822]|0;n=Gt(g|0,e|0,h|0,((h|0)<0)<<31>>31|0)|0;l=z;c[11616]=(0>(l|0)|0==(l|0)&m>>>0>=n>>>0)&1}e=jb[c[52>>2]&255](h)|0;if(e){g=jb[c[64>>2]&255](e)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else e=0}else e=0;while(0);c[b+60>>2]=e;if(!e)g=c[o>>2]|0;else{g=jb[c[64>>2]&255](e)|0;i=c[i>>2]|0;g=(g|0)/(i|0)|0;j=c[b+8>>2]|0;k=O(g+-1|0,i)|0;h=e;l=c[o>>2]|0;while(1){n=l;l=h+j|0;c[l>>2]=h;c[l+4>>2]=l+32;a[l+12>>0]=1;a[l+13>>0]=0;c[l+16>>2]=n;g=g+-1|0;if(!g)break;else h=h+i|0}g=e+(k+j)|0;c[o>>2]=g}if(g|0)break}h=c[b+16>>2]|0;if((c[11659]|0)>=(h|0)?(f=c[11665]|0,(f|0)!=0):0){c[11665]=c[f>>2];o=c[11666]|0;c[11666]=o+-1;c[11667]=(o|0)<=(c[11661]|0)&1;if((c[11830]|0)>>>0>>0)c[11830]=h;g=(c[11823]|0)+1|0;c[11823]=g;if(g>>>0>(c[11827]|0)>>>0)c[11827]=g}else p=58;do if((p|0)==58){p=Ft(h|0,((h|0)<0)<<31>>31|0,-1,-1)|0;o=z;if(!(o>>>0>0|(o|0)==0&p>>>0>2147483390)){if(!(c[2]|0)){f=jb[c[52>>2]&255](h)|0;if(!f){f=0;break}}else{f=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;e=46456;g=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&g>>>0>0){o=c[11822]|0;p=Gt(g|0,e|0,f|0,((f|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&o>>>0>=p>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){f=0;break}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}g=jb[c[64>>2]&255](f)|0;if((c[11830]|0)>>>0>>0)c[11830]=h;g=(c[11824]|0)+g|0;c[11824]=g;if(g>>>0>(c[11828]|0)>>>0)c[11828]=g}else f=0}while(0);g=f+(c[b+8>>2]|0)|0;if(!f){d=0;return d|0}else{c[g>>2]=f;c[g+4>>2]=g+32;a[g+12>>0]=0;a[g+13>>0]=0;e=c[b+4>>2]|0;f=(c[e>>2]|0)+1|0;p=77;break a}}while(0);n=g+16|0;c[o>>2]=c[n>>2];c[n>>2]=0;o=c[b+4>>2]|0;c[o>>2]=(c[o>>2]|0)+1}while(0);if((p|0)==77)c[e>>2]=f;f=(d>>>0)%((c[q>>2]|0)>>>0)|0;c[r>>2]=(c[r>>2]|0)+1;c[g+8>>2]=d;r=b+52|0;c[g+16>>2]=c[(c[r>>2]|0)+(f<<2)>>2];c[g+20>>2]=b;c[g+28>>2]=0;c[g+24>>2]=0;c[c[g+4>>2]>>2]=0;c[(c[r>>2]|0)+(f<<2)>>2]=g;f=b+36|0;if((c[f>>2]|0)>>>0>=d>>>0){d=g;return d|0}c[f>>2]=d;d=g;return d|0}function ee(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;h=a+48|0;g=c[h>>2]<<1;g=g>>>0>256?g:256;i=fe(g<<2,0)|0;if(!i)return;f=c[h>>2]|0;e=a+52|0;a=c[e>>2]|0;if(f){d=0;do{b=c[a+(d<<2)>>2]|0;if(b){a=b;do{k=a+16|0;j=a;a=c[k>>2]|0;b=i+((((c[j+8>>2]|0)>>>0)%(g>>>0)|0)<<2)|0;c[k>>2]=c[b>>2];c[b>>2]=j}while((a|0)!=0);a=c[e>>2]|0}d=d+1|0}while(d>>>0>>0)}ge(a);c[e>>2]=i;c[h>>2]=g;return}function fe(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;e=Ft(a|0,b|0,-1,-1)|0;d=z;if(d>>>0>0|(d|0)==0&e>>>0>2147483390){a=0;return a|0}if(!(c[2]|0)){b=jb[c[52>>2]&255](a)|0;if(!b){a=0;return a|0}}else{b=jb[c[68>>2]&255](a)|0;if((c[11829]|0)>>>0>>0)c[11829]=a;e=46456;d=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&d>>>0>0){f=c[11822]|0;e=Gt(d|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;d=z;c[11616]=(0>(d|0)|0==(d|0)&f>>>0>=e>>>0)&1}b=jb[c[52>>2]&255](b)|0;if(!b){f=0;return f|0}d=jb[c[64>>2]&255](b)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}Vt(b|0,0,a|0)|0;f=b;return f|0}function ge(a){a=a|0;var b=0;if(!a)return;if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function he(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0;f=c[g>>2]|0;if(!f)return;g=e[f+8>>1]|0;if((g&514|0)==514?(a[f+10>>0]|0)==1:0)f=c[f+16>>2]|0;else h=5;do if((h|0)==5)if(!(g&1)){f=Jc(f,1)|0;break}else return;while(0);if(!f)return;i=nf(f)|0;f=c[d>>2]|0;g=((i|0)<0)<<31>>31;h=f+8|0;if(!(b[h>>1]&9312)){d=f;c[d>>2]=i;c[d+4>>2]=g;b[h>>1]=4;return}else{Xe(f,i,g);return}}function ie(b,d,f){b=b|0;d=d|0;f=f|0;d=c[f>>2]|0;f=e[d+8>>1]|0;do if(!(f&4)){if(f&8|0){d=Gc(+h[d>>3])|0;f=7;break}if(!(f&18)){d=3968;f=8}else{d=Hc(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)|0;f=7}}else{d=c[d>>2]|0;f=7}while(0);if((f|0)==7)if(d>>>0<6){d=3968+(d<<2)|0;f=8}else d=0;if((f|0)==8)d=c[d>>2]|0;if((Ve(c[b>>2]|0,d,-1,1,0)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function je(b,d,e){b=b|0;d=d|0;e=e|0;if((Ve(c[b>>2]|0,16993,-1,1,0)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function ke(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;j=c[h>>2]|0;i=b[j+8>>1]|0;if((j|0)==0|(-1431655766>>>(i&31)&1|0)!=0)return;i=i&65535;if((i&514|0)==514?(a[j+10>>0]|0)==1:0)j=c[j+16>>2]|0;else q=5;do if((q|0)==5)if(!(i&1)){j=Jc(j,1)|0;break}else return;while(0);if(!j)return;k=c[h>>2]|0;l=e[k+8>>1]|0;if((l&2|0)!=0?(a[k+10>>0]|0)==1:0)i=c[k+12>>2]|0;else q=11;do if((q|0)==11)if(!(l&16)){if(l&1|0){i=0;break}i=Ue(k,1)|0;break}else{i=c[k+12>>2]|0;if(!(l&16384))break;i=(c[k>>2]|0)+i|0;break}while(0);if((g|0)!=1){k=c[h+4>>2]|0;if(!k)return;l=e[k+8>>1]|0;if((l&514|0)==514?(a[k+10>>0]|0)==1:0)o=c[k+16>>2]|0;else q=21;do if((q|0)==21)if(!(l&1)){o=Jc(k,1)|0;break}else return;while(0);if(!o)return;l=a[o>>0]|0;if(l<<24>>24){k=o;h=0;while(1){g=k+1|0;if((l&255)>191){k=g;while(1){l=a[k>>0]|0;if((l&-64)<<24>>24==-128)k=k+1|0;else break}}else{k=g;l=a[g>>0]|0}g=h+1|0;if(!(l<<24>>24))break;else h=g}if((h|0)>-1){n=Lt(g|0,((g|0)<0)<<31>>31|0,5,0)|0;n=hf(f,n,z)|0;if(!n)return;m=n+(g<<2)|0;if(a[o>>0]|0){h=0;k=o;while(1){c[n+(h<<2)>>2]=k;l=k+1|0;g=k;if((d[k>>0]|0)>191){k=l;while(1)if((a[k>>0]&-64)<<24>>24==-128)k=k+1|0;else break}else k=l;a[m+h>>0]=k-g;l=h+1|0;if(!(a[k>>0]|0))break;else h=l}if((h|0)>-1){p=n;h=l;q=36}}}}}else{o=0;p=3964;m=19148;h=1;n=3964;q=36}do if((q|0)==36){g=c[(c[f+4>>2]|0)+4>>2]|0;a:do if((i|0)>0&(g&1|0)!=0)do{k=0;while(1){l=d[m+k>>0]|0;if((i|0)>=(l|0)?(Bs(j,c[p+(k<<2)>>2]|0,l)|0)==0:0)break;k=k+1|0;if((k|0)>=(h|0))break a}j=j+l|0;i=i-l|0}while((i|0)>0);while(0);b:do if((g&2|0)!=0&(i|0)>0&(h|0)>0)while(1){k=0;while(1){l=d[m+k>>0]|0;if((i|0)>=(l|0)?(r=i-l|0,(Bs(j+r|0,c[p+(k<<2)>>2]|0,l)|0)==0):0)break;k=k+1|0;if((k|0)>=(h|0))break b}if((r|0)>0)i=r;else{i=r;break}}while(0);if(!((n|0)==0|(o|0)==0))if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{r=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);if((Ve(c[f>>2]|0,j,i,1,-1)|0)!=18)return;c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0;return}function le(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=((c[(c[a+4>>2]|0)+4>>2]|0)!=0)<<31>>31;i=c[(c[(c[a+12>>2]|0)+88>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0;f=c[e>>2]|0;if(-1431655766>>>(b[f+8>>1]&31)&1|0)return;do if((d|0)>1){h=0;f=1;while(1){g=c[e+(f<<2)>>2]|0;if(-1431655766>>>(b[g+8>>1]&31)&1|0){g=7;break}g=((jf(c[e+(h<<2)>>2]|0,g,i)|0)^j|0)>-1;h=g?f:h;f=f+1|0;if((f|0)>=(d|0)){g=5;break}}if((g|0)==5){f=c[e+(h<<2)>>2]|0;break}else if((g|0)==7)return}while(0);gf(a,f);return}function me(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=c[f>>2]|0;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))h=cf(d,40)|0;else h=c[e+16>>2]|0;if(!h)return;i=h+8|0;e=(b[i>>1]|0)!=0;if(-1431655766>>>(b[(c[f>>2]|0)+8>>1]&31)&1|0){if(!e)return;a[d+24>>0]=1;return}if(!e){c[h+32>>2]=c[(c[d>>2]|0)+32>>2];c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[h+16>>2]=c[g+16>>2];d=b[i>>1]&-1025;b[i>>1]=d;d=d&65535;if(!(d&18))return;if(b[g+8>>1]&2048)return;e=(d|4096)&65535;b[i>>1]=e;do if(d&16384){e=h+12|0;g=(c[h>>2]|0)+(c[e>>2]|0)|0;if(!(_e(h,(g|0)>1?g:1,1)|0)){Vt((c[h+16>>2]|0)+(c[e>>2]|0)|0,0,c[h>>2]|0)|0;c[e>>2]=(c[e>>2]|0)+(c[h>>2]|0);e=b[i>>1]&-16897;b[i>>1]=e;break}else return}while(0);if(!((c[h+24>>2]|0)!=0?(c[h+16>>2]|0)==(c[h+20>>2]|0):0))j=31;do if((j|0)==31)if(!(bf(h)|0)){e=b[i>>1]|0;break}else return;while(0);b[i>>1]=e&-4097;return}f=(c[(c[d+4>>2]|0)+4>>2]|0)!=0;e=jf(h,g,c[(c[(c[d+12>>2]|0)+88>>2]|0)+(((c[d+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0;if(!(f&(e|0)<0)?!((e|0)>0&(f^1)):0){a[d+24>>0]=1;return}if(b[i>>1]&9312)Ye(h);c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[h+16>>2]=c[g+16>>2];d=b[i>>1]&-1025;b[i>>1]=d;d=d&65535;if(!(d&18))return;if(b[g+8>>1]&2048)return;e=(d|4096)&65535;b[i>>1]=e;do if(d&16384){e=h+12|0;g=(c[h>>2]|0)+(c[e>>2]|0)|0;if(!(_e(h,(g|0)>1?g:1,1)|0)){Vt((c[h+16>>2]|0)+(c[e>>2]|0)|0,0,c[h>>2]|0)|0;c[e>>2]=(c[e>>2]|0)+(c[h>>2]|0);e=b[i>>1]&-16897;b[i>>1]=e;break}else return}while(0);if(!((c[h+24>>2]|0)!=0?(c[h+16>>2]|0)==(c[h+20>>2]|0):0))j=20;do if((j|0)==20)if(!(bf(h)|0)){e=b[i>>1]|0;break}else return;while(0);b[i>>1]=e&-4097;return}function ne(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=cf(a,0)|0;else d=c[d+16>>2]|0;if(!d)return;e=d+8|0;if(!((b[e>>1]|0)!=0?(gf(a,d),(b[e>>1]&9312)!=0):0))f=7;if((f|0)==7?(c[d+24>>2]|0)==0:0)return;af(d);return}function oe(e,f,g){e=e|0;f=f|0;g=g|0;if((Ve(c[e>>2]|0,c[3944+((d[19034+(b[(c[g>>2]|0)+8>>1]&31)>>0]|0)+-1<<2)>>2]|0,-1,1,0)|0)!=18)return;c[e+20>>2]=18;a[e+25>>0]=1;Ve(c[e>>2]|0,18992,-1,1,0)|0;return}function pe(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[f>>2]|0;e=b[g+8>>1]|0;switch(a[19034+(e&31)>>0]|0){case 2:case 1:case 4:{f=e&65535;if((f&2|0)!=0?(a[g+10>>0]|0)==1:0)e=c[g+12>>2]|0;else h=5;do if((h|0)==5)if(!(f&16)){if(f&1|0){e=0;break}e=Ue(g,1)|0;break}else{e=c[g+12>>2]|0;if(!(f&16384))break;e=(c[g>>2]|0)+e|0;break}while(0);f=c[d>>2]|0;g=((e|0)<0)<<31>>31;h=f+8|0;if(!(b[h>>1]&9312)){d=f;c[d>>2]=e;c[d+4>>2]=g;b[h>>1]=4;return}else{Xe(f,e,g);return}}case 3:{if(!g)return;e=e&65535;if((e&514|0)==514?(a[g+10>>0]|0)==1:0)e=c[g+16>>2]|0;else h=17;do if((h|0)==17)if(!(e&1)){e=Jc(g,1)|0;break}else return;while(0);if(!e)return;f=a[e>>0]|0;if(!(f<<24>>24)){h=0;g=0}else{i=0;do{i=i+1|0;g=e+1|0;if((f&255)>191){e=g;while(1){f=a[e>>0]|0;if((f&-64)<<24>>24==-128)e=e+1|0;else break}}else{e=g;f=a[g>>0]|0}}while(f<<24>>24!=0);h=i;g=((i|0)<0)<<31>>31}e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312)){d=e;c[d>>2]=h;c[d+4>>2]=g;b[f>>1]=4;return}else{Xe(e,h,g);return}}default:{e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;return}else{Ye(e);return}}}}function qe(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;k=c[g>>2]|0;h=b[k+8>>1]|0;m=h&31;o=g+4|0;j=c[o>>2]|0;f=b[j+8>>1]|0;l=f&31;if((-1431655766>>>l|-1431655766>>>m)&1|0)return;h=h&65535;if((h&2|0)!=0?(a[k+10>>0]|0)==1:0)i=c[k+12>>2]|0;else n=5;do if((n|0)==5)if(!(h&16)){if(h&1|0){i=0;break}i=Ue(k,1)|0;j=c[o>>2]|0;f=b[j+8>>1]|0;break}else{i=c[k+12>>2]|0;if(!(h&16384))break;i=(c[k>>2]|0)+i|0;break}while(0);h=f&65535;if((h&2|0)!=0?(a[j+10>>0]|0)==1:0){p=c[j+12>>2]|0;n=18}else n=13;do if((n|0)==13)if(!(h&16)){if(h&1|0){j=1;i=0;break}p=Ue(j,1)|0;n=18;break}else{f=c[j+12>>2]|0;if(!(h&16384)){p=f;n=18;break}p=(c[j>>2]|0)+f|0;n=18;break}while(0);a:do if((n|0)==18)if((p|0)>0){h=c[g>>2]|0;do if(!((m|16|0)==16&(l|16|0)==16)){do if(h){f=e[h+8>>1]|0;if((f&514|0)==514?(a[h+10>>0]|0)==1:0){h=c[h+16>>2]|0;break}if(!(f&1))h=Jc(h,1)|0;else h=0}else h=0;while(0);j=c[o>>2]|0;if(!j)return;f=e[j+8>>1]|0;if((f&514|0)==514?(a[j+10>>0]|0)==1:0){f=1;k=c[j+16>>2]|0;break}if(!(f&1)){f=1;k=Jc(j,1)|0;break}else return}else{h=ff(h)|0;f=0;k=ff(c[o>>2]|0)|0}while(0);if(!k)return;if((i|0)!=0&(h|0)==0)return;if((p|0)>(i|0)){j=0;i=0}else{b:do if(!f){f=1;while(1){if(!(Bs(h,k,p)|0))break b;if((p|0)<(i|0)){f=f+1|0;i=i+-1|0;h=h+1|0}else{j=0;i=0;break a}}}else{f=1;while(1){if(!(Bs(h,k,p)|0))break b;while(1){j=i+-1|0;h=h+1|0;if((a[h>>0]&-64)<<24>>24!=-128)break;else i=j}if((p|0)<(i|0)){f=f+1|0;i=j}else{j=0;i=0;break a}}}while(0);j=f;i=((f|0)<0)<<31>>31}}else{j=1;i=0}while(0);f=c[d>>2]|0;h=f+8|0;if(!(b[h>>1]&9312)){d=f;c[d>>2]=j;c[d+4>>2]=i;b[h>>1]=4;return}else{Xe(f,j,i);return}}function re(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+48|0;m=o;k=o+32|0;n=o+8|0;j=c[(c[b>>2]|0)+32>>2]|0;if((d|0)<=0){l=o;return}h=c[f>>2]|0;if(!h){l=o;return}g=e[h+8>>1]|0;if((g&514|0)==514?(a[h+10>>0]|0)==1:0)g=c[h+16>>2]|0;else i=6;do if((i|0)==6)if(!(g&1)){g=Jc(h,1)|0;break}else{l=o;return}while(0);if(!g){l=o;return}c[k>>2]=d+-1;c[k+4>>2]=0;c[k+8>>2]=f+4;h=c[j+100>>2]|0;i=n+4|0;c[i>>2]=0;c[n>>2]=j;c[n+8>>2]=0;d=n+12|0;c[d>>2]=h;h=n+16|0;c[h>>2]=0;a[n+20>>0]=0;f=n+21|0;a[f>>0]=2;c[m>>2]=k;mf(n,g,m);h=c[h>>2]|0;g=c[i>>2]|0;if(((g|0)!=0?(a[g+h>>0]=0,(c[d>>2]|0)!=0):0)?(a[f>>0]&4)==0:0)g=Dc(n)|0;else g=c[i>>2]|0;if((Ve(c[b>>2]|0,g,h,1,172)|0)!=18){l=o;return}c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;l=o;return}function se(f,g,h){f=f|0;g=g|0;h=h|0;var i=0;g=c[h>>2]|0;if(!g)return;h=e[g+8>>1]|0;if((h&514|0)==514?(a[g+10>>0]|0)==1:0)g=c[g+16>>2]|0;else i=5;do if((i|0)==5)if(!(h&1)){g=Jc(g,1)|0;break}else return;while(0);if(!g)return;h=a[g>>0]|0;if(!(h<<24>>24))return;i=g+1|0;g=h&255;if((h&255)>191){g=d[18928+(g+-192)>>0]|0;h=a[i>>0]|0;if((h&-64)<<24>>24==-128)do{i=i+1|0;g=h&63|g<<6;h=a[i>>0]|0}while((h&-64)<<24>>24==-128);g=(g&-2|0)==65534|(g>>>0<128|(g&-2048|0)==55296)?65533:g}h=c[f>>2]|0;i=((g|0)<0)<<31>>31;f=h+8|0;if(!(b[f>>1]&9312)){c[h>>2]=g;c[h+4>>2]=i;b[f>>1]=4;return}else{Xe(h,g,i);return}}function te(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;i=f<<2|1;o=(Nc()|0)!=0;n=Ft(i|0,((i|0)<0)<<31>>31|0,-1,-1)|0;m=z;do if(!(m>>>0>0|(m|0)==0&n>>>0>2147483390|o)){if(!(c[2]|0)){i=jb[c[52>>2]&255](i)|0;if(!i)break;else j=i}else{k=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){n=c[11822]|0;o=Gt(i|0,j|0,k|0,((k|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&n>>>0>=o>>>0)&1}j=jb[c[52>>2]&255](k)|0;if(!j)break;i=jb[c[64>>2]&255](j)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}if((f|0)>0){o=0;i=j;do{k=c[g+(o<<2)>>2]|0;l=e[k+8>>1]|0;do if(!(l&4)){if(l&8|0){l=Gc(+h[k>>3])|0;k=z;break}if(!(l&18)){k=0;l=0}else{l=Hc(a[k+10>>0]|0,c[k+12>>2]|0,c[k+16>>2]|0)|0;k=z}}else{l=k;k=c[l+4>>2]|0;l=c[l>>2]|0}while(0);l=k>>>0>0|(k|0)==0&l>>>0>1114111?65533:l&2097151;do if(l>>>0>=128){k=l>>>6;m=(l&63|128)&255;if(l>>>0<2048){a[i>>0]=k&31|192;a[i+1>>0]=m;i=i+2|0;break}n=l>>>12;k=(k&63|128)&255;if(l>>>0<65536){a[i>>0]=n&15|224;a[i+1>>0]=k;a[i+2>>0]=m;i=i+3|0;break}else{a[i>>0]=l>>>18|240;a[i+1>>0]=n&63|128;a[i+2>>0]=k;a[i+3>>0]=m;i=i+4|0;break}}else{a[i>>0]=l;i=i+1|0}while(0);o=o+1|0}while((o|0)!=(f|0))}else i=j;i=i-j|0;if((i|0)>=0){if((Ve(c[d>>2]|0,j,i,1,148)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}do if(148!=-1)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{g=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);if(!d)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}while(0);i=c[d>>2]|0;j=i+8|0;if(!(b[j>>1]&9312))b[j>>1]=1;else{Ye(i);i=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;i=c[i+32>>2]|0;j=i+73|0;if(a[j>>0]|0)return;if(a[i+74>>0]|0)return;a[j>>0]=1;if((c[i+172>>2]|0)>0)c[i+256>>2]=1;d=i+264|0;c[d>>2]=(c[d>>2]|0)+1;return}function ue(d,e,f){d=d|0;e=e|0;f=f|0;var g=0.0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;i=m+8|0;j=m;f=c[f>>2]|0;e=b[f+8>>1]|0;switch(a[19034+(e&31)>>0]|0){case 1:{e=e&65535;do if(!(e&4)){if(e&8|0){e=Gc(+h[f>>3])|0;f=z;k=8;break}if(!(e&18)){e=0;j=0}else{e=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;f=z;k=8}}else{e=f;f=c[e+4>>2]|0;e=c[e>>2]|0;k=8}while(0);do if((k|0)==8)if((f|0)<0){if(!((e|0)==0&(f|0)==-2147483648)){e=Gt(0,0,e|0,f|0)|0;j=z;break}c[d+20>>2]=1;a[d+25>>0]=1;Ve(c[d>>2]|0,19017,-1,1,-1)|0;l=m;return}else j=f;while(0);f=c[d>>2]|0;i=f+8|0;if(!(b[i>>1]&9312)){d=f;c[d>>2]=e;c[d+4>>2]=j;b[i>>1]=4;l=m;return}else{Xe(f,e,j);l=m;return}}case 5:{e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;l=m;return}else{Ye(e);l=m;return}}default:{e=e&65535;do if(!(e&8)){if(e&4|0){k=f;g=+((c[k>>2]|0)>>>0)+4294967296.0*+(c[k+4>>2]|0);break}if(!(e&18))g=0.0;else g=+Ic(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)}else g=+h[f>>3];while(0);g=g<0.0?-g:g;e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else Ye(e);h[i>>3]=g;h[j>>3]=+h[i>>3];if(+h[i>>3]!=+h[j>>3]){l=m;return}h[e>>3]=g;b[f>>1]=8;l=m;return}}}function ve(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+48|0;k=p+24|0;n=p+16|0;o=p+8|0;m=p;if((e|0)==2){g=c[f+4>>2]|0;e=b[g+8>>1]|0;if(-1431655766>>>(e&31)&1|0){l=p;return}e=e&65535;do if(!(e&4)){if(e&8|0){e=Gc(+h[g>>3])|0;break}if(!(e&18))e=0;else e=Hc(a[g+10>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0)|0}else e=c[g>>2]|0;while(0);j=(e|0)>0?((e|0)<30?e:30):0}else j=0;g=c[f>>2]|0;e=b[g+8>>1]|0;if(-1431655766>>>(e&31)&1|0){l=p;return}e=e&65535;do if(!(e&8)){if(e&4|0){f=g;i=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0);break}if(!(e&18))i=0.0;else i=+Ic(a[g+10>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0)}else i=+h[g>>3];while(0);h[m>>3]=i;e=(j|0)==0;do if(i<9223372036854775808.0&(e&i>=0.0)){i=i+.5;h[m>>3]=+(~~i>>>0>>>0)+4294967296.0*+((+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0)|0)}else{if(i>-9223372036854775808.0&(e&i<0.0)){i=.5-i;h[m>>3]=-(+(~~i>>>0>>>0)+4294967296.0*+((+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0)|0));break}c[k>>2]=j;h[k+8>>3]=i;e=xd(19115,k)|0;if(e|0){df(e,m,(As(e)|0)&1073741823,1)|0;if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{k=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}e=c[d>>2]|0;g=e+8|0;if(!(b[g>>1]&9312))b[g>>1]=1;else{Ye(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;e=c[e+32>>2]|0;g=e+73|0;if(a[g>>0]|0){l=p;return}if(a[e+74>>0]|0){l=p;return}a[g>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;d=e+264|0;c[d>>2]=(c[d>>2]|0)+1;l=p;return}while(0);i=+h[m>>3];e=c[d>>2]|0;g=e+8|0;if(!(b[g>>1]&9312))b[g>>1]=1;else Ye(e);h[n>>3]=i;h[o>>3]=+h[n>>3];if(+h[n>>3]!=+h[o>>3]){l=p;return}h[e>>3]=i;b[g>>1]=8;l=p;return}function we(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0;g=c[f>>2]|0;d=e[g+8>>1]|0;if((d&514|0)==514?(a[g+10>>0]|0)==1:0)i=c[g+16>>2]|0;else if(!(d&1)){i=Jc(g,1)|0;g=c[f>>2]|0}else i=0;f=e[g+8>>1]|0;if((f&2|0)!=0?(a[g+10>>0]|0)==1:0)f=c[g+12>>2]|0;else h=9;do if((h|0)==9)if(!(f&16)){if(f&1|0){f=0;break}f=Ue(g,1)|0;break}else{d=c[g+12>>2]|0;if(!(f&16384)){f=d;break}f=(c[g>>2]|0)+d|0;break}while(0);if(!i)return;g=Ft(f|0,((f|0)<0)<<31>>31|0,1,0)|0;g=hf(b,g,z)|0;if(!g)return;if((f|0)>0){d=0;do{h=a[i+d>>0]|0;a[g+d>>0]=((a[18220+(h&255)>>0]|-33)^32)&h;d=d+1|0}while((d|0)!=(f|0))}if((Ve(c[b>>2]|0,g,f,1,148)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function xe(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=c[g>>2]|0;f=e[h+8>>1]|0;if((f&514|0)==514?(a[h+10>>0]|0)==1:0)j=c[h+16>>2]|0;else if(!(f&1)){j=Jc(h,1)|0;h=c[g>>2]|0}else j=0;g=e[h+8>>1]|0;if((g&2|0)!=0?(a[h+10>>0]|0)==1:0)g=c[h+12>>2]|0;else i=9;do if((i|0)==9)if(!(g&16)){if(g&1|0){g=0;break}g=Ue(h,1)|0;break}else{f=c[h+12>>2]|0;if(!(g&16384)){g=f;break}g=(c[h>>2]|0)+f|0;break}while(0);if(!j)return;h=Ft(g|0,((g|0)<0)<<31>>31|0,1,0)|0;h=hf(b,h,z)|0;if(!h)return;if((g|0)>0){f=0;do{a[h+f>>0]=a[17324+(d[j+f>>0]|0)>>0]|0;f=f+1|0}while((f|0)!=(g|0))}if((Ve(c[b>>2]|0,h,g,1,148)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function ye(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=ff(c[g>>2]|0)|0;g=c[g>>2]|0;h=e[g+8>>1]|0;if((h&2|0)!=0?(a[g+10>>0]|0)==1:0)f=c[g+12>>2]|0;else i=4;do if((i|0)==4)if(!(h&16)){if(h&1|0){f=0;break}f=Ue(g,1)|0;break}else{f=c[g+12>>2]|0;if(!(h&16384))break;f=(c[g>>2]|0)+f|0;break}while(0);j=Rt(f|0,((f|0)<0)<<31>>31|0,1)|0;j=hf(b,j|1,z)|0;if(!j)return;k=f<<1;if((f|0)>0){i=j;g=l;h=0;while(1){l=d[g>>0]|0;a[i>>0]=a[19099+(l>>>4)>>0]|0;a[i+1>>0]=a[19099+(l&15)>>0]|0;h=h+1|0;if((h|0)==(f|0))break;else{i=i+2|0;g=g+1|0}}f=j+k|0}else f=j;a[f>>0]=0;if((Ve(c[b>>2]|0,j,k,1,148)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function ze(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=l;l=l+16|0;d=h;zd(8,d);f=d;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)<0){g=Gt(0,0,e|0,f&2147483647|0)|0;f=z;e=d;c[e>>2]=g;c[e+4>>2]=f}else g=e;d=c[a>>2]|0;e=d+8|0;if(!(b[e>>1]&9312)){a=d;c[a>>2]=g;c[a+4>>2]=f;b[e>>1]=4;l=h;return}else{Xe(d,g,f);l=h;return}}function Ae(b,d,f){b=b|0;d=d|0;f=f|0;d=c[f>>2]|0;f=e[d+8>>1]|0;do if(!(f&4)){if(f&8|0){d=Gc(+h[d>>3])|0;break}if(!(f&18))d=0;else d=Hc(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)|0}else d=c[d>>2]|0;while(0);d=(d|0)>1?d:1;f=hf(b,d,0)|0;if(!f)return;zd(d,f);if((Ve(c[b>>2]|0,f,d,0,148)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function Be(a,b,d){a=a|0;b=b|0;d=d|0;if(!(jf(c[d>>2]|0,c[d+4>>2]|0,c[(c[(c[a+12>>2]|0)+88>>2]|0)+(((c[a+16>>2]|0)+-1|0)*20|0)+16>>2]|0)|0))return;gf(a,c[d>>2]|0);return}function Ce(b,d,e){b=b|0;d=d|0;e=e|0;if((Ve(c[b>>2]|0,17032,-1,1,0)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function De(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=l;l=l+16|0;i=j;b=c[f>>2]|0;d=e[b+8>>1]|0;do if(!(d&4)){if(d&8|0){g=Gc(+h[b>>3])|0;break}if(!(d&18))g=0;else g=Hc(a[b+10>>0]|0,c[b+12>>2]|0,c[b+16>>2]|0)|0}else g=c[b>>2]|0;while(0);b=c[f+4>>2]|0;do if(b){d=e[b+8>>1]|0;if((d&514|0)==514?(a[b+10>>0]|0)==1:0){b=c[b+16>>2]|0;break}if(!(d&1))b=Jc(b,1)|0;else b=0}else b=0;while(0);c[i>>2]=b;Bc(g,17859,i);l=j;return}function Ee(f,g,i){f=f|0;g=g|0;i=i|0;var j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+80|0;p=s+16|0;o=s+8|0;k=s;m=s+24|0;n=c[i>>2]|0;g=b[n+8>>1]|0;switch(a[19034+(g&31)>>0]|0){case 2:{g=g&65535;do if(!(g&8)){if(g&4|0){r=n;j=+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0);break}if(!(g&18))j=0.0;else j=+Ic(a[n+10>>0]|0,c[n+12>>2]|0,c[n+16>>2]|0)}else j=+h[n>>3];while(0);h[o>>3]=j;wd(50,m,19085,o)|0;df(m,k,20,1)|0;if(j!=+h[k>>3]){h[p>>3]=j;wd(50,m,19092,p)|0}if((Ve(c[f>>2]|0,m,-1,1,-1)|0)==18){c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0}l=s;return}case 1:{gf(f,n);l=s;return}case 4:{m=ff(n)|0;i=c[i>>2]|0;k=e[i+8>>1]|0;if((k&2|0)!=0?(a[i+10>>0]|0)==1:0)k=c[i+12>>2]|0;else q=17;do if((q|0)==17)if(!(k&16)){if(k&1|0){k=0;break}k=Ue(i,1)|0;break}else{g=c[i+12>>2]|0;if(!(k&16384)){k=g;break}k=(c[i>>2]|0)+g|0;break}while(0);i=hf(f,Ft(Rt(k|0,((k|0)<0)<<31>>31|0,1)|0,z|0,4,0)|0,z)|0;if(!i){l=s;return}if((k|0)>0){g=0;do{q=m+g|0;r=g<<1;a[i+(r+2)>>0]=a[19099+((d[q>>0]|0)>>>4)>>0]|0;a[i+(r+3)>>0]=a[19099+(a[q>>0]&15)>>0]|0;g=g+1|0}while((g|0)!=(k|0))}r=k<<1;a[i+(r+2)>>0]=39;a[i+(r+3)>>0]=0;a[i>>0]=88;a[i+1>>0]=39;if((Ve(c[f>>2]|0,i,-1,1,-1)|0)==18){c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0}if(!(c[2]|0)){pb[c[56>>2]&255](i);l=s;return}else{f=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);l=s;return}}case 3:{if(!n){l=s;return}g=g&65535;if((g&514|0)==514?(a[n+10>>0]|0)==1:0)r=c[n+16>>2]|0;else q=34;do if((q|0)==34)if(!(g&1)){r=Jc(n,1)|0;break}else{l=s;return}while(0);if(!r){l=s;return}else{k=0;g=0;i=0}a:while(1){switch(a[r+k>>0]|0){case 0:break a;case 39:{g=Ft(g|0,i|0,1,0)|0;i=z;break}default:{}}k=k+1|0}p=Ft(g|0,i|0,3,0)|0;p=Ft(p|0,z|0,k|0,((k|0)<0)<<31>>31|0)|0;p=hf(f,p,z)|0;if(!p){l=s;return}a[p>>0]=39;g=a[r>>0]|0;i=p+1|0;if(!(g<<24>>24))g=2;else{k=1;o=0;n=g;m=r;g=2;do{a[i>>0]=n;if((a[m>>0]|0)==39){a[p+g>>0]=39;k=k+2|0}else k=g;o=o+1|0;m=r+o|0;n=a[m>>0]|0;g=k+1|0;i=p+k|0}while(n<<24>>24!=0)}a[i>>0]=39;a[p+g>>0]=0;if((Ve(c[f>>2]|0,p,g,1,148)|0)!=18){l=s;return}c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0;l=s;return}default:{if((Ve(c[f>>2]|0,17306,4,1,0)|0)!=18){l=s;return}c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0;l=s;return}}}function Fe(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;e=c[a>>2]|0;a=(c[e+32>>2]|0)+32|0;f=c[a>>2]|0;a=c[a+4>>2]|0;d=e+8|0;if(!(b[d>>1]&9312)){c[e>>2]=f;c[e+4>>2]=a;b[d>>1]=4;return}else{Xe(e,f,a);return}}function Ge(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=c[a>>2]|0;e=c[(c[d+32>>2]|0)+92>>2]|0;f=((e|0)<0)<<31>>31;a=d+8|0;if(!(b[a>>1]&9312)){c[d>>2]=e;c[d+4>>2]=f;b[a>>1]=4;return}else{Xe(d,e,f);return}}function He(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;d=c[a>>2]|0;e=c[(c[d+32>>2]|0)+96>>2]|0;f=((e|0)<0)<<31>>31;a=d+8|0;if(!(b[a>>1]&9312)){c[d>>2]=e;c[d+4>>2]=f;b[a>>1]=4;return}else{Xe(d,e,f);return}}function Ie(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;f=c[g>>2]|0;if(!f)return;h=e[f+8>>1]|0;if((h&514|0)==514?(a[f+10>>0]|0)==1:0)v=c[f+16>>2]|0;else w=5;do if((w|0)==5)if(!(h&1)){v=Jc(f,1)|0;break}else return;while(0);if(!v)return;f=c[g>>2]|0;h=e[f+8>>1]|0;if((h&2|0)!=0?(a[f+10>>0]|0)==1:0)i=c[f+12>>2]|0;else w=11;do if((w|0)==11)if(!(h&16)){if(h&1|0){i=0;break}i=Ue(f,1)|0;break}else{i=c[f+12>>2]|0;if(!(h&16384))break;i=(c[f>>2]|0)+i|0;break}while(0);j=g+4|0;f=c[j>>2]|0;if(!f)return;h=e[f+8>>1]|0;if((h&514|0)==514?(a[f+10>>0]|0)==1:0)u=c[f+16>>2]|0;else w=20;do if((w|0)==20)if(!(h&1)){u=Jc(f,1)|0;break}else return;while(0);if(!u)return;if(!(a[u>>0]|0)){gf(d,c[g>>2]|0);return}f=c[j>>2]|0;h=e[f+8>>1]|0;if((h&2|0)!=0?(a[f+10>>0]|0)==1:0)t=c[f+12>>2]|0;else w=28;do if((w|0)==28)if(!(h&16)){if(h&1|0){t=0;break}t=Ue(f,1)|0;break}else{j=c[f+12>>2]|0;if(!(h&16384)){t=j;break}t=(c[f>>2]|0)+j|0;break}while(0);j=g+8|0;f=c[j>>2]|0;if(!f)return;h=e[f+8>>1]|0;if((h&514|0)==514?(a[f+10>>0]|0)==1:0)s=c[f+16>>2]|0;else w=37;do if((w|0)==37)if(!(h&1)){s=Jc(f,1)|0;break}else return;while(0);if(!s)return;f=c[j>>2]|0;h=e[f+8>>1]|0;if((h&2|0)!=0?(a[f+10>>0]|0)==1:0)n=c[f+12>>2]|0;else w=43;do if((w|0)==43)if(!(h&16)){if(h&1|0){n=0;break}n=Ue(f,1)|0;break}else{j=c[f+12>>2]|0;if(!(h&16384)){n=j;break}n=(c[f>>2]|0)+j|0;break}while(0);g=i+1|0;k=((g|0)<0)<<31>>31;j=hf(d,g,k)|0;if(!j)return;o=i-t|0;a:do if((o|0)>=0){p=n-t|0;q=((p|0)<0)<<31>>31;r=t+-1|0;h=0;f=0;while(1){l=v+h|0;m=a[l>>0]|0;if(m<<24>>24==(a[u>>0]|0)?(Bs(l,u,t)|0)==0:0){l=c[d>>2]|0;y=c[l+32>>2]|0;g=Ft(g|0,k|0,p|0,q|0)|0;m=z;x=Ft(g|0,m|0,-1,-1)|0;A=z;k=c[y+100>>2]|0;y=((k|0)<0)<<31>>31;if((A|0)>(y|0)|(A|0)==(y|0)&x>>>0>k>>>0){w=55;break}if(Nc()|0)break;k=Pt(0,g|0,32)|0;k=Oc(j,k,z)|0;if(!k)break;Tt(k+f|0,s|0,n|0)|0;j=k;l=r+h|0;f=f+n|0;k=m}else{a[j+f>>0]=m;l=h;f=f+1|0}h=l+1|0;if((l|0)>=(o|0))break a}if((w|0)==55){c[d+20>>2]=18;a[d+25>>0]=1;Ve(l,18992,-1,1,0)|0;if(!(c[2]|0)){pb[c[56>>2]&255](j);return}else{A=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);return}}f=c[d>>2]|0;h=f+8|0;if(!(b[h>>1]&9312))b[h>>1]=1;else{Ye(f);f=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;f=c[f+32>>2]|0;h=f+73|0;if((a[h>>0]|0)==0?(a[f+74>>0]|0)==0:0){a[h>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;A=f+264|0;c[A>>2]=(c[A>>2]|0)+1}if(!j)return;if(!(c[2]|0)){pb[c[56>>2]&255](j);return}else{A=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);return}}else{h=0;f=0}while(0);A=i-h|0;Tt(j+f|0,v+h|0,A|0)|0;A=f+A|0;a[j+A>>0]=0;if((Ve(c[d>>2]|0,j,A,1,148)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}function Je(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0;f=c[g>>2]|0;g=e[f+8>>1]|0;do if(!(g&4)){if(g&8|0){f=Gc(+h[f>>3])|0;g=z;break}if(!(g&18)){g=0;f=0}else{f=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;g=z}}else{g=c[f+4>>2]|0;f=c[f>>2]|0}while(0);j=(g|0)>0|(g|0)==0&f>>>0>0;i=j?f:0;j=j?g:0;g=c[d>>2]|0;f=c[(c[g+32>>2]|0)+100>>2]|0;k=((f|0)<0)<<31>>31;if(k>>>0>>0|(k|0)==(j|0)&f>>>0>>0){c[d+20>>2]=18;a[d+25>>0]=1;if(!(b[g+8>>1]&1))return;Ve(g,18992,-1,1,0)|0;return}f=g+8|0;if(!((b[f>>1]&9312)==0?!(c[g+24>>2]|0):0))af(g);b[f>>1]=16400;c[g+12>>2]=0;c[g>>2]=(i|0)>0?i:0;a[g+10>>0]=1;c[g+16>>2]=0;return}function Ke(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;k=c[g+4>>2]|0;i=b[k+8>>1]|0;if(-1431655766>>>(i&31)&1|0)return;r=(f|0)==3;if(r?-1431655766>>>(b[(c[g+8>>2]|0)+8>>1]&31)&1|0:0)return;j=c[g>>2]|0;l=b[j+8>>1]&15;f=i&65535;do if(!(f&4)){if(f&8|0){k=Gc(+h[k>>3])|0;break}if(!(f&18))k=0;else{k=Hc(a[k+10>>0]|0,c[k+12>>2]|0,c[k+16>>2]|0)|0;j=c[g>>2]|0}}else k=c[k>>2]|0;while(0);n=((k|0)<0)<<31>>31;s=(l|16)<<16>>16==16;if(s){i=e[j+8>>1]|0;if((i&2|0)!=0?(a[j+10>>0]|0)==1:0){i=c[j+12>>2]|0;f=j}else p=14;do if((p|0)==14)if(!(i&16)){if(i&1|0){i=0;f=j;break}i=Ue(j,1)|0;f=c[g>>2]|0;break}else{f=c[j+12>>2]|0;if(!(i&16384)){i=f;f=j;break}i=(c[j>>2]|0)+f|0;f=j;break}while(0);f=ff(f)|0;if(!f)return;else{q=f;o=i}}else{if(!j)return;f=e[j+8>>1]|0;if((f&514|0)==514?(a[j+10>>0]|0)==1:0)m=c[j+16>>2]|0;else p=24;do if((p|0)==24)if(!(f&1)){m=Jc(j,1)|0;break}else return;while(0);if(!m)return;if((k|0)<0?(o=a[m>>0]|0,o<<24>>24!=0):0){l=0;f=m;j=o;while(1){i=f+1|0;if((j&255)>191){f=i;while(1){j=a[f>>0]|0;if((j&-64)<<24>>24==-128)f=f+1|0;else break}}else{f=i;j=a[i>>0]|0}i=l+1|0;if(!(j<<24>>24)){q=m;o=i;break}else l=i}}else{q=m;o=0}}if(r){f=c[g+8>>2]|0;i=e[f+8>>1]|0;do if(!(i&4)){if(i&8|0){f=Gc(+h[f>>3])|0;break}if(!(i&18))f=0;else f=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0}else f=c[f>>2]|0;while(0);i=((f|0)<0)<<31>>31;g=(f|0)<0;r=Gt(0,0,f|0,i|0)|0;j=f>>>31;f=g?r:f;i=g?z:i}else{i=c[(c[(c[d>>2]|0)+32>>2]|0)+100>>2]|0;j=0;f=i;i=((i|0)<0)<<31>>31}do if((k|0)>=0)if(!k){g=((i|0)>0|(i|0)==0&f>>>0>0)<<31>>31;f=Ft(g|0,((g|0)<0)<<31>>31|0,f|0,i|0)|0;i=z;break}else{k=Ft(k|0,n|0,-1,-1)|0;n=z;break}else{k=Ft(o|0,((o|0)<0)<<31>>31|0,k|0,n|0)|0;n=z;p=(n|0)<0;m=Ft(f|0,i|0,k|0,n|0)|0;g=z;r=(g|0)>0|(g|0)==0&m>>>0>0;k=p?0:k;n=p?0:n;f=p?(r?m:0):f;i=p?(r?g:0):i}while(0);r=(j|0)==0;m=Gt(k|0,n|0,f|0,i|0)|0;l=z;g=(l|0)<0;m=r?k:g?0:m;l=r?n:g?0:l;p=r?f:g?k:f;k=r?i:g?n:i;if(s){r=Ft(m|0,l|0,p|0,k|0)|0;s=z;f=((o|0)<0)<<31>>31;r=(s|0)>(f|0)|(s|0)==(f|0)&r>>>0>o>>>0;f=Gt(o|0,f|0,m|0,l|0)|0;s=z;g=(s|0)>0|(s|0)==0&f>>>0>0;f=r?(g?f:0):p;s=r?(g?s:0):k;if(s>>>0>0|(s|0)==0&f>>>0>2147483647){if(!d)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}else{if((Ve(c[d>>2]|0,q+m|0,f,0,-1)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}}i=a[q>>0]|0;if(((m|0)!=0|(l|0)!=0)&i<<24>>24!=0){f=q;do{j=f+1|0;if((i&255)>191){f=j;while(1){i=a[f>>0]|0;if((i&-64)<<24>>24==-128)f=f+1|0;else break}}else{f=j;i=a[j>>0]|0}m=Ft(m|0,l|0,-1,-1)|0;l=z}while(((m|0)!=0|(l|0)!=0)&i<<24>>24!=0);m=f}else m=q;if(((p|0)!=0|(k|0)!=0)&i<<24>>24!=0){f=m;l=p;do{j=f+1|0;if((i&255)>191){f=j;while(1){i=a[f>>0]|0;if((i&-64)<<24>>24==-128)f=f+1|0;else break}}else{f=j;i=a[j>>0]|0}l=Ft(l|0,k|0,-1,-1)|0;k=z}while(((l|0)!=0|(k|0)!=0)&i<<24>>24!=0)}else f=m;f=f-m|0;if((f|0)<0){if(!d)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}else{if((Ve(c[d>>2]|0,m,f,1,-1)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}}function Le(f,g,i){f=f|0;g=g|0;i=i|0;var j=0.0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;o=r+8|0;p=r;g=c[f+8>>2]|0;if(!(b[g+8>>1]&8192))q=cf(f,32)|0;else q=c[g+16>>2]|0;m=c[i>>2]|0;n=m+8|0;f=b[n>>1]&31;k=d[19034+f>>0]|0;if((f|16|0)==18){g=a[m+10>>0]|0;f=m+16|0;k=m+12|0;if(!(df(c[f>>2]|0,o,c[k>>2]|0,g)|0))g=b[n>>1]|0;else{k=(ef(c[f>>2]|0,p,c[k>>2]|0,g)|0)==0;f=e[n>>1]|0;if(k){o=p;p=c[o+4>>2]|0;g=m;c[g>>2]=c[o>>2];c[g+4>>2]=p;g=4}else{h[m>>3]=+h[o>>3];g=8}g=(g|f)&65535;b[n>>1]=g}k=d[19034+(g&31)>>0]|0}if(!((q|0)!=0&(k|0)!=5)){l=r;return}g=q+16|0;f=g;f=Ft(c[f>>2]|0,c[f+4>>2]|0,1,0)|0;c[g>>2]=f;c[g+4>>2]=z;g=c[i>>2]|0;f=e[g+8>>1]|0;if((k|0)!=1){do if(!(f&8)){if(f&4|0){i=g;j=+((c[i>>2]|0)>>>0)+4294967296.0*+(c[i+4>>2]|0);break}if(!(f&18))j=0.0;else j=+Ic(a[g+10>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0)}else j=+h[g>>3];while(0);h[q>>3]=j+ +h[q>>3];a[q+25>>0]=1;l=r;return}do if(!(f&4)){if(f&8|0){p=Gc(+h[g>>3])|0;o=z;break}if(!(f&18)){o=0;p=0}else{p=Hc(a[g+10>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0)|0;o=z}}else{p=g;o=c[p+4>>2]|0;p=c[p>>2]|0}while(0);h[q>>3]=+h[q>>3]+(+(p>>>0)+4294967296.0*+(o|0));n=q+24|0;if((a[n>>0]|a[q+25>>0])<<24>>24){l=r;return}g=q+8|0;k=g;f=c[k>>2]|0;k=c[k+4>>2]|0;if((o|0)>-1|(o|0)==-1&p>>>0>4294967295){q=Gt(-1,2147483647,f|0,k|0)|0;i=z;if(((k|0)>0|(k|0)==0&f>>>0>0)&((i|0)<(o|0)|(i|0)==(o|0)&q>>>0

    >>0))m=26;else m=25}else if((k|0)<0?(i=Gt(1,-2147483648,f|0,k|0)|0,s=z,q=Ft(p|0,o|0,1,0)|0,m=z,(s|0)>(m|0)|(s|0)==(m|0)&i>>>0>q>>>0):0)m=26;else m=25;if((m|0)==25){q=Ft(f|0,k|0,p|0,o|0)|0;s=g;c[s>>2]=q;c[s+4>>2]=z;l=r;return}else if((m|0)==26){a[n>>0]=1;l=r;return}}function Me(d){d=d|0;var e=0,f=0,g=0,i=0.0,j=0,k=0,m=0;j=l;l=l+16|0;f=j+8|0;g=j;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))e=cf(d,0)|0;else e=c[e+16>>2]|0;if(!e){l=j;return}k=e+16|0;m=c[k+4>>2]|0;if(!((m|0)>0|(m|0)==0&(c[k>>2]|0)>>>0>0)){l=j;return}if(a[e+24>>0]|0){c[d+20>>2]=1;a[d+25>>0]=1;Ve(c[d>>2]|0,19017,-1,1,-1)|0;l=j;return}if(!(a[e+25>>0]|0)){g=e+8|0;f=c[g>>2]|0;g=c[g+4>>2]|0;e=c[d>>2]|0;d=e+8|0;if(!(b[d>>1]&9312)){m=e;c[m>>2]=f;c[m+4>>2]=g;b[d>>1]=4;l=j;return}else{Xe(e,f,g);l=j;return}}i=+h[e>>3];e=c[d>>2]|0;d=e+8|0;if(!(b[d>>1]&9312))b[d>>1]=1;else Ye(e);h[f>>3]=i;h[g>>3]=+h[f>>3];if(+h[f>>3]!=+h[g>>3]){l=j;return}h[e>>3]=i;b[d>>1]=8;l=j;return}function Ne(a){a=a|0;var d=0,e=0.0,f=0,g=0,i=0;i=l;l=l+16|0;f=i+8|0;g=i;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=cf(a,0)|0;else d=c[d+16>>2]|0;if(!d)e=0.0;else e=+h[d>>3];d=c[a>>2]|0;a=d+8|0;if(!(b[a>>1]&9312))b[a>>1]=1;else Ye(d);h[f>>3]=e;h[g>>3]=+h[f>>3];if(+h[f>>3]!=+h[g>>3]){l=i;return}h[d>>3]=e;b[a>>1]=8;l=i;return}function Oe(a){a=a|0;var d=0,e=0,f=0,g=0.0,i=0,j=0,k=0;k=l;l=l+16|0;i=k+8|0;j=k;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=cf(a,0)|0;else d=c[d+16>>2]|0;if(!d){l=k;return}f=d+16|0;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((f|0)>0|(f|0)==0&e>>>0>0)){l=k;return}g=+h[d>>3]/(+(e>>>0)+4294967296.0*+(f|0));d=c[a>>2]|0;e=d+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else Ye(d);h[i>>3]=g;h[j>>3]=+h[i>>3];if(+h[i>>3]!=+h[j>>3]){l=k;return}h[d>>3]=g;b[e>>1]=8;l=k;return}function Pe(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=c[a+8>>2]|0;if(!(b[f+8>>1]&8192))a=cf(a,8)|0;else a=c[f+16>>2]|0;if(!d){if(!a)return}else if(!(a|0?(1431655765>>>(b[(c[e>>2]|0)+8>>1]&31)&1|0)!=0:0))return;d=a;d=Ft(c[d>>2]|0,c[d+4>>2]|0,1,0)|0;e=a;c[e>>2]=d;c[e+4>>2]=z;return}function Qe(a){a=a|0;var d=0,e=0,f=0;d=c[a+8>>2]|0;if(!(b[d+8>>1]&8192))d=cf(a,0)|0;else d=c[d+16>>2]|0;if(!d){e=0;f=0}else{f=d;e=c[f>>2]|0;f=c[f+4>>2]|0}d=c[a>>2]|0;a=d+8|0;if(!(b[a>>1]&9312)){c[d>>2]=e;c[d+4>>2]=f;b[a>>1]=4;return}else{Xe(d,e,f);return}}function Re(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if(-1431655766>>>(b[(c[g>>2]|0)+8>>1]&31)&1|0)return;h=c[d+8>>2]|0;if(!(b[h+8>>1]&8192))l=cf(d,24)|0;else l=c[h+16>>2]|0;if(!l)return;i=l+12|0;j=(c[i>>2]|0)==0;c[i>>2]=c[(c[(c[d>>2]|0)+32>>2]|0)+100>>2];do if(!j){if((f|0)==2){d=g+4|0;f=c[d>>2]|0;h=e[f+8>>1]|0;if((h&514|0)==514?(a[f+10>>0]|0)==1:0)i=c[f+16>>2]|0;else if(!(h&1)){i=Jc(f,1)|0;f=c[d>>2]|0}else i=0;d=e[f+8>>1]|0;if((d&2|0)!=0?(a[f+10>>0]|0)==1:0)h=c[f+12>>2]|0;else k=16;do if((k|0)==16)if(!(d&16)){if(d&1|0){h=0;break}h=Ue(f,1)|0;break}else{h=c[f+12>>2]|0;if(!(d&16384))break;h=(c[f>>2]|0)+h|0;break}while(0);if(!i)break;else d=i}else{h=1;d=19015}f=l+16|0;i=c[f>>2]|0;j=i+h|0;if(j>>>0>=(c[l+8>>2]|0)>>>0){Fc(l,d,h);break}if(h|0){c[f>>2]=j;Tt((c[l+4>>2]|0)+i|0,d|0,h|0)|0}}while(0);d=c[g>>2]|0;h=e[d+8>>1]|0;if((h&514|0)==514?(a[d+10>>0]|0)==1:0)j=c[d+16>>2]|0;else if(!(h&1)){j=Jc(d,1)|0;d=c[g>>2]|0}else j=0;f=e[d+8>>1]|0;if((f&2|0)!=0?(a[d+10>>0]|0)==1:0)h=c[d+12>>2]|0;else k=34;do if((k|0)==34)if(!(f&16)){if(f&1|0){h=0;break}h=Ue(d,1)|0;break}else{h=c[d+12>>2]|0;if(!(f&16384))break;h=(c[d>>2]|0)+h|0;break}while(0);if(!j)return;d=l+16|0;f=c[d>>2]|0;i=f+h|0;if(i>>>0>=(c[l+8>>2]|0)>>>0){Fc(l,j,h);return}if(!h)return;c[d>>2]=i;Tt((c[l+4>>2]|0)+f|0,j|0,h|0)|0;return}function Se(d){d=d|0;var e=0,f=0,g=0;e=c[d+8>>2]|0;if(!(b[e+8>>1]&8192))e=cf(d,0)|0;else e=c[e+16>>2]|0;if(!e)return;switch(a[e+20>>0]|0){case 2:{c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}case 1:{e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else{Ye(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;e=c[e+32>>2]|0;f=e+73|0;if(a[f>>0]|0)return;if(a[e+74>>0]|0)return;a[f>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;d=e+264|0;c[d>>2]=(c[d>>2]|0)+1;return}default:{f=e+4|0;g=c[f>>2]|0;if(((g|0)!=0?(a[g+(c[e+16>>2]|0)>>0]=0,(c[e+12>>2]|0)!=0):0)?(a[e+21>>0]&4)==0:0)e=Dc(e)|0;else e=c[f>>2]|0;if((Ve(c[d>>2]|0,e,-1,1,148)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}}}function Te(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=c[(c[f>>2]|0)+32>>2]|0;p=c[(c[f+4>>2]|0)+4>>2]|0;i=c[h>>2]|0;do if(i){j=e[i+8>>1]|0;if((j&514|0)==514?(a[i+10>>0]|0)==1:0){o=c[i+16>>2]|0;break}if(!(j&1))o=Jc(i,1)|0;else o=0}else o=0;while(0);i=c[h+4>>2]|0;do if(i){j=e[i+8>>1]|0;if((j&514|0)==514?(a[i+10>>0]|0)==1:0){n=c[i+16>>2]|0;break}if(!(j&1))n=Jc(i,1)|0;else n=0}else n=0;while(0);j=c[h>>2]|0;k=e[j+8>>1]|0;if((k&2|0)!=0?(a[j+10>>0]|0)==1:0)i=c[j+12>>2]|0;else m=16;do if((m|0)==16)if(!(k&16)){if(k&1|0){i=0;break}i=Ue(j,1)|0;break}else{i=c[j+12>>2]|0;if(!(k&16384))break;i=(c[j>>2]|0)+i|0;break}while(0);if((i|0)>(c[l+132>>2]|0)){c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,18850,-1,1,-1)|0;return}do if((g|0)==3){i=c[h+8>>2]|0;if(!i)return;j=e[i+8>>1]|0;if((j&514|0)==514?(a[i+10>>0]|0)==1:0)h=c[i+16>>2]|0;else m=28;do if((m|0)==28)if(!(j&1)){h=Jc(i,1)|0;break}else return;while(0);if(!h)return;l=a[h>>0]|0;if((h|0)!=(-1|0)&l<<24>>24!=0){i=h;g=0;k=l;while(1){j=i+1|0;if((k&255)>191){i=j;while(1){k=a[i>>0]|0;if((k&-64)<<24>>24==-128)i=i+1|0;else break}}else{i=j;k=a[j>>0]|0}if(k<<24>>24!=0&(i|0)!=(-1|0))g=g+1|0;else break}if(!g){k=h+1|0;i=l&255;if((l&255)<=191)break;i=d[18928+(i+-192)>>0]|0;j=a[k>>0]|0;if((j&-64)<<24>>24==-128)do{k=k+1|0;i=j&63|i<<6;j=a[k>>0]|0}while((j&-64)<<24>>24==-128);i=(i&-2|0)==65534|(i>>>0<128|(i&-2048|0)==55296)?65533:i;break}}c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,18883,-1,1,-1)|0;return}else i=d[p+2>>0]|0;while(0);if(!((o|0)!=0&(n|0)!=0))return;j=(We(o,n,p,i)|0)==0;i=c[f>>2]|0;j=j&1;k=i+8|0;if(!(b[k>>1]&9312)){p=i;c[p>>2]=j;c[p+4>>2]=0;b[k>>1]=4;return}else{Xe(i,j,0);return}}function Ue(a,b){a=a|0;b=b|0;if(!(Jc(a,b)|0)){b=0;return b|0}b=c[a+12>>2]|0;return b|0}function Ve(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;if(!f){j=d+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;s=0;return s|0}else{Ye(d);s=0;return s|0}}l=d+32|0;j=c[l>>2]|0;if(!j)r=1e9;else r=c[j+100>>2]|0;p=h<<24>>24==0;k=p?16:2;if((g|0)<0){a:do if(h<<24>>24!=1)if((r|0)<0)j=0;else{j=0;do{if(!((a[f+(j|1)>>0]|a[f+j>>0])<<24>>24))break a;j=j+2|0}while((j|0)<=(r|0))}else{j=(As(f)|0)&2147483647;j=(j|0)>(r|0)?r+1|0:j}while(0);m=k|512;q=j}else{m=k;q=g}do if((i|0)==(-1|0)){k=((m&512)==0?0:h<<24>>24==1?1:2)+q|0;if((q|0)>(r|0)){s=18;return s|0}j=(k|0)>32?k:32;do if((c[d+24>>2]|0)<(j|0))if(!(_e(d,j,0)|0)){j=d+8|0;g=c[d+16>>2]|0;break}else{s=7;return s|0}else{g=c[d+20>>2]|0;c[d+16>>2]=g;j=d+8|0;b[j>>1]=b[j>>1]&13}while(0);Tt(g|0,f|0,k|0)|0;o=j}else{j=(i|0)==172;g=d+8|0;if(!((b[g>>1]&9312)==0?!(c[d+24>>2]|0):0))af(d);c[d+16>>2]=f;if(!j){c[d+36>>2]=i;o=g;m=(m&65535|((i|0)==0?2048:1024))&65535;break}c[d+20>>2]=f;j=c[l>>2]|0;if(((j|0)!=0?(n=f,n>>>0>=(c[j+296>>2]|0)>>>0):0)?n>>>0<(c[j+300>>2]|0)>>>0:0)j=e[j+268>>1]|0;else j=jb[c[64>>2]&255](f)|0;c[d+24>>2]=j;o=g}while(0);f=d+12|0;c[f>>2]=q;b[o>>1]=m;h=p?1:h;i=d+10|0;a[i>>0]=h;do if(h<<24>>24!=1&(q|0)>1){n=d+16|0;j=c[n>>2]|0;g=a[j>>0]|0;k=a[j+1>>0]|0;if(!(g<<24>>24==-1&k<<24>>24==-2))if(g<<24>>24==-2&k<<24>>24==-1)l=3;else break;else l=2;g=m&65535;do if(g&18){do if(g&16384){h=(c[d>>2]|0)+q|0;if(!(_e(d,(h|0)>1?h:1,1)|0)){Vt((c[n>>2]|0)+(c[f>>2]|0)|0,0,c[d>>2]|0)|0;g=(c[f>>2]|0)+(c[d>>2]|0)|0;c[f>>2]=g;j=b[o>>1]&-16897;b[o>>1]=j;break}else{s=7;return s|0}}else{g=q;j=m}while(0);if(c[d+24>>2]|0?(s=c[n>>2]|0,(s|0)==(c[d+20>>2]|0)):0){k=j;j=s;break}if(!(bf(d)|0)){k=b[o>>1]|0;g=c[f>>2]|0;j=c[n>>2]|0;break}else{s=7;return s|0}}else{k=m;g=q}while(0);b[o>>1]=k&-4097;s=g+-2|0;c[f>>2]=s;Ut(j|0,j+2|0,s|0)|0;a[(c[n>>2]|0)+(c[f>>2]|0)>>0]=0;a[(c[n>>2]|0)+((c[f>>2]|0)+1)>>0]=0;b[o>>1]=b[o>>1]|512;a[i>>0]=l}while(0);s=(q|0)>(r|0)?18:0;return s|0}function We(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0;ca=l;l=l+16|0;X=ca;Q=d[e+1>>0]|0;R=d[e>>0]|0;P=e+2|0;T=(a[e+3>>0]|0)==0;m=0;a:while(1){y=c;c=b;while(1){k=a[c>>0]|0;c=c+1|0;b=k&255;if(k<<24>>24<=-1)if((k&255)>191){b=d[18928+(b+-192)>>0]|0;k=a[c>>0]|0;if((k&-64)<<24>>24==-128)do{c=c+1|0;b=k&63|b<<6;k=a[c>>0]|0}while((k&-64)<<24>>24==-128);if((b&-2|0)==65534|(b>>>0<128|(b&-2048|0)==55296)){I=c;J=65533}else{G=c;N=b;t=8}}else{H=c;O=b;t=9}else{G=c;N=b;t=8}if((t|0)==8)if(!N){t=100;break a}else{H=G;O=N;t=9}if((t|0)==9){t=0;if((O|0)==(R|0)){V=y;h=H;t=10;break a}else{I=H;J=O}}if((J|0)!=(f|0)){r=J;s=m;n=I;break}if(!(a[P>>0]|0)){t=56;break}c=y+1|0;k=a[y>>0]|0;b=k&255;if((k&255)>191){b=d[18928+(b+-192)>>0]|0;k=a[c>>0]|0;if((k&-64)<<24>>24==-128)do{c=c+1|0;b=k&63|b<<6;k=a[c>>0]|0}while((k&-64)<<24>>24==-128);if((b&-2|0)==65534|(b>>>0<128|(b&-2048|0)==55296)){D=c;M=65533}else{C=c;K=b;t=65}}else{C=c;K=b;t=65}if((t|0)==65)if(!K){g=1;t=101;break a}else{D=C;M=K}c=I+1|0;t=a[I>>0]|0;b=t&255;if((t&255)>191){b=d[18928+(b+-192)>>0]|0;k=a[c>>0]|0;if((k&-64)<<24>>24==-128)do{c=c+1|0;b=k&63|b<<6;k=a[c>>0]|0}while((k&-64)<<24>>24==-128);if((b&-2|0)==65534|(b>>>0<128|(b&-2048|0)==55296)){z=0;A=65533;B=0;F=c;t=89}else{E=c;L=b;t=70}}else{E=c;L=b;t=70}do if((t|0)==70){if((L|0)==94){c=E+1|0;t=a[E>>0]|0;b=t&255;if((t&255)>191){b=d[18928+(b+-192)>>0]|0;k=a[c>>0]|0;if((k&-64)<<24>>24==-128)do{c=c+1|0;b=k&63|b<<6;k=a[c>>0]|0}while((k&-64)<<24>>24==-128);if((b&-2|0)==65534|(b>>>0<128|(b&-2048|0)==55296)){z=1;A=65533;B=0;F=c;t=89;break}else k=1}else k=1}else{k=0;b=L;c=E}if((b|0)==93){p=0;q=k;o=(M|0)==93&1;i=c;t=77}else{v=0;w=k;x=0;u=b;j=c;t=81}}while(0);b:while(1)if((t|0)==77){j=i+1|0;x=a[i>>0]|0;c=x&255;if((x&255)<=191){v=p;w=q;x=o;u=c;t=81;continue}c=d[18928+(c+-192)>>0]|0;b=a[j>>0]|0;if((b&-64)<<24>>24==-128)do{j=j+1|0;c=b&63|c<<6;b=a[j>>0]|0}while((b&-64)<<24>>24==-128);v=p;w=q;x=o;u=(c&-2|0)==65534|(c>>>0<128|(c&-2048|0)==55296)?65533:c;t=81;continue}else if((t|0)==81){t=0;switch(u|0){case 0:{g=1;t=101;break a}case 93:break b;case 45:break;default:{z=w;A=u;B=x;F=j;t=89;continue b}}b=a[j>>0]|0;if(b<<24>>24==93){z=w;A=45;B=x;F=j;t=89;continue}if(!((v|0)!=0&b<<24>>24!=0)){z=w;A=45;B=x;F=j;t=89;continue}i=j+1|0;c=b&255;if((b&255)>191){c=d[18928+(c+-192)>>0]|0;b=a[i>>0]|0;if((b&-64)<<24>>24==-128)do{i=i+1|0;c=b&63|c<<6;b=a[i>>0]|0}while((b&-64)<<24>>24==-128);c=(c&-2|0)==65534|(c>>>0<128|(c&-2048|0)==55296)?65533:c}p=0;q=w;o=M>>>0>>0|M>>>0>c>>>0?x:1;t=77;continue}else if((t|0)==89){p=A;q=z;o=(M|0)==(A|0)?1:B;i=F;t=77;continue}if((x|0)==(w|0)){g=1;t=101;break a}else{y=D;c=j}}do if((t|0)==56){t=0;b=I+1|0;s=a[I>>0]|0;c=s&255;if((s&255)>191){c=d[18928+(c+-192)>>0]|0;k=a[b>>0]|0;if((k&-64)<<24>>24==-128)do{b=b+1|0;c=k&63|c<<6;k=a[b>>0]|0}while((k&-64)<<24>>24==-128);if((c&-2|0)==65534|(c>>>0<128|(c&-2048|0)==55296)){r=65533;s=b;n=b;break}}if(!c){g=1;t=101;break a}else{r=c;s=b;n=b}}while(0);m=a[y>>0]|0;c=y+1|0;b=m&255;if(m<<24>>24<0&(m&255)>191){b=d[18928+(b+-192)>>0]|0;k=a[c>>0]|0;if((k&-64)<<24>>24==-128)do{c=c+1|0;b=k&63|b<<6;k=a[c>>0]|0}while((k&-64)<<24>>24==-128);b=(b&-2|0)==65534|(b>>>0<128|(b&-2048|0)==55296)?65533:b}if((r|0)==(b|0)){m=s;b=n;continue}if(!T?((b|r)>>>0<128?(a[17324+(r&255)>>0]|0)==(a[17324+(b&255)>>0]|0):0):0){m=s;b=n;continue}if((r|0)!=(Q|0)){g=1;t=101;break}if((n|0)!=(s|0)&(b|0)!=0){m=s;b=n}else{g=1;t=101;break}}if((t|0)==10){c:while(1){t=0;while(1){O=a[h>>0]|0;h=h+1|0;i=O&255;if(O<<24>>24<0&(O&255)>191){i=d[18928+(i+-192)>>0]|0;c=a[h>>0]|0;if((c&-64)<<24>>24==-128)do{h=h+1|0;i=c&63|i<<6;c=a[h>>0]|0}while((c&-64)<<24>>24==-128);b=h;j=(i&-2|0)==65534|(i>>>0<128|(i&-2048|0)==55296)?65533:i}else{b=h;j=i}h=(j|0)==(Q|0);if(!((j|0)==(R|0)|h))break c;if(h)break;else h=b}h=V+1|0;O=a[V>>0]|0;i=O&255;if((O&255)>191){i=d[18928+(i+-192)>>0]|0;c=a[h>>0]|0;if((c&-64)<<24>>24==-128)do{h=h+1|0;i=c&63|i<<6;c=a[h>>0]|0}while((c&-64)<<24>>24==-128);if((i&-2|0)==65534|(i>>>0<128|(i&-2048|0)==55296)){V=h;h=b;continue}}if(!i){g=2;t=101;break}else{V=h;h=b}}if((t|0)==101){l=ca;return g|0}if(!j){f=0;l=ca;return f|0}do if((j|0)==(f|0)){if(!(a[P>>0]|0)){h=b+1|0;R=a[b>>0]|0;g=R&255;if((R&255)>191){g=d[18928+(g+-192)>>0]|0;i=a[h>>0]|0;if((i&-64)<<24>>24==-128)do{h=h+1|0;g=i&63|g<<6;i=a[h>>0]|0}while((i&-64)<<24>>24==-128);if((g&-2|0)==65534|(g>>>0<128|(g&-2048|0)==55296)){Y=65533;Z=h;break}}if(!g)g=2;else{S=g;U=h;t=37;break}l=ca;return g|0}j=b+-1|0;g=a[V>>0]|0;if(!(g<<24>>24)){f=2;l=ca;return f|0}else{c=V;i=g}while(1){g=We(j,c,e,f)|0;if((g|0)!=1){t=101;break}h=c+1|0;if((i&255)>191){g=h;while(1){h=a[g>>0]|0;if((h&-64)<<24>>24==-128)g=g+1|0;else break}}else{g=h;h=a[h>>0]|0}if(!(h<<24>>24)){g=2;t=101;break}else{c=g;i=h}}if((t|0)==101){l=ca;return g|0}}else{S=j;U=b;t=37}while(0);if((t|0)==37)if(S>>>0<129){if(T){g=S&255;h=1;i=0}else{g=S&255;a[X>>0]=((a[18220+g>>0]|-33)^32)&255&S;g=a[17324+g>>0]|0;h=2;i=1}a[X+i>>0]=g;a[X+h>>0]=0;g=V;while(1){g=g+(At(g,X)|0)|0;if(!(a[g>>0]|0)){t=43;break}g=g+1|0;W=We(U,g,e,f)|0;if((W|0)!=1){t=45;break}}if((t|0)==43){f=2;l=ca;return f|0}else if((t|0)==45){f=W;l=ca;return f|0}}else{Y=S;Z=U}g=V;while(1){i=a[g>>0]|0;g=g+1|0;h=i&255;if(i<<24>>24<=-1)if((i&255)>191){h=d[18928+(h+-192)>>0]|0;i=a[g>>0]|0;if((i&-64)<<24>>24==-128)do{g=g+1|0;h=i&63|h<<6;i=a[g>>0]|0}while((i&-64)<<24>>24==-128);if((h&-2|0)==65534|(h>>>0<128|(h&-2048|0)==55296)){$=g;ba=65533}else{_=g;aa=h;t=51}}else{$=g;ba=h}else{_=g;aa=h;t=51}if((t|0)==51){t=0;if(!aa){g=2;t=101;break}else{$=_;ba=aa}}if((ba|0)!=(Y|0)){g=$;continue}g=We(Z,$,e,f)|0;if((g|0)==1)g=$;else{t=101;break}}if((t|0)==101){l=ca;return g|0}}else if((t|0)==100){f=(a[y>>0]|0)!=0&1;l=ca;return f|0}else if((t|0)==101){l=ca;return g|0}return 0}function Xe(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=a+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else Ye(a);c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4;return}function Ye(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=a+8|0;d=b[h>>1]|0;if(d&8192){Ze(a,c[a>>2]|0)|0;d=b[h>>1]|0}d=d&65535;if(d&1024|0){pb[c[a+36>>2]&255](c[a+16>>2]|0);b[h>>1]=1;return}if(!(d&32)){if(!(d&64)){b[h>>1]=1;return}g=c[a>>2]|0;i=(c[g>>2]|0)+196|0;c[g+4>>2]=c[i>>2];c[i>>2]=g;b[h>>1]=1;return}f=c[a>>2]|0;d=c[f>>2]|0;if(d|0){g=f+4|0;do{a=d;d=c[d>>2]|0;e=c[g>>2]|0;do if(e){if(c[e+464>>2]|0){Lc(e,a);break}j=a;if(j>>>0>=(c[e+296>>2]|0)>>>0?j>>>0<(c[e+300>>2]|0)>>>0:0){j=e+292|0;c[a>>2]=c[j>>2];c[j>>2]=a}else i=15}else i=15;while(0);do if((i|0)==15){i=0;if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{j=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}while(0)}while((d|0)!=0)}c[f>>2]=0;b[f+24>>1]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+20>>2]=0;b[f+26>>1]=1;b[h>>1]=1;return}function Ze(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+80|0;h=i+40|0;e=i;f=h+12|0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;f=e;g=f+40|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));b[e+8>>1]=1;f=a+32|0;c[e+32>>2]=c[f>>2];c[h>>2]=e;c[h+8>>2]=a;c[h+4>>2]=d;pb[c[d+16>>2]&255](h);do if((c[a+24>>2]|0)>0){f=c[f>>2]|0;d=c[a+20>>2]|0;if(f|0){if(c[f+464>>2]|0){Lc(f,d);break}g=d;if(g>>>0>=(c[f+296>>2]|0)>>>0?g>>>0<(c[f+300>>2]|0)>>>0:0){g=f+292|0;c[d>>2]=c[g>>2];c[g>>2]=d;break}}if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{g=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);f=a;g=f+40|0;do{c[f>>2]=c[e>>2];f=f+4|0;e=e+4|0}while((f|0)<(g|0));l=i;return c[h+20>>2]|0}function _e(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=(f|0)>32?f:32;o=d+24|0;f=(c[o>>2]|0)>0;if((g|0)!=0&f?(i=d+16|0,j=c[i>>2]|0,k=d+20|0,(j|0)==(c[k>>2]|0)):0){h=c[d+32>>2]|0;f=Mc(h,j,l,0)|0;do if(!((j|0)==0|(f|0)!=0)){if(h|0){if(c[h+464>>2]|0){Lc(h,j);break}g=j;if(g>>>0>=(c[h+296>>2]|0)>>>0?g>>>0<(c[h+300>>2]|0)>>>0:0){g=h+292|0;c[j>>2]=c[g>>2];c[g>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{g=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[k>>2]=f;c[i>>2]=f;i=0}else{i=d+32|0;do if(f){f=c[i>>2]|0;h=c[d+20>>2]|0;if(f|0){if(c[f+464>>2]|0){Lc(f,h);break}k=h;if(k>>>0>=(c[f+296>>2]|0)>>>0?k>>>0<(c[f+300>>2]|0)>>>0:0){k=f+292|0;c[h>>2]=c[k>>2];c[k>>2]=h;break}}if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{k=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);i=c[i>>2]|0;do if(!i){k=Ft(l|0,0,-1,-1)|0;j=z;if(!(j>>>0>0|(j|0)==0&k>>>0>2147483390)){if(!(c[2]|0)){f=jb[c[52>>2]&255](l)|0;break}i=jb[c[68>>2]&255](l)|0;if((c[11829]|0)>>>0>>0)c[11829]=l;h=46456;f=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&f>>>0>0){k=c[11822]|0;l=Gt(f|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&k>>>0>=l>>>0)&1}h=jb[c[52>>2]&255](i)|0;if(h){f=jb[c[64>>2]&255](h)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;f=h}else f=h}else f=0}else f=0}else{if(c[i+264>>2]|0){if(a[i+73>>0]|0){f=0;break}}else{if(!(0<0|(0==0?(e[i+268>>1]|0)>>>0>>0:0))){h=i+292|0;f=c[h>>2]|0;if(f|0){c[h>>2]=c[f>>2];l=i+276|0;c[l>>2]=(c[l>>2]|0)+1;break}h=i+288|0;f=c[h>>2]|0;if(!f)f=2;else{c[h>>2]=c[f>>2];l=i+276|0;c[l>>2]=(c[l>>2]|0)+1;break}}else f=1;k=i+276+(f<<2)|0;c[k>>2]=(c[k>>2]|0)+1}f=Ec(i,l,0)|0}while(0);k=d+20|0;c[k>>2]=f;i=g}if(!f){f=d+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else Ye(d);c[d+16>>2]=0;c[o>>2]=0;d=7;return d|0}h=c[d+32>>2]|0;if(((h|0)!=0?(m=f,m>>>0>=(c[h+296>>2]|0)>>>0):0)?m>>>0<(c[h+300>>2]|0)>>>0:0)f=e[h+268>>1]|0;else f=jb[c[64>>2]&255](f)|0;c[o>>2]=f;if(i|0?(n=c[d+16>>2]|0,n|0):0)Tt(c[k>>2]|0,n|0,c[d+12>>2]|0)|0;i=d+8|0;f=b[i>>1]|0;if(!(f&1024))h=d+16|0;else{h=d+16|0;pb[c[d+36>>2]&255](c[h>>2]|0);f=b[i>>1]|0}c[h>>2]=c[k>>2];b[i>>1]=f&-7169;d=0;return d|0}function $e(a){a=a|0;return jb[c[64>>2]&255](a)|0}function af(a){a=a|0;var d=0,e=0,f=0,g=0,h=0;if(b[a+8>>1]&9312)Ye(a);e=a+24|0;if(!(c[e>>2]|0)){g=a+16|0;c[g>>2]=0;return}f=c[a+32>>2]|0;d=c[a+20>>2]|0;do if(f){if(c[f+464>>2]|0){Lc(f,d);break}h=d;if(h>>>0>=(c[f+296>>2]|0)>>>0?h>>>0<(c[f+300>>2]|0)>>>0:0){h=f+292|0;c[d>>2]=c[h>>2];c[h>>2]=d}else g=10}else g=10;while(0);do if((g|0)==10?d|0:0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{h=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[e>>2]=0;h=a+16|0;c[h>>2]=0;return}function bf(d){d=d|0;var e=0,f=0;e=d+12|0;if(_e(d,(c[e>>2]|0)+2|0,1)|0){e=7;return e|0}f=d+16|0;a[(c[f>>2]|0)+(c[e>>2]|0)>>0]=0;a[(c[f>>2]|0)+((c[e>>2]|0)+1)>>0]=0;e=d+8|0;b[e>>1]=b[e>>1]|512;e=0;return e|0}function cf(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;h=c[a+8>>2]|0;if((d|0)<1){e=h+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else Ye(h);c[h+16>>2]=0;h=0;return h|0}if((c[h+24>>2]|0)<(d|0)){_e(h,d,0)|0;g=h+16|0;e=h+8|0;f=g;g=c[g>>2]|0}else{g=c[h+20>>2]|0;f=h+16|0;c[f>>2]=g;e=h+8|0;b[e>>1]=b[e>>1]&13}b[e>>1]=8192;c[h>>2]=c[a+4>>2];if(!g){h=g;return h|0}Vt(g|0,0,d|0)|0;h=c[f>>2]|0;return h|0}function df(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0.0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,u=0;h[c>>3]=0.0;j=f&255;if(f<<24>>24==1){g=0;q=1;j=b;f=e}else{f=3-j|0;a:do if((f|0)<(e|0))while(1){if(a[b+f>>0]|0){g=1;break a}f=f+2|0;if((f|0)>=(e|0)){g=0;break}}else g=0;while(0);q=2;j=b+(j&1)|0;f=f^1}u=b+f|0;if(j>>>0>>0)f=j;else{c=0;return c|0}while(1){j=a[f>>0]|0;if(!(a[18220+(j&255)>>0]&1))break;f=f+q|0;if(f>>>0>=u>>>0){f=0;s=62;break}}if((s|0)==62)return f|0;switch(j<<24>>24){case 45:{r=-1;f=f+q|0;break}case 43:{r=1;f=f+q|0;break}default:r=1}b:do if(f>>>0>>0){j=0;l=0;b=0;do{e=a[f>>0]|0;if(!(((l|0)<214748364|(l|0)==214748364&b>>>0<3435973835)&((e&255)+-48|0)>>>0<10))break b;b=Lt(b|0,l|0,10,0)|0;l=(e<<24>>24)+-48|0;b=Ft(l|0,((l|0)<0)<<31>>31|0,b|0,z|0)|0;l=z;f=f+q|0;j=j+1|0}while(f>>>0>>0)}else{j=0;b=0;l=0}while(0);c:do if(f>>>0>>0){m=0;while(1){e=a[f>>0]|0;if(((e&255)+-48|0)>>>0>=10)break;f=f+q|0;j=j+1|0;e=m+1|0;if(f>>>0>>0)m=e;else{n=1;m=0;p=1;o=b;break c}}d:do if(e<<24>>24==46){f=f+q|0;if(f>>>0>>0)while(1){e=a[f>>0]|0;if(((e&255)+-48|0)>>>0>=10){e=m;break d}p=(l|0)<214748364|(l|0)==214748364&b>>>0<3435973835;o=Lt(b|0,l|0,10,0)|0;e=(e<<24>>24)+-48|0;e=Ft(e|0,((e|0)<0)<<31>>31|0,o|0,z|0)|0;b=p?e:b;l=p?z:l;e=(p<<31>>31)+m|0;j=j+1|0;f=f+q|0;if(f>>>0>>0)m=e;else break}else e=m}else e=m;while(0);if(f>>>0>>0){e:do switch(a[f>>0]|0){case 69:case 101:{f=f+q|0;if(f>>>0>=u>>>0){n=0;m=0;p=1;o=b;break c}switch(a[f>>0]|0){case 45:{p=-1;f=f+q|0;break}case 43:{p=1;f=f+q|0;break}default:p=1}if(f>>>0>>0){n=0;o=0;while(1){m=a[f>>0]|0;if(((m&255)+-48|0)>>>0>=10){m=o;break e}m=(o|0)<1e4?(o*10|0)+-48+(m<<24>>24)|0:1e4;f=f+q|0;if(f>>>0>>0){n=1;o=m}else{n=1;break}}}else{n=0;m=0}break}default:{n=1;m=0;p=1}}while(0);if(f>>>0>>0)while(1){if(!(a[18220+(d[f>>0]|0)>>0]&1)){o=b;break c}f=f+q|0;if(f>>>0>=u>>>0){o=b;break}}else o=b}else{n=1;m=0;p=1;o=b}}else{n=1;m=0;p=1;e=0;o=b}while(0);e=(O(m,p)|0)+e|0;p=(e|0)<0;b=e>>31|1;e=p?0-e|0:e;f:do if(!((o|0)==0&(l|0)==0)){g:do if((e|0)>0){h:do if((b|0)>0){b=o;while(1){if((l|0)>214748364|(l|0)==214748364&b>>>0>3435973835)break h;b=Lt(b|0,l|0,10,0)|0;m=z;l=e+-1|0;if((e|0)>1){e=l;l=m}else{e=l;l=m;s=42;break g}}}else{b=o;while(1){q=Mt(b|0,l|0,10,0)|0;if(!((q|0)==0&(z|0)==0))break h;b=Jt(b|0,l|0,10,0)|0;m=z;l=e+-1|0;if((e|0)>1){e=l;l=m}else{e=l;l=m;s=42;break g}}}while(0);r=(r|0)<0;m=Gt(0,0,b|0,l|0)|0;m=r?m:b;b=r?z:l;if((e|0)>307){k=+(m>>>0)+4294967296.0*+(b|0);if((e|0)>=342)if(p){i=k*0.0;break f}else{i=k*t;break f}if(!((e>>>0)%308|0))i=1.0;else{i=1.0;do{i=i*10.0;e=e+-1|0}while(((e|0)%308|0|0)!=0)}if(p){i=k/i/1.e+308;break f}else{i=k*i*1.e+308;break f}}}else{b=o;s=42}while(0);if((s|0)==42){s=(r|0)<0;m=Gt(0,0,b|0,l|0)|0;m=s?m:b;b=s?z:l;if(!e){i=+(m>>>0)+4294967296.0*+(b|0);break}}if(!((e|0)%22|0))k=1.0;else{k=1.0;do{k=k*10.0;e=e+-1|0}while(((e|0)%22|0|0)!=0)}if((e|0)>0)while(1){k=k*1.0e22;if((e|0)>22)e=e+-22|0;else break}i=+(m>>>0)+4294967296.0*+(b|0);if(p){i=i/k;break}else{i=i*k;break}}else i=(r|0)<0?-0.0:0.0;while(0);h[c>>3]=i;c=(g|0)==0&((n|0)!=0&((f|0)==(u|0)&(j|0)>0))&1;return c|0}function ef(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;h=f&255;if(f<<24>>24==1){g=0;n=1;h=b;f=e}else{f=3-h|0;a:do if((f|0)<(e|0))while(1){if(a[b+f>>0]|0){g=1;break a}f=f+2|0;if((f|0)>=(e|0)){g=0;break}}else g=0;while(0);n=2;h=b+(h&1)|0;f=f^1}l=b+f|0;b:do if(h>>>0>>0){while(1){f=a[h>>0]|0;if(!(a[18220+(f&255)>>0]&1))break;f=h+n|0;if(f>>>0>>0)h=f;else{m=0;break b}}switch(f<<24>>24){case 45:{m=1;f=h+n|0;break b}case 43:{m=0;f=h+n|0;break b}default:{m=0;f=h;break b}}}else{m=0;f=h}while(0);c:do if(f>>>0>>0){h=f;do{if((a[h>>0]|0)!=48)break c;h=h+n|0}while(h>>>0>>0)}else h=f;while(0);d:do if(h>>>0>>0){j=0;k=h;b=0;i=0;while(1){e=a[k>>0]|0;if((e+-48&255)>=10){e=j;j=1;break d}i=Lt(b|0,i|0,10,0)|0;b=e<<24>>24;i=Ft(i|0,z|0,-48,-1)|0;b=Ft(i|0,z|0,b|0,((b|0)<0)<<31>>31|0)|0;i=z;e=j+n|0;k=h+e|0;if(k>>>0>=l>>>0){j=0;break}else j=e}}else{e=0;j=0;i=0;b=0}while(0);l=(i|0)<0;k=(m|0)!=0;m=Gt(0,0,b|0,i|0)|0;c[d>>2]=l?(k?0:-1):k?m:b;c[d+4>>2]=l?(k?-2147483648:2147483647):k?z:i;do if(j)b=1;else{g=(g|0)!=0;if(!e){if(g|(f|0)==(h|0)){b=1;break}}else if(g){b=1;break}b=0}while(0);f=n*19|0;if((e|0)>(f|0)){n=2;return n|0}if((e|0)<(f|0)){n=b;return n|0}else f=0;do{g=a[h+(O(f,n)|0)>>0]|0;g=g-(a[19066+f>>0]|0)|0;f=f+1|0;e=(g|0)==0}while((f|0)<18&e);if(e)f=(a[h+(n*18|0)>>0]|0)+-56|0;else f=g*10|0;if((f|0)<0){n=b;return n|0}else return ((f|0)==0?(k?b:3):2)|0;return 0}function ff(d){d=d|0;var e=0,f=0,g=0,h=0,i=0;i=d+8|0;f=b[i>>1]|0;h=f&65535;if(!(h&18)){if((h&514|0)==514?(a[d+10>>0]|0)==1:0){i=c[d+16>>2]|0;return i|0}if(h&1|0){i=0;return i|0}i=Jc(d,1)|0;return i|0}else{g=d+12|0;e=c[g>>2]|0;do if(h&16384){h=(c[d>>2]|0)+e|0;if(!(_e(d,(h|0)>1?h:1,1)|0)){Vt((c[d+16>>2]|0)+(c[g>>2]|0)|0,0,c[d>>2]|0)|0;e=(c[g>>2]|0)+(c[d>>2]|0)|0;c[g>>2]=e;f=b[i>>1]&-16897;b[i>>1]=f;break}else{i=0;return i|0}}while(0);b[i>>1]=f|16;if(!e){i=0;return i|0}i=c[d+16>>2]|0;return i|0}return 0}function gf(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;f=c[a>>2]|0;g=f+8|0;if(b[g>>1]&9312)Ye(f);c[f>>2]=c[d>>2];c[f+4>>2]=c[d+4>>2];c[f+8>>2]=c[d+8>>2];c[f+12>>2]=c[d+12>>2];c[f+16>>2]=c[d+16>>2];e=b[g>>1]&-1025;b[g>>1]=e;e=e&65535;if(!(e&18))return;if(b[d+8>>1]&2048)return;a=(e|4096)&65535;b[g>>1]=a;do if(e&16384){a=f+12|0;e=(c[f>>2]|0)+(c[a>>2]|0)|0;if(!(_e(f,(e|0)>1?e:1,1)|0)){Vt((c[f+16>>2]|0)+(c[a>>2]|0)|0,0,c[f>>2]|0)|0;c[a>>2]=(c[a>>2]|0)+(c[f>>2]|0);a=b[g>>1]&-16897;b[g>>1]=a;break}else return}while(0);if(!((c[f+24>>2]|0)!=0?(c[f+16>>2]|0)==(c[f+20>>2]|0):0))h=10;do if((h|0)==10)if(!(bf(f)|0)){a=b[g>>1]|0;break}else return;while(0);b[g>>1]=a&-4097;return}function hf(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[d>>2]|0;h=c[(c[g+32>>2]|0)+100>>2]|0;i=((h|0)<0)<<31>>31;if((i|0)<(f|0)|(i|0)==(f|0)&h>>>0>>0){c[d+20>>2]=18;a[d+25>>0]=1;Ve(g,18992,-1,1,0)|0;i=0;return i|0}i=Ft(e|0,f|0,-1,-1)|0;h=z;do if(!(h>>>0>0|(h|0)==0&i>>>0>2147483390)){if(!(c[2]|0)){f=jb[c[52>>2]&255](e)|0;if(!f)break;return f|0}h=jb[c[68>>2]&255](e)|0;if((c[11829]|0)>>>0>>0)c[11829]=e;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){e=c[11822]|0;i=Gt(f|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&e>>>0>=i>>>0)&1}g=jb[c[52>>2]&255](h)|0;if(g|0){f=jb[c[64>>2]&255](g)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0<=(c[11831]|0)>>>0){i=g;return i|0}c[11831]=f;i=g;return i|0}}while(0);f=c[d>>2]|0;g=f+8|0;if(!(b[g>>1]&9312))b[g>>1]=1;else{Ye(f);f=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;f=c[f+32>>2]|0;g=f+73|0;if(a[g>>0]|0){i=0;return i|0}if(a[f+74>>0]|0){i=0;return i|0}a[g>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;i=f+264|0;c[i>>2]=(c[i>>2]|0)+1;i=0;return i|0}function jf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0.0,i=0.0,j=0,k=0,l=0,m=0,n=0,o=0;j=b[a+8>>1]|0;l=j&65535;k=b[d+8>>1]|0;m=k&65535;f=(k|j)&65535;if(f&1|0){o=(m&1)-(l&1)|0;return o|0}if(!(f&12)){if(f&2|0){if(!(l&2)){o=1;return o|0}if(!(m&2)){o=-1;return o|0}if(e|0){o=kf(a,d,e,0)|0;return o|0}}o=lf(a,d)|0;return o|0}f=k&j&65535;if(f&4|0){n=c[a>>2]|0;a=c[a+4>>2]|0;o=c[d>>2]|0;d=c[d+4>>2]|0;return ((a|0)<(d|0)|(a|0)==(d|0)&n>>>0>>0?-1:((a|0)>(d|0)|(a|0)==(d|0)&n>>>0>o>>>0)&1)|0}if(f&8|0){i=+h[a>>3];g=+h[d>>3];if(ig&1;return o|0}if(!(l&4)){if(!(l&8)){o=1;return o|0}if(!(m&4)){o=-1;return o|0}e=d;f=c[e>>2]|0;e=c[e+4>>2]|0;i=+h[a>>3];do if(!(i<-9223372036854775808.0))if(!(i>9223372036854775808.0)?(n=~~i>>>0,o=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0,!((o|0)>(e|0)|(o|0)==(e|0)&n>>>0>f>>>0)):0){if((o|0)<(e|0)|(o|0)==(e|0)&n>>>0>>0){f=i>0.0&((n|0)==0&(o|0)==-2147483648)?-1:1;break}g=+(f>>>0)+4294967296.0*+(e|0);if(!(gi&1;else f=-1}else f=-1;else f=1;while(0);o=0-f|0;return o|0}if(!(m&8)){o=-1;return o|0}k=a;j=c[k>>2]|0;k=c[k+4>>2]|0;i=+h[d>>3];if(i<-9223372036854775808.0){o=1;return o|0}if(i>9223372036854775808.0){o=-1;return o|0}f=~~i>>>0;e=+B(i)>=1.0?(i>0.0?~~+P(+A(i/4294967296.0),4294967295.0)>>>0:~~+N((i-+(~~i>>>0))/4294967296.0)>>>0):0;if((e|0)>(k|0)|(e|0)==(k|0)&f>>>0>j>>>0){o=-1;return o|0}if((e|0)<(k|0)|(e|0)==(k|0)&f>>>0>>0){o=i>0.0&((f|0)==0&(e|0)==-2147483648)?-1:1;return o|0}g=+(j>>>0)+4294967296.0*+(k|0);if(gi&1;return o|0}function kf(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+80|0;p=r+40|0;q=r;j=g+4|0;i=a[j>>0]|0;if((a[d+10>>0]|0)==i<<24>>24){q=nb[c[g+12>>2]&255](c[g+8>>2]|0,c[d+12>>2]|0,c[d+16>>2]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;l=r;return q|0}o=c[d+32>>2]|0;k=p+8|0;c[p+32>>2]=o;m=p+24|0;c[m>>2]=0;n=q+8|0;b[n>>1]=1;c[q+32>>2]=o;o=q+24|0;c[o>>2]=0;c[p>>2]=c[d>>2];c[p+4>>2]=c[d+4>>2];c[p+8>>2]=c[d+8>>2];c[p+12>>2]=c[d+12>>2];c[p+16>>2]=c[d+16>>2];if(!(b[d+8>>1]&2048))b[k>>1]=b[k>>1]&-7169|4096;c[q>>2]=c[f>>2];c[q+4>>2]=c[f+4>>2];c[q+8>>2]=c[f+8>>2];c[q+12>>2]=c[f+12>>2];c[q+16>>2]=c[f+16>>2];if(!(b[f+8>>1]&2048))b[n>>1]=b[n>>1]&-7169|4096;d=e[k>>1]|0;if((d&514|0)==514?(a[p+10>>0]|0)==i<<24>>24:0)f=c[p+16>>2]|0;else if(!(d&1)){f=Jc(p,i)|0;i=a[j>>0]|0}else f=0;d=e[n>>1]|0;if((d&514|0)==514?(a[q+10>>0]|0)==i<<24>>24:0){d=c[q+16>>2]|0;i=17}else if(!(d&1)){d=Jc(q,i)|0;i=17}else i=18;if((i|0)==17)if((f|0)==0|(d|0)==0)i=18;else d=nb[c[g+12>>2]&255](c[g+8>>2]|0,c[p+12>>2]|0,f,c[q+12>>2]|0,d)|0;if((i|0)==18)if(!h)d=0;else{a[h>>0]=7;d=0}if(!((b[k>>1]&9312)==0&(c[m>>2]|0)==0))af(p);if(!((b[n>>1]&9312)==0&(c[o>>2]|0)==0))af(q);q=d;l=r;return q|0}function lf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=c[d+12>>2]|0;i=c[e+12>>2]|0;f=b[d+8>>1]|0;g=b[e+8>>1]|0;if(!((g|f)&16384)){e=Bs(c[d+16>>2]|0,c[e+16>>2]|0,(h|0)>(i|0)?i:h)|0;return ((e|0)==0?h-i|0:e)|0}f=f&16384;if((f&g)<<16>>16){i=(c[d>>2]|0)-(c[e>>2]|0)|0;return i|0}if(!(f<<16>>16)){g=c[d+16>>2]|0;a:do if((h|0)>0){f=0;while(1){if(a[g+f>>0]|0){f=1;break}f=f+1|0;if((f|0)>=(h|0))break a}return f|0}while(0);i=h-(c[e>>2]|0)|0;return i|0}else{g=c[e+16>>2]|0;b:do if((i|0)>0){f=0;while(1){if(a[g+f>>0]|0){f=-1;break}f=f+1|0;if((f|0)>=(i|0))break b}return f|0}while(0);i=(c[d>>2]|0)-i|0;return i|0}return 0}function mf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=d;Cc(a,b,f);l=e;return}function nf(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!b){n=0;return n|0}e=a[b>>0]|0;do if(!(e<<24>>24)){e=19253;g=3}else{l=e&255;e=17324+l|0;if((l|32|0)==115){e=a[b+1>>0]|0;if(!(e<<24>>24)){e=19254;g=3;break}l=e&255;e=17324+l|0;if((l|32|0)==113){e=a[b+2>>0]|0;if(!(e<<24>>24)){e=19255;g=3;break}l=e&255;e=17324+l|0;if((l|32|0)==108){e=a[b+3>>0]|0;if(!(e<<24>>24)){e=19256;g=3;break}l=e&255;e=17324+l|0;if((l|32|0)==105){e=a[b+4>>0]|0;if(!(e<<24>>24)){e=19257;g=3;break}l=e&255;e=17324+l|0;if((l|32|0)==116){e=a[b+5>>0]|0;if(!(e<<24>>24)){e=19258;g=3;break}l=e&255;e=17324+l|0;if((l|32|0)==101){e=a[b+6>>0]|0;if(!(e<<24>>24)){e=19259;g=3;break}if(e<<24>>24==95){g=8;break}else{g=95;e=17324+(e&255)|0}}else g=101}else g=116}else g=105}else g=108}else g=113}else g=115;f=a[e>>0]|0;e=g;g=7}while(0);if((g|0)==3){f=0;e=a[17324+(d[e>>0]|0)>>0]|0;g=7}if((g|0)==7)if(f<<24>>24==e<<24>>24)g=8;if((g|0)==8)b=b+7|0;k=(As(b)|0)&1073741823;if(!k){n=0;return n|0}else i=0;while(1){l=c[3968+(i<<2)>>2]|0;g=b;j=l;h=k;while(1){e=a[g>>0]|0;if(!(e<<24>>24)){g=12;break}e=a[17324+(e&255)>>0]|0;f=a[17324+(d[j>>0]|0)>>0]|0;if(e<<24>>24!=f<<24>>24){m=e;n=f;g=15;break}if((h|0)>1){g=g+1|0;j=j+1|0;h=h+-1|0}else{g=16;break}}if((g|0)==12){m=0;n=a[17324+(d[j>>0]|0)>>0]|0;g=15}if((g|0)==15?(g=0,m<<24>>24==n<<24>>24):0)g=16;if((g|0)==16?(0,(a[18220+(d[l+k>>0]|0)>>0]&70)==0):0){e=1;g=18;break}i=i+1|0;if((i|0)>=6){e=0;g=18;break}}if((g|0)==18)return e|0;return 0}function of(d,e,f){d=d|0;e=e|0;f=f|0;var g=0.0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+64|0;q=s+56|0;r=s+48|0;p=s;if(wf(d,e,f,p)|0){l=s;return}m=p+40|0;do if(!(a[m>>0]|0)){o=p+42|0;if(a[o>>0]|0){e=c[p+8>>2]|0;if((e+4713|0)>>>0<=14712){i=c[p+12>>2]|0;j=c[p+16>>2]|0;k=e;n=6}}else{i=1;j=1;k=2e3;n=6}if((n|0)==6?(a[p+41>>0]|0)==0:0){f=(i|0)<3;e=(f<<31>>31)+k|0;g=(+(j+2+((e|0)/-100|0)+((e|0)/400|0)+((((f?i+12|0:i)*306001|0)+306001|0)/1e4|0)+(((e*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;e=~~g>>>0;f=+B(g)>=1.0?(g>0.0?~~+P(+A(g/4294967296.0),4294967295.0)>>>0:~~+N((g-+(~~g>>>0))/4294967296.0)>>>0):0;j=p;c[j>>2]=e;c[j+4>>2]=f;a[m>>0]=1;j=p+43|0;if(!(a[j>>0]|0))break;i=O(c[p+20>>2]|0,36e5)|0;i=((c[p+24>>2]|0)*6e4|0)+i|0;g=+h[p+32>>3]*1.0e3;e=Ft(~~g>>>0|0,(+B(g)>=1.0?(g>0.0?~~+P(+A(g/4294967296.0),4294967295.0)>>>0:~~+N((g-+(~~g>>>0))/4294967296.0)>>>0):0)|0,e|0,f|0)|0;e=Ft(e|0,z|0,i|0,((i|0)<0)<<31>>31|0)|0;f=z;i=p;c[i>>2]=e;c[i+4>>2]=f;i=p+44|0;if(!(a[i>>0]|0))break;n=(c[p+28>>2]|0)*6e4|0;e=Gt(e|0,f|0,n|0,((n|0)<0)<<31>>31|0)|0;f=z;c[p>>2]=e;c[p+4>>2]=f;a[o>>0]=0;a[j>>0]=0;a[i>>0]=0;break}e=p;f=e+48|0;do{c[e>>2]=0;e=e+4|0}while((e|0)<(f|0));a[p+46>>0]=1;f=0;e=0}else{e=p;f=c[e+4>>2]|0;e=c[e>>2]|0}while(0);g=(+(e>>>0)+4294967296.0*+(f|0))/864.0e5;e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else Ye(e);h[q>>3]=g;h[r>>3]=+h[q>>3];if(+h[q>>3]!=+h[r>>3]){l=s;return}h[e>>3]=g;b[f>>1]=8;l=s;return}function pf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+160|0;i=j+48|0;g=j;h=j+60|0;if(wf(b,d,e,g)|0){l=j;return}d=g+42|0;if(!(a[d>>0]|0)){do if(a[g+40>>0]|0){f=g;e=c[f>>2]|0;f=c[f+4>>2]|0;if(f>>>0<108096|(f|0)==108096&e>>>0<275971584){e=Ft(e|0,f|0,432e5,0)|0;e=Jt(e|0,z|0,864e5,0)|0;k=~~((+(e|0)+-1867216.25)/36524.25);k=e+1525+k+((k|0)/-4|0)|0;e=~~((+(k|0)+-122.1)/365.25);k=k-((((e&32767)*36525|0)>>>0)/100|0)|0;f=~~(+(k|0)/30.6001);c[g+16>>2]=k-~~(+(f|0)*30.6001);f=f-((f|0)<14?1:13)|0;c[g+12>>2]=f;c[g+8>>2]=e-((f|0)>2?4716:4715);break}else{d=g;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));d=g+46|0;break}}else{c[g+8>>2]=2e3;c[g+12>>2]=1;c[g+16>>2]=1}while(0);a[d>>0]=1}f=c[g+12>>2]|0;k=c[g+16>>2]|0;c[i>>2]=c[g+8>>2];c[i+4>>2]=f;c[i+8>>2]=k;wd(100,h,19624,i)|0;if((Ve(c[b>>2]|0,h,-1,1,-1)|0)==18){c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0}l=j;return}function qf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+160|0;p=q+48|0;n=q;o=q+60|0;if(wf(b,d,e,n)|0){l=q;return}m=n+43|0;if(!(a[m>>0]|0)){d=n+40|0;do if(!(a[d>>0]|0)){if(a[n+42>>0]|0){e=c[n+8>>2]|0;if((e+4713|0)>>>0<=14712){g=c[n+12>>2]|0;i=c[n+16>>2]|0;j=e;k=8}}else{g=1;i=1;j=2e3;k=8}if((k|0)==8?(a[n+41>>0]|0)==0:0){e=(g|0)<3;k=(e<<31>>31)+j|0;f=(+(i+2+((k|0)/-100|0)+((k|0)/400|0)+((((e?g+12|0:g)*306001|0)+306001|0)/1e4|0)+(((k*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;k=~~f>>>0;e=+B(f)>=1.0?(f>0.0?~~+P(+A(f/4294967296.0),4294967295.0)>>>0:~~+N((f-+(~~f>>>0))/4294967296.0)>>>0):0;j=n;c[j>>2]=k;c[j+4>>2]=e;a[d>>0]=1;d=k;break}d=n;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a[n+46>>0]=1;d=0;e=0}else{e=n;d=c[e>>2]|0;e=c[e+4>>2]|0}while(0);j=Ft(d|0,e|0,432e5,0)|0;j=Mt(j|0,z|0,864e5,0)|0;f=+(j|0)/1.0e3;j=~~f;e=(j|0)/3600|0;c[n+20>>2]=e;k=(O(e,-3600)|0)+j|0;d=(k|0)/60|0;c[n+24>>2]=d;f=f-+(j|0)+ +((O(d,-60)|0)+k|0);h[n+32>>3]=f;a[n+41>>0]=0;a[m>>0]=1}else{f=+h[n+32>>3];e=c[n+20>>2]|0;d=c[n+24>>2]|0}c[p>>2]=e;c[p+4>>2]=d;c[p+8>>2]=~~f;wd(100,o,19609,p)|0;if((Ve(c[b>>2]|0,o,-1,1,-1)|0)==18){c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0}l=q;return}function rf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0.0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+176|0;q=r+48|0;o=r;p=r+72|0;if(wf(b,d,e,o)|0){l=r;return}i=o+42|0;if(!(a[i>>0]|0)){do if(a[o+40>>0]|0){e=o;d=c[e>>2]|0;e=c[e+4>>2]|0;if(e>>>0<108096|(e|0)==108096&d>>>0<275971584){g=Ft(d|0,e|0,432e5,0)|0;g=Jt(g|0,z|0,864e5,0)|0;e=~~((+(g|0)+-1867216.25)/36524.25);e=g+1525+e+((e|0)/-4|0)|0;g=~~((+(e|0)+-122.1)/365.25);e=e-((((g&32767)*36525|0)>>>0)/100|0)|0;d=~~(+(e|0)/30.6001);c[o+16>>2]=e-~~(+(d|0)*30.6001);d=d-((d|0)<14?1:13)|0;c[o+12>>2]=d;c[o+8>>2]=g-((d|0)>2?4716:4715);d=i;break}else{d=o;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));d=o+46|0;break}}else{c[o+8>>2]=2e3;c[o+12>>2]=1;c[o+16>>2]=1;d=i}while(0);a[d>>0]=1}g=o+43|0;if(!(a[g>>0]|0)){e=o+40|0;do if(!(a[e>>0]|0)){if(a[i>>0]|0){d=c[o+8>>2]|0;if((d+4713|0)>>>0<=14712){j=c[o+12>>2]|0;k=c[o+16>>2]|0;m=d;n=15}}else{j=1;k=1;m=2e3;n=15}if((n|0)==15?(a[o+41>>0]|0)==0:0){n=(j|0)<3;d=(n<<31>>31)+m|0;f=(+(k+2+((d|0)/-100|0)+((d|0)/400|0)+((((n?j+12|0:j)*306001|0)+306001|0)/1e4|0)+(((d*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;d=~~f>>>0;n=+B(f)>=1.0?(f>0.0?~~+P(+A(f/4294967296.0),4294967295.0)>>>0:~~+N((f-+(~~f>>>0))/4294967296.0)>>>0):0;m=o;c[m>>2]=d;c[m+4>>2]=n;a[e>>0]=1;e=n;break}d=o;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a[o+46>>0]=1;d=0;e=0}else{e=o;d=c[e>>2]|0;e=c[e+4>>2]|0}while(0);m=Ft(d|0,e|0,432e5,0)|0;m=Mt(m|0,z|0,864e5,0)|0;f=+(m|0)/1.0e3;m=~~f;d=(m|0)/3600|0;c[o+20>>2]=d;n=(O(d,-3600)|0)+m|0;e=(n|0)/60|0;c[o+24>>2]=e;f=f-+(m|0)+ +((O(e,-60)|0)+n|0);h[o+32>>3]=f;a[o+41>>0]=0;a[g>>0]=1}else{f=+h[o+32>>3];d=c[o+20>>2]|0;e=c[o+24>>2]|0}m=c[o+12>>2]|0;n=c[o+16>>2]|0;c[q>>2]=c[o+8>>2];c[q+4>>2]=m;c[q+8>>2]=n;c[q+12>>2]=d;c[q+16>>2]=e;c[q+20>>2]=~~f;wd(100,p,19579,q)|0;if((Ve(c[b>>2]|0,p,-1,1,-1)|0)==18){c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0}l=r;return}function sf(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0.0;_=l;l=l+240|0;X=_+128|0;W=_+120|0;V=_+112|0;U=_+104|0;T=_+96|0;S=_+88|0;R=_+80|0;Z=_+72|0;Y=_+64|0;Q=_+56|0;M=_+48|0;t=_;L=_+132|0;if(!f){l=_;return}j=c[g>>2]|0;if(!j){l=_;return}i=e[j+8>>1]|0;if((i&514|0)==514?(a[j+10>>0]|0)==1:0)K=c[j+16>>2]|0;else J=6;do if((J|0)==6)if(!(i&1)){K=Jc(j,1)|0;break}else{l=_;return}while(0);if(!K){l=_;return}if(wf(d,f+-1|0,g+4|0,t)|0){l=_;return}i=c[d>>2]|0;k=c[i+32>>2]|0;j=0;g=1;f=0;a:while(1){b:do switch(a[K+j>>0]|0){case 0:break a;case 37:{j=j+1|0;switch(a[K+j>>0]|0){case 37:case 119:break b;case 87:case 83:case 77:case 109:case 72:case 100:{g=Ft(g|0,f|0,1,0)|0;f=z;break b}case 102:{g=Ft(g|0,f|0,8,0)|0;f=z;break b}case 106:{g=Ft(g|0,f|0,3,0)|0;f=z;break b}case 89:{g=Ft(g|0,f|0,8,0)|0;f=z;break b}case 74:case 115:{g=Ft(g|0,f|0,50,0)|0;f=z;break b}default:{J=101;break a}}}default:{}}while(0);g=Ft(g|0,f|0,1,0)|0;j=j+1|0;f=z}if((J|0)==101){l=_;return}do if(f>>>0<0|(f|0)==0&g>>>0<100)H=L;else{I=c[k+100>>2]|0;H=((I|0)<0)<<31>>31;if(f>>>0>H>>>0|(f|0)==(H|0)&g>>>0>I>>>0){c[d+20>>2]=18;a[d+25>>0]=1;Ve(i,18992,-1,1,0)|0;l=_;return}f=Pt(0,g|0,32)|0;g=z;do if(c[k+264>>2]|0){if(!(a[k+73>>0]|0))J=30}else{if(!(0>>0|(0==(g|0)?(e[k+268>>1]|0)>>>0>>0:0))){j=k+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];J=k+276|0;c[J>>2]=(c[J>>2]|0)+1;J=31;break}j=k+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];J=k+276|0;c[J>>2]=(c[J>>2]|0)+1;J=31;break}}else i=1;J=k+276+(i<<2)|0;c[J>>2]=(c[J>>2]|0)+1;J=30}while(0);if((J|0)==30){i=Ec(k,f,g)|0;J=31}if((J|0)==31){if(i|0){H=i;break}i=c[d>>2]|0}j=i+8|0;if(!(b[j>>1]&9312))b[j>>1]=1;else{Ye(i);i=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;i=c[i+32>>2]|0;j=i+73|0;if(a[j>>0]|0){l=_;return}if(a[i+74>>0]|0){l=_;return}a[j>>0]=1;if((c[i+172>>2]|0)>0)c[i+256>>2]=1;d=i+264|0;c[d>>2]=(c[d>>2]|0)+1;l=_;return}while(0);k=t+40|0;i=a[k>>0]|0;I=t+42|0;do if(!(i<<24>>24)){if(a[I>>0]|0){i=c[t+8>>2]|0;if((i+4713|0)>>>0<=14712){m=c[t+12>>2]|0;n=c[t+16>>2]|0;p=i;J=44}}else{m=1;n=1;p=2e3;J=44}if((J|0)==44?(a[t+41>>0]|0)==0:0){j=(m|0)<3;i=(j<<31>>31)+p|0;o=(+(n+2+((i|0)/-100|0)+((i|0)/400|0)+((((j?m+12|0:m)*306001|0)+306001|0)/1e4|0)+(((i*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;i=~~o>>>0;j=+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0;g=t;c[g>>2]=i;c[g+4>>2]=j;a[k>>0]=1;g=t+43|0;if(!(a[g>>0]|0)){i=1;break}f=O(c[t+20>>2]|0,36e5)|0;f=((c[t+24>>2]|0)*6e4|0)+f|0;o=+h[t+32>>3]*1.0e3;i=Ft(~~o>>>0|0,(+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0)|0,i|0,j|0)|0;i=Ft(i|0,z|0,f|0,((f|0)<0)<<31>>31|0)|0;j=z;f=t;c[f>>2]=i;c[f+4>>2]=j;f=t+44|0;if(!(a[f>>0]|0)){i=1;break}G=(c[t+28>>2]|0)*6e4|0;G=Gt(i|0,j|0,G|0,((G|0)<0)<<31>>31|0)|0;i=t;c[i>>2]=G;c[i+4>>2]=z;a[I>>0]=0;a[g>>0]=0;a[f>>0]=0;i=1;break}i=t;j=i+48|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));a[t+46>>0]=1;i=0}while(0);if(!(a[I>>0]|0)){do if(i<<24>>24){j=t;i=c[j>>2]|0;j=c[j+4>>2]|0;if(j>>>0<108096|(j|0)==108096&i>>>0<275971584){G=Ft(i|0,j|0,432e5,0)|0;G=Jt(G|0,z|0,864e5,0)|0;F=~~((+(G|0)+-1867216.25)/36524.25);F=G+1525+F+((F|0)/-4|0)|0;G=~~((+(F|0)+-122.1)/365.25);F=F-((((G&32767)*36525|0)>>>0)/100|0)|0;i=~~(+(F|0)/30.6001);c[t+16>>2]=F-~~(+(i|0)*30.6001);i=i-((i|0)<14?1:13)|0;c[t+12>>2]=i;c[t+8>>2]=G-((i|0)>2?4716:4715);i=I;break}else{i=t;j=i+48|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));i=t+46|0;break}}else{c[t+8>>2]=2e3;c[t+12>>2]=1;c[t+16>>2]=1;i=I}while(0);a[i>>0]=1}G=t+43|0;if(!(a[G>>0]|0)){do if(!(a[k>>0]|0)){if(a[I>>0]|0){i=c[t+8>>2]|0;if((i+4713|0)>>>0<=14712){q=c[t+12>>2]|0;r=c[t+16>>2]|0;s=i;J=62}}else{q=1;r=1;s=2e3;J=62}if((J|0)==62?(a[t+41>>0]|0)==0:0){j=(q|0)<3;i=(j<<31>>31)+s|0;o=(+(r+2+((i|0)/-100|0)+((i|0)/400|0)+((((j?q+12|0:q)*306001|0)+306001|0)/1e4|0)+(((i*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;i=~~o>>>0;j=+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0;f=t;c[f>>2]=i;c[f+4>>2]=j;a[k>>0]=1;f=t;break}i=t;j=i+48|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));a[t+46>>0]=1;f=t;i=0;j=0}else{j=t;f=t;i=c[j>>2]|0;j=c[j+4>>2]|0}while(0);E=Ft(i|0,j|0,432e5,0)|0;E=Mt(E|0,z|0,864e5,0)|0;o=+(E|0)/1.0e3;E=t+32|0;C=~~o;x=(C|0)/3600|0;F=t+20|0;c[F>>2]=x;x=(O(x,-3600)|0)+C|0;D=(x|0)/60|0;v=t+24|0;c[v>>2]=D;h[E>>3]=o-+(C|0)+ +((O(D,-60)|0)+x|0);x=t+41|0;a[x>>0]=0;a[G>>0]=1}else{E=t+32|0;F=t+20|0;f=t;v=t+24|0;x=t+41|0}D=t+16|0;C=t+8|0;w=t+28|0;y=t+44|0;u=t+12|0;t=0;i=0;c:while(1){j=a[K+i>>0]|0;d:do switch(j<<24>>24){case 0:break c;case 37:{s=i+1|0;r=a[K+s>>0]|0;do switch(r<<24>>24|0){case 100:{c[M>>2]=c[D>>2];wd(3,H+t|0,19343,M)|0;j=t+2|0;i=s;break d}case 102:{o=+h[E>>3];i=H+t|0;h[Q>>3]=o>59.999?59.999:o;wd(7,i,19348,Q)|0;if(!i)i=0;else i=(As(i)|0)&1073741823;j=i+t|0;i=s;break d}case 72:{c[Y>>2]=c[F>>2];wd(3,H+t|0,19343,Y)|0;j=t+2|0;i=s;break d}case 106:case 87:{i=c[C>>2]|0;g=c[F>>2]|0;m=c[v>>2]|0;n=c[w>>2]|0;o=+h[E>>3];j=a[x>>0]|0;p=a[G>>0]|0;q=a[y>>0]|0;if(a[I>>0]|0)if((i+4713|0)>>>0>14712){k=0;i=0}else J=77;else{i=2e3;J=77}if((J|0)==77){J=0;if(!(j<<24>>24)){k=i+-1|0;$=(+(((k|0)/-100|0)+431+((k|0)/400|0)+(((k*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;k=~~$>>>0;i=+B($)>=1.0?($>0.0?~~+P(+A($/4294967296.0),4294967295.0)>>>0:~~+N(($-+(~~$>>>0))/4294967296.0)>>>0):0;if(p<<24>>24){g=(m*6e4|0)+(O(g,36e5)|0)|0;$=o*1.0e3;j=+B($)>=1.0?($>0.0?~~+P(+A($/4294967296.0),4294967295.0)>>>0:~~+N(($-+(~~$>>>0))/4294967296.0)>>>0):0;m=q<<24>>24==0;p=n*6e4|0;p=Gt(0,0,p|0,((p|0)<0)<<31>>31|0)|0;q=m?0:z;n=Ft(~~$>>>0|0,j|0,g|0,((g|0)<0)<<31>>31|0)|0;q=Ft(n|0,z|0,(m?0:p)|0,q|0)|0;k=Ft(q|0,z|0,k|0,i|0)|0;i=z}}else{k=0;i=0}}g=f;j=c[g>>2]|0;g=c[g+4>>2]|0;i=Jt(Ft(Gt(432e5,0,k|0,i|0)|0,z|0,j|0,g|0)|0,z|0,864e5,0)|0;if(r<<24>>24==87){r=Ft(j|0,g|0,432e5,0)|0;r=Jt(r|0,z|0,864e5,0)|0;r=Mt(r|0,z|0,7,0)|0;c[Z>>2]=(i+7-r|0)/7|0;wd(3,H+t|0,19343,Z)|0;i=2}else{c[R>>2]=i+1;wd(4,H+t|0,19355,R)|0;i=3}j=i+t|0;i=s;break d}case 74:{i=H+t|0;r=f;h[S>>3]=(+((c[r>>2]|0)>>>0)+4294967296.0*+(c[r+4>>2]|0))/864.0e5;wd(20,i,19360,S)|0;if(!i)i=0;else i=(As(i)|0)&1073741823;j=i+t|0;i=s;break d}case 109:{c[T>>2]=c[u>>2];wd(3,H+t|0,19343,T)|0;j=t+2|0;i=s;break d}case 77:{c[U>>2]=c[v>>2];wd(3,H+t|0,19343,U)|0;j=t+2|0;i=s;break d}case 115:{i=H+t|0;q=f;r=V;c[r>>2]=Ft(Jt(c[q>>2]|0,c[q+4>>2]|0,1e3,0)|0,z|0,-413362496,-50)|0;c[r+4>>2]=z;wd(30,i,19366,V)|0;if(!i)i=0;else i=(As(i)|0)&1073741823;j=i+t|0;i=s;break d}case 83:{c[W>>2]=~~+h[E>>3];wd(3,H+t|0,19343,W)|0;j=t+2|0;i=s;break d}case 119:{j=f;a[H+t>>0]=(Mt(Jt(Ft(c[j>>2]|0,c[j+4>>2]|0,1296e5,0)|0,z|0,864e5,0)|0,z|0,7,0)|0)+48;j=t+1|0;i=s;break d}case 89:{i=H+t|0;c[X>>2]=c[C>>2];wd(5,i,19371,X)|0;if(!i)i=0;else i=(As(i)|0)&1073741823;j=i+t|0;i=s;break d}default:{a[H+t>>0]=37;j=t+1|0;i=s;break d}}while(0)}default:{a[H+t>>0]=j;j=t+1|0}}while(0);t=j;i=i+1|0}a[H+t>>0]=0;if((Ve(c[d>>2]|0,H,-1,1,(H|0)==(L|0)?-1:172)|0)!=18){l=_;return}c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;l=_;return}function tf(a,b,c){a=a|0;b=b|0;c=c|0;qf(a,0,0);return}function uf(a,b,c){a=a|0;b=b|0;c=c|0;rf(a,0,0);return}function vf(a,b,c){a=a|0;b=b|0;c=c|0;pf(a,0,0);return}function wf(f,g,i,j){f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0.0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0.0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0.0;ta=l;l=l+96|0;r=ta+72|0;sa=ta+64|0;na=ta+56|0;pa=ta+8|0;s=ta;t=j;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));if(!g){n=(c[f+12>>2]|0)+56|0;k=n;m=c[k>>2]|0;k=c[k+4>>2]|0;do if((m|0)==0&(k|0)==0){k=c[c[(c[f>>2]|0)+32>>2]>>2]|0;if((c[k>>2]|0)>1?(p=c[k+72>>2]|0,(p|0)!=0):0)k=kb[p&255](k,n)|0;else{k=kb[c[k+64>>2]&255](k,sa)|0;w=+h[sa>>3]*864.0e5;f=+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0;sa=n;c[sa>>2]=~~w>>>0;c[sa+4>>2]=f}if(!k){k=n;m=c[k>>2]|0;k=c[k+4>>2]|0;break}sa=n;c[sa>>2]=0;c[sa+4>>2]=0;c[j>>2]=0;c[j+4>>2]=0;j=1;l=ta;return j|0}while(0);sa=j;c[sa>>2]=m;c[sa+4>>2]=k;if(!((k|0)>0|(k|0)==0&m>>>0>0)){j=1;l=ta;return j|0}a[j+40>>0]=1;j=0;l=ta;return j|0}m=c[i>>2]|0;k=b[m+8>>1]|0;if(((d[19034+(k&31)>>0]|0)+-1|0)>>>0<2){k=k&65535;do if(!(k&8)){if(k&4|0){fa=m;o=+((c[fa>>2]|0)>>>0)+4294967296.0*+(c[fa+4>>2]|0);break}if(!(k&18))o=0.0;else o=+Ic(a[m+10>>0]|0,c[m+12>>2]|0,c[m+16>>2]|0)}else o=+h[m>>3];while(0);h[j+32>>3]=o;a[j+41>>0]=1;if(o>=0.0&o<5373484.5){w=o*864.0e5+.5;ea=+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0;fa=j;c[fa>>2]=~~w>>>0;c[fa+4>>2]=ea;a[j+40>>0]=1}}else{if(!m){j=1;l=ta;return j|0}k=k&65535;if((k&514|0)==514?(a[m+10>>0]|0)==1:0)p=c[m+16>>2]|0;else x=25;do if((x|0)==25)if(!(k&1)){p=Jc(m,1)|0;break}else{j=1;l=ta;return j|0}while(0);if(!p){j=1;l=ta;return j|0}m=(a[p>>0]|0)==45;k=m?p+1|0:p;c[r>>2]=sa;c[r+4>>2]=na;c[r+8>>2]=pa;a:do if((xf(k,19376,r)|0)==3){k=k+10|0;while(1){fa=a[k>>0]|0;if(fa<<24>>24==84?1:(a[18220+(fa&255)>>0]&1)!=0)k=k+1|0;else break}do if(yf(k,j)|0)if(!(a[k>>0]|0)){a[j+43>>0]=0;break}else{x=39;break a}while(0);a[j+40>>0]=0;a[j+42>>0]=1;fa=c[sa>>2]|0;c[j+8>>2]=m?0-fa|0:fa;c[j+12>>2]=c[na>>2];c[j+16>>2]=c[pa>>2];if(a[j+44>>0]|0)zf(j)}else x=39;while(0);b:do if((x|0)==39?yf(p,j)|0:0){fa=a[p>>0]|0;k=(d[17324+(fa&255)>>0]|0)+-110|0;if(!(fa<<24>>24==0|(k|0)!=0)){m=19388;n=p;do{n=n+1|0;m=m+1|0;fa=a[n>>0]|0;k=(d[17324+(fa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(fa<<24>>24==0|(k|0)!=0))}c:do if(!k){k=c[f+12>>2]|0;if((a[(c[k+88>>2]|0)+((c[f+16>>2]|0)*20|0)>>0]|0)==-93){c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,19392,-1,1,-1)|0;x=55;break}n=k+56|0;k=n;m=c[k>>2]|0;k=c[k+4>>2]|0;do if((m|0)==0&(k|0)==0){k=c[c[(c[f>>2]|0)+32>>2]>>2]|0;if((c[k>>2]|0)>1?(q=c[k+72>>2]|0,(q|0)!=0):0)k=kb[q&255](k,n)|0;else{k=kb[c[k+64>>2]&255](k,r)|0;w=+h[r>>3]*864.0e5;ea=+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0;fa=n;c[fa>>2]=~~w>>>0;c[fa+4>>2]=ea}if(!k){k=n;m=c[k>>2]|0;k=c[k+4>>2]|0;break}else{fa=n;c[fa>>2]=0;c[fa+4>>2]=0;fa=j;c[fa>>2]=0;c[fa+4>>2]=0;break c}}while(0);fa=j;c[fa>>2]=m;c[fa+4>>2]=k;if((k|0)>0|(k|0)==0&m>>>0>0){a[j+40>>0]=1;break b}}else x=55;while(0);if((x|0)==55?df(p,s,(As(p)|0)&1073741823,1)|0:0){o=+h[s>>3];h[j+32>>3]=o;a[j+41>>0]=1;if(!(o>=0.0&o<5373484.5))break;w=o*864.0e5+.5;ea=+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0;fa=j;c[fa>>2]=~~w>>>0;c[fa+4>>2]=ea;a[j+40>>0]=1;break}j=1;l=ta;return j|0}while(0)}d:do if((g|0)>1){C=f+12|0;D=f+16|0;E=f+20|0;F=f+25|0;G=j+42|0;H=j+43|0;I=j+44|0;J=j+41|0;K=j+32|0;L=j+40|0;M=j+45|0;Q=j+8|0;R=j+12|0;S=j+16|0;k=j+46|0;T=j+20|0;U=j+24|0;V=pa+40|0;W=pa+42|0;X=pa+41|0;Y=pa+43|0;Z=pa+20|0;_=pa+24|0;$=pa+32|0;aa=pa+44|0;ba=pa+28|0;ca=pa+46|0;da=pa+8|0;ea=pa+12|0;fa=pa+16|0;y=1;e:while(1){n=i+(y<<2)|0;p=c[n>>2]|0;m=e[p+8>>1]|0;if((m&514|0)==514?(a[p+10>>0]|0)==1:0){r=c[p+16>>2]|0;m=p}else if(!(m&1)){r=Jc(p,1)|0;m=c[n>>2]|0}else{r=0;m=p}n=e[m+8>>1]|0;if(!(n&2)){if(!(n&17))x=71}else if((a[m+10>>0]|0)!=1&(n&17|0)==0)x=71;if((x|0)==71){x=0;Ue(m,1)|0}if(!r){k=1;x=225;break}c[sa>>2]=1;m=a[r>>0]|0;f:do switch(a[17324+(m&255)>>0]|0){case 108:{if(!(m<<24>>24==0|m<<24>>24!=76&m<<24>>24!=108)){p=19459;m=r;do{m=m+1|0;p=p+1|0;x=a[m>>0]|0;n=(d[17324+(x&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(n|0)!=0));if(n|0){x=221;break f}}if((a[(c[(c[C>>2]|0)+88>>2]|0)+((c[D>>2]|0)*20|0)>>0]|0)==-93){c[E>>2]=1;a[F>>0]=1;Ve(c[f>>2]|0,19392,-1,1,-1)|0;x=221;break f}else{zf(j);v=Af(j,f,sa)|0;x=j;v=Ft(c[x>>2]|0,c[x+4>>2]|0,v|0,z|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z;a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;x=221;break f}}case 117:{q=m<<24>>24==0;if(!(q|m<<24>>24!=85&m<<24>>24!=117)){m=19469;n=r;do{n=n+1|0;m=m+1|0;v=a[n>>0]|0;p=(d[17324+(v&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(v<<24>>24==0|(p|0)!=0));if(!p)x=85}else x=85;if((x|0)==85?(0,a[J>>0]|0):0){o=+h[K>>3]*1.0e3+21086676.0e7;h[na>>3]=o;if(!(o>=0.0&o<4642690608.0e5)){x=221;break f}a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;v=+B(o)>=1.0?(o>0.0?~~+P(+A(o/4294967296.0),4294967295.0)>>>0:~~+N((o-+(~~o>>>0))/4294967296.0)>>>0):0;x=j;c[x>>2]=~~o>>>0;c[x+4>>2]=v;a[L>>0]=1;a[J>>0]=0;c[sa>>2]=0;x=220;break f}if(!q){p=19479;m=r;do{m=m+1|0;p=p+1|0;x=a[m>>0]|0;n=(d[17324+(x&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(n|0)!=0));if(n|0){x=221;break f}}if((a[(c[(c[C>>2]|0)+88>>2]|0)+((c[D>>2]|0)*20|0)>>0]|0)==-93){c[E>>2]=1;a[F>>0]=1;Ve(c[f>>2]|0,19392,-1,1,-1)|0;x=221;break f}if(a[M>>0]|0){c[sa>>2]=0;x=220;break f}zf(j);m=Af(j,f,sa)|0;n=z;if(!(c[sa>>2]|0)){v=j;v=Gt(c[v>>2]|0,c[v+4>>2]|0,m|0,n|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z;a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;x=Af(j,f,sa)|0;x=Gt(m|0,n|0,x|0,z|0)|0;v=j;v=Ft(x|0,z|0,c[v>>2]|0,c[v+4>>2]|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z}a[M>>0]=1;x=221;break}case 119:{do if(m<<24>>24){m=a[r+1>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==101){m=a[r+2>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==101){m=a[r+3>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==107){m=a[r+4>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==100){m=a[r+5>>0]|0;if(m<<24>>24){m=m&255;if((m|32|0)!=97){la=a[17324+m>>0]|0;ga=97;x=100;break}m=a[r+6>>0]|0;if(!(m<<24>>24)){m=19489;x=98;break}m=m&255;if((m|32|0)!=121){la=a[17324+m>>0]|0;ga=121;x=100;break}m=a[r+7>>0]|0;if(!(m<<24>>24)){m=19490;x=98;break}if(m<<24>>24!=32){la=a[17324+(m&255)>>0]|0;ga=32;x=100}}else{m=19488;x=98}}else{la=m;ga=100;x=100}}else{m=19487;x=98}}else{la=m;ga=107;x=100}}else{m=19486;x=98}}else{la=m;ga=101;x=100}}else{m=19485;x=98}}else{la=m;ga=101;x=100}}else{m=19484;x=98}}else{m=19483;x=98}while(0);if((x|0)==98){la=0;ga=a[17324+(d[m>>0]|0)>>0]|0;x=100}if((x|0)==100?(0,la<<24>>24!=ga<<24>>24):0){x=221;break f}x=r+8|0;if((df(x,na,(As(x)|0)&1073741823,1)|0)!=0?(w=+h[na>>3],ma=~~w,w<7.0&((ma|0)>-1&+(ma|0)==w)):0){if(!(a[G>>0]|0)){do if(a[L>>0]|0){n=j;m=c[n>>2]|0;n=c[n+4>>2]|0;if(n>>>0<108096|(n|0)==108096&m>>>0<275971584){x=Ft(m|0,n|0,432e5,0)|0;x=Jt(x|0,z|0,864e5,0)|0;v=~~((+(x|0)+-1867216.25)/36524.25);v=x+1525+v+((v|0)/-4|0)|0;x=~~((+(v|0)+-122.1)/365.25);v=v-((((x&32767)*36525|0)>>>0)/100|0)|0;m=~~(+(v|0)/30.6001);c[S>>2]=v-~~(+(m|0)*30.6001);m=m-((m|0)<14?1:13)|0;c[R>>2]=m;c[Q>>2]=x-((m|0)>2?4716:4715);m=G;break}else{t=j;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));m=k;break}}else{c[Q>>2]=2e3;c[R>>2]=1;c[S>>2]=1;m=G}while(0);a[m>>0]=1}if(!(a[H>>0]|0)){zf(j);u=j;u=Ft(c[u>>2]|0,c[u+4>>2]|0,432e5,0)|0;u=Mt(u|0,z|0,864e5,0)|0;w=+(u|0)/1.0e3;u=~~w;x=(u|0)/3600|0;c[T>>2]=x;x=(O(x,-3600)|0)+u|0;v=(x|0)/60|0;c[U>>2]=v;h[K>>3]=w-+(u|0)+ +((O(v,-60)|0)+x|0);a[J>>0]=0;a[H>>0]=1}a[I>>0]=0;a[L>>0]=0;zf(j);v=j;x=c[v>>2]|0;v=c[v+4>>2]|0;s=Ft(x|0,v|0,1296e5,0)|0;s=Jt(s|0,z|0,864e5,0)|0;s=Mt(s|0,z|0,7,0)|0;u=z;q=((ma|0)<0)<<31>>31;t=(u|0)>(q|0)|(u|0)==(q|0)&s>>>0>ma>>>0;r=Ft(s|0,u|0,-7,-1)|0;u=Gt(ma|0,q|0,(t?r:s)|0,(t?z:u)|0)|0;u=Lt(u|0,z|0,864e5,0)|0;v=Ft(u|0,z|0,x|0,v|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z;a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;c[sa>>2]=0;x=220}else x=221;break}case 115:{do if(m<<24>>24){m=a[r+1>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==116){m=a[r+2>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==97){m=a[r+3>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==114){m=a[r+4>>0]|0;if(m<<24>>24){v=m&255;m=a[17324+v>>0]|0;if((v|32|0)==116){m=a[r+5>>0]|0;if(m<<24>>24){if(m<<24>>24!=32){oa=a[17324+(m&255)>>0]|0;ha=32;x=115;break}m=a[r+6>>0]|0;if(!(m<<24>>24)){m=19498;x=113;break}m=m&255;if((m|32|0)!=111){oa=a[17324+m>>0]|0;ha=111;x=115;break}m=a[r+7>>0]|0;if(!(m<<24>>24)){m=19499;x=113;break}m=m&255;if((m|32|0)!=102){oa=a[17324+m>>0]|0;ha=102;x=115;break}m=a[r+8>>0]|0;if(!(m<<24>>24)){m=19500;x=113;break}if(m<<24>>24!=32){oa=a[17324+(m&255)>>0]|0;ha=32;x=115}}else{m=19497;x=113}}else{oa=m;ha=116;x=115}}else{m=19496;x=113}}else{oa=m;ha=114;x=115}}else{m=19495;x=113}}else{oa=m;ha=97;x=115}}else{m=19494;x=113}}else{oa=m;ha=116;x=115}}else{m=19493;x=113}}else{m=19492;x=113}while(0);if((x|0)==113){oa=0;ha=a[17324+(d[m>>0]|0)>>0]|0;x=115}if((x|0)==115?(x=0,oa<<24>>24!=ha<<24>>24):0){x=221;break f}m=a[G>>0]|0;do if(a[L>>0]|0){n=r+9|0;if(!(m<<24>>24)){p=j;m=c[p>>2]|0;p=c[p+4>>2]|0;if(p>>>0<108096|(p|0)==108096&m>>>0<275971584){x=Ft(m|0,p|0,432e5,0)|0;x=Jt(x|0,z|0,864e5,0)|0;v=~~((+(x|0)+-1867216.25)/36524.25);v=x+1525+v+((v|0)/-4|0)|0;x=~~((+(v|0)+-122.1)/365.25);v=v-((((x&32767)*36525|0)>>>0)/100|0)|0;m=~~(+(v|0)/30.6001);c[S>>2]=v-~~(+(m|0)*30.6001);m=m-((m|0)<14?1:13)|0;c[R>>2]=m;c[Q>>2]=x-((m|0)>2?4716:4715);m=G;x=125;break}else{t=j;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));m=k;x=125;break}}}else{if(m<<24>>24){n=r+9|0;break}if(!(a[H>>0]|0)){x=221;break f}c[Q>>2]=2e3;c[R>>2]=1;c[S>>2]=1;m=G;n=r+9|0;x=125}while(0);if((x|0)==125)a[m>>0]=1;a[H>>0]=1;c[U>>2]=0;c[T>>2]=0;h[K>>3]=0.0;a[J>>0]=0;a[I>>0]=0;a[L>>0]=0;s=a[n>>0]|0;r=d[17324+(s&255)>>0]|0;m=r+-109|0;s=s<<24>>24==0;if(!(s|(m|0)!=0)){p=19502;q=n;do{q=q+1|0;p=p+1|0;x=a[q>>0]|0;m=(d[17324+(x&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(m|0)!=0))}if(!m){c[S>>2]=1;c[sa>>2]=0;x=220;break f}m=r+-121|0;if(!(s|(m|0)!=0)){p=19508;q=n;do{q=q+1|0;p=p+1|0;x=a[q>>0]|0;m=(d[17324+(x&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(m|0)!=0))}if(!m){c[R>>2]=1;c[S>>2]=1;c[sa>>2]=0;x=220;break f}m=r+-100|0;if(!(s|(m|0)!=0)){p=19513;do{n=n+1|0;p=p+1|0;x=a[n>>0]|0;m=(d[17324+(x&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(m|0)!=0))}if(!m){c[sa>>2]=0;x=220}else x=221;break}case 57:case 56:case 55:case 54:case 53:case 52:case 51:case 50:case 49:case 48:case 45:case 43:{n=1;g:while(1){m=r+n|0;p=a[m>>0]|0;switch(p<<24>>24){case 58:case 0:break g;default:{}}if(a[18220+(p&255)>>0]&1)break;n=n+1|0}if(!(df(r,na,n,1)|0)){x=142;break e}n=a[m>>0]|0;if(n<<24>>24==58){m=((d[r>>0]|0)+-48|0)>>>0<10?r:r+1|0;t=pa;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));if(!(yf(m,pa)|0)){do if(!(a[V>>0]|0)){if(a[W>>0]|0){m=c[da>>2]|0;if((m+4713|0)>>>0<=14712){ia=c[ea>>2]|0;ja=c[fa>>2]|0;ka=m;x=150}}else{ia=1;ja=1;ka=2e3;x=150}if((x|0)==150?(0,(a[X>>0]|0)==0):0){n=(ia|0)<3;m=(n<<31>>31)+ka|0;w=(+(ja+2+((m|0)/-100|0)+((m|0)/400|0)+((((n?ia+12|0:ia)*306001|0)+306001|0)/1e4|0)+(((m*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;m=~~w>>>0;n=+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0;x=pa;c[x>>2]=m;c[x+4>>2]=n;a[V>>0]=1;if(!(a[Y>>0]|0))break;x=O(c[Z>>2]|0,36e5)|0;x=((c[_>>2]|0)*6e4|0)+x|0;w=+h[$>>3]*1.0e3;m=Ft(~~w>>>0|0,(+B(w)>=1.0?(w>0.0?~~+P(+A(w/4294967296.0),4294967295.0)>>>0:~~+N((w-+(~~w>>>0))/4294967296.0)>>>0):0)|0,m|0,n|0)|0;m=Ft(m|0,z|0,x|0,((x|0)<0)<<31>>31|0)|0;n=z;x=pa;c[x>>2]=m;c[x+4>>2]=n;if(!(a[aa>>0]|0))break;x=(c[ba>>2]|0)*6e4|0;m=Gt(m|0,n|0,x|0,((x|0)<0)<<31>>31|0)|0;n=z;x=pa;c[x>>2]=m;c[x+4>>2]=n;a[W>>0]=0;a[Y>>0]=0;a[aa>>0]=0;break}t=pa;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));a[ca>>0]=1;m=0;n=0}else{n=pa;m=c[n>>2]|0;n=c[n+4>>2]|0}while(0);x=Ft(m|0,n|0,-432e5,-1)|0;x=Mt(x|0,z|0,864e5,0)|0;v=z;u=(a[r>>0]|0)==45;t=Gt(0,0,x|0,v|0)|0;x=u?t:x;v=u?z:v;u=pa;c[u>>2]=x;c[u+4>>2]=v;zf(j);a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;u=j;v=Ft(c[u>>2]|0,c[u+4>>2]|0,x|0,v|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z;c[sa>>2]=0}x=221;break f}if(a[18220+(n&255)>>0]&1)do m=m+1|0;while((a[18220+(d[m>>0]|0)>>0]&1)!=0);n=(As(m)|0)&1073741823;if((n+-3|0)>>>0>7)x=221;else{t=n+-1|0;t=(a[m+t>>0]|32)<<24>>24==115?t:n;zf(j);c[sa>>2]=1;o=+h[na>>3];w=o<0.0?-.5:.5;h:do if((t|0)>0){v=0;i:while(1){do if((d[280+(v*24|0)+1>>0]|0)==(t|0)){q=c[280+(v*24|0)+4>>2]|0;r=m;s=t;while(1){n=a[q>>0]|0;if(!(n<<24>>24)){x=165;break}n=a[17324+(n&255)>>0]|0;p=a[17324+(d[r>>0]|0)>>0]|0;if(n<<24>>24!=p<<24>>24){qa=n;ra=p;x=166;break}if((s|0)>1){q=q+1|0;r=r+1|0;s=s+-1|0}else break}if((x|0)==165){qa=0;ra=a[17324+(d[r>>0]|0)>>0]|0;x=166}if((x|0)==166?(x=0,qa<<24>>24!=ra<<24>>24):0)break;ua=+h[280+(v*24|0)+8>>3];if(o>-ua&o>0]|0){case 1:{if(!(a[G>>0]|0)){do if(a[L>>0]|0){n=j;m=c[n>>2]|0;n=c[n+4>>2]|0;if(n>>>0<108096|(n|0)==108096&m>>>0<275971584){x=Ft(m|0,n|0,432e5,0)|0;x=Jt(x|0,z|0,864e5,0)|0;u=~~((+(x|0)+-1867216.25)/36524.25);u=x+1525+u+((u|0)/-4|0)|0;x=~~((+(u|0)+-122.1)/365.25);u=u-((((x&32767)*36525|0)>>>0)/100|0)|0;m=~~(+(u|0)/30.6001);c[S>>2]=u-~~(+(m|0)*30.6001);m=m-((m|0)<14?1:13)|0;c[R>>2]=m;c[Q>>2]=x-((m|0)>2?4716:4715);m=G;break}else{t=j;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));m=k;break}}else{c[Q>>2]=2e3;c[R>>2]=1;c[S>>2]=1;m=G}while(0);a[m>>0]=1}if(!(a[H>>0]|0)){zf(j);t=j;t=Ft(c[t>>2]|0,c[t+4>>2]|0,432e5,0)|0;t=Mt(t|0,z|0,864e5,0)|0;ua=+(t|0)/1.0e3;t=~~ua;x=(t|0)/3600|0;c[T>>2]=x;x=(O(x,-3600)|0)+t|0;u=(x|0)/60|0;c[U>>2]=u;h[K>>3]=ua-+(t|0)+ +((O(u,-60)|0)+x|0);a[J>>0]=0;a[H>>0]=1}x=~~o;u=(c[R>>2]|0)+x|0;t=(u-((u|0)>0?1:12)|0)/12|0;c[Q>>2]=t+(c[Q>>2]|0);c[R>>2]=(O(t,-12)|0)+u;a[L>>0]=0;o=o-+(x|0);h[na>>3]=o;break}case 2:{p=~~o;if(!(a[G>>0]|0)){do if(a[L>>0]|0){n=j;m=c[n>>2]|0;n=c[n+4>>2]|0;if(n>>>0<108096|(n|0)==108096&m>>>0<275971584){x=Ft(m|0,n|0,432e5,0)|0;x=Jt(x|0,z|0,864e5,0)|0;u=~~((+(x|0)+-1867216.25)/36524.25);u=x+1525+u+((u|0)/-4|0)|0;x=~~((+(u|0)+-122.1)/365.25);u=u-((((x&32767)*36525|0)>>>0)/100|0)|0;m=~~(+(u|0)/30.6001);c[S>>2]=u-~~(+(m|0)*30.6001);m=m-((m|0)<14?1:13)|0;c[R>>2]=m;c[Q>>2]=x-((m|0)>2?4716:4715);m=G;break}else{t=j;u=t+48|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));m=k;break}}else{c[Q>>2]=2e3;c[R>>2]=1;c[S>>2]=1;m=G}while(0);a[m>>0]=1}if(!(a[H>>0]|0)){zf(j);t=j;t=Ft(c[t>>2]|0,c[t+4>>2]|0,432e5,0)|0;t=Mt(t|0,z|0,864e5,0)|0;ua=+(t|0)/1.0e3;t=~~ua;x=(t|0)/3600|0;c[T>>2]=x;x=(O(x,-3600)|0)+t|0;u=(x|0)/60|0;c[U>>2]=u;h[K>>3]=ua-+(t|0)+ +((O(u,-60)|0)+x|0);a[J>>0]=0;a[H>>0]=1}c[Q>>2]=(c[Q>>2]|0)+p;a[L>>0]=0;o=o-+(p|0);h[na>>3]=o;break}default:{}}zf(j);ua=w+o*+h[280+(v*24|0)+16>>3];x=+B(ua)>=1.0?(ua>0.0?~~+P(+A(ua/4294967296.0),4294967295.0)>>>0:~~+N((ua-+(~~ua>>>0))/4294967296.0)>>>0):0;v=j;v=Ft(~~ua>>>0|0,x|0,c[v>>2]|0,c[v+4>>2]|0)|0;x=j;c[x>>2]=v;c[x+4>>2]=z;c[sa>>2]=0}while(0);a[G>>0]=0;a[H>>0]=0;a[I>>0]=0;x=221}break}default:x=221}while(0);if((x|0)==220)x=0;else if((x|0)==221?(x=0,c[sa>>2]|0):0){k=1;x=225;break}y=y+1|0;if((y|0)>=(g|0))break d}if((x|0)==142){j=1;l=ta;return j|0}else if((x|0)==225){l=ta;return k|0}}else k=j+46|0;while(0);zf(j);if(!(a[k>>0]|0)){sa=c[j+4>>2]|0;l=ta;return (sa>>>0>108096|(sa|0)==108096&(c[j>>2]|0)>>>0>275971583)&1|0}else{j=1;l=ta;return j|0}return 0}function xf(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;o=p;c[o>>2]=g;g=e;e=0;a:while(1){h=(d[f>>0]|0)+208&255;n=d[f+1>>0]|0;k=b[8964+((a[f+2>>0]|0)+-97<<1)>>1]|0;m=a[f+3>>0]|0;if(!(h<<24>>24))h=0;else{j=0;i=h;while(1){i=i+-1<<24>>24;h=a[g>>0]|0;if(((h&255)+-48|0)>>>0>=10){g=10;break a}h=(j*10|0)+-48+(h<<24>>24)|0;g=g+1|0;if(!(i<<24>>24))break;else j=h}}if((h|0)<((n<<24)+-805306368>>24|0)|(h|0)>(k&65535|0)){g=10;break}if(!(m<<24>>24)){g=7;break}if(m<<24>>24!=(a[g>>0]|0)){g=10;break}m=(c[o>>2]|0)+(4-1)&~(4-1);n=c[m>>2]|0;c[o>>2]=m+4;c[n>>2]=h;g=g+1|0;f=f+4|0;e=e+1|0}if((g|0)==7){m=(c[o>>2]|0)+(4-1)&~(4-1);n=c[m>>2]|0;c[o>>2]=m+4;c[n>>2]=h;o=e+1|0;l=p;return o|0}else if((g|0)==10){l=p;return e|0}return 0}function yf(b,e){b=b|0;e=e|0;var f=0,g=0,i=0,j=0.0,k=0.0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+48|0;s=u+16|0;g=u+8|0;r=u;q=u+36|0;n=u+32|0;o=u+28|0;p=u+24|0;c[r>>2]=n;c[r+4>>2]=o;if((xf(b,19559,r)|0)!=2){e=1;l=u;return e|0}m=b+5|0;if((a[m>>0]|0)==58){c[g>>2]=p;if((xf(b+6|0,19567,g)|0)!=1){e=1;l=u;return e|0}g=b+8|0;if((a[g>>0]|0)==46?(i=b+9|0,f=a[i>>0]|0,((f&255)+-48|0)>>>0<10):0){k=0.0;j=1.0;do{k=k*10.0+ +(f<<24>>24)+-48.0;j=j*10.0;i=i+1|0;f=a[i>>0]|0}while(((f&255)+-48|0)>>>0<10);j=k/j}else{j=0.0;i=g}}else{c[p>>2]=0;j=0.0;i=m}a[e+40>>0]=0;a[e+41>>0]=0;a[e+43>>0]=1;c[e+20>>2]=c[n>>2];c[e+24>>2]=c[o>>2];h[e+32>>3]=j+ +(c[p>>2]|0);while(1){f=i+1|0;if(!(a[18220+(d[i>>0]|0)>>0]&1))break;else i=f}b=e+28|0;c[b>>2]=0;g=a[i>>0]|0;switch(g<<24>>24){case 45:{g=-1;t=14;break}case 43:{g=1;t=14;break}default:if((g|32)<<24>>24==122){i=0;t=17}else f=0}do if((t|0)==14){c[s>>2]=r;c[s+4>>2]=q;if((xf(f,19571,s)|0)==2){t=O(((c[r>>2]|0)*60|0)+(c[q>>2]|0)|0,g)|0;c[b>>2]=t;f=i+6|0;i=t;t=17;break}e=1;l=u;return e|0}while(0);if((t|0)==17){while(1)if(!(a[18220+(d[f>>0]|0)>>0]&1))break;else f=f+1|0;a[e+45>>0]=1;g=a[f>>0]|0;f=i}if(g<<24>>24){e=1;l=u;return e|0}a[e+44>>0]=(f|0)!=0&1;e=0;l=u;return e|0}function zf(b){b=b|0;var d=0,e=0,f=0,g=0,i=0,j=0,k=0,l=0.0;j=b+40|0;if(a[j>>0]|0)return;k=b+42|0;if(a[k>>0]|0){g=c[b+8>>2]|0;if((g+4713|0)>>>0<=14712){d=c[b+12>>2]|0;e=c[b+16>>2]|0;f=g;i=4}}else{d=1;e=1;f=2e3;i=4}if((i|0)==4?(a[b+41>>0]|0)==0:0){i=(d|0)<3;g=(i<<31>>31)+f|0;l=(+(e+2+((g|0)/-100|0)+((g|0)/400|0)+((((i?d+12|0:d)*306001|0)+306001|0)/1e4|0)+(((g*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;d=~~l>>>0;e=+B(l)>=1.0?(l>0.0?~~+P(+A(l/4294967296.0),4294967295.0)>>>0:~~+N((l-+(~~l>>>0))/4294967296.0)>>>0):0;g=b;c[g>>2]=d;c[g+4>>2]=e;a[j>>0]=1;g=b+43|0;if(!(a[g>>0]|0))return;f=O(c[b+20>>2]|0,36e5)|0;f=((c[b+24>>2]|0)*6e4|0)+f|0;l=+h[b+32>>3]*1.0e3;d=Ft(~~l>>>0|0,(+B(l)>=1.0?(l>0.0?~~+P(+A(l/4294967296.0),4294967295.0)>>>0:~~+N((l-+(~~l>>>0))/4294967296.0)>>>0):0)|0,d|0,e|0)|0;d=Ft(d|0,z|0,f|0,((f|0)<0)<<31>>31|0)|0;e=z;f=b;c[f>>2]=d;c[f+4>>2]=e;f=b+44|0;if(!(a[f>>0]|0))return;j=(c[b+28>>2]|0)*6e4|0;j=Gt(d|0,e|0,j|0,((j|0)<0)<<31>>31|0)|0;c[b>>2]=j;c[b+4>>2]=z;a[k>>0]=0;a[g>>0]=0;a[f>>0]=0;return}d=b;e=d+48|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));a[b+46>>0]=1;return}function Af(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0.0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,D=0,E=0;E=l;l=l+16|0;C=E+6|0;y=E+4|0;D=E;f=b;g=c[f>>2]|0;f=c[f+4>>2]|0;i=c[b+8>>2]|0;j=c[b+12>>2]|0;k=c[b+16>>2]|0;s=c[b+20>>2]|0;r=c[b+24>>2]|0;n=+h[b+32>>3];p=a[b+40>>0]|0;q=a[b+41>>0]|0;o=a[b+42>>0]|0;a[C>>0]=o;t=a[b+43>>0]|0;m=a[b+44>>0]|0;a[y>>0]=a[b+46>>0]|0;if(!(o<<24>>24)){do if(p<<24>>24)if(f>>>0<108096|(f|0)==108096&g>>>0<275971584){i=Ft(g|0,f|0,432e5,0)|0;i=Jt(i|0,z|0,864e5,0)|0;b=~~((+(i|0)+-1867216.25)/36524.25);b=i+1525+b+((b|0)/-4|0)|0;i=~~((+(b|0)+-122.1)/365.25);b=b-((((i&32767)*36525|0)>>>0)/100|0)|0;k=~~(+(b|0)/30.6001);j=k-((k|0)<14?1:13)|0;o=C;i=i-((j|0)>2?4716:4715)|0;k=b-~~(+(k|0)*30.6001)|0;b=t;break}else{a[C>>0]=0;a[y>>0]=0;o=y;i=0;j=0;k=0;s=0;r=0;n=0.0;p=0;q=0;b=0;m=0;g=0;f=0;break}else{o=C;i=2e3;j=1;k=1;p=0;b=t}while(0);a[o>>0]=1;o=p}else{o=p;b=t}if(!(b<<24>>24)){do if(!(o<<24>>24)){if(a[C>>0]|0){if((i+4713|0)>>>0<=14712){u=j;v=k;w=i;x=11}}else{u=1;v=1;w=2e3;x=11}if((x|0)==11?q<<24>>24==0:0){f=(u|0)<3;g=(f<<31>>31)+w|0;n=(+(v+2+((g|0)/-100|0)+((g|0)/400|0)+((((f?u+12|0:u)*306001|0)+306001|0)/1e4|0)+(((g*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;g=~~n>>>0;f=+B(n)>=1.0?(n>0.0?~~+P(+A(n/4294967296.0),4294967295.0)>>>0:~~+N((n-+(~~n>>>0))/4294967296.0)>>>0):0;break}a[C>>0]=0;a[y>>0]=1;i=0;j=0;k=0;m=0;g=0;f=0}while(0);w=Ft(g|0,f|0,432e5,0)|0;w=Mt(w|0,z|0,864e5,0)|0;n=+(w|0)/1.0e3;w=~~n;s=(w|0)/3600|0;q=(O(s,-3600)|0)+w|0;x=(q|0)/60|0;r=x;n=n-+(w|0)+ +((O(x,-60)|0)+q|0);q=0}p=(i+-1971|0)>>>0>66;b=~~(n+.5);o=((b|0)<0)<<31>>31;f=p?2e3:i;if(a[C>>0]|0)if((f+4713|0)>>>0>14712)x=18;else{i=p?1:j;g=p?1:k;x=17}else{i=1;g=1;f=2e3;x=17}if((x|0)==17)if(!(q<<24>>24)){y=(i|0)<3;f=(y<<31>>31)+f|0;n=(+(g+2+((f|0)/-100|0)+((f|0)/400|0)+((((y?i+12|0:i)*306001|0)+306001|0)/1e4|0)+(((f*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;f=+B(n)>=1.0?(n>0.0?~~+P(+A(n/4294967296.0),4294967295.0)>>>0:~~+N((n-+(~~n>>>0))/4294967296.0)>>>0):0;y=(O(s,36e5)|0)+(r*6e4|0)|0;g=Lt(b|0,o|0,1e3,0)|0;g=Ft(y|0,((y|0)<0)<<31>>31|0,g|0,z|0)|0;f=Ft((p?0:g)|0,(p?0:z)|0,~~n>>>0|0,f|0)|0;g=z;if(!(m<<24>>24)){m=f;k=g}else{a[C>>0]=0;m=f;k=g}}else x=18;if((x|0)==18){a[C>>0]=0;a[y>>0]=1;m=0;k=0}j=Jt(m|0,k|0,1e3,0)|0;j=Ft(j|0,z|0,-413362496,0)|0;c[D>>2]=j;j=$a(D|0)|0;if((j|0)==0|(c[68]|0)!=0){c[d+20>>2]=1;a[d+25>>0]=1;Ve(c[d>>2]|0,19536,-1,1,-1)|0;c[e>>2]=1;d=0;e=0;z=d;l=E;return e|0}f=c[j+16>>2]|0;g=c[j+20>>2]|0;i=f+1|0;if((g+6613|0)>>>0>14712){f=0;g=0}else{d=c[j>>2]|0;d=Lt(d|0,((d|0)<0)<<31>>31|0,1e3,0)|0;D=O(c[j+8>>2]|0,36e5)|0;C=(i|0)<3;g=(C<<31>>31)+(g+1900)|0;n=(+(((g|0)/-100|0)+((c[j+12>>2]|0)+2)+((g|0)/400|0)+((((C?f+13|0:i)*306001|0)+306001|0)/1e4|0)+(((g*36525|0)+172251900|0)/100|0)|0)+-1524.5)*864.0e5;f=+B(n)>=1.0?(n>0.0?~~+P(+A(n/4294967296.0),4294967295.0)>>>0:~~+N((n-+(~~n>>>0))/4294967296.0)>>>0):0;g=((c[j+4>>2]|0)*6e4|0)+D|0;g=Ft(g|0,((g|0)<0)<<31>>31|0,d|0,z|0)|0;f=Ft(g|0,z|0,~~n>>>0|0,f|0)|0;g=z}c[e>>2]=0;e=Gt(f|0,g|0,m|0,k|0)|0;d=z;z=d;l=E;return e|0}function Bf(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+32|0;n=o;m=o+16|0;d=c[f>>2]|0;do if(d){g=e[d+8>>1]|0;if((g&514|0)==514?(a[d+10>>0]|0)==1:0){k=c[d+16>>2]|0;break}if(!(g&1))k=Jc(d,1)|0;else k=0}else k=0;while(0);d=c[f+4>>2]|0;do if(d){g=e[d+8>>1]|0;if((g&514|0)==514?(a[d+10>>0]|0)==1:0){f=c[d+16>>2]|0;break}if(!(g&1))f=Jc(d,1)|0;else f=0}else f=0;while(0);j=c[(c[b>>2]|0)+32>>2]|0;if(!k){l=o;return}if(!(a[k>>0]|0)){l=o;return}else{h=0;i=k}a:while(1){g=i;d=h;b:while(1){g=g+d|0;d=Ef(g,m)|0;switch(c[m>>2]|0){case 22:case 125:break a;case 158:break;default:break b}}if(!(a[g>>0]|0)){p=20;break}else{h=d;i=g}}if((p|0)==20){l=o;return}c[n>>2]=i-k;c[n+4>>2]=k;c[n+8>>2]=f;c[n+12>>2]=i+h;p=Ff(j,21026,n)|0;if((Ve(c[b>>2]|0,p,-1,1,172)|0)!=18){l=o;return}c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;l=o;return}function Cf(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+32|0;p=q;o=q+16|0;d=c[f>>2]|0;do if(d){g=e[d+8>>1]|0;if((g&514|0)==514?(a[d+10>>0]|0)==1:0){n=c[d+16>>2]|0;break}if(!(g&1))n=Jc(d,1)|0;else n=0}else n=0;while(0);d=c[f+4>>2]|0;do if(d){g=e[d+8>>1]|0;if((g&514|0)==514?(a[d+10>>0]|0)==1:0){f=c[d+16>>2]|0;break}if(!(g&1))f=Jc(d,1)|0;else f=0}else f=0;while(0);m=c[(c[b>>2]|0)+32>>2]|0;if(!n){l=q;return}if(!(a[n>>0]|0)){l=q;return}else{h=n;i=0;d=3}a:while(1){j=h;k=i;do{j=j+k|0;k=Ef(j,o)|0;g=c[o>>2]|0}while((g|0)==158);d=(g|0)==122|(g|0)==107?0:d+1|0;if((d|0)==2)switch(g|0){case 5:case 61:case 137:break a;default:d=2}if(!(a[j>>0]|0)){r=22;break}else{h=j;i=k}}if((r|0)==22){l=q;return}c[p>>2]=h-n;c[p+4>>2]=n;c[p+8>>2]=f;c[p+12>>2]=h+i;r=Ff(m,21026,p)|0;if((Ve(c[b>>2]|0,r,-1,1,172)|0)!=18){l=q;return}c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;l=q;return}function Df(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+32|0;G=H+16|0;D=H;C=H+24|0;F=c[(c[b>>2]|0)+32>>2]|0;h=c[g>>2]|0;do if(h){f=e[h+8>>1]|0;if((f&514|0)==514?(a[h+10>>0]|0)==1:0){h=c[h+16>>2]|0;break}if(!(f&1))h=Jc(h,1)|0;else h=0}else h=0;while(0);f=c[g+4>>2]|0;do if(f){i=e[f+8>>1]|0;if((i&514|0)==514?(a[f+10>>0]|0)==1:0){B=c[f+16>>2]|0;break}if(!(i&1))B=Jc(f,1)|0;else B=0}else B=0;while(0);f=c[g+8>>2]|0;do if(f){i=e[f+8>>1]|0;if((i&514|0)==514?(a[f+10>>0]|0)==1:0){p=c[f+16>>2]|0;break}if(!(i&1))p=Jc(f,1)|0;else p=0}else p=0;while(0);if((h|0)==0|(B|0)==0){l=H;return}a:do if(!(a[h>>0]|0))f=0;else{q=F+264|0;r=F+268|0;s=F+292|0;t=F+288|0;u=F+276|0;v=(F|0)==0;w=F+464|0;x=F+296|0;y=F+300|0;A=F+73|0;f=0;o=h;g=h;while(1){h=Ef(g,C)|0;do if((c[C>>2]|0)==105){i=h;h=g;b:while(1){n=h+i|0;i=Ef(n,C)|0;switch(c[C>>2]|0){case 159:{h=o;break a}case 158:{h=n;break}default:break b}}if(!n){h=o;break a}g=Ft(i|0,((i|0)<0)<<31>>31|0,1,0)|0;j=z;do if(c[q>>2]|0)if(!(a[A>>0]|0))E=33;else{h=o;break a}else{if(!(0>>0|(0==(j|0)?(e[r>>1]|0)>>>0>>0:0))){h=c[s>>2]|0;if(h|0){c[s>>2]=c[h>>2];c[u>>2]=(c[u>>2]|0)+1;m=h;break}h=c[t>>2]|0;if(!h)h=2;else{c[t>>2]=c[h>>2];c[u>>2]=(c[u>>2]|0)+1;m=h;break}}else h=1;E=F+276+(h<<2)|0;c[E>>2]=(c[E>>2]|0)+1;E=33}while(0);if((E|0)==33){E=0;m=Ec(F,g,j)|0}if(!m){h=o;break a}Tt(m|0,n|0,i|0)|0;a[m+i>>0]=0;h=a[m>>0]|0;if((a[18220+(h&255)>>0]|0)<0){j=h<<24>>24==91?93:h;k=0;h=1;while(1){g=a[m+h>>0]|0;if(g<<24>>24==j<<24>>24){h=h+1|0;g=m+k|0;if((a[m+h>>0]|0)!=j<<24>>24)break;a[g>>0]=j}else a[m+k>>0]=g;k=k+1|0;h=h+1|0}a[g>>0]=0;h=a[m>>0]|0}k=a[B>>0]|0;h=(d[17324+(k&255)>>0]|0)-(d[17324+(h&255)>>0]|0)|0;if(!(k<<24>>24==0|(h|0)!=0)){g=m;j=B;do{j=j+1|0;g=g+1|0;k=a[j>>0]|0;h=(d[17324+(k&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0}while(!(k<<24>>24==0|(h|0)!=0))}if(!h){c[D>>2]=f|0?f:47328;c[D+4>>2]=n-o;c[D+8>>2]=o;c[D+12>>2]=p;h=Ff(F,19702,D)|0;c:do if(f|0){do if(!v){if(c[w>>2]|0){Lc(F,f);break c}g=f;if(g>>>0<(c[x>>2]|0)>>>0)break;if(g>>>0>=(c[y>>2]|0)>>>0)break;c[f>>2]=c[s>>2];c[s>>2]=f;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{o=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=h;h=n+i|0}else h=o;if(!v){if(c[w>>2]|0){Lc(F,m);g=n;break}o=m;if(o>>>0>=(c[x>>2]|0)>>>0?o>>>0<(c[y>>2]|0)>>>0:0){c[m>>2]=c[s>>2];c[s>>2]=m;g=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);g=n;break}else{g=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);g=n;break}}else{i=h;h=o}while(0);g=g+i|0;if(!(a[g>>0]|0))break;else o=h}}while(0);c[G>>2]=f|0?f:47328;c[G+4>>2]=h;G=Ff(F,19713,G)|0;if((Ve(c[b>>2]|0,G,-1,1,172)|0)==18){c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0}if(!f){l=H;return}if(F|0){if(c[F+464>>2]|0){Lc(F,f);l=H;return}b=f;if(b>>>0>=(c[F+296>>2]|0)>>>0?b>>>0<(c[F+300>>2]|0)>>>0:0){b=F+292|0;c[f>>2]=c[b>>2];c[b>>2]=f;l=H;return}}if(!(c[2]|0)){pb[c[56>>2]&255](f);l=H;return}else{b=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);l=H;return}}function Ef(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=a[b>>0]|0;do switch(a[19718+(i&255)>>0]|0){case 7:{g=1;while(1)if(!(a[18220+(d[b+g>>0]|0)>>0]&1))break;else g=g+1|0;c[f>>2]=158;f=g;return f|0}case 11:{if((a[b+1>>0]|0)==45)g=2;else{c[f>>2]=89;f=1;return f|0}a:while(1){switch(a[b+g>>0]|0){case 0:case 10:break a;default:{}}g=g+1|0}c[f>>2]=158;f=g;return f|0}case 17:{c[f>>2]=22;f=1;return f|0}case 18:{c[f>>2]=23;f=1;return f|0}case 19:{c[f>>2]=1;f=1;return f|0}case 20:{c[f>>2]=88;f=1;return f|0}case 21:{c[f>>2]=90;f=1;return f|0}case 16:{if((a[b+1>>0]|0)==42?(g=a[b+2>>0]|0,g<<24>>24):0){h=a[b+3>>0]|0;b:do if(g<<24>>24==42&h<<24>>24==47){h=42;g=3}else{g=3;i=h;h=h&255;while(1){if(!(i<<24>>24))break b;g=g+1|0;j=a[b+g>>0]|0;if((h|0)==42&j<<24>>24==47){h=42;break}else{i=j;h=j&255}}}while(0);c[f>>2]=158;f=((h|0)!=0&1)+g|0;return f|0}c[f>>2]=91;f=1;return f|0}case 22:{c[f>>2]=92;f=1;return f|0}case 14:{c[f>>2]=53;f=(a[b+1>>0]|0)==61?2:1;return f|0}case 12:switch(a[b+1>>0]|0){case 61:{c[f>>2]=55;f=2;return f|0}case 62:{c[f>>2]=52;f=2;return f|0}case 60:{c[f>>2]=86;f=2;return f|0}default:{c[f>>2]=56;f=1;return f|0}}case 13:switch(a[b+1>>0]|0){case 61:{c[f>>2]=57;f=2;return f|0}case 62:{c[f>>2]=87;f=2;return f|0}default:{c[f>>2]=54;f=1;return f|0}}case 15:if((a[b+1>>0]|0)==61){c[f>>2]=52;f=2;return f|0}else{c[f>>2]=159;f=1;return f|0}case 10:if((a[b+1>>0]|0)==124){c[f>>2]=93;f=2;return f|0}else{c[f>>2]=85;f=1;return f|0}case 23:{c[f>>2]=26;f=1;return f|0}case 24:{c[f>>2]=84;f=1;return f|0}case 25:{c[f>>2]=95;f=1;return f|0}case 8:{h=a[b+1>>0]|0;c:do if(h<<24>>24){g=1;while(1){if(h<<24>>24==i<<24>>24){g=g+1|0;if((a[b+g>>0]|0)!=i<<24>>24)break}g=g+1|0;h=a[b+g>>0]|0;if(!(h<<24>>24))break c}if(i<<24>>24==39){c[f>>2]=97;f=g;return f|0}else{c[f>>2]=59;f=g;return f|0}}else g=1;while(0);c[f>>2]=159;f=g;return f|0}case 26:{if(((d[b+1>>0]|0)+-48|0)>>>0>=10){c[f>>2]=122;f=1;return f|0}break}case 3:break;case 9:{d:do if(i<<24>>24==93){h=1;g=93}else{h=1;while(1){g=a[b+h>>0]|0;if(!(g<<24>>24)){g=g&255;break d}h=h+1|0;if(g<<24>>24==93){g=93;break}}}while(0);c[f>>2]=(g|0)==93?59:159;f=h;return f|0}case 6:{c[f>>2]=135;g=1;while(1)if(((d[b+g>>0]|0)+-48|0)>>>0<10)g=g+1|0;else break;return g|0}case 5:case 4:{c[f>>2]=135;h=a[b+1>>0]|0;if(h<<24>>24){j=0;g=1;while(1){if(!(a[18220+(h&255)>>0]&70)){if((j|0)>0&h<<24>>24==40){k=80;break}if(h<<24>>24!=58){h=j;break}h=g+1|0;if((a[b+h>>0]|0)==58){i=j;g=h}else{h=j;break}}else i=j+1|0;g=g+1|0;h=a[b+g>>0]|0;if(!(h<<24>>24)){h=i;break}else j=i}do if((k|0)==80){while(1){k=0;i=g+1|0;h=a[b+i>>0]|0;if(!(h<<24>>24))break;if(h<<24>>24!=41?(a[18220+(h&255)>>0]&1)==0:0){g=i;k=80}else{k=82;break}}if((k|0)==82?h<<24>>24==41:0){h=j;g=g+2|0;break}c[f>>2]=159;h=j;g=i}while(0);if(h){f=g;return f|0}}else g=1;c[f>>2]=159;f=g;return f|0}case 1:{g=1;while(1){h=d[b+g>>0]|0;i=g+1|0;if((d[19718+h>>0]|0)<2)g=i;else break}if(!(a[18220+h>>0]&70)){c[f>>2]=59;if((g|0)<=1){f=g;return f|0}h=a[19974+((d[17324+(d[b>>0]|0)>>0]<<2^g^(d[17324+(d[b+(g+-1)>>0]|0)>>0]|0)*3|0)%127|0)>>0]|0;if(!(h<<24>>24)){f=g;return f|0}h=h&255;e:while(1){i=h+-1|0;f:do if((d[20101+i>>0]|0)==(g|0)){j=20225+(e[8976+(i<<1)>>1]|0)|0;h=0;while(1){if((a[b+h>>0]&-33|0)!=(a[j+h>>0]|0))break f;h=h+1|0;if((h|0)>=(g|0))break e}}while(0);h=a[20778+i>>0]|0;if(!(h<<24>>24)){k=113;break}else h=h&255}if((k|0)==113)return g|0;c[f>>2]=d[20902+i>>0];f=g;return f|0}else{g=i;k=111}break}case 0:{if((a[b+1>>0]|0)==39){c[f>>2]=133;g=2;while(1){h=a[b+g>>0]|0;if(!(a[18220+(h&255)>>0]&8))break;else g=g+1|0}if(h<<24>>24==39&(g&1|0)==0){h=g;g=1}else{c[f>>2]=159;g:while(1){i=a[b+g>>0]|0;switch(i<<24>>24){case 39:case 0:break g;default:{}}g=g+1|0}h=g;g=i<<24>>24!=0}f=(g&1)+h|0;return f|0}else{g=1;k=111}break}case 2:{g=1;k=111;break}default:{c[f>>2]=159;f=1;return f|0}}while(0);if((k|0)==111){while(1)if(!(a[18220+(d[b+g>>0]|0)>>0]&70))break;else{g=g+1|0;k=111}c[f>>2]=59;f=g;return f|0}c[f>>2]=134;g=a[b>>0]|0;h:do if(g<<24>>24==48){switch(a[b+1>>0]|0){case 88:case 120:break;default:{g=48;break h}}if(a[18220+(d[b+2>>0]|0)>>0]&8){g=3;while(1)if(!(a[18220+(d[b+g>>0]|0)>>0]&8))break;else g=g+1|0;return g|0}}while(0);if(((g&255)+-48|0)>>>0<10){h=1;while(1){g=a[b+h>>0]|0;if(((g&255)+-48|0)>>>0<10)h=h+1|0;else break}}else h=0;if(g<<24>>24==46){g=h;do{g=g+1|0;h=b+g|0}while(((d[h>>0]|0)+-48|0)>>>0<10);c[f>>2]=132;i=g;h=a[h>>0]|0}else{i=h;h=g}i:do switch(h<<24>>24){case 69:case 101:{g=a[b+(i+1)>>0]|0;if(((g&255)+-48|0)>>>0>=10){switch(g<<24>>24){case 45:case 43:break;default:{g=i;break i}}g=i+2|0;if(((d[b+g>>0]|0)+-48|0)>>>0>=10){g=i;break i}}else g=i+2|0;while(1){h=b+g|0;if(((d[h>>0]|0)+-48|0)>>>0<10)g=g+1|0;else break}c[f>>2]=132;h=a[h>>0]|0;break}default:g=i}while(0);if(!(a[18220+(h&255)>>0]&70)){f=g;return f|0}do{c[f>>2]=159;g=g+1|0}while((a[18220+(d[b+g>>0]|0)>>0]&70)!=0);return g|0}function Ff(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+112|0;k=m+16|0;n=m;c[n>>2]=e;f=c[b+100>>2]|0;h=k+4|0;c[h>>2]=m+40;c[k>>2]=b;c[k+8>>2]=70;i=k+12|0;c[i>>2]=f;f=k+16|0;c[f>>2]=0;j=k+20|0;a[j>>0]=0;g=k+21|0;a[g>>0]=1;Cc(k,d,n);e=c[h>>2]|0;if(((e|0)!=0?(a[e+(c[f>>2]|0)>>0]=0,(c[i>>2]|0)!=0):0)?(a[g>>0]&4)==0:0)d=Dc(k)|0;else d=c[h>>2]|0;if((a[j>>0]|0)!=1){l=m;return d|0}e=b+73|0;if(a[e>>0]|0){l=m;return d|0}if(a[b+74>>0]|0){l=m;return d|0}a[e>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;n=b+264|0;c[n>>2]=(c[n>>2]|0)+1;l=m;return d|0}function Gf(a){a=a|0;var b=0,d=0,e=0;e=l;l=l+16|0;d=e;b=bs(a+8|0)|0;if(!b){c[d>>2]=a;Bc(7,21073,d);d=0;l=e;return d|0}else{d=b;c[d>>2]=a;c[d+4>>2]=((a|0)<0)<<31>>31;d=b+8|0;l=e;return d|0}return 0}function Hf(a){a=a|0;cs(a+-8|0);return}function If(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=l;l=l+16|0;e=f;a=a+-8|0;d=es(a,b+8|0)|0;if(!d){c[e>>2]=c[a>>2];c[e+4>>2]=b;Bc(7,21037,e);e=0;l=f;return e|0}else{e=d;c[e>>2]=b;c[e+4>>2]=((b|0)<0)<<31>>31;e=d+8|0;l=f;return e|0}return 0}function Jf(a){a=a|0;return c[a+-8>>2]|0}function Kf(a){a=a|0;return a+7&-8|0}function Lf(a){a=a|0;return 0}function Mf(a){a=a|0;return}function Nf(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;h=b+73|0;if(a[h>>0]|0){m=0;return m|0}l=d;m=b+296|0;if(l>>>0>=(c[m>>2]|0)>>>0?(k=b+300|0,l>>>0<(c[k>>2]|0)>>>0):0){do if(!(c[b+264>>2]|0)){if(!(0>>0|(0==(g|0)?(e[b+268>>1]|0)>>>0>>0:0))){i=b+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;break}i=b+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;break}}else h=1;j=b+276+(h<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=11}else j=11;while(0);if((j|0)==11)h=Ec(b,f,g)|0;if(!h){m=0;return m|0}Tt(h|0,d|0,e[b+268>>1]|0)|0;if(!d){m=h;return m|0}if(c[b+464>>2]|0){Lc(b,d);m=h;return m|0}if(l>>>0>=(c[m>>2]|0)>>>0?l>>>0<(c[k>>2]|0)>>>0:0){m=b+292|0;c[d>>2]=c[m>>2];c[m>>2]=d;m=h;return m|0}if(!(c[2]|0)){pb[c[56>>2]&255](d);m=h;return m|0}else{m=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);m=h;return m|0}}if((Nc()|0)==0?(i=Oc(d,f,g)|0,i|0):0){m=i;return m|0}if(a[h>>0]|0){m=0;return m|0}if(a[b+74>>0]|0){m=0;return m|0}a[h>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;m=b+264|0;c[m>>2]=(c[m>>2]|0)+1;m=0;return m|0}function Of(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=f+10|0;h=g<<24>>24==1;if(!(h|(a[w>>0]|0)==1)){j=f+8|0;h=b[j>>1]|0;i=h&65535;do if(i&18){do if(i&16384){h=f+12|0;v=(c[f>>2]|0)+(c[h>>2]|0)|0;if(!(_e(f,(v|0)>1?v:1,1)|0)){Vt((c[f+16>>2]|0)+(c[h>>2]|0)|0,0,c[f>>2]|0)|0;c[h>>2]=(c[h>>2]|0)+(c[f>>2]|0);h=b[j>>1]&-16897;b[j>>1]=h;break}else{w=7;return w|0}}while(0);if(c[f+24>>2]|0?(c[f+16>>2]|0)==(c[f+20>>2]|0):0)break;if(!(bf(f)|0)){h=b[j>>1]|0;break}else{w=7;return w|0}}while(0);b[j>>1]=h&-4097;h=c[f+16>>2]|0;f=c[f+12>>2]&-2;i=h+f|0;if((f|0)>0)do{v=a[h>>0]|0;f=h+1|0;a[h>>0]=a[f>>0]|0;h=h+2|0;a[f>>0]=v}while(h>>>0>>0);a[w>>0]=g;w=0;return w|0}s=f+12|0;i=c[s>>2]|0;if(h){i=i&-2;c[s>>2]=i;n=i<<1|1}else n=(i<<1)+2|0;t=f+16|0;k=c[t>>2]|0;r=k+i|0;u=f+32|0;l=c[u>>2]|0;m=((n|0)<0)<<31>>31;do if(!l){q=Ft(n|0,m|0,-1,-1)|0;o=z;if(o>>>0>0|(o|0)==0&q>>>0>2147483390){w=7;return w|0}if(!(c[2]|0)){h=jb[c[52>>2]&255](n)|0;p=38;break}l=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;j=46456;h=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&h>>>0>0){o=c[11822]|0;q=Gt(h|0,j|0,l|0,((l|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&o>>>0>=q>>>0)&1}j=jb[c[52>>2]&255](l)|0;if(!j){w=7;return w|0}h=jb[c[64>>2]&255](j)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;q=j}else q=j}else{if(c[l+264>>2]|0){if(a[l+73>>0]|0){w=7;return w|0}}else{if(!(0>>0|(0==(m|0)?(e[l+268>>1]|0)>>>0>>0:0))){j=l+292|0;h=c[j>>2]|0;if(h|0){c[j>>2]=c[h>>2];p=l+276|0;c[p>>2]=(c[p>>2]|0)+1;p=38;break}j=l+288|0;h=c[j>>2]|0;if(!h)h=2;else{c[j>>2]=c[h>>2];p=l+276|0;c[p>>2]=(c[p>>2]|0)+1;p=38;break}}else h=1;q=l+276+(h<<2)|0;c[q>>2]=(c[q>>2]|0)+1}h=Ec(l,n,m)|0;p=38}while(0);if((p|0)==38)if(!h){w=7;return w|0}else q=h;switch(a[w>>0]|0){case 1:{h=(i|0)>0;if(g<<24>>24==2)if(h){h=q;i=k;do{k=i+1|0;o=a[i>>0]|0;i=o&255;if((o&255)>191){i=d[18928+(i+-192)>>0]|0;a:do if((k|0)==(r|0)){j=i;i=r}else{j=i;i=k;while(1){k=a[i>>0]|0;if((k&-64)<<24>>24!=-128)break a;i=i+1|0;j=k&63|j<<6;if((i|0)==(r|0)){i=r;break}}}while(0);if(!((j&-2|0)==65534|(j>>>0<128|(j&-2048|0)==55296))){m=j>>>8;k=j&255;if(j>>>0<65536){j=m;p=53}else{l=j+-65536|0;a[h>>0]=l>>>10&192|j>>>10&63;a[h+1>>0]=l>>>18&3|216;a[h+2>>0]=k;l=h+3|0;k=4;j=m&3|220}}else{j=65533;p=51}}else{j=i;i=k;p=51}if((p|0)==51){k=j&255;j=j>>>8;p=53}if((p|0)==53){p=0;a[h>>0]=k;l=h+1|0;k=2}h=h+k|0;a[l>>0]=j}while(i>>>0>>0)}else h=q;else if(h){o=q;h=k;while(1){i=h+1|0;n=a[h>>0]|0;h=n&255;if((n&255)>191){h=d[18928+(h+-192)>>0]|0;b:do if((i|0)==(r|0))i=r;else while(1){j=a[i>>0]|0;if((j&-64)<<24>>24!=-128)break b;i=i+1|0;h=j&63|h<<6;if((i|0)==(r|0)){i=r;break}}while(0);if(!((h&-2|0)==65534|(h>>>0<128|(h&-2048|0)==55296))){k=h&255;j=h>>>8;if(h>>>0<65536){n=o;l=2;m=1}else{n=h+-65536|0;a[o>>0]=n>>>18&3|216;a[o+1>>0]=n>>>10&192|h>>>10&63;n=o+2|0;j=j&3|220;l=4;m=3}}else{h=65533;p=61}}else p=61;if((p|0)==61){p=0;n=o;j=h>>>8;l=2;m=1;k=h&255}a[n>>0]=j;h=o+l|0;a[o+m>>0]=k;if(i>>>0>>0){o=h;h=i}else break}}else h=q;c[s>>2]=h-q;a[h>>0]=0;h=h+1|0;break}case 2:{if((i|0)>0){h=q;do{i=d[k>>0]|0;l=k+2|0;p=d[k+1>>0]<<8;j=p|i;if(l>>>0>>0&(p&63488|0)==55296){j=(j<<10&983040)+65536|i<<10&64512|d[l>>0]|d[k+3>>0]<<8&768;k=k+4|0}else k=l;do if(j>>>0>=128){i=j>>>6;l=(j&63|128)&255;if(j>>>0<2048){a[h>>0]=i&31|192;a[h+1>>0]=l;h=h+2|0;break}m=j>>>12;i=(i&63|128)&255;if(j>>>0<65536){a[h>>0]=m&15|224;a[h+1>>0]=i;a[h+2>>0]=l;h=h+3|0;break}else{a[h>>0]=j>>>18&7|240;a[h+1>>0]=m&63|128;a[h+2>>0]=i;a[h+3>>0]=l;h=h+4|0;break}}else{a[h>>0]=j;h=h+1|0}while(0)}while(k>>>0>>0);p=85}else{h=q;p=85}break}default:if((i|0)>0){h=q;while(1){p=d[k>>0]<<8;i=k+2|0;j=d[k+1>>0]|0;l=p|j;if(i>>>0>>0&(p&63488|0)==55296){m=k+4|0;l=(l<<10&983040)+65536|j<<10&64512|d[k+3>>0]|d[i>>0]<<8&768}else m=i;do if(l>>>0>=128){i=l>>>6;j=(l&63|128)&255;if(l>>>0<2048){a[h>>0]=i&31|192;a[h+1>>0]=j;h=h+2|0;break}k=l>>>12;i=(i&63|128)&255;if(l>>>0<65536){a[h>>0]=k&15|224;a[h+1>>0]=i;a[h+2>>0]=j;h=h+3|0;break}else{a[h>>0]=l>>>18&7|240;a[h+1>>0]=k&63|128;a[h+2>>0]=i;a[h+3>>0]=j;h=h+4|0;break}}else{a[h>>0]=l;h=h+1|0}while(0);if(m>>>0>>0)k=m;else{p=85;break}}}else{h=q;p=85}}if((p|0)==85)c[s>>2]=h-q;a[h>>0]=0;h=f+8|0;i=b[h>>1]|0;if(!((i&9312)==0?!(c[f+24>>2]|0):0))af(f);b[h>>1]=i&-32739|514;a[w>>0]=g;c[t>>2]=q;c[f+20>>2]=q;h=c[u>>2]|0;if(((h|0)!=0?(v=q,v>>>0>=(c[h+296>>2]|0)>>>0):0)?v>>>0<(c[h+300>>2]|0)>>>0:0)h=e[h+268>>1]|0;else h=jb[c[64>>2]&255](q)|0;c[f+24>>2]=h;w=0;return w|0}function Pf(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;m=o+8|0;k=o;n=d+8|0;j=b[n>>1]|0;do if((c[d+24>>2]|0)<32){if(!(_e(d,32,0)|0)){i=d+16|0;g=i;i=c[i>>2]|0;break}a[d+10>>0]=0;n=7;l=o;return n|0}else{i=c[d+20>>2]|0;g=d+16|0;c[g>>2]=i;b[n>>1]=j&13}while(0);if(!(j&4)){h[m>>3]=+h[d>>3];wd(32,i,19085,m)|0}else{p=d;j=c[p+4>>2]|0;m=k;c[m>>2]=c[p>>2];c[m+4>>2]=j;wd(32,i,19366,k)|0}g=c[g>>2]|0;if(!g)g=0;else g=(As(g)|0)&1073741823;c[d+12>>2]=g;a[d+10>>0]=1;p=b[n>>1]|514;b[n>>1]=f<<24>>24==0?p:p&-13;if(e<<24>>24==1){p=0;l=o;return p|0}Of(d,e)|0;p=0;l=o;return p|0}function Qf(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d+4|0;do if(!(c[f>>2]&8404992)){e=c[d+12>>2]|0;if(e|0?(a[d>>0]|0)!=-104:0)Qf(b,e);e=c[d+16>>2]|0;if(e|0){Qf(b,e);break}e=d+20|0;if(!(c[f>>2]&2048)){e=c[e>>2]|0;if(!e)break;Rf(b,e);break}else{e=c[e>>2]|0;if(!e)break;Sf(b,e,1);break}}while(0);do if(c[f>>2]&65536|0?(g=c[d+8>>2]|0,g|0):0){if(b|0){if(c[b+464>>2]|0){Lc(b,g);break}e=g;if(e>>>0>=(c[b+296>>2]|0)>>>0?e>>>0<(c[b+300>>2]|0)>>>0:0){e=b+292|0;c[g>>2]=c[e>>2];c[e>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{e=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);if(c[f>>2]&32768|0)return;if(b|0){if(c[b+464>>2]|0){Lc(b,d);return}g=d;if(g>>>0>=(c[b+296>>2]|0)>>>0?g>>>0<(c[b+300>>2]|0)>>>0:0){g=b+292|0;c[d>>2]=c[g>>2];c[g>>2]=d;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{g=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Rf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=c[b>>2]|0;d=b+4|0;g=(a|0)==0;h=a+464|0;i=a+296|0;j=a+300|0;k=a+292|0;if(g){f=e;while(1){e=c[d>>2]|0;if(e|0)Qf(0,e);e=c[d+4>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{l=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);e=c[d+8>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{l=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);if((f|0)>1){d=d+20|0;f=f+-1|0}else break}}else{f=e;while(1){e=c[d>>2]|0;if(e|0)Qf(a,e);e=c[d+4>>2]|0;do if(e|0){if(c[h>>2]|0){Lc(a,e);break}l=e;if(l>>>0>=(c[i>>2]|0)>>>0?l>>>0<(c[j>>2]|0)>>>0:0){c[e>>2]=c[k>>2];c[k>>2]=e;break}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{l=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[d+8>>2]|0;do if(e|0){if(c[h>>2]|0){Lc(a,e);break}l=e;if(l>>>0>=(c[i>>2]|0)>>>0?l>>>0<(c[j>>2]|0)>>>0:0){c[e>>2]=c[k>>2];c[k>>2]=e;break}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{l=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);if((f|0)>1){d=d+20|0;f=f+-1|0}else break}}if(!g){if(c[h>>2]|0){Lc(a,b);return}l=b;if(l>>>0>=(c[i>>2]|0)>>>0?l>>>0<(c[j>>2]|0)>>>0:0){c[b>>2]=c[k>>2];c[k>>2]=b;return}}if(!b)return;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{l=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function Sf(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!b)return;j=(a|0)==0;k=a+464|0;l=a+296|0;m=a+300|0;n=a+292|0;while(1){i=b;b=c[b+48>>2]|0;e=c[i>>2]|0;if(e|0)Rf(a,e);ag(a,c[i+28>>2]|0);e=c[i+32>>2]|0;if(e|0)Qf(a,e);e=c[i+36>>2]|0;if(e|0)Rf(a,e);e=c[i+40>>2]|0;if(e|0)Qf(a,e);e=c[i+44>>2]|0;if(e|0)Rf(a,e);e=c[i+56>>2]|0;if(e|0)Qf(a,e);h=c[i+60>>2]|0;do if(h|0){a:do if((c[h>>2]|0)>0){if(j){f=0;while(1){e=c[h+8+(f<<4)+4>>2]|0;if(e|0)Rf(0,e);e=c[h+8+(f<<4)+8>>2]|0;if(e|0)Sf(0,e,1);e=c[h+8+(f<<4)>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{g=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);f=f+1|0;if((f|0)>=(c[h>>2]|0))break a}}else g=0;do{e=c[h+8+(g<<4)+4>>2]|0;if(e|0)Rf(a,e);e=c[h+8+(g<<4)+8>>2]|0;if(e|0)Sf(a,e,1);e=c[h+8+(g<<4)>>2]|0;b:do if(e|0){if(c[k>>2]|0){Lc(a,e);break}f=e;do if(f>>>0>=(c[l>>2]|0)>>>0){if(f>>>0>=(c[m>>2]|0)>>>0)break;c[e>>2]=c[n>>2];c[n>>2]=e;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{f=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);g=g+1|0}while((g|0)<(c[h>>2]|0))}while(0);if(!j){if(c[k>>2]|0){Lc(a,h);break}g=h;if(g>>>0>=(c[l>>2]|0)>>>0?g>>>0<(c[m>>2]|0)>>>0:0){c[h>>2]=c[n>>2];c[n>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);do if(d|0){if(!j){if(c[k>>2]|0){Lc(a,i);break}h=i;if(h>>>0>=(c[l>>2]|0)>>>0?h>>>0<(c[m>>2]|0)>>>0:0){c[i>>2]=c[n>>2];c[n>>2]=i;break}}if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{h=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if(!b)break;else d=1}return}function Tf(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;g=c[e+8>>2]|0;if(g|0){k=(d|0)==0;m=e+56|0;n=d+464|0;o=d+296|0;p=d+300|0;j=d+292|0;do{i=g;g=c[g+20>>2]|0;if(!(!k?(c[n>>2]|0)!=0:0))q=5;if((q|0)==5?(0,(c[m>>2]|0)==0):0)_f((c[i+24>>2]|0)+24|0,c[i>>2]|0,0)|0;h=c[i+36>>2]|0;if(h|0)Qf(d,h);h=c[i+40>>2]|0;if(h|0)Rf(d,h);h=c[i+16>>2]|0;do if(h|0){if(!k){if(c[n>>2]|0){Lc(d,h);break}q=h;if(q>>>0>=(c[o>>2]|0)>>>0?q>>>0<(c[p>>2]|0)>>>0:0){c[h>>2]=c[j>>2];c[j>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);a:do if((a[i+55>>0]&16)!=0?(l=c[i+32>>2]|0,(l|0)!=0):0){do if(!k){if(!(c[n>>2]|0)){h=l;if(h>>>0<(c[o>>2]|0)>>>0)break;if(h>>>0>=(c[p>>2]|0)>>>0)break;c[l>>2]=c[j>>2];c[j>>2]=l}else Lc(d,l);h=i;q=35;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](l);q=34;break}else{q=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);q=34;break}}else q=34;while(0);if((q|0)==34)if(k){h=i;q=40}else{h=i;q=35}do if((q|0)==35){q=0;if(c[n>>2]|0){Lc(d,h);break}u=i;if(u>>>0>=(c[o>>2]|0)>>>0?u>>>0<(c[p>>2]|0)>>>0:0){c[i>>2]=c[j>>2];c[j>>2]=i}else q=40}while(0);do if((q|0)==40){q=0;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{u=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0)}while((g|0)!=0)}g=c[e+16>>2]|0;if(g|0){n=(d|0)==0;o=e+72|0;p=d+464|0;k=d+296|0;l=d+300|0;m=d+292|0;do{if(!(!n?(c[p>>2]|0)!=0:0)){j=g+16|0;h=c[j>>2]|0;i=g+12|0;if(!h){u=c[i>>2]|0;_f((c[o>>2]|0)+56|0,c[((u|0)==0?g:u)+8>>2]|0,u)|0}else c[h+12>>2]=c[i>>2];h=c[i>>2]|0;if(h|0)c[h+16>>2]=c[j>>2]}j=c[g+28>>2]|0;do if(j|0){i=c[j+28>>2]|0;h=c[i+16>>2]|0;if(h|0)Qf(d,h);h=c[i+20>>2]|0;if(h|0)Rf(d,h);h=c[i+8>>2]|0;if(h|0)Sf(d,h,1);h=c[j+12>>2]|0;if(h|0)Qf(d,h);if(!n){if(c[p>>2]|0){Lc(d,j);break}u=j;if(u>>>0>=(c[k>>2]|0)>>>0?u>>>0<(c[l>>2]|0)>>>0:0){c[j>>2]=c[m>>2];c[m>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);j=c[g+32>>2]|0;b:do if(j){i=c[j+28>>2]|0;h=c[i+16>>2]|0;if(h|0)Qf(d,h);h=c[i+20>>2]|0;if(h|0)Rf(d,h);h=c[i+8>>2]|0;if(h|0)Sf(d,h,1);h=c[j+12>>2]|0;if(h|0)Qf(d,h);do if(!n){if(!(c[p>>2]|0)){h=j;if(h>>>0<(c[k>>2]|0)>>>0)break;if(h>>>0>=(c[l>>2]|0)>>>0)break;c[j>>2]=c[m>>2];c[m>>2]=j}else Lc(d,j);h=c[g+4>>2]|0;q=90;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);q=89;break}else{q=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);q=89;break}}else q=89;while(0);if((q|0)==89){h=c[g+4>>2]|0;if(n)q=95;else q=90}do if((q|0)==90){q=0;if(c[p>>2]|0){Lc(d,g);g=h;break}u=g;if(u>>>0>=(c[k>>2]|0)>>>0?u>>>0<(c[l>>2]|0)>>>0:0){c[g>>2]=c[m>>2];c[m>>2]=g;g=h}else q=95}while(0);do if((q|0)==95){q=0;if(!(c[2]|0)){pb[c[56>>2]&255](g);g=h;break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);g=h;break}}while(0)}while((g|0)!=0)}n=e+4|0;h=c[n>>2]|0;do if(h|0){o=e+42|0;c:do if((b[o>>1]|0)>0){j=d+464|0;k=d+296|0;l=d+300|0;m=d+292|0;if(!d){i=0;while(1){g=c[h>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);g=c[h+4>>2]|0;if(g|0)Qf(0,g);g=c[h+8>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);i=i+1|0;if((i|0)>=(b[o>>1]|0))break c;else h=h+16|0}}else i=0;while(1){g=c[h>>2]|0;do if(g|0){if(c[j>>2]|0){Lc(d,g);break}u=g;if(u>>>0>=(c[k>>2]|0)>>>0?u>>>0<(c[l>>2]|0)>>>0:0){c[g>>2]=c[m>>2];c[m>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);g=c[h+4>>2]|0;if(g|0)Qf(d,g);g=c[h+8>>2]|0;do if(g|0){if(c[j>>2]|0){Lc(d,g);break}u=g;if(u>>>0>=(c[k>>2]|0)>>>0?u>>>0<(c[l>>2]|0)>>>0:0){c[g>>2]=c[m>>2];c[m>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);i=i+1|0;if((i|0)>=(b[o>>1]|0))break;else h=h+16|0}}while(0);g=c[n>>2]|0;if(g|0){if(d|0){if(c[d+464>>2]|0){Lc(d,g);break}u=g;if(u>>>0>=(c[d+296>>2]|0)>>>0?u>>>0<(c[d+300>>2]|0)>>>0:0){u=d+292|0;c[g>>2]=c[u>>2];c[u>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}while(0);g=c[e>>2]|0;do if(g|0){if(d|0){if(c[d+464>>2]|0){Lc(d,g);break}u=g;if(u>>>0>=(c[d+296>>2]|0)>>>0?u>>>0<(c[d+300>>2]|0)>>>0:0){u=d+292|0;c[g>>2]=c[u>>2];c[u>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);g=c[e+20>>2]|0;do if(g|0){if(d|0){if(c[d+464>>2]|0){Lc(d,g);break}u=g;if(u>>>0>=(c[d+296>>2]|0)>>>0?u>>>0<(c[d+300>>2]|0)>>>0:0){u=d+292|0;c[g>>2]=c[u>>2];c[u>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);g=c[e+12>>2]|0;if(g|0)Sf(d,g,1);g=c[e+24>>2]|0;if(g|0)Rf(d,g);n=(d|0)==0;if(!(!n?(c[d+464>>2]|0)!=0:0))q=170;d:do if((q|0)==170?(r=e+64|0,f=c[r>>2]|0,c[r>>2]=0,f|0):0)while(1){while(1){g=c[f>>2]|0;h=f+24|0;i=c[h>>2]|0;if(!g)break;u=g+352|0;c[h>>2]=c[u>>2];c[u>>2]=f;if(!i)break d;else f=i}c[r>>2]=f;c[h>>2]=0;if(!i)break;else f=i}while(0);l=e+60|0;e:do if(c[l>>2]|0){m=e+56|0;f:do if((c[m>>2]|0)>0){h=d+464|0;i=d+296|0;j=d+300|0;k=d+292|0;if(n){f=0;while(1){do if((f|0)!=1?(s=c[(c[l>>2]|0)+(f<<2)>>2]|0,s|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{u=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);f=f+1|0;if((f|0)>=(c[m>>2]|0))break f}}else f=0;do{g:do if((f|0)!=1?(t=c[(c[l>>2]|0)+(f<<2)>>2]|0,t|0):0){if(c[h>>2]|0){Lc(d,t);break}g=t;do if(g>>>0>=(c[i>>2]|0)>>>0){if(g>>>0>=(c[j>>2]|0)>>>0)break;c[t>>2]=c[k>>2];c[k>>2]=t;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{u=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}}while(0);f=f+1|0}while((f|0)<(c[m>>2]|0))}while(0);f=c[l>>2]|0;if(f){do if(!n){if(!(c[d+464>>2]|0)){g=f;if(g>>>0<(c[d+296>>2]|0)>>>0)break;if(g>>>0>=(c[d+300>>2]|0)>>>0)break;u=d+292|0;c[f>>2]=c[u>>2];c[u>>2]=f}else Lc(d,f);f=e;q=207;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);q=206;break}else{q=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);q=206;break}}else q=206}else q=206;while(0);if((q|0)==206)if(!n){f=e;q=207}if((q|0)==207){if(c[d+464>>2]|0){Lc(d,f);return}u=e;if(u>>>0>=(c[d+296>>2]|0)>>>0?u>>>0<(c[d+300>>2]|0)>>>0:0){u=d+292|0;c[e>>2]=c[u>>2];c[u>>2]=e;return}else e=f}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{u=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}function Uf(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=d+100|0;e=c[q>>2]|0;f=b[d+140>>1]|0;a:do if((e|0)!=0&f<<16>>16!=0){n=e+(((f&65535)<<1)*40|0)|0;i=c[e+32>>2]|0;j=i+464|0;f=(i|0)==0;k=i+296|0;l=i+300|0;m=i+292|0;if(c[j>>2]|0){if(f)while(1){do if(c[e+24>>2]|0?(g=c[e+20>>2]|0,g|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{m=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);e=e+40|0;if(e>>>0>=n>>>0)break a}while(1){do if(c[e+24>>2]|0?(h=c[e+20>>2]|0,h|0):0){if(c[j>>2]|0){Lc(i,h);break}g=h;if(g>>>0>=(c[k>>2]|0)>>>0?g>>>0<(c[l>>2]|0)>>>0:0){c[h>>2]=c[m>>2];c[m>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);e=e+40|0;if(e>>>0>=n>>>0)break a}}if(f)while(1){f=e+8|0;if(!(b[f>>1]&9312)){g=e+24|0;if(c[g>>2]|0){h=c[e+20>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{m=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[g>>2]=0}}else af(e);b[f>>1]=128;e=e+40|0;if(e>>>0>=n>>>0)break a}do{f=e+8|0;if(!(b[f>>1]&9312)){g=e+24|0;if(c[g>>2]|0){h=c[e+20>>2]|0;do if(!(c[j>>2]|0)){r=h;if(r>>>0>=(c[k>>2]|0)>>>0?r>>>0<(c[l>>2]|0)>>>0:0){c[h>>2]=c[m>>2];c[m>>2]=h;break}if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{r=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else Lc(i,h);while(0);c[g>>2]=0}}else af(e);b[f>>1]=128;e=e+40|0}while(e>>>0>>0)}while(0);e=c[d+208>>2]|0;b:do if(e|0){g=a+464|0;h=a+296|0;i=a+300|0;j=a+292|0;if(!a)while(1){f=e;e=c[e+24>>2]|0;Vf(0,c[f>>2]|0,c[f+4>>2]|0);if(!(c[2]|0))pb[c[56>>2]&255](f);else{r=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}if(!e)break b}do{f=e;e=c[e+24>>2]|0;Vf(a,c[f>>2]|0,c[f+4>>2]|0);do if(!(c[g>>2]|0)){r=f;if(r>>>0>=(c[h>>2]|0)>>>0?r>>>0<(c[i>>2]|0)>>>0:0){c[f>>2]=c[j>>2];c[j>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{r=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}else Lc(a,f);while(0)}while((e|0)!=0)}while(0);do if((c[d+20>>2]|0)!=381479589){e=c[d+116>>2]|0;f=b[d+16>>1]|0;c:do if((e|0)!=0&f<<16>>16!=0){n=e+((f<<16>>16)*40|0)|0;i=c[e+32>>2]|0;j=i+464|0;f=(i|0)==0;k=i+296|0;l=i+300|0;m=i+292|0;if(c[j>>2]|0){if(f)while(1){do if(c[e+24>>2]|0?(o=c[e+20>>2]|0,o|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{r=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}while(0);e=e+40|0;if(e>>>0>=n>>>0)break c}while(1){do if(c[e+24>>2]|0?(p=c[e+20>>2]|0,p|0):0){if(c[j>>2]|0){Lc(i,p);break}r=p;if(r>>>0>=(c[k>>2]|0)>>>0?r>>>0<(c[l>>2]|0)>>>0:0){c[p>>2]=c[m>>2];c[m>>2]=p;break}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{r=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);e=e+40|0;if(e>>>0>=n>>>0)break c}}if(f)while(1){f=e+8|0;if(!(b[f>>1]&9312)){g=e+24|0;if(c[g>>2]|0){h=c[e+20>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{r=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[g>>2]=0}}else af(e);b[f>>1]=128;e=e+40|0;if(e>>>0>=n>>>0)break c}do{f=e+8|0;if(!(b[f>>1]&9312)){g=e+24|0;if(c[g>>2]|0){h=c[e+20>>2]|0;do if(!(c[j>>2]|0)){r=h;if(r>>>0>=(c[k>>2]|0)>>>0?r>>>0<(c[l>>2]|0)>>>0:0){c[h>>2]=c[m>>2];c[m>>2]=h;break}if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{r=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else Lc(i,h);while(0);c[g>>2]=0}}else af(e);b[f>>1]=128;e=e+40|0}while(e>>>0>>0)}while(0);e=c[d+120>>2]|0;do if(e|0){if(a|0){if(c[a+464>>2]|0){Lc(a,e);break}r=e;if(r>>>0>=(c[a+296>>2]|0)>>>0?r>>>0<(c[a+300>>2]|0)>>>0:0){r=a+292|0;c[e>>2]=c[r>>2];c[r>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{r=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[d+188>>2]|0;if(e|0){if(a|0){if(c[a+464>>2]|0){Lc(a,e);break}r=e;if(r>>>0>=(c[a+296>>2]|0)>>>0?r>>>0<(c[a+300>>2]|0)>>>0:0){r=a+292|0;c[e>>2]=c[r>>2];c[r>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{r=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}}while(0);Vf(a,c[d+88>>2]|0,c[d+136>>2]|0);e=c[q>>2]|0;do if(e|0){if(a|0){if(c[a+464>>2]|0){Lc(a,e);break}r=e;if(r>>>0>=(c[a+296>>2]|0)>>>0?r>>>0<(c[a+300>>2]|0)>>>0:0){r=a+292|0;c[e>>2]=c[r>>2];c[r>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{r=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[d+184>>2]|0;if(!e)return;if(a|0){if(c[a+464>>2]|0){Lc(a,e);return}r=e;if(r>>>0>=(c[a+296>>2]|0)>>>0?r>>>0<(c[a+300>>2]|0)>>>0:0){r=a+292|0;c[e>>2]=c[r>>2];c[r>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{r=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}function Vf(b,d,e){b=b|0;d=d|0;e=e|0;var f=0;if(!d)return;if((e|0)>=1){e=d+((e+-1|0)*20|0)|0;do{f=a[e+1>>0]|0;if(f<<24>>24<-6)Wf(b,f<<24>>24,c[e+16>>2]|0);e=e+-20|0}while(e>>>0>=d>>>0)}if(b|0){if(c[b+464>>2]|0){Lc(b,d);return}f=d;if(f>>>0>=(c[b+296>>2]|0)>>>0?f>>>0<(c[b+300>>2]|0)>>>0:0){b=b+292|0;c[d>>2]=c[b>>2];c[b>>2]=d;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{b=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Wf(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;switch(d|0){case -16:{Xf(a,e);return}case -15:case -7:case -14:case -13:{if(!e)return;if(a|0){if(c[a+464>>2]|0){Lc(a,e);return}d=e;if(d>>>0>=(c[a+296>>2]|0)>>>0?d>>>0<(c[a+300>>2]|0)>>>0:0){d=a+292|0;c[e>>2]=c[d>>2];c[d>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{d=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}case -9:{if((e|0)==0|(c[a+464>>2]|0)!=0)return;d=(c[e>>2]|0)+-1|0;c[e>>2]=d;if(d|0)return;a=c[e+12>>2]|0;if(a|0){if(c[a+464>>2]|0){Lc(a,e);return}d=e;if(d>>>0>=(c[a+296>>2]|0)>>>0?d>>>0<(c[a+300>>2]|0)>>>0:0){d=a+292|0;c[e>>2]=c[d>>2];c[d>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{d=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}case -8:{if(!(b[e+2>>1]&16))return;if(a|0){if(c[a+464>>2]|0){Lc(a,e);return}d=e;if(d>>>0>=(c[a+296>>2]|0)>>>0?d>>>0<(c[a+300>>2]|0)>>>0:0){d=a+292|0;c[e>>2]=c[d>>2];c[d>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{d=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}case -11:if(!(c[a+464>>2]|0)){Yf(e);return}else{Zf(a,e);return}case -12:{if(c[a+464>>2]|0)return;a=c[e>>2]|0;f=e+12|0;d=(c[f>>2]|0)+-1|0;c[f>>2]=d;if(d|0)return;d=c[e+8>>2]|0;if(d|0)jb[c[(c[d>>2]|0)+16>>2]&255](d)|0;if(a|0){if(c[a+464>>2]|0){Lc(a,e);return}f=e;if(f>>>0>=(c[a+296>>2]|0)>>>0?f>>>0<(c[a+300>>2]|0)>>>0:0){f=a+292|0;c[e>>2]=c[f>>2];c[f>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{f=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}default:return}}function Xf(a,d){a=a|0;d=d|0;var e=0,f=0,g=0;g=c[d+4>>2]|0;a:do if(b[g+2>>1]&16){do if(a|0){e=a+464|0;if(!(c[e>>2]|0)){f=g;if(f>>>0<(c[a+296>>2]|0)>>>0)break;if(f>>>0>=(c[a+300>>2]|0)>>>0)break;f=a+292|0;c[g>>2]=c[f>>2];c[f>>2]=g}else Lc(a,g);f=14;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);f=12;break}else{f=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);f=12;break}}else f=12;while(0);if((f|0)==12)if(a){e=a+464|0;f=14}if((f|0)==14){if(c[e>>2]|0){Lc(a,d);return}g=d;if(g>>>0>=(c[a+296>>2]|0)>>>0?g>>>0<(c[a+300>>2]|0)>>>0:0){a=a+292|0;c[d>>2]=c[a>>2];c[a>>2]=d;return}}if(!d)return;if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{a=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Yf(a){a=a|0;var d=0,e=0;if(!a)return;if(!((b[a+8>>1]&9312)==0?!(c[a+24>>2]|0):0))af(a);d=c[a+32>>2]|0;if(d|0){if(c[d+464>>2]|0){Lc(d,a);return}e=a;if(e>>>0>=(c[d+296>>2]|0)>>>0?e>>>0<(c[d+300>>2]|0)>>>0:0){e=d+292|0;c[a>>2]=c[e>>2];c[e>>2]=a;return}}if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{e=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function Zf(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;a:do if((c[b+24>>2]|0)!=0?(f=c[b+20>>2]|0,(f|0)!=0):0){do if(a|0){d=a+464|0;if(!(c[d>>2]|0)){e=f;if(e>>>0<(c[a+296>>2]|0)>>>0)break;if(e>>>0>=(c[a+300>>2]|0)>>>0)break;e=a+292|0;c[f>>2]=c[e>>2];c[e>>2]=f}else Lc(a,f);e=15;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);e=13;break}else{e=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);e=13;break}}else e=13;while(0);if((e|0)==13)if(a){d=a+464|0;e=15}if((e|0)==15){if(c[d>>2]|0){Lc(a,b);return}f=b;if(f>>>0>=(c[a+296>>2]|0)>>>0?f>>>0<(c[a+300>>2]|0)>>>0:0){a=a+292|0;c[b>>2]=c[a>>2];c[a>>2]=b;return}}if(!b)return;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{a=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function _f(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;p=r;m=$f(b,e,p)|0;g=m+8|0;n=c[g>>2]|0;h=(f|0)==0;if(n|0){if(!h){c[g>>2]=f;c[m+12>>2]=e;b=n;l=r;return b|0}f=c[p>>2]|0;g=m+4|0;i=c[g>>2]|0;j=b+8|0;c[((i|0)==0?j:i)>>2]=c[m>>2];i=c[m>>2]|0;if(i|0)c[i+4>>2]=c[g>>2];k=b+12|0;g=c[k>>2]|0;if(g|0){h=g+(f<<3)+4|0;if((c[h>>2]|0)==(m|0))c[h>>2]=i;q=g+(f<<3)|0;c[q>>2]=(c[q>>2]|0)+-1}if(!(c[2]|0))pb[c[56>>2]&255](m);else{q=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}i=b+4|0;q=(c[i>>2]|0)+-1|0;c[i>>2]=q;if(q|0){b=n;l=r;return b|0}g=c[j>>2]|0;c[j>>2]=0;h=c[k>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[k>>2]=0;c[b>>2]=0;if(g|0)do{h=g;g=c[g>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{b=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}}while((g|0)!=0);c[i>>2]=0;b=n;l=r;return b|0}if(h){b=0;l=r;return b|0}if(!(c[2]|0)){g=jb[c[52>>2]&255](16)|0;if(!g){b=f;l=r;return b|0}else o=g}else{g=jb[c[68>>2]&255](16)|0;if((c[11829]|0)>>>0<16)c[11829]=16;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){n=c[11822]|0;o=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&n>>>0>=o>>>0)&1}h=jb[c[52>>2]&255](g)|0;if(!h){b=f;l=r;return b|0}g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;o=h}else o=h}c[o+12>>2]=e;c[o+8>>2]=f;n=b+4|0;g=(c[n>>2]|0)+1|0;c[n>>2]=g;if((g>>>0>9?(k=c[b>>2]|0,g>>>0>k<<1>>>0):0)?(j=g<<4>>>0>1024?128:g<<1,(j|0)!=(k|0)):0){g=j<<3;n=Ft(g|0,0,-1,-1)|0;m=z;do if(!(m>>>0>0|(m|0)==0&n>>>0>2147483390)){if(!(c[2]|0)){h=jb[c[52>>2]&255](g)|0;break}i=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){m=c[11822]|0;n=Gt(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;k=z;c[11616]=(0>(k|0)|0==(k|0)&m>>>0>=n>>>0)&1}h=jb[c[52>>2]&255](i)|0;if(h){g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else h=0}else h=0;while(0);if(h|0){g=b+12|0;i=c[g>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{n=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[g>>2]=h;m=(jb[c[64>>2]&255](h)|0)>>>3;c[b>>2]=m;Vt(h|0,0,m<<3|0)|0;n=b+8|0;g=c[n>>2]|0;c[n>>2]=0;if(g|0)do{f=c[g+12>>2]|0;j=a[f>>0]|0;if(!(j<<24>>24))i=0;else{i=0;do{f=f+1|0;i=O((d[17324+(j&255)>>0]|0)+i|0,-1640531535)|0;j=a[f>>0]|0}while(j<<24>>24!=0)}i=(i>>>0)%(m>>>0)|0;k=g;g=c[g>>2]|0;f=h+(i<<3)|0;do if(f){j=c[f>>2]|0;if(!j){c[f>>2]=1;c[h+(i<<3)+4>>2]=k;q=64;break}s=h+(i<<3)+4|0;i=c[s>>2]|0;c[f>>2]=j+1;c[s>>2]=k;if(i){c[k>>2]=i;i=i+4|0;c[k+4>>2]=c[i>>2];s=c[i>>2]|0;c[((s|0)==0?n:s)>>2]=k}else q=64}else q=64;while(0);if((q|0)==64){q=0;i=c[n>>2]|0;c[k>>2]=i;if(i|0)c[i+4>>2]=k;c[k+4>>2]=0;i=n}c[i>>2]=k}while((g|0)!=0);h=a[e>>0]|0;if(!(h<<24>>24))g=0;else{g=0;i=e;do{i=i+1|0;g=O((d[17324+(h&255)>>0]|0)+g|0,-1640531535)|0;h=a[i>>0]|0}while(h<<24>>24!=0)}c[p>>2]=(g>>>0)%((c[b>>2]|0)>>>0)|0}}h=c[b+12>>2]|0;g=c[p>>2]|0;i=h+(g<<3)|0;do if(!((h|0)==0|(i|0)==0)){f=c[i>>2]|0;if(!f){c[i>>2]=1;c[h+(g<<3)+4>>2]=o;q=76;break}s=h+(g<<3)+4|0;g=c[s>>2]|0;c[i>>2]=f+1;c[s>>2]=o;if(g){c[o>>2]=g;g=g+4|0;c[o+4>>2]=c[g>>2];s=c[g>>2]|0;c[((s|0)==0?b+8|0:s)>>2]=o}else q=76}else q=76;while(0);if((q|0)==76){g=b+8|0;h=c[g>>2]|0;c[o>>2]=h;if(h|0)c[h+4>>2]=o;c[o+4>>2]=0}c[g>>2]=o;s=0;l=r;return s|0}function $f(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=c[b+12>>2]|0;if(!j){i=0;h=b+4|0;g=b+8|0}else{h=a[e>>0]|0;if(!(h<<24>>24))g=0;else{g=0;i=e;do{i=i+1|0;g=O((d[17324+(h&255)>>0]|0)+g|0,-1640531535)|0;h=a[i>>0]|0}while(h<<24>>24!=0)}g=(g>>>0)%((c[b>>2]|0)>>>0)|0;i=g;h=j+(g<<3)|0;g=j+(g<<3)+4|0}h=c[h>>2]|0;g=c[g>>2]|0;if(f|0)c[f>>2]=i;if(!h){e=46688;return e|0}f=d[17324+(d[e>>0]|0)>>0]|0;j=h;while(1){j=j+-1|0;i=c[g+12>>2]|0;b=a[i>>0]|0;h=(d[17324+(b&255)>>0]|0)-f|0;if(!(b<<24>>24==0|(h|0)!=0)){b=e;do{i=i+1|0;b=b+1|0;k=a[i>>0]|0;h=(d[17324+(k&255)>>0]|0)-(d[17324+(d[b>>0]|0)>>0]|0)|0}while(!(k<<24>>24==0|(h|0)!=0))}if(!h){h=14;break}if(!j){g=46688;h=14;break}else g=c[g>>2]|0}if((h|0)==14)return g|0;return 0}function ag(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(!d)return;if((c[d>>2]|0)>0){n=(b|0)==0;o=b+464|0;q=b+296|0;r=b+300|0;l=b+292|0;j=0;k=d+8|0;while(1){e=c[k+4>>2]|0;do if(e|0){if(!n){if(c[o>>2]|0){Lc(b,e);break}i=e;if(i>>>0>=(c[q>>2]|0)>>>0?i>>>0<(c[r>>2]|0)>>>0:0){c[e>>2]=c[l>>2];c[l>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[k+8>>2]|0;do if(e|0){if(!n){if(c[o>>2]|0){Lc(b,e);break}i=e;if(i>>>0>=(c[q>>2]|0)>>>0?i>>>0<(c[r>>2]|0)>>>0:0){c[e>>2]=c[l>>2];c[l>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[k+12>>2]|0;do if(e|0){if(!n){if(c[o>>2]|0){Lc(b,e);break}i=e;if(i>>>0>=(c[q>>2]|0)>>>0?i>>>0<(c[r>>2]|0)>>>0:0){c[e>>2]=c[l>>2];c[l>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=k+37|0;do if(a[e>>0]&2?(p=c[k+64>>2]|0,p|0):0){if(!n){if(c[o>>2]|0){Lc(b,p);break}i=p;if(i>>>0>=(c[q>>2]|0)>>>0?i>>>0<(c[r>>2]|0)>>>0:0){c[p>>2]=c[l>>2];c[l>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{i=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);if(a[e>>0]&4?(m=c[k+64>>2]|0,m|0):0)Rf(b,m);e=c[k+16>>2]|0;do if(e|0){if(!(!n?(c[o>>2]|0)!=0:0))f=51;if((f|0)==51?(f=0,h=e+32|0,i=(c[h>>2]|0)+-1|0,c[h>>2]=i,i|0):0)break;Tf(b,e)}while(0);e=c[k+20>>2]|0;if(e|0)Sf(b,e,1);e=c[k+48>>2]|0;if(e|0)Qf(b,e);e=c[k+52>>2]|0;do if(e|0){i=e+4|0;f=c[e>>2]|0;a:do if((c[i>>2]|0)>0){if(n){g=0;while(1){f=c[f+(g<<3)>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);g=g+1|0;f=c[e>>2]|0;if((g|0)>=(c[i>>2]|0))break a}}else h=0;do{f=c[f+(h<<3)>>2]|0;b:do if(f|0){if(c[o>>2]|0){Lc(b,f);break}g=f;do if(g>>>0>=(c[q>>2]|0)>>>0){if(g>>>0>=(c[r>>2]|0)>>>0)break;c[f>>2]=c[l>>2];c[l>>2]=f;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{g=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);h=h+1|0;f=c[e>>2]|0}while((h|0)<(c[i>>2]|0))}while(0);c:do if(f){do if(!n){if(!(c[o>>2]|0)){g=f;if(g>>>0<(c[q>>2]|0)>>>0)break;if(g>>>0>=(c[r>>2]|0)>>>0)break;c[f>>2]=c[l>>2];c[l>>2]=f}else Lc(b,f);f=87;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);f=86;break}else{i=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);f=86;break}}else f=86;while(0);if((f|0)==86){f=0;if(!n)f=87}if((f|0)==87){f=0;if(c[o>>2]|0){Lc(b,e);break}i=e;if(i>>>0>=(c[q>>2]|0)>>>0?i>>>0<(c[r>>2]|0)>>>0:0){c[e>>2]=c[l>>2];c[l>>2]=e;break}}if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);j=j+1|0;if((j|0)>=(c[d>>2]|0))break;else k=k+72|0}}if(b|0){if(c[b+464>>2]|0){Lc(b,d);return}r=d;if(r>>>0>=(c[b+296>>2]|0)>>>0?r>>>0<(c[b+300>>2]|0)>>>0:0){r=b+292|0;c[d>>2]=c[r>>2];c[r>>2]=d;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{r=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function bg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=l;l=l+96|0;f=j;if(Nc()|0){i=0;l=j;return i|0}g=f+4|0;c[g>>2]=j+24;c[f>>2]=0;c[f+8>>2]=70;h=f+12|0;c[h>>2]=1e9;i=f+16|0;c[i>>2]=0;a[f+20>>0]=0;e=f+21|0;a[e>>0]=0;Cc(f,b,d);b=c[g>>2]|0;if((b|0?(a[b+(c[i>>2]|0)>>0]=0,c[h>>2]|0):0)?(a[e>>0]&4)==0:0){i=Dc(f)|0;l=j;return i|0}i=c[g>>2]|0;l=j;return i|0}function cg(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+112|0;o=t+40|0;r=t+16|0;q=t;m=d+56|0;c[m>>2]=f;if((f|0)!=3082?(f&251|4|0)==14:0){i=c[d>>2]|0;k=c[i+68>>2]|0;if(!k)i=0;else i=lb[k&255](i,0,0)|0;c[d+64>>2]=i}if(!g){c[m>>2]=f;if((f|0)==0?(c[d+248>>2]|0)==0:0){l=t;return}dg(d,f);l=t;return}p=d+248|0;do if(!(c[p>>2]|0)){do if(c[d+264>>2]|0){if(!(a[d+73>>0]|0))n=19}else{if((e[d+268>>1]|0)>=40){i=d+292|0;j=c[i>>2]|0;if(j|0){c[i>>2]=c[j>>2];n=d+276|0;c[n>>2]=(c[n>>2]|0)+1;n=20;break}i=d+288|0;j=c[i>>2]|0;if(!j)i=2;else{c[i>>2]=c[j>>2];n=d+276|0;c[n>>2]=(c[n>>2]|0)+1;n=20;break}}else i=1;n=d+276+(i<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=19}while(0);if((n|0)==19){j=Ec(d,40,0)|0;n=20}if((n|0)==20?j|0:0){i=j;k=i+40|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(k|0));b[j+8>>1]=1;c[j+32>>2]=d;c[p>>2]=j;break}c[p>>2]=0;l=t;return}while(0);c[q>>2]=h;k=c[d+100>>2]|0;m=r+4|0;c[m>>2]=o;c[r>>2]=d;c[r+8>>2]=70;j=r+12|0;c[j>>2]=k;k=r+16|0;c[k>>2]=0;n=r+20|0;a[n>>0]=0;f=r+21|0;a[f>>0]=1;Cc(r,g,q);i=c[m>>2]|0;if(((i|0)!=0?(a[i+(c[k>>2]|0)>>0]=0,(c[j>>2]|0)!=0):0)?(a[f>>0]&4)==0:0)j=Dc(r)|0;else j=c[m>>2]|0;if(((a[n>>0]|0)==1?(s=d+73|0,(a[s>>0]|0)==0):0)?(a[d+74>>0]|0)==0:0){a[s>>0]=1;if((c[d+172>>2]|0)>0)c[d+256>>2]=1;s=d+264|0;c[s>>2]=(c[s>>2]|0)+1}i=c[p>>2]|0;if(i|0)Ve(i,j,-1,1,172)|0;l=t;return}function dg(a,d){a=a|0;d=d|0;var e=0,f=0;e=c[a+248>>2]|0;do if(e|0){f=e+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;break}else{Ye(e);break}}while(0);if((d|0)==3082)return;if((d&251|4|0)!=14)return;d=c[a>>2]|0;e=c[d+68>>2]|0;if(!e)d=0;else d=lb[e&255](d,0,0)|0;c[a+64>>2]=d;return}function eg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!e){e=-1;return e|0}i=c[b+20>>2]|0;g=i+-1|0;if((i|0)<=0){e=g;return e|0}f=g;i=(c[b+16>>2]|0)+(g<<4)|0;a:while(1){g=c[i>>2]|0;if(g|0){h=a[g>>0]|0;b=(d[17324+(h&255)>>0]|0)-(d[17324+(d[e>>0]|0)>>0]|0)|0;if(!(h<<24>>24==0|(b|0)!=0)){h=e;do{g=g+1|0;h=h+1|0;j=a[g>>0]|0;b=(d[17324+(j&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(j<<24>>24==0|(b|0)!=0))}if(!b){b=13;break}}if(!f){switch(a[e>>0]|0){case 77:case 109:{b=e;g=21341;break}default:{f=-1;b=13;break a}}do{g=g+1|0;b=b+1|0;j=a[g>>0]|0;h=(d[17324+(j&255)>>0]|0)-(d[17324+(d[b>>0]|0)>>0]|0)|0}while(!(j<<24>>24==0|(h|0)!=0));if(!h){f=0;b=13;break}}b=f+-1|0;if((f|0)>0){f=b;i=i+-16|0}else{f=b;b=13;break}}if((b|0)==13)return f|0;return 0}function fg(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=l;l=l+128|0;r=K;E=K+16|0;B=K+12|0;I=K+20|0;H=(f|0)==0;if(!H){k=(a[f>>0]|0)==0;if(Ls(f,21181)|0)if(k)C=4;else{k=0;C=5}else G=1}else C=4;if((C|0)==4)if((a[g+72>>0]|0)==2){G=1;k=1}else{k=1;C=5}if((C|0)==5)G=(j&128|0)!=0;F=G?i|2:i;D=(j&256|0)!=0&(k|G)?j&-769|512:j;if(!(c[2]|0)){i=jb[c[52>>2]&255](48)|0;if(!i){h=7;l=K;return h|0}else C=16}else{i=jb[c[68>>2]&255](48)|0;if((c[11829]|0)>>>0<48)c[11829]=48;m=46456;j=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&j>>>0>0){A=c[11822]|0;J=Gt(j|0,m|0,i|0,((i|0)<0)<<31>>31|0)|0;y=z;c[11616]=(0>(y|0)|0==(y|0)&A>>>0>=J>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){h=7;l=K;return h|0}j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;m=i;q=m+48|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(q|0));J=i}else C=16}if((C|0)==16){m=i;q=m+48|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(q|0));J=i}a[J+8>>0]=0;c[J>>2]=g;c[J+32>>2]=J;c[J+36>>2]=1;a:do if(!k?!((D&131072|0)==0|G&(D&64|0)==0):0){if(H)k=0;else k=(As(f)|0)&1073741823;m=k+1|0;n=(c[e+8>>2]|0)+1|0;k=(n|0)>(m|0)?n:m;A=Ft(k|0,0,-1,-1)|0;y=z;do if(!(y>>>0>0|(y|0)==0&A>>>0>2147483390)){if(!(c[2]|0)){k=jb[c[52>>2]&255](k)|0;a[J+9>>0]=1;if(!k)break;else o=k}else{j=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;k=46456;i=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&i>>>0>0){y=c[11822]|0;A=Gt(i|0,k|0,j|0,((j|0)<0)<<31>>31|0)|0;x=z;c[11616]=(0>(x|0)|0==(x|0)&y>>>0>=A>>>0)&1}i=jb[c[52>>2]&255](j)|0;if(!i){C=33;break}k=jb[c[64>>2]&255](i)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k;a[J+9>>0]=1;o=i}if(!G){a[o>>0]=0;k=mb[c[e+36>>2]&255](e,f,n,o)|0;if(k|0){if(!(c[2]|0))pb[c[56>>2]&255](o);else{h=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o)}if(!(c[2]|0)){pb[c[56>>2]&255](J);h=k;l=K;return h|0}else{h=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);h=k;l=K;return h|0}}}else Tt(o|0,f|0,m|0)|0;j=c[11676]|0;b:do if(!j)j=0;else{while(1){k=c[j>>2]|0;if((Ls(o,c[k+168>>2]|0)|0)==0?(c[k>>2]|0)==(e|0):0)break;j=c[j+68>>2]|0;if(!j){j=0;break b}}k=c[g+20>>2]|0;c:do if((k|0)>0){m=c[g+16>>2]|0;while(1){i=k;k=k+-1|0;A=c[m+(k<<4)+4>>2]|0;if(A|0?(c[A+4>>2]|0)==(j|0):0)break;if((i|0)<=1)break c}if(!(c[2]|0))pb[c[56>>2]&255](o);else{h=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o)}if(!(c[2]|0)){pb[c[56>>2]&255](J);h=19;l=K;return h|0}else{h=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);h=19;l=K;return h|0}}while(0);c[J+4>>2]=j;A=j+64|0;c[A>>2]=(c[A>>2]|0)+1}while(0);if(!(c[2]|0))pb[c[56>>2]&255](o);else{A=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o)}if(!j){C=68;break a}if(!(a[J+9>>0]|0))break a;else{n=j;C=193;break a}}else C=33;while(0);if((C|0)==33)a[J+9>>0]=1;if(!(c[2]|0)){pb[c[56>>2]&255](J);h=7;l=K;return h|0}else{h=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);h=7;l=K;return h|0}}else C=68;while(0);d:do if((C|0)==68){if(!(c[2]|0)){j=jb[c[52>>2]&255](84)|0;if(!j)k=7;else C=78}else{k=jb[c[68>>2]&255](84)|0;if((c[11829]|0)>>>0<84)c[11829]=84;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){y=c[11822]|0;A=Gt(i|0,j|0,k|0,((k|0)<0)<<31>>31|0)|0;x=z;c[11616]=(0>(x|0)|0==(x|0)&y>>>0>=A>>>0)&1}j=jb[c[52>>2]&255](k)|0;if(j){k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;m=j;q=m+84|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(q|0));C=80}else C=78}else k=7}if((C|0)==78){m=j;q=m+84|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(q|0));C=80}do if((C|0)==80){A=F&1;c[E>>2]=4096;u=e+4|0;v=c[u>>2]|0;v=((v|0)>72?v:72)+7&2147483640;c[j>>2]=0;do if(!(F&2))if(!H)if(a[f>>0]|0){p=e+8|0;n=(c[p>>2]|0)+1|0;k=n<<1;C=Ft(k|0,((k|0)<0)<<31>>31|0,-1,-1)|0;y=z;if(!(y>>>0>0|(y|0)==0&C>>>0>2147483390)){if(!(c[2]|0)){k=jb[c[52>>2]&255](k)|0;if(!k){k=7;C=206;break}else i=k}else{m=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;i=46456;k=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&k>>>0>0){y=c[11822]|0;C=Gt(k|0,i|0,m|0,((m|0)<0)<<31>>31|0)|0;x=z;c[11616]=(0>(x|0)|0==(x|0)&y>>>0>=C>>>0)&1}i=jb[c[52>>2]&255](m)|0;if(!i){k=7;C=206;break}k=jb[c[64>>2]&255](i)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k}a[i>>0]=0;k=mb[c[e+36>>2]&255](e,f,n,i)|0;o=(As(i)|0)&1073741823;n=f+(((As(f)|0)&1073741823)+1)|0;if(!(a[n>>0]|0))m=n;else{m=n;do{m=m+(((As(m)|0)&1073741823)+1)|0;m=m+(((As(m)|0)&1073741823)+1)|0}while((a[m>>0]|0)!=0)}if(!k){if((o+8|0)<=(c[p>>2]|0)){y=0;s=m+1-n|0;q=n;r=1;C=107;break}c[r>>2]=17915;c[r+4>>2]=52354;c[r+8>>2]=17052;Bc(14,17e3,r);k=14}if(!(c[2]|0)){pb[c[56>>2]&255](i);C=206;break}else{C=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);C=206;break}}else{k=7;C=206}}else{y=0;s=0;q=0;i=0;o=0;r=1;C=107}else{f=0;y=0;s=0;q=0;i=0;o=0;r=0;C=107}else if(!H)if(a[f>>0]|0){k=kg(0,f)|0;if(!k){k=7;C=206}else{f=0;y=1;s=0;q=0;i=k;o=(As(k)|0)&1073741823;r=0;C=107}}else{y=1;s=0;q=0;i=0;o=0;r=1;C=107}else{f=0;y=1;s=0;q=0;i=0;o=0;r=0;C=107}while(0);e:do if((C|0)==107){p=(v<<1)+17+(o*3|0)+s+((c[u>>2]|0)+279&-8)|0;x=Ft(p|0,0,-1,-1)|0;w=z;do if(!(w>>>0>0|(w|0)==0&x>>>0>2147483390)){if(!(c[2]|0)){k=jb[c[52>>2]&255](p)|0;if(!k)break;else C=118}else{k=jb[c[68>>2]&255](p)|0;if((c[11829]|0)>>>0

    >>0)c[11829]=p;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){w=c[11822]|0;x=Gt(m|0,n|0,k|0,((k|0)<0)<<31>>31|0)|0;t=z;c[11616]=(0>(t|0)|0==(t|0)&w>>>0>=x>>>0)&1}k=jb[c[52>>2]&255](k)|0;if(!k)break;m=jb[c[64>>2]&255](k)|0;m=(c[11822]|0)+m|0;c[11822]=m;if(m>>>0>(c[11826]|0)>>>0)c[11826]=m;m=(c[11825]|0)+1|0;c[11825]=m;if(m>>>0>(c[11831]|0)>>>0){c[11831]=m;Vt(k|0,0,p|0)|0;x=k}else C=118}if((C|0)==118){Vt(k|0,0,p|0)|0;x=k}t=x+208|0;c[t>>2]=x+224;k=x+272|0;w=x+60|0;c[w>>2]=k;k=k+((c[u>>2]|0)+7&-8)|0;c[x+68>>2]=k;k=k+v|0;c[x+64>>2]=k;k=k+v|0;n=x+168|0;c[n>>2]=k;do if(i|0){m=o+1|0;p=x+172|0;c[p>>2]=k+(s+m);Tt(k|0,i|0,o|0)|0;if(s|0)Tt((c[n>>2]|0)+m|0,q|0,s|0)|0;Tt(c[p>>2]|0,i|0,o|0)|0;m=(c[p>>2]|0)+o|0;k=21190;q=m+10|0;do{a[m>>0]=a[k>>0]|0;m=m+1|0;k=k+1|0}while((m|0)<(q|0));u=(c[p>>2]|0)+(o+9)|0;v=x+216|0;c[v>>2]=u;Tt(u|0,i|0,o|0)|0;v=(c[v>>2]|0)+o|0;a[v>>0]=a[21200]|0;a[v+1>>0]=a[21201]|0;a[v+2>>0]=a[21202]|0;a[v+3>>0]=a[21203]|0;a[v+4>>0]=a[21204]|0;if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{v=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[x>>2]=e;c[x+144>>2]=D;do if(r?(a[f>>0]|0)!=0:0){c[B>>2]=0;k=nb[c[e+24>>2]&255](e,c[n>>2]|0,c[w>>2]|0,D&556927,B)|0;n=c[B>>2]&1;if(k|0)break;m=c[w>>2]|0;m=jb[c[(c[m>>2]|0)+48>>2]&255](m)|0;f:do if(!n){do if(!(a[x+12>>0]|0)){C=c[w>>2]|0;if((jb[c[(c[C>>2]|0)+48>>2]&255](C)|0)&4096|0)break;k=c[w>>2]|0;i=c[(c[k>>2]|0)+44>>2]|0;if(!i){c[x+148>>2]=4096;break f}k=jb[i&255](k)|0;if((k|0)<32)break;i=x+148|0;do if((k|0)<65536){c[i>>2]=k;if(k>>>0<=4096)break f;if(k>>>0>8192)break;c[E>>2]=k;break f}else c[i>>2]=65536;while(0);c[E>>2]=8192;break f}while(0);c[x+148>>2]=512}while(0);a[x+13>>0]=Hd(f,21206,0)|0;if((m&8192|0)==0?(Hd(f,21213,0)|0)==0:0){s=0;C=152;break}k=D|1;C=150}else{k=D;C=150}while(0);if((C|0)==150){a[x+16>>0]=1;a[x+17>>0]=4;a[x+13>>0]=1;n=k&1;s=1;C=152}if((C|0)==152){k=gg(x,E,-1)|0;if(!k){r=c[E>>2]|0;f=(y|0)==0;i=y^1;k=f?181:0;p=c[t>>2]|0;m=p;q=m+48|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(q|0));q=p+24|0;c[q>>2]=1;m=p+28|0;c[m>>2]=88;a[p+32>>0]=i;a[p+33>>0]=2;c[p+36>>2]=k;c[p+40>>2]=x;k=p+16|0;c[k>>2]=100;c[p+20>>2]=1;o=lb[c[136>>2]&255](r,128,i)|0;if(!o)k=7;else{i=c[35]|0;k=c[k>>2]|0;if((k|0)<=-1){E=Lt(k|0,((k|0)<0)<<31>>31|0,-1024,-1)|0;k=(c[m>>2]|0)+(c[q>>2]|0)|0;k=Jt(E|0,z|0,k|0,((k|0)<0)<<31>>31|0)|0}qb[i&255](o,k);k=p+44|0;i=c[k>>2]|0;if(i|0)pb[c[164>>2]&255](i);c[k>>2]=o;c[q>>2]=r;a[x+6>>0]=A^1;c[x+156>>2]=1073741823;a[x+12>>0]=s;a[x+4>>0]=s;a[x+18>>0]=s;a[x+15>>0]=y;a[x+14>>0]=n;a[x+7>>0]=s;do if(!(s<<24>>24)){a[x+8>>0]=1;a[x+9>>0]=0;a[x+10>>0]=2;a[x+11>>0]=10;b[x+140>>1]=88;E=x+160|0;c[E>>2]=-1;c[E+4>>2]=-1;E=c[w>>2]|0;if((jb[c[(c[E>>2]|0)+48>>2]&255](E)|0)&4096|0){k=512;break}k=c[w>>2]|0;i=c[(c[k>>2]|0)+44>>2]|0;if(i){k=jb[i&255](k)|0;if((k|0)<32){k=512;break}}else k=4096;k=(k|0)<65536?k:65536}else{b[x+140>>1]=88;k=x+160|0;c[k>>2]=-1;c[k+4>>2]=-1;k=512}while(0);c[x+148>>2]=k;if((A|0)!=0|f^1)a[x+5>>0]=((A&255)<<1&255^2)+2<<24>>24;c[x+196>>2]=149;c[x+200>>2]=c[x+40>>2]|0?139:138;c[j>>2]=x;k=c[j>>2]|0;E=g+40|0;q=c[E+4>>2]|0;m=k+128|0;c[m>>2]=c[E>>2];c[m+4>>2]=q;m=I;q=m+100|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(q|0));k=c[k+60>>2]|0;i=c[k>>2]|0;if(i|0){k=nb[c[i+8>>2]&255](k,I,100,0,0)|0;switch(k|0){case 0:case 522:break;default:{C=207;break e}}}a[j+16>>0]=F;c[j+4>>2]=g;k=c[j>>2]|0;i=k+176|0;c[i>>2]=173;c[k+180>>2]=j;m=c[k+60>>2]|0;n=c[m>>2]|0;if(!n)m=k;else{lb[c[n+40>>2]&255](m,15,i)|0;m=c[j>>2]|0}c[J+4>>2]=j;c[j+8>>2]=0;c[j+12>>2]=0;if(a[m+14>>0]|0){F=j+22|0;b[F>>1]=b[F>>1]|1}k=d[I+17>>0]<<16|d[I+16>>0]<<8;n=j+32|0;c[n>>2]=k;do if((k+-512|0)>>>0>65024)C=185;else{if(k+16777215&k|0){C=185;break}k=a[I+20>>0]|0;i=j+22|0;b[i>>1]=b[i>>1]|2;a[j+17>>0]=(d[I+53>>0]<<16|d[I+52>>0]<<24|d[I+54>>0]<<8|d[I+55>>0]|0)!=0&1;i=(d[I+65>>0]<<16|d[I+64>>0]<<24|d[I+66>>0]<<8|d[I+67>>0]|0)!=0&1;C=188}while(0);do if((C|0)==185){c[n>>2]=0;if(H|G){k=0;break}a[j+17>>0]=0;k=0;i=0;C=188}while(0);if((C|0)==188)a[j+18>>0]=i;i=k&255;k=gg(m,n,i)|0;if(k|0){C=207;break e}c[j+36>>2]=(c[n>>2]|0)-i;c[j+64>>2]=1;if(!(a[J+9>>0]|0))break d;c[j+68>>2]=c[11676];c[11676]=j;n=j;C=193;break d}}}i=c[w>>2]|0;m=c[i>>2]|0;if(m|0){jb[c[m+4>>2]&255](i)|0;c[i>>2]=0}i=c[x+204>>2]|0;do if(i|0){g=i;if(g>>>0>=(c[11662]|0)>>>0&g>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[i>>2]=c[11665];c[11665]=i;g=(c[11666]|0)+1|0;c[11666]=g;c[11667]=(g|0)<(c[11661]|0)&1;break}g=jb[c[64>>2]&255](i)|0;c[11824]=(c[11824]|0)-g;if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{g=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](x);C=206;break e}else{C=jb[c[64>>2]&255](x)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](x);C=206;break e}}while(0);if(i)if(!(c[2]|0)){pb[c[56>>2]&255](i);k=7;C=206;break}else{k=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);k=7;C=206;break}else{k=7;C=206}}while(0);if((C|0)==206)if(j)C=207;if((C|0)==207){i=c[j>>2]|0;if(i)qg(i,0)}if(j)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{g=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);if(!(c[2]|0))pb[c[56>>2]&255](J);else{g=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J)}c[h>>2]=0;h=k;l=K;return h|0}while(0);g:do if((C|0)==193){m=c[g+20>>2]|0;if((m|0)>0){i=c[g+16>>2]|0;k=0;while(1){j=c[i+(k<<4)+4>>2]|0;if(j|0?a[j+9>>0]|0:0)break;k=k+1|0;if((k|0)>=(m|0)){j=n;break g}}while(1){k=j+28|0;i=c[k>>2]|0;if(!i)break;else j=i}m=c[J+4>>2]|0;do if(m>>>0>=(c[j+4>>2]|0)>>>0){while(1){k=j+24|0;i=c[k>>2]|0;if(!i){C=201;break}if((c[i+4>>2]|0)>>>0>>0)j=i;else{C=203;break}}if((C|0)==201){c[J+24>>2]=0;c[J+28>>2]=j;break}else if((C|0)==203){c[J+24>>2]=i;c[J+28>>2]=j;c[i+28>>2]=J;break}}else{c[J+24>>2]=j;c[J+28>>2]=0}while(0);c[k>>2]=J;j=n}else j=n}while(0);c[h>>2]=J;k=c[J+4>>2]|0;c[k+4>>2]=c[J>>2];if(!(c[k+48>>2]|0)){h=c[(c[k>>2]|0)+208>>2]|0;c[h+16>>2]=-2e3;g=c[35]|0;J=c[h+44>>2]|0;h=(c[h+28>>2]|0)+(c[h+24>>2]|0)|0;h=Jt(2048e3,0,h|0,((h|0)<0)<<31>>31|0)|0;qb[g&255](J,h)}k=c[(c[j>>2]|0)+60>>2]|0;i=c[k>>2]|0;if(!i){h=0;l=K;return h|0}lb[c[i+40>>2]&255](k,30,j+4|0)|0;h=0;l=K;return h|0}function gg(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+16|0;p=s;q=c[f>>2]|0;if(!((a[e+15>>0]|0)!=0?(c[e+24>>2]|0)!=0:0))m=3;a:do if(((m|0)==3?(n=e+208|0,q|0?(c[(c[n>>2]|0)+12>>2]|0)==0:0):0)?(r=e+152|0,(q|0)!=(c[r>>2]|0)):0){o=p;c[o>>2]=0;c[o+4>>2]=0;if(((a[e+16>>0]|0)!=0?(i=c[e+60>>2]|0,j=c[i>>2]|0,(j|0)!=0):0)?(k=kb[c[j+24>>2]&255](i,p)|0,(k|0)!=0):0)g=k;else m=8;b:do if((m|0)==8){if((c[11659]|0)>=(q|0)?(h=c[11665]|0,(h|0)!=0):0){c[11665]=c[h>>2];o=c[11666]|0;c[11666]=o+-1;c[11667]=(o|0)<=(c[11661]|0)&1;if((c[11830]|0)>>>0>>0)c[11830]=q;i=(c[11823]|0)+1|0;c[11823]=i;if(i>>>0>(c[11827]|0)>>>0)c[11827]=i}else{o=Ft(q|0,((q|0)<0)<<31>>31|0,-1,-1)|0;m=z;if(m>>>0>0|(m|0)==0&o>>>0>2147483390){g=7;break}if(!(c[2]|0)){h=jb[c[52>>2]&255](q)|0;if(!h){g=7;break}}else{h=jb[c[68>>2]&255](q)|0;if((c[11829]|0)>>>0>>0)c[11829]=q;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){m=c[11822]|0;o=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;k=z;c[11616]=(0>(k|0)|0==(k|0)&m>>>0>=o>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h){g=7;break}i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}i=jb[c[64>>2]&255](h)|0;if((c[11830]|0)>>>0>>0)c[11830]=q;i=(c[11824]|0)+i|0;c[11824]=i;if(i>>>0>(c[11828]|0)>>>0)c[11828]=i}jg(e);k=c[n>>2]|0;n=k+24|0;do if(c[n>>2]|0){j=k+28|0;o=lb[c[136>>2]&255](q,(c[j>>2]|0)+40|0,d[k+32>>0]|0)|0;if(!o){q=h;if(q>>>0>=(c[11662]|0)>>>0&q>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;g=(c[11666]|0)+1|0;c[11666]=g;c[11667]=(g|0)<(c[11661]|0)&1;g=7;break b}q=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-q;if(!(c[2]|0)){pb[c[56>>2]&255](h);g=7;break b}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);g=7;break b}}else{m=c[35]|0;i=c[k+16>>2]|0;if((i|0)<=-1){t=Lt(i|0,((i|0)<0)<<31>>31|0,-1024,-1)|0;i=(c[j>>2]|0)+(c[n>>2]|0)|0;i=Jt(t|0,z|0,i|0,((i|0)<0)<<31>>31|0)|0}qb[m&255](o,i);i=k+44|0;j=c[i>>2]|0;if(j|0)pb[c[164>>2]&255](j);c[i>>2]=o;c[n>>2]=q;break}}while(0);i=e+204|0;j=c[i>>2]|0;do if(j|0){t=j;if(t>>>0>=(c[11662]|0)>>>0&t>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[j>>2]=c[11665];c[11665]=j;t=(c[11666]|0)+1|0;c[11666]=t;c[11667]=(t|0)<(c[11661]|0)&1;break}t=jb[c[64>>2]&255](j)|0;c[11824]=(c[11824]|0)-t;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{t=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[i>>2]=h;t=p;p=c[t>>2]|0;t=c[t+4>>2]|0;o=Ft(q|0,0,-1,-1)|0;t=Ft(o|0,z|0,p|0,t|0)|0;t=Jt(t|0,z|0,q|0,0)|0;c[e+24>>2]=t;c[r>>2]=q;break a}while(0);c[f>>2]=c[r>>2];t=g;l=s;return t|0}while(0);c[f>>2]=c[e+152>>2];h=e+142|0;if((g|0)<0)g=b[h>>1]|0;b[h>>1]=g;t=0;l=s;return t|0}function hg(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+112|0;k=o+16|0;p=o;n=c[b>>2]|0;c[p>>2]=e;g=c[n+100>>2]|0;i=k+4|0;c[i>>2]=o+40;c[k>>2]=n;c[k+8>>2]=70;f=k+12|0;c[f>>2]=g;g=k+16|0;c[g>>2]=0;j=k+20|0;a[j>>0]=0;h=k+21|0;a[h>>0]=1;Cc(k,d,p);e=c[i>>2]|0;if(((e|0)!=0?(a[e+(c[g>>2]|0)>>0]=0,(c[f>>2]|0)!=0):0)?(a[h>>0]&4)==0:0)f=Dc(k)|0;else f=c[i>>2]|0;if(((a[j>>0]|0)==1?(m=n+73|0,(a[m>>0]|0)==0):0)?(a[n+74>>0]|0)==0:0){a[m>>0]=1;if((c[n+172>>2]|0)>0)c[n+256>>2]=1;p=n+264|0;c[p>>2]=(c[p>>2]|0)+1}if(!(a[n+77>>0]|0)){e=b+36|0;c[e>>2]=(c[e>>2]|0)+1;e=b+4|0;d=c[e>>2]|0;do if(d|0){if(c[n+464>>2]|0){Lc(n,d);break}p=d;if(p>>>0>=(c[n+296>>2]|0)>>>0?p>>>0<(c[n+300>>2]|0)>>>0:0){p=n+292|0;c[d>>2]=c[p>>2];c[p>>2]=d;break}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{p=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);c[e>>2]=f;c[b+12>>2]=1;l=o;return}if(!f){l=o;return}if(c[n+464>>2]|0){Lc(n,f);l=o;return}p=f;if(p>>>0>=(c[n+296>>2]|0)>>>0?p>>>0<(c[n+300>>2]|0)>>>0:0){p=n+292|0;c[f>>2]=c[p>>2];c[p>>2]=f;l=o;return}if(!(c[2]|0)){pb[c[56>>2]&255](f);l=o;return}else{p=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);l=o;return}}function ig(b){b=b|0;var e=0,f=0,g=0;f=c[b>>2]|0;e=c[b+72>>2]|0;do if(e|0){if(f|0){if(c[f+464>>2]|0){Lc(f,e);break}g=e;if(g>>>0>=(c[f+296>>2]|0)>>>0?g>>>0<(c[f+300>>2]|0)>>>0:0){g=f+292|0;c[e>>2]=c[g>>2];c[g>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{g=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[b+76>>2]|0;if(e|0)Rf(f,e);e=b+24|0;if(!f){a[e>>0]=0;return}g=f+264|0;c[g>>2]=(c[g>>2]|0)-(d[e>>0]|0);a[e>>0]=0;return}function jg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;e=d+100|0;c[e>>2]=(c[e>>2]|0)+1;e=c[d+88>>2]|0;if(e|0)do{c[e+16>>2]=1;e=c[e+44>>2]|0}while((e|0)!=0);l=c[d+208>>2]|0;m=l+44|0;if(!(c[m>>2]|0))return;e=c[l>>2]|0;if(e|0)do{h=e+32|0;i=e;e=c[h>>2]|0;if(c[i+24>>2]|0){j=i+12|0;k=c[j>>2]|0;d=k+8|0;f=i+36|0;g=c[f>>2]|0;if((c[d>>2]|0)==(i|0))c[d>>2]=g;c[((e|0)==0?k+4|0:e+36|0)>>2]=g;f=c[f>>2]|0;d=c[h>>2]|0;if(!f){c[k>>2]=d;if(!d)a[k+33>>0]=2}else c[f+32>>2]=d;k=i+28|0;b[k>>1]=b[k>>1]&-16|1;if((b[i+30>>1]|0)==0?(n=c[j>>2]|0,a[n+32>>0]|0):0)rb[c[152>>2]&255](c[n+44>>2]|0,c[i>>2]|0,0)}}while((e|0)!=0);if((c[l+12>>2]|0)!=0?(o=lb[c[148>>2]&255](c[m>>2]|0,1,0)|0,(o|0)!=0):0){Vt(c[o>>2]|0,0,c[l+24>>2]|0)|0;e=2}else e=1;qb[c[160>>2]&255](c[m>>2]|0,e);return}function kg(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;if(!d){i=0;return i|0}i=(As(d)|0)+1|0;do if(!b){b=Ft(i|0,0,-1,-1)|0;g=z;if(g>>>0>0|(g|0)==0&b>>>0>2147483390){i=0;return i|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;h=24;break}f=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;b=46456;g=c[b>>2]|0;b=c[b+4>>2]|0;if((b|0)>0|(b|0)==0&g>>>0>0){j=c[11822]|0;b=Gt(g|0,b|0,f|0,((f|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&j>>>0>=b>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){j=0;return j|0}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else{if(c[b+264>>2]|0){if(a[b+73>>0]|0){j=0;return j|0}}else{if(!(0<0|(0==0?(e[b+268>>1]|0)>>>0>>0:0))){g=b+292|0;f=c[g>>2]|0;if(f|0){c[g>>2]=c[f>>2];h=b+276|0;c[h>>2]=(c[h>>2]|0)+1;h=24;break}g=b+288|0;f=c[g>>2]|0;if(!f)f=2;else{c[g>>2]=c[f>>2];h=b+276|0;c[h>>2]=(c[h>>2]|0)+1;h=24;break}}else f=1;j=b+276+(f<<2)|0;c[j>>2]=(c[j>>2]|0)+1}f=Ec(b,i,0)|0;h=24}while(0);if((h|0)==24)if(!f){j=0;return j|0}Tt(f|0,d|0,i|0)|0;j=f;return j|0}function lg(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=d+40|0;if(c[l>>2]|0){l=0;return l|0}g=a[d+20>>0]|0;if(g<<24>>24){if(g&3){l=0;return l|0}if(b[e+28>>1]&8){l=0;return l|0}}c[e+16>>2]=0;do if(c[d+212>>2]|0){f=Mg(e)|0;if(!f){f=hh(d,e,0,0)|0;h=12}}else{if(!((b[e+28>>1]&8)==0?(a[d+16>>0]|0)!=3:0))h=10;if((h|0)==10?(f=ih(d,1)|0,f|0):0)break;f=jh(d,e)|0;h=12}while(0);if((h|0)==12)if(!f){i=e+12|0;j=c[i>>2]|0;f=j+8|0;g=e+36|0;h=c[g>>2]|0;if((c[f>>2]|0)==(e|0))c[f>>2]=h;m=e+32|0;f=c[m>>2]|0;c[((f|0)==0?j+4|0:f+36|0)>>2]=h;f=c[g>>2]|0;g=c[m>>2]|0;if(!f){c[j>>2]=g;if(!g)a[j+33>>0]=2}else c[f+32>>2]=g;m=e+28|0;b[m>>1]=b[m>>1]&-16|1;if((b[e+30>>1]|0)==0?(k=c[i>>2]|0,(a[k+32>>0]|0)!=0):0){rb[c[152>>2]&255](c[k+44>>2]|0,c[e>>2]|0,0);f=0}else f=0}switch((f&255)<<24>>24){case 10:case 13:break;default:{m=f;return m|0}}c[l>>2]=f;a[d+16>>0]=6;c[d+200>>2]=f|0?139:138;m=f;return m|0}function mg(d){d=d|0;var e=0;e=c[d+8>>2]|0;if(!(a[e>>0]|0))return;a[e>>0]=0;if((b[d+30>>1]|0)<=1)return;$g(e)|0;return}function ng(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;c[d>>2]=0;return c[a+40>>2]|0}function og(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r+16|0;h=r;if(!e){c[h>>2]=21258;c[h+4>>2]=53043;c[h+8>>2]=17052;Bc(11,17e3,h);d=11;l=r;return d|0}q=d+208|0;h=c[q>>2]|0;h=lb[c[148>>2]&255](c[h+44>>2]|0,e,a[h+33>>0]&3)|0;a:do if(!h){j=c[q>>2]|0;if((a[j+33>>0]|0)!=2){k=j+44|0;n=jb[c[144>>2]&255](c[k>>2]|0)|0;b:do if((n|0)>(c[j+20>>2]|0)){i=j+8|0;h=c[i>>2]|0;c:do if(!h)o=11;else{while(1){if((b[h+30>>1]|0)==0?(b[h+28>>1]&8)==0:0)break;h=c[h+36>>2]|0;if(!h){o=11;break c}}c[i>>2]=h}while(0);d:do if((o|0)==11){c[i>>2]=0;h=c[j+4>>2]|0;if(!h)break b;while(1){if(!(b[h+30>>1]|0))break d;h=c[h+36>>2]|0;if(!h)break b}}while(0);h=kb[c[j+36>>2]&255](c[j+40>>2]|0,h)|0;switch(h|0){case 0:case 5:break;default:break a}}while(0);h=lb[c[148>>2]&255](c[k>>2]|0,e,2)|0;if(h)o=16;else h=7}else h=7}else o=16;while(0);do if((o|0)==16){i=c[q>>2]|0;j=c[h+4>>2]|0;if(!(c[j>>2]|0))n=Ig(i,e,h)|0;else{n=i+12|0;c[n>>2]=(c[n>>2]|0)+1;n=j+30|0;b[n>>1]=(b[n>>1]|0)+1<<16>>16;n=j}c[f>>2]=n;h=g&1;i=n+20|0;j=(h|0)!=0;if(!(j|(c[i>>2]|0)==0)){d=d+184|0;c[d>>2]=(c[d>>2]|0)+1;d=0;l=r;return d|0}do if((e|0)>=0?(p=d+152|0,((1073741824/(c[p>>2]|0)|0)+1|0)!=(e|0)):0){c[i>>2]=d;if(c[c[d+60>>2]>>2]|0?((h|0)==0?(c[d+24>>2]|0)>>>0>=e>>>0:0):0){h=d+188|0;c[h>>2]=(c[h>>2]|0)+1;h=Ug(n)|0;if(!h)h=0;else break;l=r;return h|0}if((c[d+156>>2]|0)>>>0>>0)h=13;else{if(j){if((c[d+28>>2]|0)>>>0>=e>>>0)Hg(c[d+56>>2]|0,e)|0;g=d+96|0;h=c[g>>2]|0;if((h|0)>0){k=d+92|0;j=0;do{i=c[k>>2]|0;if((c[i+(j*48|0)+20>>2]|0)>>>0>=e>>>0){Hg(c[i+(j*48|0)+16>>2]|0,e)|0;h=c[g>>2]|0}j=j+1|0}while((j|0)<(h|0))}}Vt(c[n+4>>2]|0,0,c[p>>2]|0)|0;d=0;l=r;return d|0}}else o=36;while(0);if((o|0)==36){c[m>>2]=21258;c[m+4>>2]=53075;c[m+8>>2]=17052;Bc(11,17e3,m);if(!n){h=11;break}else h=11}g=n+12|0;do if(b[n+28>>1]&2){m=c[g>>2]|0;i=m+8|0;j=n+36|0;k=c[j>>2]|0;if((c[i>>2]|0)==(n|0))c[i>>2]=k;p=n+32|0;i=c[p>>2]|0;c[((i|0)==0?m+4|0:i+36|0)>>2]=k;i=c[j>>2]|0;j=c[p>>2]|0;if(i|0){c[i+32>>2]=j;break}c[m>>2]=j;if(!j)a[m+33>>0]=2}while(0);p=c[g>>2]|0;e=p+12|0;c[e>>2]=(c[e>>2]|0)+-1;rb[c[152>>2]&255](c[p+44>>2]|0,c[n>>2]|0,1)}while(0);if(!(c[(c[q>>2]|0)+12>>2]|0)){switch(a[d+16>>0]|0){case 0:case 6:break;case 1:{if(!(a[d+4>>0]|0))ug(d,0,0)|0;break}default:tg(d)|0}sg(d)}c[f>>2]=0;d=h;l=r;return d|0}function pg(a){a=a|0;var b=0,d=0,e=0;a=c[a+4>>2]|0;b=c[a+388>>2]|0;if(!b){e=0;return e|0}e=a+396|0;d=c[e>>2]|0;if((d|0)<0){e=0;return e|0}b=kb[b&255](c[a+392>>2]|0,d)|0;if(!b)a=-1;else a=(c[e>>2]|0)+1|0;c[e>>2]=a;e=b;return e|0}function qg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=c[b+204>>2]|0;f=c[b+136>>2]|0;if(f|0)do{g=f;f=c[f+16>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](g);else{k=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}}while((f|0)!=0);k=b+4|0;a[k>>0]=0;f=b+212|0;g=c[f>>2]|0;h=d[b+11>>0]|0;i=c[b+152>>2]|0;if((e|0)!=0?(c[e+28>>2]&2048|0)!=0:0)j=0;else j=m;rg(g,e,h,i,j)|0;c[f>>2]=0;jg(b);if(!(a[b+15>>0]|0)){h=b+64|0;f=c[h>>2]|0;g=c[f>>2]|0;a:do if(g|0){if(!(a[b+7>>0]|0)){f=kb[c[g+20>>2]&255](f,2)|0;if(!f){f=c[h>>2]|0;g=c[f>>2]|0;l=15}}else l=15;if((l|0)==15)f=kb[c[g+24>>2]&255](f,b+80|0)|0;switch((f&255)<<24>>24){case 10:case 13:break;default:break a}c[b+40>>2]=f;a[b+16>>0]=6;c[b+200>>2]=f|0?139:138}while(0);switch(a[b+16>>0]|0){case 0:case 6:break;case 1:{if(!(a[k>>0]|0))ug(b,0,0)|0;break}default:tg(b)|0}sg(b)}else sg(b);f=c[b+64>>2]|0;g=c[f>>2]|0;if(g|0){jb[c[g+4>>2]&255](f)|0;c[f>>2]=0}f=c[b+60>>2]|0;g=c[f>>2]|0;if(g|0){jb[c[g+4>>2]&255](f)|0;c[f>>2]=0}do if(m|0){l=m;if(l>>>0>=(c[11662]|0)>>>0&l>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[m>>2]=c[11665];c[11665]=m;m=(c[11666]|0)+1|0;c[11666]=m;c[11667]=(m|0)<(c[11661]|0)&1;break}l=jb[c[64>>2]&255](m)|0;c[11824]=(c[11824]|0)-l;if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{l=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);pb[c[164>>2]&255](c[(c[b+208>>2]|0)+44>>2]|0);if(!b)return;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{m=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function rg(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;m=o+8|0;k=o;i=o+12|0;if(!b){b=0;l=o;return b|0}if(g){j=b+4|0;h=c[j>>2]|0;h=kb[c[(c[h>>2]|0)+28>>2]&255](h,4)|0;if(!h){h=b+43|0;if(!(a[h>>0]|0))a[h>>0]=1;h=Wg(b,d,0,0,0,e,f,g,0,0)|0;if(!h){c[i>>2]=-1;j=c[j>>2]|0;lb[c[(c[j>>2]|0)+40>>2]&255](j,10,i)|0;if((c[i>>2]|0)==1){j=b+16|0;i=c[j+4>>2]|0;if((i|0)>-1|(i|0)==-1&(c[j>>2]|0)>>>0>4294967295){d=b+8|0;h=c[d>>2]|0;h=kb[c[(c[h>>2]|0)+24>>2]&255](h,k)|0;j=c[k+4>>2]|0;if((h|0)==0&((j|0)>0|(j|0)==0&(c[k>>2]|0)>>>0>0)){h=c[d>>2]|0;h=lb[c[(c[h>>2]|0)+16>>2]&255](h,0,0)|0}if(h|0){c[m>>2]=c[b+108>>2];Bc(h,21278,m)}h=0}else h=0}else h=1;j=0}else{j=h;h=0}}else{j=h;h=0}}else{j=0;h=0}g=b+43|0;d=a[g>>0]|0;if(d<<24>>24!=2?(a[b+50>>0]|0)==0:0)n=26;else{i=b+24|0;if((c[i>>2]|0)>0){e=b+32|0;d=0;do{f=c[(c[e>>2]|0)+(d<<2)>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{m=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[(c[e>>2]|0)+(d<<2)>>2]=0;d=d+1|0}while((d|0)<(c[i>>2]|0));d=a[g>>0]|0}if(d<<24>>24!=2)n=26}if((n|0)==26){n=c[b+4>>2]|0;kb[c[(c[n>>2]|0)+64>>2]&255](n,h)|0}d=c[b+8>>2]|0;e=c[d>>2]|0;if(e|0){jb[c[e+4>>2]&255](d)|0;c[d>>2]=0}if(h|0){n=c[b>>2]|0;lb[c[n+28>>2]&255](n,c[b+108>>2]|0,0)|0}h=c[b+32>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](b);b=j;l=o;return b|0}else{n=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);b=j;l=o;return b|0}return 0}function sg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;g=d+56|0;vg(c[g>>2]|0);c[g>>2]=0;g=d+96|0;if((c[g>>2]|0)>0){f=d+92|0;e=0;do{vg(c[(c[f>>2]|0)+(e*48|0)+16>>2]|0);e=e+1|0}while((e|0)<(c[g>>2]|0))}h=d+4|0;f=c[d+68>>2]|0;e=c[f>>2]|0;if(!(a[h>>0]|0)){if(e|0)k=7}else if((e|0)==3992){e=3992;k=7}if((k|0)==7){jb[c[e+4>>2]&255](f)|0;c[f>>2]=0}e=d+92|0;f=c[e>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{l=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[e>>2]=0;c[g>>2]=0;c[d+52>>2]=0;g=c[d+212>>2]|0;if(!g){if(!(a[h>>0]|0)){e=d+60|0;f=c[e>>2]|0;g=c[f>>2]|0;if(!(((g|0)!=0?((jb[c[g+48>>2]&255](f)|0)&2048|0)!=0:0)?(a[d+5>>0]&5)==1:0))k=25;if((k|0)==25?(i=c[d+64>>2]|0,j=c[i>>2]|0,j|0):0){jb[c[j+4>>2]&255](i)|0;c[i>>2]=0}e=c[e>>2]|0;f=c[e>>2]|0;if(f|0){if(!(a[d+13>>0]|0))f=kb[c[f+32>>2]&255](e,0)|0;else f=0;e=d+17|0;if((a[e>>0]|0)!=5)a[e>>0]=0;if(f|0?(a[d+16>>0]|0)==6:0)a[e>>0]=5}a[d+18>>0]=0;k=36}}else{e=g+44|0;if(a[e>>0]|0){if(!(a[g+43>>0]|0)){l=c[g+4>>2]|0;mb[c[(c[l>>2]|0)+56>>2]&255](l,0,1,9)|0}a[e>>0]=0;c[g+104>>2]=0;a[g+47>>0]=0}e=g+40|0;f=b[e>>1]|0;if(f<<16>>16>-1){if(!(a[g+43>>0]|0)){l=c[g+4>>2]|0;mb[c[(c[l>>2]|0)+56>>2]&255](l,(f<<16>>16)+3|0,1,5)|0}b[e>>1]=-1;k=36}else k=36}if((k|0)==36)a[d+16>>0]=0;f=d+40|0;if(!(c[f>>2]|0)){l=d+72|0;d=d+19|0;a[d>>0]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;return}if(!(a[d+12>>0]|0)){jg(d);a[d+18>>0]=0;e=0}else e=(c[c[d+64>>2]>>2]|0)==0&1;a[d+16>>0]=e;c[f>>2]=0;c[d+200>>2]=138;l=d+72|0;d=d+19|0;a[d>>0]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;return}function tg(b){b=b|0;var e=0,f=0,g=0;g=b+16|0;f=a[g>>0]|0;if(f<<24>>24==6){g=c[b+40>>2]|0;return g|0}if((f&255)<2){g=0;return g|0}do if(!(c[b+212>>2]|0)){if(!(f<<24>>24==2?1:(c[c[b+64>>2]>>2]|0)==0)){e=Dg(b,0)|0;break}e=ug(b,0,0)|0;if((f&255)>2&(a[b+15>>0]|0)==0){c[b+40>>2]=4;a[g>>0]=6;c[b+200>>2]=139;g=e;return g|0}}else{e=Cg(b,2,-1)|0;f=ug(b,d[b+19>>0]|0,0)|0;e=(e|0)==0?f:e}while(0);switch((e&255)<<24>>24){case 10:case 13:break;default:{g=e;return g|0}}c[b+40>>2]=e;a[g>>0]=6;c[b+200>>2]=e|0?139:138;g=e;return g|0}function ug(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+16|0;A=F;E=e+16|0;if((d[E>>0]|0)<2?(d[e+17>>0]|0)<2:0){E=0;l=F;return E|0}k=e+96|0;if((c[k>>2]|0)>0){j=e+92|0;i=0;do{vg(c[(c[j>>2]|0)+(i*48|0)+16>>2]|0);i=i+1|0}while((i|0)<(c[k>>2]|0))}D=e+4|0;j=c[e+68>>2]|0;i=c[j>>2]|0;if(!(a[D>>0]|0)){if(i|0)C=9}else if((i|0)==3992){i=3992;C=9}if((C|0)==9){jb[c[i+4>>2]&255](j)|0;c[j>>2]=0}i=e+92|0;j=c[i>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[i>>2]=0;c[k>>2]=0;c[e+52>>2]=0;n=e+64|0;o=c[n>>2]|0;m=c[o>>2]|0;a:do if(!m)u=0;else{if((m|0)==3992){k=o+16|0;i=c[k>>2]|0;if(i|0)do{j=i;i=c[i>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}}while((i|0)!=0);c[k>>2]=0;c[o>>2]=0;u=0;break}i=a[e+5>>0]|0;switch(i<<24>>24){case 3:{j=e+72|0;u=j;if(!((c[u>>2]|0)==0&(c[u+4>>2]|0)==0)){i=lb[c[m+16>>2]&255](o,0,0)|0;if(!i)if((a[e+8>>0]|0)!=0?(p=c[n>>2]|0,q=a[e+10>>0]|0,q<<24>>24!=0):0)i=kb[c[(c[p>>2]|0)+20>>2]&255](p,q&255)|0;else i=0}else i=0;u=j;c[u>>2]=0;c[u+4>>2]=0;u=i;break a}case 1:break;default:if(i<<24>>24==5|(a[D>>0]|0)==0){u=(a[e+12>>0]|0)==0;jb[c[m+4>>2]&255](o)|0;c[o>>2]=0;if(!u){u=0;break a}u=c[e>>2]|0;u=lb[c[u+28>>2]&255](u,c[e+172>>2]|0,d[e+9>>0]|0)|0;break a}}if(!f)i=(a[e+12>>0]|0)!=0;else i=1;f=e+72|0;u=f;if(!((c[u>>2]|0)==0&(c[u+4>>2]|0)==0)){k=e+160|0;j=c[k>>2]|0;k=c[k+4>>2]|0;if(i|(j|0)==0&(k|0)==0)i=lb[c[m+16>>2]&255](o,0,0)|0;else i=nb[c[m+12>>2]&255](o,47329,28,0,0)|0;if(!i){if(!(a[e+7>>0]|0)){i=c[n>>2]|0;i=kb[c[(c[i>>2]|0)+20>>2]&255](i,(a[e+10>>0]|16)&255)|0}else i=0;if(((k|0)>0|(k|0)==0&j>>>0>0)&(i|0)==0){i=c[n>>2]|0;i=kb[c[(c[i>>2]|0)+24>>2]&255](i,A)|0;u=A;t=c[u+4>>2]|0;if((i|0)==0&((t|0)>(k|0)|((t|0)==(k|0)?(c[u>>2]|0)>>>0>j>>>0:0))){i=c[n>>2]|0;i=lb[c[(c[i>>2]|0)+16>>2]&255](i,j,k)|0}}}}else i=0;u=f;c[u>>2]=0;c[u+4>>2]=0;u=i}while(0);t=e+56|0;vg(c[t>>2]|0);c[t>>2]=0;c[e+44>>2]=0;t=(u|0)==0;if(t){do if((a[e+15>>0]|0)==0?(a[e+12>>0]|0)!=0:0){if(g|0?c[c[e+60>>2]>>2]|0:0){j=c[e+208>>2]|0;i=c[j+16>>2]|0;if((i|0)<=-1){s=Lt(i|0,((i|0)<0)<<31>>31|0,-1024,-1)|0;i=(c[j+28>>2]|0)+(c[j+24>>2]|0)|0;i=Jt(s|0,z|0,i|0,((i|0)<0)<<31>>31|0)|0}j=c[j>>2]|0;if(!j){j=0;k=0}else{k=0;do{k=k+1|0;j=c[j+32>>2]|0}while((j|0)!=0);j=Lt(k|0,((k|0)<0)<<31>>31|0,100,0)|0;k=z}if(i|0?(s=Jt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0,(s|0)>24):0){C=58;break}}j=c[e+208>>2]|0;i=c[j>>2]|0;if(i|0)do{s=i+28|0;b[s>>1]=b[s>>1]&-13;i=c[i+32>>2]|0}while((i|0)!=0);c[j+8>>2]=c[j+4>>2]}else C=58;while(0);if((C|0)==58){p=e+208|0;j=c[p>>2]|0;i=c[j>>2]|0;if(i){do{n=i+12|0;o=c[n>>2]|0;k=o+8|0;f=i+36|0;m=c[f>>2]|0;if((c[k>>2]|0)==(i|0))c[k>>2]=m;s=i+32|0;k=c[s>>2]|0;c[((k|0)==0?o+4|0:k+36|0)>>2]=m;k=c[f>>2]|0;f=c[s>>2]|0;if(!k){c[o>>2]=f;if(!f)a[o+33>>0]=2}else c[k+32>>2]=f;s=i+28|0;b[s>>1]=b[s>>1]&-16|1;if((b[i+30>>1]|0)==0?(r=c[n>>2]|0,a[r+32>>0]|0):0)rb[c[152>>2]&255](c[r+44>>2]|0,c[i>>2]|0,0);i=c[j>>2]|0}while((i|0)!=0);j=c[p>>2]|0}}i=c[e+24>>2]|0;s=j+44|0;if(c[s>>2]|0){k=c[j>>2]|0;if(k|0)do{o=k+32|0;p=k;k=c[o>>2]|0;if((c[p+24>>2]|0)>>>0>i>>>0){q=p+12|0;r=c[q>>2]|0;f=r+8|0;m=p+36|0;n=c[m>>2]|0;if((c[f>>2]|0)==(p|0))c[f>>2]=n;c[((k|0)==0?r+4|0:k+36|0)>>2]=n;m=c[m>>2]|0;f=c[o>>2]|0;if(!m){c[r>>2]=f;if(!f)a[r+33>>0]=2}else c[m+32>>2]=f;r=p+28|0;b[r>>1]=b[r>>1]&-16|1;if((b[p+30>>1]|0)==0?(v=c[q>>2]|0,a[v+32>>0]|0):0)rb[c[152>>2]&255](c[v+44>>2]|0,c[p>>2]|0,0)}}while((k|0)!=0);if(!i)if((c[j+12>>2]|0)!=0?(w=lb[c[148>>2]&255](c[s>>2]|0,1,0)|0,(w|0)!=0):0){Vt(c[w>>2]|0,0,c[j+24>>2]|0)|0;i=1}else i=0;qb[c[160>>2]&255](c[s>>2]|0,i+1|0)}}q=e+212|0;i=c[q>>2]|0;if(!i)if((g|0)!=0&t){n=e+32|0;o=c[e+24>>2]|0;if(((c[n>>2]|0)>>>0>o>>>0?(B=e+60|0,x=c[B>>2]|0,y=c[x>>2]|0,(y|0)!=0):0)?((a[E>>0]|0)+-1&255)>2:0){p=c[e+152>>2]|0;i=kb[c[y+24>>2]&255](x,A)|0;k=((p|0)<0)<<31>>31;f=Lt(p|0,k|0,o|0,0)|0;m=z;do if(!i){j=A;i=c[j>>2]|0;j=c[j+4>>2]|0;if((i|0)==(f|0)&(j|0)==(m|0))h=0;else{if(!((j|0)>(m|0)|(j|0)==(m|0)&i>>>0>f>>>0)){A=Ft(i|0,j|0,p|0,k|0)|0;y=z;if(!((y|0)>(m|0)|(y|0)==(m|0)&A>>>0>f>>>0)){C=c[e+204>>2]|0;Vt(C|0,0,p|0)|0;B=c[B>>2]|0;h=Gt(f|0,m|0,p|0,k|0)|0;h=nb[c[(c[B>>2]|0)+12>>2]&255](B,C,p,h,z)|0;C=106}}else{h=c[B>>2]|0;h=lb[c[(c[h>>2]|0)+16>>2]&255](h,f,m)|0;C=106}if((C|0)==106?h|0:0)break;c[n>>2]=o;h=0}}else h=i;while(0)}else h=0}else h=u;else{h=i+44|0;if(!(a[h>>0]|0))h=u;else{if(!(a[i+43>>0]|0)){C=c[i+4>>2]|0;mb[c[(c[C>>2]|0)+56>>2]&255](C,0,1,9)|0}a[h>>0]=0;c[i+104>>2]=0;a[i+47>>0]=0;h=u}}if((g|0)!=0&(h|0)==0){h=c[e+60>>2]|0;i=c[h>>2]|0;if(!i)j=0;else{j=lb[c[i+40>>2]&255](h,22,0)|0;j=(j|0)==12?0:j}}else j=h;b:do if(!(a[D>>0]|0)){h=c[q>>2]|0;do if(h|0){i=h+43|0;if(!(a[i>>0]|0)){h=0;break b}a[i>>0]=0;D=c[h+4>>2]|0;if(!(mb[c[(c[D>>2]|0)+56>>2]&255](D,(b[h+40>>1]|0)+3|0,1,6)|0))if(!(a[i>>0]|0))break;else{h=0;break b}else{a[i>>0]=1;h=0;break b}}while(0);h=c[e+60>>2]|0;i=c[h>>2]|0;if(i){if(!(a[e+13>>0]|0))h=kb[c[i+32>>2]&255](h,1)|0;else h=0;i=e+17|0;if((a[i>>0]|0)!=5)a[i>>0]=1}else h=0;a[e+18>>0]=0}else h=0;while(0);a[E>>0]=1;a[e+19>>0]=0;E=(j|0)==0?h:j;l=F;return E|0}function vg(a){a=a|0;var b=0,d=0;if(!a)return;if(c[a+8>>2]|0){d=a+12|0;b=0;do{vg(c[d+(b<<2)>>2]|0);b=b+1|0}while((b|0)!=125)}if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function wg(a){a=a|0;var b=0,d=0,e=0;d=a+16|0;a=c[d>>2]|0;if(!a){c[d>>2]=0;return 0}do{b=a;a=c[a>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](b);else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b)}}while((a|0)!=0);c[d>>2]=0;return 0}function xg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;l=a+40|0;k=l;a:do if((e|0)==0&(f|0)==0|((c[k>>2]|0)!=(e|0)?1:(c[k+4>>2]|0)!=(f|0))){g=c[a+16>>2]|0;if(!g)g=0;else{j=c[a+4>>2]|0;k=((j|0)<0)<<31>>31;h=0;i=0;while(1){h=Ft(j|0,k|0,h|0,i|0)|0;i=z;if((i|0)>(f|0)|(i|0)==(f|0)&h>>>0>e>>>0)break a;g=c[g>>2]|0;if(!g){g=0;break}}}}else g=c[a+48>>2]|0;while(0);k=a+4|0;i=c[k>>2]|0;j=Mt(e|0,f|0,i|0,((i|0)<0)<<31>>31|0)|0;i=i-j|0;h=(i|0)>(d|0)?d:i;Tt(b|0,g+4+j|0,h|0)|0;i=d-i|0;b:do if((i|0)>-1){j=b;do{g=c[g>>2]|0;if(!((i|0)!=0&(g|0)!=0))break b;j=j+h|0;b=c[k>>2]|0;h=(i|0)<(b|0)?i:b;Tt(j|0,g+4|0,h|0)|0;i=i-b|0}while((i|0)>-1)}while(0);b=(g|0)==0;f=Ft(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0;c[l>>2]=b?0:f;c[l+4>>2]=b?0:z;c[a+48>>2]=g;return 0}function yg(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;K=l;l=l+32|0;I=K;J=a+8|0;g=c[J>>2]|0;if((g|0)>0?(H=Ft(d|0,((d|0)<0)<<31>>31|0,e|0,f|0)|0,F=z,G=((g|0)<0)<<31>>31,(F|0)>(G|0)|(F|0)==(G|0)&H>>>0>g>>>0):0){n=c[a>>2]|0;u=a+4|0;v=c[u>>2]|0;F=J;E=c[F>>2]|0;F=c[F+4>>2]|0;w=a+16|0;g=c[w>>2]|0;x=a+20|0;y=c[x>>2]|0;A=a+24|0;H=A;G=c[H>>2]|0;H=c[H+4>>2]|0;B=a+32|0;c[I>>2]=c[B>>2];c[I+4>>2]=c[B+4>>2];c[I+8>>2]=c[B+8>>2];c[I+12>>2]=c[B+12>>2];c[I+16>>2]=c[B+16>>2];c[I+20>>2]=c[B+20>>2];C=a+56|0;D=c[C>>2]|0;o=a+60|0;p=c[o>>2]|0;q=a+64|0;r=c[q>>2]|0;s=a+68|0;t=c[s>>2]|0;h=a;i=h+72|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));h=nb[c[p+24>>2]&255](p,r,a,D&556927,0)|0;a:do if(!h){if(g|0){i=v;j=g;k=0;m=0;while(1){L=Ft(i|0,((i|0)<0)<<31>>31|0,k|0,m|0)|0;M=z;h=Gt(G|0,H|0,k|0,m|0)|0;i=(M|0)>(H|0)|(M|0)==(H|0)&L>>>0>G>>>0?h:i;h=nb[c[(c[a>>2]|0)+12>>2]&255](a,j+4|0,i,k,m)|0;if(h|0){i=a;break a}k=Ft(i|0,((i|0)<0)<<31>>31|0,k|0,m|0)|0;j=c[j>>2]|0;if(!j)break;else m=z}do{h=g;g=c[g>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{M=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}}while((g|0)!=0)}M=nb[c[(c[a>>2]|0)+12>>2]&255](a,b,d,e,f)|0;l=K;return M|0}else i=a;while(0);j=c[i>>2]|0;if(j|0){jb[c[j+4>>2]&255](a)|0;c[i>>2]=0}c[a>>2]=n;c[u>>2]=v;M=J;c[M>>2]=E;c[M+4>>2]=F;c[w>>2]=g;c[x>>2]=y;M=A;c[M>>2]=G;c[M+4>>2]=H;c[B>>2]=c[I>>2];c[B+4>>2]=c[I+4>>2];c[B+8>>2]=c[I+8>>2];c[B+12>>2]=c[I+12>>2];c[B+16>>2]=c[I+16>>2];c[B+20>>2]=c[I+20>>2];c[C>>2]=D;c[o>>2]=p;c[q>>2]=r;c[s>>2]=t;M=h;l=K;return M|0}b:do if((d|0)>0){q=a+24|0;n=a+32|0;o=a+4|0;p=a+16|0;i=q;m=d;h=c[i>>2]|0;i=c[i+4>>2]|0;while(1){g=c[n>>2]|0;j=c[o>>2]|0;i=Mt(h|0,i|0,j|0,((j|0)<0)<<31>>31|0)|0;k=j-i|0;k=(m|0)<(k|0)?m:k;if(!i){h=Fd(j+4|0)|0;if(!h){g=3082;break}c[h>>2]=0;if(!g)c[p>>2]=h;else c[g>>2]=h;c[n>>2]=h;g=h}Tt(g+4+i|0,b|0,k|0)|0;m=m-k|0;h=q;h=Ft(c[h>>2]|0,c[h+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;i=z;M=q;c[M>>2]=h;c[M+4>>2]=i;if((m|0)<=0)break b;else b=b+k|0}l=K;return g|0}while(0);M=Ft(d|0,0,e|0,f|0)|0;c[a+12>>2]=M;M=0;l=K;return M|0}function zg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if(!((b|0)==0&(d|0)==0))return 0;e=a+16|0;b=c[e>>2]|0;if(b|0)do{d=b;b=c[b>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](d);else{f=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d)}}while((b|0)!=0);c[e>>2]=0;c[a+12>>2]=0;c[a+32>>2]=0;f=a+24|0;c[f>>2]=0;c[f+4>>2]=0;c[a+48>>2]=0;f=a+40|0;c[f>>2]=0;c[f+4>>2]=0;return 0}function Ag(a,b){a=a|0;b=b|0;return 0}function Bg(a,b){a=a|0;b=b|0;var d=0;d=a+24|0;a=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=a;return 0}function Cg(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+16|0;x=y+8|0;w=y;h=c[d+40>>2]|0;if(h|0){d=h;l=y;return d|0}j=d+96|0;h=c[j>>2]|0;if((h|0)<=(g|0)){d=0;l=y;return d|0}i=(f|0)==1;g=((i^1)&1)+g|0;if((g|0)<(h|0)){f=d+92|0;h=g;do{vg(c[(c[f>>2]|0)+(h*48|0)+16>>2]|0);h=h+1|0}while((h|0)<(c[j>>2]|0))}c[j>>2]=g;if(i){if(g|0){d=0;l=y;return d|0}i=c[d+68>>2]|0;h=c[i>>2]|0;if(!h){d=0;l=y;return d|0}if((h|0)==3992){g=i+16|0;h=c[g>>2]|0;if(h|0)do{f=h;h=c[h>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{x=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}}while((h|0)!=0);c[g>>2]=0;c[i+12>>2]=0;c[i+32>>2]=0;x=i+24|0;c[x>>2]=0;c[x+4>>2]=0;c[i+48>>2]=0;x=i+40|0;c[x>>2]=0;c[x+4>>2]=0}c[d+52>>2]=0;d=0;l=y;return d|0}t=d+212|0;if((c[t>>2]|0)==0?(c[c[d+64>>2]>>2]|0)==0:0){d=0;l=y;return d|0}if(g){j=g+-1|0;v=c[d+92>>2]|0;k=v+(j*48|0)|0;j=v+(j*48|0)+20|0;if(!k){v=0;f=j;r=0;s=0}else{i=c[j>>2]|0;if(!(c[2]|0)){h=jb[c[52>>2]&255](512)|0;if(!h){d=7;l=y;return d|0}else u=31}else{h=jb[c[68>>2]&255](512)|0;if((c[11829]|0)>>>0<512)c[11829]=512;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){s=c[11822]|0;v=Gt(f|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;r=z;c[11616]=(0>(r|0)|0==(r|0)&s>>>0>=v>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h){d=7;l=y;return d|0}f=jb[c[64>>2]&255](h)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;Vt(h|0,0,512)|0}else u=31}if((u|0)==31)Vt(h|0,0,512)|0;c[h>>2]=i;v=h;f=j;r=1;s=k}}else{v=0;f=20;r=0;s=0}h=d+28|0;g=d+24|0;c[g>>2]=c[(r?f:h)>>2];a[d+18>>0]=a[d+12>>0]|0;a:do if(r){m=d+72|0;f=m;g=c[f>>2]|0;f=c[f+4>>2]|0;if(!(c[t>>2]|0)){j=s+8|0;i=c[j>>2]|0;j=c[j+4>>2]|0;h=(i|0)==0&(j|0)==0;i=h?g:i;j=h?f:j;h=s;k=c[h>>2]|0;h=c[h+4>>2]|0;q=m;c[q>>2]=k;c[q+4>>2]=h;if((h|0)<(j|0)|(h|0)==(j|0)&k>>>0>>0)while(1){h=Gg(d,m,v,1,1)|0;if(h|0){q=g;o=f;break a}h=m;k=c[h>>2]|0;h=c[h+4>>2]|0;if(!((h|0)<(j|0)|(h|0)==(j|0)&k>>>0>>0)){q=g;u=64;break}}else{q=g;u=64}}else{h=m;u=63}}else{o=c[t>>2]|0;if(!o){h=d+72|0;f=h;g=c[f>>2]|0;f=c[f+4>>2]|0;u=63;break}c[g>>2]=c[h>>2];if(a[o+44>>0]|0){n=o+68|0;m=c[n>>2]|0;k=o+32|0;i=c[k>>2]|0;h=o+52|0;f=c[i>>2]|0;g=h+48|0;do{a[h>>0]=a[f>>0]|0;h=h+1|0;f=f+1|0}while((h|0)<(g|0));f=c[n>>2]|0;h=f+1|0;if(h>>>0>m>>>0)h=0;else{j=h;g=i;while(1){h=f+34|0;f=h>>>12;if(!f)h=(c[g>>2]|0)+(h<<2)|0;else h=(c[g+(f<<2)>>2]|0)+((h&4095)<<2)|0;h=Rg(d,c[h>>2]|0)|0;f=j+1|0;if(f>>>0>m>>>0|(h|0)!=0)break;w=j;j=f;g=c[k>>2]|0;f=w}f=c[n>>2]|0}if(!((m|0)==(f|0)|(f|0)==0)){f=(f+33|0)>>>12;if(!(Sg(o,f,x)|0)){i=c[x>>2]|0;if(!f){g=i+136|0;c[x>>2]=g;f=0}else{f=(f<<12)+-34|0;g=i}k=g+-4|0;j=i+16384|0}else{f=0;k=0;j=0}g=(c[n>>2]|0)-f|0;f=0;do{i=j+(f<<1)|0;if((e[i>>1]|0)>(g|0))b[i>>1]=0;f=f+1|0}while((f|0)!=8192);x=k+(g+1<<2)|0;Vt(x|0,0,j-x|0)|0}}else h=0;f=Tg(c[c[d+208>>2]>>2]|0)|0;if(!((h|0)==0&(f|0)!=0)){d=h;l=y;return d|0}do{h=f;f=c[f+16>>2]|0;h=Rg(d,c[h+24>>2]|0)|0}while((f|0)!=0&(h|0)==0);l=y;return h|0}while(0);if((u|0)==63){m=h;c[m>>2]=0;c[m+4>>2]=0;m=h;h=0;k=0;q=g;u=64}b:do if((u|0)==64){n=d+80|0;o=d+148|0;p=d+152|0;if((h|0)<(f|0)|(h|0)==(f|0)&k>>>0>>0)while(1){c[x>>2]=0;h=Fg(d,0,q,f,x,w)|0;g=c[x>>2]|0;if(!g){g=n;g=Ft(c[o>>2]|0,0,c[g>>2]|0,c[g+4>>2]|0)|0;i=z;u=m;if((g|0)==(c[u>>2]|0)?(i|0)==(c[u+4>>2]|0):0){u=Gt(q|0,f|0,g|0,i|0)|0;g=(c[p>>2]|0)+8|0;g=Jt(u|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0;c[x>>2]=g;u=68}else u=73}else u=68;c:do if((u|0)==68){u=0;if((h|0)==0&(g|0)!=0){j=0;while(1){i=m;h=c[i>>2]|0;i=c[i+4>>2]|0;if(!((i|0)<(f|0)|(i|0)==(f|0)&h>>>0>>0))break;h=Gg(d,m,v,1,1)|0;j=j+1|0;if(!(j>>>0>>0&(h|0)==0)){u=73;break c}}g=i}else u=73}while(0);if((u|0)==73){u=0;if(h|0){o=f;break b}h=m;g=c[h+4>>2]|0;h=c[h>>2]|0}if(!((g|0)<(f|0)|(g|0)==(f|0)&h>>>0>>0)){h=0;o=f;break}}else{h=0;o=f}}while(0);if(r){n=s+24|0;r=(c[d+152>>2]|0)+4|0;r=Lt(r|0,((r|0)<0)<<31>>31|0,c[n>>2]|0,0)|0;i=w;c[i>>2]=r;c[i+4>>2]=z;i=c[t>>2]|0;if(!i){if(!h)u=93}else{h=s+28|0;f=s+40|0;g=i+112|0;if((c[f>>2]|0)==(c[g>>2]|0))h=c[h>>2]|0;else{c[h>>2]=0;c[f>>2]=c[g>>2];h=0}k=i+68|0;if(h>>>0<(c[k>>2]|0)>>>0?(c[k>>2]=h,c[i+76>>2]=c[s+32>>2],c[i+80>>2]=c[s+36>>2],(h|0)!=0):0){h=(h+33|0)>>>12;if(!(Sg(i,h,x)|0)){g=c[x>>2]|0;if(!h){f=g+136|0;c[x>>2]=f;h=0}else{h=(h<<12)+-34|0;f=g}j=f+-4|0;i=g+16384|0}else{h=0;j=0;i=0}f=(c[k>>2]|0)-h|0;h=0;do{g=i+(h<<1)|0;if((e[g>>1]|0)>(f|0))b[g>>1]=0;h=h+1|0}while((h|0)!=8192);u=j+(f+1<<2)|0;Vt(u|0,0,i-u|0)|0;u=93}else u=93}d:do if((u|0)==93){g=d+52|0;f=c[n>>2]|0;while(1){if(f>>>0>=(c[g>>2]|0)>>>0){h=0;break d}h=Gg(d,w,v,0,1)|0;if(!h)f=f+1|0;else break}}while(0)}vg(v);if(h|0){d=h;l=y;return d|0}d=m;c[d>>2]=q;c[d+4>>2]=o;d=0;l=y;return d|0}function Dg(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=l;l=l+48|0;M=N+16|0;J=N+8|0;K=N+40|0;y=N;A=N+36|0;B=N+32|0;I=N+28|0;C=N+24|0;h=c[b>>2]|0;c[B>>2]=0;c[I>>2]=1;x=b+152|0;c[C>>2]=c[x>>2];E=b+64|0;g=c[E>>2]|0;g=kb[c[(c[g>>2]|0)+24>>2]&255](g,y)|0;a:do if(!g){D=b+204|0;f=c[D>>2]|0;g=Eg(c[E>>2]|0,f,(c[(c[b>>2]|0)+8>>2]|0)+1|0)|0;if(!g){if(!(a[f>>0]|0))f=0;else f=mb[c[h+32>>2]&255](h,f,0,I)|0;b:do if((f|0)==0&(c[I>>2]|0)!=0){q=b+72|0;r=b+148|0;s=b+80|0;t=b+60|0;u=b+24|0;v=b+16|0;w=b+32|0;f=0;h=d;g=0;i=0;c:while(1){p=q;c[p>>2]=g;c[p+4>>2]=i;d:while(1){while(1){g=y;g=Fg(b,d,c[g>>2]|0,c[g+4>>2]|0,A,B)|0;switch(g|0){case 101:{u=f;break b}case 0:break;default:{e=g;L=35;break b}}g=c[A>>2]|0;k=c[r>>2]|0;if((g|0)==-1){p=y;p=Gt(c[p>>2]|0,c[p+4>>2]|0,k|0,0)|0;g=(c[x>>2]|0)+8|0;g=Jt(p|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0;c[A>>2]=g}j=q;i=c[j>>2]|0;j=c[j+4>>2]|0;if((g|d|0)==0?(p=s,p=Ft(c[p>>2]|0,c[p+4>>2]|0,k|0,0)|0,(p|0)==(i|0)&(z|0)==(j|0)):0){o=y;o=Gt(c[o>>2]|0,c[o+4>>2]|0,i|0,j|0)|0;p=(c[x>>2]|0)+8|0;p=Jt(o|0,z|0,p|0,((p|0)<0)<<31>>31|0)|0;c[A>>2]=p}else p=g;if((i|0)==(k|0)&(j|0)==0){n=c[B>>2]|0;g=c[t>>2]|0;i=c[g>>2]|0;if(i|0?((a[v>>0]|0)+-1&255)>2:0){o=c[x>>2]|0;g=kb[c[i+24>>2]&255](g,J)|0;j=((o|0)<0)<<31>>31;k=Lt(o|0,j|0,n|0,0)|0;m=z;if(g|0){e=g;break c}i=J;g=c[i>>2]|0;i=c[i+4>>2]|0;if(!((g|0)==(k|0)&(i|0)==(m|0))){do if((i|0)>(m|0)|(i|0)==(m|0)&g>>>0>k>>>0){e=c[t>>2]|0;e=lb[c[(c[e>>2]|0)+16>>2]&255](e,k,m)|0;L=24}else{i=Ft(g|0,i|0,o|0,j|0)|0;g=z;if((g|0)>(m|0)|(g|0)==(m|0)&i>>>0>k>>>0)break;L=c[D>>2]|0;Vt(L|0,0,o|0)|0;i=c[t>>2]|0;e=Gt(k|0,m|0,o|0,j|0)|0;e=nb[c[(c[i>>2]|0)+12>>2]&255](i,L,o,e,z)|0;L=24}while(0);if((L|0)==24?(L=0,e|0):0)break c;c[w>>2]=n}}c[u>>2]=n}if(p|0){g=0;break}}while(1){if(h|0)jg(b);h=Gg(b,q,0,1,0)|0;switch(h|0){case 522:{u=f;break b}case 101:break d;case 0:break;default:{e=h;L=35;break b}}f=f+1|0;g=g+1|0;if(g>>>0

    >>0)h=0;else{h=0;continue d}}}i=y;h=0;g=c[i>>2]|0;i=c[i+4>>2]|0}L=36;break a}else{e=f;f=0;L=35}while(0);if((L|0)==35)if(!e)u=f;else{L=36;break}g=gg(b,C,-1)|0;e=b+12|0;a[b+18>>0]=a[e>>0]|0;if(!g){t=c[D>>2]|0;g=Eg(c[E>>2]|0,t,(c[(c[b>>2]|0)+8>>2]|0)+1|0)|0;if(!g){if(((a[b+16>>0]|0)+-1&255)>2){h=b+60|0;f=c[h>>2]|0;g=c[f>>2]|0;if(g|0){g=lb[c[g+40>>2]&255](f,21,0)|0;switch(g|0){case 0:case 12:break;default:{h=u;break a}}}if(((a[b+7>>0]|0)==0?(F=c[h>>2]|0,G=a[b+10>>0]|0,G<<24>>24):0)?(H=kb[c[(c[F>>2]|0)+20>>2]&255](F,G&255)|0,H|0):0){h=u;g=H;break}}f=ug(b,(a[t>>0]|0)!=0&1,0)|0;if(!f)if((a[t>>0]|0)!=0&(c[I>>2]|0)!=0){s=c[b>>2]|0;i=s+4|0;j=c[i>>2]<<1;I=Ft(j|0,((j|0)<0)<<31>>31|0,-1,-1)|0;H=z;e:do if(!(H>>>0>0|(H|0)==0&I>>>0>2147483390)){if(!(c[2]|0)){f=jb[c[52>>2]&255](j)|0;if(!f){f=7;break}else L=58}else{f=jb[c[68>>2]&255](j)|0;if((c[11829]|0)>>>0>>0)c[11829]=j;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){H=c[11822]|0;I=Gt(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;G=z;c[11616]=(0>(G|0)|0==(G|0)&H>>>0>=I>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){f=7;break}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;Vt(f|0,0,j|0)|0;p=f+(c[i>>2]|0)|0;r=f;q=1}else L=58}if((L|0)==58){Vt(f|0,0,j|0)|0;p=f+(c[i>>2]|0)|0;r=f;q=(f|0)!=0}o=s+24|0;f=nb[c[o>>2]&255](s,t,r,16385,0)|0;f:do if(!f){f=kb[c[(c[r>>2]|0)+24>>2]&255](r,J)|0;if(!f){n=(c[s+8>>2]|0)+1|0;f=J;f=Ft(n|0,((n|0)<0)<<31>>31|0,c[f>>2]|0,c[f+4>>2]|0)|0;g=z;if(!(g>>>0>0|(g|0)==0&f>>>0>2147483390)){f=Ft(f|0,g|0,1,0)|0;do if(!(c[2]|0)){f=jb[c[52>>2]&255](f)|0;if(!f){f=7;L=92;break f}else g=f}else{h=jb[c[68>>2]&255](f)|0;if((c[11829]|0)>>>0>>0)c[11829]=f;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){H=c[11822]|0;I=Gt(f|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;G=z;c[11616]=(0>(G|0)|0==(G|0)&H>>>0>=I>>>0)&1}g=jb[c[52>>2]&255](h)|0;if(!g){f=7;L=92;break f}f=jb[c[64>>2]&255](g)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0<=(c[11831]|0)>>>0)break;c[11831]=f}while(0);m=J;f=c[m>>2]|0;m=Ft(f|0,c[m+4>>2]|0,1,0)|0;m=g+m|0;f=nb[c[(c[r>>2]|0)+8>>2]&255](r,g,f,0,0)|0;do if(!f){a[g+(c[J>>2]|0)>>0]=0;j=g;I=J;H=c[I+4>>2]|0;g:do if((H|0)>0|(H|0)==0&(c[I>>2]|0)>>>0>0){k=s+32|0;i=g;h:while(1){f=mb[c[k>>2]&255](s,i,0,K)|0;if(f|0)break;do if(c[K>>2]|0){f=nb[c[o>>2]&255](s,i,p,2049,0)|0;if(f|0)break h;f=Eg(p,m,n)|0;h=c[p>>2]|0;if(h|0){jb[c[h+4>>2]&255](p)|0;c[p>>2]=0}if(f|0)break h;if(!(a[m>>0]|0))break;if(!(Ls(m,t)|0)){f=0;break h}}while(0);if(!i)f=0;else f=(As(i)|0)&1073741823;i=i+(f+1)|0;H=i-j|0;F=((H|0)<0)<<31>>31;I=J;G=c[I+4>>2]|0;if(!((F|0)<(G|0)|((F|0)==(G|0)?H>>>0<(c[I>>2]|0)>>>0:0))){L=89;break g}}}else L=89;while(0);if((L|0)==89){f=c[r>>2]|0;if(f|0){jb[c[f+4>>2]&255](r)|0;c[r>>2]=0}f=lb[c[s+28>>2]&255](s,t,0)|0}if(g|0)break;if(q){g=r;break f}else break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);if(q){g=r;break}else break e}else{K=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-K;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);if(q){g=r;break}else break e}}else{f=7;L=92}}else L=92}else L=92;while(0);if((L|0)==92){if(!q)break;g=r}h=c[g>>2]|0;if(h|0){jb[c[h+4>>2]&255](r)|0;c[g>>2]=0}if(r)if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{K=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-K;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}else f=7;while(0);h=u;g=f}else{h=u;g=0}else{h=u;g=f}}else h=u}else h=u}else{f=0;e=g;L=36}}else{f=0;e=g;L=36}while(0);if((L|0)==36){L=b+12|0;a[b+18>>0]=a[L>>0]|0;h=f;g=e;e=L}if((d|0)!=0&(h|0)!=0){d=c[b+172>>2]|0;c[M>>2]=h;c[M+4>>2]=d;Bc(539,21223,M)}if(a[e>>0]|0){M=512;b=b+148|0;c[b>>2]=M;l=N;return g|0}e=b+60|0;M=c[e>>2]|0;if((jb[c[(c[M>>2]|0)+48>>2]&255](M)|0)&4096|0){M=512;b=b+148|0;c[b>>2]=M;l=N;return g|0}e=c[e>>2]|0;f=c[(c[e>>2]|0)+44>>2]|0;if(f){e=jb[f&255](e)|0;if((e|0)<32){M=512;b=b+148|0;c[b>>2]=M;l=N;return g|0}}else e=4096;M=(e|0)<65536?e:65536;b=b+148|0;c[b>>2]=M;l=N;return g|0}function Eg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+32|0;m=q+16|0;o=q;p=q+8|0;a[e>>0]=0;i=kb[c[(c[b>>2]|0)+24>>2]&255](b,o)|0;h=o;g=c[h>>2]|0;h=c[h+4>>2]|0;if((i|0)!=0|((h|0)<0|(h|0)==0&g>>>0<16)){e=i;l=q;return e|0}g=Ft(g|0,h|0,-16,-1)|0;g=nb[c[(c[b>>2]|0)+8>>2]&255](b,m,4,g,z)|0;if(g|0){e=g;l=q;return e|0}i=m+1|0;j=m+2|0;k=m+3|0;n=d[i>>0]<<16|d[m>>0]<<24|d[j>>0]<<8|d[k>>0];if(n>>>0>=f>>>0){e=0;l=q;return e|0}h=o;g=c[h>>2]|0;h=c[h+4>>2]|0;f=Ft(g|0,h|0,-16,-1)|0;r=z;if((n|0)==0|(0>(r|0)|0==(r|0)&n>>>0>f>>>0)){r=0;l=q;return r|0}g=Ft(g|0,h|0,-12,-1)|0;g=nb[c[(c[b>>2]|0)+8>>2]&255](b,m,4,g,z)|0;if(g|0){r=g;l=q;return r|0}g=d[i>>0]<<16|d[m>>0]<<24|d[j>>0]<<8|d[k>>0];h=o;h=Ft(c[h>>2]|0,c[h+4>>2]|0,-8,-1)|0;h=nb[c[(c[b>>2]|0)+8>>2]&255](b,p,8,h,z)|0;if(h|0){r=h;l=q;return r|0}if(Bs(p,21250,8)|0){r=0;l=q;return r|0}h=o;r=c[h>>2]|0;h=c[h+4>>2]|0;p=Gt(-16,-1,n|0,0)|0;h=Ft(p|0,z|0,r|0,h|0)|0;h=nb[c[(c[b>>2]|0)+8>>2]&255](b,e,n,h,z)|0;if(!h)h=0;else{r=h;l=q;return r|0}do{g=g-(a[e+h>>0]|0)|0;h=h+1|0}while((h|0)!=(n|0));a[e+((g|0)==0?n:0)>>0]=0;r=0;l=q;return r|0}function Fg(a,b,e,f,g,h){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;q=u+16|0;k=u+8|0;r=u;t=a+72|0;j=t;i=c[j>>2]|0;j=c[j+4>>2]|0;if((i|0)==0&(j|0)==0){i=a+148|0;s=i;o=0;p=0;i=c[i>>2]|0}else{o=Ft(i|0,j|0,-1,-1)|0;s=a+148|0;i=c[s>>2]|0;o=Jt(o|0,z|0,i|0,0)|0;o=Ft(o|0,z|0,1,0)|0;o=Lt(o|0,z|0,i|0,0)|0;p=z}n=t;c[n>>2]=o;c[n+4>>2]=p;n=Ft(i|0,0,o|0,p|0)|0;m=z;if((m|0)>(f|0)|(m|0)==(f|0)&n>>>0>e>>>0){t=101;l=u;return t|0}if((b|0)==0?(n=a+80|0,(o|0)==(c[n>>2]|0)?(p|0)==(c[n+4>>2]|0):0):0)e=a+64|0;else{i=a+64|0;j=c[i>>2]|0;j=nb[c[(c[j>>2]|0)+8>>2]&255](j,k,8,o,p)|0;if(j|0){t=j;l=u;return t|0}if(!(Bs(k,21250,8)|0))e=i;else{t=101;l=u;return t|0}}n=c[e>>2]|0;i=Ft(o|0,p|0,8,0)|0;i=nb[c[(c[n>>2]|0)+8>>2]&255](n,q,4,i,z)|0;if(i|0){t=i;l=u;return t|0}k=q+1|0;m=q+2|0;n=q+3|0;c[g>>2]=(d[k>>0]|0)<<16|(d[q>>0]|0)<<24|(d[m>>0]|0)<<8|(d[n>>0]|0);g=c[e>>2]|0;i=Ft(o|0,p|0,12,0)|0;i=nb[c[(c[g>>2]|0)+8>>2]&255](g,q,4,i,z)|0;if(i|0){t=i;l=u;return t|0}c[a+48>>2]=(d[k>>0]|0)<<16|(d[q>>0]|0)<<24|(d[m>>0]|0)<<8|(d[n>>0]|0);g=c[e>>2]|0;i=Ft(o|0,p|0,16,0)|0;i=nb[c[(c[g>>2]|0)+8>>2]&255](g,q,4,i,z)|0;if(i|0){t=i;l=u;return t|0}c[h>>2]=(d[k>>0]|0)<<16|(d[q>>0]|0)<<24|(d[m>>0]|0)<<8|(d[n>>0]|0);j=t;b=c[j>>2]|0;j=c[j+4>>2]|0;a:do if((b|0)==0&(j|0)==0){h=c[e>>2]|0;i=Ft(o|0,p|0,20,0)|0;i=nb[c[(c[h>>2]|0)+8>>2]&255](h,q,4,i,z)|0;do if(!i){f=(d[k>>0]|0)<<16|(d[q>>0]|0)<<24|(d[m>>0]|0)<<8|(d[n>>0]|0);h=c[e>>2]|0;i=Ft(o|0,p|0,24,0)|0;i=nb[c[(c[h>>2]|0)+8>>2]&255](h,q,4,i,z)|0;if(i|0)break;i=(d[k>>0]|0)<<16|(d[q>>0]|0)<<24|(d[m>>0]|0)<<8|(d[n>>0]|0);c[r>>2]=i;if(!i){i=c[a+152>>2]|0;c[r>>2]=i}if((!((f+-32|0)>>>0>65504|(i+-512|0)>>>0>65024)?(i+-1&i|0)==0:0)?(f+-1&f|0)==0:0){e=gg(a,r,-1)|0;c[s>>2]=f;j=t;b=c[j>>2]|0;j=c[j+4>>2]|0;i=f;break a}else i=101}while(0);t=i;l=u;return t|0}else{e=0;i=c[s>>2]|0}while(0);s=Ft(b|0,j|0,i|0,0)|0;c[t>>2]=s;c[t+4>>2]=z;t=e;l=u;return t|0}function Gg(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+16|0;v=J+4|0;I=J;H=c[f+204>>2]|0;D=(i|0)!=0;r=c[(D?f+64|0:f+68|0)>>2]|0;k=g;k=nb[c[(c[r>>2]|0)+8>>2]&255](r,v,4,c[k>>2]|0,c[k+4>>2]|0)|0;if(k|0){I=k;l=J;return I|0}s=v+1|0;t=v+2|0;u=v+3|0;E=d[s>>0]<<16|d[v>>0]<<24|d[t>>0]<<8|d[u>>0];G=f+152|0;w=c[G>>2]|0;k=g;k=Ft(c[k>>2]|0,c[k+4>>2]|0,4,0)|0;k=nb[c[(c[r>>2]|0)+8>>2]&255](r,H,w,k,z)|0;if(k|0){I=k;l=J;return I|0}k=c[G>>2]|0;q=(i<<2)+4+k|0;p=g;p=Ft(q|0,((q|0)<0)<<31>>31|0,c[p>>2]|0,c[p+4>>2]|0)|0;q=z;w=g;c[w>>2]=p;c[w+4>>2]=q;if(!E){I=101;l=J;return I|0}if((E|0)==((1073741824/(k|0)|0)+1|0)){I=101;l=J;return I|0}if(E>>>0>(c[f+24>>2]|0)>>>0){I=0;l=J;return I|0}w=(h|0)==0;a:do if(!w?(m=E+-1|0,m>>>0<(c[h>>2]|0)>>>0):0){k=h;while(1){n=c[k+8>>2]|0;if(!n)break;k=c[k+12+(((m>>>0)/(n>>>0)|0)<<2)>>2]|0;if(!k)break a;else m=(m>>>0)%(n>>>0)|0}if((c[k>>2]|0)>>>0<4001){if(!(d[k+12+(m>>>3)>>0]&1<<(m&7)))break;else k=0;l=J;return k|0}o=m+1|0;m=(m>>>0)%125|0;n=c[k+12+(m<<2)>>2]|0;if(n|0){while(1){if((n|0)==(o|0)){k=0;break}m=((m+1|0)>>>0)%125|0;n=c[k+12+(m<<2)>>2]|0;if(!n)break a}l=J;return k|0}}while(0);if(D){k=Ft(p|0,q|0,-4,-1)|0;k=nb[c[(c[r>>2]|0)+8>>2]&255](r,v,4,k,z)|0;if(k|0){I=k;l=J;return I|0}n=d[s>>0]<<16|d[v>>0]<<24|d[t>>0]<<8|d[u>>0];if(!j){k=c[f+48>>2]|0;m=c[G>>2]|0;if((m|0)>200)do{m=m+-200|0;k=(d[H+m>>0]|0)+k|0}while((m|0)>200);if((k|0)!=(n|0)){I=101;l=J;return I|0}}}if(!w?(x=Hg(h,E)|0,x|0):0){I=x;l=J;return I|0}q=(E|0)==1;if(q?(y=f+142|0,A=a[H+20>>0]|0,(b[y>>1]|0)!=(A&255|0)):0)b[y>>1]=A&255;do if((c[f+212>>2]|0)==0?(B=f+208|0,C=lb[c[148>>2]&255](c[(c[B>>2]|0)+44>>2]|0,E,0)|0,(C|0)!=0):0){m=c[B>>2]|0;k=c[C+4>>2]|0;if(!(c[k>>2]|0)){k=Ig(m,E,C)|0;break}else{C=m+12|0;c[C>>2]=(c[C>>2]|0)+1;C=k+30|0;b[C>>1]=(b[C>>1]|0)+1<<16>>16;break}}else k=0;while(0);c[I>>2]=k;if(D)if(!(a[f+7>>0]|0)){D=g;C=c[D+4>>2]|0;m=f+80|0;g=c[m+4>>2]|0;m=(C|0)<(g|0)|((C|0)==(g|0)?(c[D>>2]|0)>>>0<=(c[m>>2]|0)>>>0:0)}else m=1;else if(!k)m=1;else m=(b[k+28>>1]&8)==0;n=c[f+60>>2]|0;o=c[n>>2]|0;do if(o){p=a[f+16>>0]|0;if((p&255)>3){if(!m){m=46;break}}else if(!(m&p<<24>>24==0)){m=46;break}m=c[G>>2]|0;k=Lt(m|0,((m|0)<0)<<31>>31|0,E+-1|0,0)|0;k=nb[c[o+12>>2]&255](n,H,m,k,z)|0;m=f+32|0;if(E>>>0>(c[m>>2]|0)>>>0)c[m>>2]=E;m=c[f+88>>2]|0;if(!m)m=56;else{Jg(m,E,H);m=56}}else m=46;while(0);if((m|0)==46)if((i|0)==0&(k|0)==0){i=f+20|0;a[i>>0]=a[i>>0]|2;k=mb[c[f+200>>2]&255](f,E,I,1)|0;a[i>>0]=a[i>>0]&-3;if(k|0){I=k;l=J;return I|0}o=c[I>>2]|0;m=o+28|0;k=e[m>>1]|0;if((k&17|0)!=0?(F=k&65519,b[m>>1]=F,(k&1|0)!=0):0){n=(F^3)&65535;b[m>>1]=n;k=c[o+12>>2]|0;c[o+36>>2]=0;m=c[k>>2]|0;c[o+32>>2]=m;if(!m){c[k+4>>2]=o;if(a[k+32>>0]|0)a[k+33>>0]=1}else c[m+36>>2]=o;c[k>>2]=o;k=k+8|0;if((n&8)==0&(c[k>>2]|0)==0){c[k>>2]=o;k=0;m=56}else{k=0;m=56}}else{k=0;m=56}}else o=0;if((m|0)==56){o=k;k=c[I>>2]|0}if(!k){I=o;l=J;return I|0}k=c[k+4>>2]|0;Tt(k|0,H|0,c[G>>2]|0)|0;pb[c[f+196>>2]&255](c[I>>2]|0);if(q){n=f+104|0;k=k+24|0;m=n+16|0;do{a[n>>0]=a[k>>0]|0;n=n+1|0;k=k+1|0}while((n|0)<(m|0))}Kg(c[I>>2]|0);I=o;l=J;return I|0}function Hg(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!b){m=0;return m|0}e=e+-1|0;a:do if((c[b>>2]|0)>>>0>4e3){m=b;f=e;j=b;while(1){k=m+8|0;i=c[k>>2]|0;if(!i)break;e=(f>>>0)%(i>>>0)|0;h=m+12+(((f>>>0)/(i>>>0)|0)<<2)|0;b=c[h>>2]|0;if(!b){if(!(c[2]|0)){b=jb[c[52>>2]&255](512)|0;if(!b){l=17;break}else l=15}else{b=jb[c[68>>2]&255](512)|0;if((c[11829]|0)>>>0<512)c[11829]=512;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){k=c[11822]|0;m=Gt(f|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&k>>>0>=m>>>0)&1}b=jb[c[52>>2]&255](b)|0;if(!b){l=17;break}f=jb[c[64>>2]&255](b)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;Vt(b|0,0,512)|0}else l=15}if((l|0)==15){l=0;Vt(b|0,0,512)|0}c[b>>2]=i;c[h>>2]=b}if((c[b>>2]|0)>>>0>4e3){m=b;f=e;j=b}else break a}if((l|0)==17){c[h>>2]=0;m=7;return m|0}i=f+1|0;f=(f>>>0)%125|0;h=m+12|0;e=c[m+12+(f<<2)>>2]|0;do if(!e){b=m+4|0;e=c[b>>2]|0;if(e>>>0<124)l=44}else{while(1){if((e|0)==(i|0)){e=0;l=45;break}e=f+1|0;f=e>>>0>124?0:e;e=c[m+12+(f<<2)>>2]|0;if(!e){l=25;break}}if((l|0)==25){b=m+4|0;e=c[b>>2]|0;if(e>>>0>61)break;else{l=44;break}}else if((l|0)==45)return e|0}while(0);if((l|0)==44){c[b>>2]=e+1;c[m+12+(f<<2)>>2]=i;m=0;return m|0}if(!(c[2]|0)){e=jb[c[52>>2]&255](500)|0;if(!e){m=7;return m|0}else g=e}else{e=jb[c[68>>2]&255](500)|0;if((c[11829]|0)>>>0<500)c[11829]=500;f=46456;b=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&b>>>0>0){g=c[11822]|0;l=Gt(b|0,f|0,e|0,((e|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&g>>>0>=l>>>0)&1}b=jb[c[52>>2]&255](e)|0;if(!b){m=7;return m|0}e=jb[c[64>>2]&255](b)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0){c[11831]=e;g=b}else g=b}Tt(g|0,h|0,500)|0;Vt(h|0,0,500)|0;c[k>>2]=(((c[j>>2]|0)+124|0)>>>0)/125|0;e=Hg(m,i)|0;f=0;do{b=c[g+(f<<2)>>2]|0;if(b)e=Hg(m,b)|0|e;f=f+1|0}while((f|0)!=125);if(!(c[2]|0)){pb[c[56>>2]&255](g);m=e;return m|0}else{m=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);m=e;return m|0}}while(0);m=b+12+(e>>>3)|0;a[m>>0]=d[m>>0]|0|1<<(e&7);m=0;return m|0}function Ig(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;g=f+4|0;h=c[g>>2]|0;do{i=h+16|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[i+16>>2]=0;c[i+20>>2]=0;c[h>>2]=f;c[h+4>>2]=c[f>>2];i=h+40|0;c[h+8>>2]=i;j=i;a[j>>0]=0;a[j+1>>0]=0;a[j+2>>0]=0;a[j+3>>0]=0;i=i+4|0;a[i>>0]=0;a[i+1>>0]=0;a[i+2>>0]=0;a[i+3>>0]=0;c[h+12>>2]=d;c[h+24>>2]=e;b[h+28>>1]=1;h=c[g>>2]|0}while(!(c[h>>2]|0));j=d+12|0;c[j>>2]=(c[j>>2]|0)+1;j=h+30|0;b[j>>1]=(b[j>>1]|0)+1<<16>>16;return h|0}function Jg(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;do{e=a+28|0;g=c[e>>2]|0;if(((g>>>0<7?(30>>>(g&127)&1)==0:0)?(c[a+16>>2]|0)>>>0>b>>>0:0)?(f=Lg(a,b,d,1)|0,f|0):0)c[e>>2]=f;a=c[a+44>>2]|0}while((a|0)!=0);return}function Kg(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=c[d+12>>2]|0;k=i+12|0;c[k>>2]=(c[k>>2]|0)+-1;k=d+30|0;l=(b[k>>1]|0)+-1<<16>>16;b[k>>1]=l;if(l<<16>>16)return;k=b[d+28>>1]|0;if(k&1){if(!(a[i+32>>0]|0))return;rb[c[152>>2]&255](c[i+44>>2]|0,c[d>>2]|0,0);return}l=i+8|0;g=d+36|0;e=c[g>>2]|0;if((c[l>>2]|0)==(d|0))c[l>>2]=e;h=d+32|0;f=c[h>>2]|0;j=i+4|0;c[((f|0)==0?j:f+36|0)>>2]=e;e=c[g>>2]|0;f=c[h>>2]|0;do if(!e){c[i>>2]=f;if(!f){a[i+33>>0]=2;c[g>>2]=0;c[h>>2]=0;e=i;g=13;break}else{c[g>>2]=0;e=i;g=12;break}}else{c[e+32>>2]=f;f=c[i>>2]|0;c[g>>2]=0;c[h>>2]=f;if(!f){e=i;g=13}else{e=i;g=12}}while(0);if((g|0)==12)c[f+36>>2]=d;else if((g|0)==13){c[j>>2]=d;if(a[i+32>>0]|0)a[i+33>>0]=1}c[e>>2]=d;if(!((c[l>>2]|0)==0&(k&8)==0))return;c[l>>2]=d;return}function Lg(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;y=l;l=l+16|0;v=y;w=d+4|0;p=c[(c[w>>2]|0)+4>>2]|0;u=c[p>>2]|0;t=d+24|0;q=c[(c[(c[t>>2]|0)+4>>2]|0)+32>>2]|0;p=c[p+32>>2]|0;r=(q|0)<(p|0)?q:p;s=((q|0)<0)<<31>>31;n=Lt(q|0,s|0,e|0,0)|0;o=z;if((q|0)==(p|0))d=0;else d=(a[u+12>>0]|0)==0?0:8;if(!((q|0)>0&(d|0)==0)){x=d;l=y;return x|0}e=Gt(n|0,o|0,q|0,s|0)|0;k=((p|0)<0)<<31>>31;m=u+200|0;j=(g|0)==0;g=z;h=p;while(1){c[v>>2]=0;d=Jt(e|0,g|0,p|0,k|0)|0;do if((d|0)!=(1073741824/(h>>>0)|0|0)){d=mb[c[m>>2]&255](u,d+1|0,v,0)|0;a:do if(!d){h=c[v>>2]|0;i=c[h+20>>2]|0;if((b[h+28>>1]&4)!=0?(c[i+24>>2]|0)>>>0>=(c[h+24>>2]|0)>>>0:0)if(!(c[i+96>>2]|0))d=h;else{d=Mg(h)|0;x=15}else x=11;do if((x|0)==11){x=0;d=c[i+40>>2]|0;if(d|0)break a;if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){d=Ng(h)|0;x=15;break}else{d=Og(h)|0;x=15;break}}while(0);if((x|0)==15){x=0;if(d|0)break;d=c[v>>2]|0}i=Mt(e|0,g|0,q|0,s|0)|0;h=c[d+4>>2]|0;d=Mt(e|0,g|0,p|0,k|0)|0;d=h+d|0;Tt(d|0,f+i|0,r|0)|0;a[c[(c[v>>2]|0)+8>>2]>>0]=0;if(j&((e|0)==0&(g|0)==0)){d=d+28|0;i=c[(c[(c[t>>2]|0)+4>>2]|0)+44>>2]|0;a[d>>0]=i>>>24;a[d+1>>0]=i>>>16;a[d+2>>0]=i>>>8;a[d+3>>0]=i;d=0}else d=0}while(0);h=c[v>>2]|0;if(h)if(!(b[h+28>>1]&32)){Kg(h);break}else{i=c[h+20>>2]|0;A=i+120|0;c[A>>2]=(c[A>>2]|0)+-1;i=i+136|0;c[h+16>>2]=c[i>>2];c[i>>2]=h;break}}else d=0;while(0);e=Ft(e|0,g|0,p|0,k|0)|0;g=z;if(!(((g|0)<(o|0)|(g|0)==(o|0)&e>>>0>>0)&(d|0)==0))break;h=c[(c[(c[w>>2]|0)+4>>2]|0)+32>>2]|0}l=y;return d|0}function Mg(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;r=v;q=c[b+20>>2]|0;s=b+24|0;i=c[s>>2]|0;t=q+96|0;m=c[t>>2]|0;if((m|0)<=0){u=0;l=v;return u|0}u=q+92|0;n=c[u>>2]|0;o=i+-1|0;k=0;a:while(1){b:do if((c[n+(k*48|0)+20>>2]|0)>>>0>=i>>>0){e=c[n+(k*48|0)+16>>2]|0;if(o>>>0<(c[e>>2]|0)>>>0)h=o;else break a;while(1){g=c[e+8>>2]|0;if(!g)break;e=c[e+12+(((h>>>0)/(g>>>0)|0)<<2)>>2]|0;if(!e)break a;else h=(h>>>0)%(g>>>0)|0}if((c[e>>2]|0)>>>0<4001)if(!(d[e+12+(h>>>3)>>0]&1<<(h&7)))break a;else break;j=h+1|0;g=(h>>>0)%125|0;h=c[e+12+(g<<2)>>2]|0;if(!h)break a;while(1){if((h|0)==(j|0))break b;g=((g+1|0)>>>0)%125|0;h=c[e+12+(g<<2)>>2]|0;if(!h)break a}}while(0);k=k+1|0;if((k|0)>=(m|0)){e=0;p=29;break}}if((p|0)==29){l=v;return e|0}e=a[q+5>>0]|0;do if(e<<24>>24!=2){k=q+68|0;i=c[k>>2]|0;do if(!(c[i>>2]|0)){if(e<<24>>24!=4?(f=c[12]|0,(a[q+21>>0]|0)==0):0){e=c[q>>2]|0;g=i;h=g+72|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));if(!f){e=nb[c[e+24>>2]&255](e,0,i,8222,0)|0;if(!e)break;l=v;return e|0}}else{e=c[q>>2]|0;g=i;h=g+72|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));f=-1}c[i+4>>2]=(f|0)>0?f:1020;c[i>>2]=3992;c[i+8>>2]=f;c[i+56>>2]=8222;c[i+64>>2]=0;c[i+60>>2]=e}while(0);i=c[b+4>>2]|0;j=q+52|0;f=q+152|0;g=(c[f>>2]|0)+4|0;g=Lt(g|0,((g|0)<0)<<31>>31|0,c[j>>2]|0,0)|0;h=z;e=c[k>>2]|0;q=c[s>>2]|0;a[r>>0]=q>>>24;a[r+1>>0]=q>>>16;a[r+2>>0]=q>>>8;a[r+3>>0]=q;e=nb[c[(c[e>>2]|0)+12>>2]&255](e,r,4,g,h)|0;if(e|0){u=e;l=v;return u|0}q=c[k>>2]|0;r=c[f>>2]|0;e=Ft(g|0,h|0,4,0)|0;e=nb[c[(c[q>>2]|0)+12>>2]&255](q,i,r,e,z)|0;if(!e){e=j;i=c[s>>2]|0;break}else{u=e;l=v;return u|0}}else e=q+52|0;while(0);c[e>>2]=(c[e>>2]|0)+1;f=c[t>>2]|0;if((f|0)>0){e=0;h=0}else{u=0;l=v;return u|0}do{g=c[u>>2]|0;if((c[g+(h*48|0)+20>>2]|0)>>>0>=i>>>0){e=Hg(c[g+(h*48|0)+16>>2]|0,i)|0|e;f=c[t>>2]|0}h=h+1|0}while((h|0)<(f|0));l=v;return e|0}function Ng(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=l;l=l+16|0;s=B;w=c[e+20>>2]|0;v=w+152|0;g=((c[w+148>>2]|0)>>>0)/((c[v>>2]|0)>>>0)|0;A=w+20|0;a[A>>0]=a[A>>0]|4;p=e+24|0;i=c[p>>2]|0;f=i+-1|0;e=0-g|0;q=f&e;z=q+1|0;e=~(f&e);f=c[w+24>>2]|0;if(i>>>0>f>>>0)y=i+1+e|0;else y=(q+g|0)>>>0>f>>>0?f+1+e|0:g;r=(y|0)>0;if(!r){z=0;y=a[A>>0]|0;y=y&-5;a[A>>0]=y;l=B;return z|0}m=w+200|0;n=w+56|0;o=w+208|0;h=0;g=0;e=i;a:while(1){k=h+z|0;b:do if(((k|0)!=(e|0)?(t=c[n>>2]|0,(t|0)!=0):0)?(u=h+q|0,u>>>0<(c[t>>2]|0)>>>0):0){i=u;e=t;while(1){f=c[e+8>>2]|0;if(!f)break;e=c[e+12+(((i>>>0)/(f>>>0)|0)<<2)>>2]|0;if(!e){x=16;break b}else i=(i>>>0)%(f>>>0)|0}c:do if((c[e>>2]|0)>>>0<4001){if(!((d[e+12+(i>>>3)>>0]|0)&1<<(i&7))){x=16;break b}}else{j=i+1|0;f=(i>>>0)%125|0;i=c[e+12+(f<<2)>>2]|0;if(!i){x=16;break b}while(1){if((i|0)==(j|0))break c;f=((f+1|0)>>>0)%125|0;i=c[e+12+(f<<2)>>2]|0;if(!i){x=16;break b}}}while(0);f=lb[c[148>>2]&255](c[(c[o>>2]|0)+44>>2]|0,k,0)|0;if(!f){c[s>>2]=0;e=0;break}i=c[o>>2]|0;e=c[f+4>>2]|0;if(!(c[e>>2]|0)){e=Ig(i,k,f)|0;c[s>>2]=e;if(!e){e=0;break}}else{k=i+12|0;c[k>>2]=(c[k>>2]|0)+1;k=e+30|0;b[k>>1]=(b[k>>1]|0)+1<<16>>16;c[s>>2]=e}k=b[e+28>>1]|0;g=(k&8)==0?g:1;if(!(k&32)){Kg(e);e=0;break}else{k=c[e+20>>2]|0;j=k+120|0;c[j>>2]=(c[j>>2]|0)+-1;k=k+136|0;c[e+16>>2]=c[k>>2];c[k>>2]=e;e=0;break}}else x=16;while(0);do if((x|0)==16){x=0;if((k|0)!=((1073741824/(c[v>>2]|0)|0)+1|0)){e=mb[c[m>>2]&255](w,k,s,0)|0;if(e|0){x=18;break a}e=Og(c[s>>2]|0)|0;f=c[s>>2]|0;k=b[f+28>>1]|0;g=(k&8)==0?g:1;if(!(k&32)){Kg(f);break}else{k=c[f+20>>2]|0;j=k+120|0;c[j>>2]=(c[j>>2]|0)+-1;k=k+136|0;c[f+16>>2]=c[k>>2];c[k>>2]=f;break}}else e=0}while(0);h=h+1|0;f=(e|0)==0;if(!((h|0)<(y|0)&f))break;e=c[p>>2]|0}if((x|0)==18)f=0;if(!((g|0)!=0&f&r)){z=e;y=a[A>>0]|0;y=y&-5;a[A>>0]=y;l=B;return z|0}k=w+208|0;j=0;do{g=j+z|0;h=lb[c[148>>2]&255](c[(c[k>>2]|0)+44>>2]|0,g,0)|0;do if(h|0){i=c[k>>2]|0;f=c[h+4>>2]|0;if(!(c[f>>2]|0)){f=Ig(i,g,h)|0;if(!f)break}else{x=i+12|0;c[x>>2]=(c[x>>2]|0)+1;x=f+30|0;b[x>>1]=(b[x>>1]|0)+1<<16>>16}w=f+28|0;x=b[w>>1]|0;b[w>>1]=x|8;if(!(x&32)){Kg(f);break}else{x=c[f+20>>2]|0;w=x+120|0;c[w>>2]=(c[w>>2]|0)+-1;x=x+136|0;c[f+16>>2]=c[x>>2];c[x>>2]=f;break}}while(0);j=j+1|0}while((j|0)!=(y|0));z=a[A>>0]|0;z=z&-5;a[A>>0]=z;l=B;return e|0}function Og(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+16|0;o=t;s=c[e+20>>2]|0;r=s+16|0;g=a[r>>0]|0;if(g<<24>>24==2){p=c[s>>2]|0;g=c[s+40>>2]|0;if(g|0){e=g;l=t;return e|0}do if((c[s+212>>2]|0)==0?(k=s+5|0,(a[k>>0]|0)!=2):0){n=s+24|0;j=c[n>>2]|0;if(!(c[2]|0)){g=jb[c[52>>2]&255](512)|0;if(!g)q=17;else q=15}else{g=jb[c[68>>2]&255](512)|0;if((c[11829]|0)>>>0<512)c[11829]=512;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){u=c[11822]|0;m=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;i=z;c[11616]=(0>(i|0)|0==(i|0)&u>>>0>=m>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;Vt(g|0,0,512)|0}else q=15}else q=17}if((q|0)==15)Vt(g|0,0,512)|0;else if((q|0)==17){c[s+56>>2]=0;u=7;l=t;return u|0}c[g>>2]=j;m=s+56|0;c[m>>2]=g;h=s+64|0;g=c[h>>2]|0;a:do if(!(c[g>>2]|0)){if((a[k>>0]|0)==4){h=g;i=h+72|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));c[g+4>>2]=1020;c[g>>2]=3992;c[g+8>>2]=-1;c[g+56>>2]=0;c[g+64>>2]=0;c[g+60>>2]=0;q=31;break}u=(a[s+12>>0]|0)==0;j=u?2054:4110;k=u?0:c[12]|0;c[o>>2]=0;if((u?(c[n>>2]|0)!=0:0)?(f=c[s+60>>2]|0,f=lb[c[(c[f>>2]|0)+40>>2]&255](f,20,o)|0,(f|0)!=12):0){g=(f|0)==0;if(g&(c[o>>2]|0)!=0){f=1032;break}if(g)q=27}else q=27;do if((q|0)==27){g=c[s+172>>2]|0;f=c[h>>2]|0;h=f;i=h+72|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));if(!k){f=nb[c[p+24>>2]&255](p,g,f,j,0)|0;break}else{c[f+4>>2]=(k|0)>0?k:1020;c[f>>2]=3992;c[f+8>>2]=k;c[f+56>>2]=j;c[f+64>>2]=g;c[f+60>>2]=p;q=31;break a}}while(0);if(!f)q=31}else q=31;while(0);if((q|0)==31){c[s+44>>2]=0;f=s+72|0;a[s+19>>0]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;f=Pg(s)|0;if(!f)break}vg(c[m>>2]|0);c[m>>2]=0;u=f;l=t;return u|0}while(0);a[r>>0]=3;m=3}else m=g;n=e+28|0;f=b[n>>1]|0;h=f&65535;if(h&17){g=h&65519;f=g&65535;b[n>>1]=f;if(h&1){f=(g^3)&65535;b[n>>1]=f;g=c[e+12>>2]|0;c[e+36>>2]=0;h=c[g>>2]|0;c[e+32>>2]=h;if(!h){c[g+4>>2]=e;if(a[g+32>>0]|0)a[g+33>>0]=1}else c[h+36>>2]=e;c[g>>2]=e;g=g+8|0;if((f&8)==0&(c[g>>2]|0)==0)c[g>>2]=e}}h=c[s+56>>2]|0;b:do if(h){k=c[e+24>>2]|0;g=k+-1|0;c:do if(g>>>0<(c[h>>2]|0)>>>0){while(1){i=c[h+8>>2]|0;if(!i)break;h=c[h+12+(((g>>>0)/(i>>>0)|0)<<2)>>2]|0;if(!h)break c;else g=(g>>>0)%(i>>>0)|0}if((c[h>>2]|0)>>>0<4001)if(!(d[h+12+(g>>>3)>>0]&1<<(g&7)))break;else break b;j=g+1|0;g=(g>>>0)%125|0;i=c[h+12+(g<<2)>>2]|0;if(i|0)do{if((i|0)==(j|0))break b;g=((g+1|0)>>>0)%125|0;i=c[h+12+(g<<2)>>2]|0}while((i|0)!=0)}while(0);if(k>>>0>(c[s+28>>2]|0)>>>0){if(m<<24>>24==4)break;f=f|8;b[n>>1]=f;break}f=Qg(e)|0;if(!f){f=b[n>>1]|0;break}else{u=f;l=t;return u|0}}while(0);b[n>>1]=f|4;if((c[s+96>>2]|0)>0)h=Mg(e)|0;else h=0;g=s+24|0;f=c[e+24>>2]|0;if((c[g>>2]|0)>>>0>=f>>>0){u=h;l=t;return u|0}c[g>>2]=f;u=h;l=t;return u|0}function Pg(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=c[b+204>>2]|0;j=b+152|0;k=c[j>>2]|0;m=b+148|0;i=c[m>>2]|0;k=k>>>0>i>>>0?i:k;h=c[b+96>>2]|0;if((h|0)>0){e=c[b+92>>2]|0;f=b+72|0;d=0;do{g=e+(d*48|0)+8|0;n=g;if((c[n>>2]|0)==0&(c[n+4>>2]|0)==0){p=f;o=c[p+4>>2]|0;n=g;c[n>>2]=c[p>>2];c[n+4>>2]=o}d=d+1|0}while((d|0)<(h|0));g=f}else g=b+72|0;e=g;d=c[e>>2]|0;e=c[e+4>>2]|0;if((d|0)==0&(e|0)==0){d=0;e=0}else{d=Ft(d|0,e|0,-1,-1)|0;d=Jt(d|0,z|0,i|0,0)|0;d=Ft(d|0,z|0,1,0)|0;d=Lt(d|0,z|0,i|0,0)|0;e=z}p=g;c[p>>2]=d;c[p+4>>2]=e;p=b+80|0;c[p>>2]=d;c[p+4>>2]=e;if(((a[b+7>>0]|0)==0?(a[b+5>>0]|0)!=4:0)?(p=c[b+60>>2]|0,((jb[c[(c[p>>2]|0)+48>>2]&255](p)|0)&512|0)==0):0){d=l;e=d+12|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(e|0))}else{p=l;o=p;a[o>>0]=-117058087;a[o+1>>0]=-117058087>>8;a[o+2>>0]=-117058087>>16;a[o+3>>0]=-117058087>>24;p=p+4|0;a[p>>0]=-681336544;a[p+1>>0]=-681336544>>8;a[p+2>>0]=-681336544>>16;a[p+3>>0]=-681336544>>24;p=l+8|0;a[p>>0]=-1;a[p+1>>0]=-1>>8;a[p+2>>0]=-1>>16;a[p+3>>0]=-1>>24}f=b+48|0;zd(4,f);f=c[f>>2]|0;a[l+12>>0]=f>>>24;a[l+13>>0]=f>>>16;a[l+14>>0]=f>>>8;a[l+15>>0]=f;f=c[b+28>>2]|0;a[l+16>>0]=f>>>24;a[l+17>>0]=f>>>16;a[l+18>>0]=f>>>8;a[l+19>>0]=f;f=c[m>>2]|0;a[l+20>>0]=f>>>24;a[l+21>>0]=f>>>16;a[l+22>>0]=f>>>8;a[l+23>>0]=f;f=c[j>>2]|0;a[l+24>>0]=f>>>24;a[l+25>>0]=f>>>16;a[l+26>>0]=f>>>8;a[l+27>>0]=f;Vt(l+28|0,0,k+-28|0)|0;f=b+64|0;e=0;while(1){if(e>>>0>=(c[m>>2]|0)>>>0){d=0;e=17;break}o=c[f>>2]|0;d=g;d=nb[c[(c[o>>2]|0)+12>>2]&255](o,l,k,c[d>>2]|0,c[d+4>>2]|0)|0;o=g;o=Ft(c[o>>2]|0,c[o+4>>2]|0,k|0,0)|0;p=g;c[p>>2]=o;c[p+4>>2]=z;if(!d)e=e+k|0;else{e=17;break}}if((e|0)==17)return d|0;return 0}function Qg(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=l;l=l+16|0;q=u;t=c[e+20>>2]|0;s=t+72|0;h=s;o=c[h>>2]|0;h=c[h+4>>2]|0;p=c[e+4>>2]|0;f=c[t+48>>2]|0;r=t+152|0;g=c[r>>2]|0;if((g|0)>200)do{g=g+-200|0;f=(d[p+g>>0]|0)+f|0}while((g|0)>200);m=e+28|0;b[m>>1]=b[m>>1]|8;m=t+64|0;g=c[m>>2]|0;n=e+24|0;e=c[n>>2]|0;a[q>>0]=e>>>24;i=q+1|0;a[i>>0]=e>>>16;j=q+2|0;a[j>>0]=e>>>8;k=q+3|0;a[k>>0]=e;g=nb[c[(c[g>>2]|0)+12>>2]&255](g,q,4,o,h)|0;if(g|0){t=g;l=u;return t|0}v=c[m>>2]|0;g=c[r>>2]|0;e=Ft(o|0,h|0,4,0)|0;h=z;g=nb[c[(c[v>>2]|0)+12>>2]&255](v,p,g,e,h)|0;if(g|0){v=g;l=u;return v|0}p=c[m>>2]|0;v=c[r>>2]|0;v=Ft(e|0,h|0,v|0,((v|0)<0)<<31>>31|0)|0;a[q>>0]=f>>>24;a[i>>0]=f>>>16;a[j>>0]=f>>>8;a[k>>0]=f;f=nb[c[(c[p>>2]|0)+12>>2]&255](p,q,4,v,z)|0;if(f|0){v=f;l=u;return v|0}m=(c[r>>2]|0)+8|0;j=s;j=Ft(m|0,((m|0)<0)<<31>>31|0,c[j>>2]|0,c[j+4>>2]|0)|0;m=s;c[m>>2]=j;c[m+4>>2]=z;m=t+44|0;c[m>>2]=(c[m>>2]|0)+1;m=Hg(c[t+56>>2]|0,c[n>>2]|0)|0;j=c[n>>2]|0;k=t+96|0;g=c[k>>2]|0;if((g|0)>0){i=t+92|0;f=0;h=0;do{e=c[i>>2]|0;if((c[e+(h*48|0)+20>>2]|0)>>>0>=j>>>0){f=Hg(c[e+(h*48|0)+16>>2]|0,j)|0|f;g=c[k>>2]|0}h=h+1|0}while((h|0)<(g|0))}else f=0;v=f|m;l=u;return v|0}function Rg(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=d+208|0;h=lb[c[148>>2]&255](c[(c[f>>2]|0)+44>>2]|0,e,0)|0;do if(!h)g=0;else{f=c[f>>2]|0;g=c[h+4>>2]|0;if(!(c[g>>2]|0)){f=Ig(f,e,h)|0;if(!f){g=0;break}g=f;f=b[f+30>>1]|0}else{j=f+12|0;c[j>>2]=(c[j>>2]|0)+1;j=g+30|0;f=(b[j>>1]|0)+1<<16>>16;b[j>>1]=f}if(f<<16>>16!=1){f=Ug(g)|0;if(!f)pb[c[d+196>>2]&255](g);if(!(b[g+28>>1]&32)){Kg(g);g=f;break}else{j=c[g+20>>2]|0;i=j+120|0;c[i>>2]=(c[i>>2]|0)+-1;j=j+136|0;c[g+16>>2]=c[j>>2];c[j>>2]=g;g=f;break}}i=g+12|0;do if(b[g+28>>1]&2){j=c[i>>2]|0;f=j+8|0;e=g+36|0;h=c[e>>2]|0;if((c[f>>2]|0)==(g|0))c[f>>2]=h;k=g+32|0;f=c[k>>2]|0;c[((f|0)==0?j+4|0:f+36|0)>>2]=h;f=c[e>>2]|0;e=c[k>>2]|0;if(f|0){c[f+32>>2]=e;break}c[j>>2]=e;if(!e)a[j+33>>0]=2}while(0);k=c[i>>2]|0;j=k+12|0;c[j>>2]=(c[j>>2]|0)+-1;rb[c[152>>2]&255](c[k+44>>2]|0,c[g>>2]|0,1);g=0}while(0);f=c[d+88>>2]|0;if(!f)return g|0;do{c[f+16>>2]=1;f=c[f+44>>2]|0}while((f|0)!=0);return g|0}function Sg(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;h=b+24|0;do if((c[h>>2]|0)>(e|0)){g=b+32|0;j=g;g=c[g>>2]|0}else{i=e+1|0;j=b+32|0;k=c[j>>2]|0;if((Nc()|0)==0?(g=i<<2,g=Oc(k,g,((g|0)<0)<<31>>31)|0,g|0):0){k=c[h>>2]|0;Vt(g+(k<<2)|0,0,i-k<<2|0)|0;c[j>>2]=g;c[h>>2]=i;break}c[f>>2]=0;f=7;return f|0}while(0);g=g+(e<<2)|0;do if(!(c[g>>2]|0)){if((a[b+43>>0]|0)!=2){h=c[b+4>>2]|0;g=nb[c[(c[h>>2]|0)+52>>2]&255](h,e,32768,d[b+44>>0]|0,g)|0;h=b+46|0;if((g&255|0)!=8)break;a[h>>0]=a[h>>0]|2;g=(g|0)==8?0:g;break}if(!(c[2]|0)){g=jb[c[52>>2]&255](32768)|0;if(!g)g=0;else l=20}else{g=jb[c[68>>2]&255](32768)|0;if((c[11829]|0)>>>0<32768)c[11829]=32768;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){k=c[11822]|0;b=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;i=z;c[11616]=(0>(i|0)|0==(i|0)&k>>>0>=b>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;l=20}else l=20}else g=0}if((l|0)==20)Vt(g|0,0,32768)|0;c[(c[j>>2]|0)+(e<<2)>>2]=g;g=(c[(c[j>>2]|0)+(e<<2)>>2]|0)==0?7:0}else g=0;while(0);c[f>>2]=c[(c[j>>2]|0)+(e<<2)>>2];f=g;return f|0}function Tg(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+176|0;n=p+128|0;o=p;e=(a|0)==0;if(!e){b=a;do{m=b;b=c[b+32>>2]|0;c[m+16>>2]=b}while((b|0)!=0);b=o;d=b+128|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));if(e)b=0;else{j=n+16|0;k=n+16|0;m=o+124|0;do{h=a+16|0;b=a;a=c[h>>2]|0;c[h>>2]=0;h=0;while(1){i=o+(h<<2)|0;d=c[i>>2]|0;if(!d){d=8;break}e=n;g=d;a:while(1){f=c[g+24>>2]|0;d=e;while(1){d=d+16|0;if(f>>>0<(c[b+24>>2]|0)>>>0)break;c[d>>2]=b;d=c[b+16>>2]|0;if(!d){d=g;break a}else{e=b;b=d;d=e}}c[d>>2]=g;d=c[g+16>>2]|0;if(!d){d=b;b=g;break}else{e=g;g=d}}c[b+16>>2]=d;b=c[j>>2]|0;c[i>>2]=0;h=h+1|0;if((h|0)>=31){d=15;break}}if((d|0)==8)c[i>>2]=b;else if((d|0)==15?(0,(h|0)==31):0){d=n;f=c[m>>2]|0;b:while(1){e=c[f+24>>2]|0;while(1){d=d+16|0;if(e>>>0<(c[b+24>>2]|0)>>>0)break;c[d>>2]=b;d=c[b+16>>2]|0;if(!d){d=f;break b}else{i=b;b=d;d=i}}c[d>>2]=f;d=c[f+16>>2]|0;if(!d){d=b;b=f;break}else{i=f;f=d;d=i}}c[b+16>>2]=d;c[m>>2]=c[k>>2]}}while((a|0)!=0);b=c[o>>2]|0}}else{b=o;d=b+128|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));b=0}g=n+16|0;f=1;do{d=c[o+(f<<2)>>2]|0;if(d)if(!b)b=d;else{e=n;c:while(1){a=c[b+24>>2]|0;while(1){e=e+16|0;if(a>>>0<(c[d+24>>2]|0)>>>0)break;c[e>>2]=d;e=c[d+16>>2]|0;if(!e){e=b;b=d;break c}else{m=d;d=e;e=m}}c[e>>2]=b;e=c[b+16>>2]|0;if(!e){e=d;break}else{m=b;b=e;e=m}}c[b+16>>2]=e;b=c[g>>2]|0}f=f+1|0}while((f|0)!=32);l=p;return b|0}function Ug(b){b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;k=l;l=l+16|0;g=k;i=c[b+20>>2]|0;c[g>>2]=0;h=i+212|0;f=c[h>>2]|0;if(f){d=b+24|0;f=Vg(f,c[d>>2]|0,g)|0;if(f|0){b=f;l=k;return b|0}g=c[g>>2]|0;f=c[i+152>>2]|0;if(!g)j=6;else{m=c[h>>2]|0;n=c[b+4>>2]|0;o=c[m+8>>2]|0;m=e[m+66>>1]|0;m=m<<16&65536|m&65024;h=Lt(m|24|0,0,g+-1|0,0)|0;h=Ft(h|0,z|0,56,0)|0;f=nb[c[(c[o>>2]|0)+8>>2]&255](o,n,(m|0)<(f|0)?m:f,h,z)|0}}else{d=b+24|0;f=c[i+152>>2]|0;j=6}if((j|0)==6){o=Lt((c[d>>2]|0)+-1|0,0,f|0,((f|0)<0)<<31>>31|0)|0;n=c[i+60>>2]|0;f=nb[c[(c[n>>2]|0)+8>>2]&255](n,c[b+4>>2]|0,f,o,z)|0;f=(f|0)==522?0:f}if((c[d>>2]|0)!=1){o=f;l=k;return o|0}if(!f){g=i+104|0;d=(c[b+4>>2]|0)+24|0;f=g+16|0;do{a[g>>0]=a[d>>0]|0;g=g+1|0;d=d+1|0}while((g|0)<(f|0));o=0;l=k;return o|0}else{o=i+104|0;c[o>>2]=-1;c[o+4>>2]=-1;c[o+8>>2]=-1;c[o+12>>2]=-1;o=f;l=k;return o|0}return 0}function Vg(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;w=x;u=x+12|0;v=c[d+68>>2]|0;a:do if(v){if((b[d+40>>1]|0)==0?(a[d+50>>0]|0)==0:0){h=0;break}r=d+100|0;s=((c[r>>2]|0)+33|0)>>>12;h=(v+33|0)>>>12;if(h>>>0>=s>>>0){t=f*383&8191;q=h;b:while(1){h=Sg(d,q,u)|0;if(h|0){i=10;break}h=c[u>>2]|0;p=h+16384|0;if(!q){h=h+136|0;c[u>>2]=h;o=0}else o=(q<<12)+-34|0;n=h+-4|0;i=p+(t<<1)|0;if(!(b[i>>1]|0))h=0;else{m=8192;h=0;k=t;while(1){j=(e[i>>1]|0)+o|0;if(j>>>0<=v>>>0?j>>>0>=(c[r>>2]|0)>>>0:0)h=(c[n+(e[i>>1]<<2)>>2]|0)==(f|0)?j:h;if(!m){i=16;break b}k=k+1&8191;i=p+(k<<1)|0;if(!(b[i>>1]|0))break;else m=m+-1|0}}if((q|0)>(s|0)&(h|0)==0)q=q+-1|0;else break a}if((i|0)==10){g=h;l=x;return g|0}else if((i|0)==16){c[w>>2]=21258;c[w+4>>2]=58127;c[w+8>>2]=17052;Bc(11,17e3,w);g=11;l=x;return g|0}}else h=0}else h=0;while(0);c[g>>2]=h;g=0;l=x;return g|0}function Wg(f,g,h,i,j,k,m,n,o,p){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;var q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0;fa=l;l=l+128|0;t=fa+112|0;$=fa+8|0;S=fa;ca=fa+124|0;c[ca>>2]=0;if(a[f+46>>0]|0){h=8;l=fa;return h|0}ea=f+43|0;if((a[ea>>0]|0)==0?(r=c[f+4>>2]|0,r=mb[c[(c[r>>2]|0)+56>>2]&255](r,1,1,10)|0,r|0):0){h=r;l=fa;return h|0}da=f+45|0;a[da>>0]=1;a:do if(!h){r=0;W=13}else{s=f+4|0;b:do if(!i){if(!(a[ea>>0]|0)){r=c[s>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,0,1,10)|0;W=11}}else while(1){if(a[ea>>0]|0)break b;r=c[s>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,0,1,10)|0;if((r|0)!=5){W=11;break b}if(!(jb[i&255](j)|0)){r=0;i=0;W=13;break a}}while(0);if((W|0)==11)switch(r|0){case 5:{r=0;i=0;W=13;break a}case 0:break;default:{ba=h;break a}}a[f+44>>0]=1;r=h;W=13}while(0);if((W|0)==13){ba=r;r=Xg(f,ca)|0}c:do if(!r){aa=f+68|0;N=c[aa>>2]|0;r=b[f+66>>1]|0;if(N|0?(_=r&65535,(_<<16&65536|_&65024|0)!=(m|0)):0){c[t>>2]=21258;c[t+4>>2]=58833;c[t+8>>2]=17052;Bc(11,17e3,t);r=11;break}U=r&65535;U=U<<16&65536|U&65024;_=f+32|0;Q=c[c[_>>2]>>2]|0;Z=Q+96|0;d:do if((c[Z>>2]|0)>>>0>>0){M=(N+33|0)>>>12;t=(N<<1)+28+(M*20|0)|0;V=(Nc()|0)!=0;T=Ft(t|0,((t|0)<0)<<31>>31|0,-1,-1)|0;L=z;if(L>>>0>0|(L|0)==0&T>>>0>2147483390|V){r=7;break c}if(!(c[2]|0)){r=jb[c[52>>2]&255](t)|0;if(!r){r=7;break c}else V=r}else{r=jb[c[68>>2]&255](t)|0;if((c[11829]|0)>>>0>>0)c[11829]=t;m=46456;s=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&s>>>0>0){T=c[11822]|0;V=Gt(s|0,m|0,r|0,((r|0)<0)<<31>>31|0)|0;L=z;c[11616]=(0>(L|0)|0==(L|0)&T>>>0>=V>>>0)&1}s=jb[c[52>>2]&255](r)|0;if(!s){r=7;break c}r=jb[c[64>>2]&255](s)|0;r=(c[11822]|0)+r|0;c[11822]=r;if(r>>>0>(c[11826]|0)>>>0)c[11826]=r;r=(c[11825]|0)+1|0;c[11825]=r;if(r>>>0>(c[11831]|0)>>>0){c[11831]=r;V=s}else V=s}Vt(V|0,0,t|0)|0;T=V+4|0;c[T>>2]=M+1;r=(N>>>0<4096?N:4096)<<1;L=(Nc()|0)!=0;K=Ft(r|0,0,-1,-1)|0;J=z;do if(!(J>>>0>0|(J|0)==0&K>>>0>2147483390|L)){if(!(c[2]|0)){r=jb[c[52>>2]&255](r)|0;if(!r){r=7;break}else s=r}else{m=jb[c[68>>2]&255](r)|0;if((c[11829]|0)>>>0>>0)c[11829]=r;s=46456;r=c[s>>2]|0;s=c[s+4>>2]|0;if((s|0)>0|(s|0)==0&r>>>0>0){K=c[11822]|0;L=Gt(r|0,s|0,m|0,((m|0)<0)<<31>>31|0)|0;J=z;c[11616]=(0>(J|0)|0==(J|0)&K>>>0>=L>>>0)&1}s=jb[c[52>>2]&255](m)|0;if(!s){r=7;break}r=jb[c[64>>2]&255](s)|0;r=(c[11822]|0)+r|0;c[11822]=r;if(r>>>0>(c[11826]|0)>>>0)c[11826]=r;r=(c[11825]|0)+1|0;c[11825]=r;if(r>>>0>(c[11831]|0)>>>0)c[11831]=r}K=V+8|0;L=$+4|0;J=0;while(1){r=Sg(f,J,$)|0;if(r|0){W=48;break}r=c[$>>2]|0;if(!J){H=r+136|0;c[$>>2]=H;m=0}else{m=(J<<12)+-34|0;H=r}I=H;G=(J|0)==(M|0)?N-m|0:r+16384-I>>2;F=K+((c[T>>2]|0)*20|0)+(m<<1)|0;E=m+1|0;if((G|0)>0){r=0;do{b[F+(r<<1)>>1]=r;r=r+1|0}while((r|0)!=(G|0));w=$;x=w+104|0;do{c[w>>2]=0;w=w+4|0}while((w|0)<(x|0));D=0;do{m=F+(D<<1)|0;if(!(D&1)){u=0;r=1;t=L}else{r=1;B=0;t=L;while(1){C=c[t>>2]|0;A=c[$+(B<<3)>>2]|0;u=(r|0)>0;t=(A|0)>0;if(u|t){w=0;y=0;v=0;while(1){do if(t){t=b[C+(v<<1)>>1]|0;if(u?(O=b[m+(w<<1)>>1]|0,(c[H+((t&65535)<<2)>>2]|0)>>>0>=(c[H+((O&65535)<<2)>>2]|0)>>>0):0){t=O;W=60;break}v=v+1|0}else{t=b[m+(w<<1)>>1]|0;W=60}while(0);if((W|0)==60){W=0;w=w+1|0}u=c[H+((t&65535)<<2)>>2]|0;x=y+1|0;b[s+(y<<1)>>1]=t;if((v|0)<(A|0))v=((c[H+(e[C+(v<<1)>>1]<<2)>>2]|0)==(u|0)&1)+v|0;u=(w|0)<(r|0);t=(v|0)<(A|0);if(!(u|t)){r=x;break}else y=x}}else r=0;Tt(C|0,s|0,r<<1|0)|0;m=B+1|0;t=$+(m<<3)+4|0;if(!(1<>2]=m;c[$+(u<<3)>>2]=r;D=D+1|0}while((D|0)!=(G|0));t=u}else{w=$;x=w+104|0;do{c[w>>2]=0;w=w+4|0}while((w|0)<(x|0));t=0;r=0;m=0}e:while(1){do{t=t+1|0;if(t>>>0>=13)break e}while(!(1<>2]|0;B=c[$+(t<<3)>>2]|0;v=(r|0)>0;u=(B|0)>0;if(v|u){x=0;A=0;w=0;while(1){do if(u){u=b[C+(w<<1)>>1]|0;if(v?(P=b[m+(x<<1)>>1]|0,(c[H+((u&65535)<<2)>>2]|0)>>>0>=(c[H+((P&65535)<<2)>>2]|0)>>>0):0){u=P;W=74;break}w=w+1|0}else{u=b[m+(x<<1)>>1]|0;W=74}while(0);if((W|0)==74){W=0;x=x+1|0}v=c[H+((u&65535)<<2)>>2]|0;y=A+1|0;b[s+(A<<1)>>1]=u;if((w|0)<(B|0))w=((c[H+(e[C+(w<<1)>>1]<<2)>>2]|0)==(v|0)&1)+w|0;v=(x|0)<(r|0);u=(w|0)<(B|0);if(!(v|u)){r=y;break}else A=y}}else r=0;Tt(C|0,s|0,r<<1|0)|0;m=C}c[K+(J*20|0)+16>>2]=E;c[K+(J*20|0)+12>>2]=r;c[K+(J*20|0)+4>>2]=F;c[K+(J*20|0)+8>>2]=I;if((J|0)<(M|0))J=J+1|0;else{r=0;break}}if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{P=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else r=7;while(0);s=(r|0)==0;do if(!((V|0)==0|s))if(!(c[2]|0)){pb[c[56>>2]&255](V);break}else{P=jb[c[64>>2]&255](V)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](V);break}while(0);if(s){J=f+72|0;K=c[J>>2]|0;L=f+4|0;r=0;t=c[aa>>2]|0;v=1;do{m=Z+4+(v<<2)|0;u=c[m>>2]|0;f:do if(t>>>0>u>>>0){s=v+3|0;g:do if(!i)if(!(a[ea>>0]|0)){r=c[L>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,s,1,10)|0}else W=98;else while(1){if(a[ea>>0]|0){W=98;break g}r=c[L>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,s,1,10)|0;if((r|0)!=5)break g;if(!(jb[i&255](j)|0)){i=0;r=5;t=u;break f}}while(0);if((W|0)==98){W=0;c[m>>2]=(v|0)==1?t:-1;r=0;break}switch(r|0){case 5:{i=0;r=5;t=u;break f}case 0:break;default:{s=V;q=V;W=162;break d}}P=a[ea>>0]|0;c[m>>2]=(v|0)==1?t:-1;if(!(P<<24>>24)){r=c[L>>2]|0;mb[c[(c[r>>2]|0)+56>>2]&255](r,s,1,9)|0;r=0}else r=0}while(0);v=v+1|0}while((v|0)<5);h:do if((c[Z>>2]|0)>>>0>>0){i:do if(!i){if(!(a[ea>>0]|0)){q=c[L>>2]|0;q=mb[c[(c[q>>2]|0)+56>>2]&255](q,3,1,10)|0;W=109}}else while(1){if(a[ea>>0]|0)break i;r=c[L>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,3,1,10)|0;if((r|0)!=5){q=r;W=109;break i}if(!(jb[i&255](j)|0)){q=5;break h}}while(0);if((W|0)==109?q|0:0)break;G=c[Z>>2]|0;c[Q+128>>2]=t;F=f+8|0;q=c[F>>2]|0;H=k>>>2&3;I=(H|0)==0;if(!I?(R=kb[c[(c[q>>2]|0)+20>>2]&255](q,H)|0,(R|0)!=0):0)q=R;else W=112;j:do if((W|0)==112){W=Lt(K|0,0,U|0,0)|0;q=S;c[q>>2]=W;c[q+4>>2]=z;q=c[L>>2]|0;q=kb[c[(c[q>>2]|0)+24>>2]&255](q,$)|0;if(q|0)break;R=$;Q=c[R+4>>2]|0;W=S;k=c[W+4>>2]|0;if((Q|0)<(k|0)|((Q|0)==(k|0)?(c[R>>2]|0)>>>0<(c[W>>2]|0)>>>0:0)){W=c[L>>2]|0;lb[c[(c[W>>2]|0)+40>>2]&255](W,5,S)|0}D=g+256|0;E=U|24;s=0;while(1){C=c[V>>2]|0;q=c[T>>2]|0;if((q|0)>0)r=-1;else{W=118;break}k:while(1){A=q;l:while(1){q=A+-1|0;v=V+8+(q*20|0)|0;m=c[v>>2]|0;w=c[V+8+(q*20|0)+12>>2]|0;m:do if((m|0)<(w|0)){x=c[V+8+(q*20|0)+8>>2]|0;y=c[V+8+(q*20|0)+4>>2]|0;while(1){u=e[y+(m<<1)>>1]|0;B=c[x+(u<<2)>>2]|0;if(B>>>0>C>>>0)break;m=m+1|0;c[v>>2]=m;if((m|0)>=(w|0))break m}if(B>>>0>>0)break l}while(0);if((A|0)>1)A=q;else{W=128;break k}}s=(c[V+8+(q*20|0)+16>>2]|0)+u|0;if((A|0)>1)r=B;else{W=127;break}}if((W|0)==127){c[V>>2]=B;r=B}else if((W|0)==128){W=0;c[V>>2]=r;if((r|0)==-1)break}if(c[D>>2]|0){W=130;break}if(r>>>0>K>>>0|(s>>>0<=G>>>0|s>>>0>t>>>0)){q=1;X=0}else{q=Lt(s+-1|0,0,E|0,0)|0;q=Ft(q|0,z|0,56,0)|0;Y=c[F>>2]|0;q=nb[c[(c[Y>>2]|0)+8>>2]&255](Y,n,U,q,z)|0;if(q|0)break j;X=Lt(r+-1|0,0,U|0,0)|0;q=c[L>>2]|0;X=nb[c[(c[q>>2]|0)+12>>2]&255](q,n,U,X,z)|0;q=(X|0)==0}Y=(X|0)==0;if(!(q&Y)){W=135;break}}if((W|0)==118)c[V>>2]=-1;else if((W|0)==130){q=a[g+73>>0]|0?7:9;break}else if((W|0)==135?!Y:0){q=X;break}do if((t|0)==(c[(c[c[_>>2]>>2]|0)+16>>2]|0)){q=Lt(c[J>>2]|0,0,U|0,0)|0;n=c[L>>2]|0;q=lb[c[(c[n>>2]|0)+16>>2]&255](n,q,z)|0;if(q|0)break j;q=c[L>>2]|0;if(I)break;q=kb[c[(c[q>>2]|0)+20>>2]&255](q,H)|0;if(q|0)break j}while(0);c[Z>>2]=t;q=0}while(0);if(!(a[ea>>0]|0)){n=c[L>>2]|0;mb[c[(c[n>>2]|0)+56>>2]&255](n,3,1,9)|0}}else q=r;while(0);r=(q|0)==5?0:q;s=V;q=V;W=145}}else{r=0;s=0;q=0;W=145}while(0);if((W|0)==145)if((ba|0)!=0&(r|0)==0)if((c[Z>>2]|0)>>>0>=(c[aa>>2]|0)>>>0)if((ba|0)>1){zd(4,$);v=f+4|0;n:do if(!i)if(!(a[ea>>0]|0)){r=c[v>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,4,4,10)|0;W=154}else W=155;else while(1){if(a[ea>>0]|0){W=155;break n}r=c[v>>2]|0;r=mb[c[(c[r>>2]|0)+56>>2]&255](r,4,4,10)|0;if((r|0)!=5){W=154;break n}if(!(jb[i&255](j)|0)){r=5;break}}while(0);if((W|0)==154)if(!r)W=155;if((W|0)==155){if((ba|0)==3){u=c[$>>2]|0;m=c[_>>2]|0;r=c[m>>2]|0;i=r+96|0;j=f+84|0;$=f+112|0;c[$>>2]=(c[$>>2]|0)+1;c[aa>>2]=0;$=j+1|0;w=j+2|0;t=j+3|0;x=(d[$>>0]<<16|d[j>>0]<<24|d[w>>0]<<8|d[t>>0])+1|0;a[j>>0]=x>>>24;a[$>>0]=x>>>16;a[w>>0]=x>>>8;a[t>>0]=x;c[f+88>>2]=u;m=c[m>>2]|0;t=f+52|0;a[f+64>>0]=1;c[t>>2]=3007e3;x=c[t+4>>2]|0;w=x+6014e3+(c[t+8>>2]|0)|0;x=x+3007e3+(c[t+12>>2]|0)+w|0;w=x+w|0;x=x+(c[t+20>>2]|0)+w|0;w=w+(c[t+24>>2]|0)+x|0;x=x+(c[t+28>>2]|0)+w|0;w=w+(c[t+32>>2]|0)+x|0;c[f+92>>2]=w;c[f+96>>2]=x+u+w;w=m+48|0;u=t;x=w+48|0;do{a[w>>0]=a[u>>0]|0;w=w+1|0;u=u+1|0}while((w|0)<(x|0));if((a[ea>>0]|0)!=2){$=c[v>>2]|0;pb[c[(c[$>>2]|0)+60>>2]&255]($)}w=m;u=t;x=w+48|0;do{a[w>>0]=a[u>>0]|0;w=w+1|0;u=u+1|0}while((w|0)<(x|0));c[i>>2]=0;c[r+128>>2]=0;c[r+104>>2]=0;c[r+108>>2]=-1;c[r+112>>2]=-1;c[r+116>>2]=-1;r=c[f+8>>2]|0;r=lb[c[(c[r>>2]|0)+16>>2]&255](r,0,0)|0}else r=0;if(!(a[ea>>0]|0)){$=c[v>>2]|0;mb[c[(c[$>>2]|0)+56>>2]&255]($,4,4,9)|0}}W=162}else{r=0;W=162}else{r=5;W=162}else W=162;do if((W|0)==162)if(s)if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{$=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}while(0);switch(r|0){case 0:case 5:break;default:break c}if(o|0)c[o>>2]=c[aa>>2];if(p)c[p>>2]=c[(c[c[_>>2]>>2]|0)+96>>2]}while(0);if(c[ca>>2]|0){w=f+52|0;x=w+48|0;do{c[w>>2]=0;w=w+4|0}while((w|0)<(x|0))}q=f+44|0;if(a[q>>0]|0){if(!(a[ea>>0]|0)){ca=c[f+4>>2]|0;mb[c[(c[ca>>2]|0)+56>>2]&255](ca,0,1,9)|0}a[q>>0]=0;c[f+104>>2]=0;a[f+47>>0]=0}if(!(a[ea>>0]|0)){ea=c[f+4>>2]|0;mb[c[(c[ea>>2]|0)+56>>2]&255](ea,1,1,9)|0}a[da>>0]=0;h=(ba|0)==(h|0)|(r|0)!=0?r:5;l=fa;return h|0}function Xg(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;O=l;l=l+96|0;M=O+32|0;I=O+24|0;o=O+8|0;C=O;n=O+56|0;D=O+52|0;E=O+48|0;j=O+44|0;i=Sg(e,0,j)|0;switch(i|0){case 0:break;case 1288:{a[e+50>>0]=1;a[e+43>>0]=2;c[f>>2]=1;break}default:{e=i;l=O;return e|0}}if(c[j>>2]|0){h=Yg(e,f)|0;if(!h){g=i;N=74}else N=5}else{h=1;N=5}do if((N|0)==5){if((a[e+50>>0]|0)==0?a[e+46>>0]&2:0){h=e+43|0;if(a[h>>0]|0){g=264;break}i=e+4|0;g=c[i>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,0,1,6)|0;if(g|0)break;if(a[h>>0]|0){g=264;break}g=c[i>>2]|0;mb[c[(c[g>>2]|0)+56>>2]&255](g,0,1,5)|0;g=264;break}L=e+43|0;if((a[L>>0]|0)==0?(g=c[e+4>>2]|0,g=mb[c[(c[g>>2]|0)+56>>2]&255](g,0,1,10)|0,g|0):0)break;K=e+44|0;a[K>>0]=1;g=Sg(e,0,j)|0;if(!g){h=Yg(e,f)|0;if(!h){h=0;g=0}else{H=d[e+45>>0]|0;G=H+1|0;H=2-H|0;if(!(a[L>>0]|0)){i=e+4|0;g=c[i>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,G,H,10)|0;if(!g)if((a[L>>0]|0)==0?(k=c[i>>2]|0,k=mb[c[(c[k>>2]|0)+56>>2]&255](k,4,4,10)|0,(k|0)!=0):0)if(!(a[L>>0]|0)){g=c[i>>2]|0;mb[c[(c[g>>2]|0)+56>>2]&255](g,G,H,9)|0;g=k}else g=k;else N=21}else N=21;if((N|0)==21){F=e+52|0;i=F;m=i+48|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(m|0));B=e+8|0;g=c[B>>2]|0;g=kb[c[(c[g>>2]|0)+24>>2]&255](g,C)|0;a:do if(!g){A=C;y=c[A+4>>2]|0;b:do if((y|0)>0|(y|0)==0&(c[A>>2]|0)>>>0>32){g=c[B>>2]|0;g=nb[c[(c[g>>2]|0)+8>>2]&255](g,n,32,0,0)|0;c:do if(!g){g=d[n+3>>0]|0;i=n+8|0;p=d[n+9>>0]<<16|d[i>>0]<<24;q=d[n+10>>0]<<8;m=p|q|d[n+11>>0];if((d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|g&254|0)==931071618?!((m+-512|0)>>>0>65024|(m+-1&m|0)!=0):0){y=g&1;a[e+65>>0]=y;c[e+36>>2]=m;g=n+12|0;c[e+112>>2]=d[n+13>>0]<<16|d[g>>0]<<24|d[n+14>>0]<<8|d[n+15>>0];x=n+16|0;j=c[x>>2]|0;x=c[x+4>>2]|0;A=e+84|0;w=A;a[w>>0]=j;a[w+1>>0]=j>>8;a[w+2>>0]=j>>16;a[w+3>>0]=j>>24;A=A+4|0;a[A>>0]=x;a[A+1>>0]=x>>8;a[A+2>>0]=x>>16;a[A+3>>0]=x>>24;A=e+76|0;if(!(y<<24>>24)){y=c[n>>2]|0;k=c[n+4>>2]|0;x=k+y|0;y=x+y+(c[i>>2]|0)|0;i=(c[g>>2]|0)+x+y|0;g=i+(c[n+20>>2]|0)|0;i=y+j+i|0}else{x=St(c[n>>2]|0)|0;k=c[n+4>>2]|0;y=(St(k|0)|0)+x|0;i=y+x+(St(c[i>>2]|0)|0)|0;g=(St(c[g>>2]|0)|0)+y+i|0;i=i+(St(j|0)|0)+g|0;g=g+(St(c[n+20>>2]|0)|0)|0}g=g+i|0;c[A>>2]=i;y=e+80|0;c[y>>2]=g;do if((i|0)==(d[n+25>>0]<<16|d[n+24>>0]<<24|d[n+26>>0]<<8|d[n+27>>0]|0)){if((g|0)!=(d[n+29>>0]<<16|d[n+28>>0]<<24|d[n+30>>0]<<8|d[n+31>>0]|0))break;if((d[n+5>>0]<<16|k<<24|d[n+6>>0]<<8|d[n+7>>0]|0)!=3007e3){c[o>>2]=17915;c[o+4>>2]=56430;c[o+8>>2]=17052;Bc(14,17e3,o);g=14;break a}w=m+24|0;x=((w|0)<0)<<31>>31;v=(Nc()|0)!=0;u=Ft(w|0,x|0,-1,-1)|0;t=z;if(t>>>0>0|(t|0)==0&u>>>0>2147483390|v){g=7;break c}do if(!(c[2]|0)){g=jb[c[52>>2]&255](w)|0;if(!g){g=7;break c}else v=g}else{g=jb[c[68>>2]&255](w)|0;if((c[11829]|0)>>>0>>0)c[11829]=w;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){u=c[11822]|0;v=Gt(i|0,j|0,g|0,((g|0)<0)<<31>>31|0)|0;t=z;c[11616]=(0>(t|0)|0==(t|0)&u>>>0>=v>>>0)&1}i=jb[c[52>>2]&255](g)|0;if(!i){g=7;break c}g=jb[c[64>>2]&255](i)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0<=(c[11831]|0)>>>0){v=i;break}c[11831]=g;v=i}while(0);s=v+24|0;g=Ft(w|0,x|0,32,0)|0;n=z;u=C;t=c[u+4>>2]|0;d:do if((n|0)>(t|0)|((n|0)==(t|0)?g>>>0>(c[u>>2]|0)>>>0:0)){g=0;i=0;j=0}else{t=e+68|0;u=e+72|0;q=(p>>>16|q)&65535;r=e+66|0;p=0;i=0;j=0;k=32;m=0;o=g;while(1){p=p+1|0;g=c[B>>2]|0;g=nb[c[(c[g>>2]|0)+8>>2]&255](g,v,w,k,m)|0;if(g|0)break;if(!(Zg(e,D,E,s,v)|0)){g=0;break}g=_g(e,p,c[D>>2]|0)|0;if(g|0)break;g=c[E>>2]|0;if(g){c[t>>2]=p;c[u>>2]=g;b[r>>1]=q;i=c[A>>2]|0;j=c[y>>2]|0}g=Ft(o|0,n|0,w|0,x|0)|0;k=z;m=C;P=c[m+4>>2]|0;if((k|0)>(P|0)|((k|0)==(P|0)?g>>>0>(c[m>>2]|0)>>>0:0)){g=0;break d}else{m=n;P=o;o=g;n=k;k=P}}}while(0);if(!(c[2]|0))pb[c[56>>2]&255](v);else{P=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v)}if(!g){g=j;break b}else break a}while(0);i=0;g=0;break b}i=0;g=0;break b}while(0);break a}else{i=0;g=0}while(0);c[e+76>>2]=i;c[e+80>>2]=g;j=e+32|0;k=c[c[j>>2]>>2]|0;a[e+64>>0]=1;c[F>>2]=3007e3;P=c[F+4>>2]|0;m=P+6014e3+(c[F+8>>2]|0)|0;P=P+3007e3+(c[F+12>>2]|0)+m|0;m=(c[F+16>>2]|0)+m+P|0;P=(c[F+20>>2]|0)+P+m|0;m=m+i+P|0;i=P+g+m|0;g=m+(c[F+32>>2]|0)+i|0;i=i+(c[F+36>>2]|0)+g|0;c[e+92>>2]=g;c[e+96>>2]=i;i=k+48|0;g=F;m=i+48|0;do{a[i>>0]=a[g>>0]|0;i=i+1|0;g=g+1|0}while((i|0)<(m|0));if((a[L>>0]|0)!=2){P=c[e+4>>2]|0;pb[c[(c[P>>2]|0)+60>>2]&255](P)}i=k;g=F;m=i+48|0;do{a[i>>0]=a[g>>0]|0;i=i+1|0;g=g+1|0}while((i|0)<(m|0));j=c[c[j>>2]>>2]|0;c[j+96>>2]=0;g=e+68|0;c[j+128>>2]=c[g>>2];c[j+100>>2]=0;i=j+104|0;c[i>>2]=-1;c[j+108>>2]=-1;c[j+112>>2]=-1;c[j+116>>2]=-1;j=c[g>>2]|0;if(j|0)c[i>>2]=j;if(!(c[e+72>>2]|0))g=0;else{P=c[e+108>>2]|0;c[I>>2]=c[g>>2];c[I+4>>2]=P;Bc(283,21304,I);g=0}}while(0);if((a[L>>0]|0)==0?(J=e+4|0,P=c[J>>2]|0,mb[c[(c[P>>2]|0)+56>>2]&255](P,G,H,9)|0,(a[L>>0]|0)==0):0){P=c[J>>2]|0;mb[c[(c[P>>2]|0)+56>>2]&255](P,4,4,9)|0}}c[f>>2]=1}}a[K>>0]=0;if(!(a[L>>0]|0)){P=c[e+4>>2]|0;mb[c[(c[P>>2]|0)+56>>2]&255](P,0,1,9)|0}if(!h)N=74}while(0);if((N|0)==74)if((c[e+52>>2]|0)!=3007e3){c[M>>2]=17915;c[M+4>>2]=57409;c[M+8>>2]=17052;Bc(14,17e3,M);g=14}i=e+50|0;if(!(a[i>>0]|0)){P=g;l=O;return P|0}n=e+43|0;if(!g)g=0;else{j=e+24|0;if((c[j>>2]|0)>0){k=e+32|0;h=0;do{m=c[(c[k>>2]|0)+(h<<2)>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);c[(c[k>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)<(c[j>>2]|0))}if((a[n>>0]|0)!=2){P=c[e+4>>2]|0;kb[c[(c[P>>2]|0)+64>>2]&255](P,0)|0}a[i>>0]=0;g=(g|0)==522?-1:g}a[n>>0]=0;P=g;l=O;return P|0}function Yg(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+96|0;k=m+48|0;g=m;h=c[c[b+32>>2]>>2]|0;f=k;i=h;j=f+48|0;do{a[f>>0]=a[i>>0]|0;f=f+1|0;i=i+1|0}while((f|0)<(j|0));if((a[b+43>>0]|0)!=2){j=c[b+4>>2]|0;pb[c[(c[j>>2]|0)+60>>2]&255](j)}f=g;i=h+48|0;j=f+48|0;do{a[f>>0]=a[i>>0]|0;f=f+1|0;i=i+1|0}while((f|0)<(j|0));if(Bs(k,g,48)|0){k=1;l=m;return k|0}if(!(a[k+12>>0]|0)){k=1;l=m;return k|0}g=c[k>>2]|0;f=(c[k+4>>2]|0)+g|0;g=g+f+(c[k+8>>2]|0)|0;f=(c[k+12>>2]|0)+f+g|0;g=g+f+(c[k+16>>2]|0)|0;f=(c[k+20>>2]|0)+f+g|0;g=g+f+(c[k+24>>2]|0)|0;f=(c[k+28>>2]|0)+f+g|0;g=g+f+(c[k+32>>2]|0)|0;if((g|0)!=(c[k+40>>2]|0)){k=1;l=m;return k|0}if(((c[k+36>>2]|0)+f+g|0)!=(c[k+44>>2]|0)){k=1;l=m;return k|0}f=b+52|0;if(!(Bs(f,k,48)|0)){k=0;l=m;return k|0}c[d>>2]=1;i=k;j=f+48|0;do{c[f>>2]=c[i>>2];f=f+4|0;i=i+4|0}while((f|0)<(j|0));k=e[b+66>>1]|0;c[b+36>>2]=k<<16&65536|k&65024;k=0;l=m;return k|0}function Zg(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=b+76|0;if(Bs(b+84|0,h+8|0,8)|0){n=0;return n|0}l=d[h+1>>0]<<16|d[h>>0]<<24|d[h+2>>0]<<8|d[h+3>>0];if(!l){n=0;return n|0}i=c[n>>2]|0;m=b+80|0;j=c[m>>2]|0;if(!(a[b+65>>0]|0)){i=i+j+(c[h>>2]|0)|0;o=(c[h+4>>2]|0)+j+i|0;c[n>>2]=i;c[m>>2]=o;k=g+(c[b+36>>2]|0)|0;j=g;b=o;do{i=i+b+(c[j>>2]|0)|0;b=(c[j+4>>2]|0)+b+i|0;j=j+8|0}while(j>>>0>>0)}else{i=i+j+(St(c[h>>2]|0)|0)|0;o=(St(c[h+4>>2]|0)|0)+j+i|0;c[n>>2]=i;c[m>>2]=o;k=g+(c[b+36>>2]|0)|0;j=g;b=o;do{i=i+b+(St(c[j>>2]|0)|0)|0;b=(St(c[j+4>>2]|0)|0)+b+i|0;j=j+8|0}while(j>>>0>>0)}c[n>>2]=i;c[m>>2]=b;if((i|0)!=(d[h+17>>0]<<16|d[h+16>>0]<<24|d[h+18>>0]<<8|d[h+19>>0]|0)){o=0;return o|0}if((b|0)!=(d[h+21>>0]<<16|d[h+20>>0]<<24|d[h+22>>0]<<8|d[h+23>>0]|0)){o=0;return o|0}c[e>>2]=l;c[f>>2]=d[h+5>>0]<<16|d[h+4>>0]<<24|d[h+6>>0]<<8|d[h+7>>0];o=1;return o|0}function _g(a,d,f){a=a|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;q=r;k=r+12|0;h=(d+33|0)>>>12;g=Sg(a,h,k)|0;if(g|0){f=g;l=r;return f|0}i=c[k>>2]|0;p=i+16384|0;if(!h){h=i+136|0;c[k>>2]=h;g=0}else{g=(h<<12)+-34|0;h=i}o=d-g|0;if((o|0)==1)Vt(h|0,0,i+32768-h|0)|0;n=h+-4+(o<<2)|0;if(c[n>>2]|0?(m=a+68|0,j=c[m>>2]|0,j|0):0){g=(j+33|0)>>>12;if(!(Sg(a,g,k)|0)){d=c[k>>2]|0;if(!g){h=d+136|0;c[k>>2]=h;g=0}else{g=(g<<12)+-34|0;h=d}j=h+-4|0;i=d+16384|0}else{g=0;j=0;i=0}h=(c[m>>2]|0)-g|0;g=0;do{d=i+(g<<1)|0;if((e[d>>1]|0)>(h|0))b[d>>1]=0;g=g+1|0}while((g|0)!=8192);m=j+(h+1<<2)|0;Vt(m|0,0,i-m|0)|0}h=f*383&8191;g=p+(h<<1)|0;a:do if(b[g>>1]|0){d=o;while(1){if(!d)break;h=h+1&8191;g=p+(h<<1)|0;if(!(b[g>>1]|0))break a;else d=d+-1|0}c[q>>2]=21258;c[q+4>>2]=56294;c[q+8>>2]=17052;Bc(11,17e3,q);f=11;l=r;return f|0}while(0);c[n>>2]=f;b[g>>1]=o;f=0;l=r;return f|0}function $g(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+112|0;z=A+96|0;y=A+80|0;u=A+64|0;t=A+48|0;o=A+32|0;i=A+16|0;h=A;p=c[f+52>>2]|0;x=c[f+56>>2]|0;w=d[f+9>>0]|0;v=d[x+w>>0]|0;j=v>>>3;g=j&255;s=f+8|0;a[s>>0]=g;j=4-(j<<2)|0;a[f+10>>0]=j;r=f+76|0;c[r>>2]=182;switch((v&247)<<24>>24){case 5:{a[f+2>>0]=1;h=f+3|0;if(!(g<<24>>24)){a[h>>0]=0;c[r>>2]=183;h=226}else{a[h>>0]=1;h=225}c[f+80>>2]=h;b[f+14>>1]=b[p+28>>1]|0;h=p+30|0;break}case 2:{a[f+2>>0]=0;a[f+3>>0]=0;c[f+80>>2]=224;b[f+14>>1]=b[p+24>>1]|0;h=p+26|0;break}default:{c[h>>2]=21258;c[h+4>>2]=61851;c[h+8>>2]=17052;Bc(11,17e3,h);c[i>>2]=21258;c[i+4>>2]=61892;c[i+8>>2]=17052;Bc(11,17e3,i);z=11;l=A;return z|0}}b[f+16>>1]=b[h>>1]|0;a[f+11>>0]=a[p+21>>0]|0;i=c[p+32>>2]|0;b[f+24>>1]=i+65535;a[f+12>>0]=0;v=c[p+36>>2]|0;q=j&252;m=w+8+q|0;b[f+18>>1]=m;c[f+60>>2]=x+v;c[f+64>>2]=x+m;c[f+68>>2]=x+q;q=x+(w+5)|0;q=(((d[q>>0]|0)<<8|(d[q+1>>0]|0))+65535&65535)+1|0;h=x+(w+3)|0;h=(d[h>>0]|0)<<8|(d[h+1>>0]|0);k=h&65535;n=f+22|0;b[n>>1]=k;if(h>>>0>(((i+-8|0)>>>0)/6|0)>>>0){c[o>>2]=21258;c[o+4>>2]=61911;c[o+8>>2]=17052;Bc(11,17e3,o);z=11;l=A;return z|0}o=(h<<1)+m|0;j=v+-4|0;if(c[(c[p+4>>2]|0)+28>>2]&2097152){i=g<<24>>24==0?v+-5|0:j;do if(k<<16>>16){g=0;while(1){h=x+((g<<1)+m)|0;h=(d[h>>0]|0)<<8|(d[h+1>>0]|0);if(h>>>0>>0|(h|0)>(i|0)){h=14;break}g=g+1|0;if((((kb[c[r>>2]&255](f,x+h|0)|0)&65535)+h|0)>(v|0)){h=16;break}if((g|0)>=(e[n>>1]|0|0)){h=17;break}}if((h|0)==14){c[t>>2]=21258;c[t+4>>2]=61939;c[t+8>>2]=17052;Bc(11,17e3,t);z=11;l=A;return z|0}else if((h|0)==16){c[u>>2]=21258;c[u+4>>2]=61944;c[u+8>>2]=17052;Bc(11,17e3,u);z=11;l=A;return z|0}else if((h|0)==17){g=a[s>>0]|0;break}}while(0);j=(g<<24>>24==0&1)+i|0}i=x+(w+1)|0;i=(d[i>>0]|0)<<8|(d[i+1>>0]|0);g=q+(d[x+(w+7)>>0]|0)|0;a:do if(i){b:do if(i>>>0>=o>>>0){do{if((i|0)>(j|0)){g=61967;break b}w=x+i|0;h=i;i=(d[w>>0]|0)<<8|(d[w+1>>0]|0);w=x+(h+2)|0;w=(d[w>>0]|0)<<8|(d[w+1>>0]|0);g=w+g|0;h=w+h|0}while(i>>>0>(h+3|0)>>>0);if(!i)if(h>>>0>v>>>0)g=61981;else break a;else g=61977}else g=61962;while(0);c[y>>2]=21258;c[y+4>>2]=g;c[y+8>>2]=17052;Bc(11,17e3,y);z=11;l=A;return z|0}while(0);if((g|0)>(v|0)){c[z>>2]=21258;c[z+4>>2]=61993;c[z+8>>2]=17052;Bc(11,17e3,z);z=11;l=A;return z|0}else{b[f+20>>1]=g-o;a[f>>0]=1;z=0;l=A;return z|0}return 0}function ah(b,f){b=b|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=f+(d[b+10>>0]|0)|0;i=a[j>>0]|0;g=i&255;if(i<<24>>24<0){i=0;g=g&127;do{i=i+1|0;h=j+i|0;k=a[h>>0]|0;g=k&127|g<<7}while(k<<24>>24<0&(i|0)<8);i=g}else{h=j;i=g}if(!(a[b+2>>0]|0))g=h+1|0;else{g=1;do{k=g;g=g+1|0}while((a[h+k>>0]|0)<0&(g|0)<10);g=h+g|0}h=e[b+14>>1]|0;g=g-f|0;if(i>>>0>h>>>0){f=e[b+16>>1]|0;k=(((i-f|0)>>>0)%(((c[(c[b+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+f|0;k=(g&65535)+4+(k>>>0>h>>>0?f:k)|0;k=k&65535;return k|0}else{k=g+i|0;k=k>>>0>4?k:4;k=k&65535;return k|0}return 0}function bh(b,c){b=b|0;c=c|0;var d=0;b=4;do{d=b;b=b+1|0}while((a[c+d>>0]|0)<0&(b|0)<13);return b&65535|0}function ch(a,d,e){a=a|0;d=d|0;e=e|0;b[e+18>>1]=((gh(d+4|0,e)|0)&255)+4;c[e+12>>2]=0;b[e+16>>1]=0;c[e+8>>2]=0;return}function dh(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=a[f>>0]|0;h=l&255;if(l<<24>>24<0){j=0;h=h&127;do{j=j+1|0;i=f+j|0;l=a[i>>0]|0;h=l&127|h<<7}while(l<<24>>24<0&(j|0)<8);k=i}else k=f;i=k+1|0;l=a[i>>0]|0;j=l&255;if(l<<24>>24<0){j=Rt(j|0,0,7)|0;i=k+2|0;l=a[i>>0]|0;j=l&127|j&16256;if(l<<24>>24<=-1){j=Rt(j|0,0,7)|0;l=z;i=k+3|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,7)|0;l=z;i=k+4|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,7)|0;l=z;i=k+5|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,7)|0;l=z;i=k+6|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,7)|0;l=z;i=k+7|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,7)|0;l=z;i=k+8|0;m=a[i>>0]|0;j=m&127|j;if(m<<24>>24<=-1){j=Rt(j|0,l|0,8)|0;l=k+9|0;i=l;j=d[l>>0]|0|j;l=z}}}}}}}else l=0}else l=0;k=i+1|0;i=g;c[i>>2]=j;c[i+4>>2]=l;c[g+12>>2]=h;c[g+8>>2]=k;i=b[e+14>>1]|0;if(h>>>0>(i&65535)>>>0){fh(i,b[e+16>>1]|0,c[(c[e+52>>2]|0)+36>>2]|0,f,g);return}else{m=k-f+h|0;b[g+18>>1]=(m&65532)>>>0<4?4:m&65535;b[g+16>>1]=h;return}}function eh(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;l=f+(d[e+10>>0]|0)|0;k=a[l>>0]|0;j=k&255;if(k<<24>>24<0){k=0;h=j&127;do{k=k+1|0;i=l+k|0;j=a[i>>0]|0;h=j&127|h<<7}while(j<<24>>24<0&(k|0)<8);j=h}else i=l;h=i+1|0;i=g;c[i>>2]=j;c[i+4>>2]=0;c[g+12>>2]=j;c[g+8>>2]=h;i=b[e+14>>1]|0;if(j>>>0>(i&65535)>>>0){fh(i,b[e+16>>1]|0,c[(c[e+52>>2]|0)+36>>2]|0,f,g);return}else{f=h-f+j|0;b[g+18>>1]=(f&65532)>>>0<4?4:f&65535;b[g+16>>1]=j;return}}function fh(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=d&65535;e=((((c[g+12>>2]|0)-h|0)>>>0)%((e+-4|0)>>>0)|0)+h|0;e=(e|0)>(a&65535|0)?d:e&65535;b[g+16>>1]=e;b[g+18>>1]=4-f+((c[g+8>>2]|0)+(e&65535));return}function gh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=a[b>>0]|0;g=f&255;do if(g&128){f=d[b+1>>0]|0;if(!(f&128)){l=2;j=0;f=f|g<<7&16256;break}l=d[b+2>>0]|0;g=(l|g<<14)&2080895;if(!(l&128)){l=3;j=0;f=g|f<<7&16256;break}l=d[b+3>>0]|0;f=(l|f<<14)&2080895;if(!(l&128)){l=4;j=0;f=f|g<<7;break}k=a[b+4>>0]|0;l=k&255;h=l|g<<14;if(!(l&128)){l=5;j=g>>>18;f=h|f<<7;break}j=f|g<<7;l=d[b+5>>0]|0;i=l|f<<14;if(!(l&128)){l=6;j=j>>>18;f=i|h<<7&266354560;break}l=d[b+6>>0]|0;f=l|h<<14;if(!(l&128)){l=7;j=j>>>11;f=f&-266354561|i<<7&266354560;break}g=f&2080895;l=d[b+7>>0]|0;f=l|i<<14;if(!(l&128)){l=8;j=j>>>4;f=f&-266354561|g<<7;break}else{l=9;j=(k&120)>>>3|j<<4;f=f<<8&532709120|g<<15|(d[b+8>>0]|0);break}}else{l=1;j=0;f=f&255}while(0);c[e>>2]=f;c[e+4>>2]=j;return l|0}function hh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0;Aa=l;l=l+48|0;sa=Aa+32|0;qa=Aa;k=Aa+36|0;c[k>>2]=f;S=(h|0)==0;if(!S){c[k>>2]=f;if(!f){za=0;f=0}else{i=f;f=0;j=k;do{ya=(c[i+24>>2]|0)>>>0>g>>>0;za=i+16|0;f=((ya^1)&1)+f|0;j=ya?j:za;i=c[za>>2]|0;c[j>>2]=i}while((i|0)!=0);za=c[k>>2]|0}}else{za=f;f=1}ya=e+192|0;c[ya>>2]=(c[ya>>2]|0)+f;if((c[za+24>>2]|0)==1){va=c[za+20>>2]|0;va=(d[va+105>>0]<<16|d[va+104>>0]<<24|d[va+106>>0]<<8|d[va+107>>0])+1|0;ya=za+4|0;xa=c[ya>>2]|0;oa=va>>>24&255;a[xa+24>>0]=oa;ra=va>>>16&255;a[xa+25>>0]=ra;ua=va>>>8&255;a[xa+26>>0]=ua;va=va&255;a[xa+27>>0]=va;xa=c[ya>>2]|0;a[xa+92>>0]=oa;a[xa+93>>0]=ra;a[xa+94>>0]=ua;a[xa+95>>0]=va;ya=c[ya>>2]|0;a[ya+96>>0]=0;a[ya+97>>0]=46;a[ya+98>>0]=28;a[ya+99>>0]=-80}xa=c[e+212>>2]|0;ua=c[e+152>>2]|0;T=d[e+11>>0]|0;va=xa+32|0;f=c[c[va>>2]>>2]|0;ya=xa+52|0;if(!(Bs(ya,f,48)|0))E=0;else E=(c[f+16>>2]|0)+1|0;n=xa+40|0;if(!(b[n>>1]|0)){a:do if(!(c[f+96>>2]|0)){m=xa+43|0;wa=19}else{zd(4,qa);k=xa+43|0;b:do if(!(a[k>>0]|0)){f=c[xa+4>>2]|0;f=mb[c[(c[f>>2]|0)+56>>2]&255](f,4,4,10)|0;switch(f|0){case 0:{wa=14;break b}case 5:break b;default:{}}q=f;break a}else wa=14;while(0);if((wa|0)==14){o=c[qa>>2]|0;i=c[va>>2]|0;f=c[i>>2]|0;j=f+96|0;oa=xa+84|0;ra=xa+112|0;c[ra>>2]=(c[ra>>2]|0)+1;c[xa+68>>2]=0;ra=oa+1|0;wa=oa+2|0;p=oa+3|0;m=(d[ra>>0]<<16|d[oa>>0]<<24|d[wa>>0]<<8|d[p>>0])+1|0;a[oa>>0]=m>>>24;a[ra>>0]=m>>>16;a[wa>>0]=m>>>8;a[p>>0]=m;c[xa+88>>2]=o;i=c[i>>2]|0;a[xa+64>>0]=1;c[ya>>2]=3007e3;p=c[ya+4>>2]|0;m=p+6014e3+(c[ya+8>>2]|0)|0;p=p+3007e3+(c[ya+12>>2]|0)+m|0;m=p+m|0;p=p+(c[ya+20>>2]|0)+m|0;m=m+(c[ya+24>>2]|0)+p|0;p=p+(c[ya+28>>2]|0)+m|0;m=m+(c[ya+32>>2]|0)+p|0;c[xa+92>>2]=m;c[xa+96>>2]=p+o+m;m=i+48|0;o=ya;p=m+48|0;do{a[m>>0]=a[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(p|0));if((a[k>>0]|0)!=2){wa=c[xa+4>>2]|0;pb[c[(c[wa>>2]|0)+60>>2]&255](wa)}m=i;o=ya;p=m+48|0;do{a[m>>0]=a[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(p|0));c[j>>2]=0;c[f+128>>2]=0;c[f+104>>2]=0;c[f+108>>2]=-1;c[f+112>>2]=-1;c[f+116>>2]=-1;if(!(a[k>>0]|0)){wa=c[xa+4>>2]|0;mb[c[(c[wa>>2]|0)+56>>2]&255](wa,4,4,9)|0}}m=k;wa=19}while(0);if((wa|0)==19){if(!(a[m>>0]|0)){ra=c[xa+4>>2]|0;mb[c[(c[ra>>2]|0)+56>>2]&255](ra,3,1,5)|0}b[n>>1]=-1;f=0;do{f=f+1|0;i=kh(xa,qa,1,f)|0}while((i|0)==-1);q=i}if(q|0){g=q;l=Aa;return g|0}}ra=xa+68|0;m=c[ra>>2]|0;c:do if(!m){a[qa>>0]=55;a[qa+1>>0]=127;a[qa+2>>0]=6;a[qa+3>>0]=-126;f=qa+4|0;a[f>>0]=0;a[qa+5>>0]=45;a[qa+6>>0]=-30;a[qa+7>>0]=24;i=qa+8|0;a[i>>0]=ua>>>24;a[qa+9>>0]=ua>>>16;a[qa+10>>0]=ua>>>8;a[qa+11>>0]=ua;j=qa+12|0;oa=c[xa+112>>2]|0;a[j>>0]=oa>>>24;a[qa+13>>0]=oa>>>16;a[qa+14>>0]=oa>>>8;a[qa+15>>0]=oa;k=xa+84|0;if(!oa)zd(8,k);oa=k;Z=oa;Z=d[Z>>0]|d[Z+1>>0]<<8|d[Z+2>>0]<<16|d[Z+3>>0]<<24;oa=oa+4|0;oa=d[oa>>0]|d[oa+1>>0]<<8|d[oa+2>>0]<<16|d[oa+3>>0]<<24;X=qa+16|0;c[X>>2]=Z;c[X+4>>2]=oa;X=c[qa>>2]|0;Y=(c[f>>2]|0)+X|0;f=Y+X+(c[i>>2]|0)|0;i=(c[j>>2]|0)+Y+f|0;f=f+Z+i|0;i=i+oa+f|0;a[qa+24>>0]=f>>>24;a[qa+25>>0]=f>>>16;a[qa+26>>0]=f>>>8;a[qa+27>>0]=f;a[qa+28>>0]=i>>>24;a[qa+29>>0]=i>>>16;a[qa+30>>0]=i>>>8;a[qa+31>>0]=i;c[xa+36>>2]=ua;a[xa+65>>0]=0;c[xa+76>>2]=f;c[xa+80>>2]=i;a[xa+47>>0]=1;i=xa+8|0;f=c[i>>2]|0;f=nb[c[(c[f>>2]|0)+12>>2]&255](f,qa,32,0,0)|0;do if(!f){if((a[xa+48>>0]|0?(r=c[i>>2]|0,s=T>>>2&3,s|0):0)?(t=kb[c[(c[r>>2]|0)+20>>2]&255](r,s)|0,t|0):0){f=t;break}Z=i;break c}while(0);g=f;l=Aa;return g|0}else Z=xa+8|0;while(0);U=c[Z>>2]|0;X=ua+24|0;Y=((X|0)<0)<<31>>31;i=Lt(m|0,0,X|0,Y|0)|0;i=Ft(i|0,z|0,32,0)|0;f=z;oa=(za|0)==0;d:do if(!oa){s=(E|0)==0;t=U;u=((ua|0)<0)<<31>>31;v=T&3;w=(v|0)==0;x=xa+104|0;j=m;r=za;k=0;q=f;p=i;e:while(1){do if(!s?(N=r+16|0,S|(c[N>>2]|0)!=0):0){c[qa>>2]=0;Vg(xa,c[r+24>>2]|0,qa)|0;i=c[qa>>2]|0;if(i>>>0>>0){wa=45;break}f=Lt(i+-1|0,0,X|0,Y|0)|0;f=Ft(f|0,z|0,56,0)|0;if(((c[x>>2]|0)+-1|0)>>>0>=i>>>0)c[x>>2]=i;F=c[Z>>2]|0;F=nb[c[(c[F>>2]|0)+12>>2]&255](F,c[r+4>>2]|0,ua,f,z)|0;if(F|0){wa=43;break e}y=r+28|0;b[y>>1]=b[y>>1]&-65;y=j;A=k;B=N;C=p;D=q}else wa=45;while(0);if((wa|0)==45){wa=0;o=j+1|0;if(S)f=0;else f=(c[r+16>>2]|0)==0?g:0;n=c[r+4>>2]|0;lh(xa,c[r+24>>2]|0,f,n,qa);if(!(q>>>0<4294967295|(q|0)==-1&p>>>0<4294967272)){m=Gt(0,0,p|0,q|0)|0;f=nb[c[(c[t>>2]|0)+12>>2]&255](t,qa,m,p,q)|0;if(f|0){H=f;wa=60;break}f=Ft(m|0,((m|0)<0)<<31>>31|0,p|0,q|0)|0;i=z;j=24-m|0;if(w)k=0;else k=kb[c[(c[t>>2]|0)+20>>2]&255](t,v)|0;if((j|0)!=0&(k|0)==0){K=j;M=qa+m|0;O=f;P=i;wa=52}else I=k}else{K=24;M=qa;O=p;P=q;wa=52}if((wa|0)==52){wa=0;I=nb[c[(c[t>>2]|0)+12>>2]&255](t,M,K,O,P)|0}if(I|0){H=I;wa=60;break}f=Ft(p|0,q|0,24,0)|0;i=z;Ft(f|0,i|0,ua|0,u|0)|0;if(!((q|0)>-1|(q|0)==-1&p>>>0>4294967271|(z|0)<0)){m=Gt(-24,-1,p|0,q|0)|0;j=nb[c[(c[t>>2]|0)+12>>2]&255](t,n,m,f,i)|0;if(j|0){H=j;wa=60;break}f=Ft(m|0,((m|0)<0)<<31>>31|0,f|0,i|0)|0;i=z;j=ua-m|0;if(w)k=0;else k=kb[c[(c[t>>2]|0)+20>>2]&255](t,v)|0;if((j|0)!=0&(k|0)==0){J=j;L=n+m|0;Q=f;R=i;wa=59}else G=k}else{J=ua;L=n;Q=f;R=i;wa=59}if((wa|0)==59){wa=0;G=nb[c[(c[t>>2]|0)+12>>2]&255](t,L,J,Q,R)|0}f=r+28|0;if(G|0){da=G;wa=123;break}C=Ft(p|0,q|0,X|0,Y|0)|0;b[f>>1]=b[f>>1]|64;y=o;A=r;B=r+16|0;D=z}r=c[B>>2]|0;if(!r){ma=y;ta=A;_=C;$=D;break d}else{j=y;k=A;q=D;p=C}}if((wa|0)==43){g=F;l=Aa;return g|0}else if((wa|0)==60){g=H;l=Aa;return g|0}else if((wa|0)==123){l=Aa;return da|0}}else{ma=m;ta=0;_=i;$=f}while(0);C=(h|0)!=0;if(C){i=xa+104|0;if(c[i>>2]|0){n=(c[xa+36>>2]|0)+24|0;w=Fd(n)|0;if(!w){g=7;l=Aa;return g|0}p=c[i>>2]|0;f=(p|0)==1;o=((n|0)<0)<<31>>31;p=Lt(p+-2|0,0,n|0,o|0)|0;p=Ft(p|0,z|0,48,0)|0;q=c[Z>>2]|0;f=nb[c[(c[q>>2]|0)+8>>2]&255](q,w,8,f?24:p,f?0:z)|0;p=w+1|0;q=w+2|0;r=w+3|0;c[xa+76>>2]=d[p>>0]<<16|d[w>>0]<<24|d[q>>0]<<8|d[r>>0];s=w+4|0;t=w+5|0;u=w+6|0;v=w+7|0;c[xa+80>>2]=d[t>>0]<<16|d[s>>0]<<24|d[u>>0]<<8|d[v>>0];j=c[i>>2]|0;c[i>>2]=0;f:do if(!((f|0)!=0|j>>>0>ma>>>0)){m=w+24|0;do{i=Lt(j+-1|0,0,n|0,o|0)|0;i=Ft(i|0,z|0,32,0)|0;k=z;f=c[Z>>2]|0;f=nb[c[(c[f>>2]|0)+8>>2]&255](f,w,n,i,k)|0;if(f|0)break f;lh(xa,d[p>>0]<<16|d[w>>0]<<24|d[q>>0]<<8|d[r>>0],d[t>>0]<<16|d[s>>0]<<24|d[u>>0]<<8|d[v>>0],m,qa);f=c[Z>>2]|0;f=nb[c[(c[f>>2]|0)+12>>2]&255](f,qa,24,i,k)|0;j=j+1|0}while(!(j>>>0>ma>>>0|(f|0)!=0))}while(0);if(!(c[2]|0))pb[c[56>>2]&255](w);else{S=jb[c[64>>2]&255](w)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](w)}if(f|0){g=f;l=Aa;return g|0}}B=T&3;do if(!B){i=0;k=0}else{if(a[xa+49>>0]|0){f=c[Z>>2]|0;i=c[(c[f>>2]|0)+44>>2]|0;if(i){f=jb[i&255](f)|0;if((f|0)<32)W=512;else{V=f;wa=81}}else{V=4096;wa=81}if((wa|0)==81)W=(V|0)<65536?V:65536;v=((W|0)<0)<<31>>31;A=Ft(_|0,$|0,-1,-1)|0;A=Ft(A|0,z|0,W|0,v|0)|0;w=z;v=Mt(A|0,w|0,W|0,v|0)|0;v=Gt(A|0,w|0,v|0,z|0)|0;w=z;A=(v|0)==(_|0)&(w|0)==($|0);g:do if((w|0)>($|0)|(w|0)==($|0)&v>>>0>_>>>0){t=ta+4|0;u=ta+24|0;x=U;y=((ua|0)<0)<<31>>31;k=0;s=_;r=$;while(1){q=c[t>>2]|0;lh(xa,c[u>>2]|0,g,q,qa);o=Ft(s|0,r|0,24,0)|0;p=z;if(!((w|0)>(p|0)|(w|0)==(p|0)&v>>>0>o>>>0)){n=Gt(v|0,w|0,s|0,r|0)|0;f=nb[c[(c[x>>2]|0)+12>>2]&255](x,qa,n,s,r)|0;if(f|0){ba=f;break}f=Ft(n|0,((n|0)<0)<<31>>31|0,s|0,r|0)|0;i=z;j=24-n|0;m=kb[c[(c[x>>2]|0)+20>>2]&255](x,B)|0;if((j|0)!=0&(m|0)==0){fa=j;ha=qa+n|0;ia=f;ja=i;wa=87}else ca=m}else{fa=24;ha=qa;ia=s;ja=r;wa=87}if((wa|0)==87){wa=0;ca=nb[c[(c[x>>2]|0)+12>>2]&255](x,ha,fa,ia,ja)|0}if(ca|0){ba=ca;break}$=Ft(o|0,p|0,ua|0,y|0)|0;_=z;if(!((w|0)<(p|0)|(w|0)==(p|0)&v>>>0<=o>>>0|((_|0)<(w|0)|(_|0)==(w|0)&$>>>0>>0))){n=Gt(v|0,w|0,o|0,p|0)|0;f=nb[c[(c[x>>2]|0)+12>>2]&255](x,q,n,o,p)|0;if(f|0){ba=f;break}f=Ft(n|0,((n|0)<0)<<31>>31|0,o|0,p|0)|0;i=z;j=ua-n|0;m=kb[c[(c[x>>2]|0)+20>>2]&255](x,B)|0;if((j|0)!=0&(m|0)==0){ea=j;ga=q+n|0;ka=f;la=i;wa=92}else aa=m}else{ea=ua;ga=q;ka=o;la=p;wa=92}if((wa|0)==92){wa=0;aa=nb[c[(c[x>>2]|0)+12>>2]&255](x,ga,ea,ka,la)|0}if(aa|0){da=aa;wa=123;break}s=Ft(s|0,r|0,X|0,Y|0)|0;r=z;k=k+1|0;if(!((w|0)>(r|0)|(w|0)==(r|0)&v>>>0>s>>>0))break g}if((wa|0)==123){l=Aa;return da|0}g=ba;l=Aa;return g|0}else k=0;while(0);if(!A){i=0;break}}else k=0;i=U;i=kb[c[(c[i>>2]|0)+20>>2]&255](i,B)|0}while(0);n=xa+47|0;if((a[n>>0]|0)!=0?(pa=xa+16|0,na=c[pa>>2]|0,pa=c[pa+4>>2]|0,(pa|0)>-1|(pa|0)==-1&na>>>0>4294967295):0){m=Lt(k+ma|0,0,X|0,Y|0)|0;m=Ft(m|0,z|0,32,0)|0;j=z;f=(j|0)>(pa|0)|(j|0)==(pa|0)&m>>>0>na>>>0;m=f?m:na;j=f?j:pa;f=c[Z>>2]|0;f=kb[c[(c[f>>2]|0)+24>>2]&255](f,qa)|0;pa=c[qa+4>>2]|0;if((f|0)==0&((pa|0)>(j|0)|((pa|0)==(j|0)?(c[qa>>2]|0)>>>0>m>>>0:0))){f=c[Z>>2]|0;f=lb[c[(c[f>>2]|0)+16>>2]&255](f,m,j)|0}if(f|0){c[sa>>2]=c[xa+108>>2];Bc(f,21278,sa)}a[n>>0]=0}}else{i=0;k=0}f=c[ra>>2]|0;if((za|0)!=0&(i|0)==0){m=za;do{j=f+1|0;if(!(b[m+28>>1]&64))i=0;else{i=_g(xa,j,c[m+24>>2]|0)|0;f=j}m=c[m+16>>2]|0}while((i|0)==0&(m|0)!=0)}j=(i|0)==0;if((k|0)>0&j){m=ta+24|0;while(1){f=f+1|0;i=_g(xa,f,c[m>>2]|0)|0;j=(i|0)==0;if((k|0)>1&j)k=k+-1|0;else{k=f;break}}}else k=f;if(j){b[xa+66>>1]=ua&65280|ua>>>16;c[ra>>2]=k;if(C){f=xa+60|0;o=c[f>>2]|0;c[f>>2]=o+1;c[xa+72>>2]=g;f=c[c[va>>2]>>2]|0;a[xa+64>>0]=1;c[ya>>2]=3007e3;m=c[ya+4>>2]|0;o=o+6014001+m|0;m=m+3007e3+(c[ya+12>>2]|0)+o|0;o=o+k+m|0;m=m+g+o|0;o=o+(c[ya+24>>2]|0)+m|0;m=m+(c[ya+28>>2]|0)+o|0;o=o+(c[ya+32>>2]|0)+m|0;m=m+(c[ya+36>>2]|0)+o|0;c[xa+92>>2]=o;c[xa+96>>2]=m;m=f+48|0;o=ya;p=m+48|0;do{a[m>>0]=a[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(p|0));if((a[xa+43>>0]|0)!=2){g=c[xa+4>>2]|0;pb[c[(c[g>>2]|0)+60>>2]&255](g)}m=f;o=ya;p=m+48|0;do{a[m>>0]=a[o>>0]|0;m=m+1|0;o=o+1|0}while((m|0)<(p|0));c[xa+12>>2]=k;wa=117}}else wa=117;if((wa|0)==117?i|0:0){g=i;l=Aa;return g|0}j=e+88|0;i=c[j>>2]|0;if((i|0)==0|oa){g=0;l=Aa;return g|0}else f=za;while(1){if(i|0)Jg(i,c[f+24>>2]|0,c[f+4>>2]|0);f=c[f+16>>2]|0;if(!f){da=0;break}i=c[j>>2]|0}l=Aa;return da|0}function ih(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;m=u+16|0;q=u;f=c[d+40>>2]|0;if(f|0){d=f;l=u;return d|0}a:do if(!(c[d+212>>2]|0)){k=d+17|0;g=d+13|0;h=d+60|0;i=d+176|0;j=d+180|0;b:while(1){switch(a[k>>0]|0){case 0:case 1:case 2:case 3:case 5:break;default:break a}if(a[g>>0]|0){g=7;break}f=c[h>>2]|0;f=kb[c[(c[f>>2]|0)+28>>2]&255](f,4)|0;switch(f|0){case 0:{g=7;break b}case 5:break;default:{g=35;break b}}if(!(jb[c[i>>2]&255](c[j>>2]|0)|0)){f=5;g=35;break}}if((g|0)==7){a[k>>0]=4;break}else if((g|0)==35){l=u;return f|0}}while(0);do if(!(a[d+7>>0]|0)){j=d+64|0;if(c[c[j>>2]>>2]|0?(a[d+5>>0]|0)!=4:0){i=c[d+60>>2]|0;i=jb[c[(c[i>>2]|0)+48>>2]&255](i)|0;k=(i&512|0)==0;c:do if(k){g=q;c[g>>2]=-117058087;c[g+4>>2]=-681336544;g=c[d+44>>2]|0;a[q+8>>0]=g>>>24;a[q+9>>0]=g>>>16;a[q+10>>0]=g>>>8;a[q+11>>0]=g;g=d+72|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((f|0)==0&(g|0)==0){g=0;h=0}else{h=Ft(f|0,g|0,-1,-1)|0;g=c[d+148>>2]|0;h=Jt(h|0,z|0,g|0,0)|0;h=Ft(h|0,z|0,1,0)|0;g=Lt(h|0,z|0,g|0,0)|0;h=z}f=c[j>>2]|0;f=nb[c[(c[f>>2]|0)+8>>2]&255](f,m,8,g,h)|0;if(!f)if(!(Bs(m,21250,8)|0)){f=c[j>>2]|0;f=nb[c[(c[f>>2]|0)+12>>2]&255](f,47357,1,g,h)|0;g=19}else g=20;else g=19;if((g|0)==19)switch(f|0){case 0:case 522:{g=20;break}default:{}}do if((g|0)==20){g=i&1024;if(((g|0)==0&(a[d+8>>0]|0)!=0?(n=c[j>>2]|0,o=a[d+10>>0]|0,o<<24>>24):0)?(p=kb[c[(c[n>>2]|0)+20>>2]&255](n,o&255)|0,p|0):0){f=p;break}p=c[j>>2]|0;f=d+80|0;f=nb[c[(c[p>>2]|0)+12>>2]&255](p,q,12,c[f>>2]|0,c[f+4>>2]|0)|0;if(!f){f=g;break c}}while(0);d=f;l=u;return d|0}else f=i&1024;while(0);if(((f|0)==0?(r=c[j>>2]|0,s=a[d+10>>0]|0,s=(s<<24>>24==3?16:0)|s&255,s|0):0)?(t=kb[c[(c[r>>2]|0)+20>>2]&255](r,s)|0,t|0):0){d=t;l=u;return d|0}r=d+72|0;s=c[r+4>>2]|0;t=d+80|0;c[t>>2]=c[r>>2];c[t+4>>2]=s;if((e|0)==0|k^1)break;c[d+44>>2]=0;f=Pg(d)|0;if(!f)break;l=u;return f|0}r=d+72|0;s=c[r+4>>2]|0;t=d+80|0;c[t>>2]=c[r>>2];c[t+4>>2]=s}while(0);g=c[d+208>>2]|0;f=c[g>>2]|0;if(f|0)do{t=f+28|0;b[t>>1]=b[t>>1]&-9;f=c[f+32>>2]|0}while((f|0)!=0);c[g+8>>2]=c[g+4>>2];a[d+16>>0]=4;d=0;l=u;return d|0}function jh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;t=l;l=l+16|0;k=t;s=e+60|0;h=c[s>>2]|0;if((c[h>>2]|0)==0?(g=c[e>>2]|0,g=nb[c[g+24>>2]&255](g,0,h,c[e+144>>2]&556897|30,0)|0,g|0):0){s=g;l=t;return s|0}g=e+36|0;h=c[g>>2]|0;i=e+24|0;j=c[i>>2]|0;do if(h>>>0>>0){if((c[f+16>>2]|0)==0?(c[f+24>>2]|0)>>>0<=h>>>0:0)break;q=c[e+152>>2]|0;q=Lt(j|0,0,q|0,((q|0)<0)<<31>>31|0)|0;r=k;c[r>>2]=q;c[r+4>>2]=z;r=c[s>>2]|0;lb[c[(c[r>>2]|0)+40>>2]&255](r,5,k)|0;c[g>>2]=c[i>>2]}while(0);if(!f){s=0;l=t;return s|0}n=e+24|0;o=e+152|0;p=e+104|0;q=e+32|0;r=e+192|0;m=e+88|0;do{e=c[f+24>>2]|0;if(e>>>0<=(c[n>>2]|0)>>>0?(b[f+28>>1]&16)==0:0){g=c[o>>2]|0;h=Lt(g|0,((g|0)<0)<<31>>31|0,e+-1|0,0)|0;j=(e|0)==1;if(j){i=c[f+20>>2]|0;i=((d[i+105>>0]|0)<<16|(d[i+104>>0]|0)<<24|(d[i+106>>0]|0)<<8|(d[i+107>>0]|0))+1|0;k=f+4|0;g=c[k>>2]|0;w=i>>>24&255;a[g+24>>0]=w;v=i>>>16&255;a[g+25>>0]=v;u=i>>>8&255;a[g+26>>0]=u;i=i&255;a[g+27>>0]=i;g=c[k>>2]|0;a[g+92>>0]=w;a[g+93>>0]=v;a[g+94>>0]=u;a[g+95>>0]=i;g=c[k>>2]|0;a[g+96>>0]=0;a[g+97>>0]=46;a[g+98>>0]=28;a[g+99>>0]=-80;g=c[o>>2]|0}else k=f+4|0;i=c[k>>2]|0;w=c[s>>2]|0;g=nb[c[(c[w>>2]|0)+12>>2]&255](w,i,g,h,z)|0;if(j){j=p;h=i+24|0;i=j+16|0;do{a[j>>0]=a[h>>0]|0;j=j+1|0;h=h+1|0}while((j|0)<(i|0))}if(e>>>0>(c[q>>2]|0)>>>0)c[q>>2]=e;c[r>>2]=(c[r>>2]|0)+1;h=c[m>>2]|0;if(h)Jg(h,e,c[k>>2]|0)}else g=0;f=c[f+16>>2]|0}while((g|0)==0&(f|0)!=0);l=t;return g|0}function kh(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0;C=l;l=l+64|0;u=C;k=C+24|0;j=C+16|0;v=C+12|0;w=C+8|0;do if((h|0)>5)if((h|0)>100){d=15;l=C;return d|0}else{A=h+-9|0;A=O(A*39|0,A)|0;y=c[d>>2]|0;kb[c[y+60>>2]&255](y,(h|0)>9?A:1)|0;break}while(0);a:do if(!g){A=d+50|0;if(!(a[A>>0]|0)){g=Xg(d,f)|0;b:do if((g|0)==5){if(!(c[c[d+32>>2]>>2]|0)){d=-1;l=C;return d|0}h=d+43|0;if(a[h>>0]|0){d=-1;l=C;return d|0}i=d+4|0;g=c[i>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,2,1,6)|0;switch(g|0){case 0:break;case 5:{d=261;l=C;return d|0}default:break b}if(a[h>>0]|0){d=-1;l=C;return d|0}d=c[i>>2]|0;mb[c[(c[d>>2]|0)+56>>2]&255](d,2,1,5)|0;d=-1;l=C;return d|0}while(0);if(g|0){d=g;l=C;return d|0}if(!(a[A>>0]|0)){j=d+32|0;n=(c[c[j>>2]>>2]|0)+96|0;m=d+52|0;h=d+68|0;if((c[n>>2]|0)!=(c[h>>2]|0)){g=0;break}k=d+43|0;g=a[k>>0]|0;if(!(g<<24>>24)){i=c[d+4>>2]|0;i=mb[c[(c[i>>2]|0)+56>>2]&255](i,3,1,6)|0;g=a[k>>0]|0}else i=0;if(g<<24>>24!=2){f=c[d+4>>2]|0;pb[c[(c[f>>2]|0)+60>>2]&255](f)}switch(i|0){case 5:{g=5;break a}case 0:break;default:{d=i;l=C;return d|0}}if(!(Bs(c[c[j>>2]>>2]|0,m,48)|0)){b[d+40>>1]=0;d=0;l=C;return d|0}if(a[k>>0]|0){d=-1;l=C;return d|0}d=c[d+4>>2]|0;mb[c[(c[d>>2]|0)+56>>2]&255](d,3,1,5)|0;d=-1;l=C;return d|0}}x=d+43|0;y=d+4|0;if(!(a[x>>0]|0)){g=c[y>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,3,1,6)|0;switch(g|0){case 0:{B=17;break}case 5:{g=-1;B=46;break}default:B=45}}else B=17;c:do if((B|0)==17){b[d+40>>1]=0;g=c[y>>2]|0;g=nb[c[(c[g>>2]|0)+52>>2]&255](g,0,32768,0,j)|0;switch(g|0){case 8:{g=-1;B=46;break c}case 1288:break;default:{B=45;break c}}g=d+52|0;h=c[c[d+32>>2]>>2]|0;i=g+48|0;do{a[g>>0]=a[h>>0]|0;g=g+1|0;h=h+1|0}while((g|0)<(i|0));t=d+8|0;g=c[t>>2]|0;g=kb[c[(c[g>>2]|0)+24>>2]&255](g,u)|0;if(!g){s=u;r=c[s+4>>2]|0;if((r|0)<0|(r|0)==0&(c[s>>2]|0)>>>0<32){c[f>>2]=1;g=((c[d+68>>2]|0)!=0)<<31>>31;B=45;break}g=c[t>>2]|0;g=nb[c[(c[g>>2]|0)+8>>2]&255](g,k,32,0,0)|0;if(!g)if(!(Bs(d+84|0,k+16|0,8)|0)){j=d+66|0;s=(e[j>>1]|0)+24|0;if(!(Nc()|0)){if(!(c[2]|0)){g=jb[c[52>>2]&255](s)|0;if(!g){g=7;B=46;break}else h=g}else{g=jb[c[68>>2]&255](s)|0;if((c[11829]|0)>>>0>>0)c[11829]=s;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){q=c[11822]|0;r=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;p=z;c[11616]=(0>(p|0)|0==(p|0)&q>>>0>=r>>>0)&1}h=jb[c[52>>2]&255](g)|0;if(!h){g=7;B=46;break}g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}n=h+24|0;o=d+76|0;p=c[o>>2]|0;q=d+80|0;r=c[q>>2]|0;k=Lt((e[j>>1]|0)+24|0,0,c[d+68>>2]|0,0)|0;k=Ft(k|0,z|0,32,0)|0;g=0;m=z;do{i=k;k=Ft(k|0,m|0,s|0,0)|0;j=m;m=z;D=u;E=c[D+4>>2]|0;if((m|0)>(E|0)|((m|0)==(E|0)?k>>>0>(c[D>>2]|0)>>>0:0))break;g=c[t>>2]|0;g=nb[c[(c[g>>2]|0)+8>>2]&255](g,h,s,i,j)|0;if(g|0){B=39;break}if(!(Zg(d,v,w,n,h)|0)){g=0;B=39;break}E=(c[w>>2]|0)==0;g=(E^1)<<31>>31}while(E);c[o>>2]=p;c[q>>2]=r;if(h)if(!(c[2]|0)){pb[c[56>>2]&255](h);B=45;break}else{B=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);B=45;break}else B=45}else{g=7;B=46}}else{g=-1;B=46}else B=46}else B=46}while(0);if((B|0)==45)if(!g)g=0;else B=46;if((B|0)==46){i=d+24|0;if((c[i>>2]|0)>0){j=d+32|0;h=0;do{k=c[(c[j>>2]|0)+(h<<2)>>2]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{E=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);c[(c[j>>2]|0)+(h<<2)>>2]=0;h=h+1|0}while((h|0)<(c[i>>2]|0))}a[A>>0]=0;h=d+44|0;if(a[h>>0]|0){if(!(a[x>>0]|0)){E=c[y>>2]|0;mb[c[(c[E>>2]|0)+56>>2]&255](E,0,1,9)|0}a[h>>0]=0;c[d+104>>2]=0;a[d+47>>0]=0}h=d+40|0;i=b[h>>1]|0;if(i<<16>>16>-1){if(!(a[x>>0]|0)){E=c[y>>2]|0;mb[c[(c[E>>2]|0)+56>>2]&255](E,(i<<16>>16)+3|0,1,5)|0}b[h>>1]=-1}c[f>>2]=1}E=g;l=C;return E|0}else{g=0;m=d+52|0;h=d+68|0;n=(c[c[d+32>>2]>>2]|0)+96|0}while(0);p=c[h>>2]|0;E=c[n+8>>2]|0;k=E>>>0>p>>>0;E=k?0:E;j=c[n+12>>2]|0;f=E>>>0>j>>>0|j>>>0>p>>>0;j=f?E:j;E=c[n+16>>2]|0;A=j>>>0>E>>>0|E>>>0>p>>>0;E=A?j:E;j=c[n+20>>2]|0;D=E>>>0>j>>>0|j>>>0>p>>>0;k=D?(A?(f?(k^1)&1:2):3):4;j=D?E:j;d:do if((a[d+46>>0]&2)==0?(k|0)==0|j>>>0

    >>0:0){i=d+43|0;o=d+4|0;e:do if(!(a[i>>0]|0)){g=c[o>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,4,1,10)|0;switch(g|0){case 0:{g=1;h=4;break e}case 5:break;default:{E=g;l=C;return E|0}}if(!(a[i>>0]|0)){g=c[o>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,5,1,10)|0;switch(g|0){case 0:{g=2;h=5;break e}case 5:break;default:{E=g;l=C;return E|0}}if(!(a[i>>0]|0)){g=c[o>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,6,1,10)|0;switch(g|0){case 0:{g=3;h=6;break e}case 5:break;default:{E=g;l=C;return E|0}}if(!(a[i>>0]|0)){g=c[o>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,7,1,10)|0;switch(g|0){case 5:{g=5;B=80;break d}case 0:{g=4;h=7;break e}default:{}}l=C;return g|0}else{g=4;h=7}}else{g=3;h=6}}else{g=2;h=5}}else{g=1;h=4}while(0);c[n+4+(g<<2)>>2]=p;if(!(a[i>>0]|0)){k=c[o>>2]|0;mb[c[(c[k>>2]|0)+56>>2]&255](k,h,1,9)|0;k=g;j=p}else{k=g;j=p}}else B=80;while(0);do if((B|0)==80){if(k|0){i=d+43|0;break}E=(g|0)==5?-1:1288;l=C;return E|0}while(0);h=k+3|0;g=a[i>>0]|0;do if(!(g<<24>>24)){g=c[d+4>>2]|0;g=mb[c[(c[g>>2]|0)+56>>2]&255](g,h,1,6)|0;if(!g){g=a[i>>0]|0;break}E=(g|0)==5?-1:g;l=C;return E|0}while(0);c[d+100>>2]=(c[n>>2]|0)+1;if(g<<24>>24!=2){E=c[d+4>>2]|0;pb[c[(c[E>>2]|0)+60>>2]&255](E)}if((c[n+4+(k<<2)>>2]|0)==(j|0)?(Bs(c[c[d+32>>2]>>2]|0,m,48)|0)==0:0){b[d+40>>1]=k;E=0;l=C;return E|0}if(a[i>>0]|0){E=-1;l=C;return E|0}E=c[d+4>>2]|0;mb[c[(c[E>>2]|0)+56>>2]&255](E,h,1,5)|0;E=-1;l=C;return E|0}function lh(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0;j=b+76|0;a[h>>0]=e>>>24;a[h+1>>0]=e>>>16;a[h+2>>0]=e>>>8;a[h+3>>0]=e;a[h+4>>0]=f>>>24;a[h+5>>0]=f>>>16;a[h+6>>0]=f>>>8;a[h+7>>0]=f;e=h+8|0;if(c[b+104>>2]|0){f=e+16|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));return}i=b+84|0;k=i;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;i=i+4|0;i=d[i>>0]|d[i+1>>0]<<8|d[i+2>>0]<<16|d[i+3>>0]<<24;f=e;a[f>>0]=k;a[f+1>>0]=k>>8;a[f+2>>0]=k>>16;a[f+3>>0]=k>>24;e=e+4|0;a[e>>0]=i;a[e+1>>0]=i>>8;a[e+2>>0]=i>>16;a[e+3>>0]=i>>24;e=c[j>>2]|0;i=b+80|0;f=c[i>>2]|0;if(!(a[b+65>>0]|0)){k=e+f+(c[h>>2]|0)|0;e=(c[h+4>>2]|0)+f+k|0;c[j>>2]=k;c[i>>2]=e;b=g+(c[b+36>>2]|0)|0;f=k;do{f=f+e+(c[g>>2]|0)|0;e=(c[g+4>>2]|0)+e+f|0;g=g+8|0}while(g>>>0>>0)}else{k=e+f+(St(c[h>>2]|0)|0)|0;e=(St(c[h+4>>2]|0)|0)+f+k|0;c[j>>2]=k;c[i>>2]=e;b=g+(c[b+36>>2]|0)|0;f=k;do{f=f+e+(St(c[g>>2]|0)|0)|0;e=(St(c[g+4>>2]|0)|0)+e+f|0;g=g+8|0}while(g>>>0>>0)}c[j>>2]=f;c[i>>2]=e;a[h+16>>0]=f>>>24;a[h+17>>0]=f>>>16;a[h+18>>0]=f>>>8;a[h+19>>0]=f;k=c[i>>2]|0;a[h+20>>0]=k>>>24;a[h+21>>0]=k>>>16;a[h+22>>0]=k>>>8;a[h+23>>0]=k;return}function mh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;J=l;l=l+16|0;y=J;H=e+24|0;j=c[H>>2]|0;i=c[j+4>>2]|0;c[i+4>>2]=c[j>>2];I=e+28|0;h=c[I>>2]|0;if(h>>>0>=7){I=h;l=J;return I|0}if(30>>>(h&127)&1){I=h;l=J;return I|0}x=c[i>>2]|0;B=e+4|0;A=c[c[(c[B>>2]|0)+4>>2]>>2]|0;if((c[e>>2]|0)!=0?(a[i+20>>0]|0)==2:0){G=0;h=5}else if(!(a[j+8>>0]|0)){G=1;h=nh(j,0)|0}else{G=0;h=0}n=e+12|0;if((c[n>>2]|h|0)==0?(w=c[B>>2]|0,o=c[(c[(c[H>>2]|0)+4>>2]|0)+32>>2]|0,q=c[w+4>>2]|0,c[q+4>>2]=c[w>>2],(b[q+22>>1]&2)==0):0){j=q+32|0;k=q+36|0;m=(c[j>>2]|0)-(c[k>>2]|0)|0;if(((o+-512|0)>>>0<65025?(o+-1&o|0)==0:0)?(c[j>>2]=o,r=q+80|0,p=c[r>>2]|0,p|0):0){i=p+-4|0;c[r>>2]=i;w=i;do if(!(w>>>0>=(c[11662]|0)>>>0&w>>>0<(c[11663]|0)>>>0)){w=jb[c[64>>2]&255](i)|0;c[11824]=(c[11824]|0)-w;if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{w=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}else{c[11823]=(c[11823]|0)+-1;c[i>>2]=c[11665];c[11665]=i;w=(c[11666]|0)+1|0;c[11666]=w;c[11667]=(w|0)<(c[11661]|0)&1}while(0);c[r>>2]=0}w=gg(c[q>>2]|0,j,m)|0;c[k>>2]=(c[j>>2]|0)-(m&65535);if((w|0)==7)h=7;else F=19}else F=19;if((F|0)==19)if(!h)if(!(c[n>>2]|0)){h=nh(c[B>>2]|0,2)|0;if(!h){c[n>>2]=1;w=c[B>>2]|0;h=c[w+4>>2]|0;c[h+4>>2]=c[w>>2];h=c[(c[h+12>>2]|0)+56>>2]|0;c[e+8>>2]=d[h+41>>0]<<16|d[h+40>>0]<<24|d[h+42>>0]<<8|d[h+43>>0];h=0}}else h=0;n=c[(c[H>>2]|0)+4>>2]|0;w=c[n+32>>2]|0;u=c[(c[B>>2]|0)+4>>2]|0;v=c[u+32>>2]|0;u=(a[(c[u>>2]|0)+5>>0]|0)==5;h=(w|0)==(v|0)|(h|0)==0&u^1?h:8;n=c[n+44>>2]|0;a:do if(f){k=e+16|0;m=x+200|0;i=c[k>>2]|0;if((f|0)<0){if(!((h|0)==0&i>>>0<=n>>>0))break;do{if((i|0)==((1073741824/((c[(c[(c[H>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0))h=0;else{h=mb[c[m>>2]&255](x,i,y,2)|0;do if(!h){h=Lg(e,i,c[(c[y>>2]|0)+4>>2]|0,0)|0;i=c[y>>2]|0;if(i)if(!(b[i+28>>1]&32)){Kg(i);break}else{t=c[i+20>>2]|0;f=t+120|0;c[f>>2]=(c[f>>2]|0)+-1;t=t+136|0;c[i+16>>2]=c[t>>2];c[t>>2]=i;break}}while(0);i=c[k>>2]|0}i=i+1|0;c[k>>2]=i}while((h|0)==0&i>>>0<=n>>>0)}else{j=0;do{if(!((h|0)==0&i>>>0<=n>>>0))break a;if((i|0)==((1073741824/((c[(c[(c[H>>2]|0)+4>>2]|0)+32>>2]|0)>>>0)|0)+1|0))h=0;else{h=mb[c[m>>2]&255](x,i,y,2)|0;do if(!h){h=Lg(e,i,c[(c[y>>2]|0)+4>>2]|0,0)|0;i=c[y>>2]|0;if(i)if(!(b[i+28>>1]&32)){Kg(i);break}else{t=c[i+20>>2]|0;r=t+120|0;c[r>>2]=(c[r>>2]|0)+-1;t=t+136|0;c[i+16>>2]=c[t>>2];c[t>>2]=i;break}}while(0);i=c[k>>2]|0}i=i+1|0;c[k>>2]=i;j=j+1|0}while((j|0)<(f|0))}}while(0);switch(h|0){case 0:{c[e+36>>2]=n;t=c[e+16>>2]|0;c[e+32>>2]=n+1-t;if(t>>>0<=n>>>0){g=e+40|0;if(!(c[g>>2]|0)){E=(c[c[(c[H>>2]|0)+4>>2]>>2]|0)+88|0;c[e+44>>2]=c[E>>2];c[E>>2]=e;c[g>>2]=1;g=0}else g=0}else F=47;break}case 101:{F=47;break}default:g=h}b:do if((F|0)==47){if(!n){t=c[B>>2]|0;h=c[t+4>>2]|0;c[h+4>>2]=c[t>>2];c[h+44>>2]=0;h=oh(h)|0;switch(h|0){case 0:case 101:{t=1;break}default:{g=h;break b}}}else t=n;j=c[B>>2]|0;i=(c[e+8>>2]|0)+1|0;k=c[j+4>>2]|0;c[k+4>>2]=c[j>>2];k=c[k+12>>2]|0;j=c[k+56>>2]|0;k=c[k+72>>2]|0;m=c[k+20>>2]|0;if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0){if(c[m+96>>2]|0){s=Mg(k)|0;F=57}}else F=53;do if((F|0)==53){h=c[m+40>>2]|0;if(h|0){g=h;break b}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){s=Ng(k)|0;F=57;break}else{s=Og(k)|0;F=57;break}}while(0);if((F|0)==57?s|0:0){g=s;break}a[j+40>>0]=i>>>24;a[j+41>>0]=i>>>16;a[j+42>>0]=i>>>8;a[j+43>>0]=i;s=c[e>>2]|0;do if(s|0){f=s+20|0;h=c[f>>2]|0;c:do if((h|0)>0){m=s+16|0;k=c[m>>2]|0;i=0;do{j=c[k+(i<<4)+4>>2]|0;if(j|0)c[(c[j+4>>2]|0)+4>>2]=c[j>>2];i=i+1|0}while((i|0)!=(h|0));i=0;while(1){j=c[k+(i<<4)+12>>2]|0;if(j){ph(j);h=c[f>>2]|0}i=i+1|0;if((i|0)>=(h|0))break c;k=c[m>>2]|0}}while(0);e=s+24|0;c[e>>2]=c[e>>2]&-2;e=s+352|0;i=c[e>>2]|0;c[e>>2]=0;if(i){h=c[s+4>>2]|0;if(h)do{e=h+145|0;r=d[e>>0]|d[e+1>>0]<<8|1;a[e>>0]=r;a[e+1>>0]=r>>8;h=c[h+8>>2]|0}while((h|0)!=0);do{j=i;i=c[i+24>>2]|0;k=c[j>>2]|0;r=j+12|0;e=(c[r>>2]|0)+-1|0;c[r>>2]=e;d:do if(!e){h=c[j+8>>2]|0;if(h|0)jb[c[(c[h>>2]|0)+16>>2]&255](h)|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,j);break d}h=j;if(h>>>0<(c[k+296>>2]|0)>>>0)break;if(h>>>0>=(c[k+300>>2]|0)>>>0)break;e=k+292|0;c[j>>2]=c[e>>2];c[e>>2]=j;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{e=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0)}while((i|0)!=0);h=c[f>>2]|0}if((h|0)>2){h=s+16|0;o=s+464|0;p=s+296|0;q=s+300|0;r=s+292|0;n=2;i=2;do{j=c[h>>2]|0;m=j+(n<<4)|0;if(!(c[j+(n<<4)+4>>2]|0)){j=c[m>>2]|0;e:do if(j|0){if(c[o>>2]|0){Lc(s,j);break}k=j;do if(k>>>0>=(c[p>>2]|0)>>>0){if(k>>>0>=(c[q>>2]|0)>>>0)break;c[j>>2]=c[r>>2];c[r>>2]=j;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{e=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[m>>2]=0}else{if((i|0)<(n|0)){e=j+(i<<4)|0;c[e>>2]=c[m>>2];c[e+4>>2]=c[m+4>>2];c[e+8>>2]=c[m+8>>2];c[e+12>>2]=c[m+12>>2]}i=i+1|0}n=n+1|0}while((n|0)<(c[f>>2]|0));c[f>>2]=i;if((i|0)>=3)break}else{c[f>>2]=2;h=s+16|0}i=c[h>>2]|0;j=s+400|0;if((i|0)!=(j|0)){c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[j+16>>2]=c[i+16>>2];c[j+20>>2]=c[i+20>>2];c[j+24>>2]=c[i+24>>2];c[j+28>>2]=c[i+28>>2];do if(i|0){if(c[s+464>>2]|0){Lc(s,i);break}e=i;if(e>>>0>=(c[s+296>>2]|0)>>>0?e>>>0<(c[s+300>>2]|0)>>>0:0){e=s+292|0;c[i>>2]=c[e>>2];c[e>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{e=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[h>>2]=j}}while(0);f:do if(u){j=c[B>>2]|0;h=c[j+4>>2]|0;n=h+22|0;b[n>>1]=b[n>>1]&-33;i=nh(j,0)|0;g:do if(!i){i=h+12|0;k=c[(c[i>>2]|0)+56>>2]|0;m=k+18|0;if(!((a[m>>0]|0)==2?(a[k+19>>0]|0)==2:0)){h=nh(j,2)|0;if(h|0){g=h;break}h=c[(c[i>>2]|0)+72>>2]|0;i=c[h+20>>2]|0;if((b[h+28>>1]&4)!=0?(c[i+24>>2]|0)>>>0>=(c[h+24>>2]|0)>>>0:0){if(c[i+96>>2]|0){g=Mg(h)|0;F=128}}else F=124;do if((F|0)==124){g=c[i+40>>2]|0;if(g|0)break g;if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){g=Ng(h)|0;F=128;break}else{g=Og(h)|0;F=128;break}}while(0);if((F|0)==128?g|0:0)break;a[m>>0]=2;a[k+19>>0]=2}b[n>>1]=b[n>>1]&-33;break f}else g=i;while(0);b[n>>1]=b[n>>1]&-33;break b}while(0);if((w|0)<(v|0)){g=(v|0)/(w|0)|0;g=(t+-1+g|0)/(g|0)|0;h=c[(c[(c[B>>2]|0)+4>>2]|0)+32>>2]|0;g=(((g|0)==((1073741824/(h>>>0)|0)+1|0))<<31>>31)+g|0;o=((w|0)<0)<<31>>31;q=Lt(t|0,((t|0)<0)<<31>>31|0,w|0,o|0)|0;r=z;f=A+60|0;p=c[f>>2]|0;k=c[A+24>>2]|0;if(g>>>0<=k>>>0){m=A+200|0;j=g;g=0;i=1073741824;while(1){if((j|0)!=(((i>>>0)/(h>>>0)|0)+1|0)){g=mb[c[m>>2]&255](A,j,y,0)|0;do if(!g){h=c[y>>2]|0;i=c[h+20>>2]|0;do if(!(b[h+28>>1]&4))F=141;else{if((c[i+24>>2]|0)>>>0<(c[h+24>>2]|0)>>>0){F=141;break}if(!(c[i+96>>2]|0)){g=0;break}g=Mg(h)|0}while(0);do if((F|0)==141){F=0;g=c[i+40>>2]|0;if(g|0)break;if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){g=Ng(h)|0;break}else{g=Og(h)|0;break}}while(0);h=c[y>>2]|0;if(!h)break;if(!(b[h+28>>1]&32)){Kg(h);break}else{u=c[h+20>>2]|0;t=u+120|0;c[t>>2]=(c[t>>2]|0)+-1;u=u+136|0;c[h+16>>2]=c[u>>2];c[u>>2]=h;break}}while(0)}h=j+1|0;i=(g|0)==0;if(h>>>0>k>>>0|i^1)break;j=h;h=c[(c[(c[B>>2]|0)+4>>2]|0)+32>>2]|0;i=1073741824}if(i)F=153}else F=153;if((F|0)==153)g=qh(A,0,1)|0;m=1073741824+v|0;n=((m|0)<0)<<31>>31;i=(n|0)<(r|0)|(n|0)==(r|0)&m>>>0>>0;m=i?m:q;n=i?n:r;i=1073741824+w|0;j=((i|0)<0)<<31>>31;h=(g|0)==0;if(((j|0)<(n|0)|(j|0)==(n|0)&i>>>0>>0)&h){k=x+200|0;do{c[y>>2]=0;g=Jt(i|0,j|0,w|0,o|0)|0;g=Ft(g|0,z|0,1,0)|0;g=mb[c[k>>2]&255](x,g,y,0)|0;if(!g)g=nb[c[(c[p>>2]|0)+12>>2]&255](p,c[(c[y>>2]|0)+4>>2]|0,w,i,j)|0;h=c[y>>2]|0;do if(h|0)if(!(b[h+28>>1]&32)){Kg(h);break}else{v=c[h+20>>2]|0;u=v+120|0;c[u>>2]=(c[u>>2]|0)+-1;v=v+136|0;c[h+16>>2]=c[v>>2];c[v>>2]=h;break}while(0);i=Ft(i|0,j|0,w|0,o|0)|0;j=z;h=(g|0)==0}while(((j|0)<(n|0)|(j|0)==(n|0)&i>>>0>>0)&h)}if(!h)break;g=kb[c[(c[p>>2]|0)+24>>2]&255](p,y)|0;x=c[y+4>>2]|0;if((g|0)==0&((x|0)>(r|0)|((x|0)==(r|0)?(c[y>>2]|0)>>>0>q>>>0:0)))g=lb[c[(c[p>>2]|0)+16>>2]&255](p,q,r)|0;if(g|0)break;g=c[f>>2]|0;h=c[g>>2]|0;if(h|0){g=lb[c[h+40>>2]&255](g,21,0)|0;switch(g|0){case 0:case 12:break;default:break b}}if((a[A+7>>0]|0)==0?(D=c[f>>2]|0,E=a[A+10>>0]|0,E<<24>>24):0){C=kb[c[(c[D>>2]|0)+20>>2]&255](D,E&255)|0;F=173}}else{c[A+24>>2]=O((w|0)/(v|0)|0,t)|0;C=qh(A,0,0)|0;F=173}if((F|0)==173?C|0:0){g=C;break}g=rh(c[B>>2]|0,0)|0;g=(g|0)==0?101:g}while(0);if(G|0){sh(c[H>>2]|0,0)|0;rh(c[H>>2]|0,0)|0}H=(g|0)==3082?7:g;c[I>>2]=H;I=H;l=J;return I|0}function nh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=l;l=l+16|0;G=N;D=N+12|0;M=c[e+4>>2]|0;F=M+4|0;c[F>>2]=c[e>>2];J=e+8|0;g=a[J>>0]|0;if(g<<24>>24!=2?(H=(f|0)!=0,H|g<<24>>24!=1):0){I=M+22|0;j=b[I>>1]|0;if(H&(j&1)!=0){e=8;l=N;return e|0}if(H)if((a[M+20>>0]|0)!=2&(j&128)==0)L=8;else L=7;else if(!(j&128))L=8;else L=7;a:do if((L|0)==7){i=c[M+76>>2]|0;L=12}else if(((L|0)==8?(f|0)>1:0)?(h=c[M+72>>2]|0,h|0):0)do{g=c[h>>2]|0;if((g|0)!=(e|0)){i=g;L=12;break a}h=c[h+12>>2]|0}while((h|0)!=0);while(0);if((L|0)==12?c[i>>2]|0:0){e=262;l=N;return e|0}C=e+9|0;b:do if(a[C>>0]|0){if(!((j&64)==0?1:(c[M+76>>2]|0)==(e|0))){e=262;l=N;return e|0}g=c[M+72>>2]|0;if(g|0){while(1){if(((c[g>>2]|0)!=(e|0)?(c[g+4>>2]|0)==1:0)?(a[g+8>>0]|0)!=1:0){g=262;break}g=c[g+12>>2]|0;if(!g)break b}l=N;return g|0}}while(0);b[I>>1]=j&-17;K=M+44|0;if(!(c[K>>2]|0))b[I>>1]=j|16;z=M+12|0;A=M+20|0;B=(f|0)>1;p=M+32|0;q=M+36|0;r=M+17|0;s=M+18|0;t=M+80|0;u=M+24|0;v=M+26|0;w=M+28|0;x=M+30|0;y=M+21|0;g=0;c:while(1){d:do if(!(c[z>>2]|0)){e:while(1){g=Gh(c[M>>2]|0)|0;if(g|0){h=g;L=123;break d}g=c[M>>2]|0;g=mb[c[g+200>>2]&255](g,1,D,0)|0;if(g|0){L=29;break}g=c[D>>2]|0;o=c[g+8>>2]|0;h=o+4|0;if((c[h>>2]|0)==1)m=c[o+56>>2]|0;else{m=c[g+4>>2]|0;c[o+56>>2]=m;c[o+72>>2]=g;c[o+52>>2]=M;c[h>>2]=1;a[o+9>>0]=100}n=o;g=d[m+29>>0]<<16|d[m+28>>0]<<24|d[m+30>>0]<<8|d[m+31>>0];i=c[M>>2]|0;j=c[i+24>>2]|0;if((g|0)!=0?(Bs(m+24|0,m+92|0,4)|0)==0:0)h=g;else h=j;f:do if((h|0)>0){if(Bs(m,21346,16)|0){h=26;break e}if((d[m+18>>0]|0)>2)b[I>>1]=b[I>>1]|1;g=a[m+19>>0]|0;if((g&255)>2){h=26;break e}do if(g<<24>>24==2){if(b[I>>1]&32)break;if(a[i+12>>0]|0)break;if(c[i+212>>2]|0)break;g=c[c[i+60>>2]>>2]|0;if(a[i+13>>0]|0){h=14;break e}if(!(a[i+4>>0]|0)){if((c[g>>2]|0)<=1){h=14;break e}if(!(c[g+52>>2]|0)){h=14;break e}}g=c[i+64>>2]|0;h=c[g>>2]|0;if(h|0){jb[c[h+4>>2]&255](g)|0;c[g>>2]=0}h=Hh(i)|0;if(h|0)break e;a[i+5>>0]=5;a[i+16>>0]=0;o=c[o+72>>2]|0;g=c[o+20>>2]|0;Kg(o);if(c[(c[g+208>>2]|0)+12>>2]|0)break f;g:do switch(a[g+16>>0]|0){case 0:case 6:break;case 1:{if(a[g+4>>0]|0)break g;ug(g,0,0)|0;break}default:tg(g)|0}while(0);sg(g);break f}while(0);if(Bs(m+21|0,21362,3)|0){h=26;break e}i=d[m+17>>0]<<16|d[m+16>>0]<<8;if((i+-257|0)>>>0>65279|(i+16777215&i|0)!=0){h=26;break e}k=d[m+20>>0]|0;g=i-k|0;if((i|0)==(c[p>>2]|0)){if((h|0)>(j|0)?(c[(c[F>>2]|0)+28>>2]&1|0)==0:0){L=73;break e}if(g>>>0<480){h=26;break e}c[p>>2]=i;c[q>>2]=g;a[r>>0]=(d[m+53>>0]<<16|d[m+52>>0]<<24|d[m+54>>0]<<8|d[m+55>>0]|0)!=0&1;a[s>>0]=(d[m+65>>0]<<16|d[m+64>>0]<<24|d[m+66>>0]<<8|d[m+67>>0]|0)!=0&1;L=76;break}o=c[o+72>>2]|0;h=c[o+20>>2]|0;Kg(o);if(!(c[(c[h+208>>2]|0)+12>>2]|0)){h:do switch(a[h+16>>0]|0){case 0:case 6:break;case 1:{if(a[h+4>>0]|0)break h;ug(h,0,0)|0;break}default:tg(h)|0}while(0);sg(h)}c[q>>2]=g;c[p>>2]=i;g=c[t>>2]|0;if(g|0){g=g+-4|0;c[t>>2]=g;o=g;do if(!(o>>>0>=(c[11662]|0)>>>0&o>>>0<(c[11663]|0)>>>0)){o=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-o;if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else{c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;o=(c[11666]|0)+1|0;c[11666]=o;c[11667]=(o|0)<(c[11661]|0)&1}while(0);c[t>>2]=0}g=gg(c[M>>2]|0,p,k)|0;if(g|0){h=g;L=123;break d}}else{g=c[q>>2]|0;L=76}while(0);if((L|0)==76){L=0;m=g+-12|0;o=((m<<6>>>0)/255|0)+65513&65535;b[u>>1]=o;m=((m<<5>>>0)/255|0)+65513&65535;b[v>>1]=m;b[w>>1]=g+65501;b[x>>1]=m;a[y>>0]=(o&65535)<127?o:127;c[z>>2]=n;c[K>>2]=h}if(c[z>>2]|0){g=0;L=86;break d}}if((L|0)==29){h=g;L=123;break}else if((L|0)==73){c[G>>2]=21258;c[G+4>>2]=63139;c[G+8>>2]=17052;Bc(11,17e3,G);h=11}L=c[o+72>>2]|0;g=c[L+20>>2]|0;Kg(L);if(!(c[(c[g+208>>2]|0)+12>>2]|0)){switch(a[g+16>>0]|0){case 0:case 6:break;case 1:{if(!(a[g+4>>0]|0))ug(g,0,0)|0;break}default:tg(g)|0}sg(g)}c[z>>2]=0;L=123}else L=86;while(0);i:do if((L|0)==86){L=0;j:do if(H&(g|0)==0){if(b[I>>1]&1){h=8;L=123;break i}o=c[M>>2]|0;h=c[o+40>>2]|0;if(h|0){L=123;break i}a[o+21>>0]=(a[(c[e>>2]|0)+72>>0]|0)==2&1;n=o+16|0;if((a[n>>0]|0)==1){j=o+212|0;h=c[j>>2]|0;k:do if(!h){m=o+17|0;g=a[m>>0]|0;l:do switch(g<<24>>24){case 0:case 1:case 5:{if(!(a[o+13>>0]|0)){h=c[o+60>>2]|0;h=kb[c[(c[h>>2]|0)+28>>2]&255](h,2)|0;if(h|0){L=123;break i}g=a[m>>0]|0}if(g<<24>>24==5){g=5;break l}a[m>>0]=2;g=2;break}default:{}}while(0);if(B){h=o+13|0;i=o+60|0;j=o+176|0;k=o+180|0;m:while(1){switch(g<<24>>24){case 0:case 1:case 2:case 3:case 5:break;default:break k}if(a[h>>0]|0)break;g=c[i>>2]|0;g=kb[c[(c[g>>2]|0)+28>>2]&255](g,4)|0;switch(g|0){case 0:break m;case 5:break;default:break j}if(!(jb[c[j>>2]&255](c[k>>2]|0)|0)){h=5;L=123;break i}g=a[m>>0]|0}a[m>>0]=4}}else{do if(!(a[o+4>>0]|0))g=h;else{g=h+43|0;if(a[g>>0]|0){g=h;break}i=o+17|0;n:do switch(a[i>>0]|0){case 0:case 1:case 2:case 3:case 5:{if(a[o+13>>0]|0){a[i>>0]=4;L=98;break n}h=c[o+60>>2]|0;h=kb[c[(c[h>>2]|0)+28>>2]&255](h,4)|0;if(h|0){L=123;break i}h=c[j>>2]|0;g=h+43|0;m=a[g>>0]|0;a[i>>0]=4;if(!(m<<24>>24))L=98;break}default:L=98}while(0);if((L|0)==98){L=0;m=c[h+4>>2]|0;mb[c[(c[m>>2]|0)+56>>2]&255](m,(b[h+40>>1]|0)+3|0,1,5)|0;h=c[j>>2]|0}a[g>>0]=1;g=h}while(0);if(a[g+46>>0]|0){h=8;L=123;break i}h=g+43|0;if((a[h>>0]|0)==0?(E=c[g+4>>2]|0,E=mb[c[(c[E>>2]|0)+56>>2]&255](E,0,1,10)|0,E|0):0){h=E;L=123;break i}i=g+44|0;a[i>>0]=1;if(!(Bs(g+52|0,c[c[g+32>>2]>>2]|0,48)|0))break;if(!(a[h>>0]|0)){L=c[g+4>>2]|0;mb[c[(c[L>>2]|0)+56>>2]&255](L,0,1,9)|0}a[i>>0]=0;h=517;L=123;break i}while(0);a[n>>0]=2;n=c[o+24>>2]|0;c[o+36>>2]=n;c[o+32>>2]=n;c[o+28>>2]=n;o=o+72|0;c[o>>2]=0;c[o+4>>2]=0}g=oh(M)|0}while(0);if(!g){g=0;break c}else m=0}while(0);if((L|0)==123){L=0;g=h;m=(h|0)==0}Eh(M);if((g&255|0)!=5){L=133;break}if(a[A>>0]|0){L=133;break}h=c[F>>2]|0;i=c[h+388>>2]|0;if(!i){L=131;break}j=h+396|0;k=c[j>>2]|0;if((k|0)<0){L=131;break}if(!(kb[i&255](c[h+392>>2]|0,k)|0)){L=130;break}c[j>>2]=(c[j>>2]|0)+1}if((L|0)==130){c[j>>2]=-1;if(!m){e=g;l=N;return e|0}}else if((L|0)==131){if(!m){e=g;l=N;return e|0}}else if((L|0)==133)if(!m){e=g;l=N;return e|0}if((a[J>>0]|0)==0?(G=M+40|0,c[G>>2]=(c[G>>2]|0)+1,a[C>>0]|0):0){a[e+40>>0]=1;G=M+72|0;c[e+44>>2]=c[G>>2];c[G>>2]=e+32}h=H?2:1;a[J>>0]=h;if((h&255)>(d[A>>0]|0))a[A>>0]=h;if(!H){e=g;l=N;return e|0}i=c[z>>2]|0;c[M+76>>2]=e;k=b[I>>1]|0;b[I>>1]=B?k|64:k&-65;k=c[K>>2]|0;m=i+56|0;h=c[m>>2]|0;if((k|0)!=(d[h+29>>0]<<16|d[h+28>>0]<<24|d[h+30>>0]<<8|d[h+31>>0]|0)){i=c[i+72>>2]|0;j=c[i+20>>2]|0;if((b[i+28>>1]&4)!=0?(c[j+24>>2]|0)>>>0>=(c[i+24>>2]|0)>>>0:0)if(!(c[j+96>>2]|0))g=k;else{g=Mg(i)|0;L=149}else L=145;do if((L|0)==145){g=c[j+40>>2]|0;if(g|0){e=g;l=N;return e|0}if((c[j+148>>2]|0)>>>0>(c[j+152>>2]|0)>>>0){g=Ng(i)|0;L=149;break}else{g=Og(i)|0;L=149;break}}while(0);do if((L|0)==149)if(!g){h=c[m>>2]|0;g=c[K>>2]|0;break}else{e=g;l=N;return e|0}while(0);a[h+28>>0]=g>>>24;a[h+29>>0]=g>>>16;a[h+30>>0]=g>>>8;a[h+31>>0]=g;g=0}}else g=0;if(!((f|0)!=0&(g|0)==0)){e=g;l=N;return e|0}h=c[M>>2]|0;g=c[(c[e>>2]|0)+440>>2]|0;if((c[h+96>>2]|0)>=(g|0)){e=0;l=N;return e|0}if(!(a[h+6>>0]|0)){e=0;l=N;return e|0}e=Ih(h,g)|0;l=N;return e|0}function oh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;i=d+44|0;if(c[i>>2]|0){k=0;return k|0}j=c[d+12>>2]|0;k=c[j+56>>2]|0;h=c[j+72>>2]|0;g=c[h+20>>2]|0;if((b[h+28>>1]&4)!=0?(c[g+24>>2]|0)>>>0>=(c[h+24>>2]|0)>>>0:0){if(c[g+96>>2]|0){e=Mg(h)|0;f=10}}else f=6;do if((f|0)==6){e=c[g+40>>2]|0;if(e|0){k=e;return k|0}if((c[g+148>>2]|0)>>>0>(c[g+152>>2]|0)>>>0){e=Ng(h)|0;f=10;break}else{e=Og(h)|0;f=10;break}}while(0);if((f|0)==10?e|0:0){k=e;return k|0}e=k;f=21346;g=e+16|0;do{a[e>>0]=a[f>>0]|0;e=e+1|0;f=f+1|0}while((e|0)<(g|0));e=d+32|0;a[k+16>>0]=(c[e>>2]|0)>>>8;a[k+17>>0]=(c[e>>2]|0)>>>16;a[k+18>>0]=1;a[k+19>>0]=1;a[k+20>>0]=(c[e>>2]|0)-(c[d+36>>2]|0);a[k+21>>0]=64;a[k+22>>0]=32;a[k+23>>0]=32;e=k+24|0;g=e+76|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(g|0));Fh(j,13);j=d+22|0;b[j>>1]=b[j>>1]|2;j=a[d+17>>0]|0;a[k+52>>0]=0;a[k+53>>0]=0;a[k+54>>0]=0;a[k+55>>0]=j;j=a[d+18>>0]|0;a[k+64>>0]=0;a[k+65>>0]=0;a[k+66>>0]=0;a[k+67>>0]=j;c[i>>2]=1;a[k+31>>0]=1;k=0;return k|0}function ph(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;q=a+8|0;d=c[a+16>>2]|0;r=c[a+20>>2]|0;g=a+40|0;e=c[a+48>>2]|0;o=c[a+52>>2]|0;c[g>>2]=0;c[g+4>>2]=0;c[g+8>>2]=0;c[g+12>>2]=0;g=a+24|0;h=a+32|0;f=c[h>>2]|0;c[h>>2]=0;h=a+36|0;i=c[h>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{n=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[h>>2]=0;c[g>>2]=0;if(f|0)do{g=f;f=c[f>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](g);else{n=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}}while((f|0)!=0);c[a+28>>2]=0;m=(e|0)==0;if(!m){l=e;do{n=c[l+8>>2]|0;do if(n|0){f=c[n+28>>2]|0;if(f|0)do{k=f;f=c[f+28>>2]|0;g=c[k+16>>2]|0;if(g|0)Qf(0,g);g=c[k+20>>2]|0;if(g|0)Rf(0,g);g=c[k+8>>2]|0;if(g|0)Sf(0,g,1);j=c[k+24>>2]|0;if(j){i=j+4|0;g=c[j>>2]|0;if((c[i>>2]|0)>0){h=0;do{g=c[g+(h<<3)>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);h=h+1|0;g=c[j>>2]|0}while((h|0)<(c[i>>2]|0))}do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](j);else{s=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}if(k|0)p=34}else p=34;do if((p|0)==34){p=0;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{s=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0)}while((f|0)!=0);f=c[n>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);f=c[n+4>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);f=c[n+12>>2]|0;if(f|0)Qf(0,f);i=c[n+16>>2]|0;do if(i|0){h=i+4|0;f=c[i>>2]|0;if((c[h>>2]|0)>0){g=0;do{f=c[f+(g<<3)>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);g=g+1|0;f=c[i>>2]|0}while((g|0)<(c[h>>2]|0))}do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{s=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{s=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);l=c[l>>2]|0}while((l|0)!=0)}do if(o|0)if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{s=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}while(0);if(!m)do{f=e;e=c[e>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}}while((e|0)!=0);c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;f=(d|0)==0;if(!f){e=d;do{g=c[e+8>>2]|0;if(g|0?(q=g+32|0,s=(c[q>>2]|0)+-1|0,c[q>>2]=s,(s|0)==0):0)Tf(0,g);e=c[e>>2]|0}while((e|0)!=0)}do if(r|0)if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{s=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}while(0);if(!f)do{e=d;d=c[d>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}}while((d|0)!=0);e=a+56|0;f=a+64|0;d=c[f>>2]|0;c[f>>2]=0;f=a+68|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;c[e>>2]=0;if(d|0)do{e=d;d=c[d>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}}while((d|0)!=0);c[a+60>>2]=0;c[a+72>>2]=0;d=a+78|0;e=b[d>>1]|0;if(!(e&1)){s=e&-10;b[d>>1]=s;return}s=a+4|0;c[s>>2]=(c[s>>2]|0)+1;s=e&-10;b[d>>1]=s;return}function qh(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+16|0;C=F+8|0;s=F;h=c[e+40>>2]|0;if(h|0){e=h;l=F;return e|0}h=c[67]|0;if(h|0?jb[h&255](400)|0:0){e=10;l=F;return e|0}E=e+16|0;if((d[E>>0]|0)<3){e=0;l=F;return e|0}do if(a[e+12>>0]|0){if(c[c[e+60>>2]>>2]|0){i=c[e+208>>2]|0;h=c[i+16>>2]|0;if((h|0)<=-1){o=Lt(h|0,((h|0)<0)<<31>>31|0,-1024,-1)|0;h=(c[i+28>>2]|0)+(c[i+24>>2]|0)|0;h=Jt(o|0,z|0,h|0,((h|0)<0)<<31>>31|0)|0}i=c[i>>2]|0;if(!i){i=0;j=0}else{j=0;do{j=j+1|0;i=c[i+32>>2]|0}while((i|0)!=0);i=Lt(j|0,((j|0)<0)<<31>>31|0,100,0)|0;j=z}if(h|0?(o=Jt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0,(o|0)>24):0){D=16;break}}h=c[e+88>>2]|0;if(h|0)do{c[h+16>>2]=1;h=c[h+44>>2]|0}while((h|0)!=0)}else D=16;while(0);do if((D|0)==16){if(!(c[e+212>>2]|0)){k=e+18|0;if((a[k>>0]|0)==0?c[e+24>>2]|0:0){h=mb[c[e+200>>2]&255](e,1,C,0)|0;a:do if(!h){j=c[C>>2]|0;i=c[j+20>>2]|0;if((b[j+28>>1]&4)!=0?(c[i+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[i+96>>2]|0))h=j;else{h=Mg(j)|0;D=47}else D=43;do if((D|0)==43){h=c[i+40>>2]|0;if(h|0)break a;if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){h=Ng(j)|0;D=47;break}else{h=Og(j)|0;D=47;break}}while(0);if((D|0)==47){if(h|0)break;h=c[C>>2]|0;i=c[h+20>>2]|0}p=(d[i+105>>0]<<16|d[i+104>>0]<<24|d[i+106>>0]<<8|d[i+107>>0])+1|0;h=h+4|0;q=c[h>>2]|0;m=p>>>24&255;a[q+24>>0]=m;n=p>>>16&255;a[q+25>>0]=n;o=p>>>8&255;a[q+26>>0]=o;p=p&255;a[q+27>>0]=p;q=c[h>>2]|0;a[q+92>>0]=m;a[q+93>>0]=n;a[q+94>>0]=o;a[q+95>>0]=p;h=c[h>>2]|0;a[h+96>>0]=0;a[h+97>>0]=46;a[h+98>>0]=28;a[h+99>>0]=-80;a[k>>0]=1;h=0}while(0);i=c[C>>2]|0;do if(i|0)if(!(b[i+28>>1]&32)){Kg(i);break}else{q=c[i+20>>2]|0;p=q+120|0;c[p>>2]=(c[p>>2]|0)+-1;q=q+136|0;c[i+16>>2]=c[q>>2];c[q>>2]=i;break}while(0);if(h|0){e=h;l=F;return e|0}}b:do if(((f|0)!=0?(a[e+5>>0]|0)!=4:0)?(t=e+64|0,r=c[t>>2]|0,(c[r>>2]|0)!=0):0){a[e+19>>0]=1;h=a[f>>0]|0;if(!(h<<24>>24)){i=0;j=0}else{j=0;i=0;do{i=(h<<24>>24)+i|0;j=j+1|0;h=a[f+j>>0]|0}while(h<<24>>24!=0)}q=e+72|0;k=q;h=c[k>>2]|0;k=c[k+4>>2]|0;if(!(a[e+8>>0]|0))m=h;else{if((h|0)==0&(k|0)==0){h=0;k=0}else{k=Ft(h|0,k|0,-1,-1)|0;h=c[e+148>>2]|0;k=Jt(k|0,z|0,h|0,0)|0;k=Ft(k|0,z|0,1,0)|0;h=Lt(k|0,z|0,h|0,0)|0;k=z}m=q;c[m>>2]=h;c[m+4>>2]=k;m=h}h=(1073741824/(c[e+152>>2]|0)|0)+1|0;a[C>>0]=h>>>24;n=C+1|0;a[n>>0]=h>>>16;o=C+2|0;a[o>>0]=h>>>8;p=C+3|0;a[p>>0]=h;h=nb[c[(c[r>>2]|0)+12>>2]&255](r,C,4,m,k)|0;do if(!h){h=c[t>>2]|0;k=Ft(m|0,k|0,4,0)|0;m=z;h=nb[c[(c[h>>2]|0)+12>>2]&255](h,f,j,k,m)|0;if(!h){h=c[t>>2]|0;k=Ft(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;m=z;a[C>>0]=j>>>24;a[n>>0]=j>>>16;a[o>>0]=j>>>8;a[p>>0]=j;h=nb[c[(c[h>>2]|0)+12>>2]&255](h,C,4,k,m)|0;if(!h){r=c[t>>2]|0;h=Ft(k|0,m|0,4,0)|0;a[C>>0]=i>>>24;a[n>>0]=i>>>16;a[o>>0]=i>>>8;a[p>>0]=i;h=nb[c[(c[r>>2]|0)+12>>2]&255](r,C,4,h,z)|0;if(!h){r=c[t>>2]|0;h=Ft(k|0,m|0,8,0)|0;h=nb[c[(c[r>>2]|0)+12>>2]&255](r,21250,8,h,z)|0;if(!h){r=j+20|0;h=q;r=Ft(c[h>>2]|0,c[h+4>>2]|0,r|0,((r|0)<0)<<31>>31|0)|0;h=q;c[h>>2]=r;c[h+4>>2]=z;h=c[t>>2]|0;h=kb[c[(c[h>>2]|0)+24>>2]&255](h,s)|0;if(h|0)break;r=c[s+4>>2]|0;i=q;h=c[i>>2]|0;i=c[i+4>>2]|0;if(!((r|0)>(i|0)|((r|0)==(i|0)?(c[s>>2]|0)>>>0>h>>>0:0))){D=72;break b}t=c[t>>2]|0;h=lb[c[(c[t>>2]|0)+16>>2]&255](t,h,i)|0;if(!h)break b;l=F;return h|0}}}}}while(0);e=h;l=F;return e|0}else D=72;while(0);h=ih(e,0)|0;if(h|0){e=h;l=F;return e|0}h=e+208|0;i=jh(e,Tg(c[c[h>>2]>>2]|0)|0)|0;if(i|0){e=i;l=F;return e|0}o=c[h>>2]|0;h=c[o>>2]|0;if(h|0)do{m=h+12|0;n=c[m>>2]|0;i=n+8|0;j=h+36|0;k=c[j>>2]|0;if((c[i>>2]|0)==(h|0))c[i>>2]=k;t=h+32|0;i=c[t>>2]|0;c[((i|0)==0?n+4|0:i+36|0)>>2]=k;i=c[j>>2]|0;j=c[t>>2]|0;if(!i){c[n>>2]=j;if(!j)a[n+33>>0]=2}else c[i+32>>2]=j;t=h+28|0;b[t>>1]=b[t>>1]&-16|1;if((b[h+30>>1]|0)==0?(u=c[m>>2]|0,a[u+32>>0]|0):0)rb[c[152>>2]&255](c[u+44>>2]|0,c[h>>2]|0,0);h=c[o>>2]|0}while((h|0)!=0);h=c[e+24>>2]|0;n=e+32|0;c:do if((h>>>0>(c[n>>2]|0)>>>0?(y=c[e+152>>2]|0,A=h-((h|0)==((1073741824/(y|0)|0)+1|0)&1)|0,B=e+60|0,v=c[B>>2]|0,w=c[v>>2]|0,w|0):0)?((a[E>>0]|0)+-1&255)>2:0){h=kb[c[w+24>>2]&255](v,C)|0;j=((y|0)<0)<<31>>31;k=Lt(y|0,j|0,A|0,0)|0;m=z;do if(!h){i=C;h=c[i>>2]|0;i=c[i+4>>2]|0;if(!((h|0)==(k|0)&(i|0)==(m|0))){do if((i|0)>(m|0)|(i|0)==(m|0)&h>>>0>k>>>0){x=c[B>>2]|0;x=lb[c[(c[x>>2]|0)+16>>2]&255](x,k,m)|0;D=96}else{C=Ft(h|0,i|0,y|0,j|0)|0;w=z;if((w|0)>(m|0)|(w|0)==(m|0)&C>>>0>k>>>0)break;D=c[e+204>>2]|0;Vt(D|0,0,y|0)|0;C=c[B>>2]|0;x=Gt(k|0,m|0,y|0,j|0)|0;x=nb[c[(c[C>>2]|0)+12>>2]&255](C,D,y,x,z)|0;D=96}while(0);if((D|0)==96?x|0:0){h=x;break}c[n>>2]=A}break c}while(0);e=h;l=F;return e|0}while(0);if(g|0)break;j=e+60|0;h=c[j>>2]|0;i=c[h>>2]|0;d:do if(i|0){h=lb[c[i+40>>2]&255](h,21,f)|0;switch(h|0){case 0:case 12:break d;default:{}}l=F;return h|0}while(0);if(a[e+7>>0]|0)break;h=c[j>>2]|0;i=a[e+10>>0]|0;if(!(i<<24>>24))break;h=kb[c[(c[h>>2]|0)+20>>2]&255](h,i&255)|0}else{j=e+208|0;h=Tg(c[c[j>>2]>>2]|0)|0;c[C>>2]=0;if(!h){h=mb[c[e+200>>2]&255](e,1,C,0)|0;i=c[C>>2]|0;c[i+16>>2]=0;if(i){h=i;D=19}}else D=19;do if((D|0)==19){h=hh(e,h,c[e+24>>2]|0,1)|0;i=c[C>>2]|0;if(i)if(!(b[i+28>>1]&32)){Kg(i);break}else{D=c[i+20>>2]|0;C=D+120|0;c[C>>2]=(c[C>>2]|0)+-1;D=D+136|0;c[i+16>>2]=c[D>>2];c[D>>2]=i;break}}while(0);if((h|0)==0?(q=c[j>>2]|0,n=c[q>>2]|0,n|0):0)do{m=n+12|0;o=c[m>>2]|0;k=o+8|0;i=n+36|0;j=c[i>>2]|0;if((c[k>>2]|0)==(n|0))c[k>>2]=j;D=n+32|0;C=c[D>>2]|0;c[((C|0)==0?o+4|0:C+36|0)>>2]=j;i=c[i>>2]|0;j=c[D>>2]|0;if(!i){c[o>>2]=j;if(!j)a[o+33>>0]=2}else c[i+32>>2]=j;D=n+28|0;b[D>>1]=b[D>>1]&-16|1;if((b[n+30>>1]|0)==0?(p=c[m>>2]|0,a[p+32>>0]|0):0)rb[c[152>>2]&255](c[p+44>>2]|0,c[n>>2]|0,0);n=c[q>>2]|0}while((n|0)!=0)}if(h|0){e=h;l=F;return e|0}}while(0);if(c[e+212>>2]|0){e=0;l=F;return e|0}a[E>>0]=5;e=0;l=F;return e|0}function rh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=a[b+8>>0]|0;if(!(f<<24>>24)){l=0;return l|0}l=c[b+4>>2]|0;c[l+4>>2]=c[b>>2];if(f<<24>>24==2){i=c[l>>2]|0;j=i+40|0;f=c[j>>2]|0;a:do if(!f){g=i+16|0;if(((a[g>>0]|0)==2?a[i+4>>0]|0:0)?(a[i+5>>0]|0)==1:0){a[g>>0]=1;break}f=i+100|0;c[f>>2]=(c[f>>2]|0)+1;f=ug(i,d[i+19>>0]|0,1)|0;switch((f&255)<<24>>24){case 10:case 13:break;default:{h=f;k=10;break a}}c[j>>2]=f;a[g>>0]=6;c[i+200>>2]=f|0?139:138;h=f;k=10}else{h=f;k=10}while(0);if((k|0)==10?(e|0)==0&(h|0)!=0:0){l=h;return l|0}e=b+20|0;c[e>>2]=(c[e>>2]|0)+-1;a[l+20>>0]=1;l=l+60|0;vg(c[l>>2]|0);c[l>>2]=0}Dh(b);l=0;return l|0}function sh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+32|0;q=x+16|0;i=x;if((a[e+8>>0]|0)!=2){w=0;l=x;return w|0}w=c[e+4>>2]|0;c[w+4>>2]=c[e>>2];do if(a[w+17>>0]|0){v=c[w>>2]|0;m=c[w+8>>2]|0;n=(m|0)==0;if(!n){e=m;do{t=e+1|0;a[t>>0]=a[t>>0]&-5;e=c[e+16>>2]|0}while((e|0)!=0)}if(!(a[w+18>>0]|0)){t=w+44|0;h=c[t>>2]|0;j=h>>>0<2;if(j)e=0;else{e=h+-2|0;e=e-((e>>>0)%(((((c[w+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;e=((e+1|0)==(1073741824/((c[w+32>>2]|0)>>>0)|0|0)?3:2)+e|0}if((e|0)!=(h|0)?(o=1073741824/((c[w+32>>2]|0)>>>0)|0,p=o+1|0,(h|0)!=(p|0)):0){s=w+12|0;r=c[(c[s>>2]|0)+56>>2]|0;r=d[r+37>>0]<<16|d[r+36>>0]<<24|d[r+38>>0]<<8|d[r+39>>0];i=((c[w+36>>2]|0)>>>0)/5|0;k=i+1|0;if(j)e=0;else{e=h+-2|0;e=e-((e>>>0)%(k>>>0)|0)|0;e=((e+1|0)==(o|0)?3:2)+e|0}i=h-r-(((i-h+r+e|0)>>>0)/(i>>>0)|0)|0;i=((p>>>0>>0&i>>>0

    >>0)<<31>>31)+i|0;while(1){if(i>>>0<2)e=0;else{e=i+-2|0;e=e-((e>>>0)%(k>>>0)|0)|0;e=((e+1|0)==(o|0)?3:2)+e|0}if((i|0)==(p|0)|(e|0)==(i|0))i=i+-1|0;else break}if(i>>>0>h>>>0){c[q>>2]=21258;c[q+4>>2]=63861;c[q+8>>2]=17052;Bc(11,17e3,q);w=11;l=x;return w|0}do if(i>>>0>>0){if(!n?(g=th(m,0,0)|0,(g|0)!=0):0){e=0;break}do{g=uh(w,i,h,1)|0;h=h+-1|0;e=(g|0)==0}while(e&h>>>0>i>>>0)}else{g=0;e=1}while(0);if((r|0)!=0&((g|0)==101|e)){e=c[(c[s>>2]|0)+72>>2]|0;h=c[e+20>>2]|0;if((b[e+28>>1]&4)!=0?(c[h+24>>2]|0)>>>0>=(c[e+24>>2]|0)>>>0:0)if(!(c[h+96>>2]|0))g=0;else g=Mg(e)|0;else u=28;do if((u|0)==28){g=c[h+40>>2]|0;if(!g)if((c[h+148>>2]|0)>>>0>(c[h+152>>2]|0)>>>0){g=Ng(e)|0;break}else{g=Og(e)|0;break}}while(0);u=(c[(c[s>>2]|0)+56>>2]|0)+32|0;a[u>>0]=0;a[u+1>>0]=0;a[u+2>>0]=0;a[u+3>>0]=0;u=(c[(c[s>>2]|0)+56>>2]|0)+36|0;a[u>>0]=0;a[u+1>>0]=0;a[u+2>>0]=0;a[u+3>>0]=0;u=c[(c[s>>2]|0)+56>>2]|0;a[u+28>>0]=i>>>24;a[u+29>>0]=i>>>16;a[u+30>>0]=i>>>8;a[u+31>>0]=i;a[w+19>>0]=1;c[t>>2]=i}if(!g)break;tg(v)|0;w=g;l=x;return w|0}c[i>>2]=21258;c[i+4>>2]=63856;c[i+8>>2]=17052;Bc(11,17e3,i);w=11;l=x;return w|0}}while(0);g=c[w>>2]|0;if(a[w+19>>0]|0)c[g+24>>2]=c[w+44>>2];w=qh(g,f,0)|0;l=x;return w|0}function th(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=(e|0)==0;j=d;a:while(1){do if((j|0)!=(f|0)){if(!k?(c[j+60>>2]|0)!=(e|0):0)break;d=a[j>>0]|0;if((d+-1&255)>=2){i=j+68|0;d=a[i>>0]|0;if(d<<24>>24<=-1)break;if(d<<24>>24){h=0;do{g=c[(c[j+120+(h<<2)>>2]|0)+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);d=a[i>>0]|0}else{m=c[g+20>>2]|0;n=m+120|0;c[n>>2]=(c[n>>2]|0)+-1;m=m+136|0;c[g+16>>2]=c[m>>2];c[m>>2]=g}h=h+1|0}while((h|0)<(d<<24>>24|0))}d=c[(c[j+116>>2]|0)+72>>2]|0;if(!(b[d+28>>1]&32))Kg(d);else{n=c[d+20>>2]|0;m=n+120|0;c[m>>2]=(c[m>>2]|0)+-1;n=n+136|0;c[d+16>>2]=c[n>>2];c[n>>2]=d}a[i>>0]=-1;break}if(d<<24>>24==2)a[j>>0]=1;else c[j+64>>2]=0;n=(a[j+69>>0]|0)==0;Ah(j);if(n){d=c[j+36>>2]|0;i=j+48|0;n=i;c[n>>2]=d;c[n+4>>2]=0;n=Ft(d|0,0,-1,-1)|0;m=z;if(m>>>0>0|(m|0)==0&n>>>0>2147483390){d=7;break a}if(!(c[2]|0)){d=jb[c[52>>2]&255](d)|0;if(!d){d=7;break a}else g=d}else{h=jb[c[68>>2]&255](d)|0;if((c[11829]|0)>>>0>>0)c[11829]=d;g=46456;d=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&d>>>0>0){m=c[11822]|0;n=Gt(d|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&m>>>0>=n>>>0)&1}g=jb[c[52>>2]&255](h)|0;if(!g){d=7;break a}d=jb[c[64>>2]&255](g)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}d=Bh(j,0,c[i>>2]|0,g,0)|0;if(d|0){l=25;break a}c[j+56>>2]=g}else{i=j+24|0;m=c[i+4>>2]|0;n=j+48|0;c[n>>2]=c[i>>2];c[n+4>>2]=m}i=j+68|0;d=a[i>>0]|0;if(d<<24>>24>-1){if(d<<24>>24){h=0;do{g=c[(c[j+120+(h<<2)>>2]|0)+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);d=a[i>>0]|0}else{n=c[g+20>>2]|0;m=n+120|0;c[m>>2]=(c[m>>2]|0)+-1;n=n+136|0;c[g+16>>2]=c[n>>2];c[n>>2]=g}h=h+1|0}while((h|0)<(d<<24>>24|0))}d=c[(c[j+116>>2]|0)+72>>2]|0;if(!(b[d+28>>1]&32))Kg(d);else{n=c[d+20>>2]|0;m=n+120|0;c[m>>2]=(c[m>>2]|0)+-1;n=n+136|0;c[d+16>>2]=c[n>>2];c[n>>2]=d}a[i>>0]=-1}a[j>>0]=3;n=j+1|0;a[n>>0]=a[n>>0]&-15}while(0);d=c[j+16>>2]|0;if(!d){d=0;l=51;break}else j=d}if((l|0)==51)return d|0;do if((l|0)==25)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{n=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);n=j+1|0;a[n>>0]=a[n>>0]&-15;n=d;return n|0}function uh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=l;l=l+32|0;k=s;n=s+20|0;j=s+24|0;p=s+16|0;q=s+12|0;if(g>>>0<2)i=0;else{i=g+-2|0;i=i-((i>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;i=((i+1|0)==(1073741824/((c[e+32>>2]|0)>>>0)|0|0)?3:2)+i|0}a:do if((i|0)!=(g|0)?((1073741824/((c[e+32>>2]|0)>>>0)|0)+1|0)!=(g|0):0){o=c[(c[e+12>>2]|0)+56>>2]|0;b:do if((d[o+37>>0]|0)<<16|(d[o+36>>0]|0)<<24|(d[o+38>>0]|0)<<8|(d[o+39>>0]|0)){i=vh(e,g,j,p)|0;if(!i){o=a[j>>0]|0;c:do switch(o<<24>>24){case 1:{c[k>>2]=21258;c[k+4>>2]=63693;c[k+8>>2]=17052;Bc(11,17e3,k);i=11;break b}case 2:{if(!h){i=wh(e,q,n,g,1)|0;if(i|0)break b;i=c[q>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{r=c[i+20>>2]|0;q=r+120|0;c[q>>2]=(c[q>>2]|0)+-1;r=r+136|0;c[i+16>>2]=c[r>>2];c[r>>2]=i;break}}while(0)}break}default:{i=c[e>>2]|0;i=mb[c[i+200>>2]&255](i,g,n,0)|0;do if(!i){i=c[n>>2]|0;m=c[i+8>>2]|0;j=m+4|0;if((c[j>>2]|0)!=(g|0)){c[m+56>>2]=c[i+4>>2];c[m+72>>2]=i;c[m+52>>2]=e;c[j>>2]=g;a[m+9>>0]=(g|0)==1?100:0}i=(h|0)==0;j=i?2:0;k=i?f:0;d:do if(i){i=wh(e,n,q,k,j)|0;if(!i){i=c[n>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{n=c[i+20>>2]|0;f=n+120|0;c[f>>2]=(c[f>>2]|0)+-1;n=n+136|0;c[i+16>>2]=c[n>>2];c[n>>2]=i;break}}while(0);i=c[q>>2]|0}else r=29}else do{i=wh(e,n,q,k,j)|0;if(i|0){r=29;break d}i=c[n>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{t=c[i+20>>2]|0;u=t+120|0;c[u>>2]=(c[u>>2]|0)+-1;t=t+136|0;c[i+16>>2]=c[t>>2];c[t>>2]=i;break}}while(0);i=c[q>>2]|0}while(i>>>0>f>>>0);while(0);if((r|0)==29){do if(m|0){j=c[m+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{u=c[j+20>>2]|0;t=u+120|0;c[t>>2]=(c[t>>2]|0)+-1;u=u+136|0;c[j+16>>2]=c[u>>2];c[u>>2]=j;break}}while(0);break}i=xh(e,m,o,c[p>>2]|0,i,h)|0;do if(m|0){j=c[m+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{u=c[j+20>>2]|0;t=u+120|0;c[t>>2]=(c[t>>2]|0)+-1;u=u+136|0;c[j+16>>2]=c[u>>2];c[u>>2]=j;break}}while(0);if(!i)break c}while(0);break b}}while(0);break a}}else i=101;while(0);u=i;l=s;return u|0}while(0);if(h|0){u=0;l=s;return u|0}k=1073741824/((c[e+32>>2]|0)>>>0)|0;f=k+1|0;m=e+36|0;j=g;while(1){i=j;j=j+-1|0;if((j|0)==(f|0))continue;if(j>>>0<2)i=0;else{i=i+-3|0;i=i-((i>>>0)%(((((c[m>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;i=((i+1|0)==(k|0)?3:2)+i|0}if((i|0)!=(j|0))break}a[e+19>>0]=1;c[e+44>>2]=j;u=0;l=s;return u|0}function vh(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;o=p+16|0;n=p;i=p+28|0;if(f>>>0<2)m=0;else{m=f+-2|0;m=m-((m>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;m=((m+1|0)==(1073741824/((c[e+32>>2]|0)>>>0)|0|0)?3:2)+m|0}e=c[e>>2]|0;e=mb[c[e+200>>2]&255](e,m,i,0)|0;if(e|0){o=e;l=p;return o|0}k=c[i>>2]|0;j=c[k+4>>2]|0;e=(f-m|0)*5|0;i=e+-5|0;if((i|0)<0){do if(k|0)if(!(b[k+28>>1]&32)){Kg(k);break}else{o=c[k+20>>2]|0;h=o+120|0;c[h>>2]=(c[h>>2]|0)+-1;o=o+136|0;c[k+16>>2]=c[o>>2];c[o>>2]=k;break}while(0);c[n>>2]=21258;c[n+4>>2]=61073;c[n+8>>2]=17052;Bc(11,17e3,n);o=11;l=p;return o|0}a[g>>0]=a[j+i>>0]|0;if(h|0){n=j+(e+-4)|0;c[h>>2]=(d[n+1>>0]|0)<<16|(d[n>>0]|0)<<24|(d[n+2>>0]|0)<<8|(d[n+3>>0]|0)}do if(k|0)if(!(b[k+28>>1]&32)){Kg(k);break}else{n=c[k+20>>2]|0;h=n+120|0;c[h>>2]=(c[h>>2]|0)+-1;n=n+136|0;c[k+16>>2]=c[n>>2];c[n>>2]=k;break}while(0);if(((a[g>>0]|0)+-1&255)<=4){o=0;l=p;return o|0}c[o>>2]=21258;c[o+4>>2]=61081;c[o+8>>2]=17052;Bc(11,17e3,o);o=11;l=p;return o|0}function wh(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0;Y=l;l=l+160|0;s=Y+144|0;p=Y+128|0;S=Y+112|0;Q=Y+96|0;T=Y+80|0;P=Y+64|0;O=Y+48|0;U=Y+32|0;R=Y+16|0;j=Y;X=Y+156|0;r=e+12|0;k=c[r>>2]|0;q=e+44|0;V=c[q>>2]|0;N=k+56|0;M=c[N>>2]|0;M=d[M+37>>0]<<16|d[M+36>>0]<<24|d[M+38>>0]<<8|d[M+39>>0];if(M>>>0>=V>>>0){c[j>>2]=21258;c[j+4>>2]=65780;c[j+8>>2]=17052;Bc(11,17e3,j);f=11;l=Y;return f|0}if(!M){i=(a[e+19>>0]|0)==0&1;k=c[k+72>>2]|0;m=c[k+20>>2]|0;if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0)if(!(c[m+96>>2]|0))k=V;else{j=Mg(k)|0;W=186}else W=182;do if((W|0)==182){j=c[m+40>>2]|0;if(j|0){f=j;l=Y;return f|0}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){j=Ng(k)|0;W=186;break}else{j=Og(k)|0;W=186;break}}while(0);do if((W|0)==186)if(!j){k=c[q>>2]|0;break}else{f=j;l=Y;return f|0}while(0);j=k+1|0;c[q>>2]=j;o=e+32|0;m=1073741824/((c[o>>2]|0)>>>0)|0;if((k|0)==(m|0)){j=k+2|0;c[q>>2]=j}if(a[e+17>>0]|0){if(j>>>0<2)k=0;else{k=j+-2|0;k=k-((k>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(m|0)?3:2)+k|0}if((k|0)==(j|0)){k=c[e>>2]|0;k=mb[c[k+200>>2]&255](k,j,X,i)|0;if(k|0){f=k;l=Y;return f|0}k=c[X>>2]|0;n=c[k+8>>2]|0;m=n+4|0;if((c[m>>2]|0)==(j|0))j=c[n+72>>2]|0;else{c[n+56>>2]=c[k+4>>2];c[n+72>>2]=k;c[n+52>>2]=e;c[m>>2]=j;a[n+9>>0]=(j|0)==1?100:0;j=k}if((b[j+30>>1]|0)>1){j=c[n+72>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{f=c[j+20>>2]|0;e=f+120|0;c[e>>2]=(c[e>>2]|0)+-1;f=f+136|0;c[j+16>>2]=c[f>>2];c[f>>2]=j}c[p>>2]=21258;c[p+4>>2]=62225;c[p+8>>2]=17052;Bc(11,17e3,p);f=11;l=Y;return f|0}a[n>>0]=0;n=n+72|0;j=c[n>>2]|0;m=c[j+20>>2]|0;if((b[j+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[m+96>>2]|0))k=0;else k=Mg(j)|0;else W=208;do if((W|0)==208){k=c[m+40>>2]|0;if(!k)if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){k=Ng(j)|0;break}else{k=Og(j)|0;break}}while(0);j=c[n>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{W=c[j+20>>2]|0;V=W+120|0;c[V>>2]=(c[V>>2]|0)+-1;W=W+136|0;c[j+16>>2]=c[W>>2];c[W>>2]=j}if(k|0){f=k;l=Y;return f|0}k=c[q>>2]|0;j=k+1|0;c[q>>2]=j;if((k|0)==(1073741824/((c[o>>2]|0)>>>0)|0|0)){j=k+2|0;c[q>>2]=j}}}n=c[(c[r>>2]|0)+56>>2]|0;a[n+28>>0]=j>>>24;a[n+29>>0]=j>>>16;a[n+30>>0]=j>>>8;a[n+31>>0]=j;n=c[q>>2]|0;c[g>>2]=n;j=c[e>>2]|0;j=mb[c[j+200>>2]&255](j,n,X,i)|0;if(j|0){c[f>>2]=0;f=j;l=Y;return f|0}j=c[X>>2]|0;k=c[j+8>>2]|0;m=k+4|0;if((c[m>>2]|0)==(n|0))j=k+72|0;else{c[k+56>>2]=c[j+4>>2];X=k+72|0;c[X>>2]=j;c[k+52>>2]=e;c[m>>2]=n;a[k+9>>0]=(n|0)==1?100:0;j=X}c[f>>2]=k;if((b[(c[j>>2]|0)+30>>1]|0)>1){do if(k|0){j=c[k+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{e=c[j+20>>2]|0;X=e+120|0;c[X>>2]=(c[X>>2]|0)+-1;e=e+136|0;c[j+16>>2]=c[e>>2];c[e>>2]=j;break}}while(0);c[f>>2]=0;c[s>>2]=21258;c[s+4>>2]=62225;c[s+8>>2]=17052;Bc(11,17e3,s);f=11;l=Y;return f|0}a[k>>0]=0;m=c[k+72>>2]|0;n=c[m+20>>2]|0;do if((b[m+28>>1]&4)!=0?(c[n+24>>2]|0)>>>0>=(c[m+24>>2]|0)>>>0:0)if(!(c[n+96>>2]|0)){f=0;l=Y;return f|0}else{j=Mg(m)|0;W=237;break}else W=233;while(0);do if((W|0)==233){j=c[n+40>>2]|0;if(!j)if((c[n+148>>2]|0)>>>0>(c[n+152>>2]|0)>>>0){j=Ng(m)|0;W=237;break}else{j=Og(m)|0;W=237;break}else W=239}while(0);do if((W|0)==237)if(j){k=c[f>>2]|0;if(!k)break;else{W=239;break}}else{f=0;l=Y;return f|0}while(0);do if((W|0)==239){k=c[k+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);break}else{e=c[k+20>>2]|0;X=e+120|0;c[X>>2]=(c[X>>2]|0)+-1;e=e+136|0;c[k+16>>2]=c[e>>2];c[e>>2]=k;break}}while(0);c[f>>2]=0;f=j;l=Y;return f|0}a:do switch(i<<24>>24){case 1:{if(V>>>0>>0)o=0;else{j=vh(e,h,X,0)|0;if(!j){o=(a[X>>0]|0)==2&1;break a}f=j;l=Y;return f|0}break}case 2:{o=1;break}default:o=0}while(0);k=c[k+72>>2]|0;m=c[k+20>>2]|0;if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0){if(c[m+96>>2]|0){n=Mg(k)|0;W=18}}else W=14;do if((W|0)==14){j=c[m+40>>2]|0;if(j|0){f=j;l=Y;return f|0}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){n=Ng(k)|0;W=18;break}else{n=Og(k)|0;W=18;break}}while(0);if((W|0)==18?n|0:0){f=n;l=Y;return f|0}F=c[N>>2]|0;G=M+-1|0;a[F+36>>0]=G>>>24;a[F+37>>0]=G>>>16;a[F+38>>0]=G>>>8;a[F+39>>0]=G;F=e+36|0;G=(h|0)==0;E=e+60|0;D=i<<24>>24==2;C=0;j=0;b:while(1){m=j;y=(j|0)!=0;if(y)k=c[m+56>>2]|0;else k=(c[N>>2]|0)+32|0;p=d[k+1>>0]<<16|d[k>>0]<<24|d[k+2>>0]<<8|d[k+3>>0];if(p>>>0>V>>>0){W=25;break}if(C>>>0>M>>>0){W=25;break}C=C+1|0;k=c[e>>2]|0;k=mb[c[k+200>>2]&255](k,p,X,0)|0;if(k|0){W=35;break}k=c[X>>2]|0;i=c[k+8>>2]|0;n=i+4|0;if((c[n>>2]|0)==(p|0))w=c[i+72>>2]|0;else{c[i+56>>2]=c[k+4>>2];c[i+72>>2]=k;c[i+52>>2]=e;c[n>>2]=p;a[i+9>>0]=(p|0)==1?100:0;w=k}B=i;if((b[w+30>>1]|0)>1){W=31;break}a[i>>0]=0;z=i+56|0;x=c[z>>2]|0;s=x+4|0;t=x+5|0;u=x+6|0;v=x+7|0;A=d[t>>0]<<16|d[s>>0]<<24|d[u>>0]<<8|d[v>>0];r=o<<24>>24!=0;c:do if(r|(A|0)!=0){if(A>>>0>(((c[F>>2]|0)>>>2)+-2|0)>>>0){W=49;break b}if(o<<24>>24?(p|0)==(h|0)|D&p>>>0>>0:0){c[g>>2]=p;c[f>>2]=i;n=c[i+72>>2]|0;o=c[n+20>>2]|0;if((b[n+28>>1]&4)!=0?(c[o+24>>2]|0)>>>0>=(c[n+24>>2]|0)>>>0:0){if(c[o+96>>2]|0){H=Mg(n)|0;W=60}}else W=56;do if((W|0)==56){k=c[o+40>>2]|0;if(k|0){j=B;W=243;break b}if((c[o+148>>2]|0)>>>0>(c[o+152>>2]|0)>>>0){H=Ng(n)|0;W=60;break}else{H=Og(n)|0;W=60;break}}while(0);if((W|0)==60?(W=0,H|0):0){k=H;j=B;W=243;break b}if(!A){if(y){n=c[m+72>>2]|0;o=c[n+20>>2]|0;do if(!(b[n+28>>1]&4))W=68;else{if((c[o+24>>2]|0)>>>0<(c[n+24>>2]|0)>>>0){W=68;break}if(!(c[o+96>>2]|0))break;I=Mg(n)|0;W=72}while(0);do if((W|0)==68){k=c[o+40>>2]|0;if(k|0){j=B;W=243;break b}if((c[o+148>>2]|0)>>>0>(c[o+152>>2]|0)>>>0){I=Ng(n)|0;W=72;break}else{I=Og(n)|0;W=72;break}}while(0);if((W|0)==72?(0,I|0):0){k=I;j=B;W=243;break b}k=c[m+56>>2]|0}else k=(c[N>>2]|0)+32|0;o=c[z>>2]|0;o=d[o>>0]|d[o+1>>0]<<8|d[o+2>>0]<<16|d[o+3>>0]<<24;a[k>>0]=o;a[k+1>>0]=o>>8;a[k+2>>0]=o>>16;a[k+3>>0]=o>>24;o=0;k=0;n=0;W=172;break}t=c[z>>2]|0;q=a[t+8>>0]|0;r=a[t+9>>0]|0;s=a[t+10>>0]|0;t=a[t+11>>0]|0;n=(r&255)<<16|(q&255)<<24|(s&255)<<8|t&255;if(n>>>0>V>>>0){W=75;break b}k=c[e>>2]|0;k=mb[c[k+200>>2]&255](k,n,X,0)|0;if(k|0){W=85;break b}j=c[X>>2]|0;p=c[j+8>>2]|0;k=p+4|0;if((c[k>>2]|0)==(n|0))j=c[p+72>>2]|0;else{c[p+56>>2]=c[j+4>>2];c[p+72>>2]=j;c[p+52>>2]=e;c[k>>2]=n;a[p+9>>0]=(n|0)==1?100:0}if((b[j+30>>1]|0)>1){W=81;break b}a[p>>0]=0;o=p+72|0;n=c[o>>2]|0;i=c[n+20>>2]|0;j=b[n+28>>1]|0;do if(!(j&4))W=90;else{if((c[i+24>>2]|0)>>>0<(c[n+24>>2]|0)>>>0){W=90;break}if(!(c[i+96>>2]|0))break;J=Mg(n)|0;W=94}while(0);do if((W|0)==90){k=c[i+40>>2]|0;if(k|0){W=96;break b}if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){J=Ng(n)|0;W=94;break}else{J=Og(n)|0;W=94;break}}while(0);if((W|0)==94?(W=0,J|0):0){W=95;break b}x=p+56|0;w=c[x>>2]|0;j=c[z>>2]|0;j=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[w>>0]=j;a[w+1>>0]=j>>8;a[w+2>>0]=j>>16;a[w+3>>0]=j>>24;w=c[x>>2]|0;j=A+-1|0;a[w+4>>0]=j>>>24;a[w+5>>0]=j>>>16;a[w+6>>0]=j>>>8;a[w+7>>0]=j;Tt((c[x>>2]|0)+8|0,(c[z>>2]|0)+12|0,j<<2|0)|0;j=c[o>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{A=c[j+20>>2]|0;z=A+120|0;c[z>>2]=(c[z>>2]|0)+-1;A=A+136|0;c[j+16>>2]=c[A>>2];c[A>>2]=j}if(!y){W=103;break b}i=m+72|0;j=c[i>>2]|0;n=c[j+20>>2]|0;do if(!(b[j+28>>1]&4))W=108;else{if((c[n+24>>2]|0)>>>0<(c[j+24>>2]|0)>>>0){W=108;break}if(!(c[n+96>>2]|0))break;K=Mg(j)|0;W=112}while(0);do if((W|0)==108){k=c[n+40>>2]|0;if(k|0){j=B;W=243;break b}if((c[n+148>>2]|0)>>>0>(c[n+152>>2]|0)>>>0){K=Ng(j)|0;W=112;break}else{K=Og(j)|0;W=112;break}}while(0);if((W|0)==112?(0,K|0):0){k=K;j=B;W=243;break b}o=c[m+56>>2]|0;a[o>>0]=q;a[o+1>>0]=r;a[o+2>>0]=s;a[o+3>>0]=t;o=0;k=0;m=i;j=0;W=174;break}if(A){d:do if(!G){if(D){k=0;while(1){z=x+((k<<2)+8)|0;if((d[z+1>>0]<<16|d[z>>0]<<24|d[z+2>>0]<<8|d[z+3>>0])>>>0<=h>>>0){i=k;break d}k=k+1|0;if(k>>>0>=A>>>0){i=0;break d}}}k=(d[x+9>>0]<<16|d[x+8>>0]<<24|d[x+10>>0]<<8|d[x+11>>0])-h|0;if(A>>>0>1){i=(k|0)>-1?k:(k|0)==-2147483648?2147483647:0-k|0;k=0;p=1;while(1){n=x+((p<<2)+8)|0;n=(d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|d[n+3>>0])-h|0;n=(n|0)>-1?n:(n|0)==-2147483648?2147483647:0-n|0;q=(n|0)<(i|0);k=q?p:k;p=p+1|0;if((p|0)==(A|0)){i=k;break}else i=q?n:i}}else i=0}else i=0;while(0);p=x+((i<<2)+8)|0;k=d[p+1>>0]<<16|d[p>>0]<<24|d[p+2>>0]<<8|d[p+3>>0];if(k>>>0>V>>>0){W=124;break b}if((k|0)==(h|0)|r^1|D&k>>>0>>0){c[g>>2]=k;n=c[w+20>>2]|0;do if(!(b[w+28>>1]&4))W=130;else{if((c[n+24>>2]|0)>>>0<(c[w+24>>2]|0)>>>0){W=130;break}if(!(c[n+96>>2]|0))break;L=Mg(w)|0;W=134}while(0);do if((W|0)==130){k=c[n+40>>2]|0;if(k|0){j=B;W=243;break b}if((c[n+148>>2]|0)>>>0>(c[n+152>>2]|0)>>>0){L=Ng(w)|0;W=134;break}else{L=Og(w)|0;W=134;break}}while(0);if((W|0)==134?(0,L|0):0){k=L;j=B;W=243;break b}k=A+-1|0;if(i>>>0>>0){W=x+((A<<2)+4)|0;W=d[W>>0]|d[W+1>>0]<<8|d[W+2>>0]<<16|d[W+3>>0]<<24;a[p>>0]=W;a[p+1>>0]=W>>8;a[p+2>>0]=W>>16;a[p+3>>0]=W>>24}a[s>>0]=k>>>24;a[t>>0]=k>>>16;a[u>>0]=k>>>8;a[v>>0]=k;p=c[g>>2]|0;o=c[E>>2]|0;e:do if(!o)k=0;else{k=c[o>>2]|0;if(k>>>0

    >>0){k=1;break}n=p+-1|0;if(n>>>0>>0)k=o;else{k=0;break}while(1){o=c[k+8>>2]|0;if(!o)break;k=c[k+12+(((n>>>0)/(o>>>0)|0)<<2)>>2]|0;if(!k){k=0;break e}else n=(n>>>0)%(o>>>0)|0}if((c[k>>2]|0)>>>0<4001){k=(d[k+12+(n>>>3)>>0]&1<<(n&7)|0)!=0;break}i=n+1|0;n=(n>>>0)%125|0;o=c[k+12+(n<<2)>>2]|0;if(!o){k=0;break}while(1){if((o|0)==(i|0)){k=1;break e}n=((n+1|0)>>>0)%125|0;o=c[k+12+(n<<2)>>2]|0;if(!o){k=0;break}}}while(0);W=c[e>>2]|0;k=mb[c[W+200>>2]&255](W,p,X,(k^1)&1)|0;if(k|0){c[f>>2]=0;o=0;n=B;W=172;break}k=c[X>>2]|0;n=c[k+8>>2]|0;o=n+4|0;if((c[o>>2]|0)==(p|0))k=n+72|0;else{c[n+56>>2]=c[k+4>>2];W=n+72|0;c[W>>2]=k;c[n+52>>2]=e;c[o>>2]=p;a[n+9>>0]=(p|0)==1?100:0;k=W}c[f>>2]=n;if((b[(c[k>>2]|0)+30>>1]|0)>1){do if(n|0){k=c[n+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);break}else{W=c[k+20>>2]|0;A=W+120|0;c[A>>2]=(c[A>>2]|0)+-1;W=W+136|0;c[k+16>>2]=c[W>>2];c[W>>2]=k;break}}while(0);c[f>>2]=0;c[S>>2]=21258;c[S+4>>2]=62225;c[S+8>>2]=17052;Bc(11,17e3,S);o=0;k=11;n=B;W=172;break}a[n>>0]=0;o=c[n+72>>2]|0;i=c[o+20>>2]|0;do if(!(b[o+28>>1]&4))W=162;else{if((c[i+24>>2]|0)>>>0<(c[o+24>>2]|0)>>>0){W=162;break}if(!(c[i+96>>2]|0)){o=0;k=0;n=B;W=172;break c}k=Mg(o)|0;W=166}while(0);do if((W|0)==162){k=c[i+40>>2]|0;if(k|0){W=168;break}if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){k=Ng(o)|0;W=166;break}else{k=Og(o)|0;W=166;break}}while(0);if((W|0)==166){W=0;if(!k){o=0;k=0;n=B;W=172;break}n=c[f>>2]|0;if(n)W=168}do if((W|0)==168){n=c[n+72>>2]|0;if(!(b[n+28>>1]&32)){Kg(n);break}else{W=c[n+20>>2]|0;A=W+120|0;c[A>>2]=(c[A>>2]|0)+-1;W=W+136|0;c[n+16>>2]=c[W>>2];c[W>>2]=n;break}}while(0);c[f>>2]=0;o=0;n=B;W=172}else{k=0;n=B;W=172}}else{k=0;n=B;W=172}}else{n=c[w+20>>2]|0;if((b[w+28>>1]&4)!=0?(c[n+24>>2]|0)>>>0>=(c[w+24>>2]|0)>>>0:0)if(!(c[n+96>>2]|0))k=x;else{k=Mg(w)|0;W=45}else W=41;do if((W|0)==41){k=c[n+40>>2]|0;if(k|0){j=B;W=243;break b}if((c[n+148>>2]|0)>>>0>(c[n+152>>2]|0)>>>0){k=Ng(w)|0;W=45;break}else{k=Og(w)|0;W=45;break}}while(0);if((W|0)==45){if(k|0){j=B;W=243;break b}k=c[z>>2]|0}c[g>>2]=p;o=(c[N>>2]|0)+32|0;k=d[k>>0]|d[k+1>>0]<<8|d[k+2>>0]<<16|d[k+3>>0]<<24;a[o>>0]=k;a[o+1>>0]=k>>8;a[o+2>>0]=k>>16;a[o+3>>0]=k>>24;c[f>>2]=B;o=0;k=0;n=0;W=172}while(0);if((W|0)==172){W=0;if(!j)j=n;else{m=m+72|0;j=n;W=174}}do if((W|0)==174){W=0;m=c[m>>2]|0;if(!(b[m+28>>1]&32)){Kg(m);break}else{B=c[m+20>>2]|0;A=B+120|0;c[A>>2]=(c[A>>2]|0)+-1;B=B+136|0;c[m+16>>2]=c[B>>2];c[B>>2]=m;break}}while(0);if(!(o<<24>>24)){m=0;W=243;break}}switch(W|0){case 25:{c[R>>2]=21258;c[R+4>>2]=65836;c[R+8>>2]=17052;Bc(11,17e3,R);j=m;k=11;break}case 31:{j=c[i+72>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{f=c[j+20>>2]|0;e=f+120|0;c[e>>2]=(c[e>>2]|0)+-1;f=f+136|0;c[j+16>>2]=c[f>>2];c[f>>2]=j}c[U>>2]=21258;c[U+4>>2]=62225;c[U+8>>2]=17052;Bc(11,17e3,U);j=m;k=11;break}case 35:{j=m;break}case 49:{c[O>>2]=21258;c[O+4>>2]=65865;c[O+8>>2]=17052;Bc(11,17e3,O);k=11;j=B;W=243;break}case 75:{c[P>>2]=21258;c[P+4>>2]=65899;c[P+8>>2]=17052;Bc(11,17e3,P);k=11;j=B;W=243;break}case 81:{j=c[p+72>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{f=c[j+20>>2]|0;e=f+120|0;c[e>>2]=(c[e>>2]|0)+-1;f=f+136|0;c[j+16>>2]=c[f>>2];c[f>>2]=j}c[T>>2]=21258;c[T+4>>2]=62225;c[T+8>>2]=17052;Bc(11,17e3,T);k=11;j=B;W=243;break}case 85:{j=B;W=243;break}case 95:{j=c[o>>2]|0;k=J;n=j;j=b[j+28>>1]|0;W=96;break}case 103:{f=c[N>>2]|0;a[f+32>>0]=q;a[f+33>>0]=r;a[f+34>>0]=s;a[f+35>>0]=t;f=0;l=Y;return f|0}case 124:{c[Q>>2]=21258;c[Q+4>>2]=65964;c[Q+8>>2]=17052;Bc(11,17e3,Q);k=11;j=B;W=243;break}}do if((W|0)==96)if(!(j&32)){Kg(n);j=B;W=243;break}else{j=c[n+20>>2]|0;W=j+120|0;c[W>>2]=(c[W>>2]|0)+-1;j=j+136|0;c[n+16>>2]=c[j>>2];c[j>>2]=n;j=B;W=243;break}while(0);do if((W|0)==243)if(j){j=c[j+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);j=m;break}else{f=c[j+20>>2]|0;e=f+120|0;c[e>>2]=(c[e>>2]|0)+-1;f=f+136|0;c[j+16>>2]=c[f>>2];c[f>>2]=j;j=m;break}}else j=m;while(0);if(!j){f=k;l=Y;return f|0}j=c[j+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);f=k;l=Y;return f|0}else{f=c[j+20>>2]|0;e=f+120|0;c[e>>2]=(c[e>>2]|0)+-1;f=f+136|0;c[j+16>>2]=c[f>>2];c[f>>2]=j;f=k;l=Y;return f|0}return 0}function xh(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=l;l=l+80|0;N=Q+56|0;L=Q+40|0;J=Q+24|0;K=Q;P=Q+68|0;F=g+4|0;O=c[F>>2]|0;D=c[f>>2]|0;A=c[g+72>>2]|0;B=D+12|0;a:do if(a[B>>0]|0){o=c[A+20>>2]|0;p=A+28|0;if((b[p>>1]&4)!=0?(c[o+24>>2]|0)>>>0>=(c[A+24>>2]|0)>>>0:0){if(!(c[o+96>>2]|0)){M=12;break}m=Mg(A)|0}else M=7;do if((M|0)==7){m=c[o+40>>2]|0;if(m|0)break a;if((c[o+148>>2]|0)>>>0>(c[o+152>>2]|0)>>>0){m=Ng(A)|0;break}else{m=Og(A)|0;break}}while(0);if(!m)M=12}else{p=A+28|0;M=12}while(0);do if((M|0)==12){m=b[p>>1]|0;if(m&2){m=Mg(A)|0;if(m|0)break;m=b[p>>1]|0}m=m&65535;if((k|0)!=0|(m&8|0)==0)C=0;else C=c[A+24>>2]|0;b[p>>1]=m&65527;m=D+208|0;o=lb[c[148>>2]&255](c[(c[m>>2]|0)+44>>2]|0,j,0)|0;do if(o){m=c[m>>2]|0;k=c[o+4>>2]|0;if(!(c[k>>2]|0)){m=Ig(m,j,o)|0;if(!m){y=0;w=0;break}else w=1}else{m=m+12|0;c[m>>2]=(c[m>>2]|0)+1;m=k+30|0;b[m>>1]=(b[m>>1]|0)+1<<16>>16;m=k;w=(k|0)!=0}o=m+28|0;b[p>>1]=b[p>>1]|b[o>>1]&8;if(!(a[B>>0]|0)){s=m+12|0;do if(b[o>>1]&2){r=c[s>>2]|0;o=r+8|0;k=m+36|0;q=c[k>>2]|0;if((c[o>>2]|0)==(m|0))c[o>>2]=q;y=m+32|0;o=c[y>>2]|0;c[((o|0)==0?r+4|0:o+36|0)>>2]=q;o=c[k>>2]|0;k=c[y>>2]|0;if(o|0){c[o+32>>2]=k;break}c[r>>2]=k;if(!k)a[r+33>>0]=2}while(0);y=c[s>>2]|0;x=y+12|0;c[x>>2]=(c[x>>2]|0)+-1;rb[c[152>>2]&255](c[y+44>>2]|0,c[m>>2]|0,1);y=m;break}y=(c[D+24>>2]|0)+1|0;k=m+12|0;v=m+24|0;sb[c[156>>2]&255](c[(c[k>>2]|0)+44>>2]|0,c[m>>2]|0,c[v>>2]|0,y);c[v>>2]=y;v=b[o>>1]|0;if((v&10)==10){t=c[k>>2]|0;u=t+8|0;q=m+36|0;o=c[q>>2]|0;if((c[u>>2]|0)==(m|0))c[u>>2]=o;r=m+32|0;k=c[r>>2]|0;s=t+4|0;c[((k|0)==0?s:k+36|0)>>2]=o;o=c[q>>2]|0;k=c[r>>2]|0;do if(!o){c[t>>2]=k;if(!k){a[t+33>>0]=2;c[q>>2]=0;c[r>>2]=0;o=t;M=31;break}else{c[q>>2]=0;o=t;M=30;break}}else{c[o+32>>2]=k;k=c[t>>2]|0;c[q>>2]=0;c[r>>2]=k;if(!k){o=t;M=31}else{o=t;M=30}}while(0);if((M|0)==30)c[k+36>>2]=m;else if((M|0)==31){c[s>>2]=m;if(a[t+32>>0]|0)a[t+33>>0]=1}c[o>>2]=m;if((v&8)==0&(c[u>>2]|0)==0){c[u>>2]=m;y=m}else y=m}else y=m}else{y=0;w=0}while(0);t=A+24|0;x=c[t>>2]|0;v=A+12|0;sb[c[156>>2]&255](c[(c[v>>2]|0)+44>>2]|0,c[A>>2]|0,x,j);c[t>>2]=j;t=b[p>>1]|0;if((t&10)==10){r=c[v>>2]|0;u=r+8|0;k=A+36|0;m=c[k>>2]|0;if((c[u>>2]|0)==(A|0))c[u>>2]=m;q=A+32|0;o=c[q>>2]|0;s=r+4|0;c[((o|0)==0?s:o+36|0)>>2]=m;m=c[k>>2]|0;o=c[q>>2]|0;do if(!m){c[r>>2]=o;if(!o){a[r+33>>0]=2;c[k>>2]=0;c[q>>2]=0;m=r;M=52;break}else{c[k>>2]=0;m=r;M=51;break}}else{c[m+32>>2]=o;o=c[r>>2]|0;c[k>>2]=0;c[q>>2]=o;if(!o){m=r;M=52}else{m=r;M=51}}while(0);if((M|0)==51)c[o+36>>2]=A;else if((M|0)==52){c[s>>2]=A;if(a[r+32>>0]|0)a[r+33>>0]=1}c[m>>2]=A;if((t&8)==0&(c[u>>2]|0)==0)c[u>>2]=A}m=t&65535;if(m&17|0?(z=m&65519,b[p>>1]=z,m&1|0):0){k=(z^3)&65535;b[p>>1]=k;m=c[v>>2]|0;c[A+36>>2]=0;o=c[m>>2]|0;c[A+32>>2]=o;if(!o){c[m+4>>2]=A;if(a[m+32>>0]|0)a[m+33>>0]=1}else c[o+36>>2]=A;c[m>>2]=A;m=m+8|0;if((k&8)==0&(c[m>>2]|0)==0)c[m>>2]=A}do if(w&(a[B>>0]|0)!=0){m=y+12|0;t=y+24|0;sb[c[156>>2]&255](c[(c[m>>2]|0)+44>>2]|0,c[y>>2]|0,c[t>>2]|0,x);c[t>>2]=x;t=b[y+28>>1]|0;if((t&10)==10){q=c[m>>2]|0;s=q+8|0;p=y+36|0;m=c[p>>2]|0;if((c[s>>2]|0)==(y|0))c[s>>2]=m;k=y+32|0;o=c[k>>2]|0;r=q+4|0;c[((o|0)==0?r:o+36|0)>>2]=m;m=c[p>>2]|0;o=c[k>>2]|0;do if(!m){c[q>>2]=o;if(!o){a[q+33>>0]=2;c[p>>2]=0;c[k>>2]=0;m=q;M=74;break}else{c[p>>2]=0;m=q;M=73;break}}else{c[m+32>>2]=o;o=c[q>>2]|0;c[p>>2]=0;c[k>>2]=o;if(!o){m=q;M=74}else{m=q;M=73}}while(0);if((M|0)==73)c[o+36>>2]=y;else if((M|0)==74){c[r>>2]=y;if(a[q+32>>0]|0)a[q+33>>0]=1}c[m>>2]=y;if((t&8)==0&(c[s>>2]|0)==0)c[s>>2]=y}if(!(t&32)){Kg(y);break}else{B=c[y+20>>2]|0;A=B+120|0;c[A>>2]=(c[A>>2]|0)+-1;B=B+136|0;c[y+16>>2]=c[B>>2];c[B>>2]=y;break}}while(0);do if(C|0){s=mb[c[D+200>>2]&255](D,C,K,0)|0;if(!s){m=c[K>>2]|0;k=m+28|0;o=b[k>>1]|8;b[k>>1]=o;q=o&65535;if(q&17){p=q&65519;o=p&65535;b[k>>1]=o;if(q&1){b[k>>1]=p^3;o=c[m+12>>2]|0;c[m+36>>2]=0;p=c[o>>2]|0;c[m+32>>2]=p;if(!p){c[o+4>>2]=m;if(a[o+32>>0]|0)a[o+33>>0]=1}else c[p+36>>2]=m;c[o>>2]=m;m=c[K>>2]|0;o=b[m+28>>1]|0}}if(!(o&32))Kg(m);else{H=c[m+20>>2]|0;E=H+120|0;c[E>>2]=(c[E>>2]|0)+-1;H=H+136|0;c[m+16>>2]=c[H>>2];c[H>>2]=m}break}if(C>>>0<=(c[D+28>>2]|0)>>>0?(E=c[D+56>>2]|0,H=c[D+204>>2]|0,E|0):0){m=E;o=C+-1|0;while(1){n=c[m+8>>2]|0;if(!n){M=88;break}m=c[m+12+(((o>>>0)/(n>>>0)|0)<<2)>>2]|0;if(!m)break;else o=(o>>>0)%(n>>>0)|0}do if((M|0)==88){if((c[m>>2]|0)>>>0<4001){j=m+12+(o>>>3)|0;a[j>>0]=d[j>>0]&(1<<(o&7)^255);break}r=m+12|0;Tt(H|0,r|0,500)|0;Vt(r|0,0,500)|0;r=m+4|0;c[r>>2]=0;k=o+1|0;p=0;do{q=H+(p<<2)|0;n=c[q>>2]|0;if(!((n|0)==0|(n|0)==(k|0))){o=((n+-1|0)>>>0)%125|0;c[r>>2]=(c[r>>2]|0)+1;n=m+12+(o<<2)|0;if(c[n>>2]|0)do{n=o+1|0;o=n>>>0>124?0:n;n=m+12+(o<<2)|0}while((c[n>>2]|0)!=0);c[n>>2]=c[q>>2]}p=p+1|0}while((p|0)!=125)}while(0);c[P>>2]=s;P=s;l=Q;return P|0}c[P>>2]=s;P=s;l=Q;return P|0}while(0);c[P>>2]=0;c[F>>2]=j;switch(h<<24>>24){case 1:case 5:{m=yh(g)|0;c[P>>2]=m;if(m|0){P=m;l=Q;return P|0}if(h<<24>>24==1){P=0;l=Q;return P|0}break}default:{m=c[g+56>>2]|0;m=d[m+1>>0]<<16|d[m>>0]<<24|d[m+2>>0]<<8|d[m+3>>0];if(m|0?(zh(f,m,4,j,P),G=c[P>>2]|0,G|0):0){P=G;l=Q;return P|0}}}m=c[f>>2]|0;m=mb[c[m+200>>2]&255](m,i,K,0)|0;if(m|0){c[P>>2]=m;P=m;l=Q;return P|0}m=c[K>>2]|0;z=c[m+8>>2]|0;o=z+4|0;if((c[o>>2]|0)==(i|0))A=z+72|0;else{c[z+56>>2]=c[m+4>>2];A=z+72|0;c[A>>2]=m;c[z+52>>2]=f;c[o>>2]=i;a[z+9>>0]=(i|0)==1?100:0}c[P>>2]=0;m=c[A>>2]|0;o=c[m+20>>2]|0;do if((b[m+28>>1]&4)!=0?(c[o+24>>2]|0)>>>0>=(c[m+24>>2]|0)>>>0:0)if(!(c[o+96>>2]|0)){c[P>>2]=0;break}else{n=Mg(m)|0;M=130;break}else M=125;while(0);do if((M|0)==125){n=c[o+40>>2]|0;if(n|0){c[P>>2]=n;M=131;break}if((c[o+148>>2]|0)>>>0>(c[o+152>>2]|0)>>>0){n=Ng(m)|0;M=130;break}else{n=Og(m)|0;M=130;break}}while(0);if((M|0)==130?(c[P>>2]=n,n|0):0)M=131;if((M|0)==131){if(!z){P=n;l=Q;return P|0}m=c[A>>2]|0;if(!(b[m+28>>1]&32)){Kg(m);P=n;l=Q;return P|0}else{P=c[m+20>>2]|0;j=P+120|0;c[j>>2]=(c[j>>2]|0)+-1;P=P+136|0;c[m+16>>2]=c[P>>2];c[P>>2]=m;P=n;l=Q;return P|0}}b:do if(h<<24>>24==4){m=c[z+56>>2]|0;n=m+1|0;o=m+2|0;p=m+3|0;if((d[n>>0]<<16|d[m>>0]<<24|d[o>>0]<<8|d[p>>0]|0)==(O|0)){a[m>>0]=j>>>24;a[n>>0]=j>>>16;a[o>>0]=j>>>8;a[p>>0]=j;m=0;M=158;break}else{c[J>>2]=21258;c[J+4>>2]=63524;c[J+8>>2]=17052;Bc(11,17e3,J);m=11;M=158;break}}else{if((a[z>>0]|0)==0?(I=$g(z)|0,I|0):0){m=I;M=158;break}J=b[z+22>>1]|0;y=J&65535;c:do if(J<<16>>16){q=z+56|0;x=z+24|0;w=z+64|0;r=z+80|0;s=K+16|0;t=K+12|0;u=K+18|0;v=z+52|0;if(h<<24>>24==3)m=0;else{s=c[q>>2]|0;r=c[w>>2]|0;q=e[x>>1]|0;m=0;while(1){n=r+(m<<1)|0;n=s+((d[n>>0]<<8|d[n+1>>0])&q)|0;o=n+1|0;p=n+2|0;k=n+3|0;if((d[o>>0]<<16|d[n>>0]<<24|d[p>>0]<<8|d[k>>0]|0)==(O|0))break;m=m+1|0;if((m|0)>=(y|0))break c}a[n>>0]=j>>>24;a[o>>0]=j>>>16;a[p>>0]=j>>>8;a[k>>0]=j;break}while(1){n=(c[w>>2]|0)+(m<<1)|0;n=(c[q>>2]|0)+((d[n>>0]<<8|d[n+1>>0])&e[x>>1])|0;rb[c[r>>2]&255](z,n,K);if((e[s>>1]|0)>>>0<(c[t>>2]|0)>>>0){n=n+(e[u>>1]|0)|0;if(n>>>0>((c[q>>2]|0)+(c[(c[v>>2]|0)+36>>2]|0)|0)>>>0){M=149;break}n=n+-4|0;o=n+1|0;p=n+2|0;k=n+3|0;if((d[o>>0]<<16|d[n>>0]<<24|d[p>>0]<<8|d[k>>0]|0)==(O|0)){M=151;break}}m=m+1|0;if((m|0)>=(y|0))break c}if((M|0)==149){c[L>>2]=21258;c[L+4>>2]=63543;c[L+8>>2]=17052;Bc(11,17e3,L);m=11;M=158;break b}else if((M|0)==151){a[n>>0]=j>>>24;a[o>>0]=j>>>16;a[p>>0]=j>>>8;a[k>>0]=j;break}}else m=0;while(0);if((m|0)==(y|0)){do if(h<<24>>24==5){m=(c[z+56>>2]|0)+((d[z+9>>0]|0)+8)|0;n=m+1|0;o=m+2|0;p=m+3|0;if((d[n>>0]<<16|d[m>>0]<<24|d[o>>0]<<8|d[p>>0]|0)!=(O|0))break;a[m>>0]=j>>>24;a[n>>0]=j>>>16;a[o>>0]=j>>>8;a[p>>0]=j;m=0;M=158;break b}while(0);c[N>>2]=21258;c[N+4>>2]=63561;c[N+8>>2]=17052;Bc(11,17e3,N);m=11}else m=0;c[P>>2]=m;if(z){n=m;M=160}}while(0);if((M|0)==158){c[P>>2]=m;n=m;M=160}do if((M|0)==160){m=c[A>>2]|0;if(!(b[m+28>>1]&32)){Kg(m);m=n;break}else{O=c[m+20>>2]|0;N=O+120|0;c[N>>2]=(c[N>>2]|0)+-1;O=O+136|0;c[m+16>>2]=c[O>>2];c[O>>2]=m;m=n;break}}while(0);if(m|0){P=m;l=Q;return P|0}zh(f,j,h,i,P);P=c[P>>2]|0;l=Q;return P|0}while(0);c[P>>2]=m;P=m;l=Q;return P|0}function yh(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+32|0;t=z;w=z+24|0;u=f+52|0;x=c[u>>2]|0;v=f+4|0;y=c[v>>2]|0;if(!(a[f>>0]|0)){g=$g(f)|0;c[w>>2]=g;if(g|0){y=g;l=z;return y|0}}else c[w>>2]=0;s=b[f+22>>1]|0;k=s&65535;a:do if(!(s<<16>>16))g=f+8|0;else{m=f+56|0;n=f+24|0;o=f+64|0;p=f+80|0;q=t+16|0;r=t+12|0;s=t+18|0;g=f+8|0;h=0;j=0;while(1){i=(c[o>>2]|0)+(h<<1)|0;i=(c[m>>2]|0)+((d[i>>0]<<8|d[i+1>>0])&e[n>>1])|0;if((j|0)==0?(rb[c[p>>2]&255](f,i,t),(e[q>>1]|0)>>>0<(c[r>>2]|0)>>>0):0){j=i+((e[s>>1]|0)+-4)|0;zh(c[u>>2]|0,d[j+1>>0]<<16|d[j>>0]<<24|d[j+2>>0]<<8|d[j+3>>0],3,c[v>>2]|0,w)}if(!(a[g>>0]|0))zh(x,d[i+1>>0]<<16|d[i>>0]<<24|d[i+2>>0]<<8|d[i+3>>0],5,y,w);h=h+1|0;if((h|0)==(k|0))break a;j=c[w>>2]|0}}while(0);if(!(a[g>>0]|0)){f=(c[f+56>>2]|0)+((d[f+9>>0]|0)+8)|0;zh(x,d[f+1>>0]<<16|d[f>>0]<<24|d[f+2>>0]<<8|d[f+3>>0],5,y,w)}y=c[w>>2]|0;l=z;return y|0}function zh(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;m=r+16|0;j=r;q=r+28|0;if(c[i>>2]|0){l=r;return}switch(f|0){case 0:{c[j>>2]=21258;c[j+4>>2]=61017;c[j+8>>2]=17052;Bc(11,17e3,j);c[i>>2]=11;l=r;return}case 1:{k=0;break}default:{k=f+-2|0;k=k-((k>>>0)%(((((c[e+36>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;k=((k+1|0)==(1073741824/((c[e+32>>2]|0)>>>0)|0|0)?3:2)+k|0}}j=c[e>>2]|0;j=mb[c[j+200>>2]&255](j,k,q,0)|0;if(j|0){c[i>>2]=j;l=r;return}n=(f-k|0)*5|0;j=n+-5|0;a:do if((j|0)<0){c[m>>2]=21258;c[m+4>>2]=61028;c[m+8>>2]=17052;Bc(11,17e3,m);c[i>>2]=11}else{m=c[q>>2]|0;f=c[m+4>>2]|0;k=f+j|0;if((a[k>>0]|0)==g<<24>>24?(e=f+(n+-4)|0,(d[e+1>>0]<<16|d[e>>0]<<24|d[e+2>>0]<<8|d[e+3>>0]|0)==(h|0)):0)break;e=c[m+20>>2]|0;do if((b[m+28>>1]&4)!=0?(c[e+24>>2]|0)>>>0>=(c[m+24>>2]|0)>>>0:0)if(!(c[e+96>>2]|0)){c[i>>2]=0;break}else{o=Mg(m)|0;p=21;break}else p=16;while(0);do if((p|0)==16){j=c[e+40>>2]|0;if(j|0){c[i>>2]=j;break a}if((c[e+148>>2]|0)>>>0>(c[e+152>>2]|0)>>>0){o=Ng(m)|0;p=21;break}else{o=Og(m)|0;p=21;break}}while(0);if((p|0)==21?(c[i>>2]=o,o|0):0)break;a[k>>0]=g;i=f+(n+-4)|0;a[i>>0]=h>>>24;a[i+1>>0]=h>>>16;a[i+2>>0]=h>>>8;a[i+3>>0]=h}while(0);j=c[q>>2]|0;if(!j){l=r;return}if(!(b[j+28>>1]&32)){Kg(j);l=r;return}else{q=c[j+20>>2]|0;i=q+120|0;c[i>>2]=(c[i>>2]|0)+-1;q=q+136|0;c[j+16>>2]=c[q>>2];c[q>>2]=j;l=r;return}}function Ah(f){f=f|0;var g=0,h=0;if(b[f+42>>1]|0)return;g=f+1|0;a[g>>0]=a[g>>0]|2;g=c[f+116>>2]|0;h=(c[g+64>>2]|0)+(e[f+70>>1]<<1)|0;rb[c[g+80>>2]&255](g,(c[g+56>>2]|0)+((d[h>>0]<<8|d[h+1>>0])&e[g+24>>1])|0,f+24|0);return}function Bh(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+48|0;z=A+16|0;n=A;x=A+32|0;y=A+28|0;o=c[f+116>>2]|0;w=c[f+12>>2]|0;Ah(f);s=c[f+32>>2]|0;q=w+36|0;r=f+40|0;m=e[r>>1]|0;if((s-(c[o+56>>2]|0)|0)>>>0>((c[q>>2]|0)-m|0)>>>0){c[n>>2]=21258;c[n+4>>2]=64659;c[n+8>>2]=17052;Bc(11,17e3,n);z=11;l=A;return z|0}if(m>>>0>g>>>0){p=(h+g|0)>>>0>m>>>0?m-g|0:h;g=s+g|0;m=c[o+72>>2]|0;a:do if(!j){Tt(i|0,g|0,p|0)|0;k=0}else{n=c[m+20>>2]|0;if((b[m+28>>1]&4)!=0?(c[n+24>>2]|0)>>>0>=(c[m+24>>2]|0)>>>0:0){if(c[n+96>>2]|0){k=Mg(m)|0;t=13}}else t=9;do if((t|0)==9){k=c[n+40>>2]|0;if(k|0)break a;if((c[n+148>>2]|0)>>>0>(c[n+152>>2]|0)>>>0){k=Ng(m)|0;t=13;break}else{k=Og(m)|0;t=13;break}}while(0);if((t|0)==13?k|0:0)break;Tt(g|0,i|0,p|0)|0;k=0}while(0);t=0;h=h-p|0;i=i+p|0}else{t=g-m|0;k=0}do if((k|0)==0&(h|0)!=0){m=c[q>>2]|0;u=m+-4|0;k=e[r>>1]|0;p=s+k|0;p=(d[p+1>>0]|0)<<16|(d[p>>0]|0)<<24|(d[p+2>>0]|0)<<8|(d[p+3>>0]|0);c[x>>2]=p;o=f+1|0;do if(a[o>>0]&4){k=(t>>>0)/(u>>>0)|0;m=c[(c[f+20>>2]|0)+(k<<2)>>2]|0;if(!m){o=0;m=t;n=i;g=p;t=26}else{c[x>>2]=m;c[(c[f+20>>2]|0)+(k<<2)>>2]=m;o=k;p=(t>>>0)%(u>>>0)|0;k=m;t=32}}else{g=((m+-5+(c[f+36>>2]|0)-k|0)>>>0)/(u>>>0)|0;m=f+4|0;n=f+20|0;k=c[n>>2]|0;if((g|0)>(c[m>>2]|0)){k=Oc(k,g<<3,0)|0;if(!k){k=7;t=53;break}c[m>>2]=g<<1;c[n>>2]=k}Vt(k|0,0,g<<2|0)|0;a[o>>0]=a[o>>0]|4;o=0;m=t;n=i;g=p;t=26}while(0);while(1){if((t|0)==26){if(!g){k=0;t=52;break}k=c[f+20>>2]|0;c[k+(o<<2)>>2]=g;if(m>>>0>>0){p=m;i=n;k=g;t=32;continue}k=c[k+(o+1<<2)>>2]|0;if(!k)k=Ch(w,g,0,x)|0;else{c[x>>2]=k;k=0}g=o;m=m-u|0}else if((t|0)==32){t=0;q=(p+h|0)>>>0>u>>>0?u-p|0:h;s=c[w>>2]|0;m=(j|0)==0;k=mb[c[s+200>>2]&255](s,k,y,m?2:0)|0;do if(!k){g=c[y>>2]|0;n=c[g+4>>2]|0;c[x>>2]=(d[n+1>>0]|0)<<16|(d[n>>0]|0)<<24|(d[n+2>>0]|0)<<8|(d[n+3>>0]|0);n=n+(p+4)|0;b:do if(m){Tt(i|0,n|0,q|0)|0;k=0}else{m=c[g+20>>2]|0;if((b[g+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[g+24>>2]|0)>>>0:0){if(c[m+96>>2]|0){v=Mg(g)|0;t=42}}else t=38;do if((t|0)==38){k=c[m+40>>2]|0;if(k|0)break b;if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){v=Ng(g)|0;t=42;break}else{v=Og(g)|0;t=42;break}}while(0);if((t|0)==42?(0,v|0):0){k=v;break}Tt(n|0,i|0,q|0)|0;k=0}while(0);m=c[y>>2]|0;if(m)if(!(b[m+28>>1]&32)){Kg(m);m=0;break}else{t=c[m+20>>2]|0;s=t+120|0;c[s>>2]=(c[s>>2]|0)+-1;t=t+136|0;c[m+16>>2]=c[t>>2];c[t>>2]=m;m=0;break}else m=0}else m=p;while(0);h=h-q|0;if(!h){t=53;continue}else{g=o;n=i+q|0}}else if((t|0)==53){t=56;break}if(k|0){t=52;break}o=g+1|0;g=c[x>>2]|0;t=26}if((t|0)==52)break;else if((t|0)==56){l=A;return k|0}}while(0);if(!((k|0)==0&(h|0)!=0)){z=k;l=A;return z|0}c[z>>2]=21258;c[z+4>>2]=64807;c[z+8>>2]=17052;Bc(11,17e3,z);z=11;l=A;return z|0}function Ch(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;p=t;n=t+4|0;do if(a[e+17>>0]|0){k=1073741824/((c[e+32>>2]|0)>>>0)|0;m=e+36|0;q=f;do{i=q;q=q+1|0;if(q>>>0<2)j=0;else{j=i+-1|0;j=j-((j>>>0)%(((((c[m>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;j=((j+1|0)==(k|0)?3:2)+j|0}}while((j|0)==(q|0)|(i|0)==(k|0));if(q>>>0<=(c[e+44>>2]|0)>>>0?(o=vh(e,q,n,p)|0,m=(o|0)==0,r=m&(a[n>>0]|0)==4&(c[p>>2]|0)==(f|0),r|m^1):0){k=0;j=r?101:o;i=r?q:0;break}else{s=9;break}}else s=9;while(0);do if((s|0)==9){i=c[e>>2]|0;i=mb[c[i+200>>2]&255](i,f,p,(g|0)==0?2:0)|0;if(i|0){k=0;j=i;i=0;break}i=c[p>>2]|0;k=c[i+8>>2]|0;j=k+4|0;if((c[j>>2]|0)==(f|0))i=c[k+56>>2]|0;else{s=c[i+4>>2]|0;c[k+56>>2]=s;c[k+72>>2]=i;c[k+52>>2]=e;c[j>>2]=f;a[k+9>>0]=(f|0)==1?100:0;i=s}j=0;i=d[i+1>>0]<<16|d[i>>0]<<24|d[i+2>>0]<<8|d[i+3>>0]}while(0);c[h>>2]=i;if(g|0){c[g>>2]=k;h=(j|0)==101;h=h?0:j;l=t;return h|0}if(!k){h=(j|0)==101;h=h?0:j;l=t;return h|0}i=c[k+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=(j|0)==101;h=h?0:j;l=t;return h|0}else{h=c[i+20>>2]|0;g=h+120|0;c[g>>2]=(c[g>>2]|0)+-1;h=h+136|0;c[i+16>>2]=c[h>>2];c[h>>2]=i;h=(j|0)==101;h=h?0:j;l=t;return h|0}return 0}function Dh(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=c[d+4>>2]|0;g=c[d>>2]|0;a[j+19>>0]=0;k=d+8|0;if(a[k>>0]|0){if((c[g+164>>2]|0)>1){g=j+76|0;if((c[g>>2]|0)==(d|0)?(c[g>>2]=0,f=j+22|0,b[f>>1]=b[f>>1]&-193,f=c[j+72>>2]|0,f|0):0)do{a[f+8>>0]=1;f=c[f+12>>2]|0}while((f|0)!=0);a[k>>0]=1;return}f=j+72|0;g=c[f>>2]|0;a:do if(g|0)while(1){while(1){h=g+12|0;if((c[g>>2]|0)!=(d|0))break;h=c[h>>2]|0;c[f>>2]=h;if((c[g+4>>2]|0)==1)g=h;else{if(!(c[2]|0))pb[c[56>>2]&255](g);else{h=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}g=c[f>>2]|0}if(!g)break a}g=c[h>>2]|0;if(!g)break;else f=h}while(0);f=j+76|0;if((c[f>>2]|0)!=(d|0)){f=j+40|0;g=c[f>>2]|0;if((g|0)==2){g=2;h=-129;i=20}}else{c[f>>2]=0;g=j+40|0;f=g;g=c[g>>2]|0;h=-193;i=20}if((i|0)==20){i=j+22|0;b[i>>1]=e[i>>1]&h}i=g+-1|0;c[f>>2]=i;if(!i)a[j+20>>0]=0}a[k>>0]=0;Eh(j);return}function Eh(b){b=b|0;var d=0;if(a[b+20>>0]|0)return;b=b+12|0;d=c[b>>2]|0;if(!d)return;c[b>>2]=0;d=c[d+72>>2]|0;b=c[d+20>>2]|0;Kg(d);if(c[(c[b+208>>2]|0)+12>>2]|0)return;switch(a[b+16>>0]|0){case 0:case 6:break;case 1:{if(!(a[b+4>>0]|0))ug(b,0,0)|0;break}default:tg(b)|0}sg(b);return}function Fh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;m=t;r=c[e+56>>2]|0;i=e+52|0;s=c[i>>2]|0;h=d[e+9>>0]|0;g=r+h|0;k=s+36|0;if(b[s+22>>1]&12)Vt(g|0,0,(c[k>>2]|0)-h|0)|0;a[g>>0]=f;p=h+(f>>>1&4^12)|0;q=p&65535;n=r+(h+1)|0;a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;a[r+(h+7)>>0]=0;n=r+(h+5)|0;a[n>>0]=(c[k>>2]|0)>>>8;a[n+1>>0]=c[k>>2];n=c[k>>2]|0;b[e+20>>1]=n-p;o=f>>>3;h=o&255;a[e+8>>0]=h;o=4-(o<<2)&255;g=e+10|0;a[g>>0]=o;j=e+76|0;c[j>>2]=182;i=c[i>>2]|0;switch(f&-9|0){case 5:{a[e+2>>0]=1;g=e+3|0;if(!(h<<24>>24)){a[g>>0]=0;c[j>>2]=183;g=226}else{a[g>>0]=1;g=225}c[e+80>>2]=g;b[e+14>>1]=b[i+28>>1]|0;g=i+30|0;break}case 2:{a[e+2>>0]=0;a[e+3>>0]=0;c[e+80>>2]=224;b[e+14>>1]=b[i+24>>1]|0;g=i+26|0;break}default:{c[m>>2]=21258;c[m+4>>2]=61851;c[m+8>>2]=17052;Bc(11,17e3,m);n=c[k>>2]|0;o=a[g>>0]|0;m=e+18|0;b[m>>1]=q;n=r+n|0;q=e+60|0;c[q>>2]=n;p=r+p|0;q=e+64|0;c[q>>2]=p;q=o&255;q=r+q|0;r=e+68|0;c[r>>2]=q;r=e+12|0;a[r>>0]=0;r=s+32|0;r=c[r>>2]|0;r=r+65535|0;r=r&65535;s=e+24|0;b[s>>1]=r;s=e+22|0;b[s>>1]=0;a[e>>0]=1;l=t;return}}b[e+16>>1]=b[g>>1]|0;a[e+11>>0]=a[i+21>>0]|0;m=e+18|0;b[m>>1]=q;n=r+n|0;q=e+60|0;c[q>>2]=n;p=r+p|0;q=e+64|0;c[q>>2]=p;q=o&255;q=r+q|0;r=e+68|0;c[r>>2]=q;r=e+12|0;a[r>>0]=0;r=s+32|0;r=c[r>>2]|0;r=r+65535|0;r=r&65535;s=e+24|0;b[s>>1]=r;s=e+22|0;b[s>>1]=0;a[e>>0]=1;l=t;return}function Gh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+48|0;q=H+16|0;F=H;v=H+32|0;h=H+28|0;D=d+212|0;f=c[D>>2]|0;a:do if(!f){C=d+16|0;b:do if(!(a[C>>0]|0)){r=d+17|0;B=d+13|0;A=d+60|0;f=d+176|0;g=d+180|0;c:while(1){e=a[r>>0]|0;switch(e<<24>>24){case 0:case 5:break;default:{u=11;break c}}if(a[B>>0]|0){u=8;break}e=c[A>>2]|0;e=kb[c[(c[e>>2]|0)+28>>2]&255](e,1)|0;switch(e|0){case 0:{u=7;break c}case 5:break;default:{u=136;break a}}if(!(jb[c[f>>2]&255](c[g>>2]|0)|0)){e=5;u=138;break a}}if((u|0)==7){e=a[r>>0]|0;u=8}else if((u|0)==11)if((e&255)<2)u=12;else u=48;if((u|0)==8)if(e<<24>>24==5)u=48;else{a[r>>0]=1;u=12}if((u|0)==12){g=c[d>>2]|0;c[v>>2]=1;j=d+64|0;k=(c[c[j>>2]>>2]|0)!=0;if(k){e=0;f=1}else{e=mb[c[g+32>>2]&255](g,c[d+172>>2]|0,0,v)|0;f=c[v>>2]|0}if((f|0)!=0&(e|0)==0){c[h>>2]=0;e=c[A>>2]|0;e=kb[c[(c[e>>2]|0)+36>>2]&255](e,h)|0;d:do if(!(c[h>>2]|e)){e=c[D>>2]|0;if(((e|0)!=0?(b[e+40>>1]|0)>-1:0)?(i=c[e+72>>2]|0,(i|0)!=0):0){e=i;u=22}else u=19;do if((u|0)==19){e=c[A>>2]|0;f=c[e>>2]|0;if(f){i=F;c[i>>2]=0;c[i+4>>2]=0;e=kb[c[f+24>>2]&255](e,F)|0;if(!e){i=F;u=c[d+152>>2]|0;e=((u|0)<0)<<31>>31;i=Ft(c[i>>2]|0,c[i+4>>2]|0,-1,-1)|0;i=Ft(i|0,z|0,u|0,e|0)|0;e=Jt(i|0,z|0,u|0,e|0)|0;u=22;break}else{f=0;break d}}else{m=0;u=25}}while(0);if((u|0)==22){f=d+156|0;if(e>>>0>(c[f>>2]|0)>>>0)c[f>>2]=e;else{m=e;u=25}}if((u|0)==25?!(k|(m|0)!=0):0){e=a[r>>0]|0;switch(e<<24>>24){case 0:case 1:case 5:{if(!(a[B>>0]|0)){o=c[A>>2]|0;if(kb[c[(c[o>>2]|0)+28>>2]&255](o,2)|0){f=0;e=0;break d}e=a[r>>0]|0}if(e<<24>>24!=5)a[r>>0]=2;break}default:{}}lb[c[g+28>>2]&255](g,c[d+172>>2]|0,0)|0;if(a[d+4>>0]|0){f=0;e=0;break}e=c[A>>2]|0;f=c[e>>2]|0;if(!f){f=0;e=0;break}if(!(a[B>>0]|0))kb[c[f+32>>2]&255](e,1)|0;if((a[r>>0]|0)==5){f=0;e=0;break}a[r>>0]=1;f=0;e=0;break}e:do if(!k){c[F>>2]=2049;e=nb[c[g+24>>2]&255](g,c[d+172>>2]|0,c[j>>2]|0,2049,F)|0;switch(e|0){case 0:break e;case 14:break;default:{f=0;break d}}f=1;e=0;break d}while(0);a[F>>0]=0;e=c[j>>2]|0;e=nb[c[(c[e>>2]|0)+8>>2]&255](e,F,1,0,0)|0;e=(e|0)==522?0:e;if(!k?(n=c[j>>2]|0,o=c[n>>2]|0,o|0):0){jb[c[o+4>>2]&255](n)|0;c[n>>2]=0}f=(a[F>>0]|0)!=0&1}else f=0;while(0)}else f=0;if(e|0){u=138;break a}if(f|0)u=48}do if((u|0)==48){if(a[d+14>>0]|0){e=776;u=138;break a}switch(a[r>>0]|0){case 0:case 1:case 2:case 3:case 5:{if((a[B>>0]|0)==0?(p=c[A>>2]|0,p=kb[c[(c[p>>2]|0)+28>>2]&255](p,4)|0,p|0):0){e=p;u=138;break a}a[r>>0]=4;break}default:{}}h=d+64|0;e=c[h>>2]|0;f=c[e>>2]|0;if(!f){f=c[d>>2]|0;g=d+172|0;e=mb[c[f+32>>2]&255](f,c[g>>2]|0,0,F)|0;if((e|0)==0&(c[F>>2]|0)!=0){c[v>>2]=0;e=nb[c[f+24>>2]&255](f,c[g>>2]|0,c[h>>2]|0,2050,v)|0;if(!e)if(c[v>>2]&1){c[q>>2]=17915;c[q+4>>2]=52830;c[q+8>>2]=17052;Bc(14,17e3,q);e=c[h>>2]|0;f=c[e>>2]|0;if(!f)e=14;else{jb[c[f+4>>2]&255](e)|0;c[e>>2]=0;e=14}}else e=0}g=c[h>>2]|0;f=c[g>>2]|0;if(!f)if((a[d+4>>0]|0)==0?(s=c[A>>2]|0,t=c[s>>2]|0,(t|0)!=0):0){if(!(a[B>>0]|0))kb[c[t+32>>2]&255](s,1)|0;if((a[r>>0]|0)!=5){a[r>>0]=1;u=72}else u=72}else u=72;else{e=g;u=61}}else u=61;do if((u|0)==61){if(!(a[d+7>>0]|0)){e=kb[c[f+20>>2]&255](e,2)|0;if(e|0)break;e=c[h>>2]|0;f=c[e>>2]|0}e=kb[c[f+24>>2]&255](e,d+80|0)|0;if(!e){e=Dg(d,(a[d+12>>0]|0)==0&1)|0;a[C>>0]=0;u=72}}while(0);if((u|0)==72)if(!e)break;switch((e&255)<<24>>24){case 10:case 13:break;default:{u=138;break a}}c[d+40>>2]=e;a[C>>0]=6;c[d+200>>2]=139;u=138;break a}while(0);h=d+12|0;if(!(a[h>>0]|0)){if(a[d+23>>0]|0){e=c[A>>2]|0;e=nb[c[(c[e>>2]|0)+8>>2]&255](e,F,16,24,0)|0;switch(e|0){case 0:break;case 522:{e=F;f=e+16|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));break}default:{u=136;break a}}if(Bs(d+104|0,F,16)|0)jg(d);if(a[h>>0]|0){e=0;break}}e=c[d>>2]|0;g=d+216|0;e=mb[c[e+32>>2]&255](e,c[g>>2]|0,0,v)|0;f:do if(!e){if(!(c[v>>2]|0)){e=d+5|0;if((a[e>>0]|0)!=5){e=0;break}a[e>>0]=0;e=0;break}e=c[D>>2]|0;if(((e|0)!=0?(b[e+40>>1]|0)>-1:0)?(w=c[e+72>>2]|0,(w|0)!=0):0){f=w;u=91}else u=88;do if((u|0)==88?(x=c[A>>2]|0,y=c[x>>2]|0,y|0):0){e=F;c[e>>2]=0;c[e+4>>2]=0;e=kb[c[y+24>>2]&255](x,F)|0;if(!e){y=F;u=c[d+152>>2]|0;f=((u|0)<0)<<31>>31;y=Ft(c[y>>2]|0,c[y+4>>2]|0,-1,-1)|0;y=Ft(y|0,z|0,u|0,f|0)|0;f=Jt(y|0,z|0,u|0,f|0)|0;u=91;break}else break b}while(0);do if((u|0)==91){e=d+156|0;if(f>>>0<=(c[e>>2]|0)>>>0){if(!f)break}else c[e>>2]=f;if(a[h>>0]|0)_a();if(c[D>>2]|0)_a();e=c[c[A>>2]>>2]|0;if(a[B>>0]|0){e=14;break f}if(!(a[d+4>>0]|0)){if((c[e>>2]|0)<=1){e=14;break f}if(!(c[e+52>>2]|0)){e=14;break f}}e=c[d+64>>2]|0;f=c[e>>2]|0;if(f|0){jb[c[f+4>>2]&255](e)|0;c[e>>2]=0}e=Hh(d)|0;if(e|0)break f;a[d+5>>0]=5;a[C>>0]=0;e=0;break f}while(0);e=c[d>>2]|0;e=lb[c[e+28>>2]&255](e,c[g>>2]|0,0)|0}while(0)}else e=0}else e=0;while(0);f=c[D>>2]|0;if(!f)u=124;else u=111}else u=111;while(0);if((u|0)==111){c[F>>2]=0;e=f+44|0;if(a[e>>0]|0){if(!(a[f+43>>0]|0)){C=c[f+4>>2]|0;mb[c[(c[C>>2]|0)+56>>2]&255](C,0,1,9)|0}a[e>>0]=0;c[f+104>>2]=0;a[f+47>>0]=0}e=f+40|0;g=b[e>>1]|0;if(g<<16>>16>-1){if(!(a[f+43>>0]|0)){C=c[f+4>>2]|0;mb[c[(c[C>>2]|0)+56>>2]&255](C,(g<<16>>16)+3|0,1,5)|0}b[e>>1]=-1}g=c[D>>2]|0;f=0;do{f=f+1|0;e=kh(g,F,0,f)|0}while((e|0)==-1);if(c[F>>2]|e|0)jg(d);u=124}g:do if((u|0)==124)if((a[d+12>>0]|0)==0?(G=d+16|0,(e|0)==0&(a[G>>0]|0)==0):0){g=d+24|0;e=c[D>>2]|0;if(((e|0)!=0?(b[e+40>>1]|0)>-1:0)?(E=c[e+72>>2]|0,(E|0)!=0):0){e=E;u=133}else u=129;do if((u|0)==129){e=c[d+60>>2]|0;f=c[e>>2]|0;if(f){E=F;c[E>>2]=0;c[E+4>>2]=0;e=kb[c[f+24>>2]&255](e,F)|0;if(!e){u=c[d+152>>2]|0;e=((u|0)<0)<<31>>31;F=Ft(c[F>>2]|0,c[F+4>>2]|0,-1,-1)|0;F=Ft(F|0,z|0,u|0,e|0)|0;e=Jt(F|0,z|0,u|0,e|0)|0;u=133;break}else{u=138;break g}}else e=0}while(0);if((u|0)==133){f=d+156|0;if(e>>>0>(c[f>>2]|0)>>>0)c[f>>2]=e}c[g>>2]=e;e=G;u=139}else u=136;while(0);if((u|0)==136)if(!e){e=d+16|0;u=139}else u=138;if((u|0)==138){sg(d);d=e;l=H;return d|0}else if((u|0)==139){a[e>>0]=1;a[d+23>>0]=1;d=0;l=H;return d|0}return 0}function Hh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;t=v;f=d+4|0;e=a[f>>0]|0;a:do if(!(e<<24>>24))e=0;else{i=d+17|0;switch(a[i>>0]|0){case 0:case 1:case 2:case 3:case 5:break;default:break a}h=d+13|0;do if(!(a[h>>0]|0)){e=d+60|0;g=c[e>>2]|0;g=kb[c[(c[g>>2]|0)+28>>2]&255](g,4)|0;if(!g){e=a[f>>0]|0;break}e=c[e>>2]|0;f=c[e>>2]|0;if(!f){u=g;l=v;return u|0}if(!(a[h>>0]|0))kb[c[f+32>>2]&255](e,1)|0;if((a[i>>0]|0)==5){u=g;l=v;return u|0}a[i>>0]=1;u=g;l=v;return u|0}while(0);a[i>>0]=4}while(0);p=c[d>>2]|0;r=c[d+60>>2]|0;q=c[d+216>>2]|0;k=d+160|0;j=c[k>>2]|0;k=c[k+4>>2]|0;s=d+212|0;c[s>>2]=0;i=(c[p+4>>2]|0)+120|0;o=Ft(i|0,0,-1,-1)|0;n=z;do if(!(n>>>0>0|(n|0)==0&o>>>0>2147483390)){if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;if(!f){e=7;break}else u=23}else{f=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){n=c[11822]|0;o=Gt(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&n>>>0>=o>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){e=7;break}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;Vt(f|0,0,i|0)|0;o=f}else u=23}if((u|0)==23){Vt(f|0,0,i|0)|0;o=f}c[o>>2]=p;i=o+120|0;m=o+8|0;c[m>>2]=i;n=o+4|0;c[n>>2]=r;b[o+40>>1]=-1;f=o+16|0;c[f>>2]=j;c[f+4>>2]=k;c[o+108>>2]=q;f=o+48|0;a[f>>0]=1;g=o+49|0;a[g>>0]=1;d=o+43|0;a[d>>0]=e<<24>>24?2:0;c[t>>2]=524294;e=nb[c[p+24>>2]&255](p,q,i,524294,t)|0;if(!e){if(c[t>>2]&1|0)a[o+46>>0]=1;e=jb[c[(c[r>>2]|0)+48>>2]&255](r)|0;if(e&1024|0)a[f>>0]=0;if(e&4096|0)a[g>>0]=0;c[s>>2]=o;e=0;break}f=a[d>>0]|0;if(f<<24>>24!=2?(a[o+50>>0]|0)==0:0)u=39;else{i=o+24|0;if((c[i>>2]|0)>0){g=o+32|0;f=0;do{h=c[(c[g>>2]|0)+(f<<2)>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{t=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[(c[g>>2]|0)+(f<<2)>>2]=0;f=f+1|0}while((f|0)<(c[i>>2]|0));f=a[d>>0]|0}if(f<<24>>24!=2)u=39}if((u|0)==39){u=c[n>>2]|0;kb[c[(c[u>>2]|0)+64>>2]&255](u,0)|0}f=c[m>>2]|0;g=c[f>>2]|0;if(g|0){jb[c[g+4>>2]&255](f)|0;c[f>>2]=0}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{u=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}else e=7;while(0);u=e;l=v;return u|0}function Ih(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;n=a+96|0;e=c[n>>2]|0;d=a+92|0;q=Oc(c[d>>2]|0,b*48|0,0)|0;if(!q){r=7;return r|0}Vt(q+(e*48|0)|0,0,(b-e|0)*48|0)|0;c[d>>2]=q;if((e|0)>=(b|0)){r=0;return r|0}i=a+24|0;j=a+64|0;k=a+148|0;l=a+52|0;m=a+212|0;h=a+72|0;d=e;while(1){g=c[i>>2]|0;c[q+(d*48|0)+20>>2]=g;if((c[c[j>>2]>>2]|0)!=0?(p=h,o=c[p>>2]|0,p=c[p+4>>2]|0,(p|0)>0|(p|0)==0&o>>>0>0):0){a=o;e=p}else{a=c[k>>2]|0;e=0}f=q+(d*48|0)|0;c[f>>2]=a;c[f+4>>2]=e;c[q+(d*48|0)+24>>2]=c[l>>2];if(!(c[2]|0)){a=jb[c[52>>2]&255](512)|0;if(!a)break;else r=17}else{a=jb[c[68>>2]&255](512)|0;if((c[11829]|0)>>>0<512)c[11829]=512;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){s=c[11822]|0;f=Gt(e|0,f|0,a|0,((a|0)<0)<<31>>31|0)|0;e=z;c[11616]=(0>(e|0)|0==(e|0)&s>>>0>=f>>>0)&1}a=jb[c[52>>2]&255](a)|0;if(!a)break;e=jb[c[64>>2]&255](a)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0){c[11831]=e;Vt(a|0,0,512)|0}else r=17}if((r|0)==17){r=0;Vt(a|0,0,512)|0}c[a>>2]=g;c[q+(d*48|0)+16>>2]=a;a=c[m>>2]|0;if(a|0){c[q+(d*48|0)+28>>2]=c[a+68>>2];c[q+(d*48|0)+32>>2]=c[a+76>>2];c[q+(d*48|0)+36>>2]=c[a+80>>2];c[q+(d*48|0)+40>>2]=c[a+112>>2]}d=d+1|0;c[n>>2]=d;if((d|0)>=(b|0)){d=0;r=23;break}}if((r|0)==23)return d|0;c[q+(d*48|0)+16>>2]=0;s=7;return s|0}function Jh(a){a=a|0;var b=0,d=0,e=0;if(!a){e=0;return e|0}e=c[a+20>>2]|0;b=c[a+24>>2]|0;d=c[b+4>>2]|0;c[d+4>>2]=c[b>>2];if(c[a>>2]|0){b=b+16|0;c[b>>2]=(c[b>>2]|0)+-1}if(c[a+40>>2]|0){b=(c[d>>2]|0)+88|0;while(1){d=c[b>>2]|0;if((d|0)==(a|0))break;else b=d+44|0}c[b>>2]=c[a+44>>2]}Kh(c[a+4>>2]|0,0,0);d=c[a+28>>2]|0;d=(d|0)==101?0:d;b=c[a>>2]|0;do if(b|0){c[b+56>>2]=d;if(!((d|0)==0?(c[b+248>>2]|0)==0:0)){dg(b,d);b=c[a>>2]|0}Lh(b);if(c[a>>2]|0)if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}while(0);Lh(e);e=d;return e|0}function Kh(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;k=l;l=l+16|0;h=k;j=c[b+4>>2]|0;c[j+4>>2]=c[b>>2];if(!e){e=c[j+8>>2]|0;if(e|0?(g=th(e,0,0)|0,g|0):0){f=0;e=g;i=4}}else i=4;if((i|0)==4)Ph(b,e,f)|0;if((a[b+8>>0]|0)!=2){Dh(b);l=k;return}tg(c[j>>2]|0)|0;i=c[j>>2]|0;if(!(mb[c[i+200>>2]&255](i,1,h,0)|0)){e=c[h>>2]|0;g=c[e+8>>2]|0;f=g+4|0;if((c[f>>2]|0)==1)e=c[g+56>>2]|0;else{i=c[e+4>>2]|0;c[g+56>>2]=i;c[g+72>>2]=e;c[g+52>>2]=j;c[f>>2]=1;a[g+9>>0]=100;e=i}e=d[e+29>>0]<<16|d[e+28>>0]<<24|d[e+30>>0]<<8|d[e+31>>0];if(!e)e=c[(c[j>>2]|0)+24>>2]|0;c[j+44>>2]=e;i=c[g+72>>2]|0;e=c[i+20>>2]|0;Kg(i);if(!(c[(c[e+208>>2]|0)+12>>2]|0)){switch(a[e+16>>0]|0){case 0:case 6:break;case 1:{if(!(a[e+4>>0]|0))ug(e,0,0)|0;break}default:tg(e)|0}sg(e)}}a[j+20>>0]=1;j=j+60|0;vg(c[j>>2]|0);c[j>>2]=0;Dh(b);l=k;return} +function Xk(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;u=l;l=l+160|0;r=u+16|0;p=u+8|0;o=u;q=u+24|0;f=c[g>>2]|0;do if(f){g=e[f+8>>1]|0;if((g&514|0)==514?(a[f+10>>0]|0)==1:0){f=c[f+16>>2]|0;break}if(!(g&1))f=Jc(f,1)|0;else f=0}else f=0;while(0);t=c[(c[b>>2]|0)+32>>2]|0;n=(f|0)==0?47328:f;s=t+20|0;m=c[s>>2]|0;a:do if((m|0)>0){k=c[t+16>>2]|0;f=0;do{h=k+(f<<4)|0;if(c[k+(f<<4)+4>>2]|0){i=c[h>>2]|0;j=a[i>>0]|0;g=(d[17324+(j&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0;if(!(j<<24>>24==0|(g|0)!=0)){j=n;do{i=i+1|0;j=j+1|0;v=a[i>>0]|0;g=(d[17324+(v&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(v<<24>>24==0|(g|0)!=0))}if(!g)break a}f=f+1|0}while((f|0)<(m|0))}else{f=0;h=0}while(0);do if((f|0)<(m|0)){if((f|0)<2){c[p>>2]=n;wd(128,q,29665,p)|0;break}f=h+4|0;g=c[f>>2]|0;if((a[g+8>>0]|0)==0?(c[g+16>>2]|0)==0:0){Nh(g);c[f>>2]=0;c[h+12>>2]=0;if((c[s>>2]|0)>2){f=t+16|0;k=t+464|0;m=t+296|0;n=t+300|0;o=t+292|0;j=2;g=2;do{h=c[f>>2]|0;i=h+(j<<4)|0;if(!(c[h+(j<<4)+4>>2]|0)){h=c[i>>2]|0;do if(h|0){if(c[k>>2]|0){Lc(t,h);break}v=h;if(v>>>0>=(c[m>>2]|0)>>>0?v>>>0<(c[n>>2]|0)>>>0:0){c[h>>2]=c[o>>2];c[o>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{v=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[i>>2]=0}else{if((g|0)<(j|0)){v=h+(g<<4)|0;c[v>>2]=c[i>>2];c[v+4>>2]=c[i+4>>2];c[v+8>>2]=c[i+8>>2];c[v+12>>2]=c[i+12>>2]}g=g+1|0}j=j+1|0}while((j|0)<(c[s>>2]|0));c[s>>2]=g;if((g|0)>=3){l=u;return}}else{c[s>>2]=2;f=t+16|0}g=c[f>>2]|0;h=t+400|0;if((g|0)==(h|0)){l=u;return};c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[h+16>>2]=c[g+16>>2];c[h+20>>2]=c[g+20>>2];c[h+24>>2]=c[g+24>>2];c[h+28>>2]=c[g+28>>2];do if(g|0){if(c[t+464>>2]|0){Lc(t,g);break}v=g;if(v>>>0>=(c[t+296>>2]|0)>>>0?v>>>0<(c[t+300>>2]|0)>>>0:0){v=t+292|0;c[g>>2]=c[v>>2];c[v>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{v=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[f>>2]=h;l=u;return}c[r>>2]=n;wd(128,q,29691,r)|0}else{c[o>>2]=n;wd(128,q,29644,o)|0}while(0);c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,q,-1,1,-1)|0;l=u;return}function Yk(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=l;l=l+64|0;F=K+40|0;G=K+32|0;x=K+24|0;w=K+16|0;o=K+8|0;k=K;s=K+60|0;u=K+56|0;t=K+52|0;I=K+48|0;v=K+44|0;J=c[(c[f>>2]|0)+32>>2]|0;c[s>>2]=0;c[u>>2]=0;c[I>>2]=0;g=c[h>>2]|0;do if(g){i=e[g+8>>1]|0;if((i&514|0)==514?(a[g+10>>0]|0)==1:0){j=c[g+16>>2]|0;break}if(!(i&1))j=Jc(g,1)|0;else j=0}else j=0;while(0);g=c[h+4>>2]|0;do if(g){i=e[g+8>>1]|0;if((i&514|0)==514?(a[g+10>>0]|0)==1:0){g=c[g+16>>2]|0;break}if(!(i&1))g=Jc(g,1)|0;else g=0}else g=0;while(0);D=(j|0)==0?47328:j;y=(g|0)==0?47328:g;C=J+20|0;n=c[C>>2]|0;g=c[J+128>>2]|0;a:do if((n|0)<(g+2|0)){B=J+16|0;m=c[B>>2]|0;b:do if((n|0)>0){k=d[17324+(d[y>>0]|0)>>0]|0;h=0;while(1){i=c[m+(h<<4)>>2]|0;A=a[i>>0]|0;g=(d[17324+(A&255)>>0]|0)-k|0;if(!(A<<24>>24==0|(g|0)!=0)){j=y;do{i=i+1|0;j=j+1|0;A=a[i>>0]|0;g=(d[17324+(A&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(A<<24>>24==0|(g|0)!=0))}h=h+1|0;if(!g)break;if((h|0)>=(n|0))break b}c[o>>2]=y;i=Ff(J,29764,o)|0;c[I>>2]=i;g=0;H=156;break a}while(0);A=J+400|0;do if((m|0)==(A|0)){do if(c[J+264>>2]|0)if(!(a[J+73>>0]|0))H=31;else{l=K;return}else{if((e[J+268>>1]|0)>=48){i=J+292|0;g=c[i>>2]|0;if(g|0){c[i>>2]=c[g>>2];r=J+276|0;c[r>>2]=(c[r>>2]|0)+1;break}i=J+288|0;g=c[i>>2]|0;if(!g)g=2;else{c[i>>2]=c[g>>2];r=J+276|0;c[r>>2]=(c[r>>2]|0)+1;break}}else g=1;H=J+276+(g<<2)|0;c[H>>2]=(c[H>>2]|0)+1;H=31}while(0);if((H|0)==31)g=Ec(J,48,0)|0;if(!g){l=K;return}else{r=c[B>>2]|0;c[g>>2]=c[r>>2];c[g+4>>2]=c[r+4>>2];c[g+8>>2]=c[r+8>>2];c[g+12>>2]=c[r+12>>2];c[g+16>>2]=c[r+16>>2];c[g+20>>2]=c[r+20>>2];c[g+24>>2]=c[r+24>>2];c[g+28>>2]=c[r+28>>2];r=g;g=B;break}}else{g=Mc(J,m,(n<<4)+16|0,0)|0;if(!g){l=K;return}else{r=g;g=B;break}}while(0);c[g>>2]=r;p=c[C>>2]|0;q=r+(p<<4)|0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;c[t>>2]=c[J+52>>2];switch(Zk(c[(c[J>>2]|0)+16>>2]|0,D,t,v,s,u)|0){case 0:{g=c[t>>2]|256;c[t>>2]=g;i=c[s>>2]|0;j=r+(p<<4)+4|0;g=fg(c[v>>2]|0,i,J,j,0,g)|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{v=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[C>>2]=(c[C>>2]|0)+1;a[J+81>>0]=0;switch(g|0){case 19:{c[I>>2]=Ff(J,29794,w)|0;g=1;break}case 0:{g=_k(J,c[j>>2]|0)|0;c[r+(p<<4)+12>>2]=g;if(g)if((a[g+76>>0]|0)!=0?(a[g+77>>0]|0)!=(a[J+70>>0]|0):0){c[I>>2]=Ff(J,29823,x)|0;g=1}else g=0;else g=7;j=c[j>>2]|0;k=c[j>>2]|0;h=c[j+4>>2]|0;m=h+4|0;c[m>>2]=k;n=c[h>>2]|0;i=a[J+75>>0]|0;o=(a[n+12>>0]|0)==0;do if(o){x=c[n+212>>2]|0;if(x|0?(a[x+43>>0]|0)==2:0)break;a[n+4>>0]=i}while(0);i=c[(c[B>>2]|0)+4>>2]|0;if(!i)i=0;else{x=c[i+4>>2]|0;c[x+4>>2]=c[i>>2];i=(e[x+22>>1]|0)>>>2&3}if(j|0){c[m>>2]=k;x=h+22|0;b[x>>1]=b[x>>1]&-13&65535|i<<2}h=c[J+28>>2]|0;c[m>>2]=k;j=o^1;a[n+7>>0]=j&1;a[n+8>>0]=o&1;a[n+9>>0]=0;if(o)i=(h&8)>>>3|2;else i=0;a[n+10>>0]=i;x=i&255;x=(x<<2|(o?x:0))&255;a[n+11>>0]=(h&16|0)==0|j?x:x|12;x=n+20|0;w=d[x>>0]|0;a[x>>0]=h&32|0?w&254:w|1;break}default:{}}a[r+(p<<4)+8>>0]=3;y=kg(J,y)|0;c[q>>2]=y;g=(g|0)==0&(y|0)==0?7:g;c:do if(!g){g=c[C>>2]|0;h=c[B>>2]|0;if((g|0)>0){i=0;do{j=c[h+(i<<4)+4>>2]|0;if(j|0)c[(c[j+4>>2]|0)+4>>2]=c[j>>2];i=i+1|0}while((i|0)!=(g|0))}i=J+24|0;j=(c[i>>2]&1|0)==0;y=c[h+12>>2]|0;a[J+70>>0]=a[y+77>>0]|0;if(!(b[y+78>>1]&1)){g=$k(J,0,I)|0;if(g|0)break;g=c[C>>2]|0}if((g|0)>1)do{g=g+-1|0;if((b[(c[(c[B>>2]|0)+(g<<4)+12>>2]|0)+78>>1]&1)==0?(z=$k(J,g,I)|0,z|0):0){g=z;break c}}while((g|0)>1);if(!j){l=K;return}c[i>>2]=c[i>>2]&-2;l=K;return}while(0);i=c[C>>2]|0;r=i+-1|0;h=c[B>>2]|0;j=c[h+(r<<4)+4>>2]|0;if(j){Nh(j);h=c[B>>2]|0;c[h+(r<<4)+4>>2]=0;c[h+(r<<4)+12>>2]=0;i=c[C>>2]|0}d:do if((i|0)>0){j=0;do{k=c[h+(j<<4)+4>>2]|0;if(k|0)c[(c[k+4>>2]|0)+4>>2]=c[k>>2];j=j+1|0}while((j|0)!=(i|0));j=0;while(1){h=c[h+(j<<4)+12>>2]|0;if(h){ph(h);i=c[C>>2]|0}j=j+1|0;if((j|0)>=(i|0))break d;h=c[B>>2]|0}}while(0);z=J+24|0;c[z>>2]=c[z>>2]&-2;z=J+352|0;j=c[z>>2]|0;c[z>>2]=0;if(j){i=c[J+4>>2]|0;if(i)do{z=i+145|0;y=d[z>>0]|d[z+1>>0]<<8|1;a[z>>0]=y;a[z+1>>0]=y>>8;i=c[i+8>>2]|0}while((i|0)!=0);do{h=j;j=c[j+24>>2]|0;k=c[h>>2]|0;y=h+12|0;z=(c[y>>2]|0)+-1|0;c[y>>2]=z;e:do if(!z){i=c[h+8>>2]|0;if(i|0)jb[c[(c[i>>2]|0)+16>>2]&255](i)|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,h);break e}i=h;if(i>>>0<(c[k+296>>2]|0)>>>0)break;if(i>>>0>=(c[k+300>>2]|0)>>>0)break;z=k+292|0;c[h>>2]=c[z>>2];c[z>>2]=h;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{z=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0)}while((j|0)!=0);i=c[C>>2]|0}if((i|0)>2){n=J+464|0;o=J+296|0;p=J+300|0;q=J+292|0;m=2;i=2;do{j=c[B>>2]|0;k=j+(m<<4)|0;if(!(c[j+(m<<4)+4>>2]|0)){j=c[k>>2]|0;f:do if(j|0){if(c[n>>2]|0){Lc(J,j);break}h=j;do if(h>>>0>=(c[o>>2]|0)>>>0){if(h>>>0>=(c[p>>2]|0)>>>0)break;c[j>>2]=c[q>>2];c[q>>2]=j;break f}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{z=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[k>>2]=0}else{if((i|0)<(m|0)){z=j+(i<<4)|0;c[z>>2]=c[k>>2];c[z+4>>2]=c[k+4>>2];c[z+8>>2]=c[k+8>>2];c[z+12>>2]=c[k+12>>2]}i=i+1|0}m=m+1|0}while((m|0)<(c[C>>2]|0));c[C>>2]=i;if((i|0)<3)H=127}else{c[C>>2]=2;H=127}if((H|0)==127?(E=c[B>>2]|0,(E|0)!=(A|0)):0){c[A>>2]=c[E>>2];c[A+4>>2]=c[E+4>>2];c[A+8>>2]=c[E+8>>2];c[A+12>>2]=c[E+12>>2];c[A+16>>2]=c[E+16>>2];c[A+20>>2]=c[E+20>>2];c[A+24>>2]=c[E+24>>2];c[A+28>>2]=c[E+28>>2];g:do if(E|0){if(c[J+464>>2]|0){Lc(J,E);break}i=E;do if(i>>>0>=(c[J+296>>2]|0)>>>0){if(i>>>0>=(c[J+300>>2]|0)>>>0)break;z=J+292|0;c[E>>2]=c[z>>2];c[z>>2]=E;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](E);break}else{z=jb[c[64>>2]&255](E)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](E);break}}while(0);c[B>>2]=A}c[C>>2]=r;if((g|0)<3082)switch(g|0){case 7:break;default:H=154}else switch(g|0){case 3082:break;default:H=154}if((H|0)==154){i=c[I>>2]|0;if(i|0){H=157;break a}c[F>>2]=D;i=Ff(J,29891,F)|0;c[I>>2]=i;H=156;break a}i=J+73|0;if((a[i>>0]|0)==0?(a[J+74>>0]|0)==0:0){a[i>>0]=1;if((c[J+172>>2]|0)>0)c[J+256>>2]=1;H=J+264|0;c[H>>2]=(c[H>>2]|0)+1}i=c[I>>2]|0;h:do if(i|0){if(c[J+464>>2]|0){Lc(J,i);break}j=i;do if(j>>>0>=(c[J+296>>2]|0)>>>0){if(j>>>0>=(c[J+300>>2]|0)>>>0)break;H=J+292|0;c[i>>2]=c[H>>2];c[H>>2]=i;break h}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{H=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);i=Ff(J,21647,G)|0;c[I>>2]=i;H=156;break a}case 7:{g=J+73|0;if((a[g>>0]|0)==0?(a[J+74>>0]|0)==0:0){a[g>>0]=1;if((c[J+172>>2]|0)>0)c[J+256>>2]=1;J=J+264|0;c[J>>2]=(c[J>>2]|0)+1}break}default:{}}g=c[u>>2]|0;c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,g,-1,1,-1)|0;if(!g){l=K;return}if(!(c[2]|0)){pb[c[56>>2]&255](g);l=K;return}else{f=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);l=K;return}}else{c[k>>2]=g;i=Ff(J,29727,k)|0;c[I>>2]=i;g=0;H=156}while(0);if((H|0)==156)if(i)H=157;do if((H|0)==157){c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,i,-1,1,-1)|0;i=c[I>>2]|0;if(i){if(J|0){if(c[J+464>>2]|0){Lc(J,i);break}I=i;if(I>>>0>=(c[J+296>>2]|0)>>>0?I>>>0<(c[J+300>>2]|0)>>>0:0){J=J+292|0;c[i>>2]=c[J>>2];c[J>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{J=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}}while(0);if(!g){l=K;return}c[f+20>>2]=g;a[f+25>>0]=1;i=c[f>>2]|0;if(!(b[i+8>>1]&1)){l=K;return}if((g|0)!=516){g=g&255;if(g>>>0<27?(117374971>>>g&1|0)!=0:0)g=c[4068+(g<<2)>>2]|0;else g=21499}else g=21513;Ve(i,g,-1,1,0)|0;l=K;return}function Zk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+32|0;x=y+24|0;v=y+16|0;u=y+8|0;q=y;o=c[e>>2]|0;if(!d)p=0;else p=(As(d)|0)&1073741823;n=p+2|0;a:do if(p>>>0>4&(c[5]|o&64|0)!=0?(Bs(d,30212,5)|0)==0:0){j=o|64;k=0;i=0;do{n=Ft((a[d+k>>0]|0)==38|0,0,n|0,i|0)|0;i=z;k=k+1|0}while((k|0)<(p|0));r=(Nc()|0)!=0;p=Ft(n|0,i|0,-1,-1)|0;o=z;if(o>>>0>0|(o|0)==0&p>>>0>2147483390|r){g=7;l=y;return g|0}if(!(c[2]|0)){k=jb[c[52>>2]&255](n)|0;if(!k){g=7;l=y;return g|0}}else{m=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;k=46456;i=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&i>>>0>0){p=c[11822]|0;r=Gt(i|0,k|0,m|0,((m|0)<0)<<31>>31|0)|0;o=z;c[11616]=(0>(o|0)|0==(o|0)&p>>>0>=r>>>0)&1}k=jb[c[52>>2]&255](m)|0;if(!k){g=7;l=y;return g|0}i=jb[c[64>>2]&255](k)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}b:do if((a[d+5>>0]|0)==47?(a[d+6>>0]|0)==47:0){m=7;c:while(1){switch(a[d+m>>0]|0){case 0:case 47:break c;default:{}}m=m+1|0}switch(m|0){case 7:{i=0;n=0;m=7;break b}case 16:{i=d+7|0;if(!(Bs(30218,i,9)|0)){i=0;n=0;m=16;break b}break}default:i=d+7|0}c[q>>2]=m+-7;c[q+4>>2]=i;b=k;i=1;k=xd(30228,q)|0;w=109;break a}else{i=0;n=0;m=5}while(0);d:while(1){r=k+(i+-1)|0;e:while(1){p=m;f:while(1){g:do switch(n|0){case 1:{h:while(1){m=a[d+p>>0]|0;switch(m<<24>>24){case 35:case 0:{w=69;break d}default:{}}o=p+1|0;switch(m<<24>>24){case 37:break h;case 38:case 61:break;default:{n=1;break e}}if(!(a[r>>0]|0))m=o;else{w=63;break e}while(1){switch(a[d+m>>0]|0){case 35:case 0:{p=m;continue h}default:{}}if((a[d+(m+-1)>>0]|0)==38){p=m;continue h}m=m+1|0}}m=a[d+o>>0]|0;if(!(a[18220+(m&255)>>0]&8)){m=37;n=1;break e}q=a[d+(p+2)>>0]|0;if(!(a[18220+(q&255)>>0]&8)){m=37;n=1;break e}break}case 0:{m=a[d+p>>0]|0;switch(m<<24>>24){case 35:case 0:break d;default:{}}o=p+1|0;switch(m<<24>>24){case 63:{w=66;break e}case 37:break;default:{n=0;break e}}m=a[d+o>>0]|0;if(!(a[18220+(m&255)>>0]&8)){m=37;n=0;break e}q=a[d+(p+2)>>0]|0;if(!(a[18220+(q&255)>>0]&8)){m=37;n=0;break e}break}default:i:while(1){m=a[d+p>>0]|0;switch(m<<24>>24){case 35:case 0:{w=68;break d}default:{}}o=p+1|0;if((m<<24>>24==37?(s=a[d+o>>0]|0,a[18220+(s&255)>>0]&8):0)?(t=a[d+(p+2)>>0]|0,a[18220+(t&255)>>0]&8):0){q=t;m=s;break g}switch(n|0){case 2:{w=65;break e}case 1:break;default:break e}switch(m<<24>>24){case 38:case 61:break;default:{n=1;break e}}if(!(a[r>>0]|0))m=o;else{w=63;break e}while(1){switch(a[d+m>>0]|0){case 35:case 0:{p=m;continue i}default:{}}if((a[d+(m+-1)>>0]|0)==38){p=m;continue i}m=m+1|0}}}while(0);m=m<<24>>24;o=p+3|0;q=q<<24>>24;m=(0-(q>>>6&1)&9)+q&15|(0-(m>>>6&1)&9)+m<<4&240;if(m|0){w=56;break e}switch(n|0){case 0:{m=o;while(1){switch(a[d+m>>0]|0){case 63:{n=0;continue e}case 35:case 0:{p=m;continue f}default:{}}m=m+1|0}}case 1:{m=o;while(1){switch(a[d+m>>0]|0){case 38:case 61:{n=1;continue e}case 35:case 0:{p=m;continue f}default:{}}m=m+1|0}}case 2:{m=o;while(1){switch(a[d+m>>0]|0){case 38:{n=2;continue e}case 35:case 0:{p=m;continue f}default:{}}m=m+1|0}}default:{m=o;while(1){switch(a[d+m>>0]|0){case 35:case 0:{p=m;continue f}default:{}}m=m+1|0}}}}}if((w|0)==56){w=0;m=m&255}else if((w|0)==63){w=0;if(m<<24>>24==38){a[k+i>>0]=0;m=0;i=i+1|0;n=1}else{m=0;n=2}}else if((w|0)==65){w=0;if(m<<24>>24==38)w=66;else n=2}if((w|0)==66){w=0;m=0;n=1}a[k+i>>0]=m;i=i+1|0;m=o}if((w|0)==68)if((n|0)==1)w=69;if((w|0)==69){a[k+i>>0]=0;i=i+1|0}a[k+i>>0]=0;a[k+(i+1)>>0]=0;i=k+(((As(k)|0)&1073741823)+1)|0;if(a[i>>0]|0){j:while(1){k:while(1){r=As(i)|0;t=(r&1073741823)+1|0;d=i+t|0;s=(As(d)|0)&1073741823;switch(r&1073741823|0){case 3:{if(!(Bs(30256,i,3)|0))break k;break}case 5:{if(!(Bs(30260,i,5)|0)){p=393216;q=-393217;r=30260;o=5140;w=77}break}case 4:{if(!(Bs(30266,i,4)|0)){p=j&135;q=-136;r=17660;o=5100;w=77}break}default:{}}if((w|0)==77){w=0;m=c[o>>2]|0;if(!m){w=82;break j}else n=0;while(1){if((s|0)==((As(m)|0)&1073741823|0)?(Bs(d,m,s)|0)==0:0)break;n=n+1|0;m=c[o+(n<<3)>>2]|0;if(!m){w=82;break j}}m=c[o+(n<<3)+4>>2]|0;if(!m){w=82;break j}if((m&-129|0)>(p|0)){w=84;break j}j=m|q&j}i=i+t+(s+1)|0;if(!(a[i>>0]|0)){w=102;break a}}i=d+(s+1)|0;if(!(a[i>>0]|0)){b=d;w=102;break a}else b=d}if((w|0)==82){c[u>>2]=r;c[u+4>>2]=d;b=k;i=1;k=xd(30271,u)|0;w=109;break}else if((w|0)==84){c[v>>2]=r;c[v+4>>2]=d;b=k;i=3;k=xd(30291,v)|0;w=109;break}}else w=102}else w=87;while(0);if((w|0)==87){m=p+1|0;if(m>>>0>2147483390|(Nc()|0)!=0){g=7;l=y;return g|0}if(!(c[2]|0)){k=jb[c[52>>2]&255](n)|0;if(!k){g=7;l=y;return g|0}}else{k=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){v=c[11822]|0;w=Gt(i|0,j|0,k|0,((k|0)<0)<<31>>31|0)|0;u=z;c[11616]=(0>(u|0)|0==(u|0)&v>>>0>=w>>>0)&1}k=jb[c[52>>2]&255](k)|0;if(!k){g=7;l=y;return g|0}i=jb[c[64>>2]&255](k)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}if(p|0)Tt(k|0,d|0,p|0)|0;a[k+p>>0]=0;a[k+m>>0]=0;j=o&-65;w=102}l:do if((w|0)==102){m:do if(!(Nc()|0)){i=c[11642]|0;n:do if(!((b|0)==0|(i|0)==0))while(1){if(!(Ls(b,c[i+16>>2]|0)|0))break n;i=c[i+12>>2]|0;if(!i){w=106;break m}}while(0);c[f>>2]=i;if(i|0){i=0;break l}}else w=106;while(0);if((w|0)==106)c[f>>2]=0;c[x>>2]=b;b=k;i=1;k=xd(30315,x)|0;w=109}while(0);do if((w|0)==109){c[h>>2]=k;if(b)if(!(c[2]|0)){pb[c[56>>2]&255](b);k=0;break}else{k=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);k=0;break}else k=0}while(0);c[e>>2]=j;c[g>>2]=k;g=i;l=y;return g|0}function _k(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;do if(d){i=c[d+4>>2]|0;c[i+4>>2]=c[d>>2];h=i+48|0;d=c[h>>2]|0;if(!d){if(!(c[2]|0)){d=jb[c[52>>2]&255](84)|0;if(!d)g=25;else g=26}else{d=jb[c[68>>2]&255](84)|0;if((c[11829]|0)>>>0<84)c[11829]=84;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){j=c[11822]|0;g=Gt(e|0,f|0,d|0,((d|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&j>>>0>=g>>>0)&1}d=jb[c[52>>2]&255](d)|0;if(d){e=jb[c[64>>2]&255](d)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0){c[11831]=e;f=d;g=f+84|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));c[h>>2]=d;c[i+52>>2]=151;g=33;break}else g=26}else g=25}if((g|0)==25){c[h>>2]=0;c[i+52>>2]=151;break}else if((g|0)==26){f=d;g=f+84|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));c[h>>2]=d;c[i+52>>2]=151;g=33;break}}else g=33}else{if(!(c[2]|0)){d=jb[c[52>>2]&255](84)|0;if(!d)break}else{d=jb[c[68>>2]&255](84)|0;if((c[11829]|0)>>>0<84)c[11829]=84;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){i=c[11822]|0;j=Gt(e|0,f|0,d|0,((d|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&i>>>0>=j>>>0)&1}e=jb[c[52>>2]&255](d)|0;if(!e)break;d=jb[c[64>>2]&255](e)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0){c[11831]=d;d=e}else d=e}f=d;g=f+84|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));g=33}while(0);if((g|0)==33){if(a[d+76>>0]|0){j=d;return j|0}e=d+77|0;f=d+8|0;g=f+64|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(g|0));a[e>>0]=1;j=d;return j|0}d=b+73|0;if(a[d>>0]|0){j=0;return j|0}if(a[b+74>>0]|0){j=0;return j|0}a[d>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;j=b+264|0;c[j>>2]=(c[j>>2]|0)+1;j=0;return j|0}function $k(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;F=l;l=l+48|0;v=F;j=F+24|0;x=F+8|0;E=f+157|0;a[E>>0]=1;u=(g|0)==1?25326:25345;c[j>>2]=u;c[j+4>>2]=29919;c[j+8>>2]=29921;c[j+12>>2]=0;c[x>>2]=f;c[x+8>>2]=g;w=x+12|0;c[w>>2]=0;c[x+4>>2]=h;al(x,3,j,0)|0;j=c[w>>2]|0;a:do if(!j){A=f+16|0;p=c[A>>2]|0;C=p+(g<<4)+4|0;j=c[C>>2]|0;if(!j){f=(c[p+28>>2]|0)+78|0;b[f>>1]=b[f>>1]|1;f=0;a[E>>0]=0;l=F;return f|0}k=c[j>>2]|0;m=c[j+4>>2]|0;c[m+4>>2]=k;b:do if(!(a[j+8>>0]|0)){k=nh(j,0)|0;switch(k|0){case 0:{m=c[C>>2]|0;B=1;k=c[m>>2]|0;m=c[m+4>>2]|0;break b}case 516:{j=21513;break}default:y=7}if((y|0)==7){i=k&255;if(i>>>0<27?(117374971>>>i&1|0)!=0:0)j=c[4068+(i<<2)>>2]|0;else j=21499}i=c[h>>2]|0;do if(i|0){if(f|0){if(c[f+464>>2]|0){Lc(f,i);break}D=i;if(D>>>0>=(c[f+296>>2]|0)>>>0?D>>>0<(c[f+300>>2]|0)>>>0:0){D=f+292|0;c[i>>2]=c[D>>2];c[D>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{D=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[h>>2]=kg(f,j)|0;i=k;break a}else B=0;while(0);r=m+4|0;c[r>>2]=k;o=c[(c[m+12>>2]|0)+56>>2]|0;G=d[o+41>>0]<<16|d[o+40>>0]<<24|d[o+42>>0]<<8|d[o+43>>0];c[r>>2]=k;s=a[o+47>>0]|0;t=d[o+45>>0]<<16|d[o+44>>0]<<24|d[o+46>>0]<<8|s&255;c[r>>2]=k;q=d[o+49>>0]<<16|d[o+48>>0]<<24|d[o+50>>0]<<8|d[o+51>>0];c[r>>2]=k;n=d[o+59>>0]|0;o=d[o+57>>0]<<16|d[o+56>>0]<<24|d[o+58>>0]<<8|n;p=p+(g<<4)+12|0;j=c[p>>2]|0;c[j>>2]=G;do if(o){if(!g){n=n&3;n=(n|0)==0?1:n&255;a[f+70>>0]=n;y=46;break}n=a[f+70>>0]|0;if((o|0)==(n&255|0))y=46;else{i=c[h>>2]|0;do if(i|0){if(c[f+464>>2]|0){Lc(f,i);break}G=i;if(G>>>0>=(c[f+296>>2]|0)>>>0?G>>>0<(c[f+300>>2]|0)>>>0:0){G=f+292|0;c[i>>2]=c[G>>2];c[G>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{G=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);do if(c[f+264>>2]|0)if(!(a[f+73>>0]|0))y=41;else i=0;else{if((e[f+268>>1]|0)>=68){j=f+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];y=f+276|0;c[y>>2]=(c[y>>2]|0)+1;y=42;break}j=f+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];y=f+276|0;c[y>>2]=(c[y>>2]|0)+1;y=42;break}}else i=1;y=f+276+(i<<2)|0;c[y>>2]=(c[y>>2]|0)+1;y=41}while(0);if((y|0)==41){i=Ec(f,68,0)|0;y=42}if((y|0)==42)if(!i)i=0;else{j=i;k=29823;m=j+68|0;do{a[j>>0]=a[k>>0]|0;j=j+1|0;k=k+1|0}while((j|0)<(m|0))}c[h>>2]=i;i=1}}else{n=(c[(c[A>>2]|0)+(g<<4)+12>>2]|0)+78|0;b[n>>1]=b[n>>1]|4;n=a[f+70>>0]|0;y=46}while(0);do if((y|0)==46){a[j+77>>0]=n;n=j+80|0;if(!(c[n>>2]|0)){j=(q|0)>-1?q:(q|0)==-2147483648?2147483647:0-q|0;j=(j|0)==0?-2e3:j;c[n>>2]=j;c[r>>2]=k;k=c[(c[m>>2]|0)+208>>2]|0;c[k+16>>2]=j;m=c[35]|0;n=c[k+44>>2]|0;if((j|0)<=-1){G=Lt(j|0,((j|0)<0)<<31>>31|0,-1024,-1)|0;j=(c[k+28>>2]|0)+(c[k+24>>2]|0)|0;j=Jt(G|0,z|0,j|0,((j|0)<0)<<31>>31|0)|0}qb[m&255](n,j);j=c[p>>2]|0}j=j+76|0;a[j>>0]=s;if(s<<24>>24){if((s&255)>4){i=c[h>>2]|0;do if(i|0){if(f|0){if(c[f+464>>2]|0){Lc(f,i);break}G=i;if(G>>>0>=(c[f+296>>2]|0)>>>0?G>>>0<(c[f+300>>2]|0)>>>0:0){G=f+292|0;c[i>>2]=c[G>>2];c[G>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{G=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[h>>2]=kg(f,29993)|0;i=1;break}}else a[j>>0]=1;if((g|0)==0&(t|0)>3){G=f+28|0;c[G>>2]=c[G>>2]&-3}c[v>>2]=c[(c[A>>2]|0)+(g<<4)>>2];c[v+4>>2]=u;j=Ff(f,30017,v)|0;G=f+304|0;h=c[G>>2]|0;c[G>>2]=0;k=bl(f,j,140,x,0)|0;c[G>>2]=h;k=(k|0)==0?c[w>>2]|0:k;do if(j|0){if(c[f+464>>2]|0){Lc(f,j);break}G=j;if(G>>>0>=(c[f+296>>2]|0)>>>0?G>>>0<(c[f+300>>2]|0)>>>0:0){G=f+292|0;c[j>>2]=c[G>>2];c[G>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{G=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);j=(k|0)==0;if(j)cl(f,g)|0;do if(!(a[f+73>>0]|0)){if(!j){i=k;y=135}}else{s=f+20|0;i=c[s>>2]|0;c:do if((i|0)>0){m=c[A>>2]|0;j=0;do{k=c[m+(j<<4)+4>>2]|0;if(k|0)c[(c[k+4>>2]|0)+4>>2]=c[k>>2];j=j+1|0}while((j|0)!=(i|0));j=0;while(1){k=c[m+(j<<4)+12>>2]|0;if(k){ph(k);i=c[s>>2]|0}j=j+1|0;if((j|0)>=(i|0))break c;m=c[A>>2]|0}}while(0);G=f+24|0;c[G>>2]=c[G>>2]&-2;G=f+352|0;j=c[G>>2]|0;c[G>>2]=0;if(j){i=c[f+4>>2]|0;if(i)do{G=i+145|0;h=d[G>>0]|d[G+1>>0]<<8|1;a[G>>0]=h;a[G+1>>0]=h>>8;i=c[i+8>>2]|0}while((i|0)!=0);do{k=j;j=c[j+24>>2]|0;m=c[k>>2]|0;h=k+12|0;G=(c[h>>2]|0)+-1|0;c[h>>2]=G;d:do if(!G){i=c[k+8>>2]|0;if(i|0)jb[c[(c[i>>2]|0)+16>>2]&255](i)|0;do if(m|0){if(c[m+464>>2]|0){Lc(m,k);break d}i=k;if(i>>>0<(c[m+296>>2]|0)>>>0)break;if(i>>>0>=(c[m+300>>2]|0)>>>0)break;G=m+292|0;c[k>>2]=c[G>>2];c[G>>2]=k;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{G=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0)}while((j|0)!=0);i=c[s>>2]|0}if((i|0)>2){o=f+464|0;p=f+296|0;q=f+300|0;r=f+292|0;n=2;i=2;do{j=c[A>>2]|0;m=j+(n<<4)|0;if(!(c[j+(n<<4)+4>>2]|0)){j=c[m>>2]|0;e:do if(j|0){if(c[o>>2]|0){Lc(f,j);break}k=j;do if(k>>>0>=(c[p>>2]|0)>>>0){if(k>>>0>=(c[q>>2]|0)>>>0)break;c[j>>2]=c[r>>2];c[r>>2]=j;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{G=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[m>>2]=0}else{if((i|0)<(n|0)){G=j+(i<<4)|0;c[G>>2]=c[m>>2];c[G+4>>2]=c[m+4>>2];c[G+8>>2]=c[m+8>>2];c[G+12>>2]=c[m+12>>2]}i=i+1|0}n=n+1|0}while((n|0)<(c[s>>2]|0));c[s>>2]=i;if((i|0)>=3){i=7;y=135;break}}else c[s>>2]=2;i=c[A>>2]|0;j=f+400|0;if((i|0)==(j|0)){i=7;y=135}else{c[j>>2]=c[i>>2];c[j+4>>2]=c[i+4>>2];c[j+8>>2]=c[i+8>>2];c[j+12>>2]=c[i+12>>2];c[j+16>>2]=c[i+16>>2];c[j+20>>2]=c[i+20>>2];c[j+24>>2]=c[i+24>>2];c[j+28>>2]=c[i+28>>2];f:do if(i|0){if(c[f+464>>2]|0){Lc(f,i);break}k=i;do if(k>>>0>=(c[f+296>>2]|0)>>>0){if(k>>>0>=(c[f+300>>2]|0)>>>0)break;G=f+292|0;c[i>>2]=c[G>>2];c[G>>2]=i;break f}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{G=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[A>>2]=j;i=7;y=135}}while(0);if((y|0)==135?(c[f+28>>2]&1|0)==0:0)break;i=(c[(c[A>>2]|0)+(g<<4)+12>>2]|0)+78|0;b[i>>1]=b[i>>1]|1;i=0}while(0);if((B|0)!=0?(D=c[C>>2]|0,c[(c[D+4>>2]|0)+4>>2]=c[D>>2],(sh(D,0)|0)==0):0)rh(D,0)|0}else i=j;while(0);g:do if((i|0)>=7){if((i|0)<3082)switch(i|0){case 7:break;default:break g}else switch(i|0){case 3082:break;default:break g}j=f+73|0;if((a[j>>0]|0)==0?(a[f+74>>0]|0)==0:0){a[j>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;G=f+264|0;c[G>>2]=(c[G>>2]|0)+1}}else{switch(i|0){case 0:{i=0;break}default:break g}a[E>>0]=0;l=F;return i|0}while(0);if((g|0)>-1){G=c[f+16>>2]|0;g=(c[G+(g<<4)+12>>2]|0)+78|0;b[g>>1]=b[g>>1]|8;G=(c[G+28>>2]|0)+78|0;b[G>>1]=b[G>>1]|8}if(c[f+48>>2]|0){G=i;a[E>>0]=0;l=F;return G|0}o=f+20|0;j=c[o>>2]|0;if((j|0)<=0){G=i;a[E>>0]=0;l=F;return G|0}n=f+16|0;m=0;do{k=c[(c[n>>2]|0)+(m<<4)+12>>2]|0;if(b[k+78>>1]&8){ph(k);j=c[o>>2]|0}m=m+1|0}while((m|0)<(j|0));a[E>>0]=0;l=F;return i|0}function al(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+128|0;z=F+96|0;w=F+88|0;v=F+80|0;u=F+64|0;s=F+56|0;B=F+40|0;y=F+32|0;x=F+24|0;j=F+8|0;h=F;n=F+112|0;D=F+108|0;E=c[e>>2]|0;r=c[e+8>>2]|0;q=c[E+16>>2]|0;A=(c[q+(r<<4)+12>>2]|0)+78|0;b[A>>1]=b[A>>1]&-5;A=E+73|0;if(a[A>>0]|0){c[e+12>>2]=7;e=1;l=F;return e|0}if(!g){e=0;l=F;return e|0}t=g+4|0;m=c[t>>2]|0;if(!m){f=c[g>>2]|0;if(!(c[E+28>>2]&1)){c[h>>2]=(f|0)==0?30146:f;f=Ff(E,30148,h)|0;h=e+4|0;i=c[c[h>>2]>>2]|0;do if(i|0){if(c[E+464>>2]|0){Lc(E,i);break}D=i;if(D>>>0>=(c[E+296>>2]|0)>>>0?D>>>0<(c[E+300>>2]|0)>>>0:0){E=E+292|0;c[i>>2]=c[E>>2];c[E>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{E=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[c[h>>2]>>2]=f;if(a[A>>0]|0)f=7;else C=16}else C=16;if((C|0)==16){c[j>>2]=21258;c[j+4>>2]=117249;c[j+8>>2]=17052;Bc(11,17e3,j);f=11}c[e+12>>2]=f;e=0;l=F;return e|0}i=g+8|0;j=c[i>>2]|0;o=(j|0)==0;do if(!o){f=a[j>>0]|0;do if(!(f<<24>>24)){f=30179;C=20}else{h=f&255;f=17324+h|0;if((h|32|0)==99){f=a[j+1>>0]|0;if(!(f<<24>>24)){f=30180;C=20;break}h=f&255;f=17324+h|0;if((h|32|0)==114){f=a[j+2>>0]|0;if(!(f<<24>>24)){f=30181;C=20;break}h=f&255;f=17324+h|0;if((h|32|0)==101){f=a[j+3>>0]|0;if(!(f<<24>>24)){f=30182;C=20;break}h=f&255;f=17324+h|0;if((h|32|0)==97){f=a[j+4>>0]|0;if(!(f<<24>>24)){f=30183;C=20;break}h=f&255;f=17324+h|0;if((h|32|0)==116){f=a[j+5>>0]|0;if(!(f<<24>>24)){f=30184;C=20;break}h=f&255;f=17324+h|0;if((h|32|0)==101){f=a[j+6>>0]|0;if(!(f<<24>>24)){f=30185;C=20;break}if(f<<24>>24==32)break;else{h=32;f=17324+(f&255)|0}}else h=101}else h=116}else h=97}else h=101}else h=114}else h=99;p=a[f>>0]|0;k=h;C=24}while(0);if((C|0)==20){p=0;k=a[17324+(d[f>>0]|0)>>0]|0;C=24}if((C|0)==24?p<<24>>24!=k<<24>>24:0)break;z=E+156|0;w=a[z>>0]|0;a[z>>0]=r;c[n>>2]=0;Pd(m,n)|0;f=c[i>>2]|0;c[E+152>>2]=c[n>>2];C=E+158|0;a[C>>0]=0;si(E,f,-1,0,0,D,0)|0;f=c[E+56>>2]|0;a[z>>0]=w;a:do if(f|0?(a[C>>0]|0)==0:0){n=e+12|0;c[n>>2]=f;switch(f|0){case 9:break a;case 7:{if(a[A>>0]|0)break a;if(a[E+74>>0]|0)break a;a[A>>0]=1;if((c[E+172>>2]|0)>0)c[E+256>>2]=1;e=E+264|0;c[e>>2]=(c[e>>2]|0)+1;break a}default:{}}if((f&255|0)!=6){f=c[g>>2]|0;h=gl(E)|0;k=c[e>>2]|0;m=k+73|0;do if(!(a[m>>0]|0)){if(!(c[k+28>>2]&1)){c[x>>2]=(f|0)==0?30146:f;f=Ff(k,30148,x)|0;if(h){c[y>>2]=f;c[y+4>>2]=h;f=Ff(k,30187,y)|0}h=e+4|0;i=c[c[h>>2]>>2]|0;b:do if(i|0){if(c[k+464>>2]|0){Lc(k,i);break}j=i;do if(j>>>0>=(c[k+296>>2]|0)>>>0){if(j>>>0>=(c[k+300>>2]|0)>>>0)break;e=k+292|0;c[i>>2]=c[e>>2];c[e>>2]=i;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{e=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[c[h>>2]>>2]=f;if(a[m>>0]|0){f=7;break}}c[B>>2]=21258;c[B+4>>2]=117249;c[B+8>>2]=17052;Bc(11,17e3,B);f=11}else f=7;while(0);c[n>>2]=f}}while(0);Qh(c[D>>2]|0)|0;e=0;l=F;return e|0}while(0);f=c[g>>2]|0;h=(f|0)==0;do if(!h){if(!o?a[j>>0]|0:0)break;f=gj(E,f,c[q+(r<<4)>>2]|0)|0;if(!f){e=0;l=F;return e|0}if(Pd(c[t>>2]|0,f+44|0)|0){e=0;l=F;return e|0}f=c[g>>2]|0;j=c[e>>2]|0;k=j+73|0;do if(!(a[k>>0]|0)){if(!(c[j+28>>2]&1)){c[v>>2]=(f|0)==0?30146:f;c[w>>2]=Ff(j,30148,v)|0;c[w+4>>2]=30195;f=Ff(j,30187,w)|0;h=e+4|0;i=c[c[h>>2]>>2]|0;do if(i|0){if(c[j+464>>2]|0){Lc(j,i);break}E=i;if(E>>>0>=(c[j+296>>2]|0)>>>0?E>>>0<(c[j+300>>2]|0)>>>0:0){E=j+292|0;c[i>>2]=c[E>>2];c[E>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{E=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[c[h>>2]>>2]=f;if(a[k>>0]|0){f=7;break}}c[z>>2]=21258;c[z+4>>2]=117249;c[z+8>>2]=17052;Bc(11,17e3,z);f=11}else f=7;while(0);c[e+12>>2]=f;e=0;l=F;return e|0}while(0);if(!(c[E+28>>2]&1)){c[s>>2]=h?30146:f;f=Ff(E,30148,s)|0;h=e+4|0;i=c[c[h>>2]>>2]|0;do if(i|0){if(c[E+464>>2]|0){Lc(E,i);break}D=i;if(D>>>0>=(c[E+296>>2]|0)>>>0?D>>>0<(c[E+300>>2]|0)>>>0:0){E=E+292|0;c[i>>2]=c[E>>2];c[E>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{E=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[c[h>>2]>>2]=f;if(a[A>>0]|0)f=7;else C=65}else C=65;if((C|0)==65){c[u>>2]=21258;c[u+4>>2]=117249;c[u+8>>2]=17052;Bc(11,17e3,u);f=11}c[e+12>>2]=f;e=0;l=F;return e|0}function bl(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0;U=l;l=l+48|0;o=U+24|0;n=U+16|0;m=U+8|0;k=U;L=U+40|0;M=U+36|0;c[M>>2]=0;a:do if(!f){c[k>>2]=17306;Bc(21,22162,k)}else{k=c[f+88>>2]|0;b:do if((k|0)<-264537850){switch(k|0){case -1607883113:break;default:break b}k=(g|0)==0?47328:g;T=f+56|0;c[T>>2]=0;if(c[f+248>>2]|0)dg(f,0);C=(h|0)==0;S=f+73|0;D=f+74|0;E=f+172|0;F=f+256|0;G=f+264|0;H=f+268|0;N=f+292|0;I=f+288|0;J=f+276|0;K=f+28|0;O=f+464|0;P=f+296|0;Q=f+300|0;do if(a[k>>0]|0){c:while(1){c[M>>2]=0;k=si(f,k,-1,128,0,M,L)|0;if(k|0){R=115;break}r=c[M>>2]|0;if(r){z=b[r+140>>1]|0;y=z&65535;z=z<<16>>16==0;A=y<<3|4;B=y<<2;m=0;o=0;p=0;g=0;q=0;while(1){k=qi(r)|0;if(!C){v=(k|0)==100;n=(o|0)!=0;if(!v){if(n|(k|0)!=101){R=86;break}if(!(c[K>>2]&256)){R=86;break}}do if(!n){d:do if(c[G>>2]|0)if(!(a[S>>0]|0))R=29;else{g=0;R=116;break c}else{do if(0<0|(0==0?(e[H>>1]|0)>>>0>>0:0))g=1;else{g=c[N>>2]|0;if(g|0){c[N>>2]=c[g>>2];c[J>>2]=(c[J>>2]|0)+1;u=g;break d}g=c[I>>2]|0;if(!g){g=2;break}c[I>>2]=c[g>>2];c[J>>2]=(c[J>>2]|0)+1;u=g;break d}while(0);R=f+276+(g<<2)|0;c[R>>2]=(c[R>>2]|0)+1;R=29}while(0);if((R|0)==29){R=0;u=Ec(f,A,0)|0}if(!u){g=0;R=116;break c}if(z){w=1;x=u;g=u;q=u}else{s=r+140|0;t=r+100|0;if(!r){Vt(u|0,0,B|0)|0;w=1;x=u;g=u;q=u;break}else q=0;while(1){p=c[r>>2]|0;do if((e[s>>1]|0)>>>0>q>>>0){g=c[t>>2]|0;n=g+(q*40|0)|0;e:do if(!n)g=0;else{o=e[g+(q*40|0)+8>>1]|0;do if((o&514|0)==514){if((a[g+(q*40|0)+10>>0]|0)!=1)break;g=c[g+(q*40|0)+16>>2]|0;break e}while(0);if(o&1|0){g=0;break}g=Jc(n,1)|0}while(0);n=p+73|0;if(!(a[n>>0]|0))break;if(c[p+172>>2]|0){g=0;break}a[n>>0]=0;c[p+256>>2]=0;g=p+264|0;c[g>>2]=(c[g>>2]|0)+-1;g=0}else g=0;while(0);c[u+(q<<2)>>2]=g;q=q+1|0;if((q|0)==(y|0)){w=1;x=u;g=u;q=u;break}}}}else{w=o;x=p}while(0);if(v){m=x+(y<<2)|0;f:do if(z)n=0;else{n=0;while(1){v=fl(r,n)|0;c[m+(n<<2)>>2]=v;if(!v){r=c[M>>2]|0;if(!r)o=1;else{o=c[r+104>>2]|0;do if(!o)R=52;else{if((e[r+140>>1]|0)>>>0<=n>>>0){R=52;break}o=o+(n*40|0)|0;p=r}while(0);if((R|0)==52){R=0;o=c[r>>2]|0;c[o+56>>2]=25;dg(o,25);o=424;p=r}o=b[o+8>>1]&31;p=c[p>>2]|0;t=r+40|0;s=c[t>>2]|0;if((s|0)==3082|(a[p+73>>0]|0)!=0){Th(p);p=7}else p=c[p+60>>2]&s;c[t>>2]=p}if(!(-1431655766>>>o&1)){R=58;break c}}n=n+1|0;if((n|0)>=(y|0))break f;r=c[M>>2]|0}}while(0);c[m+(n<<2)>>2]=0}if(!(mb[h&255](i,y,m,x)|0)){o=w;n=x}else{R=67;break c}}else n=p;if((k|0)!=100){R=85;break}p=n;r=c[M>>2]|0}if((R|0)==85){R=0;r=c[M>>2]|0}else if((R|0)==86)R=0;p=r+20|0;k=c[p>>2]|0;if((k|0)<832317811)switch(k|0){case 770837923:{R=88;break}default:k=0}else switch(k|0){case 832317811:{R=88;break}default:k=0}if((R|0)==88){R=0;k=Sh(r)|0}n=c[r>>2]|0;Uf(n,r);o=c[r+4>>2]|0;m=r+8|0;g=c[m>>2]|0;if(!o)c[n+4>>2]=g;else{c[o+8>>2]=g;g=c[m>>2]|0}if(g|0)c[g+4>>2]=o;c[p>>2]=1443283912;c[r>>2]=0;do if(n){if(c[n+464>>2]|0){Lc(n,r);break}B=r;if(B>>>0>=(c[n+296>>2]|0)>>>0?B>>>0<(c[n+300>>2]|0)>>>0:0){B=n+292|0;c[r>>2]=c[B>>2];c[B>>2]=r}else R=100}else R=100;while(0);do if((R|0)==100){R=0;if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{B=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[M>>2]=0;g=c[L>>2]|0;while(1)if(!(a[18220+(d[g>>0]|0)>>0]&1))break;else g=g+1|0;g:do if(q|0){if(c[O>>2]|0){Lc(f,q);break}m=q;do if(m>>>0>=(c[P>>2]|0)>>>0){if(m>>>0>=(c[Q>>2]|0)>>>0)break;c[q>>2]=c[N>>2];c[N>>2]=q;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{B=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);if(!k)k=g;else{R=115;break}}else k=c[L>>2]|0;if(!(a[k>>0]|0)){k=0;R=115;break}}if((R|0)==58)if((a[S>>0]|0)==0?(a[D>>0]|0)==0:0){a[S>>0]=1;if((c[E>>2]|0)>0)c[F>>2]=1;c[G>>2]=(c[G>>2]|0)+1;k=100;R=116}else{k=100;R=116}else if((R|0)==67){p=c[M>>2]|0;q=p+20|0;k=c[q>>2]|0;if((k|0)<832317811)switch(k|0){case 770837923:{R=68;break}default:{}}else switch(k|0){case 832317811:{R=68;break}default:{}}if((R|0)==68)Sh(p)|0;n=c[p>>2]|0;Uf(n,p);o=c[p+4>>2]|0;m=p+8|0;k=c[m>>2]|0;if(!o)c[n+4>>2]=k;else{c[o+8>>2]=k;k=c[m>>2]|0}if(k|0)c[k+4>>2]=o;c[q>>2]=1443283912;c[p>>2]=0;do if(n){if(c[n+464>>2]|0){Lc(n,p);break}L=p;if(L>>>0>=(c[n+296>>2]|0)>>>0?L>>>0<(c[n+300>>2]|0)>>>0:0){L=n+292|0;c[p>>2]=c[L>>2];c[L>>2]=p}else R=80}else R=80;while(0);do if((R|0)==80)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{L=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);c[M>>2]=0;c[T>>2]=4;dg(f,4);k=4}else if((R|0)==115){r=c[M>>2]|0;g=0;R=116}do if((R|0)==116)if(r){q=r+20|0;m=c[q>>2]|0;if((m|0)<832317811)switch(m|0){case 770837923:{R=118;break}default:{}}else switch(m|0){case 832317811:{R=118;break}default:{}}if((R|0)==118)Sh(r)|0;o=c[r>>2]|0;Uf(o,r);p=c[r+4>>2]|0;n=r+8|0;m=c[n>>2]|0;if(!p)c[o+4>>2]=m;else{c[p+8>>2]=m;m=c[n>>2]|0}if(m|0)c[m+4>>2]=p;c[q>>2]=1443283912;c[r>>2]=0;if(o|0){if(c[o+464>>2]|0){Lc(o,r);break}R=r;if(R>>>0>=(c[o+296>>2]|0)>>>0?R>>>0<(c[o+300>>2]|0)>>>0:0){R=o+292|0;c[r>>2]=c[R>>2];c[R>>2]=r;break}}if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{R=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);if(g){if(c[O>>2]|0){Lc(f,g);break}R=g;if(R>>>0>=(c[P>>2]|0)>>>0?R>>>0<(c[Q>>2]|0)>>>0:0){c[g>>2]=c[N>>2];c[N>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{R=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}else k=0;while(0);if((k|0)==3082|(a[S>>0]|0)!=0){Th(f);k=7}else k=c[f+60>>2]&k;g=(j|0)!=0;if(g&(k|0)!=0){S=kg(0,gl(f)|0)|0;c[j>>2]=S;if(S|0){j=k;l=U;return j|0}c[T>>2]=7;dg(f,7);j=7;l=U;return j|0}else{if(!g){j=k;l=U;return j|0}c[j>>2]=0;j=k;l=U;return j|0}}else{if((k|0)<1266094736)switch(k|0){case -264537850:break;default:break b}else switch(k|0){case 1266094736:break;default:break b}c[n>>2]=22215;Bc(21,22162,n);break a}while(0);c[m>>2]=22207;Bc(21,22162,m)}while(0);c[o>>2]=17025;c[o+4>>2]=112586;c[o+8>>2]=17052;Bc(21,17e3,o);j=21;l=U;return j|0}function cl(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+16|0;k=n;m=n+8|0;j=d+16|0;g=c[j>>2]|0;i=c[g+(f<<4)+12>>2]|0;h=c[i+16>>2]|0;if(h|0)do{o=(c[h+8>>2]|0)+36|0;c[o>>2]=c[o>>2]&-17;h=c[h>>2]|0}while((h|0)!=0);i=i+32|0;h=c[i>>2]|0;if(h){g=h;do{o=(c[g+8>>2]|0)+55|0;a[o>>0]=a[o>>0]&127;g=c[g>>2]|0}while((g|0)!=0);g=c[j>>2]|0}c[m>>2]=d;g=c[g+(f<<4)>>2]|0;c[m+4>>2]=g;do if(jj(d,29259,g)|0){c[k>>2]=g;h=Ff(d,30072,k)|0;if(h){g=bl(d,h,142,m,0)|0;if(c[d+464>>2]|0){Lc(d,h);m=g;break}o=h;if(o>>>0>=(c[d+296>>2]|0)>>>0?o>>>0<(c[d+300>>2]|0)>>>0:0){m=d+292|0;c[h>>2]=c[m>>2];c[m>>2]=h;m=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);m=g;break}else{m=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);m=g;break}}else m=7}else m=0;while(0);g=c[i>>2]|0;if(g|0)do{f=c[g+8>>2]|0;if((a[f+55>>0]|0)>=0){k=c[f+8>>2]|0;j=f+50|0;i=b[j>>1]|0;i=(i&65535)<5?i:5;h=b[(c[f+12>>2]|0)+44>>1]|0;b[k>>1]=h;if(c[f+36>>2]|0){h=(h&65535)+65526&65535;b[k>>1]=h}if(h<<16>>16<33)b[k>>1]=33;Tt(k+2|0,14824,i<<1&65535|0)|0;o=b[j>>1]|0;h=o&65535;if((i&65535)<(o&65535)){i=i&65535;do{i=i+1|0;b[k+(i<<1)>>1]=23;h=e[j>>1]|0}while((i|0)<(h|0))}if(a[f+54>>0]|0)b[k+(h<<1)>>1]=0}g=c[g>>2]|0}while((g|0)!=0);if((m|0)!=7){l=n;return m|0}g=d+73|0;if(a[g>>0]|0){l=n;return m|0}if(a[d+74>>0]|0){l=n;return m|0}a[g>>0]=1;if((c[d+172>>2]|0)>0)c[d+256>>2]=1;o=d+264|0;c[o>>2]=(c[o>>2]|0)+1;l=n;return m|0}function dl(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;p=l;l=l+64|0;m=p;if(!h){l=p;return 0}g=c[h>>2]|0;if(!g){l=p;return 0}n=h+8|0;if(!(c[n>>2]|0)){l=p;return 0}k=f+4|0;o=jj(c[f>>2]|0,g,c[k>>2]|0)|0;if(!o){l=p;return 0}j=c[h+4>>2]|0;a:do if(!j)q=14;else{i=c[h>>2]|0;if(i){h=a[i>>0]|0;g=(d[17324+(h&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0;if(!(h<<24>>24==0|(g|0)!=0)){h=j;do{i=i+1|0;h=h+1|0;r=a[i>>0]|0;g=(d[17324+(r&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(r<<24>>24==0|(g|0)!=0))}if(!g){g=c[o+8>>2]|0;if(!g){q=14;break}while(1){i=a[g+55>>0]|0;if((i&3)==2)break;g=c[g+20>>2]|0;if(!g){q=14;break a}}j=g;h=i;i=c[n>>2]|0}else q=15}else q=15;if((q|0)==15){i=gj(c[f>>2]|0,j,c[k>>2]|0)|0;g=c[n>>2]|0;if(!i)break;j=i;h=a[i+55>>0]|0;i=g}q=(e[j+50>>1]|0)+1|0;r=j+55|0;a[r>>0]=h&-5;g=j+8|0;el(i,q,c[g>>2]|0,j);a[r>>0]=a[r>>0]|-128;if(c[j+36>>2]|0){l=p;return 0}b[o+44>>1]=b[c[g>>2]>>1]|0;r=o+36|0;c[r>>2]=c[r>>2]|16;l=p;return 0}while(0);if((q|0)==14)g=c[n>>2]|0;r=o+46|0;q=m+48|0;b[q>>1]=b[r>>1]|0;el(g,1,o+44|0,m);b[r>>1]=b[q>>1]|0;r=o+36|0;c[r>>2]=c[r>>2]|16;l=p;return 0}function el(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;p=l;l=l+16|0;o=p;j=a[d>>0]|0;if((f|0)>0&j<<24>>24!=0){m=0;do{do if((j+-48&255)<10){i=0;do{i=(i*10|0)+-48+(j<<24>>24)|0;d=d+1|0;j=a[d>>0]|0}while((j+-48&255)<10);if(i>>>0>=8){if(i>>>0>255){k=40;j=0;do{k=(k&65535)+40|0;q=i;i=Qt(i|0,j|0,4)|0;r=j;j=z}while(r>>>0>0|(r|0)==0&q>>>0>4095);k=k&65535}else{k=40;j=0}if(j>>>0>0|(j|0)==0&i>>>0>15)while(1){k=(k&65535)+10&65535;r=i;i=Qt(i|0,j|0,1)|0;if(!(j>>>0>0|(j|0)==0&r>>>0>31))break;else j=z}}else{if(i>>>0<2){i=0;break}else{k=40;j=0}do{k=(k&65535)+65526|0;i=Rt(i|0,j|0,1)|0;j=z}while(j>>>0<0|(j|0)==0&i>>>0<8);k=k&65535}i=(k&65535)+65526+(e[14834+((i&7)<<1)>>1]|0)&65535}else i=0;while(0);b[g+(m<<1)>>1]=i;d=(a[d>>0]|0)==32?d+1|0:d;m=m+1|0;j=a[d>>0]|0}while((m|0)<(f|0)&j<<24>>24!=0)}f=h+55|0;a[f>>0]=a[f>>0]&-69;if(!(a[d>>0]|0)){l=p;return}m=h+48|0;do{do if(!(We(30113,d,18823,91)|0))a[f>>0]=a[f>>0]|4;else{if(We(30124,d,18823,91)|0){if(We(30134,d,18823,91)|0)break;a[f>>0]=a[f>>0]|64;break}c[o>>2]=0;Pd(d+3|0,o)|0;i=c[o>>2]|0;j=((i|0)<0)<<31>>31;if(i>>>0<8)if(i>>>0<2)i=0;else{k=40;do{k=(k&65535)+65526|0;i=Rt(i|0,j|0,1)|0;j=z}while(j>>>0<0|(j|0)==0&i>>>0<8);k=k&65535;n=32}else{if(i>>>0>255){k=40;do{k=(k&65535)+40|0;r=i;i=Qt(i|0,j|0,4)|0;q=j;j=z}while(q>>>0>0|(q|0)==0&r>>>0>4095);k=k&65535}else k=40;if(j>>>0>0|(j|0)==0&i>>>0>15){while(1){k=(k&65535)+10&65535;r=i;i=Qt(i|0,j|0,1)|0;if(!(j>>>0>0|(j|0)==0&r>>>0>31))break;else j=z}n=32}else n=32}if((n|0)==32){n=0;i=(k&65535)+65526+(e[14834+((i&7)<<1)>>1]|0)&65535}b[m>>1]=i}while(0);a:while(1){i=a[d>>0]|0;switch(i<<24>>24){case 32:{n=38;break a}case 0:break a;default:{}}d=d+1|0}if((n|0)==38)while(1){n=0;d=d+1|0;i=a[d>>0]|0;if(i<<24>>24==32)n=38;else break}}while(i<<24>>24!=0);l=p;return}function fl(b,d){b=b|0;d=d|0;var f=0,g=0,h=0;h=(b|0)==0;do if(h){d=424;g=6}else{f=c[b+104>>2]|0;if(f|0?(e[b+140>>1]|0)>>>0>d>>>0:0){d=f+(d*40|0)|0;if(!d){d=0;break}else{g=6;break}}d=c[b>>2]|0;c[d+56>>2]=25;dg(d,25);d=424;g=6}while(0);if((g|0)==6){f=e[d+8>>1]|0;if((f&514|0)==514?(a[d+10>>0]|0)==1:0)d=c[d+16>>2]|0;else if(!(f&1))d=Jc(d,1)|0;else d=0;if(h){b=d;return b|0}}g=c[b>>2]|0;h=b+40|0;f=c[h>>2]|0;if((f|0)==3082|(a[g+73>>0]|0)!=0){Th(g);f=7}else f=c[g+60>>2]&f;c[h>>2]=f;b=d;return b|0}function gl(b){b=b|0;var d=0,f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i+8|0;f=i;do if(b){d=c[b+88>>2]|0;a:do if((d|0)>=-264537850)if((d|0)<1266094736)switch(d|0){case -264537850:break a;default:{h=3;break a}}else switch(d|0){case 1266094736:break a;default:{h=3;break a}}else switch(d|0){case -1607883113:break;default:h=3}while(0);if((h|0)==3){c[f>>2]=22207;Bc(21,22162,f);c[g>>2]=17025;c[g+4>>2]=144739;c[g+8>>2]=17052;Bc(21,17e3,g);d=21;break}if(!(a[b+73>>0]|0)){f=c[b+248>>2]|0;do if(f|0){d=e[f+8>>1]|0;if((d&514|0)==514?(a[f+10>>0]|0)==1:0)d=c[f+16>>2]|0;else{if(d&1|0)break;d=Jc(f,1)|0}if(d|0){b=d;l=i;return b|0}}while(0);d=c[b+56>>2]|0;if((d|0)==516){b=21513;l=i;return b|0}d=d&255;if(d>>>0>=27){b=21499;l=i;return b|0}}else d=7}else d=7;while(0);if(!(117374971>>>d&1)){b=21499;l=i;return b|0}b=c[4068+(d<<2)>>2]|0;l=i;return b|0}function hl(b,d){b=b|0;d=d|0;var e=0,f=0;if(!b){d=0;return d|0}if((d|0)!=0?(a[b>>0]|0)!=-104:0)if(!(c[b+12>>2]|0))e=(c[b+20>>2]|0)==0?12:28;else e=28;else e=48;if((c[b+4>>2]&1024|0)==0?(f=c[b+8>>2]|0,(f|0)!=0):0)e=((As(f)|0)&1073741823)+(e|1)|0;e=e+7&-8;if(!(d&1)){d=e;return d|0}else{f=hl(c[b+12>>2]|0,d)|0;return f+e+(hl(c[b+16>>2]|0,d)|0)|0}return 0}function il(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;if(d){h=(As(d)|0)&1073741823;if((h+20|0)>>>0>2147483390)i=0;else{k=h;h=h+21|0;j=3}}else{k=0;h=21;j=3}do if((j|0)==3){if(!(c[2]|0)){i=jb[c[52>>2]&255](h)|0;if(!i)break;else{j=i;h=i}}else{j=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){l=c[11822]|0;i=Gt(h|0,i|0,j|0,((j|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&l>>>0>=i>>>0)&1}i=jb[c[52>>2]&255](j)|0;if(!i){i=0;break}h=jb[c[64>>2]&255](i)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h;j=i;h=i}i=j+20|0;Tt(i|0,d|0,k+1|0)|0;c[j+4>>2]=i;c[j>>2]=e;c[j+8>>2]=f;c[j+12>>2]=g;c[j+16>>2]=0;i=_f(b+328|0,i,j)|0;if(!i){l=h;return l|0}h=b+73|0;if((a[h>>0]|0)==0?(a[b+74>>0]|0)==0:0){a[h>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;l=b+264|0;c[l>>2]=(c[l>>2]|0)+1}if(c[b+464>>2]|0){Lc(b,i);l=0;return l|0}l=i;if(l>>>0>=(c[b+296>>2]|0)>>>0?l>>>0<(c[b+300>>2]|0)>>>0:0){l=b+292|0;c[i>>2]=c[l>>2];c[l>>2]=i;l=0;return l|0}if(!(c[2]|0)){pb[c[56>>2]&255](i);l=0;return l|0}else{l=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);l=0;return l|0}}while(0);h=b+73|0;if(a[h>>0]|0){l=i;return l|0}if(a[b+74>>0]|0){l=i;return l|0}a[h>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;l=b+264|0;c[l>>2]=(c[l>>2]|0)+1;l=i;return l|0}function jl(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+256|0;w=y+16|0;g=y+8|0;n=y;u=y+24|0;v=y+48|0;p=u+4|0;c[p>>2]=v;c[u>>2]=0;q=u+8|0;c[q>>2]=200;r=u+12|0;s=u+16|0;t=u+21|0;c[r>>2]=0;c[r+4>>2]=0;b[r+8>>1]=0;c[s>>2]=14;h=v;k=30571;m=h+14|0;do{a[h>>0]=a[k>>0]|0;h=h+1|0;k=k+1|0}while((h|0)<(m|0));m=f+7|0;if(!(a[m>>0]|0)){c[g>>2]=c[f>>2];mf(u,30593,g);x=1}else{g=d[f+6>>0]|0;h=0;k=40;while(1){x=c[5952+(g<<2)>>2]|0;c[n>>2]=k;c[n+4>>2]=x;mf(u,30586,n);h=h+1|0;if((h|0)>=(d[m>>0]|0))break;else{g=g+1|0;k=44}}x=h&255}n=f+5|0;g=a[n>>0]|0;if(!(g&32))o=0;else{g=c[s>>2]|0;h=g+11|0;if(h>>>0<(c[q>>2]|0)>>>0){c[s>>2]=h;h=(c[p>>2]|0)+g|0;k=30599;m=h+11|0;do{a[h>>0]=a[k>>0]|0;h=h+1|0;k=k+1|0}while((h|0)<(m|0))}else Fc(u,30599,11);o=1;g=a[n>>0]|0}if((g&255)>63){g=c[s>>2]|0;h=g+14|0;if(h>>>0<(c[q>>2]|0)>>>0){c[s>>2]=h;h=(c[p>>2]|0)+g|0;k=30611;m=h+14|0;do{a[h>>0]=a[k>>0]|0;h=h+1|0;k=k+1|0}while((h|0)<(m|0))}else Fc(u,30611,14);o=o+1|0}g=c[s>>2]|0;h=g+1|0;if(h>>>0<(c[q>>2]|0)>>>0){c[s>>2]=h;a[(c[p>>2]|0)+g>>0]=41}else Fc(u,22108,1);g=c[p>>2]|0;if((g|0?(a[g+(c[s>>2]|0)>>0]=0,c[r>>2]|0):0)?(a[t>>0]&4)==0:0)Dc(u)|0;g=ul(e,v)|0;if(g|0){c[w>>2]=gl(e)|0;c[j>>2]=xd(17859,w)|0;f=g;e=0;c[i>>2]=e;l=y;return f|0}if(Nc()|0){f=7;e=0;c[i>>2]=e;l=y;return f|0}if(!(c[2]|0)){g=jb[c[52>>2]&255](24)|0;if(!g){f=7;e=g;c[i>>2]=e;l=y;return f|0}else h=g}else{g=jb[c[68>>2]&255](24)|0;if((c[11829]|0)>>>0<24)c[11829]=24;k=46456;h=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&h>>>0>0){w=c[11822]|0;j=Gt(h|0,k|0,g|0,((g|0)<0)<<31>>31|0)|0;v=z;c[11616]=(0>(v|0)|0==(v|0)&w>>>0>=j>>>0)&1}k=jb[c[52>>2]&255](g)|0;if(!k){f=7;e=0;c[i>>2]=e;l=y;return f|0}g=jb[c[64>>2]&255](k)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g;h=k;g=k};c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[h+16>>2]=0;c[h+20>>2]=0;c[h+16>>2]=f;c[h+12>>2]=e;a[h+21>>0]=x;a[h+20>>0]=o;f=0;e=g;c[i>>2]=e;l=y;return f|0}function kl(b,e){b=b|0;e=e|0;var f=0,g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;k=p;o=e+40|0;h[o>>3]=1.0;if(!(a[b+20>>0]|0)){l=p;return 0}f=c[e+4>>2]|0;c[k>>2]=0;n=k+4|0;c[n>>2]=0;i=c[e>>2]|0;if((i|0)>0){g=b+21|0;b=f;f=0;while(1){if((a[b+5>>0]|0?(a[b+4>>0]|0)==2:0)?(j=c[b>>2]|0,m=d[g>>0]|0,(j|0)>=(m|0)):0)c[k+(j-m<<2)>>2]=f+1;f=f+1|0;if((f|0)>=(i|0))break;else b=b+12|0}b=c[k>>2]|0;if(b|0){b=b+-1|0;f=c[e+16>>2]|0;c[f+(b<<3)>>2]=1;a[f+(b<<3)+4>>0]=1;n=c[n>>2]|0;b=n+-1|0;if(!n){l=p;return 0}h[o>>3]=20.0;o=e+48|0;c[o>>2]=20;c[o+4>>2]=0;c[f+(b<<3)>>2]=2;a[f+(b<<3)+4>>0]=1;l=p;return 0}}h[o>>3]=2147483647.0;o=e+48|0;c[o>>2]=2147483647;c[o+4>>2]=0;l=p;return 0}function ll(a){a=a|0;var b=0;if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function ml(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;if(Nc()|0){b=7;return b|0}if(!(c[2]|0)){d=jb[c[52>>2]&255](24)|0;if(!d){b=7;return b|0}}else{f=jb[c[68>>2]&255](24)|0;if((c[11829]|0)>>>0<24)c[11829]=24;e=46456;d=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&d>>>0>0){g=c[11822]|0;e=Gt(d|0,e|0,f|0,((f|0)<0)<<31>>31|0)|0;d=z;c[11616]=(0>(d|0)|0==(d|0)&g>>>0>=e>>>0)&1}d=jb[c[52>>2]&255](f)|0;if(!d){g=7;return g|0}e=jb[c[64>>2]&255](d)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0)c[11831]=e};c[d>>2]=0;c[d+4>>2]=0;c[d+8>>2]=0;c[d+12>>2]=0;c[d+16>>2]=0;c[d+20>>2]=0;c[d>>2]=a;c[b>>2]=d;g=0;return g|0}function nl(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;Qh(c[b>>2]|0)|0;c[b>>2]=0;b=a+16|0;d=c[b>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[b>>2]=0;b=a+20|0;d=c[b>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[b>>2]=0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{e=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function ol(b,f,g,h,i){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0;A=l;l=l+64|0;v=A+24|0;s=A+16|0;r=A+8|0;m=A;t=A+32|0;u=c[b>>2]|0;w=b+4|0;Qh(c[w>>2]|0)|0;c[w>>2]=0;y=b+16|0;f=c[y>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{x=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[y>>2]=0;x=b+20|0;f=c[x>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{q=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[x>>2]=0;p=u+16|0;a:do if((h|0)>0){j=0;k=((d[(c[p>>2]|0)+5>>0]|0)>>>5&1^1)&255;b:while(1){f=c[i+(j<<2)>>2]|0;do if(f|0){g=e[f+8>>1]|0;if((g&514|0)==514?(a[f+10>>0]|0)==1:0)f=c[f+16>>2]|0;else{if(g&1|0)break;f=Jc(f,1)|0}if(f|0?(c[m>>2]=f,q=xd(17859,m)|0,c[y+(k<<2)>>2]=q,(q|0)==0):0){f=7;break b}}while(0);j=j+1|0;if((j|0)>=(h|0))break a;else k=k+1|0}l=A;return f|0}while(0);q=u+12|0;n=c[(c[q>>2]|0)+104>>2]|0;h=t+4|0;c[h>>2]=0;c[t>>2]=0;m=t+8|0;c[m>>2]=0;i=t+12|0;c[i>>2]=n;n=t+16|0;c[n>>2]=0;a[t+20>>0]=0;o=t+21|0;a[o>>0]=0;Fc(t,30555,7);f=c[x>>2]|0;if(f|0){c[r>>2]=f;mf(t,30563,r)}g=c[c[p>>2]>>2]|0;if(!g)f=0;else f=(As(g)|0)&1073741823;j=c[n>>2]|0;k=j+f|0;if(k>>>0<(c[m>>2]|0)>>>0){if(f|0){c[n>>2]=k;Tt((c[h>>2]|0)+j|0,g|0,f|0)|0}}else Fc(t,g,f);f=c[y>>2]|0;if(f|0){c[s>>2]=f;mf(t,30567,s)}f=c[h>>2]|0;if(((f|0)!=0?(a[f+(c[n>>2]|0)>>0]=0,(c[i>>2]|0)!=0):0)?(a[o>>0]&4)==0:0)f=Dc(t)|0;else f=c[h>>2]|0;if(!f){y=7;l=A;return y|0}g=si(c[q>>2]|0,f,-1,128,0,w,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{t=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}if(g|0){c[v>>2]=gl(c[q>>2]|0)|0;c[u+8>>2]=xd(17859,v)|0;y=g;l=A;return y|0}b=b+8|0;v=b;v=Ft(c[v>>2]|0,c[v+4>>2]|0,1,0)|0;c[b>>2]=v;c[b+4>>2]=z;if((qi(c[w>>2]|0)|0)==100){y=0;l=A;return y|0}g=Qh(c[w>>2]|0)|0;c[w>>2]=0;Qh(0)|0;c[w>>2]=0;f=c[y>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{b=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[y>>2]=0;f=c[x>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{y=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[x>>2]=0;y=g;l=A;return y|0}function pl(a){a=a|0;var b=0,d=0;b=a+8|0;d=b;d=Ft(c[d>>2]|0,c[d+4>>2]|0,1,0)|0;c[b>>2]=d;c[b+4>>2]=z;b=a+4|0;if((qi(c[b>>2]|0)|0)==100){d=0;return d|0}d=Qh(c[b>>2]|0)|0;c[b>>2]=0;tl(a);return d|0}function ql(a){a=a|0;return (c[a+4>>2]|0)==0|0}function rl(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0;i=d[(c[f>>2]|0)+21>>0]|0;if((i|0)<=(h|0)){if((Ve(c[g>>2]|0,c[f+16+(h-i<<2)>>2]|0,-1,1,-1)|0)!=18)return 0;c[g+20>>2]=18;a[g+25>>0]=1;Ve(c[g>>2]|0,18992,-1,1,0)|0;return 0}k=c[f+4>>2]|0;j=(k|0)==0;do if(j)l=424;else{f=c[k+104>>2]|0;if(f|0?(e[k+140>>1]|0)>>>0>h>>>0:0){l=f+(h*40|0)|0;break}l=c[k>>2]|0;c[l+56>>2]=25;dg(l,25);l=424}while(0);f=l+8|0;i=e[f>>1]|0;if(i&2048|0)b[f>>1]=i&59391|4096;if(!j){i=c[k>>2]|0;h=k+40|0;f=c[h>>2]|0;if((f|0)==3082|(a[i+73>>0]|0)!=0){Th(i);f=7}else f=c[i+60>>2]&f;c[h>>2]=f}gf(g,l);return 0}function sl(a,b){a=a|0;b=b|0;var d=0;d=a+8|0;a=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=a;return 0}function tl(a){a=a|0;var b=0,d=0,e=0;b=a+4|0;Qh(c[b>>2]|0)|0;c[b>>2]=0;b=a+16|0;d=c[b>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[b>>2]=0;a=a+20|0;b=c[a>>2]|0;if(!b){c[a>>2]=0;return}if(!(c[2]|0)){pb[c[56>>2]&255](b);c[a>>2]=0;return}else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);c[a>>2]=0;return}}function ul(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+512|0;i=q+16|0;f=q;g=q+496|0;o=q+24|0;c[g>>2]=0;h=c[d+344>>2]|0;if(h|0?(m=h+12|0,(c[m>>2]|0)==0):0){k=c[h+4>>2]|0;Vt(o+4|0,0,468)|0;n=o+400|0;a[n>>0]=1;c[o>>2]=d;c[o+132>>2]=1;if(((((ui(o,e,g)|0)==0?(j=c[o+432>>2]|0,(j|0)!=0):0)?(a[d+73>>0]|0)==0:0)?(c[j+12>>2]|0)==0:0)?(c[j+56>>2]|0)==0:0){f=k+4|0;if(!(c[f>>2]|0)){g=j+4|0;c[f>>2]=c[g>>2];e=j+42|0;b[k+42>>1]=b[e>>1]|0;i=j+36|0;f=k+36|0;c[f>>2]=c[f>>2]|c[i>>2]&96;b[e>>1]=0;c[g>>2]=0;if((c[i>>2]&32|0)!=0?(c[(c[c[(c[h>>2]|0)+4>>2]>>2]|0)+52>>2]|0)!=0:0){f=j+8|0;while(1){f=c[f>>2]|0;if((a[f+55>>0]&3)==2)break;else f=f+20|0}f=(b[f+50>>1]|0)!=1&1}else f=0;e=j+8|0;g=c[e>>2]|0;if(g){c[k+8>>2]=g;c[e>>2]=0;c[g+12>>2]=k}}else f=0;c[m>>2]=1;k=f}else p=18;do if((p|0)==18){f=c[g>>2]|0;c[i>>2]=f;cg(d,1,f|0?17859:0,i);if(f){if(c[d+464>>2]|0){Lc(d,f);k=1;break}m=f;if(m>>>0>=(c[d+296>>2]|0)>>>0?m>>>0<(c[d+300>>2]|0)>>>0:0){k=d+292|0;c[f>>2]=c[k>>2];c[k>>2]=f;k=1;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);k=1;break}else{k=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);k=1;break}}else k=1}while(0);a[n>>0]=0;i=c[o+8>>2]|0;do if(i|0){j=i+20|0;f=c[j>>2]|0;if((f|0)<832317811)switch(f|0){case 770837923:{p=29;break}default:{}}else switch(f|0){case 832317811:{p=29;break}default:{}}if((p|0)==29)Sh(i)|0;h=c[i>>2]|0;Uf(h,i);g=c[i+4>>2]|0;e=i+8|0;f=c[e>>2]|0;if(!g)c[h+4>>2]=f;else{c[g+8>>2]=f;f=c[e>>2]|0}if(f|0)c[f+4>>2]=g;c[j>>2]=1443283912;c[i>>2]=0;if(h|0){if(c[h+464>>2]|0){Lc(h,i);break}n=i;if(n>>>0>=(c[h+296>>2]|0)>>>0?n>>>0<(c[h+300>>2]|0)>>>0:0){n=h+292|0;c[i>>2]=c[n>>2];c[n>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{n=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);f=c[o+432>>2]|0;do if(f|0){if(!((d|0)!=0?(c[d+464>>2]|0)!=0:0))p=47;if((p|0)==47?(n=f+32|0,p=(c[n>>2]|0)+-1|0,c[n>>2]=p,p|0):0)break;Tf(d,f)}while(0);ig(o);if(!(a[d+73>>0]|0)){p=c[d+60>>2]&k;l=q;return p|0}else{Th(d);p=7;l=q;return p|0}}c[d+56>>2]=21;dg(d,21);c[f>>2]=17025;c[f+4>>2]=127493;c[f+8>>2]=17052;Bc(21,17e3,f);p=21;l=q;return p|0}function vl(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0;j=c[d>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))i=9;else{h=0;g=1}else{if((e[j+268>>1]|0)>=8){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];i=j+276|0;c[i>>2]=(c[i>>2]|0)+1;i=10;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];i=j+276|0;c[i>>2]=(c[i>>2]|0)+1;i=10;break}}else h=1;i=j+276+(h<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=9}while(0);if((i|0)==9){h=Ec(j,8,0)|0;i=10}if((i|0)==10)if(!h){h=0;g=1}else{l=h;k=l;a[k>>0]=f;a[k+1>>0]=f>>8;a[k+2>>0]=f>>16;a[k+3>>0]=f>>24;l=l+4|0;a[l>>0]=g;a[l+1>>0]=g>>8;a[l+2>>0]=g>>16;a[l+3>>0]=g>>24;g=0}k=d+136|0;i=c[k>>2]|0;l=d+12|0;if((c[(c[l>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;f=c[d+88>>2]|0;a[f+(i*20|0)>>0]=68;b[f+(i*20|0)+2>>1]=0;c[f+(i*20|0)+4>>2]=0;c[f+(i*20|0)+8>>2]=1;c[f+(i*20|0)+12>>2]=0;c[f+(i*20|0)+16>>2]=0;a[f+(i*20|0)+1>>0]=0}else i=zi(d,68,0,1,0)|0;j=c[d>>2]|0;do if(!(a[j+73>>0]|0)){if((i|0)<0)i=(c[k>>2]|0)+-1|0;j=c[d+88>>2]|0;f=j+(i*20|0)+1|0;if(a[f>>0]|0){Ai(d,j+(i*20|0)|0,h,-14);break}if(!g){c[j+(i*20|0)+16>>2]=h;a[f>>0]=-14}}else if(!g){if(j|0){if(c[j+464>>2]|0){Lc(j,h);break}g=h;if(g>>>0>=(c[j+296>>2]|0)>>>0?g>>>0<(c[j+300>>2]|0)>>>0:0){g=j+292|0;c[h>>2]=c[g>>2];c[g>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[k>>2]|0;if((c[(c[l>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;d=c[d+88>>2]|0;a[d+(h*20|0)>>0]=78;b[d+(h*20|0)+2>>1]=0;c[d+(h*20|0)+4>>2]=1;c[d+(h*20|0)+8>>2]=1;c[d+(h*20|0)+12>>2]=0;c[d+(h*20|0)+16>>2]=0;a[d+(h*20|0)+1>>0]=0;return}else{zi(d,78,1,1,0)|0;return}}function wl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=l;l=l+16|0;g=i;c[g>>2]=f;f=0;a:while(1){switch(a[e+f>>0]|0){case 0:break a;case 115:{k=(c[g>>2]|0)+(4-1)&~(4-1);j=c[k>>2]|0;c[g>>2]=k+4;El(b,(j|0)==0?70:97,0,f+d|0,0,j,0)|0;break}case 105:{j=(c[g>>2]|0)+(4-1)&~(4-1);k=c[j>>2]|0;c[g>>2]=j+4;Fl(b,67,k,f+d|0)|0;break}default:{h=7;break a}}f=f+1|0}if((h|0)==7){l=i;return}Fl(b,78,d,f)|0;l=i;return}function xl(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=l;l=l+16|0;A=C;B=c[h+20>>2]|0;p=c[h+40>>2]|0;do if((B|0)==1){y=b[g+40>>1]|0;k=y<<16>>16;if(y<<16>>16>-1){if(!p){B=0;l=C;return B|0}m=c[(c[g+4>>2]|0)+(k<<4)>>2]|0;y=a[m>>0]|0;k=(d[17324+(y&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0;if(!(y<<24>>24==0|(k|0)!=0)){n=p;do{m=m+1|0;n=n+1|0;y=a[m>>0]|0;k=(d[17324+(y&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(y<<24>>24==0|(k|0)!=0))}if(!k){B=0;l=C;return B|0}else{y=0;x=0}}else{y=0;x=0}}else if(j){n=c[f>>2]|0;o=B<<2;do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))z=16;else{B=1;l=C;return B|0}else{if(!(0<0|(0==0?(e[n+268>>1]|0)>>>0>>0:0))){m=n+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];y=n+276|0;c[y>>2]=(c[y>>2]|0)+1;break}m=n+288|0;k=c[m>>2]|0;if(!k)k=2;else{c[m>>2]=c[k>>2];y=n+276|0;c[y>>2]=(c[y>>2]|0)+1;break}}else k=1;z=n+276+(k<<2)|0;c[z>>2]=(c[z>>2]|0)+1;z=16}while(0);if((z|0)==16)k=Ec(n,o,0)|0;if(!k){B=1;l=C;return B|0}else{c[j>>2]=k;y=k;x=k;break}}else{y=0;x=0}while(0);k=c[g+8>>2]|0;a:do if(k|0){v=(p|0)==0;w=(B|0)>0;t=g+4|0;u=(y|0)==0;s=k;b:while(1){do if(((e[s+50>>1]|0)==(B|0)?a[s+54>>0]|0:0)?(c[s+36>>2]|0)==0:0){if(v)if((a[s+55>>0]&3)==2){z=28;break b}else break;c:do if(w){r=s+32|0;q=c[s+4>>2]|0;k=0;do{g=b[q+(k<<1)>>1]|0;j=g<<16>>16;if(g<<16>>16<0)break c;p=c[t>>2]|0;n=c[p+(j<<4)+8>>2]|0;n=n|0?n:22091;o=c[(c[r>>2]|0)+(k<<2)>>2]|0;g=a[o>>0]|0;m=(d[17324+(g&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0;if(!(g<<24>>24==0|(m|0)!=0))do{o=o+1|0;n=n+1|0;g=a[o>>0]|0;m=(d[17324+(g&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(g<<24>>24==0|(m|0)!=0));if(m|0)break c;p=c[p+(j<<4)>>2]|0;g=d[17324+(d[p>>0]|0)>>0]|0;m=0;do{o=c[h+36+(m<<3)+4>>2]|0;j=a[o>>0]|0;n=(d[17324+(j&255)>>0]|0)-g|0;if(!(j<<24>>24==0|(n|0)!=0)){j=p;do{o=o+1|0;j=j+1|0;D=a[o>>0]|0;n=(d[17324+(D&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(D<<24>>24==0|(n|0)!=0))}if(!n){z=38;break}m=m+1|0}while((m|0)<(B|0));if((z|0)==38){z=0;if(!u)c[y+(k<<2)>>2]=c[h+36+(m<<3)>>2]}if((m|0)==(B|0))break c;k=k+1|0}while((k|0)<(B|0))}else k=0;while(0);if((k|0)==(B|0))break b}while(0);k=c[s+20>>2]|0;if(!k)break a;else s=k}if((z|0)==28?(y|0)!=0&w:0){k=0;do{c[y+(k<<2)>>2]=c[h+36+(k<<3)>>2];k=k+1|0}while((k|0)!=(B|0))}c[i>>2]=s;D=0;l=C;return D|0}while(0);if(!(a[f+146>>0]|0)){D=c[h+8>>2]|0;c[A>>2]=c[c[h>>2]>>2];c[A+4>>2]=D;hg(f,32480,A)}k=c[f>>2]|0;if(!x){D=1;l=C;return D|0}if(k|0){if(c[k+464>>2]|0){Lc(k,x);D=1;l=C;return D|0}D=x;if(D>>>0>=(c[k+296>>2]|0)>>>0?D>>>0<(c[k+300>>2]|0)>>>0:0){D=k+292|0;c[x>>2]=c[D>>2];c[D>>2]=x;D=1;l=C;return D|0}}if(!(c[2]|0)){pb[c[56>>2]&255](x);D=1;l=C;return D|0}else{D=jb[c[64>>2]&255](x)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](x);D=1;l=C;return D|0}return 0}function yl(e,f,g,h,i,j,k,m,n){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;r=u+16|0;q=u;if((((f|0?(t=(j|0)!=0,o=(k|0)!=0,p=(m|0)!=0,!(t&(o|p))):0)?o|(j|0)==0&p^1:0)?!((g+1|0)>>>0>128|o&((t|p)^1)):0)?((As(f)|0)&1073741568|0)==0:0){s=h&2048;switch(h&7){case 4:{o=2;break}case 5:{o=yl(e,f,g,s|1,i,j,k,m,n)|0;if(o|0){n=o;l=u;return n|0}o=yl(e,f,g,s|2,i,j,k,m,n)|0;if(!o)o=3;else{n=o;l=u;return n|0}break}default:o=h&7}p=o&255;h=kk(e,f,g,p,0)|0;do if((h|0?(b[h+2>>1]&3|0)==(o|0):0)?(a[h>>0]|0)==(g|0):0)if(!(c[e+160>>2]|0)){o=c[e+4>>2]|0;if(!o)break;do{r=o+145|0;h=d[r>>0]|d[r+1>>0]<<8|1;a[r>>0]=h;a[r+1>>0]=h>>8;o=c[o+8>>2]|0}while((o|0)!=0)}else{cg(e,5,32417,r);n=5;l=u;return n|0}while(0);o=kk(e,f,g,p,1)|0;if(!o){n=7;l=u;return n|0}p=o+24|0;q=c[p>>2]|0;do if(q|0?(f=(c[q>>2]|0)+-1|0,c[q>>2]=f,(f|0)==0):0){pb[c[q+4>>2]&255](c[q+8>>2]|0);if(e|0){if(c[e+464>>2]|0){Lc(e,q);break}f=q;if(f>>>0>=(c[e+296>>2]|0)>>>0?f>>>0<(c[e+300>>2]|0)>>>0:0){e=e+292|0;c[q>>2]=c[e>>2];c[e>>2]=q;break}}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{e=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);if(n|0)c[n>>2]=(c[n>>2]|0)+1;c[p>>2]=n;n=o+2|0;b[n>>1]=b[n>>1]&3|s;c[o+12>>2]=t?j:k;c[o+16>>2]=m;c[o+4>>2]=i;a[o>>0]=g;n=0;l=u;return n|0}c[q>>2]=17025;c[q+4>>2]=144121;c[q+8>>2]=17052;Bc(21,17e3,q);n=21;l=u;return n|0}function zl(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;if(c[e+56>>2]|0){d=0;return d|0}m=c[e+72>>2]|0;if(!m)l=-1e6;else{n=c[(c[d>>2]|0)+16>>2]|0;l=0;while(1)if((c[n+(l<<4)+12>>2]|0)==(m|0))break;else l=l+1|0}x=d+8|0;m=c[x>>2]|0;if(!m){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;w=yi(d)|0}else w=m;if((h|0)<0)n=c[d+40>>2]|0;else n=h;m=n+1|0;h=(j|0)!=0;if(h)c[j>>2]=n;v=e+36|0;do if(!(c[v>>2]&32)){if(i|0?(a[i>>0]|0)==0:0){o=18;break}Bi(d,n,l,e,f)}else o=18;while(0);if((o|0)==18)qk(d,l,c[e+28>>2]|0,(f|0)==105&1,c[e>>2]|0);if(k|0)c[k>>2]=m;n=c[e+8>>2]|0;if(!n)n=0;else{p=h^1;q=(i|0)==0;r=w+136|0;s=w+12|0;t=w+88|0;u=f&255;e=g;o=n;n=0;while(1){g=m+1|0;if((a[o+55>>0]&3)==2){h=(c[v>>2]&32|0)==0;if(h|p)k=h?e:0;else{c[j>>2]=m;k=0}}else k=e;n=n+1|0;if(!(!q?!(a[i+n>>0]|0):0)){h=c[o+44>>2]|0;e=c[r>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(e|0)){c[r>>2]=e+1;y=c[t>>2]|0;a[y+(e*20|0)>>0]=u;b[y+(e*20|0)+2>>1]=0;c[y+(e*20|0)+4>>2]=m;c[y+(e*20|0)+8>>2]=h;c[y+(e*20|0)+12>>2]=l;c[y+(e*20|0)+16>>2]=0;a[y+(e*20|0)+1>>0]=0}else zi(w,f,m,h,l)|0;m=c[x>>2]|0;e=rk(d,o)|0;a:do if(e|0){h=c[m>>2]|0;if(!(a[h+73>>0]|0)){h=c[m+88>>2]|0;y=(c[m+136>>2]|0)+-1|0;a[h+(y*20|0)+1>>0]=-9;c[h+(y*20|0)+16>>2]=e;break}if((c[h+464>>2]|0)==0?(y=(c[e>>2]|0)+-1|0,c[e>>2]=y,(y|0)==0):0){m=c[e+12>>2]|0;do if(m|0){if(c[m+464>>2]|0){Lc(m,e);break a}h=e;if(h>>>0<(c[m+296>>2]|0)>>>0)break;if(h>>>0>=(c[m+300>>2]|0)>>>0)break;y=m+292|0;c[e>>2]=c[y>>2];c[y>>2]=e;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{y=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}}while(0);m=c[r>>2]|0;if((m|0)>0)b[(c[t>>2]|0)+((m+-1|0)*20|0)+2>>1]=k&255}o=c[o+20>>2]|0;if(!o){m=g;break}else{e=k;m=g}}}l=d+40|0;if((m|0)<=(c[l>>2]|0)){y=n;return y|0}c[l>>2]=m;y=n;return y|0}function Al(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((a|0)>(d|0))return 0;Cl(b,c,0,0,0)|0;return 0}function Bl(a,b){a=a|0;b=b|0;if(((b*1e3|0)+1e3|0)>(c[a+436>>2]|0)){b=0;return b|0}b=c[a>>2]|0;kb[c[b+60>>2]&255](b,1e6)|0;b=1;return b|0}function Cl(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;k=l;l=l+16|0;i=k;if(f|0)c[f>>2]=-1;if(g|0)c[g>>2]=-1;if(e>>>0>3){b=21;l=k;return b|0}if((d|0)!=0?(a[d>>0]|0)!=0:0){h=eg(b,d)|0;if((h|0)<0){c[i>>2]=d;cg(b,1,32343,i);h=1}else j=10}else{h=10;j=10}do if((j|0)==10){c[b+396>>2]=0;h=Dl(b,h,e,f,g)|0;c[b+56>>2]=h;if((h|0)==0?(c[b+248>>2]|0)==0:0){h=0;break}dg(b,h)}while(0);if((h|0)==3082|(a[b+73>>0]|0)!=0){Th(b);h=7}else h=c[b+60>>2]&h;if(c[b+160>>2]|0){b=h;l=k;return b|0}c[b+256>>2]=0;b=h;l=k;return b|0}function Dl(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=b+20|0;j=c[p>>2]|0;if((j|0)<=0){o=0;p=0;f=1;o=(o|0)!=0;o=f&o;p=o?5:p;return p|0}o=b+16|0;n=(f|0)==0;if((e|0)==10){e=0;m=h;i=0;while(1){b=c[(c[o>>2]|0)+(e<<4)+4>>2]|0;if(b){h=c[b+4>>2]|0;l=c[b>>2]|0;c[h+4>>2]=l;if(!(a[h+20>>0]|0)){h=c[h>>2]|0;k=c[h+212>>2]|0;if(!k)b=0;else{if(n)b=0;else b=c[h+176>>2]|0;b=Wg(k,l,f,b,c[h+180>>2]|0,d[h+11>>0]|0,c[h+152>>2]|0,c[h+204>>2]|0,g,m)|0;j=c[p>>2]|0}}else b=6}else b=0;m=(b|0)==5;h=m?0:b;i=m?1:i;e=e+1|0;b=(h|0)==0;if(!(b&(e|0)<(j|0)))break;else{m=0;g=0}}p=(i|0)!=0;p=b&p;p=p?5:h;return p|0}if(n){m=0;l=h;i=0;while(1){if((m|0)==(e|0)){b=c[(c[o>>2]|0)+(e<<4)+4>>2]|0;if(b){h=c[b+4>>2]|0;k=c[b>>2]|0;c[h+4>>2]=k;if(!(a[h+20>>0]|0)){b=c[h>>2]|0;h=c[b+212>>2]|0;if(!h)b=0;else{b=Wg(h,k,0,0,c[b+180>>2]|0,d[b+11>>0]|0,c[b+152>>2]|0,c[b+204>>2]|0,g,l)|0;j=c[p>>2]|0}}else b=6}else b=0;h=(b|0)==5;i=h?1:i;h=h?0:b;k=0;g=0}else{h=0;k=l}m=m+1|0;b=(h|0)==0;if(!(b&(m|0)<(j|0)))break;else l=k}p=(i|0)!=0;p=b&p;p=p?5:h;return p|0}else{m=0;l=h;i=0;while(1){if((m|0)==(e|0)){b=c[(c[o>>2]|0)+(e<<4)+4>>2]|0;if(b){h=c[b+4>>2]|0;k=c[b>>2]|0;c[h+4>>2]=k;if(!(a[h+20>>0]|0)){b=c[h>>2]|0;h=c[b+212>>2]|0;if(!h)b=0;else{b=Wg(h,k,f,c[b+176>>2]|0,c[b+180>>2]|0,d[b+11>>0]|0,c[b+152>>2]|0,c[b+204>>2]|0,g,l)|0;j=c[p>>2]|0}}else b=6}else b=0;h=(b|0)==5;i=h?1:i;h=h?0:b;k=0;g=0}else{h=0;k=l}m=m+1|0;b=(h|0)==0;if(!(b&(m|0)<(j|0)))break;else l=k}p=(i|0)!=0;p=b&p;p=p?5:h;return p|0}return 0}function El(d,e,f,g,h,i,j){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0;k=d+136|0;l=c[k>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(l|0)){c[k>>2]=l+1;k=c[d+88>>2]|0;a[k+(l*20|0)>>0]=e;b[k+(l*20|0)+2>>1]=0;c[k+(l*20|0)+4>>2]=f;c[k+(l*20|0)+8>>2]=g;c[k+(l*20|0)+12>>2]=h;c[k+(l*20|0)+16>>2]=0;a[k+(l*20|0)+1>>0]=0;Gl(d,l,i,j);return l|0}else{l=zi(d,e,f,g,h)|0;Gl(d,l,i,j);return l|0}return 0}function Fl(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;h=d+136|0;i=c[h>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;h=c[d+88>>2]|0;a[h+(i*20|0)>>0]=e;b[h+(i*20|0)+2>>1]=0;c[h+(i*20|0)+4>>2]=f;c[h+(i*20|0)+8>>2]=g;c[h+(i*20|0)+12>>2]=0;c[h+(i*20|0)+16>>2]=0;a[h+(i*20|0)+1>>0]=0;return i|0}else{i=zi(d,e,f,g,0)|0;return i|0}return 0}function Gl(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0;g=c[b>>2]|0;if(a[g+73>>0]|0){if((f|0)==-12)return;Wf(g,f,e);return}if((d|0)<0)d=(c[b+136>>2]|0)+-1|0;g=c[b+88>>2]|0;h=g+(d*20|0)|0;if((f|0)<=-1?(i=g+(d*20|0)+1|0,(a[i>>0]|0)==0):0){if((f|0)==-3){c[g+(d*20|0)+16>>2]=e;a[i>>0]=-3;return}if(!e)return;c[g+(d*20|0)+16>>2]=e;a[i>>0]=f;if((f|0)!=-12)return;f=e+12|0;c[f>>2]=(c[f>>2]|0)+1;return}Ai(b,h,e,f);return}function Hl(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;d=c[a+120>>2]|0;a=(d|0)==0?a:d;d=a+92|0;e=c[d>>2]|0;f=1<>2]=e|f;if((b|0)!=1)return;xk(a)|0;return}function Il(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;h=b[f+50>>1]|0;t=g+50|0;if(h<<16>>16!=(b[t>>1]|0)){g=0;return g|0}if((a[f+54>>0]|0)!=(a[g+54>>0]|0)){g=0;return g|0}a:do if(h<<16>>16){l=g+4|0;m=f+4|0;n=g+40|0;o=f+40|0;p=g+28|0;q=f+28|0;r=g+32|0;s=f+32|0;k=0;while(1){h=b[(c[l>>2]|0)+(k<<1)>>1]|0;if(h<<16>>16!=(b[(c[m>>2]|0)+(k<<1)>>1]|0)){h=0;i=17;break}if(h<<16>>16==-2?ck(0,c[(c[n>>2]|0)+4+(k*20|0)>>2]|0,c[(c[o>>2]|0)+4+(k*20|0)>>2]|0,-1)|0:0){h=0;i=17;break}if((a[(c[p>>2]|0)+k>>0]|0)!=(a[(c[q>>2]|0)+k>>0]|0)){h=0;i=17;break}i=c[(c[r>>2]|0)+(k<<2)>>2]|0;j=c[(c[s>>2]|0)+(k<<2)>>2]|0;if(i){if(!j){h=0;i=17;break}u=a[i>>0]|0;h=(d[17324+(u&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0;if(!(u<<24>>24==0|(h|0)!=0))do{i=i+1|0;j=j+1|0;u=a[i>>0]|0;h=(d[17324+(u&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(u<<24>>24==0|(h|0)!=0))}else h=((j|0)!=0)<<31>>31;k=k+1|0;if(h|0){h=0;i=17;break}if((k|0)>=(e[t>>1]|0))break a}if((i|0)==17)return h|0}while(0);u=(ck(0,c[g+36>>2]|0,c[f+36>>2]|0,-1)|0)==0&1;return u|0}function Jl(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;l=c[d+8>>2]|0;e=c[d+116>>2]|0;if(!e)return;n=(c[d>>2]|0)+16|0;o=d+19|0;p=d+44|0;q=d+25|0;k=d+148|0;while(1){g=c[n>>2]|0;h=c[e+8>>2]|0;i=c[e+12>>2]|0;f=a[o>>0]|0;if(!(f<<24>>24)){j=(c[p>>2]|0)+1|0;c[p>>2]=j}else{j=f+-1<<24>>24;a[o>>0]=j;j=c[d+348+((j&255)<<2)>>2]|0}Bi(d,0,h,c[(c[g+(h<<4)+12>>2]|0)+72>>2]|0,105);f=Ci(l,5,33468)|0;if(!f){e=16;break}h=i+1|0;c[f+4>>2]=h;c[f+28>>2]=h;c[f+44>>2]=i+-1;c[f+52>>2]=j;c[f+68>>2]=j;c[f+72>>2]=h;b[f+62>>1]=8;a:do if(j|0?(m=a[o>>0]|0,(m&255)<8):0){f=a[q>>0]|0;b:do if(f<<24>>24){h=f&255;f=0;g=k;while(1){if((c[g+12>>2]|0)==(j|0))break;f=f+1|0;if((f|0)>=(h|0))break b;else g=g+20|0}a[g+6>>0]=1;break a}while(0);a[o>>0]=m+1<<24>>24;c[d+348+((m&255)<<2)>>2]=j}while(0);e=c[e>>2]|0;if(!e){e=16;break}}if((e|0)==16)return}function Kl(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=e+20|0;g=c[l>>2]|0;a:do if(!g){j=c[d>>2]|0;k=e+42|0;i=b[k>>1]|0;g=(i<<16>>16)+1|0;do if(i<<16>>16>=0){if(!(c[2]|0)){g=jb[c[52>>2]&255](g)|0;if(!g)break;else i=g}else{i=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){m=c[11822]|0;h=Gt(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&m>>>0>=h>>>0)&1}h=jb[c[52>>2]&255](i)|0;if(!h)break;g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;i=h}else i=h}if((b[k>>1]|0)>0){h=e+4|0;g=0;do{a[i+g>>0]=a[(c[h>>2]|0)+(g<<4)+13>>0]|0;g=g+1|0}while((g|0)<(b[k>>1]|0))}else g=0;do{a[i+g>>0]=0;if((g|0)<=0)break;g=g+-1|0}while((a[i+g>>0]|0)==65);c[l>>2]=i;j=i;break a}while(0);g=j+73|0;if(a[g>>0]|0)return;if(a[j+74>>0]|0)return;a[g>>0]=1;if((c[j+172>>2]|0)>0)c[j+256>>2]=1;m=j+264|0;c[m>>2]=(c[m>>2]|0)+1;return}else j=g;while(0);e=(As(j)|0)&1073741823;if(!e)return;if(!f){g=c[d>>2]|0;if(!(a[g+73>>0]|0)){Ai(d,(c[d+88>>2]|0)+(((c[d+136>>2]|0)+-1|0)*20|0)|0,j,e);return}else{Wf(g,e,j);return}}i=d+136|0;g=c[i>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(g|0)){c[i>>2]=g+1;m=c[d+88>>2]|0;a[m+(g*20|0)>>0]=98;b[m+(g*20|0)+2>>1]=0;c[m+(g*20|0)+4>>2]=f;c[m+(g*20|0)+8>>2]=e;c[m+(g*20|0)+12>>2]=0;c[m+(g*20|0)+16>>2]=0;a[m+(g*20|0)+1>>0]=0}else g=zi(d,98,f,e,0)|0;h=c[d>>2]|0;if(a[h+73>>0]|0){Wf(h,e,j);return}if((g|0)<0)g=(c[i>>2]|0)+-1|0;Ai(d,(c[d+88>>2]|0)+(g*20|0)|0,j,e);return}function Ll(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;j=c[d+8>>2]|0;k=d+120|0;if(!j){if((c[k>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;m=yi(d)|0}else m=j;j=c[k>>2]|0;j=c[((j|0)==0?d:j)+460>>2]|0;a:do if(!j)l=10;else while(1){if((c[j>>2]|0)==(e|0)?(c[j+12>>2]|0)==(h|0):0)break a;j=c[j+4>>2]|0;if(!j){l=10;break}}while(0);if((l|0)==10){j=Hm(d,e,f,h)|0;if(!j)return}if(!(c[e>>2]|0))e=0;else e=((c[(c[d>>2]|0)+28>>2]|0)>>>13&1^1)&65535;h=d+44|0;k=(c[h>>2]|0)+1|0;c[h>>2]=k;h=c[j+8>>2]|0;l=m+136|0;j=c[l>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(j|0)){c[l>>2]=j+1;d=c[m+88>>2]|0;a[d+(j*20|0)>>0]=46;b[d+(j*20|0)+2>>1]=0;c[d+(j*20|0)+4>>2]=g;c[d+(j*20|0)+8>>2]=i;c[d+(j*20|0)+12>>2]=k;c[d+(j*20|0)+16>>2]=0;a[d+(j*20|0)+1>>0]=0}else j=zi(m,46,g,i,k)|0;do if(!(a[(c[m>>2]|0)+73>>0]|0)){if((j|0)<0)j=(c[l>>2]|0)+-1|0;k=c[m+88>>2]|0;f=k+(j*20|0)+1|0;if(a[f>>0]|0){Ai(m,k+(j*20|0)|0,h,-4);break}if(h|0){c[k+(j*20|0)+16>>2]=h;a[f>>0]=-4}}while(0);j=c[l>>2]|0;if((j|0)<=0)return;b[(c[m+88>>2]|0)+((j+-1|0)*20|0)+2>>1]=e;return}function Ml(f,g,h,i,j,k,m,n,o,p,q,r){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0;sa=l;l=l+48|0;R=sa+16|0;Q=sa+8|0;H=sa;M=sa+20|0;pa=(m|0)!=0;T=c[f>>2]|0;S=f+8|0;s=c[S>>2]|0;if(!s){if((c[f+120>>2]|0)==0?(b[T+68>>1]&8)==0:0)a[f+23>>0]=1;ra=yi(f)|0}else ra=s;t=b[g+42>>1]|0;G=t<<16>>16;oa=g+36|0;if(!(c[oa>>2]&32)){na=0;ma=1}else{s=g+8|0;while(1){s=c[s>>2]|0;if((a[s+55>>0]&3)==2)break;else s=s+20|0}na=s;ma=e[s+50>>1]|0}if(t<<16>>16>0){x=g+40|0;y=(r|0)==0;z=g+4|0;A=o<<24>>24==10;B=k+1|0;C=ra+136|0;D=ra+12|0;E=ra+88|0;F=f+120|0;w=0;do{a:do if((w|0)!=(b[x>>1]|0)){if(!y?(c[r+(w<<2)>>2]|0)<0:0)break;t=c[z>>2]|0;s=a[t+(w<<4)+12>>0]|0;if(s<<24>>24){la=A?(s<<24>>24==10?2:s):o;s=la&255;if(la<<24>>24==5)s=(c[t+(w<<4)+4>>2]|0)==0?2:s;switch((s&255)<<24>>24){case 2:{la=c[F>>2]|0;a[((la|0)==0?f:la)+21>>0]=1;break}case 3:case 1:break;case 4:{s=w+B|0;t=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(t|0)){c[C>>2]=t+1;la=c[E>>2]|0;a[la+(t*20|0)>>0]=50;b[la+(t*20|0)+2>>1]=0;c[la+(t*20|0)+4>>2]=s;c[la+(t*20|0)+8>>2]=p;c[la+(t*20|0)+12>>2]=0;c[la+(t*20|0)+16>>2]=0;a[la+(t*20|0)+1>>0]=0;break a}else{zi(ra,50,s,p,0)|0;break a}}default:{t=w+B|0;s=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(s|0)){c[C>>2]=s+1;la=c[E>>2]|0;a[la+(s*20|0)>>0]=51;b[la+(s*20|0)+2>>1]=0;c[la+(s*20|0)+4>>2]=t;c[la+(s*20|0)+8>>2]=0;c[la+(s*20|0)+12>>2]=0;c[la+(s*20|0)+16>>2]=0;a[la+(s*20|0)+1>>0]=0}else s=zi(ra,51,t,0,0)|0;Di(f,c[(c[z>>2]|0)+(w<<4)+4>>2]|0,t);t=c[C>>2]|0;if(!(a[(c[ra>>2]|0)+73>>0]|0))s=(c[E>>2]|0)+(((s|0)<0?t+-1|0:s)*20|0)|0;else s=46708;c[s+8>>2]=t;break a}}v=c[t+(w<<4)>>2]|0;c[H>>2]=c[g>>2];c[H+4>>2]=v;v=Ff(T,28518,H)|0;t=w+B|0;u=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(u|0)){c[C>>2]=u+1;la=c[E>>2]|0;a[la+(u*20|0)>>0]=65;b[la+(u*20|0)+2>>1]=0;c[la+(u*20|0)+4>>2]=1299;c[la+(u*20|0)+8>>2]=s;c[la+(u*20|0)+12>>2]=t;c[la+(u*20|0)+16>>2]=0;a[la+(u*20|0)+1>>0]=0}else zi(ra,65,1299,s,t)|0;s=c[ra>>2]|0;do if(a[s+73>>0]|0){if(v|0){if(s|0){if(c[s+464>>2]|0){Lc(s,v);break}la=v;if(la>>>0>=(c[s+296>>2]|0)>>>0?la>>>0<(c[s+300>>2]|0)>>>0:0){la=s+292|0;c[v>>2]=c[la>>2];c[la>>2]=v;break}}if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{la=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}}else{ka=c[E>>2]|0;la=(c[C>>2]|0)+-1|0;a[ka+(la*20|0)+1>>0]=-7;c[ka+(la*20|0)+16>>2]=v}while(0);s=c[C>>2]|0;if((s|0)>0)b[(c[E>>2]|0)+((s+-1|0)*20|0)+2>>1]=1}}while(0);w=w+1|0}while((w|0)!=(G|0))}B=c[g+24>>2]|0;if(B|0?(c[T+28>>2]&512|0)==0:0){C=f+56|0;c[C>>2]=~k;if((c[B>>2]|0)>0){D=(r|0)==0;A=ra+12|0;E=ra+136|0;F=ra+88|0;G=f+120|0;H=f+23|0;I=M+20|0;J=M+4|0;K=M+24|0;L=n<<24>>24==0;z=0;s=o<<24>>24!=10?o&255:2;do{x=c[B+4+(z*20|0)>>2]|0;if(!D){c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;c[M+12>>2]=0;c[M+16>>2]=0;c[M+20>>2]=0;c[J>>2]=198;c[K>>2]=r;if(!x)u=0;else{$j(M,x)|0;u=a[I>>0]|0}t=u&-3;if(L)a[I>>0]=t;else t=u;if(t<<24>>24)qa=57}else qa=57;if((qa|0)==57){qa=0;t=c[A>>2]|0;w=t+68|0;y=c[w>>2]|0;c[w>>2]=y+1;w=t+72|0;if(!(y+-1&y)){u=c[t>>2]|0;v=c[w>>2]|0;t=Mc(u,v,y<<3|4,0)|0;do if(!((v|0)==0|(t|0)!=0)){if(u|0){if(c[u+464>>2]|0){Lc(u,v);break}la=v;if(la>>>0>=(c[u+296>>2]|0)>>>0?la>>>0<(c[u+300>>2]|0)>>>0:0){la=u+292|0;c[v>>2]=c[la>>2];c[la>>2]=v;break}}if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{la=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}while(0);c[w>>2]=t}else t=c[w>>2]|0;if(t|0)c[t+(y<<2)>>2]=-1;Gk(f,x,~y,16);do if((s|0)==4){s=c[E>>2]|0;if((c[(c[A>>2]|0)+48>>2]|0)>(s|0)){c[E>>2]=s+1;la=c[F>>2]|0;a[la+(s*20|0)>>0]=13;b[la+(s*20|0)+2>>1]=0;c[la+(s*20|0)+4>>2]=0;c[la+(s*20|0)+8>>2]=p;c[la+(s*20|0)+12>>2]=0;c[la+(s*20|0)+16>>2]=0;a[la+(s*20|0)+1>>0]=0;s=4;break}else{zi(ra,13,0,p,0)|0;s=4;break}}else{t=c[B+4+(z*20|0)+4>>2]|0;if(!t)t=c[g>>2]|0;s=(s|0)==5?2:s;u=c[S>>2]|0;if(!u){do if(!(c[G>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[H>>0]=1}while(0);u=yi(f)|0}if((s|0)==2){la=c[G>>2]|0;a[((la|0)==0?f:la)+21>>0]=1}w=u+136|0;v=c[w>>2]|0;if((c[(c[u+12>>2]|0)+48>>2]|0)>(v|0)){c[w>>2]=v+1;la=c[u+88>>2]|0;a[la+(v*20|0)>>0]=66;b[la+(v*20|0)+2>>1]=0;c[la+(v*20|0)+4>>2]=275;c[la+(v*20|0)+8>>2]=s;c[la+(v*20|0)+12>>2]=0;c[la+(v*20|0)+16>>2]=0;a[la+(v*20|0)+1>>0]=0}else v=zi(u,66,275,s,0)|0;if(!(a[(c[u>>2]|0)+73>>0]|0)){if((v|0)<0)v=(c[w>>2]|0)+-1|0;Ai(u,(c[u+88>>2]|0)+(v*20|0)|0,t,0)}t=c[w>>2]|0;if((t|0)<=0)break;b[(c[u+88>>2]|0)+((t+-1|0)*20|0)+2>>1]=3}while(0);t=c[(c[A>>2]|0)+72>>2]|0;if(t)c[t+(y<<2)>>2]=c[E>>2]}z=z+1|0}while((z|0)<(c[B>>2]|0))}c[C>>2]=0}if(n<<24>>24!=0&(na|0)==0){D=ra+12|0;s=c[D>>2]|0;v=s+68|0;E=c[v>>2]|0;c[v>>2]=E+1;v=s+72|0;if(!(E+-1&E)){t=c[s>>2]|0;u=c[v>>2]|0;s=Mc(t,u,E<<3|4,0)|0;do if(!((u|0)==0|(s|0)!=0)){if(t|0){if(c[t+464>>2]|0){Lc(t,u);break}la=u;if(la>>>0>=(c[t+296>>2]|0)>>>0?la>>>0<(c[t+300>>2]|0)>>>0:0){la=t+292|0;c[u>>2]=c[la>>2];c[la>>2]=u;break}}if(!(c[2]|0)){pb[c[56>>2]&255](u);break}else{la=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u);break}}while(0);c[v>>2]=s}else s=c[v>>2]|0;if(s|0)c[s+(E<<2)>>2]=-1;y=~E;v=a[g+48>>0]|0;v=o<<24>>24==10?(v<<24>>24==10?2:v):o;x=v&255;if(pa){s=ra+136|0;t=c[s>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(t|0)){la=t+1|0;c[s>>2]=la;s=c[ra+88>>2]|0;a[s+(t*20|0)>>0]=53;b[s+(t*20|0)+2>>1]=0;c[s+(t*20|0)+4>>2]=k;c[s+(t*20|0)+8>>2]=y;c[s+(t*20|0)+12>>2]=m;c[s+(t*20|0)+16>>2]=0;a[s+(t*20|0)+1>>0]=0;s=la}else{zi(ra,53,k,y,m)|0;s=c[s>>2]|0}if((s|0)>0)b[(c[ra+88>>2]|0)+((s+-1|0)*20|0)+2>>1]=144}b:do if(!(o<<24>>24==5|v<<24>>24!=5)?(N=c[g+8>>2]|0,(N|0)!=0):0){s=N;while(1){if(((a[s+54>>0]|0)+-3&255)<2)break;s=c[s+20>>2]|0;if(!s){C=0;break b}}s=ra+136|0;t=c[s>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(t|0)){c[s>>2]=t+1;u=c[ra+88>>2]|0;a[u+(t*20|0)>>0]=13;u=u+(t*20|0)+1|0;w=u+19|0;do{a[u>>0]=0;u=u+1|0}while((u|0)<(w|0));C=t;break}else{C=zi(ra,13,0,0,0)|0;break}}else C=0;while(0);B=ra+136|0;s=c[B>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(s|0)){c[B>>2]=s+1;la=c[ra+88>>2]|0;a[la+(s*20|0)>>0]=32;b[la+(s*20|0)+2>>1]=0;c[la+(s*20|0)+4>>2]=i;c[la+(s*20|0)+8>>2]=y;c[la+(s*20|0)+12>>2]=k;c[la+(s*20|0)+16>>2]=0;a[la+(s*20|0)+1>>0]=0}else zi(ra,32,i,y,k)|0;c:do switch(v<<24>>24){case 3:case 2:case 1:{qa=132;break}case 5:{s=c[f>>2]|0;A=c[s+28>>2]|0;do if(!((A&262144|0)==0?1:(c[T+28>>2]&8192|0)==0)?(O=c[(c[s+16>>2]|0)+28>>2]|0,(a[f+146>>0]|0)==0):0){z=c[g+72>>2]|0;if((z|0)!=(O|0)?(P=c[O+48>>2]|0,(P|0)!=0):0){y=g+68|0;x=P;s=0;do{w=c[x+8>>2]|0;do if((c[w+24>>2]|0)==(z|0)){u=c[w+4>>2]|0;v=c[g>>2]|0;la=a[u>>0]|0;t=(d[17324+(la&255)>>0]|0)-(d[17324+(d[v>>0]|0)>>0]|0)|0;if(!(la<<24>>24==0|(t|0)!=0))do{u=u+1|0;v=v+1|0;la=a[u>>0]|0;t=(d[17324+(la&255)>>0]|0)-(d[17324+(d[v>>0]|0)>>0]|0)|0}while(!(la<<24>>24==0|(t|0)!=0));if(t|0)break;if(!s)s=c[y>>2]|0;c[w+32>>2]=s;s=w}while(0);x=c[x>>2]|0}while((x|0)!=0);if(!s)qa=178}else qa=178;if((qa|0)==178){s=c[g+68>>2]|0;if(!s){qa=184;break}}t=0;u=s;do{if((a[u+8>>0]|0)==109)t=d[u+9>>0]|t;u=c[u+32>>2]|0}while((u|0)!=0);if((s|0)==0|(t|0)==0)qa=184}else qa=184;while(0);do if((qa|0)==184){if(A&16384|0){if(c[($f((c[g+72>>2]|0)+56|0,c[g>>2]|0,0)|0)+8>>2]|0){s=0;break}if(c[g+16>>2]|0){s=0;break}}if(!(c[g+8>>2]|0)){v=1;break c}v=c[f+120>>2]|0;a[((v|0)==0?f:v)+20>>0]=1;Gm(f,g,i,j,0,-1);v=1;break c}while(0);v=c[f+120>>2]|0;a[((v|0)==0?f:v)+20>>0]=1;Fm(f,g,s,i,j,k,1,0,5,1,-1);v=1;break}case 4:{s=c[B>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(s|0)){c[B>>2]=s+1;v=c[ra+88>>2]|0;a[v+(s*20|0)>>0]=13;b[v+(s*20|0)+2>>1]=0;c[v+(s*20|0)+4>>2]=0;c[v+(s*20|0)+8>>2]=p;c[v+(s*20|0)+12>>2]=0;c[v+(s*20|0)+16>>2]=0;a[v+(s*20|0)+1>>0]=0;v=0;break c}else{zi(ra,13,0,p,0)|0;v=0;break c}}default:{x=2;qa=132}}while(0);if((qa|0)==132){s=b[g+40>>1]|0;u=c[f>>2]|0;t=c[g>>2]|0;if(s<<16>>16>-1){y=c[(c[g+4>>2]|0)+(s<<16>>16<<4)>>2]|0;c[Q>>2]=t;c[Q+4>>2]=y;t=1555;y=Ff(u,28518,Q)|0}else{c[R>>2]=t;t=2579;y=Ff(u,32677,R)|0}s=c[S>>2]|0;if(!s){if((c[f+120>>2]|0)==0?(b[(c[f>>2]|0)+68>>1]&8)==0:0)a[f+23>>0]=1;w=yi(f)|0}else w=s;if((x|0)==2){la=c[f+120>>2]|0;a[((la|0)==0?f:la)+21>>0]=1}v=w+136|0;s=c[v>>2]|0;if((c[(c[w+12>>2]|0)+48>>2]|0)>(s|0)){c[v>>2]=s+1;la=c[w+88>>2]|0;a[la+(s*20|0)>>0]=66;b[la+(s*20|0)+2>>1]=0;c[la+(s*20|0)+4>>2]=t;c[la+(s*20|0)+8>>2]=x;c[la+(s*20|0)+12>>2]=0;c[la+(s*20|0)+16>>2]=0;a[la+(s*20|0)+1>>0]=0}else s=zi(w,66,t,x,0)|0;t=c[w>>2]|0;d:do if(a[t+73>>0]|0){if(y|0){do if(t|0){if(c[t+464>>2]|0){Lc(t,y);break d}s=y;if(s>>>0<(c[t+296>>2]|0)>>>0)break;if(s>>>0>=(c[t+300>>2]|0)>>>0)break;la=t+292|0;c[y>>2]=c[la>>2];c[la>>2]=y;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](y);break}else{la=jb[c[64>>2]&255](y)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](y);break}}}else{if((s|0)<0)s=(c[v>>2]|0)+-1|0;t=c[w+88>>2]|0;u=t+(s*20|0)+1|0;if(a[u>>0]|0){Ai(w,t+(s*20|0)|0,y,-7);break}if(!y)break;c[t+(s*20|0)+16>>2]=y;a[u>>0]=-7}while(0);s=c[v>>2]|0;if((s|0)>0){b[(c[w+88>>2]|0)+((s+-1|0)*20|0)+2>>1]=2;v=0}else v=0}t=c[D>>2]|0;s=c[t+72>>2]|0;if(s|0)c[s+(E<<2)>>2]=c[B>>2];if(!C){ka=0;la=0}else{s=c[B>>2]|0;if((c[t+48>>2]|0)>(s|0)){c[B>>2]=s+1;u=c[ra+88>>2]|0;a[u+(s*20|0)>>0]=13;u=u+(s*20|0)+1|0;w=u+19|0;do{a[u>>0]=0;u=u+1|0}while((u|0)<(w|0));u=s}else u=zi(ra,13,0,0,0)|0;t=c[B>>2]|0;if(!(a[(c[ra>>2]|0)+73>>0]|0))s=(c[ra+88>>2]|0)+(((C|0)<0?t+-1|0:C)*20|0)|0;else s=46708;c[s+8>>2]=t;ka=C;la=u}}else{v=0;ka=0;la=0}s=c[g+8>>2]|0;if(s){ha=k+1|0;ga=ra+12|0;ia=ra+136|0;ja=ra+88|0;ea=n<<24>>24==0;fa=o<<24>>24==10;O=T+28|0;P=g+16|0;N=g+72|0;M=f+146|0;Q=g+68|0;R=na+50|0;S=na+32|0;n=na+4|0;T=m+1|0;U=f+120|0;V=ma&65535;W=(ma|0)==1;X=f+19|0;Y=f+25|0;Z=f+148|0;_=f+28|0;$=f+32|0;aa=f+44|0;ba=g+40|0;ca=~k;da=f+56|0;r=0;t=0;while(1){C=h+(r<<2)|0;e:do if(c[C>>2]|0){if(!(t<<24>>24)){Kl(ra,g,ha);t=1}K=r+j|0;u=c[ga>>2]|0;y=u+68|0;L=c[y>>2]|0;c[y>>2]=L+1;y=u+72|0;if(!(L+-1&L)){w=c[u>>2]|0;x=c[y>>2]|0;u=Mc(w,x,L<<3|4,0)|0;do if(!((x|0)==0|(u|0)!=0)){if(w|0){if(c[w+464>>2]|0){Lc(w,x);break}J=x;if(J>>>0>=(c[w+296>>2]|0)>>>0?J>>>0<(c[w+300>>2]|0)>>>0:0){J=w+292|0;c[x>>2]=c[J>>2];c[J>>2]=x;break}}if(!(c[2]|0)){pb[c[56>>2]&255](x);break}else{J=jb[c[64>>2]&255](x)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](x);break}}while(0);c[y>>2]=u}else u=c[y>>2]|0;if(u|0)c[u+(L<<2)>>2]=-1;H=~L;u=s+36|0;if(c[u>>2]|0){w=c[C>>2]|0;x=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(x|0)){c[ia>>2]=x+1;J=c[ja>>2]|0;a[J+(x*20|0)>>0]=70;b[J+(x*20|0)+2>>1]=0;c[J+(x*20|0)+4>>2]=0;c[J+(x*20|0)+8>>2]=w;c[J+(x*20|0)+12>>2]=0;c[J+(x*20|0)+16>>2]=0;a[J+(x*20|0)+1>>0]=0}else zi(ra,70,0,w,0)|0;c[da>>2]=ca;u=c[u>>2]|0;w=c[f>>2]|0;if(!u)u=0;else u=sj(w,u,0,0)|0;if(!(a[w+73>>0]|0))Dk(f,u,H,16);if(u|0)Qf(w,u);c[da>>2]=0}w=c[C>>2]|0;J=w+1|0;D=s+52|0;u=b[D>>1]|0;if(!(u<<16>>16))x=u&65535;else{A=s+4|0;B=s+40|0;z=0;do{u=b[(c[A>>2]|0)+(z<<1)>>1]|0;switch(u<<16>>16){case -2:{c[da>>2]=ca;u=c[(c[B>>2]|0)+4+(z*20|0)>>2]|0;w=c[f>>2]|0;if(!u)u=0;else u=sj(w,u,0,0)|0;if(!(a[w+73>>0]|0))Di(f,u,z+J|0);if(u|0)Qf(w,u);c[da>>2]=0;break}case -1:{y=k;qa=244;break}default:{y=u<<16>>16==(b[ba>>1]|0)?k:(u<<16>>16)+ha|0;qa=244}}do if((qa|0)==244){qa=0;u=u<<16>>16<0?77:76;w=z+J|0;x=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(x|0)){c[ia>>2]=x+1;I=c[ja>>2]|0;a[I+(x*20|0)>>0]=u;b[I+(x*20|0)+2>>1]=0;c[I+(x*20|0)+4>>2]=y;c[I+(x*20|0)+8>>2]=w;c[I+(x*20|0)+12>>2]=0;c[I+(x*20|0)+16>>2]=0;a[I+(x*20|0)+1>>0]=0;break}else{zi(ra,u,y,w,0)|0;break}}while(0);z=z+1|0;x=e[D>>1]|0}while((z|0)<(x|0));w=c[C>>2]|0}u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){c[ia>>2]=u+1;I=c[ja>>2]|0;a[I+(u*20|0)>>0]=99;b[I+(u*20|0)+2>>1]=0;c[I+(u*20|0)+4>>2]=J;c[I+(u*20|0)+8>>2]=x;c[I+(u*20|0)+12>>2]=w;c[I+(u*20|0)+16>>2]=0;a[I+(u*20|0)+1>>0]=0}else zi(ra,99,J,x,w)|0;I=(na|0)==(s|0);if(ea&(pa&I)){u=c[(c[ga>>2]|0)+72>>2]|0;if(!u)break;c[u+(L<<2)>>2]=c[ia>>2];break}u=a[s+54>>0]|0;if(!(u<<24>>24)){u=c[(c[ga>>2]|0)+72>>2]|0;if(!u)break;c[u+(L<<2)>>2]=c[ia>>2];break}F=fa?(u<<24>>24==10?2:u):o;E=F&255;f:do if(!r){if(!(I&F<<24>>24==5&(c[s+20>>2]|0)==0))break;C=c[O>>2]|0;do if(C&8192|0){u=c[f>>2]|0;if(!(c[u+28>>2]&262144))break;u=c[(c[u+16>>2]|0)+28>>2]|0;if(a[M>>0]|0)break;B=c[N>>2]|0;do if((B|0)!=(u|0)){u=c[u+48>>2]|0;if(!u){qa=274;break}else{A=u;u=0}do{z=c[A+8>>2]|0;do if((c[z+24>>2]|0)==(B|0)){x=c[z+4>>2]|0;y=c[g>>2]|0;G=a[x>>0]|0;w=(d[17324+(G&255)>>0]|0)-(d[17324+(d[y>>0]|0)>>0]|0)|0;if(!(G<<24>>24==0|(w|0)!=0))do{x=x+1|0;y=y+1|0;G=a[x>>0]|0;w=(d[17324+(G&255)>>0]|0)-(d[17324+(d[y>>0]|0)>>0]|0)|0}while(!(G<<24>>24==0|(w|0)!=0));if(w|0)break;if(!u)u=c[Q>>2]|0;c[z+32>>2]=u;u=z}while(0);A=c[A>>2]|0}while((A|0)!=0);if(!u)qa=274}else qa=274;while(0);if((qa|0)==274){qa=0;u=c[Q>>2]|0;if(!u)break}w=0;x=u;do{if((a[x+8>>0]|0)==109)w=d[x+9>>0]|w;x=c[x+32>>2]|0}while((x|0)!=0);if(!((u|0)==0|(w|0)==0))break f}while(0);if(C&16384|0){if(c[P>>2]|0)break;if(c[($f((c[N>>2]|0)+56|0,c[g>>2]|0,0)|0)+8>>2]|0)break}u=c[(c[ga>>2]|0)+72>>2]|0;if(!u)break e;c[u+(L<<2)>>2]=c[ia>>2];break e}while(0);w=e[s+50>>1]|0;u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){c[ia>>2]=u+1;G=c[ja>>2]|0;a[G+(u*20|0)>>0]=28;b[G+(u*20|0)+2>>1]=0;c[G+(u*20|0)+4>>2]=K;c[G+(u*20|0)+8>>2]=H;c[G+(u*20|0)+12>>2]=J;c[G+(u*20|0)+16>>2]=0;a[G+(u*20|0)+1>>0]=0}else u=zi(ra,28,K,H,J)|0;if(!(a[(c[ra>>2]|0)+73>>0]|0)){G=c[ja>>2]|0;a[G+(u*20|0)+1>>0]=-3;c[G+(u*20|0)+16>>2]=w}do if(!I)if(W){u=a[X>>0]|0;if(!(u<<24>>24)){G=(c[aa>>2]|0)+1|0;c[aa>>2]=G;break}else{G=u+-1<<24>>24;a[X>>0]=G;G=c[f+348+((G&255)<<2)>>2]|0;break}}else{u=c[$>>2]|0;w=c[_>>2]|0;if((w|0)<(ma|0)){G=c[aa>>2]|0;c[aa>>2]=G+ma;G=G+1|0;break}else{c[$>>2]=u+ma;c[_>>2]=w-ma;G=u;break}}else G=J;while(0);do if(pa|F<<24>>24==5){if(!(c[oa>>2]&32)){u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){c[ia>>2]=u+1;D=c[ja>>2]|0;a[D+(u*20|0)>>0]=-126;b[D+(u*20|0)+2>>1]=0;c[D+(u*20|0)+4>>2]=K;c[D+(u*20|0)+8>>2]=G;c[D+(u*20|0)+12>>2]=0;c[D+(u*20|0)+16>>2]=0;a[D+(u*20|0)+1>>0]=0}else zi(ra,130,K,G,0)|0;if(!pa)break;u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){D=u+1|0;c[ia>>2]=D;C=c[ja>>2]|0;a[C+(u*20|0)>>0]=53;b[C+(u*20|0)+2>>1]=0;c[C+(u*20|0)+4>>2]=G;c[C+(u*20|0)+8>>2]=H;c[C+(u*20|0)+12>>2]=m;c[C+(u*20|0)+16>>2]=0;a[C+(u*20|0)+1>>0]=0;u=D}else{zi(ra,53,G,H,m)|0;u=c[ia>>2]|0}if((u|0)<=0)break;b[(c[ja>>2]|0)+((u+-1|0)*20|0)+2>>1]=144;break}do if(!I){u=b[R>>1]|0;if(!(u<<16>>16))break;B=s+4|0;A=0;do{y=b[(c[n>>2]|0)+(A<<1)>>1]|0;w=b[D>>1]|0;g:do if(!(w<<16>>16))w=-1;else{z=c[B>>2]|0;x=w&65535;w=0;while(1){if((b[z+(w<<1)>>1]|0)==y<<16>>16)break g;w=w+1|0;if((w|0)>=(x|0)){w=-1;break}}}while(0);w=w<<16>>16;x=A+G|0;y=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(y|0)){c[ia>>2]=y+1;C=c[ja>>2]|0;a[C+(y*20|0)>>0]=96;b[C+(y*20|0)+2>>1]=0;c[C+(y*20|0)+4>>2]=K;c[C+(y*20|0)+8>>2]=w;c[C+(y*20|0)+12>>2]=x;c[C+(y*20|0)+16>>2]=0;a[C+(y*20|0)+1>>0]=0}else{zi(ra,96,K,w,x)|0;u=b[R>>1]|0}A=A+1|0}while((A|0)<(u&65535|0))}while(0);if(!pa)break;u=b[R>>1]|0;C=(a[s+55>>0]&3)==2?J:G;if(!(u<<16>>16))break;B=52;z=(c[ia>>2]|0)+(u&65535)|0;A=0;do{u=c[(c[S>>2]|0)+(A<<2)>>2]|0;x=c[f>>2]|0;w=a[x+70>>0]|0;D=a[x+157>>0]|0;x=Pi(x,w,u,D&255)|0;do if(!(D<<24>>24)){if(x|0?c[x+12>>2]|0:0)break;x=Qi(f,w,x,u)|0}while(0);w=(A|0)==((e[R>>1]|0)+-1|0);z=w?H:z;B=w?53:B;w=T+(b[(c[n>>2]|0)+(A<<1)>>1]|0)|0;y=A+C|0;u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){c[ia>>2]=u+1;D=c[ja>>2]|0;a[D+(u*20|0)>>0]=B;b[D+(u*20|0)+2>>1]=0;c[D+(u*20|0)+4>>2]=w;c[D+(u*20|0)+8>>2]=z;c[D+(u*20|0)+12>>2]=y;c[D+(u*20|0)+16>>2]=0;a[D+(u*20|0)+1>>0]=0}else u=zi(ra,B,w,z,y)|0;do if(!(a[(c[ra>>2]|0)+73>>0]|0)){if((u|0)<0)u=(c[ia>>2]|0)+-1|0;w=c[ja>>2]|0;y=w+(u*20|0)+1|0;if(a[y>>0]|0){Ai(ra,w+(u*20|0)|0,x,-2);break}if(!x)break;c[w+(u*20|0)+16>>2]=x;a[y>>0]=-2}while(0);u=c[ia>>2]|0;if((u|0)>0)b[(c[ja>>2]|0)+((u+-1|0)*20|0)+2>>1]=144;A=A+1|0}while((A|0)<(e[R>>1]|0))}while(0);h:do switch(F<<24>>24){case 3:case 2:case 1:{Ck(f,E,s);break}case 4:{u=c[ia>>2]|0;if((c[(c[ga>>2]|0)+48>>2]|0)>(u|0)){c[ia>>2]=u+1;K=c[ja>>2]|0;a[K+(u*20|0)>>0]=13;b[K+(u*20|0)+2>>1]=0;c[K+(u*20|0)+4>>2]=0;c[K+(u*20|0)+8>>2]=p;c[K+(u*20|0)+12>>2]=0;c[K+(u*20|0)+16>>2]=0;a[K+(u*20|0)+1>>0]=0;break h}else{zi(ra,13,0,p,0)|0;break h}}default:{H=c[U>>2]|0;a[((H|0)==0?f:H)+20>>0]=1;if(!(c[O>>2]&8192))u=0;else{u=c[f>>2]|0;do if(!(c[u+28>>2]&262144)){u=0;v=0}else{u=c[(c[u+16>>2]|0)+28>>2]|0;if(a[M>>0]|0){u=0;v=0;break}A=c[N>>2]|0;do if((A|0)!=(u|0)){u=c[u+48>>2]|0;if(!u){qa=359;break}else{z=u;u=0}do{y=c[z+8>>2]|0;do if((c[y+24>>2]|0)==(A|0)){w=c[y+4>>2]|0;x=c[g>>2]|0;H=a[w>>0]|0;v=(d[17324+(H&255)>>0]|0)-(d[17324+(d[x>>0]|0)>>0]|0)|0;if(!(H<<24>>24==0|(v|0)!=0))do{w=w+1|0;x=x+1|0;H=a[w>>0]|0;v=(d[17324+(H&255)>>0]|0)-(d[17324+(d[x>>0]|0)>>0]|0)|0}while(!(H<<24>>24==0|(v|0)!=0));if(v|0)break;if(!u)u=c[Q>>2]|0;c[y+32>>2]=u;u=y}while(0);z=c[z>>2]|0}while((z|0)!=0);if(!u)qa=359}else qa=359;while(0);if((qa|0)==359){qa=0;u=c[Q>>2]|0;if(!u){u=0;v=0;break}}v=0;w=u;do{if((a[w+8>>0]|0)==109)v=d[w+9>>0]|v;w=c[w+32>>2]|0}while((w|0)!=0)}while(0);u=v|0?u:0}Fm(f,g,u,i,j,G,V,0,5,I&1,K);v=1}}while(0);u=c[(c[ga>>2]|0)+72>>2]|0;if(u|0)c[u+(L<<2)>>2]=c[ia>>2];if((G|0)==(J|0))break;if(W){if(!G)break;y=a[X>>0]|0;if((y&255)>=8)break;u=a[Y>>0]|0;i:do if(u<<24>>24){x=u&255;u=0;w=Z;while(1){if((c[w+12>>2]|0)==(G|0))break;u=u+1|0;if((u|0)>=(x|0))break i;else w=w+20|0}a[w+6>>0]=1;break e}while(0);a[X>>0]=y+1<<24>>24;c[f+348+((y&255)<<2)>>2]=G;break}u=a[Y>>0]|0;j:do if(u<<24>>24){C=G+ma|0;B=0;do{y=f+148+(B*20|0)+12|0;z=f+148+(B*20|0)|0;A=f+148+(B*20|0)+6|0;while(1){w=c[y>>2]|0;if(!((w|0)>=(G|0)&(w|0)<(C|0)))break;do if(a[A>>0]|0){x=a[X>>0]|0;if((x&255)>=8)break;a[X>>0]=x+1<<24>>24;c[f+348+((x&255)<<2)>>2]=w}while(0);u=u+-1<<24>>24;a[Y>>0]=u;w=u&255;if((w|0)>(B|0)){u=f+148+(w*20|0)|0;c[z>>2]=c[u>>2];c[z+4>>2]=c[u+4>>2];c[z+8>>2]=c[u+8>>2];c[z+12>>2]=c[u+12>>2];c[z+16>>2]=c[u+16>>2];u=a[Y>>0]|0}if((B|0)>=(u&255|0))break j}B=B+1|0}while((B|0)<(u&255|0))}while(0);if((c[_>>2]|0)>=(ma|0))break;c[_>>2]=ma;c[$>>2]=G}while(0);s=c[s+20>>2]|0;if(!s)break;else r=r+1|0}}if(!ka){c[q>>2]=v;l=sa;return}s=ka+1|0;t=ra+136|0;u=c[t>>2]|0;if((c[(c[ra+12>>2]|0)+48>>2]|0)>(u|0)){qa=u+1|0;c[t>>2]=qa;t=c[ra+88>>2]|0;a[t+(u*20|0)>>0]=13;b[t+(u*20|0)+2>>1]=0;c[t+(u*20|0)+4>>2]=0;c[t+(u*20|0)+8>>2]=s;c[t+(u*20|0)+12>>2]=0;c[t+(u*20|0)+16>>2]=0;a[t+(u*20|0)+1>>0]=0;t=qa}else{zi(ra,13,0,s,0)|0;t=c[t>>2]|0}if(!(a[(c[ra>>2]|0)+73>>0]|0))s=(c[ra+88>>2]|0)+(((la|0)<0?t+-1|0:la)*20|0)|0;else s=46708;c[s+8>>2]=t;c[q>>2]=v;l=sa;return}function Nl(e,f,g,h,i,j){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;$=l;l=l+16|0;Y=$+8|0;Z=$+4|0;S=$;_=c[e>>2]|0;R=e+146|0;V=a[R>>0]|0;W=_+28|0;if(!(c[W>>2]&16384)){l=$;return}T=f+72|0;k=c[T>>2]|0;n=c[_+16>>2]|0;if(!k)m=-1e6;else{m=0;while(1)if((c[n+(m<<4)+12>>2]|0)==(k|0))break;else m=m+1|0}Q=c[n+(m<<4)>>2]|0;n=c[f+16>>2]|0;do if(!n)m=f;else{y=(i|0)==0;z=V<<24>>24==0;A=_+73|0;B=e+8|0;C=e+120|0;D=e+23|0;E=g+1|0;F=f+40|0;G=_+304|0;H=e+40|0;I=(g|0)==0;J=(h|0)==0;K=(_|0)==0;L=_+464|0;M=_+296|0;N=_+300|0;O=_+292|0;P=(j|0)==0;a:while(1){c[Y>>2]=0;c[Z>>2]=0;b:do if(!y){p=c[f>>2]|0;k=c[n+8>>2]|0;if(p){if(k|0){U=a[p>>0]|0;o=(d[17324+(U&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(U<<24>>24==0|(o|0)!=0)U=14;else{q=k;do{p=p+1|0;q=q+1|0;U=a[p>>0]|0;o=(d[17324+(U&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(o|0)!=0));U=14}}}else{o=((k|0)!=0)<<31>>31;U=14}if((U|0)==14?(U=0,(o|0)==0):0){U=22;break}r=c[n+20>>2]|0;if((r|0)>0){if(P){p=0;while(1){if((c[i+(c[n+36+(p<<3)>>2]<<2)>>2]|0)>-1){U=22;break b}p=p+1|0;if((p|0)>=(r|0))break b}}else p=0;do{q=c[n+36+(p<<3)>>2]|0;if((c[i+(q<<2)>>2]|0)>-1){U=22;break b}p=p+1|0;if((q|0)==(b[F>>1]|0)){U=22;break b}}while((p|0)<(r|0))}}else{k=c[n+8>>2]|0;U=22}while(0);c:do if((U|0)==22){U=0;if(!(a[R>>0]|0))w=oj(e,0,k,Q)|0;else w=jj(_,k,Q)|0;k=(w|0)==0;if(!k?(xl(e,w,n,Y,Z)|0)==0:0){k=c[Z>>2]|0;if(!k){c[S>>2]=c[n+36>>2];k=S}u=n+20|0;if((c[u>>2]|0)>0){v=w+4|0;x=c[Y>>2]|0;s=w+40|0;t=x+4|0;if(!x){q=0;r=0;do{p=k+(r<<2)|0;if((c[p>>2]|0)==(b[F>>1]|0))c[p>>2]=-1;if(c[G>>2]|0)q=(jk(e,c[w>>2]|0,c[(c[v>>2]|0)+(b[s>>1]<<4)>>2]|0,m)|0)==2&1;r=r+1|0}while((r|0)<(c[u>>2]|0));p=w}else{q=0;r=0;do{p=k+(r<<2)|0;if((c[p>>2]|0)==(b[F>>1]|0))c[p>>2]=-1;if(c[G>>2]|0)q=(jk(e,c[w>>2]|0,c[(c[v>>2]|0)+(b[(c[t>>2]|0)+(r<<1)>>1]<<4)>>2]|0,m)|0)==2&1;r=r+1|0}while((r|0)<(c[u>>2]|0));p=w}}else{q=0;p=w}qk(e,m,c[w+28>>2]|0,0,c[p>>2]|0);c[H>>2]=(c[H>>2]|0)+1;if(!I)Pl(e,m,w,c[Y>>2]|0,n,k,g,-1,q);do if(!J){p=c[C>>2]|0;p=c[((p|0)==0?e:p)+460>>2]|0;if(p|0){p=c[p>>2]|0;if((p|0)==(c[n+28>>2]|0)?(a[n+25>>0]|0)==7:0)break;if((p|0)==(c[n+32>>2]|0)?(a[n+26>>0]|0)==7:0)break}Pl(e,m,w,c[Y>>2]|0,n,k,h,1,q)}while(0);k=c[Z>>2]|0;if(!k)break;do if(!K){if(c[L>>2]|0){Lc(_,k);break c}p=k;if(p>>>0>=(c[M>>2]|0)>>>0){if(p>>>0>=(c[N>>2]|0)>>>0)break;c[k>>2]=c[O>>2];c[O>>2]=k;break c}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{x=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}if(z)break a;if(a[A>>0]|0)break a;if(k){k=c[B>>2]|0;if(!k){if((c[C>>2]|0)==0?(b[(c[e>>2]|0)+68>>1]&8)==0:0)a[D>>0]=1;k=yi(e)|0}w=k+136|0;q=c[w>>2]|0;t=n+20|0;p=c[t>>2]|0;u=q+1+p|0;x=k+12|0;if((p|0)>0){v=k+88|0;s=0;do{r=E+(c[n+36+(s<<3)>>2]|0)|0;if((c[(c[x>>2]|0)+48>>2]|0)>(q|0)){aa=q+1|0;c[w>>2]=aa;ba=c[v>>2]|0;a[ba+(q*20|0)>>0]=50;b[ba+(q*20|0)+2>>1]=0;c[ba+(q*20|0)+4>>2]=r;c[ba+(q*20|0)+8>>2]=u;c[ba+(q*20|0)+12>>2]=0;c[ba+(q*20|0)+16>>2]=0;a[ba+(q*20|0)+1>>0]=0;q=aa}else{zi(k,50,r,u,0)|0;q=c[w>>2]|0;p=c[t>>2]|0}s=s+1|0}while((s|0)<(p|0))}p=d[n+24>>0]|0;if((c[(c[x>>2]|0)+48>>2]|0)>(q|0)){c[w>>2]=q+1;ba=c[k+88>>2]|0;a[ba+(q*20|0)>>0]=-111;b[ba+(q*20|0)+2>>1]=0;c[ba+(q*20|0)+4>>2]=p;c[ba+(q*20|0)+8>>2]=-1;c[ba+(q*20|0)+12>>2]=0;c[ba+(q*20|0)+16>>2]=0;a[ba+(q*20|0)+1>>0]=0;break}else{zi(k,145,p,-1,0)|0;break}}}while(0);n=c[n+4>>2]|0;if(!n){U=80;break}}if((U|0)==80){m=f;k=c[T>>2]|0;break}l=$;return}while(0);k=c[($f(k+56|0,c[m>>2]|0,0)|0)+8>>2]|0;if(!k){l=$;return}r=(i|0)!=0;s=e+120|0;t=e+20|0;u=(_|0)==0;v=_+464|0;w=_+296|0;x=_+300|0;y=_+292|0;z=e+40|0;A=(h|0)==0;B=(g|0)==0;C=r&1;p=V<<24>>24==0;q=_+73|0;d:while(1){c[Y>>2]=0;c[Z>>2]=0;if(r?(Ql(f,k,i,j)|0)==0:0)U=110;else U=85;do if((U|0)==85){U=0;o=k+24|0;if((((a[o>>0]|0)==0?(c[W>>2]&524288|0)==0:0)?(c[s>>2]|0)==0:0)?(a[t>>0]|0)==0:0){U=110;break}if(xl(e,f,k,Y,Z)|0){if(p){U=91;break d}if(!(a[q>>0]|0))break;else{U=113;break d}}m=Wi(_,0,0,0)|0;if(m|0){ba=c[k>>2]|0;c[m+24>>2]=ba;n=m+16|0;c[n>>2]=c[ba>>2];ba=ba+32|0;c[ba>>2]=(c[ba>>2]|0)+1;ba=c[z>>2]|0;c[z>>2]=ba+1;c[m+52>>2]=ba;if(!A)Rl(e,m,f,c[Y>>2]|0,k,c[Z>>2]|0,h,-1);e:do if(!B?(X=a[k+25+C>>0]|0,Rl(e,m,f,c[Y>>2]|0,k,c[Z>>2]|0,g,1),(a[o>>0]|0)==0):0){switch(X<<24>>24){case 7:case 9:break e;default:{}}ba=c[s>>2]|0;a[((ba|0)==0?e:ba)+21>>0]=1}while(0);c[n>>2]=0;ag(_,m)}m=c[Z>>2]|0;if(m){if(!u){if(c[v>>2]|0){Lc(_,m);U=110;break}ba=m;if(ba>>>0>=(c[w>>2]|0)>>>0?ba>>>0<(c[x>>2]|0)>>>0:0){c[m>>2]=c[y>>2];c[y>>2]=m;U=110;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);U=110;break}else{U=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);U=110;break}}else U=110}while(0);k=c[k+12>>2]|0;if(!k){U=113;break}}if((U|0)==91){l=$;return}else if((U|0)==113){l=$;return}}function Ol(d,f,g,h,i,j,k,l,m){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;n=c[d+8>>2]|0;if(!n){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;E=yi(d)|0}else E=n;o=c[f+8>>2]|0;if(!o){r=0;n=f+36|0}else{w=m|0?16:0;n=f+36|0;x=((w|1)&255|k&2)&255;y=E+136|0;z=E+12|0;A=E+88|0;v=0;p=0;while(1){s=j+(v<<2)|0;r=c[s>>2]|0;if(r){do if(c[o+36>>2]|0){p=c[y>>2]|0;q=p+2|0;if((c[(c[z>>2]|0)+48>>2]|0)>(p|0)){c[y>>2]=p+1;u=c[A>>2]|0;a[u+(p*20|0)>>0]=50;b[u+(p*20|0)+2>>1]=0;c[u+(p*20|0)+4>>2]=r;c[u+(p*20|0)+8>>2]=q;c[u+(p*20|0)+12>>2]=0;c[u+(p*20|0)+16>>2]=0;a[u+(p*20|0)+1>>0]=0;break}else{zi(E,50,r,q,0)|0;break}}while(0);p=a[o+55>>0]|0;if((p&3)==2)u=(c[n>>2]&32|0)==0?w:x;else u=w;t=v+h|0;q=c[s>>2]|0;r=q+1|0;s=e[((p&8)==0?o+52|0:o+50|0)>>1]|0;p=c[y>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(p|0)){c[y>>2]=p+1;F=c[A>>2]|0;a[F+(p*20|0)>>0]=127;b[F+(p*20|0)+2>>1]=0;c[F+(p*20|0)+4>>2]=t;c[F+(p*20|0)+8>>2]=q;c[F+(p*20|0)+12>>2]=r;c[F+(p*20|0)+16>>2]=0;a[F+(p*20|0)+1>>0]=0}else p=zi(E,127,t,q,r)|0;if(!(a[(c[E>>2]|0)+73>>0]|0)){F=c[A>>2]|0;a[F+(p*20|0)+1>>0]=-3;c[F+(p*20|0)+16>>2]=s}p=c[y>>2]|0;if((p|0)>0){b[(c[A>>2]|0)+((p+-1|0)*20|0)+2>>1]=u&255;p=1}else p=1}o=c[o+20>>2]|0;if(!o){r=p;break}else v=v+1|0}}if(c[n>>2]&32|0)return;q=i+1|0;u=d+19|0;n=a[u>>0]|0;if(!(n<<24>>24)){F=d+44|0;v=(c[F>>2]|0)+1|0;c[F>>2]=v}else{v=n+-1<<24>>24;a[u>>0]=v;v=c[d+348+((v&255)<<2)>>2]|0}n=f+42|0;o=b[n>>1]|0;x=E+136|0;p=c[x>>2]|0;w=E+12|0;if((c[(c[w>>2]|0)+48>>2]|0)>(p|0)){c[x>>2]=p+1;F=c[E+88>>2]|0;a[F+(p*20|0)>>0]=99;b[F+(p*20|0)+2>>1]=0;c[F+(p*20|0)+4>>2]=q;c[F+(p*20|0)+8>>2]=o;c[F+(p*20|0)+12>>2]=v;c[F+(p*20|0)+16>>2]=0;a[F+(p*20|0)+1>>0]=0}else zi(E,99,q,o,v)|0;a:do if(r<<24>>24==0?(Kl(E,f,0),C=d+25|0,B=a[C>>0]|0,B<<24>>24):0){t=(b[n>>1]|0)+q|0;s=0;n=B;do{p=d+148+(s*20|0)+12|0;q=d+148+(s*20|0)|0;r=d+148+(s*20|0)+6|0;while(1){o=c[p>>2]|0;if(!((o|0)>(i|0)&(o|0)<(t|0)))break;if(a[r>>0]|0?(D=a[u>>0]|0,(D&255)<8):0){a[u>>0]=D+1<<24>>24;c[d+348+((D&255)<<2)>>2]=o}n=n+-1<<24>>24;a[C>>0]=n;o=n&255;if((o|0)>(s|0)){n=d+148+(o*20|0)|0;c[q>>2]=c[n>>2];c[q+4>>2]=c[n+4>>2];c[q+8>>2]=c[n+8>>2];c[q+12>>2]=c[n+12>>2];c[q+16>>2]=c[n+16>>2];n=a[C>>0]|0}if((s|0)>=(n&255|0))break a}s=s+1|0}while((s|0)<(n&255|0))}while(0);q=d+18|0;n=a[q>>0]|0;p=n<<24>>24==0?(k|0?(k|1)&255:33):0;p=(l|0)==0?p:p|8;p=(m|0)==0?p:p|16;o=c[x>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(o|0)){c[x>>2]=o+1;F=c[E+88>>2]|0;a[F+(o*20|0)>>0]=116;b[F+(o*20|0)+2>>1]=0;c[F+(o*20|0)+4>>2]=g;c[F+(o*20|0)+8>>2]=v;c[F+(o*20|0)+12>>2]=i;c[F+(o*20|0)+16>>2]=0;a[F+(o*20|0)+1>>0]=0}else{zi(E,116,g,v,i)|0;n=a[q>>0]|0}if(n<<24>>24==0?(a[(c[E>>2]|0)+73>>0]|0)==0:0){i=c[E+88>>2]|0;F=(c[x>>2]|0)+-1|0;a[i+(F*20|0)+1>>0]=-6;c[i+(F*20|0)+16>>2]=f}n=c[x>>2]|0;if((n|0)<=0)return;b[(c[E+88>>2]|0)+((n+-1|0)*20|0)+2>>1]=p&255;return}function Pl(e,f,g,h,i,j,k,l,m){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;C=e+8|0;n=c[C>>2]|0;if(!n){if((c[e+120>>2]|0)==0?(b[(c[e>>2]|0)+68>>1]&8)==0:0)a[e+23>>0]=1;I=yi(e)|0}else I=n;J=(c[e+40>>2]|0)+-1|0;G=I+12|0;n=c[G>>2]|0;q=n+68|0;H=c[q>>2]|0;c[q>>2]=H+1;q=n+72|0;if(!(H+-1&H)){o=c[n>>2]|0;p=c[q>>2]|0;n=Mc(o,p,H<<3|4,0)|0;do if(!((p|0)==0|(n|0)!=0)){if(o|0){if(c[o+464>>2]|0){Lc(o,p);break}B=p;if(B>>>0>=(c[o+296>>2]|0)>>>0?B>>>0<(c[o+300>>2]|0)>>>0:0){B=o+292|0;c[p>>2]=c[B>>2];c[B>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{B=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[q>>2]=n}else n=c[q>>2]|0;if(n|0)c[n+(H<<2)>>2]=-1;B=~H;do if((l|0)<0){n=d[i+24>>0]|0;o=I+136|0;p=c[o>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(p|0)){c[o>>2]=p+1;A=c[I+88>>2]|0;a[A+(p*20|0)>>0]=47;b[A+(p*20|0)+2>>1]=0;c[A+(p*20|0)+4>>2]=n;c[A+(p*20|0)+8>>2]=B;c[A+(p*20|0)+12>>2]=0;c[A+(p*20|0)+16>>2]=0;a[A+(p*20|0)+1>>0]=0;break}else{zi(I,47,n,B,0)|0;break}}while(0);r=i+20|0;n=c[r>>2]|0;if((n|0)>0){s=k+1|0;t=I+136|0;u=I+88|0;q=0;do{o=s+(c[j+(q<<2)>>2]|0)|0;p=c[t>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(p|0)){c[t>>2]=p+1;A=c[u>>2]|0;a[A+(p*20|0)>>0]=50;b[A+(p*20|0)+2>>1]=0;c[A+(p*20|0)+4>>2]=o;c[A+(p*20|0)+8>>2]=B;c[A+(p*20|0)+12>>2]=0;c[A+(p*20|0)+16>>2]=0;a[A+(p*20|0)+1>>0]=0}else{zi(I,50,o,B,0)|0;n=c[r>>2]|0}q=q+1|0}while((q|0)<(n|0));A=n}else A=n;a:do if(!m){if(!h){s=e+19|0;n=a[s>>0]|0;if(!(n<<24>>24)){A=e+44|0;r=(c[A>>2]|0)+1|0;c[A>>2]=r}else{r=n+-1<<24>>24;a[s>>0]=r;r=c[e+348+((r&255)<<2)>>2]|0}n=k+1+(c[j>>2]|0)|0;q=I+136|0;o=c[q>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(o|0)){A=o+1|0;c[q>>2]=A;z=c[I+88>>2]|0;a[z+(o*20|0)>>0]=76;b[z+(o*20|0)+2>>1]=0;c[z+(o*20|0)+4>>2]=n;c[z+(o*20|0)+8>>2]=r;c[z+(o*20|0)+12>>2]=0;c[z+(o*20|0)+16>>2]=0;a[z+(o*20|0)+1>>0]=0;n=A}else{zi(I,76,n,r,0)|0;n=c[q>>2]|0}if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){c[q>>2]=n+1;p=c[I+88>>2]|0;a[p+(n*20|0)>>0]=17;b[p+(n*20|0)+2>>1]=0;c[p+(n*20|0)+4>>2]=r;c[p+(n*20|0)+8>>2]=0;c[p+(n*20|0)+12>>2]=0;c[p+(n*20|0)+16>>2]=0;a[p+(n*20|0)+1>>0]=0;p=n}else p=zi(I,17,r,0,0)|0;if((l|0)==1?(c[i>>2]|0)==(g|0):0){n=c[q>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){A=n+1|0;c[q>>2]=A;z=c[I+88>>2]|0;a[z+(n*20|0)>>0]=53;b[z+(n*20|0)+2>>1]=0;c[z+(n*20|0)+4>>2]=k;c[z+(n*20|0)+8>>2]=B;c[z+(n*20|0)+12>>2]=r;c[z+(n*20|0)+16>>2]=0;a[z+(n*20|0)+1>>0]=0;n=A}else{zi(I,53,k,B,r)|0;n=c[q>>2]|0}if((n|0)>0)b[(c[I+88>>2]|0)+((n+-1|0)*20|0)+2>>1]=144}Bi(e,J,f,g,104);n=c[q>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){A=n+1|0;c[q>>2]=A;k=c[I+88>>2]|0;a[k+(n*20|0)>>0]=32;b[k+(n*20|0)+2>>1]=0;c[k+(n*20|0)+4>>2]=J;c[k+(n*20|0)+8>>2]=0;c[k+(n*20|0)+12>>2]=r;c[k+(n*20|0)+16>>2]=0;a[k+(n*20|0)+1>>0]=0;n=A}else{zi(I,32,J,0,r)|0;n=c[q>>2]|0}if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[q>>2]=o;A=c[I+88>>2]|0;a[A+(n*20|0)>>0]=13;b[A+(n*20|0)+2>>1]=0;c[A+(n*20|0)+4>>2]=0;c[A+(n*20|0)+8>>2]=B;c[A+(n*20|0)+12>>2]=0;c[A+(n*20|0)+16>>2]=0;a[A+(n*20|0)+1>>0]=0}else{zi(I,13,0,B,0)|0;o=c[q>>2]|0}if(!(a[(c[I>>2]|0)+73>>0]|0)){c[(c[I+88>>2]|0)+((((o|0)<2?-1:-2)+o|0)*20|0)+8>>2]=o;n=(c[I+88>>2]|0)+(((p|0)<0?o+-1|0:p)*20|0)|0}else{c[11679]=o;n=46708}c[n+8>>2]=o;if(!r)break;q=a[s>>0]|0;if((q&255)>=8)break;n=a[e+25>>0]|0;b:do if(n<<24>>24){p=n&255;n=0;o=e+148|0;while(1){if((c[o+12>>2]|0)==(r|0))break;n=n+1|0;if((n|0)>=(p|0))break b;else o=o+20|0}a[o+6>>0]=1;break a}while(0);a[s>>0]=q+1<<24>>24;c[e+348+((q&255)<<2)>>2]=r;break}x=(A|0)==1;do if(x){n=e+19|0;o=a[n>>0]|0;if(!(o<<24>>24)){y=e+44|0;z=(c[y>>2]|0)+1|0;c[y>>2]=z;break}else{z=o+-1<<24>>24;a[n>>0]=z;z=c[e+348+((z&255)<<2)>>2]|0;break}}else{n=e+32|0;o=c[n>>2]|0;p=e+28|0;q=c[p>>2]|0;if((q|0)<(A|0)){y=e+44|0;z=c[y>>2]|0;c[y>>2]=z+A;z=z+1|0;break}else{c[n>>2]=o+A;c[p>>2]=q-A;z=o;break}}while(0);y=e+19|0;n=a[y>>0]|0;if(!(n<<24>>24)){v=e+44|0;w=(c[v>>2]|0)+1|0;c[v>>2]=w}else{w=n+-1<<24>>24;a[y>>0]=w;w=c[e+348+((w&255)<<2)>>2]|0}n=c[h+44>>2]|0;v=I+136|0;o=c[v>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(o|0)){c[v>>2]=o+1;m=c[I+88>>2]|0;a[m+(o*20|0)>>0]=104;b[m+(o*20|0)+2>>1]=0;c[m+(o*20|0)+4>>2]=J;c[m+(o*20|0)+8>>2]=n;c[m+(o*20|0)+12>>2]=f;c[m+(o*20|0)+16>>2]=0;a[m+(o*20|0)+1>>0]=0}else zi(I,104,J,n,f)|0;n=c[C>>2]|0;p=rk(e,h)|0;c:do if(p|0){o=c[n>>2]|0;if(!(a[o+73>>0]|0)){m=c[n+88>>2]|0;f=(c[n+136>>2]|0)+-1|0;a[m+(f*20|0)+1>>0]=-9;c[m+(f*20|0)+16>>2]=p;break}if((c[o+464>>2]|0)==0?(f=(c[p>>2]|0)+-1|0,c[p>>2]=f,(f|0)==0):0){n=c[p+12>>2]|0;do if(n|0){if(c[n+464>>2]|0){Lc(n,p);break c}o=p;if(o>>>0>=(c[n+296>>2]|0)>>>0){if(o>>>0>=(c[n+300>>2]|0)>>>0)break;f=n+292|0;c[p>>2]=c[f>>2];c[f>>2]=p;break c}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{f=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}}while(0);t=(A|0)>0;if(t){o=k+1|0;p=I+88|0;n=0;do{q=o+(c[j+(n<<2)>>2]|0)|0;r=n+z|0;s=c[v>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(s|0)){c[v>>2]=s+1;f=c[p>>2]|0;a[f+(s*20|0)>>0]=75;b[f+(s*20|0)+2>>1]=0;c[f+(s*20|0)+4>>2]=q;c[f+(s*20|0)+8>>2]=r;c[f+(s*20|0)+12>>2]=0;c[f+(s*20|0)+16>>2]=0;a[f+(s*20|0)+1>>0]=0}else zi(I,75,q,r,0)|0;n=n+1|0}while((n|0)!=(A|0))}do if((l|0)==1?(c[i>>2]|0)==(g|0):0){n=c[v>>2]|0;m=A+1+n|0;if(t){t=k+1|0;u=h+4|0;r=g+40|0;s=I+88|0;q=0;do{p=t+(c[j+(q<<2)>>2]|0)|0;o=b[(c[u>>2]|0)+(q<<1)>>1]|0;o=(o<<16>>16==(b[r>>1]|0)?0:(o<<16>>16)+1|0)+k|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){g=n+1|0;c[v>>2]=g;f=c[s>>2]|0;a[f+(n*20|0)>>0]=52;b[f+(n*20|0)+2>>1]=0;c[f+(n*20|0)+4>>2]=p;c[f+(n*20|0)+8>>2]=m;c[f+(n*20|0)+12>>2]=o;c[f+(n*20|0)+16>>2]=0;a[f+(n*20|0)+1>>0]=0;n=g}else{zi(I,52,p,m,o)|0;n=c[v>>2]|0}if((n|0)>0)b[(c[s>>2]|0)+((n+-1|0)*20|0)+2>>1]=16;q=q+1|0}while((q|0)!=(A|0))}if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;k=c[I+88>>2]|0;a[k+(n*20|0)>>0]=13;b[k+(n*20|0)+2>>1]=0;c[k+(n*20|0)+4>>2]=0;c[k+(n*20|0)+8>>2]=B;c[k+(n*20|0)+12>>2]=0;c[k+(n*20|0)+16>>2]=0;a[k+(n*20|0)+1>>0]=0;break}else{zi(I,13,0,B,0)|0;break}}while(0);r=Fk(c[e>>2]|0,h)|0;n=c[v>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;k=c[I+88>>2]|0;a[k+(n*20|0)>>0]=99;b[k+(n*20|0)+2>>1]=0;c[k+(n*20|0)+4>>2]=z;c[k+(n*20|0)+8>>2]=A;c[k+(n*20|0)+12>>2]=w;c[k+(n*20|0)+16>>2]=0;a[k+(n*20|0)+1>>0]=0}else n=zi(I,99,z,A,w)|0;o=c[I>>2]|0;d:do if(a[o+73>>0]|0){if((A|0)!=-12)Wf(o,A,r)}else{if((n|0)<0)n=(c[v>>2]|0)+-1|0;o=c[I+88>>2]|0;p=o+(n*20|0)|0;do if((A|0)<=-1){q=o+(n*20|0)+1|0;if(a[q>>0]|0)break;if((A|0)==-3){c[o+(n*20|0)+16>>2]=r;a[q>>0]=-3;break d}if(!r)break d;c[o+(n*20|0)+16>>2]=r;a[q>>0]=A;if((A|0)!=-12)break d;k=r+12|0;c[k>>2]=(c[k>>2]|0)+1;break d}while(0);Ai(I,p,r,A)}while(0);n=c[v>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;k=c[I+88>>2]|0;a[k+(n*20|0)>>0]=30;b[k+(n*20|0)+2>>1]=0;c[k+(n*20|0)+4>>2]=J;c[k+(n*20|0)+8>>2]=B;c[k+(n*20|0)+12>>2]=w;c[k+(n*20|0)+16>>2]=0;a[k+(n*20|0)+1>>0]=0}else n=zi(I,30,J,B,w)|0;if(!(a[(c[I>>2]|0)+73>>0]|0)){B=c[I+88>>2]|0;a[B+(n*20|0)+1>>0]=-3;c[B+(n*20|0)+16>>2]=0}e:do if(w|0){q=a[y>>0]|0;if((q&255)>=8)break;n=a[e+25>>0]|0;f:do if(n<<24>>24){p=n&255;n=0;o=e+148|0;while(1){if((c[o+12>>2]|0)==(w|0))break;n=n+1|0;if((n|0)>=(p|0))break f;else o=o+20|0}a[o+6>>0]=1;break e}while(0);a[y>>0]=q+1<<24>>24;c[e+348+((q&255)<<2)>>2]=w}while(0);if(x){if(!z)break;q=a[y>>0]|0;if((q&255)>=8)break;n=a[e+25>>0]|0;g:do if(n<<24>>24){p=n&255;n=0;o=e+148|0;while(1){if((c[o+12>>2]|0)==(z|0))break;n=n+1|0;if((n|0)>=(p|0))break g;else o=o+20|0}a[o+6>>0]=1;break a}while(0);a[y>>0]=q+1<<24>>24;c[e+348+((q&255)<<2)>>2]=z;break}u=e+25|0;n=a[u>>0]|0;h:do if(n<<24>>24){m=z+A|0;t=0;do{q=e+148+(t*20|0)+12|0;r=e+148+(t*20|0)|0;s=e+148+(t*20|0)+6|0;while(1){o=c[q>>2]|0;if(!((o|0)>=(z|0)&(o|0)<(m|0)))break;do if(a[s>>0]|0){p=a[y>>0]|0;if((p&255)>=8)break;a[y>>0]=p+1<<24>>24;c[e+348+((p&255)<<2)>>2]=o}while(0);n=n+-1<<24>>24;a[u>>0]=n;o=n&255;if((o|0)>(t|0)){n=e+148+(o*20|0)|0;c[r>>2]=c[n>>2];c[r+4>>2]=c[n+4>>2];c[r+8>>2]=c[n+8>>2];c[r+12>>2]=c[n+12>>2];c[r+16>>2]=c[n+16>>2];n=a[u>>0]|0}if((t|0)>=(n&255|0))break h}t=t+1|0}while((t|0)<(n&255|0))}while(0);n=e+28|0;if((c[n>>2]|0)>=(A|0))break;c[n>>2]=A;c[e+32>>2]=z}while(0);n=a[i+24>>0]|0;o=n<<24>>24==0;if(((o?(D=c[e>>2]|0,(c[D+28>>2]&524288|0)==0):0)?(E=e+120|0,(c[E>>2]|0)==0):0)?(a[e+20>>0]|0)==0:0){n=c[C>>2]|0;if(!n){if(!(b[D+68>>1]&8))a[e+23>>0]=1;q=yi(e)|0;n=c[E>>2]|0}else{q=n;n=0}a[((n|0)==0?e:n)+21>>0]=1;p=q+136|0;n=c[p>>2]|0;if((c[(c[q+12>>2]|0)+48>>2]|0)>(n|0)){c[p>>2]=n+1;l=c[q+88>>2]|0;a[l+(n*20|0)>>0]=66;b[l+(n*20|0)+2>>1]=0;c[l+(n*20|0)+4>>2]=787;c[l+(n*20|0)+8>>2]=2;c[l+(n*20|0)+12>>2]=0;c[l+(n*20|0)+16>>2]=0;a[l+(n*20|0)+1>>0]=0}else n=zi(q,66,787,2,0)|0;if(!(a[(c[q>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[p>>2]|0)+-1|0;o=c[q+88>>2]|0;if(a[o+(n*20|0)+1>>0]|0)Ai(q,o+(n*20|0)|0,0,-1)}n=c[p>>2]|0;if((n|0)>0)b[(c[q+88>>2]|0)+((n+-1|0)*20|0)+2>>1]=4}else F=179;do if((F|0)==179){if(!((l|0)<1|o^1)){F=c[e+120>>2]|0;a[((F|0)==0?e:F)+21>>0]=1}n=n&255;o=I+136|0;p=c[o>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(p|0)){c[o>>2]=p+1;F=c[I+88>>2]|0;a[F+(p*20|0)>>0]=-111;b[F+(p*20|0)+2>>1]=0;c[F+(p*20|0)+4>>2]=n;c[F+(p*20|0)+8>>2]=l;c[F+(p*20|0)+12>>2]=0;c[F+(p*20|0)+16>>2]=0;a[F+(p*20|0)+1>>0]=0;break}else{zi(I,145,n,l,0)|0;break}}while(0);p=c[G>>2]|0;n=c[p+72>>2]|0;o=I+136|0;if(n|0)c[n+(H<<2)>>2]=c[o>>2];n=c[o>>2]|0;if((c[p+48>>2]|0)>(n|0)){c[o>>2]=n+1;I=c[I+88>>2]|0;a[I+(n*20|0)>>0]=112;b[I+(n*20|0)+2>>1]=0;c[I+(n*20|0)+4>>2]=J;c[I+(n*20|0)+8>>2]=0;c[I+(n*20|0)+12>>2]=0;c[I+(n*20|0)+16>>2]=0;a[I+(n*20|0)+1>>0]=0;return}else{zi(I,112,J,0,0)|0;return}}function Ql(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=c[e+20>>2]|0;if((p|0)<=0){r=0;return r|0}m=b[d+42>>1]|0;q=m<<16>>16>0;o=d+4|0;n=d+40|0;i=(g|0)==0;j=m<<16>>16;k=m<<16>>16;l=m<<16>>16;m=m<<16>>16;h=0;a:while(1){g=c[e+36+(h<<3)+4>>2]|0;b:do if(q){d=(g|0)==0;if(i)if(d){d=0;while(1){if((c[f+(d<<2)>>2]|0)>-1?a[(c[o>>2]|0)+(d<<4)+15>>0]&1:0){d=1;r=22;break a}d=d+1|0;if((d|0)>=(j|0))break b}}else{d=0;while(1){if((c[f+(d<<2)>>2]|0)>-1?(Dm(c[(c[o>>2]|0)+(d<<4)>>2]|0,g)|0)==0:0){d=1;r=22;break a}d=d+1|0;if((d|0)>=(k|0))break b}}if(d){d=0;do{if(!((c[f+(d<<2)>>2]|0)<=-1?(d|0)!=(b[n>>1]|0):0))r=8;if((r|0)==8?(r=0,a[(c[o>>2]|0)+(d<<4)+15>>0]&1):0){d=1;r=22;break a}d=d+1|0}while((d|0)<(l|0))}else{d=0;do{if(!((c[f+(d<<2)>>2]|0)<=-1?(d|0)!=(b[n>>1]|0):0))r=12;if((r|0)==12?(r=0,(Dm(c[(c[o>>2]|0)+(d<<4)>>2]|0,g)|0)==0):0){d=1;r=22;break a}d=d+1|0}while((d|0)<(m|0))}}while(0);h=h+1|0;if((h|0)>=(p|0)){d=0;r=22;break}}if((r|0)==22)return d|0;return 0}function Rl(f,g,h,i,j,k,m,n){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=l;l=l+112|0;K=O+32|0;H=O+24|0;G=O+16|0;E=O+8|0;D=O;J=O+72|0;I=O+40|0;N=c[f>>2]|0;p=c[f+8>>2]|0;if(!p){if((c[f+120>>2]|0)==0?(b[N+68>>1]&8)==0:0)a[f+23>>0]=1;M=yi(f)|0}else M=p;do if((n|0)<0){p=d[j+24>>0]|0;q=M+136|0;r=c[q>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(r|0)){c[q>>2]=r+1;L=c[M+88>>2]|0;a[L+(r*20|0)>>0]=47;b[L+(r*20|0)+2>>1]=0;c[L+(r*20|0)+4>>2]=p;c[L+(r*20|0)+8>>2]=0;c[L+(r*20|0)+12>>2]=0;c[L+(r*20|0)+16>>2]=0;a[L+(r*20|0)+1>>0]=0;L=r;break}else{L=zi(M,47,p,0,0)|0;break}}else L=0;while(0);w=j+20|0;if((c[w>>2]|0)>0){x=(i|0)==0;y=(k|0)==0;z=j+36|0;A=J+4|0;B=i+4|0;s=0;v=0;do{if(x)p=-1;else p=b[(c[B>>2]|0)+(v<<1)>>1]|0;u=Sl(f,h,m,p&65535)|0;p=c[(c[(c[j>>2]|0)+4>>2]|0)+(c[(y?z:k+(v<<2)|0)>>2]<<16>>16<<4)>>2]|0;c[J>>2]=p;if(!p)p=0;else p=(As(p)|0)&1073741823;c[A>>2]=p;t=Yi(N,59,J,0)|0;r=c[f>>2]|0;do if(c[r+264>>2]|0)if(!(a[r+73>>0]|0))F=25;else{p=r;F=29}else{if((e[r+268>>1]|0)>=48){q=r+292|0;p=c[q>>2]|0;if(p|0){c[q>>2]=c[p>>2];F=r+276|0;c[F>>2]=(c[F>>2]|0)+1;F=26;break}q=r+288|0;p=c[q>>2]|0;if(!p)p=2;else{c[q>>2]=c[p>>2];F=r+276|0;c[F>>2]=(c[F>>2]|0)+1;F=26;break}}else p=1;F=r+276+(p<<2)|0;c[F>>2]=(c[F>>2]|0)+1;F=25}while(0);if((F|0)==25){p=Ec(r,48,0)|0;F=26}do if((F|0)==26){F=0;if(!p){p=c[f>>2]|0;F=29;break}q=p;C=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(C|0));a[p>>0]=53;b[p+34>>1]=-1;if(!t)q=0;else{c[p+16>>2]=t;q=c[t+4>>2]&2097412;c[p+4>>2]=q}if(u|0){c[p+12>>2]=u;c[p+4>>2]=q|c[u+4>>2]&2097412}Ji(p);q=c[(c[f>>2]|0)+112>>2]|0;if((q|0)<(c[p+24>>2]|0)){c[D>>2]=q;hg(f,24905,D)}}while(0);if((F|0)==29){F=0;if(u|0)Qf(p,u);if(!t)p=0;else{Qf(p,t);p=0}}s=mk(N,s,p)|0;v=v+1|0}while((v|0)<(c[w>>2]|0));p=j}else{s=0;p=j}if((n|0)>0?(c[p>>2]|0)==(h|0):0){a:do if(!(c[h+36>>2]&32)){o=c[f>>2]|0;c[J>>2]=0;c[J+4>>2]=0;o=Yi(o,150,J,0)|0;if(!o)u=0;else{c[o+28>>2]=m;a[o+1>>0]=68;u=o}o=c[g+52>>2]|0;c[J>>2]=0;c[J+4>>2]=0;r=Yi(N,145,J,0)|0;t=(r|0)==0;if(!t){c[r+44>>2]=h;c[r+28>>2]=o;b[r+32>>1]=-1}q=c[f>>2]|0;do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))F=53;else o=q;else{if((e[q+268>>1]|0)>=48){p=q+292|0;o=c[p>>2]|0;if(o|0){c[p>>2]=c[o>>2];F=q+276|0;c[F>>2]=(c[F>>2]|0)+1;F=54;break}p=q+288|0;o=c[p>>2]|0;if(!o)o=2;else{c[p>>2]=c[o>>2];F=q+276|0;c[F>>2]=(c[F>>2]|0)+1;F=54;break}}else o=1;F=q+276+(o<<2)|0;c[F>>2]=(c[F>>2]|0)+1;F=53}while(0);if((F|0)==53){o=Ec(q,48,0)|0;F=54}do if((F|0)==54){if(!o){o=c[f>>2]|0;break}q=o;C=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(C|0));a[o>>0]=52;b[o+34>>1]=-1;if(t)p=0;else{c[o+16>>2]=r;p=c[r+4>>2]&2097412;c[o+4>>2]=p}if(u|0){c[o+12>>2]=u;c[o+4>>2]=p|c[u+4>>2]&2097412}Ji(o);p=c[(c[f>>2]|0)+112>>2]|0;if((p|0)>=(c[o+24>>2]|0))break a;c[E>>2]=p;hg(f,24905,E);break a}while(0);if(u|0)Qf(o,u);if(t)o=0;else{Qf(o,r);o=0}}else{p=h+8|0;while(1){p=c[p>>2]|0;if((a[p+55>>0]&3)==2)break;else p=p+20|0}B=p+50|0;if(!(b[B>>1]|0))r=0;else{y=i+4|0;z=g+52|0;A=J+4|0;r=0;x=0;do{p=b[(c[y>>2]|0)+(x<<1)>>1]|0;w=Sl(f,h,m,p)|0;q=c[z>>2]|0;c[J>>2]=0;c[A>>2]=0;u=Yi(N,145,J,0)|0;v=(u|0)==0;if(!v){c[u+44>>2]=h;c[u+28>>2]=q;b[u+32>>1]=p}t=c[f>>2]|0;do if(c[t+264>>2]|0)if(!(a[t+73>>0]|0))F=80;else{p=t;F=84}else{if((e[t+268>>1]|0)>=48){q=t+292|0;p=c[q>>2]|0;if(p|0){c[q>>2]=c[p>>2];F=t+276|0;c[F>>2]=(c[F>>2]|0)+1;F=81;break}q=t+288|0;p=c[q>>2]|0;if(!p)p=2;else{c[q>>2]=c[p>>2];F=t+276|0;c[F>>2]=(c[F>>2]|0)+1;F=81;break}}else p=1;F=t+276+(p<<2)|0;c[F>>2]=(c[F>>2]|0)+1;F=80}while(0);if((F|0)==80){p=Ec(t,48,0)|0;F=81}do if((F|0)==81){F=0;if(!p){p=c[f>>2]|0;F=84;break}q=p;C=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(C|0));a[p>>0]=53;b[p+34>>1]=-1;if(v)q=0;else{c[p+16>>2]=u;q=c[u+4>>2]&2097412;c[p+4>>2]=q}if(w|0){c[p+12>>2]=w;c[p+4>>2]=q|c[w+4>>2]&2097412}Ji(p);q=c[(c[f>>2]|0)+112>>2]|0;if((q|0)<(c[p+24>>2]|0)){c[G>>2]=q;hg(f,24905,G)}}while(0);if((F|0)==84){F=0;if(w|0)Qf(p,w);if(v)p=0;else{Qf(p,u);p=0}}r=mk(N,r,p)|0;x=x+1|0}while((x|0)<(e[B>>1]|0))}q=c[f>>2]|0;do if(c[q+264>>2]|0){if(!(a[q+73>>0]|0))F=102}else{if((e[q+268>>1]|0)>=48){p=q+292|0;o=c[p>>2]|0;if(o|0){c[p>>2]=c[o>>2];F=q+276|0;c[F>>2]=(c[F>>2]|0)+1;F=103;break}p=q+288|0;o=c[p>>2]|0;if(!o)o=2;else{c[p>>2]=c[o>>2];F=q+276|0;c[F>>2]=(c[F>>2]|0)+1;F=103;break}}else o=1;F=q+276+(o<<2)|0;c[F>>2]=(c[F>>2]|0)+1;F=102}while(0);if((F|0)==102){o=Ec(q,48,0)|0;F=103}if((F|0)==103?o|0:0){q=o;C=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(C|0));a[o>>0]=19;b[o+34>>1]=-1;if(r|0){c[o+12>>2]=r;c[o+4>>2]=c[r+4>>2]&2097412}Ji(o);p=c[(c[f>>2]|0)+112>>2]|0;if((p|0)>=(c[o+24>>2]|0))break;c[H>>2]=p;hg(f,24905,H);break}if(!r)o=0;else{Qf(c[f>>2]|0,r);o=0}}while(0);s=mk(N,s,o)|0}t=I+8|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;c[I+4>>2]=g;c[I>>2]=f;t=(s|0)==0;do if(!t){q=I+28|0;b[q>>1]=0;c[J>>2]=f;c[J+4>>2]=184;c[J+8>>2]=185;c[J+12>>2]=0;c[J+24>>2]=I;o=s+24|0;p=f+408|0;I=(c[p>>2]|0)+(c[o>>2]|0)|0;c[p>>2]=I;p=c[(c[f>>2]|0)+112>>2]|0;if((p|0)<(I|0)){c[K>>2]=p;hg(f,24905,K);break}$j(J,s)|0;K=(c[J>>2]|0)+408|0;c[K>>2]=(c[K>>2]|0)-(c[o>>2]|0);if(b[q>>1]&16){K=s+4|0;c[K>>2]=c[K>>2]|2}}while(0);if(!(c[f+36>>2]|0)){r=Tl(f,g,s,0,0,0,0)|0;o=d[j+24>>0]|0;p=M+136|0;q=c[p>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(q|0)){c[p>>2]=q+1;j=c[M+88>>2]|0;a[j+(q*20|0)>>0]=-111;b[j+(q*20|0)+2>>1]=0;c[j+(q*20|0)+4>>2]=o;c[j+(q*20|0)+8>>2]=n;c[j+(q*20|0)+12>>2]=0;c[j+(q*20|0)+16>>2]=0;a[j+(q*20|0)+1>>0]=0}else zi(M,145,o,n,0)|0;if(r|0)Ul(r)}if(!t)Qf(N,s);if(!L){l=O;return}p=c[M+136>>2]|0;if(!(a[(c[M>>2]|0)+73>>0]|0))o=(c[M+88>>2]|0)+(((L|0)<0?p+-1|0:L)*20|0)|0;else o=46708;c[o+8>>2]=p;l=O;return}function Sl(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;k=o;j=c[d>>2]|0;c[k>>2]=0;c[k+4>>2]=0;m=Yi(j,150,k,0)|0;if(!m){n=0;l=o;return n|0}i=g<<16>>16;if(g<<16>>16>-1?(b[e+40>>1]|0)!=g<<16>>16:0){e=c[e+4>>2]|0;c[m+28>>2]=f+1+i;a[m+1>>0]=a[e+(i<<4)+13>>0]|0;e=c[e+(i<<4)+8>>2]|0;if(!e){e=c[c[j+8>>2]>>2]|0;c[k>>2]=e;if(!e){c[k+4>>2]=0;h=m}else n=8}else{c[k>>2]=e;n=8}if((n|0)==8){n=(As(e)|0)&1073741823;c[k+4>>2]=n;if((n|0)!=0?(h=Yi(c[d>>2]|0,94,k,0)|0,(h|0)!=0):0){c[h+12>>2]=m;n=h+4|0;c[n>>2]=c[n>>2]|4352}else h=m}n=h;l=o;return n|0}c[m+28>>2]=f;a[m+1>>0]=68;n=m;l=o;return n|0}function Tl(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0;ya=l;l=l+160|0;va=ya+32|0;ia=ya+24|0;F=ya+16|0;E=ya+8|0;n=ya;ta=ya+64|0;V=ya+40|0;ua=f+8|0;ha=c[ua>>2]|0;xa=c[f>>2]|0;c[V>>2]=0;c[V+4>>2]=0;c[V+8>>2]=0;c[V+12>>2]=0;c[V+16>>2]=0;c[V+20>>2]=0;if(!i)L=0;else L=(c[i>>2]|0)>63?0:i;X=V+8|0;c[X>>2]=L;W=xa+68|0;sa=(b[W>>1]&16)==0?k:k&-257;i=c[g>>2]|0;if((i|0)>64){c[n>>2]=64;hg(f,32809,n);xa=0;l=ya;return xa|0}$=sa&65535;ga=$&32;aa=(ga|0)!=0;Y=aa?1:i;r=Y*80|0;s=r+759&-16;n=s+72|0;do if(c[xa+264>>2]|0)if(!(a[xa+73>>0]|0))ja=13;else i=0;else{if(!(0<0|(0==0?(e[xa+268>>1]|0)>>>0>>0:0))){k=xa+292|0;i=c[k>>2]|0;if(i|0){c[k>>2]=c[i>>2];wa=xa+276|0;c[wa>>2]=(c[wa>>2]|0)+1;break}k=xa+288|0;i=c[k>>2]|0;if(!i)i=2;else{c[k>>2]=c[i>>2];wa=xa+276|0;c[wa>>2]=(c[wa>>2]|0)+1;break}}else i=1;ja=xa+276+(i<<2)|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=13}while(0);if((ja|0)==13)i=Ec(xa,n,0)|0;qa=xa+73|0;if(a[qa>>0]|0){if(!i){xa=0;l=ya;return xa|0}if(c[xa+464>>2]|0){Lc(xa,i);xa=0;l=ya;return xa|0}wa=i;if(wa>>>0>=(c[xa+296>>2]|0)>>>0?wa>>>0<(c[xa+300>>2]|0)>>>0:0){xa=xa+292|0;c[i>>2]=c[xa>>2];c[xa>>2]=i;xa=0;l=ya;return xa|0}if(!(c[2]|0)){pb[c[56>>2]&255](i);xa=0;l=ya;return xa|0}else{xa=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);xa=0;l=ya;return xa|0}}c[i>>2]=f;_=i+4|0;c[_>>2]=g;T=i+8|0;c[T>>2]=L;c[i+16>>2]=h;c[i+12>>2]=j;da=i+24|0;ea=i+28|0;c[ea>>2]=-1;c[da>>2]=-1;wa=i+46|0;a[wa>>0]=Y;ca=ha+12|0;k=c[ca>>2]|0;p=k+68|0;q=c[p>>2]|0;c[p>>2]=q+1;p=k+72|0;if(!(q+-1&q)){n=c[k>>2]|0;o=c[p>>2]|0;k=Mc(n,o,q<<3|4,0)|0;do if(!((o|0)==0|(k|0)!=0)){if(n|0){if(c[n+464>>2]|0){Lc(n,o);break}ra=o;if(ra>>>0>=(c[n+296>>2]|0)>>>0?ra>>>0<(c[n+300>>2]|0)>>>0:0){ra=n+292|0;c[o>>2]=c[ra>>2];c[ra>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{ra=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-ra;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[p>>2]=k}else k=c[p>>2]|0;if(k|0)c[k+(q<<2)>>2]=-1;ba=~q;ma=i+32|0;c[ma>>2]=ba;y=i+36|0;c[y>>2]=ba;ba=i+44|0;b[ba>>1]=sa;b[i+20>>1]=m;na=f+132|0;oa=i+40|0;c[oa>>2]=c[na>>2];k=i+47|0;A=k;D=A+33|0;do{a[A>>0]=0;A=A+1|0}while((A|0)<(D|0));pa=i+752|0;Vt(pa|0,0,r+72|0)|0;U=i+488|0;c[V>>2]=i;ra=i+80|0;Z=V+4|0;c[Z>>2]=ra;w=i+s|0;N=V+12|0;c[N>>2]=w;c[w+48>>2]=w+56;b[w+40>>1]=0;b[w+44>>1]=3;c[w+36>>2]=0;w=i+492|0;c[w>>2]=0;c[ra>>2]=i;c[i+84>>2]=0;ka=i+92|0;c[ka>>2]=0;c[i+96>>2]=8;la=i+100|0;c[la>>2]=i+104;Yl(ra,h,44);x=(Y|0)==0;if(x){if(L|0)a[k>>0]=c[L>>2];if($&256|0)a[i+51>>0]=1}else{h=0;do{t=g+8+(h*72|0)+44|0;S=c[t>>2]|0;fa=c[w>>2]|0;c[w>>2]=fa+1;c[U+8+(fa<<2)>>2]=S;a:do if((a[g+8+(h*72|0)+37>>0]&4?(B=c[g+8+(h*72|0)+16>>2]|0,C=c[g+8+(h*72|0)+64>>2]|0,C|0):0)?(c[C>>2]|0)>0:0){u=B+42|0;v=B+4|0;s=0;k=0;b:while(1){o=b[u>>1]|0;if((s|0)>=(o|0))break;p=c[v>>2]|0;q=s;while(1){if(a[p+(q<<4)+15>>0]&2)break;n=q+1|0;if((n|0)<(o|0))q=n;else break b}p=c[f>>2]|0;c:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))ja=61;else break a;else{do if((e[p+268>>1]|0)<48)n=1;else{n=p+292|0;o=c[n>>2]|0;if(o|0){c[n>>2]=c[o>>2];fa=p+276|0;c[fa>>2]=(c[fa>>2]|0)+1;break c}n=p+288|0;o=c[n>>2]|0;if(!o){n=2;break}c[n>>2]=c[o>>2];fa=p+276|0;c[fa>>2]=(c[fa>>2]|0)+1;break c}while(0);ja=p+276+(n<<2)|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=61}while(0);if((ja|0)==61){ja=0;o=Ec(p,48,0)|0}if(!o)break a;A=o;D=A+44|0;do{c[A>>2]=0;A=A+4|0}while((A|0)<(D|0));a[o>>0]=-111;b[o+34>>1]=-1;c[o+24>>2]=1;c[o+28>>2]=c[t>>2];s=q+1|0;b[o+32>>1]=q;c[o+44>>2]=B;n=c[C+4+(k*20|0)>>2]|0;if(!n)r=0;else r=sj(c[f>>2]|0,n,0,0)|0;q=c[f>>2]|0;d:do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))ja=73;else{n=q;ja=78}else{do if((e[q+268>>1]|0)<48)n=1;else{p=q+292|0;n=c[p>>2]|0;if(n|0){c[p>>2]=c[n>>2];ja=q+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=74;break d}p=q+288|0;n=c[p>>2]|0;if(!n){n=2;break}c[p>>2]=c[n>>2];ja=q+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=74;break d}while(0);ja=q+276+(n<<2)|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=73}while(0);if((ja|0)==73){n=Ec(q,48,0)|0;ja=74}do if((ja|0)==74){ja=0;if(!n){n=c[f>>2]|0;ja=78;break}A=n;D=A+48|0;do{c[A>>2]=0;A=A+4|0}while((A|0)<(D|0));a[n>>0]=53;b[n+34>>1]=-1;if(!r){p=n+4|0;q=0}else{c[n+16>>2]=r;q=c[r+4>>2]&2097412;p=n+4|0;c[p>>2]=q}c[n+12>>2]=o;c[p>>2]=c[o+4>>2]&2097412|q;Ji(n);o=c[(c[f>>2]|0)+112>>2]|0;if((o|0)>=(c[n+24>>2]|0))break;c[F>>2]=o;hg(f,24905,F)}while(0);do if((ja|0)==78){ja=0;Qf(n,o);if(!r){n=0;break}Qf(n,r);n=0}while(0);Zl(ra,n,1)|0;k=k+1|0;if((k|0)>=(c[C>>2]|0))break a}c[E>>2]=c[B>>2];c[E+4>>2]=k;hg(f,32837,E)}while(0);h=h+1|0}while((h|0)<(c[g>>2]|0))}k=c[ka>>2]|0;if((k|0)>0)do{fa=k;k=k+-1|0;_l(g,ra,k)}while((fa|0)>1);e:do if(!(a[qa>>0]|0)){f:do if((c[i+92>>2]|0)>0){q=ta+20|0;r=ta+4|0;s=ta+8|0;if(x){o=0;k=ra;while(1){n=c[k+20>>2]|0;fa=n+(o*48|0)+40|0;if((c[fa>>2]|0)==0&(c[fa+4>>2]|0)==0){Dk(f,c[n+(o*48|0)>>2]|0,c[y>>2]|0,16);k=n+(o*48|0)+10|0;b[k>>1]=b[k>>1]|4;k=c[Z>>2]|0}o=o+1|0;if((o|0)>=(c[k+12>>2]|0))break f}}else{p=0;k=ra}do{k=c[k+20>>2]|0;fa=k+(p*48|0)+40|0;do if((c[fa>>2]|0)==0&(c[fa+4>>2]|0)==0){n=k+(p*48|0)|0;o=c[n>>2]|0;c[ta>>2]=0;c[ta+4>>2]=0;c[ta+8>>2]=0;c[ta+12>>2]=0;c[ta+16>>2]=0;c[ta+20>>2]=0;c[ta+24>>2]=0;a[q>>0]=1;c[r>>2]=199;c[s>>2]=187;if(o){$j(ta,o)|0;if(!(a[q>>0]|0))break}Dk(f,c[n>>2]|0,c[y>>2]|0,16);fa=k+(p*48|0)+10|0;b[fa>>1]=b[fa>>1]|4}while(0);p=p+1|0;k=c[Z>>2]|0}while((p|0)<(c[k+12>>2]|0))}while(0);S=($&256|0)==0;g:do if(!S){h:do if((c[g>>2]|0)==1){K=c[g+52>>2]|0;p=c[g+24>>2]|0;q=c[j>>2]|0;i:do if((q|0)>0){o=0;while(1){k=c[j+4+(o*20|0)>>2]|0;j:do if(!k)k=0;else while(1){n=c[k+4>>2]|0;if(!(n&4096))break j;if(!(n&262144))k=k+12|0;else k=(c[k+20>>2]|0)+4|0;k=c[k>>2]|0;if(!k){k=0;break}}while(0);do if((a[k>>0]|0)==-111){if((c[k+28>>2]|0)!=(K|0))break;if((b[k+32>>1]|0)<0)break i}while(0);o=o+1|0;if((o|0)>=(q|0)){ja=112;break}}}else ja=112;while(0);k:do if((ja|0)==112){k=c[p+8>>2]|0;if(!k)break h;y=ta+4|0;A=ta+12|0;B=ta+16|0;C=ta+8|0;D=ta+20|0;E=ta+24|0;F=ta+28|0;G=ta+72|0;H=ta+17|0;I=ta+18|0;while(1){if(a[k+54>>0]|0){x=k+50|0;l:do if(!(b[x>>1]|0))n=0;else{t=k+4|0;u=k+40|0;v=k+32|0;w=k+12|0;n=0;do{c[ta>>2]=ra;c[y>>2]=ra;c[A>>2]=0;a[B>>0]=0;c[C>>2]=0;p=b[(c[t>>2]|0)+(n<<1)>>1]|0;o=p<<16>>16;do if(p<<16>>16==-2){c[A>>2]=c[(c[u>>2]|0)+4+(n*20|0)>>2];c[C>>2]=c[(c[v>>2]|0)+(n<<2)>>2]}else{q=c[w>>2]|0;if(p<<16>>16==(b[q+40>>1]|0)){o=-1;break}if(p<<16>>16<=-1)break;a[B>>0]=a[(c[q+4>>2]|0)+(o<<4)+13>>0]|0;c[C>>2]=c[(c[v>>2]|0)+(n<<2)>>2]}while(0);c[D>>2]=2;c[E>>2]=0;c[F>>2]=K;b[G>>1]=o;a[H>>0]=1;a[I>>0]=1;o=am(ta)|0;do if(o){p=0;while(1){ja=o+32|0;if((c[ja>>2]|0)==0&(c[ja+4>>2]|0)==0){if(b[o+12>>1]&2){ja=126;break}p=(p|0)==0?o:p}o=am(ta)|0;if(!o){ja=129;break}}if((ja|0)==126){ja=0;break}else if((ja|0)==129){ja=0;if(!p){ja=130;break}else break}}else ja=130;while(0);if((ja|0)==130){h=c[(c[v>>2]|0)+(n<<2)>>2]|0;o=c[j>>2]|0;if((o|0)>0)p=0;else break l;m:while(1){s=c[j+4+(p*20|0)>>2]|0;n:do if(!s)q=0;else{q=s;while(1){r=c[q+4>>2]|0;if(!(r&4096))break n;if(!(r&262144))q=q+12|0;else q=(c[q+20>>2]|0)+4|0;q=c[q>>2]|0;if(!q){q=0;break}}}while(0);do if((a[q>>0]|0)==-111){if((b[q+32>>1]|0)!=(b[(c[t>>2]|0)+(n<<1)>>1]|0))break;if((c[q+28>>2]|0)!=(K|0))break;o=Qj(f,s)|0;if(!o)o=c[(c[f>>2]|0)+8>>2]|0;q=c[o>>2]|0;ja=a[q>>0]|0;o=(d[17324+(ja&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0;if(!(ja<<24>>24==0|(o|0)!=0)){r=h;do{q=q+1|0;r=r+1|0;ja=a[q>>0]|0;o=(d[17324+(ja&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(ja<<24>>24==0|(o|0)!=0))}if(!o)break m;o=c[j>>2]|0}while(0);p=p+1|0;if((p|0)>=(o|0))break l}if((p|0)<0)break l;o=b[(c[t>>2]|0)+(n<<1)>>1]|0;if(o<<16>>16>-1)o=d[(c[(c[w>>2]|0)+4>>2]|0)+(o<<16>>16<<4)+12>>0]|0;else o=o<<16>>16==-1&1;if(!o)break l}n=n+1|0}while((n|0)<(e[x>>1]|0))}while(0);if((n|0)==(e[x>>1]|0))break k}k=c[k+20>>2]|0;if(!k)break h}}while(0);a[i+51>>0]=1;break g}while(0);if(!L){b[ba>>1]=b[ba>>1]|128;c[T>>2]=j}}while(0);do if((((Y|0)==1?(Q=c[V>>2]|0,P=c[N>>2]|0,R=Q+44|0,(b[R>>1]&32)==0):0)?(O=c[Q+4>>2]|0,M=c[O+24>>2]|0,(c[M+56>>2]|0)==0):0)?(a[O+45>>0]&2)==0:0){K=c[O+52>>2]|0;I=Q+80|0;L=P+36|0;c[L>>2]=0;b[P+42>>1]=0;c[ta>>2]=I;c[ta+4>>2]=I;c[ta+12>>2]=0;a[ta+16>>0]=0;c[ta+8>>2]=0;c[ta+20>>2]=130;c[ta+24>>2]=0;c[ta+28>>2]=K;b[ta+72>>1]=-1;a[ta+17>>0]=1;a[ta+18>>0]=1;n=am(ta)|0;do if(!n)ja=170;else{k=0;while(1){ja=n+32|0;if((c[ja>>2]|0)==0&(c[ja+4>>2]|0)==0?b[n+12>>1]&130:0){ja=166;break}k=(k|0)==0?n:k;n=am(ta)|0;if(!n){ja=168;break}}if((ja|0)==166)k=n;else if((ja|0)==168)if(!k){ja=170;break}c[L>>2]=4353;c[c[P+48>>2]>>2]=k;b[P+40>>1]=1;b[P+24>>1]=1;k=33;ja=200}while(0);o:do if((ja|0)==170?(J=c[M+8>>2]|0,J|0):0){w=ta+4|0;x=ta+12|0;y=ta+16|0;A=ta+8|0;B=ta+20|0;C=ta+24|0;D=ta+28|0;E=ta+72|0;F=ta+17|0;G=ta+18|0;H=P+48|0;p:while(1){do if(a[J+54>>0]|0){if(c[J+36>>2]|0)break;u=J+50|0;k=b[u>>1]|0;if((k&65535)>3)break;v=J+55|0;t=(a[v>>0]<<4&255&-128|2)&255;q:do if(!(k<<16>>16))s=0;else{q=J+4|0;r=J+40|0;s=J+32|0;h=J+12|0;k=0;while(1){c[ta>>2]=I;c[w>>2]=I;c[x>>2]=0;a[y>>0]=0;c[A>>2]=0;o=b[(c[q>>2]|0)+(k<<1)>>1]|0;n=o<<16>>16;do if(o<<16>>16==-2){c[x>>2]=c[(c[r>>2]|0)+4+(k*20|0)>>2];c[A>>2]=c[(c[s>>2]|0)+(k<<2)>>2]}else{p=c[h>>2]|0;if(o<<16>>16==(b[p+40>>1]|0)){n=-1;break}if(o<<16>>16<=-1)break;a[y>>0]=a[(c[p+4>>2]|0)+(n<<4)+13>>0]|0;c[A>>2]=c[(c[s>>2]|0)+(k<<2)>>2]}while(0);c[B>>2]=t;c[C>>2]=0;c[D>>2]=K;b[E>>1]=n;a[F>>0]=1;a[G>>0]=1;o=am(ta)|0;if(!o)break;else n=0;while(1){ja=o+32|0;if((c[ja>>2]|0)==0&(c[ja+4>>2]|0)==0?e[o+12>>1]&t|0:0){ja=186;break}n=(n|0)==0?o:n;o=am(ta)|0;if(!o){ja=188;break}}if((ja|0)==186){ja=0;n=o}else if((ja|0)==188){ja=0;if(!n){s=k;break q}}c[(c[H>>2]|0)+(k<<2)>>2]=n;k=k+1|0;if((k|0)>=(e[u>>1]|0)){s=k;break q}}s=k}while(0);if((s|0)==(e[u>>1]|0))break p}while(0);k=c[J+20>>2]|0;if(!k)break o;else J=k}c[L>>2]=4609;if(!(a[v>>0]&32)){r=O+64|0;q=c[r>>2]|0;r=c[r+4>>2]|0;k=b[J+52>>1]|0;if(!(k<<16>>16)){n=-1;k=-1}else{o=c[J+4>>2]|0;k=k&65535;n=0;p=0;do{fa=k;k=k+-1|0;M=b[o+(k<<1)>>1]|0;O=(M&65535)<63;M=Rt(1,0,M<<16>>16|0)|0;n=(O?M:0)|n;p=(O?z:0)|p}while((fa|0)>1);n=~n;k=~p}if((n&q|0)==0&(k&r|0)==0)ja=197}else ja=197;if((ja|0)==197)c[L>>2]=4673;k=s&65535;b[P+40>>1]=k;b[P+24>>1]=k;c[P+32>>2]=J;k=39;ja=200}while(0);if((ja|0)==200)b[P+20>>1]=k;if(c[L>>2]|0){b[P+22>>1]=1;c[Q+816>>2]=P;k=P+8|0;c[k>>2]=1;c[k+4>>2]=0;c[Q+756>>2]=K;b[Q+72>>1]=1;k=c[Q+8>>2]|0;if(k|0)a[Q+47>>0]=c[k>>2];if(!(b[R>>1]&256)){ja=243;break}a[Q+51>>0]=1;ja=243}else ja=206}else ja=206;while(0);if((ja|0)==206){D=c[V>>2]|0;k=c[D+4>>2]|0;fa=a[D+46>>0]|0;E=k+8+((fa&255)*72|0)|0;L=c[c[D>>2]>>2]|0;F=c[N>>2]|0;G=F+56|0;H=F+48|0;c[H>>2]=G;I=F+40|0;b[I>>1]=0;J=F+44|0;b[J>>1]=3;K=F+36|0;c[K>>2]=0;y=L+73|0;r:do if(fa<<24>>24){A=F+16|0;B=D+492|0;C=F+8|0;w=0;x=0;s=k+8|0;h=0;t=0;u=0;v=0;while(1){a[A>>0]=x;n=c[s+44>>2]|0;r=c[B>>2]|0;o=(r|0)>0;s:do if(o){k=0;while(1){if((c[D+496+(k<<2)>>2]|0)==(n|0))break;k=k+1|0;if((k|0)>=(r|0)){k=0;n=0;break s}}k=Rt(1,0,k|0)|0;n=z}else{k=0;n=0}while(0);fa=C;c[fa>>2]=k;c[fa+4>>2]=n;fa=w;w=a[s+36>>0]|0;fa=((w|fa)&10)==0;t=fa?t:h;v=fa?v:u;if(!(c[(c[s+16>>2]|0)+56>>2]|0)){k=cm(V,t,v)|0;o=0;n=0}else{k=s+72|0;if(k>>>0>=E>>>0|o^1){o=0;n=0}else{p=s;o=0;n=0;while(1){if((o|0)==0&(n|0)==0?(a[p+108>>0]&10)==0:0){o=0;n=0}else{q=c[p+116>>2]|0;p=0;while(1){if((c[D+496+(p<<2)>>2]|0)==(q|0)){ja=219;break}p=p+1|0;if((p|0)>=(r|0)){p=0;q=0;break}}if((ja|0)==219){ja=0;p=Rt(1,0,p|0)|0;q=z}o=p|o;n=q|n}p=k+72|0;if(p>>>0>>0){fa=k;k=p;p=fa}else break}}k=bm(V,t,v,o,n)|0}if(k|0)break;k=dm(V,t,v,o,n)|0;n=C;if(k|0)break;if(a[y>>0]|0){k=0;break}s=s+72|0;if(s>>>0>=E>>>0){k=0;break}else{x=x+1|0;h=c[n>>2]|h;u=c[n+4>>2]|u}}n=c[H>>2]|0;if((n|0)!=(G|0)){do if(L|0){if(c[L+464>>2]|0){Lc(L,n);break r}o=n;if(o>>>0<(c[L+296>>2]|0)>>>0)break;if(o>>>0>=(c[L+300>>2]|0)>>>0)break;fa=L+292|0;c[n>>2]=c[fa>>2];c[fa>>2]=n;break r}while(0);if(n)if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{fa=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}}else k=0;while(0);Xl(L,F);c[H>>2]=G;b[I>>1]=0;b[J>>1]=3;c[K>>2]=0;if(k|0){ja=601;break}em(i,0);if(a[qa>>0]|0){ja=601;break}if(c[T>>2]|0){em(i,(e[i+72>>1]|0)+1&65535);if(!(a[qa>>0]|0))ja=243;else break}else ja=244}if((ja|0)==243?(c[T>>2]|0)==0:0)ja=244;if((ja|0)==244?c[xa+28>>2]&4096|0:0){fa=i+64|0;c[fa>>2]=-1;c[fa+4>>2]=-1}if((c[f+36>>2]|0)==0?(a[qa>>0]|0)==0:0){t:do if((j|0)!=0&(d[wa>>0]|0)>1?(b[W>>1]&256)==0:0){if((c[j>>2]|0)>0){o=0;k=0;n=0;do{fa=fm(U,c[j+4+(o*20|0)>>2]|0)|0;k=fa|k;n=z|n;o=o+1|0}while((o|0)<(c[j>>2]|0));q=k;r=n}else{q=0;r=0}p=c[X>>2]|0;if(p){if((c[p>>2]|0)>0){o=0;k=0;n=0;do{fa=fm(U,c[p+4+(o*20|0)>>2]|0)|0;k=fa|k;n=z|n;o=o+1|0}while((o|0)<(c[p>>2]|0))}else{k=0;n=0}q=k|q;r=n|r}k=a[wa>>0]|0;if((k&255)<=1){fa=Y;u=-1;x=-1;break}n=Y;p=k&255;u=-1;x=-1;while(1){o=p+-1|0;B=c[_>>2]|0;D=c[Z>>2]|0;C=D+20|0;D=D+12|0;u:do if(S){v=p;while(1){p=c[pa+(o*80|0)+64>>2]|0;s=d[p+16>>0]|0;v:do if(a[B+8+(s*72|0)+36>>0]&8){if(!(c[p+36>>2]&4096))break;y=p+8|0;t=c[y>>2]|0;y=c[y+4>>2]|0;if(!((t&q|0)==0&(y&r|0)==0))break;A=c[C>>2]|0;fa=c[D>>2]|0;w=A+(fa*48|0)|0;if((fa|0)<=0){p=o;h=y;o=A;break u}h=B+8+(s*72|0)+44|0;p=A;while(1){fa=p+40|0;if(!((t&c[fa>>2]|0)==0?(y&c[fa+4>>2]|0)==0:0)){s=c[p>>2]|0;if(!(c[s+4>>2]&1))break v;if((b[s+36>>1]|0)!=(c[h>>2]|0))break v}p=p+48|0;if(p>>>0>=w>>>0){p=o;h=y;o=A;break u}}}while(0);if((o|0)>1){v=o;o=o+-1|0}else{fa=n;break t}}}else{v=p;while(1){p=c[pa+(o*80|0)+64>>2]|0;s=d[p+16>>0]|0;w:do if(a[B+8+(s*72|0)+36>>0]&8){y=p+8|0;t=c[y>>2]|0;y=c[y+4>>2]|0;if(!((t&q|0)==0&(y&r|0)==0))break;A=c[C>>2]|0;fa=c[D>>2]|0;w=A+(fa*48|0)|0;if((fa|0)<=0){p=o;h=y;o=A;break u}s=B+8+(s*72|0)+44|0;p=A;while(1){fa=p+40|0;if(!((t&c[fa>>2]|0)==0?(y&c[fa+4>>2]|0)==0:0)){h=c[p>>2]|0;if(!(c[h+4>>2]&1))break w;if((b[h+36>>1]|0)!=(c[s>>2]|0))break w}p=p+48|0;if(p>>>0>=w>>>0){p=o;h=y;o=A;break u}}}while(0);if((o|0)>1){v=o;o=o+-1|0}else{fa=n;break t}}}while(0);s=pa+(p*80|0)|0;u=u&~t;x=x&~h;if(o>>>0>>0)do{fa=o+40|0;if(!((c[fa>>2]&t|0)==0?(c[fa+4>>2]&h|0)==0:0)){fa=o+10|0;b[fa>>1]=b[fa>>1]|4}o=o+48|0}while(o>>>0>>0);o=(k&255)+-1|0;if((o|0)!=(p|0)){Ut(s|0,pa+(v*80|0)|0,(o-p|0)*80|0)|0;k=a[wa>>0]|0}k=k+-1<<24>>24;a[wa>>0]=k;n=n+-1|0;if((p|0)<=1){fa=n;break}}}else{fa=Y;u=-1;x=-1}while(0);_=(c[i>>2]|0)+132|0;c[_>>2]=(c[_>>2]|0)+(b[i+72>>1]|0);do if($&4){k=(c[i+816>>2]|0)+36|0;n=c[k>>2]|0;o=n&4096;if((o|0)==0?!(($&8|0)!=0&(n&1024|0)==0):0){k=0;break}a[i+49>>0]=2-(o>>>12);if(!((n&64|0)==0?1:(c[(c[g+24>>2]|0)+36>>2]&32|0)!=0)){c[k>>2]=n&-65;k=$&8}else k=0}else k=0;while(0);K=(fa|0)>0;if(K){H=i+49|0;I=ha+136|0;J=ha+88|0;F=k&255;G=f+120|0;A=aa^1;E=(m|0)==0|A;B=f+40|0;C=i+51|0;D=xa+16|0;w=pa;y=0;while(1){q=d[w+44>>0]|0;t=g+8+(q*72|0)+16|0;p=c[t>>2]|0;n=c[p+72>>2]|0;if(!n)v=-1e6;else{o=c[D>>2]|0;k=0;while(1)if((c[o+(k<<4)+12>>2]|0)==(n|0)){v=k;break}else k=k+1|0}s=c[w+64>>2]|0;h=p+36|0;do if(!(c[h>>2]&2)){if(c[p+12>>2]|0)break;k=c[s+36>>2]|0;if(k&1024|0){k=c[p+64>>2]|0;x:do if(!k)p=0;else while(1){if((c[k>>2]|0)==(xa|0)){p=k;break x}k=c[k+24>>2]|0;if(!k){p=0;break}}while(0);n=c[g+8+(q*72|0)+44>>2]|0;k=c[I>>2]|0;if((c[(c[ca>>2]|0)+48>>2]|0)>(k|0)){c[I>>2]=k+1;aa=c[J>>2]|0;a[aa+(k*20|0)>>0]=-100;b[aa+(k*20|0)+2>>1]=0;c[aa+(k*20|0)+4>>2]=n;c[aa+(k*20|0)+8>>2]=0;c[aa+(k*20|0)+12>>2]=0;c[aa+(k*20|0)+16>>2]=0;a[aa+(k*20|0)+1>>0]=0}else k=zi(ha,156,n,0,0)|0;if(a[(c[ha>>2]|0)+73>>0]|0)break;if((k|0)<0)k=(c[I>>2]|0)+-1|0;n=c[J>>2]|0;o=n+(k*20|0)+1|0;if(a[o>>0]|0){Ai(ha,n+(k*20|0)|0,p,-12);break}if(!p)break;c[n+(k*20|0)+16>>2]=p;a[o>>0]=-12;aa=p+12|0;c[aa>>2]=(c[aa>>2]|0)+1;break}if(c[p+56>>2]|0)break;if(k&64|ga|0){qk(f,v,c[p+28>>2]|0,0,c[p>>2]|0);break}n=g+8+(q*72|0)+44|0;if(!(a[H>>0]|0))k=104;else{c[da>>2]=c[n>>2];k=105}Bi(f,c[n>>2]|0,v,p,k);do if(!(a[H>>0]|0)){if((b[p+42>>1]|0)>=64)break;if(c[h>>2]&32|0)break;o=g+8+(q*72|0)+56|0;k=c[o>>2]|0;o=c[o+4>>2]|0;if((k|0)==0&(o|0)==0)n=0;else{n=0;do{k=Qt(k|0,o|0,1)|0;o=z;n=n+1|0}while(!((k|0)==0&(o|0)==0))}if(a[(c[ha>>2]|0)+73>>0]|0)break;k=(c[I>>2]|0)+-1|0;o=c[J>>2]|0;p=o+(k*20|0)+1|0;if(!(a[p>>0]|0)){c[o+(k*20|0)+16>>2]=n;a[p>>0]=-3;break}else{Ai(ha,o+(k*20|0)|0,n,-3);break}}while(0);k=c[I>>2]|0;if((k|0)<=0)break;b[(c[J>>2]|0)+((k+-1|0)*20|0)+2>>1]=F}while(0);r=s+36|0;y:do if(c[r>>2]&512|0){q=c[s+32>>2]|0;do if(c[h>>2]&32|0){if((a[q+55>>0]&3)!=2|A)break;c[w+8>>2]=c[w+4>>2];break y}while(0);do if(!(a[H>>0]|0)){if(!E){p=103;k=m;break}k=c[B>>2]|0;c[B>>2]=k+1;p=104}else{k=c[(c[t>>2]|0)+8>>2]|0;if((k|0)==0|(k|0)==(q|0))k=m;else{n=m;do{n=n+1|0;k=c[k+20>>2]|0}while(!((k|0)==0|(k|0)==(q|0)));k=n}c[ea>>2]=k;p=105}while(0);c[w+8>>2]=k;n=c[q+44>>2]|0;o=c[I>>2]|0;if((c[(c[ca>>2]|0)+48>>2]|0)>(o|0)){c[I>>2]=o+1;aa=c[J>>2]|0;a[aa+(o*20|0)>>0]=p;b[aa+(o*20|0)+2>>1]=0;c[aa+(o*20|0)+4>>2]=k;c[aa+(o*20|0)+8>>2]=n;c[aa+(o*20|0)+12>>2]=v;c[aa+(o*20|0)+16>>2]=0;a[aa+(o*20|0)+1>>0]=0}else zi(ha,p,k,n,v)|0;n=c[ua>>2]|0;o=rk(f,q)|0;z:do if(o|0){k=c[n>>2]|0;if(!(a[k+73>>0]|0)){$=c[n+88>>2]|0;aa=(c[n+136>>2]|0)+-1|0;a[$+(aa*20|0)+1>>0]=-9;c[$+(aa*20|0)+16>>2]=o;break}if(c[k+464>>2]|0)break;aa=(c[o>>2]|0)+-1|0;c[o>>2]=aa;if(aa|0)break;k=c[o+12>>2]|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,o);break z}n=o;if(n>>>0<(c[k+296>>2]|0)>>>0)break;if(n>>>0>=(c[k+300>>2]|0)>>>0)break;aa=k+292|0;c[o>>2]=c[aa>>2];c[aa>>2]=o;break z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{aa=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);aa=c[r>>2]|0;if(!((aa&15|0)!=0&(aa&32770|0)==0))break;if(b[ba>>1]&1)break;if((a[C>>0]|0)==2)break;k=c[I>>2]|0;if((k|0)<=0)break;b[(c[J>>2]|0)+((k+-1|0)*20|0)+2>>1]=2}while(0);A:do if((v|0)>-1){p=c[G>>2]|0;p=(p|0)==0?f:p;k=p+92|0;n=c[k>>2]|0;o=1<>2]=n|o;if((v|0)!=1)break;s=c[p>>2]|0;k=s+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[p+399>>0]|0)break;n=fg(c[s>>2]|0,0,s,ta,0,542)|0;if(n|0){hg(p,21111,ia);c[p+12>>2]=n;break}aa=c[ta>>2]|0;c[(c[k>>2]|0)+20>>2]=aa;k=c[s+84>>2]|0;o=c[aa+4>>2]|0;c[o+4>>2]=c[aa>>2];do if(!(b[o+22>>1]&2)){p=o+32|0;q=o+36|0;r=(c[p>>2]|0)-(c[q>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[p>>2]=k;n=o+80|0;k=c[n>>2]|0;if(!k)break;k=k+-4|0;c[n>>2]=k;aa=k;do if(!(aa>>>0>=(c[11662]|0)>>>0&aa>>>0<(c[11663]|0)>>>0)){aa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-aa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{aa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;aa=(c[11666]|0)+1|0;c[11666]=aa;c[11667]=(aa|0)<(c[11661]|0)&1}while(0);c[n>>2]=0}while(0);aa=gg(c[o>>2]|0,p,r)|0;c[q>>2]=(c[p>>2]|0)-(r&65535);if((aa|0)!=7)break;k=s+73|0;do if(!(a[k>>0]|0)){if(a[s+74>>0]|0)break;a[k>>0]=1;if((c[s+172>>2]|0)>0)c[s+256>>2]=1;aa=s+264|0;c[aa>>2]=(c[aa>>2]|0)+1}while(0);break A}while(0)}while(0);y=y+1|0;if((y|0)==(fa|0))break;else w=w+80|0}}else I=ha+136|0;c[i+56>>2]=c[I>>2];if(!(a[qa>>0]|0)){if(!K){xa=i;l=ya;return xa|0}X=f+40|0;Y=f+60|0;Z=f+19|0;_=f+44|0;$=f+25|0;aa=f+148|0;ba=ta+20|0;ca=ta+4|0;da=ta+8|0;ea=ta+24|0;j=0;while(1){W=pa+(j*80|0)|0;n=pa+(j*80|0)+64|0;V=pa+(j*80|0)+44|0;if(c[(c[n>>2]|0)+36>>2]&16384|0){M=d[V>>0]|0;U=c[ua>>2]|0;T=U+136|0;k=c[T>>2]|0;R=U+12|0;if((c[(c[R>>2]|0)+48>>2]|0)>(k|0)){c[T>>2]=k+1;A=c[U+88>>2]|0;a[A+(k*20|0)>>0]=20;A=A+(k*20|0)+1|0;D=A+19|0;do{a[A>>0]=0;A=A+1|0}while((A|0)<(D|0));S=k}else S=zi(U,20,0,0,0)|0;O=g+8+(M*72|0)+16|0;L=c[O>>2]|0;k=c[la>>2]|0;ia=c[ka>>2]|0;P=k+(ia*48|0)|0;K=c[n>>2]|0;B:do if((ia|0)>0){C=g+8+(M*72|0)+44|0;D=g+8+(M*72|0)+36|0;E=L+4|0;F=K+44|0;G=K+48|0;H=K+56|0;A=0;B=k;q=0;k=0;n=0;o=0;while(1){p=c[B>>2]|0;ia=K;do if((c[ia>>2]|0)==0&(c[ia+4>>2]|0)==0){if(b[B+10>>1]&2)break;if(c[p+4>>2]&1|0)break;ia=c[C>>2]|0;a[ba>>0]=3;c[ca>>2]=186;c[da>>2]=187;c[ea>>2]=ia;$j(ta,p)|0;if(!(a[ba>>0]|0))break;ia=c[f>>2]|0;k=mk(ia,k,sj(ia,p,0,0)|0)|0}while(0);do if((c[B+20>>2]|0)==(c[C>>2]|0)){p=e[B+12>>1]|0;if(!(p&130)){p=A;break}if(a[D>>0]&8?!((p&128|0)==0?1:(c[(c[B>>2]|0)+4>>2]&1|0)!=0):0){p=A;break}ia=B+32|0;if(!((c[ia>>2]&u|0)==0?(c[ia+4>>2]&x|0)==0:0)){p=A;break}p=c[B+28>>2]|0;if((p|0)<0){p=A;break}if(!(gm(c[B>>2]|0,a[(c[(c[O>>2]|0)+4>>2]|0)+(p<<4)+13>>0]|0)|0)){p=A;break}y=(p|0)>63;w=Rt(1,0,p|0)|0;w=y?0:w;y=y?-2147483648:z;if(!(q<<24>>24)){v=c[(c[E>>2]|0)+(p<<4)>>2]|0;c[va>>2]=c[L>>2];c[va+4>>2]=v;Bc(284,32873,va);v=1}else v=q;if(!((w&n|0)==0&(y&o|0)==0)){q=v;p=A;break}h=c[f>>2]|0;p=A+1|0;if((e[F>>1]|0)>(A|0))q=c[G>>2]|0;else{t=A+8&-8;s=t<<2;C:do if(c[h+264>>2]|0)if(!(a[h+73>>0]|0))ja=420;else break B;else{do if(0<0|(0==0?(e[h+268>>1]|0)>>>0>>0:0))q=1;else{r=h+292|0;q=c[r>>2]|0;if(q|0){c[r>>2]=c[q>>2];ia=h+276|0;c[ia>>2]=(c[ia>>2]|0)+1;break C}r=h+288|0;q=c[r>>2]|0;if(!q){q=2;break}c[r>>2]=c[q>>2];ia=h+276|0;c[ia>>2]=(c[ia>>2]|0)+1;break C}while(0);ja=h+276+(q<<2)|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=420}while(0);if((ja|0)==420){ja=0;q=Ec(h,s,0)|0}if(!q)break B;Tt(q|0,c[G>>2]|0,e[F>>1]<<2|0)|0;r=c[G>>2]|0;D:do if((r|0)!=(H|0)){if(c[h+464>>2]|0){Lc(h,r);break}s=r;do if(s>>>0>=(c[h+296>>2]|0)>>>0){if(s>>>0>=(c[h+300>>2]|0)>>>0)break;ia=h+292|0;c[r>>2]=c[ia>>2];c[ia>>2]=r;break D}while(0);if(!r)break;if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ia=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ia;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[G>>2]=q;b[F>>1]=t}c[q+(A<<2)>>2]=B;q=v;n=w|n;o=y|o}else p=A;while(0);B=B+48|0;if(B>>>0>=P>>>0){q=p;ja=435;break}else A=p}}else{q=0;k=0;o=0;n=0;ja=435}while(0);E:do if((ja|0)==435){ja=0;Q=q&65535;b[K+40>>1]=Q;b[K+24>>1]=Q;Q=K+36|0;c[Q>>2]=16961;H=g+8+(M*72|0)+56|0;G=H;r=c[G+4>>2]|0;G=c[G>>2]&~n;D=r&((o|-2147483648)^2147483647);J=L+42|0;p=b[J>>1]|0;E=(p<<16>>16<63?p:63)<<16>>16;B=p<<16>>16>0;if(B){o=0;n=q;do{ia=Rt(1,0,o|0)|0;n=(((ia&G|0)!=0|(z&D|0)!=0)&1)+n|0;o=o+1|0}while((o|0)<(E|0))}else n=q;if((r|0)<0)n=n+-63+(p<<16>>16)|0;q=c[f>>2]|0;F=n+1|0;t=F&65535;w=F<<16;v=w>>16;s=(w>>14)+7&-8;w=w>>15;h=w+2|0;r=s+56+(v+7+w+h&-8)|0;p=((r|0)<0)<<31>>31;F:do if(!q){ia=Ft(r|0,p|0,-1,-1)|0;m=z;if(m>>>0>0|(m|0)==0&ia>>>0>2147483390)break E;if(!(c[2]|0)){n=jb[c[52>>2]&255](r)|0;ja=461;break}n=jb[c[68>>2]&255](r)|0;if((c[11829]|0)>>>0>>0)c[11829]=r;p=46456;o=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&o>>>0>0){m=c[11822]|0;ia=Gt(o|0,p|0,n|0,((n|0)<0)<<31>>31|0)|0;ha=z;c[11616]=(0>(ha|0)|0==(ha|0)&m>>>0>=ia>>>0)&1}o=jb[c[52>>2]&255](n)|0;if(!o)break E;n=jb[c[64>>2]&255](o)|0;n=(c[11822]|0)+n|0;c[11822]=n;if(n>>>0>(c[11826]|0)>>>0)c[11826]=n;n=(c[11825]|0)+1|0;c[11825]=n;if(n>>>0<=(c[11831]|0)>>>0){N=o;break}c[11831]=n;N=o}else{if(c[q+264>>2]|0){if(a[q+73>>0]|0)break E}else{do if(0

    >>0|(0==(p|0)?(e[q+268>>1]|0)>>>0>>0:0))n=1;else{o=q+292|0;n=c[o>>2]|0;if(n|0){c[o>>2]=c[n>>2];ja=q+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=461;break F}o=q+288|0;n=c[o>>2]|0;if(!n){n=2;break}c[o>>2]=c[n>>2];ja=q+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=461;break F}while(0);ja=q+276+(n<<2)|0;c[ja>>2]=(c[ja>>2]|0)+1}n=Ec(q,r,p)|0;ja=461}while(0);if((ja|0)==461){ja=0;if(!n)break;else N=n}Vt(N|0,0,r|0)|0;o=N+56|0;C=N+32|0;c[C>>2]=o;o=o+s|0;c[N+8>>2]=o;o=o+h|0;A=N+4|0;c[A>>2]=o;c[N+28>>2]=o+w;b[N+52>>1]=t;b[N+50>>1]=v+65535;c[K+32>>2]=N;c[N>>2]=32899;c[N+12>>2]=L;o=c[la>>2]|0;if(o>>>0

    >>0){y=g+8+(M*72|0)+44|0;w=g+8+(M*72|0)+36|0;n=0;q=0;t=0;while(1){do if((c[o+20>>2]|0)==(c[y>>2]|0)){p=e[o+12>>1]|0;if(!(p&130)){p=t;break}if(a[w>>0]&8?!((p&128|0)==0?1:(c[(c[o>>2]|0)+4>>2]&1|0)!=0):0){p=t;break}ia=o+32|0;if(!((c[ia>>2]&u|0)==0?(c[ia+4>>2]&x|0)==0:0)){p=t;break}s=c[o+28>>2]|0;if((s|0)<0){p=t;break}h=c[o>>2]|0;if(!(gm(h,a[(c[(c[O>>2]|0)+4>>2]|0)+(s<<4)+13>>0]|0)|0)){p=t;break}r=(s|0)>63;p=Rt(1,0,s|0)|0;p=r?0:p;r=r?-2147483648:z;if(!((p&q|0)==0&(r&t|0)==0)){p=t;break}v=p|q;r=r|t;b[(c[A>>2]|0)+(n<<1)>>1]=s;p=c[h+12>>2]|0;q=c[h+16>>2]|0;G:do if(!(c[p+4>>2]&256)){do if(q|0){if(!(c[q+4>>2]&256))break;p=Qj(f,q)|0;ja=481;break G}while(0);p=Qj(f,p)|0;if(p|0){ja=482;break}p=Qj(f,q)|0;ja=481}else{p=Qj(f,p)|0;ja=481}while(0);if((ja|0)==481){ja=0;if(!p)p=22091;else ja=482}if((ja|0)==482){ja=0;p=c[p>>2]|0}c[(c[C>>2]|0)+(n<<2)>>2]=p;n=n+1|0;q=v;p=r}else p=t;while(0);o=o+48|0;if(o>>>0>=P>>>0)break;else t=p}}else n=0;if(B){o=0;do{ia=Rt(1,0,o|0)|0;if(!((ia&G|0)==0&(z&D|0)==0)){b[(c[A>>2]|0)+(n<<1)>>1]=o;c[(c[C>>2]|0)+(n<<2)>>2]=22091;n=n+1|0}o=o+1|0}while((o|0)<(E|0))}do if((c[H+4>>2]|0)<0){if((b[J>>1]|0)<=63){B=n;break}o=63;do{b[(c[A>>2]|0)+(n<<1)>>1]=o;c[(c[C>>2]|0)+(n<<2)>>2]=22091;n=n+1|0;o=o+1|0}while((o|0)<(b[J>>1]|0));B=n}else B=n;while(0);b[(c[A>>2]|0)+(B<<1)>>1]=-1;c[(c[C>>2]|0)+(B<<2)>>2]=22091;n=c[X>>2]|0;c[X>>2]=n+1;y=pa+(j*80|0)+8|0;c[y>>2]=n;o=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(o|0)){c[T>>2]=o+1;ia=c[U+88>>2]|0;a[ia+(o*20|0)>>0]=107;b[ia+(o*20|0)+2>>1]=0;c[ia+(o*20|0)+4>>2]=n;c[ia+(o*20|0)+8>>2]=F;c[ia+(o*20|0)+12>>2]=0;c[ia+(o*20|0)+16>>2]=0;a[ia+(o*20|0)+1>>0]=0}else zi(U,107,n,F,0)|0;n=c[ua>>2]|0;p=rk(f,N)|0;H:do if(p|0){o=c[n>>2]|0;if(!(a[o+73>>0]|0)){m=c[n+88>>2]|0;ia=(c[n+136>>2]|0)+-1|0;a[m+(ia*20|0)+1>>0]=-9;c[m+(ia*20|0)+16>>2]=p;break}if(c[o+464>>2]|0)break;ia=(c[p>>2]|0)+-1|0;c[p>>2]=ia;if(ia|0)break;n=c[p+12>>2]|0;do if(n|0){if(c[n+464>>2]|0){Lc(n,p);break H}o=p;if(o>>>0<(c[n+296>>2]|0)>>>0)break;if(o>>>0>=(c[n+300>>2]|0)>>>0)break;ia=n+292|0;c[p>>2]=c[ia>>2];c[ia>>2]=p;break H}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{ia=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-ia;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Y>>2]=(c[Y>>2]|0)+1;v=c[(c[ra>>2]|0)+4>>2]|0;w=d[V>>0]|0;C=v+8+(w*72|0)+37|0;do if(!(a[C>>0]&16)){n=c[pa+(j*80|0)+4>>2]|0;o=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(o|0)){c[T>>2]=o+1;A=c[U+88>>2]|0;a[A+(o*20|0)>>0]=37;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=n;c[A+(o*20|0)+8>>2]=0;c[A+(o*20|0)+12>>2]=0;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0;A=o;n=0;break}else{A=zi(U,37,n,0,0)|0;n=0;break}}else{q=c[v+8+(w*72|0)+28>>2]|0;n=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(n|0)){p=n+1|0;c[T>>2]=p;A=c[U+88>>2]|0;a[A+(n*20|0)>>0]=67;A=A+(n*20|0)+1|0;D=A+19|0;do{a[A>>0]=0;A=A+1|0}while((A|0)<(D|0))}else{n=zi(U,67,0,0,0)|0;p=c[T>>2]|0}o=c[v+8+(w*72|0)+24>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(p|0)){ia=p+1|0;c[T>>2]=ia;m=c[U+88>>2]|0;a[m+(p*20|0)>>0]=15;b[m+(p*20|0)+2>>1]=0;c[m+(p*20|0)+4>>2]=q;c[m+(p*20|0)+8>>2]=0;c[m+(p*20|0)+12>>2]=o;c[m+(p*20|0)+16>>2]=0;a[m+(p*20|0)+1>>0]=0;o=ia}else{zi(U,15,q,0,o)|0;o=c[T>>2]|0}if((c[(c[R>>2]|0)+48>>2]|0)>(o|0)){c[T>>2]=o+1;A=c[U+88>>2]|0;a[A+(o*20|0)>>0]=16;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=q;c[A+(o*20|0)+8>>2]=0;c[A+(o*20|0)+12>>2]=0;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0;A=o;break}else{A=zi(U,16,q,0,0)|0;break}}while(0);t=(k|0)!=0;if(t){o=c[R>>2]|0;s=o+68|0;h=c[s>>2]|0;c[s>>2]=h+1;s=o+72|0;if(!(h+-1&h)){p=c[o>>2]|0;q=c[s>>2]|0;o=Mc(p,q,h<<3|4,0)|0;I:do if(!((q|0)==0|(o|0)!=0)){do if(p|0){if(c[p+464>>2]|0){Lc(p,q);break I}r=q;if(r>>>0<(c[p+296>>2]|0)>>>0)break;if(r>>>0>=(c[p+300>>2]|0)>>>0)break;ia=p+292|0;c[q>>2]=c[ia>>2];c[ia>>2]=q;break I}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{ia=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-ia;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[s>>2]=o}else o=c[s>>2]|0;if(o|0)c[o+(h<<2)>>2]=-1;q=~h;Dk(f,k,q,16);c[Q>>2]=c[Q>>2]|131072}else q=0;o=a[Z>>0]|0;if(!(o<<24>>24)){h=(c[_>>2]|0)+1|0;c[_>>2]=h}else{h=o+-1<<24>>24;a[Z>>0]=h;h=c[f+348+((h&255)<<2)>>2]|0}s=pa+(j*80|0)+4|0;r=Bk(f,N,c[s>>2]|0,h,0,0,0,0)|0;o=c[y>>2]|0;p=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(p|0)){ia=p+1|0;c[T>>2]=ia;m=c[U+88>>2]|0;a[m+(p*20|0)>>0]=127;b[m+(p*20|0)+2>>1]=0;c[m+(p*20|0)+4>>2]=o;c[m+(p*20|0)+8>>2]=h;c[m+(p*20|0)+12>>2]=0;c[m+(p*20|0)+16>>2]=0;a[m+(p*20|0)+1>>0]=0;p=ia}else{zi(U,127,o,h,0)|0;p=c[T>>2]|0}if((p|0)>0)b[(c[U+88>>2]|0)+((p+-1|0)*20|0)+2>>1]=16;do if(t){o=c[(c[R>>2]|0)+72>>2]|0;if(!o)break;c[o+(~q<<2)>>2]=p}while(0);do if(!(a[C>>0]&16)){n=c[s>>2]|0;o=A+1|0;p=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(p|0)){c[T>>2]=p+1;ia=c[U+88>>2]|0;a[ia+(p*20|0)>>0]=7;b[ia+(p*20|0)+2>>1]=0;c[ia+(p*20|0)+4>>2]=n;c[ia+(p*20|0)+8>>2]=o;c[ia+(p*20|0)+12>>2]=0;c[ia+(p*20|0)+16>>2]=0;a[ia+(p*20|0)+1>>0]=0;break}else{zi(U,7,n,o,0)|0;break}}else{if((n|0)<0)n=(c[T>>2]|0)+-1|0;if(!(a[(c[U>>2]|0)+73>>0]|0))n=(c[U+88>>2]|0)+(n*20|0)|0;else n=46708;c[n+8>>2]=r+B;s=c[s>>2]|0;r=c[v+8+(w*72|0)+32>>2]|0;o=c[ua>>2]|0;if((A|0)<0)n=(c[o+136>>2]|0)+-1|0;else n=A;if(!(a[(c[o>>2]|0)+73>>0]|0))n=(c[o+88>>2]|0)+(n*20|0)|0;else n=46708;q=c[o+136>>2]|0;if((q|0)>(A|0)?(a[(c[f>>2]|0)+73>>0]|0)==0:0){o=A;while(1){p=n+4|0;J:do if((c[p>>2]|0)==(s|0))switch(a[n>>0]|0){case 96:{a[n>>0]=75;m=n+8|0;c[p>>2]=(c[m>>2]|0)+r;ia=n+12|0;c[m>>2]=c[ia>>2];c[ia>>2]=0;break J}case 123:{a[n>>0]=80;ia=n+8|0;c[p>>2]=c[ia>>2];c[ia>>2]=1;break J}default:break J}while(0);o=o+1|0;if((o|0)==(q|0))break;else n=n+20|0}}n=c[T>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(n|0)){c[T>>2]=n+1;ia=c[U+88>>2]|0;a[ia+(n*20|0)>>0]=13;b[ia+(n*20|0)+2>>1]=0;c[ia+(n*20|0)+4>>2]=0;c[ia+(n*20|0)+8>>2]=A;c[ia+(n*20|0)+12>>2]=0;c[ia+(n*20|0)+16>>2]=0;a[ia+(n*20|0)+1>>0]=0}else zi(U,13,0,A,0)|0;a[C>>0]=a[C>>0]&-17}while(0);o=c[T>>2]|0;if((o|0)>0)b[(c[U+88>>2]|0)+((o+-1|0)*20|0)+2>>1]=3;if(!(a[(c[U>>2]|0)+73>>0]|0))n=(c[U+88>>2]|0)+(((A|0)<0?o+-1|0:A)*20|0)|0;else n=46708;c[n+8>>2]=o;K:do if(h|0){q=a[Z>>0]|0;if((q&255)>=8)break;n=a[$>>0]|0;L:do if(n<<24>>24){p=n&255;n=0;o=aa;while(1){if((c[o+12>>2]|0)==(h|0))break;n=n+1|0;if((n|0)>=(p|0))break L;else o=o+20|0}a[o+6>>0]=1;break K}while(0);a[Z>>0]=q+1<<24>>24;c[f+348+((q&255)<<2)>>2]=h}while(0);n=(c[Y>>2]|0)+-1|0;c[Y>>2]=n;o=a[$>>0]|0;M:do if(o<<24>>24){h=0;do{p=f+148+(h*20|0)+8|0;q=f+148+(h*20|0)|0;r=f+148+(h*20|0)+6|0;s=f+148+(h*20|0)+12|0;if((c[p>>2]|0)>(n|0))do{do if(a[r>>0]|0){n=a[Z>>0]|0;if((n&255)>=8)break;ia=c[s>>2]|0;a[Z>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=ia}while(0);o=o+-1<<24>>24;a[$>>0]=o;n=o&255;if((n|0)>(h|0)){o=f+148+(n*20|0)|0;c[q>>2]=c[o>>2];c[q+4>>2]=c[o+4>>2];c[q+8>>2]=c[o+8>>2];c[q+12>>2]=c[o+12>>2];c[q+16>>2]=c[o+16>>2];o=a[$>>0]|0}if((h|0)>=(o&255|0))break M;n=c[Y>>2]|0}while((c[p>>2]|0)>(n|0));h=h+1|0}while((h|0)<(o&255|0))}while(0);o=c[T>>2]|0;if(!(a[(c[U>>2]|0)+73>>0]|0))n=(c[U+88>>2]|0)+(((S|0)<0?o+-1|0:S)*20|0)|0;else n=46708;c[n+8>>2]=o}while(0);if(k|0)Qf(c[f>>2]|0,k);if(a[qa>>0]|0){ja=601;break e}}hm(f,g,W,j,d[V>>0]|0,sa);c[pa+(j*80|0)+32>>2]=c[I>>2];u=im(i,j,u,x)|0;c[ma>>2]=c[pa+(j*80|0)+24>>2];j=j+1|0;if((j|0)>=(fa|0))break;else x=z}l=ya;return i|0}}}else ja=601;while(0);if((ja|0)==601?(i|0)==0:0){xa=0;l=ya;return xa|0}c[na>>2]=c[oa>>2];k=a[wa>>0]|0;N:do if(k<<24>>24){p=xa+464|0;q=xa+296|0;r=xa+300|0;s=xa+292|0;if(!xa){n=0;while(1){va=c[i+752+(n*80|0)+64>>2]|0;if((va|0)!=0?(c[va+36>>2]&2048|0)!=0:0){k=c[i+752+(n*80|0)+60>>2]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{va=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);k=a[wa>>0]|0}n=n+1|0;if((n|0)>=(k&255|0))break N}}else o=0;do{va=c[i+752+(o*80|0)+64>>2]|0;if((va|0)!=0?(c[va+36>>2]&2048|0)!=0:0){k=c[i+752+(o*80|0)+60>>2]|0;O:do if(k|0){if(c[p>>2]|0){Lc(xa,k);break}n=k;do if(n>>>0>=(c[q>>2]|0)>>>0){if(n>>>0>=(c[r>>2]|0)>>>0)break;c[k>>2]=c[s>>2];c[s>>2]=k;break O}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{va=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);k=a[wa>>0]|0}o=o+1|0}while((o|0)<(k&255|0))}while(0);Vl(ra);n=i+60|0;k=c[n>>2]|0;if(k|0)do{c[n>>2]=c[k+52>>2];Wl(xa,k);k=c[n>>2]|0}while((k|0)!=0);if(xa|0){if(c[xa+464>>2]|0){Lc(xa,i);xa=0;l=ya;return xa|0}wa=i;if(wa>>>0>=(c[xa+296>>2]|0)>>>0?wa>>>0<(c[xa+300>>2]|0)>>>0:0){xa=xa+292|0;c[i>>2]=c[xa>>2];c[xa>>2]=i;xa=0;l=ya;return xa|0}}if(!(c[2]|0)){pb[c[56>>2]&255](i);xa=0;l=ya;return xa|0}else{xa=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);xa=0;l=ya;return xa|0}return 0}function Ul(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;D=c[e>>2]|0;E=D+8|0;F=c[E>>2]|0;G=c[e+4>>2]|0;I=c[D>>2]|0;j=D+25|0;f=a[j>>0]|0;if(f<<24>>24){h=D+19|0;g=f&255;f=0;do{if(a[D+148+(f*20|0)+6>>0]|0?(i=a[h>>0]|0,(i&255)<8):0){H=c[D+148+(f*20|0)+12>>2]|0;a[h>>0]=i+1<<24>>24;c[D+348+((i&255)<<2)>>2]=H}f=f+1|0}while((f|0)!=(g|0))}a[j>>0]=0;H=e+46|0;g=a[H>>0]|0;if(!(g<<24>>24))f=F+12|0;else{f=F+12|0;r=F+136|0;s=F+88|0;t=e+51|0;u=D+44|0;p=g&255;do{q=p;p=p+-1|0;n=c[e+752+(p*80|0)+64>>2]|0;o=e+752+(p*80|0)+45|0;if((a[o>>0]|0)==-90){g=c[(c[f>>2]|0)+72>>2]|0;if(g|0)c[g+(~c[e+752+(p*80|0)+24>>2]<<2)>>2]=c[r>>2]}else{do if((((((a[t>>0]|0)==2?(q|0)==(d[H>>0]|0):0)?(c[n+36>>2]&512|0)!=0:0)?(x=c[n+32>>2]|0,(a[x+55>>0]|0)<0):0)?(C=b[n+30>>1]|0,y=C&65535,C<<16>>16!=0):0)?(b[(c[x+8>>2]|0)+(y<<1)>>1]|0)>35:0){l=(c[u>>2]|0)+1|0;k=e+752+(p*80|0)+8|0;j=0;i=c[k>>2]|0;do{g=j+l|0;h=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;C=c[s>>2]|0;a[C+(h*20|0)>>0]=96;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=i;c[C+(h*20|0)+8>>2]=j;c[C+(h*20|0)+12>>2]=g;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0}else{zi(F,96,i,j,g)|0;i=c[k>>2]|0}j=j+1|0}while((j|0)!=(y|0));h=a[o>>0]|0;c[u>>2]=y+1+(c[u>>2]|0);h=h<<24>>24==6?24:27;g=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;C=c[s>>2]|0;a[C+(g*20|0)>>0]=h;b[C+(g*20|0)+2>>1]=0;c[C+(g*20|0)+4>>2]=i;c[C+(g*20|0)+8>>2]=0;c[C+(g*20|0)+12>>2]=l;c[C+(g*20|0)+16>>2]=0;a[C+(g*20|0)+1>>0]=0}else g=zi(F,h,i,0,l)|0;if(!(a[(c[F>>2]|0)+73>>0]|0)){C=c[s>>2]|0;a[C+(g*20|0)+1>>0]=-3;c[C+(g*20|0)+16>>2]=y}h=c[e+752+(p*80|0)+52>>2]|0;i=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(i|0)){c[r>>2]=i+1;C=c[s>>2]|0;a[C+(i*20|0)>>0]=13;b[C+(i*20|0)+2>>1]=0;c[C+(i*20|0)+4>>2]=1;c[C+(i*20|0)+8>>2]=h;c[C+(i*20|0)+12>>2]=0;c[C+(i*20|0)+16>>2]=0;a[C+(i*20|0)+1>>0]=0;break}else{zi(F,13,1,h,0)|0;break}}else g=0;while(0);m=c[f>>2]|0;h=c[m+72>>2]|0;if(h|0)c[h+(~c[e+752+(p*80|0)+24>>2]<<2)>>2]=c[r>>2];h=a[o>>0]|0;i=c[e+752+(p*80|0)+48>>2]|0;j=c[e+752+(p*80|0)+52>>2]|0;k=d[e+752+(p*80|0)+46>>0]|0;l=c[r>>2]|0;if((c[m+48>>2]|0)>(l|0)){C=l+1|0;c[r>>2]=C;B=c[s>>2]|0;a[B+(l*20|0)>>0]=h;b[B+(l*20|0)+2>>1]=0;c[B+(l*20|0)+4>>2]=i;c[B+(l*20|0)+8>>2]=j;c[B+(l*20|0)+12>>2]=k;c[B+(l*20|0)+16>>2]=0;a[B+(l*20|0)+1>>0]=0;h=C}else{zi(F,h&255,i,j,k)|0;h=c[r>>2]|0}if((h|0)>0)b[(c[s>>2]|0)+((h+-1|0)*20|0)+2>>1]=d[e+752+(p*80|0)+47>>0]|0;if(g|0){if(!(a[(c[F>>2]|0)+73>>0]|0))g=(c[s>>2]|0)+(((g|0)<0?h+-1|0:g)*20|0)|0;else g=46708;c[g+8>>2]=h}}n=n+36|0;do if(c[n>>2]&2048|0?(v=e+752+(p*80|0)+56|0,w=c[v>>2]|0,(w|0)>0):0){g=c[(c[f>>2]|0)+72>>2]|0;if(g){c[g+(~c[e+752+(p*80|0)+16>>2]<<2)>>2]=c[r>>2];g=c[v>>2]|0;if((g|0)<=0)break}else g=w;m=g;l=(c[e+752+(p*80|0)+60>>2]|0)+((g+-1|0)*12|0)|0;i=a[(c[F>>2]|0)+73>>0]|0;h=c[r>>2]|0;while(1){j=l+4|0;k=c[j>>2]|0;if(!(i<<24>>24))g=(c[s>>2]|0)+(((k|0)<-1?h+-1|0:k+1|0)*20|0)|0;else g=46708;c[g+8>>2]=h;g=a[l+8>>0]|0;do if(g<<24>>24!=-90){i=c[l>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(h|0)){C=h+1|0;c[r>>2]=C;B=c[s>>2]|0;a[B+(h*20|0)>>0]=g;b[B+(h*20|0)+2>>1]=0;c[B+(h*20|0)+4>>2]=i;c[B+(h*20|0)+8>>2]=k;c[B+(h*20|0)+12>>2]=0;c[B+(h*20|0)+16>>2]=0;a[B+(h*20|0)+1>>0]=0;g=k;h=C;break}else{zi(F,g&255,i,k,0)|0;g=c[j>>2]|0;h=c[r>>2]|0;break}}else g=k;while(0);i=a[(c[F>>2]|0)+73>>0]|0;if(!(i<<24>>24))g=(c[s>>2]|0)+((((g|0)<1?h:g)+-1|0)*20|0)|0;else g=46708;c[g+8>>2]=h;if((m|0)<=1)break;else{m=m+-1|0;l=l+-12|0}}}while(0);i=c[f>>2]|0;g=c[i+72>>2]|0;if(g|0)c[g+(~c[e+752+(p*80|0)+12>>2]<<2)>>2]=c[r>>2];j=e+752+(p*80|0)+20|0;g=c[j>>2]|0;if(g|0){h=c[r>>2]|0;if((c[i+48>>2]|0)>(h|0)){C=h+1|0;c[r>>2]=C;B=c[s>>2]|0;a[B+(h*20|0)>>0]=13;b[B+(h*20|0)+2>>1]=0;c[B+(h*20|0)+4>>2]=0;c[B+(h*20|0)+8>>2]=g;c[B+(h*20|0)+12>>2]=0;c[B+(h*20|0)+16>>2]=0;a[B+(h*20|0)+1>>0]=0;h=C}else{zi(F,13,0,g,0)|0;h=c[r>>2]|0;g=c[j>>2]|0}if(!(a[(c[F>>2]|0)+73>>0]|0)){c[(c[s>>2]|0)+(((g|0)<0?h+-1|0:g)*20|0)+8>>2]=h;g=(c[s>>2]|0)+(((g|0)<2?h+-1|0:g+-2|0)*20|0)|0}else{c[11679]=h;g=46708}c[g+8>>2]=h}g=c[e+752+(p*80|0)+40>>2]|0;do if(g|0){h=(c[e+752+(p*80|0)+36>>2]|0)>>>1;i=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(i|0)){c[r>>2]=i+1;C=c[s>>2]|0;a[C+(i*20|0)>>0]=59;b[C+(i*20|0)+2>>1]=0;c[C+(i*20|0)+4>>2]=h;c[C+(i*20|0)+8>>2]=g;c[C+(i*20|0)+12>>2]=0;c[C+(i*20|0)+16>>2]=0;a[C+(i*20|0)+1>>0]=0;break}else{zi(F,59,h,g,0)|0;break}}while(0);h=c[e+752+(p*80|0)>>2]|0;if(h|0){i=c[n>>2]|0;g=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;j=c[s>>2]|0;a[j+(g*20|0)>>0]=48;b[j+(g*20|0)+2>>1]=0;c[j+(g*20|0)+4>>2]=h;c[j+(g*20|0)+8>>2]=0;c[j+(g*20|0)+12>>2]=0;c[j+(g*20|0)+16>>2]=0;a[j+(g*20|0)+1>>0]=0;j=g}else j=zi(F,48,h,0,0)|0;do if(!(i&64)){g=c[e+752+(p*80|0)+4>>2]|0;h=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;C=c[s>>2]|0;a[C+(h*20|0)>>0]=124;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=g;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(F,124,g,0,0)|0;break}}while(0);if(!(i&512)){if(i&8192|0?c[e+752+(p*80|0)+56>>2]|0:0)z=83}else z=83;do if((z|0)==83){z=0;g=c[e+752+(p*80|0)+8>>2]|0;h=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;C=c[s>>2]|0;a[C+(h*20|0)>>0]=124;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=g;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(F,124,g,0,0)|0;break}}while(0);i=c[e+752+(p*80|0)+28>>2]|0;do if((a[o>>0]|0)==63){g=c[e+752+(p*80|0)+48>>2]|0;h=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;C=c[s>>2]|0;a[C+(h*20|0)>>0]=14;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=g;c[C+(h*20|0)+8>>2]=i;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(F,14,g,i,0)|0;break}}else{g=c[r>>2]|0;if((c[(c[f>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;C=c[s>>2]|0;a[C+(g*20|0)>>0]=13;b[C+(g*20|0)+2>>1]=0;c[C+(g*20|0)+4>>2]=0;c[C+(g*20|0)+8>>2]=i;c[C+(g*20|0)+12>>2]=0;c[C+(g*20|0)+16>>2]=0;a[C+(g*20|0)+1>>0]=0;break}else{zi(F,13,0,i,0)|0;break}}while(0);h=c[r>>2]|0;if(!(a[(c[F>>2]|0)+73>>0]|0))g=(c[s>>2]|0)+(((j|0)<0?h+-1|0:j)*20|0)|0;else g=46708;c[g+8>>2]=h}}while((q|0)>1)}f=c[(c[f>>2]|0)+72>>2]|0;if(f|0)c[f+(~c[e+36>>2]<<2)>>2]=c[F+136>>2];f=a[H>>0]|0;y=f<<24>>24==0;a:do if(!y){z=e+49|0;A=I+73|0;x=F+136|0;B=F+88|0;C=f&255;v=e+752|0;w=0;while(1){g=d[v+44>>0]|0;j=c[G+8+(g*72|0)+16>>2]|0;h=c[v+64>>2]|0;do if(!(a[G+8+(g*72|0)+37>>0]&16)){g=c[h+36>>2]|0;if(!(g&576)){if(!(g&8192))break;g=v+56|0}else g=h+32|0;g=c[g>>2]|0;if(g|0){if(a[z>>0]|0?(c[(c[g+12>>2]|0)+36>>2]&32|0)==0:0)break;if(!(a[A>>0]|0)){s=c[x>>2]|0;i=c[v+32>>2]|0;if(!(a[(c[F>>2]|0)+73>>0]|0))h=(c[B>>2]|0)+(((i|0)<0?s+-1|0:i)*20|0)|0;else h=46708;if((i|0)<(s|0)){t=j+36|0;u=g+52|0;q=g+4|0;r=v+8|0;p=j+8|0;o=c[v+4>>2]|0;while(1){m=h+4|0;b:do if((c[m>>2]|0)==(o|0))switch(a[h>>0]|0){case 96:{n=h+8|0;g=c[n>>2]|0;if(c[t>>2]&32){j=p;while(1){j=c[j>>2]|0;if((a[j+55>>0]&3)==2)break;else j=j+20|0}g=b[(c[j+4>>2]|0)+(g<<1)>>1]|0}k=g&65535;g=b[u>>1]|0;if(!(g<<16>>16))break b;l=c[q>>2]|0;j=g&65535;g=0;while(1){if((b[l+(g<<1)>>1]|0)==k<<16>>16)break;g=g+1|0;if((g|0)>=(j|0))break b}if((g&65535)<<16>>16<=-1)break b;c[n>>2]=g<<16>>16;c[m>>2]=c[r>>2];break b}case 123:{c[m>>2]=c[r>>2];a[h>>0]=-126;break b}case 23:{c[m>>2]=c[r>>2];break b}default:break b}while(0);i=i+1|0;if((i|0)==(s|0))break;else h=h+20|0}}}}}else{k=c[v+32>>2]|0;m=c[v+4>>2]|0;l=c[G+8+(g*72|0)+32>>2]|0;h=c[E>>2]|0;if((k|0)<0)g=(c[h+136>>2]|0)+-1|0;else g=k;if(!(a[(c[h>>2]|0)+73>>0]|0))g=(c[h+88>>2]|0)+(g*20|0)|0;else g=46708;j=c[h+136>>2]|0;if((j|0)>(k|0)?(a[(c[D>>2]|0)+73>>0]|0)==0:0){i=g;g=k;while(1){h=i+4|0;c:do if((c[h>>2]|0)==(m|0))switch(a[i>>0]|0){case 96:{a[i>>0]=75;t=i+8|0;c[h>>2]=(c[t>>2]|0)+l;u=i+12|0;c[t>>2]=c[u>>2];c[u>>2]=0;break c}case 123:{a[i>>0]=70;c[h>>2]=0;c[i+12>>2]=0;break c}default:break c}while(0);g=g+1|0;if((g|0)==(j|0))break;else i=i+20|0}}}while(0);w=w+1|0;if((w|0)>=(C|0))break;else v=v+80|0}c[D+132>>2]=c[e+40>>2];if(!y){h=I+464|0;i=I+296|0;j=I+300|0;k=I+292|0;if(!I){g=0;while(1){G=c[e+752+(g*80|0)+64>>2]|0;if((G|0)!=0?(c[G+36>>2]&2048|0)!=0:0){f=c[e+752+(g*80|0)+60>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{G=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);f=a[H>>0]|0}g=g+1|0;if((g|0)>=(f&255|0))break a}}else g=0;do{G=c[e+752+(g*80|0)+64>>2]|0;if((G|0)!=0?(c[G+36>>2]&2048|0)!=0:0){f=c[e+752+(g*80|0)+60>>2]|0;do if(f|0){if(c[h>>2]|0){Lc(I,f);break}G=f;if(G>>>0>=(c[i>>2]|0)>>>0?G>>>0<(c[j>>2]|0)>>>0:0){c[f>>2]=c[k>>2];c[k>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{G=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=a[H>>0]|0}g=g+1|0}while((g|0)<(f&255|0))}}else c[D+132>>2]=c[e+40>>2];while(0);Vl(e+80|0);g=e+60|0;f=c[g>>2]|0;if(f|0)do{c[g>>2]=c[f+52>>2];Wl(I,f);f=c[g>>2]|0}while((f|0)!=0);if(I|0){if(c[I+464>>2]|0){Lc(I,e);return}H=e;if(H>>>0>=(c[I+296>>2]|0)>>>0?H>>>0<(c[I+300>>2]|0)>>>0:0){I=I+292|0;c[e>>2]=c[I>>2];c[I>>2]=e;return}}if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{I=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}function Vl(a){a=a|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=c[c[c[a>>2]>>2]>>2]|0;d=c[a+12>>2]|0;o=a+20|0;if((d|0)>0){p=(q|0)==0;i=q+464|0;j=q+296|0;k=q+300|0;l=q+292|0;h=c[o>>2]|0;while(1){g=d;d=d+-1|0;f=h+10|0;e=b[f>>1]|0;if((e&1)!=0?(m=c[h>>2]|0,(m|0)!=0):0){Qf(q,m);e=b[f>>1]|0}e=e&65535;do if(!(e&16)){if(e&32|0?(n=c[h+28>>2]|0,Vl(n),n|0):0){if(!p){if(c[i>>2]|0){Lc(q,n);break}f=n;if(f>>>0>=(c[j>>2]|0)>>>0?f>>>0<(c[k>>2]|0)>>>0:0){c[n>>2]=c[l>>2];c[l>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{f=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}}else{e=c[h+28>>2]|0;Vl(e);if(e|0){if(!p){if(c[i>>2]|0){Lc(q,e);break}f=e;if(f>>>0>=(c[j>>2]|0)>>>0?f>>>0<(c[k>>2]|0)>>>0:0){c[e>>2]=c[l>>2];c[l>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{f=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}}while(0);if((g|0)<=1)break;else h=h+48|0}}d=c[o>>2]|0;if((d|0)==(a+24|0))return;if(!d)return;if(q|0){if(c[q+464>>2]|0){Lc(q,d);return}a=d;if(a>>>0>=(c[q+296>>2]|0)>>>0?a>>>0<(c[q+300>>2]|0)>>>0:0){q=q+292|0;c[d>>2]=c[q>>2];c[q>>2]=d;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{q=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Wl(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0;e=d+48|0;f=c[e>>2]|0;g=d+56|0;do if((f|0)!=(g|0)){if(a|0){if(c[a+464>>2]|0){Lc(a,f);break}h=f;if(h>>>0>=(c[a+296>>2]|0)>>>0?h>>>0<(c[a+300>>2]|0)>>>0:0){h=a+292|0;c[f>>2]=c[h>>2];c[h>>2]=f;break}}if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);Xl(a,d);c[e>>2]=g;b[d+40>>1]=0;b[d+44>>1]=3;c[d+36>>2]=0;if(a|0){if(c[a+464>>2]|0){Lc(a,d);return}h=d;if(h>>>0>=(c[a+296>>2]|0)>>>0?h>>>0<(c[a+300>>2]|0)>>>0:0){h=a+292|0;c[d>>2]=c[h>>2];c[h>>2]=d;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{h=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Xl(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;e=c[d+36>>2]|0;if(!(e&17408))return;if(e&1024|0?(f=d+28|0,a[f>>0]|0):0){d=d+32|0;e=c[d>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{h=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);a[f>>0]=0;c[d>>2]=0;return}if(!(e&16384))return;g=d+32|0;d=c[g>>2]|0;if(!d)return;e=c[d+16>>2]|0;do if(e){if(b|0){f=b+464|0;if(c[f>>2]|0){Lc(b,e);d=c[g>>2]|0;e=23;break}i=e;if(i>>>0>=(c[b+296>>2]|0)>>>0?i>>>0<(c[b+300>>2]|0)>>>0:0){i=b+292|0;c[e>>2]=c[i>>2];c[i>>2]=e;e=23;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);e=21;break}else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);e=21;break}}else e=21;while(0);if((e|0)==21){d=c[g>>2]|0;if(!b){h=d;e=28}else{f=b+464|0;e=23}}do if((e|0)==23){if(c[f>>2]|0){Lc(b,d);break}i=d;if(i>>>0>=(c[b+296>>2]|0)>>>0?i>>>0<(c[b+300>>2]|0)>>>0:0){i=b+292|0;c[d>>2]=c[i>>2];c[i>>2]=d}else{h=d;e=28}}while(0);do if((e|0)==28?h|0:0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{i=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[g>>2]=0;return}function Yl(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;h=b+8|0;a:do if(d|0){while(1){f=d;while(1){g=c[f+4>>2]|0;if(!(g&4096))break;if(!(g&262144))f=f+12|0;else f=(c[f+20>>2]|0)+4|0;f=c[f>>2]|0;if(!f)break a}a[h>>0]=e;if((a[f>>0]|0)!=e<<24>>24)break;Yl(b,c[f+12>>2]|0,e);d=c[f+16>>2]|0;if(!d)break a}Zl(b,d,0)|0;return}while(0);a[h>>0]=e;return}function Zl(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=d+12|0;h=c[p>>2]|0;n=d+16|0;j=c[n>>2]|0;o=d+20|0;do if((h|0)<(j|0))m=h;else{l=c[o>>2]|0;m=c[c[c[d>>2]>>2]>>2]|0;j=j*96|0;do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))k=11;else c[o>>2]=0;else{if(!(0<0|(0==0?(e[m+268>>1]|0)>>>0>>0:0))){h=m+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];k=m+276|0;c[k>>2]=(c[k>>2]|0)+1;k=12;break}h=m+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];k=m+276|0;c[k>>2]=(c[k>>2]|0)+1;k=12;break}}else h=1;k=m+276+(h<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=11}while(0);if((k|0)==11){i=Ec(m,j,0)|0;k=12}if((k|0)==12?(c[o>>2]=i,i|0):0){Tt(i|0,l|0,(c[p>>2]|0)*48|0)|0;do if(!((l|0)==(d+24|0)|(l|0)==0)){if(c[m+464>>2]|0){Lc(m,l);break}k=l;if(k>>>0>=(c[m+296>>2]|0)>>>0?k>>>0<(c[m+300>>2]|0)>>>0:0){k=m+292|0;c[l>>2]=c[k>>2];c[k>>2]=l;break}if(!(c[2]|0)){pb[c[56>>2]&255](l);break}else{k=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);break}}while(0);h=c[o>>2]|0;l=h;if(l>>>0>=(c[m+296>>2]|0)>>>0?l>>>0<(c[m+300>>2]|0)>>>0:0)h=e[m+268>>1]|0;else h=jb[c[64>>2]&255](h)|0;c[n>>2]=(h>>>0)/48|0;m=c[p>>2]|0;break}if(!((f|0)==0|(g&1)==0))Qf(m,f);c[o>>2]=l;g=0;return g|0}while(0);l=c[o>>2]|0;c[p>>2]=m+1;a:do if(f){k=c[f+4>>2]|0;do if(!(k&262144))h=1;else{h=c[f+28>>2]|0;i=((h|0)<0)<<31>>31;if(h>>>0>=8){if(h>>>0>255){j=40;do{j=(j&65535)+40|0;p=h;h=Qt(h|0,i|0,4)|0;o=i;i=z}while(o>>>0>0|(o|0)==0&p>>>0>4095);j=j&65535}else j=40;if(i>>>0>0|(i|0)==0&h>>>0>15)while(1){j=(j&65535)+10&65535;p=h;h=Qt(h|0,i|0,1)|0;if(!(i>>>0>0|(i|0)==0&p>>>0>31))break;else i=z}}else{if(h>>>0<2){h=-270;break}else j=40;do{j=(j&65535)+65526|0;h=Rt(h|0,i|0,1)|0;i=z}while(i>>>0<0|(i|0)==0&h>>>0<8);j=j&65535}h=(j&65535)+65256+(e[14834+((h&7)<<1)>>1]|0)&65535}while(0);b[l+(m*48|0)+8>>1]=h;if(k&4096){h=k;do{if(!(h&262144))f=f+12|0;else f=(c[f+20>>2]|0)+4|0;f=c[f>>2]|0;if(!f){f=0;break a}h=c[f+4>>2]|0}while((h&4096|0)!=0)}}else{b[l+(m*48|0)+8>>1]=1;f=0}while(0);c[l+(m*48|0)>>2]=f;b[l+(m*48|0)+10>>1]=g;c[l+(m*48|0)+4>>2]=d;c[l+(m*48|0)+16>>2]=-1;f=l+(m*48|0)+12|0;h=f+36|0;do{c[f>>2]=0;f=f+4|0}while((f|0)<(h|0));g=m;return g|0}function _l(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;qa=l;l=l+96|0;la=qa+72|0;ga=qa+64|0;ba=qa+56|0;$=qa+48|0;T=qa+40|0;x=qa+32|0;r=qa+24|0;o=qa+16|0;n=qa+8|0;p=qa;aa=qa+80|0;q=c[g>>2]|0;ka=c[q>>2]|0;fa=c[ka>>2]|0;_=fa+73|0;if(a[_>>0]|0){l=qa;return}na=g+20|0;u=c[na>>2]|0;y=u+(h*48|0)|0;ea=q+488|0;oa=c[y>>2]|0;pa=oa+12|0;C=fm(ea,c[pa>>2]|0)|0;D=z;w=a[oa>>0]|0;v=w&255;a:do switch(w<<24>>24){case 49:{j=c[pa>>2]|0;i=a[j>>0]|0;if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;ca=8;break}case 119:{i=c[j+20>>2]|0;ca=8;break}default:k=1}if((ca|0)==8)k=c[c[i>>2]>>2]|0;if(c[oa+4>>2]&2048|0){i=oa+20|0;j=c[c[c[i>>2]>>2]>>2]|0;if((k|0)==(j|0)){j=rm(ea,c[i>>2]|0)|0;i=z;break a}c[p>>2]=j;c[p+4>>2]=k;hg(ka,29348,p);l=qa;return}if((k|0)==1){n=c[oa+20>>2]|0;if(!n){j=0;i=0;break a}if((c[n>>2]|0)>0){k=0;j=0;i=0}else{j=0;i=0;break a}while(1){ja=fm(ea,c[n+4+(k*20|0)>>2]|0)|0;j=ja|j;i=z|i;k=k+1|0;if((k|0)>=(c[n>>2]|0))break a}}if(!(c[j+4>>2]&2048)){hg(ka,28127,o);l=qa;return}else{c[n>>2]=c[c[c[j+20>>2]>>2]>>2];c[n+4>>2]=1;hg(ka,29348,n);l=qa;return}}case 50:{j=0;i=0;break}default:{j=fm(ea,c[oa+16>>2]|0)|0;i=z}}while(0);t=u+(h*48|0)+32|0;o=t;c[o>>2]=j;c[o+4>>2]=i;c[ea>>2]=0;o=fm(ea,oa)|0;p=z;s=u+(h*48|0)+10|0;if(c[ea>>2]|0)b[s>>1]=b[s>>1]|4096;ja=oa+4|0;if(c[ja>>2]&1){j=b[oa+36>>1]|0;k=c[q+492>>2]|0;b:do if((k|0)>0){i=0;while(1){if((c[q+496+(i<<2)>>2]|0)==(j|0))break;i=i+1|0;if((i|0)>=(k|0)){k=0;n=0;break b}}k=Rt(1,0,i|0)|0;n=z}else{k=0;n=0}while(0);i=k|o;j=n|p;o=Ft(k|0,n|0,-1,-1)|0;p=z;ia=Qt(i|0,j|0,1)|0;ha=z;if(ha>>>0>>0|(ha|0)==(n|0)&ia>>>0>>0){B=i;A=j;ia=o;ha=p}else{hg(ka,33269,r);l=qa;return}}else{B=o;A=p;ia=0;ha=0}p=u+(h*48|0)+40|0;c[p>>2]=B;c[p+4>>2]=A;p=u+(h*48|0)+20|0;c[p>>2]=-1;c[u+(h*48|0)+16>>2]=-1;n=u+(h*48|0)+12|0;b[n>>1]=0;P=v+-45|0;if(P>>>0<13?(7985>>>(P&8191)&1)!=0:0){i=c[pa>>2]|0;c:do if(!i)i=0;else while(1){j=c[i+4>>2]|0;if(!(j&4096))break c;if(!(j&262144))i=i+12|0;else i=(c[i+20>>2]|0)+4|0;i=c[i>>2]|0;if(!i){i=0;break}}while(0);j=c[oa+16>>2]|0;d:do if(!j)j=0;else while(1){k=c[j+4>>2]|0;if(!(k&4096))break d;if(!(k&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){j=0;break}}while(0);x=t;x=((c[x>>2]&C|0)==0?(c[x+4>>2]&D|0)==0:0)?8191:2048;k=c[u+(h*48|0)+24>>2]|0;if((k|0)>0)i=c[(c[i+20>>2]|0)+4+((k+-1|0)*20|0)>>2]|0;k=a[i>>0]|0;o=(v+-54|0)>>>0<4;if(o&k<<24>>24==-105){k=c[(c[i+20>>2]|0)+4>>2]|0;i=k;k=a[k>>0]|0}if(k<<24>>24!=-111){if((!((C|0)==0&(D|0)==0)?(T=Ft(C|0,D|0,-1,-1)|0,(T&C|0)==0&(z&D|0)==0):0)?Am(f,C,D,aa,i)|0:0){i=c[aa>>2]|0;k=c[aa+4>>2]|0;ca=54}}else{ca=c[i+28>>2]|0;c[aa>>2]=ca;k=b[i+32>>1]|0;c[aa+4>>2]=k;i=ca;ca=54}if((ca|0)==54){c[p>>2]=i;c[u+(h*48|0)+28>>2]=k;switch(w<<24>>24){case 49:{i=1;break}case 50:{i=256;break}case 45:{i=128;break}default:i=2<>1]=i&x}n=w<<24>>24==45;if(n)b[s>>1]=b[s>>1]|2048;do if(!j)i=y;else{m=t;k=c[m>>2]|0;m=c[m+4>>2]|0;i=a[j>>0]|0;if(o&i<<24>>24==-105){i=c[(c[j+20>>2]|0)+4>>2]|0;j=i;i=a[i>>0]|0}if(i<<24>>24!=-111){if((k|0)==0&(m|0)==0){i=y;break}T=Ft(k|0,m|0,-1,-1)|0;if(!((T&k|0)==0&(z&m|0)==0)){i=y;break}if(!(Am(f,k,m,aa,j)|0)){i=y;break}}else{c[aa>>2]=c[j+28>>2];c[aa+4>>2]=b[j+32>>1]}e:do if((c[p>>2]|0)>-1){if(!oa)t=0;else t=sj(fa,oa,0,0)|0;do if(!(a[_>>0]|0)){i=Zl(g,t,3)|0;if(!i)break;p=c[na>>2]|0;r=p+(i*48|0)|0;c[p+(i*48|0)+16>>2]=h;b[p+(i*48|0)+8>>1]=b[p+(h*48|0)+8>>1]|0;T=p+(h*48|0)+14|0;a[T>>0]=(a[T>>0]|0)+1<<24>>24;i=p+(i*48|0)+10|0;if(n)b[i>>1]=b[i>>1]|2048;i=p+(h*48|0)|0;T=p+(h*48|0)+10|0;b[T>>1]=b[T>>1]|8;if(b[(c[ka>>2]|0)+68>>1]&128){s=0;break e}switch(a[t>>0]|0){case 45:case 53:break;default:{s=0;break e}}if(c[t+4>>2]&1|0){s=0;break e}o=t+12|0;j=c[o>>2]|0;S=Pj(j)|0;n=t+16|0;k=c[n>>2]|0;T=Pj(k)|0;if(S<<24>>24!=T<<24>>24?!(S<<24>>24>66&T<<24>>24>66):0){s=0;break e}f:do if(!(c[j+4>>2]&256)){do if(k|0){if(!(c[k+4>>2]&256))break;j=Qj(ka,k)|0;ca=90;break f}while(0);j=Qj(ka,j)|0;if(j|0){ca=91;break}j=Qj(ka,k)|0;ca=90}else{j=Qj(ka,j)|0;ca=90}while(0);if((ca|0)==90?j|0:0)ca=91;do if((ca|0)==91){k=c[j>>2]|0;T=a[k>>0]|0;j=(d[17324+(T&255)>>0]|0)+-98|0;if(!(T<<24>>24==0|(j|0)!=0)){m=22091;do{k=k+1|0;m=m+1|0;T=a[k>>0]|0;j=(d[17324+(T&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(T<<24>>24==0|(j|0)!=0))}if(!j)break;k=c[n>>2]|0;j=Qj(ka,c[o>>2]|0)|0;if(!j)j=c[(c[ka>>2]|0)+8>>2]|0;k=Qj(ka,k)|0;if(!k)k=c[(c[ka>>2]|0)+8>>2]|0;n=c[j>>2]|0;k=c[k>>2]|0;T=a[n>>0]|0;j=(d[17324+(T&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(T<<24>>24==0|(j|0)!=0)){m=k;k=n;do{k=k+1|0;m=m+1|0;T=a[k>>0]|0;j=(d[17324+(T&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(T<<24>>24==0|(j|0)!=0))}if(j|0){s=0;break e}}while(0);s=p+(h*48|0)+12|0;b[s>>1]=b[s>>1]|2048;s=2048;break e}else{if(!t)break;Qf(fa,t)}while(0);l=qa;return}else{t=oa;i=y;r=y;s=0}while(0);p=t+16|0;k=(c[p>>2]|0)+4|0;m=c[k>>2]|0;n=m&256;q=t+12|0;o=c[q>>2]|0;j=o;do if((n|0)==(c[o+4>>2]&256|0)){if(n|0){c[k>>2]=m&-257;break}if(!(Qj(ka,o)|0)){j=c[q>>2]|0;break}else{j=c[q>>2]|0;T=j+4|0;c[T>>2]=c[T>>2]|256;break}}while(0);T=c[p>>2]|0;c[p>>2]=j;c[q>>2]=T;j=a[t>>0]|0;if((j&255)>53){j=((j&255)+202^2)+54&255;a[t>>0]=j}c[r+20>>2]=c[aa>>2];c[r+28>>2]=c[aa+4>>2];T=r+32|0;c[T>>2]=ia|C;c[T+4>>2]=ha|D;T=r+40|0;c[T>>2]=B;c[T+4>>2]=A;switch(j<<24>>24){case 49:{j=1;break}case 50:{j=256;break}case 45:{j=128;break}default:j=2<<(j&255)+-53}b[r+12>>1]=j+s&(x&65535)}while(0)}else ca=117;g:do if((ca|0)==117){switch(a[oa>>0]|0){case 48:{if((a[g+8>>0]|0)!=44){i=y;break g}q=c[oa+20>>2]|0;r=oa+36|0;p=0;do{n=a[33310+p>>0]|0;i=c[pa>>2]|0;if(!i)o=0;else o=sj(fa,i,0,0)|0;i=c[q+4+(p*20|0)>>2]|0;if(!i)m=0;else m=sj(fa,i,0,0)|0;k=c[ka>>2]|0;do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))ca=132;else{i=k;ca=136}else{if((e[k+268>>1]|0)>=48){j=k+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];ca=k+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=133;break}j=k+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];ca=k+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=133;break}}else i=1;ca=k+276+(i<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=132}while(0);if((ca|0)==132){i=Ec(k,48,0)|0;ca=133}do if((ca|0)==133){ca=0;if(!i){i=c[ka>>2]|0;ca=136;break}u=i;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[i>>0]=n;b[i+34>>1]=-1;if(!m)j=0;else{c[i+16>>2]=m;j=c[m+4>>2]&2097412;c[i+4>>2]=j}if(o|0){c[i+12>>2]=o;c[i+4>>2]=j|c[o+4>>2]&2097412}Ji(i);j=c[(c[ka>>2]|0)+112>>2]|0;if((j|0)<(c[i+24>>2]|0)){c[x>>2]=j;hg(ka,24905,x)}T=i+4|0;c[T>>2]=c[T>>2]|c[ja>>2]&1;b[i+36>>1]=b[r>>1]|0}while(0);if((ca|0)==136){ca=0;if(o|0)Qf(i,o);if(!m)i=0;else{Qf(i,m);i=0}}T=Zl(g,i,3)|0;_l(f,g,T);i=c[na>>2]|0;c[i+(T*48|0)+16>>2]=h;b[i+(T*48|0)+8>>1]=b[i+(h*48|0)+8>>1]|0;T=i+(h*48|0)+14|0;a[T>>0]=(a[T>>0]|0)+1<<24>>24;p=p+1|0}while((p|0)!=2);i=i+(h*48|0)|0;break g}case 43:break;default:{i=y;break g}}M=c[g>>2]|0;O=c[M>>2]|0;N=c[O>>2]|0;i=c[na>>2]|0;P=c[i+(h*48|0)>>2]|0;do if(!N){if(!(c[2]|0)){j=jb[c[52>>2]&255](416)|0;ca=168;break}j=jb[c[68>>2]&255](416)|0;if((c[11829]|0)>>>0<416)c[11829]=416;n=46456;k=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&k>>>0>0){K=c[11822]|0;ca=Gt(k|0,n|0,j|0,((j|0)<0)<<31>>31|0)|0;J=z;c[11616]=(0>(J|0)|0==(J|0)&K>>>0>=ca>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(j){k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;ca=170}else ca=170}else ca=169}else{if(c[N+264>>2]|0){if(a[N+73>>0]|0){ca=169;break}}else{if((e[N+268>>1]|0)>=416){k=N+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];ca=N+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=168;break}k=N+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];ca=N+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=168;break}}else j=1;ca=N+276+(j<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1}j=Ec(N,416,0)|0;ca=168}while(0);if((ca|0)==168)if(!j)ca=169;else ca=170;h:do if((ca|0)==169)c[i+(h*48|0)+28>>2]=0;else if((ca|0)==170){Vt(j+8|0,0,408)|0;c[i+(h*48|0)+28>>2]=j;k=i+(h*48|0)+10|0;b[k>>1]=b[k>>1]|16;k=j+24|0;Vt(k|0,0,384)|0;c[j>>2]=M;c[j+4>>2]=0;K=j+12|0;c[K>>2]=0;c[j+16>>2]=8;J=j+20|0;c[J>>2]=k;Yl(j,P,43);k=c[K>>2]|0;if((k|0)>0)do{I=k;k=k+-1|0;_l(f,j,k)}while((I|0)>1);C=N+73|0;if(!(a[C>>0]|0)){k=c[K>>2]|0;if((k|0)>0){D=N+264|0;E=N+268|0;F=N+292|0;G=N+288|0;H=N+276|0;I=M+492|0;B=c[J>>2]|0;y=-1;o=-1;q=-1;r=-1;while(1){A=k;k=k+-1|0;p=B+12|0;x=b[p>>1]|0;i:do if(!(x&511)){do if(c[D>>2]|0)if(!(a[C>>0]|0))ca=185;else{q=0;r=0;s=y;break i}else{if((e[E>>1]|0)>=408){n=c[F>>2]|0;if(n|0){c[F>>2]=c[n>>2];c[H>>2]=(c[H>>2]|0)+1;break}n=c[G>>2]|0;if(!n)n=2;else{c[G>>2]=c[n>>2];c[H>>2]=(c[H>>2]|0)+1;break}}else n=1;ca=N+276+(n<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=185}while(0);if((ca|0)==185){ca=0;n=Ec(N,408,0)|0}if(!n){q=0;r=0;s=y}else{c[B+28>>2]=n;q=B+10|0;b[q>>1]=b[q>>1]|32;b[p>>1]=1024;p=n+24|0;Vt(p|0,0,384)|0;c[n>>2]=c[g>>2];q=n+4|0;c[q>>2]=0;r=n+12|0;c[r>>2]=0;c[n+16>>2]=8;s=n+20|0;c[s>>2]=p;Yl(n,c[B>>2]|0,44);p=c[r>>2]|0;if((p|0)>0)do{x=p;p=p+-1|0;_l(f,n,p)}while((x|0)>1);c[q>>2]=g;if((a[C>>0]|0)==0?(L=c[r>>2]|0,(L|0)>0):0){t=c[s>>2]|0;u=0;n=0;p=0;while(1){x=(d[c[t>>2]>>0]|0)+-45|0;if(x>>>0<13?(7985>>>(x&8191)&1)!=0:0)ca=195;else if((b[t+12>>1]|0)==64)ca=195;if((ca|0)==195){ca=0;r=c[t+20>>2]|0;s=c[I>>2]|0;j:do if((s|0)>0){q=0;while(1){if((c[M+496+(q<<2)>>2]|0)==(r|0))break;q=q+1|0;if((q|0)>=(s|0)){q=0;r=0;break j}}q=Rt(1,0,q|0)|0;r=z}else{q=0;r=0}while(0);n=q|n;p=r|p}u=u+1|0;if((u|0)>=(L|0))break;else t=t+48|0}}else{n=0;p=0}q=0;r=0;s=n&y;o=p&o}}else{t=b[B+10>>1]|0;if(!(t&8)){p=c[B+20>>2]|0;v=c[I>>2]|0;u=(v|0)>0;k:do if(u){n=0;while(1){if((c[M+496+(n<<2)>>2]|0)==(p|0))break;n=n+1|0;if((n|0)>=(v|0)){s=0;w=0;break k}}s=Rt(1,0,n|0)|0;w=z}else{s=0;w=0}while(0);if(!(t&2))n=w;else{p=c[(c[J>>2]|0)+((c[B+16>>2]|0)*48|0)+20>>2]|0;l:do if(u){n=0;while(1){if((c[M+496+(n<<2)>>2]|0)==(p|0))break;n=n+1|0;if((n|0)>=(v|0)){n=0;p=0;break l}}n=Rt(1,0,n|0)|0;p=z}else{n=0;p=0}while(0);s=n|s;n=p|w}x=(x&2)==0;q=x?0:s&q;r=x?0:n&r;s=s&y;o=n&o}else s=y}while(0);n=(s|0)!=0|(o|0)!=0;if(!(n&(A|0)>1))break;else{B=B+48|0;y=s}}L=j+408|0;c[L>>2]=s;c[L+4>>2]=o;b[i+(h*48|0)+12>>1]=(s|0)==0&(o|0)==0?0:512;if(n)ca=216;else{v=q;t=r}}else{q=j+408|0;c[q>>2]=-1;c[q+4>>2]=-1;b[i+(h*48|0)+12>>1]=512;q=-1;r=-1;ca=216}m:do if((ca|0)==216)if((c[K>>2]|0)==2){k=0;n=c[J>>2]|0;n:while(1){p=k+1|0;if((b[n+12>>1]|0)!=1024)if(!k)k=n;else{v=q;t=r;break m}else{j=c[n+28>>2]|0;if((c[j+12>>2]|0)<=(k|0)){v=q;t=r;break m}k=(c[j+20>>2]|0)+(k*48|0)|0}if(!k){v=q;t=r;break m}else o=0;while(1){if((b[n+60>>1]|0)==1024){j=c[n+76>>2]|0;if((c[j+12>>2]|0)<=(o|0)){k=p;continue n}j=(c[j+20>>2]|0)+(o*48|0)|0;if(!j){k=p;continue n}}else if(!o)j=n+48|0;else{k=p;continue n}Bm(f,g,k,j);o=o+1|0;n=c[J>>2]|0}}}else{v=q;t=r}while(0);if(!((v|0)==0&(t|0)==0)?(S=M+492|0,R=c[J>>2]|0,m=c[K>>2]|0,Q=(m|0)>0,Q):0){p=m;j=R;while(1){n=p+-1|0;u=j+10|0;b[u>>1]=b[u>>1]&-65;u=c[j+20>>2]|0;if((u|0)!=-1){o=c[S>>2]|0;o:do if((o|0)>0){k=0;while(1){if((c[M+496+(k<<2)>>2]|0)==(u|0))break;k=k+1|0;if((k|0)>=(o|0)){k=0;o=0;break o}}k=Rt(1,0,k|0)|0;o=z}else{k=0;o=0}while(0);if(!((k&v|0)==0&(o&t|0)==0))break}if((p|0)>1){p=n;j=j+48|0}else break h}o=c[j+28>>2]|0;if((p|0)>=1){k=u;while(1){if((k|0)==(u|0)){if((c[j+28>>2]|0)!=(o|0)){ca=245;break}L=c[j>>2]|0;I=Pj(c[L+16>>2]|0)|0;if(!(I<<24>>24==0|I<<24>>24==(Pj(c[L+12>>2]|0)|0)<<24>>24)){ca=245;break}L=j+10|0;b[L>>1]=b[L>>1]|64}else{L=j+10|0;b[L>>1]=b[L>>1]&-65}if((n|0)<=0){k=Q;j=R;break}k=c[j+68>>2]|0;n=n+-1|0;j=j+48|0}p:do if((ca|0)==245){j=c[J>>2]|0;m=c[K>>2]|0;k=(m|0)>0;if(k){r=m;n=j}else break h;while(1){p=r+-1|0;s=n+10|0;b[s>>1]=b[s>>1]&-65;s=c[n+20>>2]|0;if((s|0)!=(u|0)){q=c[S>>2]|0;q:do if((q|0)>0){o=0;while(1){if((c[M+496+(o<<2)>>2]|0)==(s|0))break;o=o+1|0;if((o|0)>=(q|0)){o=0;q=0;break q}}o=Rt(1,0,o|0)|0;q=z}else{o=0;q=0}while(0);if(!((o&v|0)==0&(q&t|0)==0))break}if((r|0)>1){r=p;n=n+48|0}else break h}q=c[n+28>>2]|0;if((r|0)<1)break h;else o=s;while(1){if((o|0)==(s|0)){if((c[n+28>>2]|0)!=(q|0))break h;S=c[n>>2]|0;R=Pj(c[S+16>>2]|0)|0;if(!(R<<24>>24==0|R<<24>>24==(Pj(c[S+12>>2]|0)|0)<<24>>24))break h;S=n+10|0;b[S>>1]=b[S>>1]|64}else{S=n+10|0;b[S>>1]=b[S>>1]&-65}if((p|0)<=0)break p;o=c[n+68>>2]|0;p=p+-1|0;n=n+48|0}}while(0);if(k){k=0;p=0;o=j;while(1){n=m;m=m+-1|0;if(!(b[o+10>>1]&64))j=p;else{j=c[(c[o>>2]|0)+16>>2]|0;if(!j)j=0;else j=sj(N,j,0,0)|0;j=Mi(c[c[M>>2]>>2]|0,p,j)|0;k=c[(c[o>>2]|0)+12>>2]|0}if((n|0)<=1)break;else{p=j;o=o+48|0}}if(!k){o=j;n=0}else{o=j;n=sj(N,k,0,0)|0}}else{o=0;n=0}m=c[O>>2]|0;do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))ca=262;else ca=265;else{if((e[m+268>>1]|0)>=48){j=m+292|0;k=c[j>>2]|0;if(k|0){c[j>>2]=c[k>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=263;break}j=m+288|0;k=c[j>>2]|0;if(!k)j=2;else{c[j>>2]=c[k>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=263;break}}else j=1;ca=m+276+(j<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=262}while(0);if((ca|0)==262){k=Ec(m,48,0)|0;ca=263}if((ca|0)==263)if(!k)ca=265;else{u=k;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[k>>0]=49;b[k+34>>1]=-1;if(n|0){c[k+12>>2]=n;c[k+4>>2]=c[n+4>>2]&2097412}Ji(k);i=c[(c[O>>2]|0)+112>>2]|0;if((i|0)<(c[k+24>>2]|0)){c[T>>2]=i;hg(O,24905,T)}T=k+4|0;c[T>>2]=c[T>>2]|c[P+4>>2]&1;b[k+36>>1]=b[P+36>>1]|0;c[k+20>>2]=o;T=Zl(g,k,3)|0;_l(f,g,T);i=c[na>>2]|0;c[i+(T*48|0)+16>>2]=h;b[i+(T*48|0)+8>>1]=b[i+(h*48|0)+8>>1]|0;T=i+(h*48|0)+14|0;a[T>>0]=(a[T>>0]|0)+1<<24>>24}if((ca|0)==265){if(n|0)Qf(c[O>>2]|0,n);if(o)Rf(N,o)}b[i+(h*48|0)+12>>1]=4096}}}}while(0);i=(c[na>>2]|0)+(h*48|0)|0}while(0);A=g+8|0;r:do if((a[A>>0]|0)==44){x=c[ka>>2]|0;s:do if((((a[oa>>0]|0)==-112?(Z=oa+20|0,U=c[Z>>2]|0,(U|0)!=0):0)?(V=c[U>>2]|0,W=kk(x,c[oa+8>>2]|0,V,1,0)|0,(W|0)!=0):0)?(X=b[W+2>>1]|0,(X&4)!=0):0){m=c[Z>>2]|0;if((V|0)>=3){j=c[m+44>>2]|0;if((a[j>>0]|0)!=97)break;j=c[j+8>>2]|0;k=a[j>>0]|0;if(!(k<<24>>24))break;if(a[j+1>>0]|0)break}else k=0;t=c[W+4>>2]|0;q=a[t>>0]|0;r=a[t+1>>0]|0;t=a[t+2>>0]|0;y=(X&65535)>>>3&1^1;p=c[m+24>>2]|0;j=c[m+4>>2]|0;t:do if(!j)v=0;else while(1){m=c[j+4>>2]|0;if(!(m&4096)){v=j;break t}if(!(m&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){v=0;break}}while(0);j=a[v>>0]|0;u=j<<24>>24==-121;if(u)if(!(c[x+28>>2]&8388608)){n=b[v+32>>1]|0;o=n<<16>>16;j=dk(c[ka+424>>2]|0,o)|0;u:do if((j|0)!=0?(Y=b[j+8>>1]|0,(Y&15|16)<<16>>16==18):0){m=Y&65535;do if((m&514|0)==514){if((a[j+10>>0]|0)!=1)break;m=c[j+16>>2]|0;break u}while(0);if(m&1|0){m=0;break}m=Jc(j,1)|0}else m=0;while(0);w=(c[ka+8>>2]|0)+204|0;c[w>>2]=c[w>>2]|(n<<16>>16>31?-2147483648:1<>24==97){j=0;w=c[v+8>>2]|0;ca=303}else j=0;if((ca|0)==303)if(w){m=a[w>>0]|0;o=m&255;v:do if(m<<24>>24==45|(o+-48|0)>>>0<10){do if((a[p>>0]|0)==-111){if((Pj(p)|0)<<24>>24!=66)break;if(!(c[(c[p+44>>2]|0)+56>>2]|0))break v}while(0);Yf(j);break s}while(0);s=q<<24>>24;r=r<<24>>24;q=t<<24>>24;if((o|0)!=(q|0)&(((o|0)==(r|0)|(m<<24>>24==0|(o|0)==(s|0)))^1)){p=k<<24>>24;n=0;while(1){m=n+1|0;if((o|0)==(p|0))t=(a[w+m>>0]|0)==0?m:n+2|0;else t=m;Y=a[w+t>>0]|0;o=Y&255;if(!((o|0)!=(q|0)&(((o|0)==(r|0)|(Y<<24>>24==0|(o|0)==(s|0)))^1)))break;else n=t}if((t|0)!=0?(a[w+(t+-1)>>0]|0)!=-1:0){if((o|0)==(s|0))q=(a[w+(t+1)>>0]|0)==0;else q=0;r=q&1;c[aa>>2]=w;c[aa+4>>2]=(As(w)|0)&1073741823;x=Yi(x,97,aa,0)|0;if(x|0){p=c[x+8>>2]|0;a[p+t>>0]=0;if((t|0)>0){m=0;n=0;while(1){Y=((a[p+n>>0]|0)==k<<24>>24&1)+n|0;o=m+1|0;a[p+m>>0]=a[p+Y>>0]|0;n=Y+1|0;if((n|0)>=(t|0)){k=o;break}else m=o}}else k=0;a[p+k>>0]=0}w:do if(u){m=c[ka+8>>2]|0;X=b[v+32>>1]|0;Y=m+204|0;c[Y>>2]=(X<<16>>16>31?-2147483648:1<<(X<<16>>16)+-1)|c[Y>>2];if(!q){p=0;break}if(!(a[(c[v+8>>2]|0)+1>>0]|0)){p=r;break}q=ka+19|0;k=a[q>>0]|0;if(!(k<<24>>24)){Y=ka+44|0;p=(c[Y>>2]|0)+1|0;c[Y>>2]=p}else{p=k+-1<<24>>24;a[q>>0]=p;p=c[ka+348+((p&255)<<2)>>2]|0}Rk(ka,v,p)|0;if(!(a[(c[m>>2]|0)+73>>0]|0))k=(c[m+88>>2]|0)+(((c[m+136>>2]|0)+-1|0)*20|0)|0;else k=46708;c[k+12>>2]=0;if(!p){p=r;break}o=a[q>>0]|0;if((o&255)>=8){p=r;break}k=a[ka+25>>0]|0;x:do if(k<<24>>24){n=k&255;k=0;m=ka+148|0;while(1){if((c[m+12>>2]|0)==(p|0))break;k=k+1|0;if((k|0)>=(n|0))break x;else m=m+20|0}a[m+6>>0]=1;p=r;break w}while(0);a[q>>0]=o+1<<24>>24;c[ka+348+((o&255)<<2)>>2]=p;p=r}else p=r;while(0);Yf(j);if(!w)break;s=c[(c[Z>>2]|0)+24>>2]|0;r=(x|0)==0;if(r)t=0;else t=sj(fa,x,0,0)|0;o=y<<16>>16==0;do if(!o){if(a[(c[ka>>2]|0)+73>>0]|0)break;m=i+10|0;b[m>>1]=b[m>>1]|1024;m=x+8|0;j=c[m>>2]|0;i=a[j>>0]|0;if(!(i<<24>>24))break;n=t+8|0;k=0;do{ca=i&255;a[j>>0]=((a[18220+ca>>0]|-33)^32)&i;a[(c[n>>2]|0)+k>>0]=a[17324+ca>>0]|0;k=k+1|0;j=(c[m>>2]|0)+k|0;i=a[j>>0]|0}while(i<<24>>24!=0)}while(0);if(!(a[_>>0]|0)){j=c[t+8>>2]|0;if(!j)i=0;else i=(As(j)|0)&1073741823;k=j+(i+-1)|0;i=a[k>>0]|0;if(o){j=i;i=p}else{j=a[17324+(i&255)>>0]|0;i=i<<24>>24==64?0:p}a[k>>0]=(j&255)+1;p=i}q=y<<16>>16?33312:22091;n=(s|0)==0;if(n)j=0;else j=sj(fa,s,0,0)|0;c[aa>>2]=q;c[aa+4>>2]=6;i=Yi(c[ka>>2]|0,94,aa,0)|0;if(i){c[i+12>>2]=j;j=i+4|0;c[j>>2]=c[j>>2]|4352;j=i}m=c[ka>>2]|0;y:do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))ca=365;else{i=m;ca=369}else{do if((e[m+268>>1]|0)<48)i=1;else{k=m+292|0;i=c[k>>2]|0;if(i|0){c[k>>2]=c[i>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=366;break y}k=m+288|0;i=c[k>>2]|0;if(!i){i=2;break}c[k>>2]=c[i>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=366;break y}while(0);ca=m+276+(i<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=365}while(0);if((ca|0)==365){i=Ec(m,48,0)|0;ca=366}do if((ca|0)==366){if(!i){i=c[ka>>2]|0;ca=369;break}u=i;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[i>>0]=57;b[i+34>>1]=-1;if(r)k=0;else{c[i+16>>2]=x;k=c[x+4>>2]&2097412;c[i+4>>2]=k}if(j|0){c[i+12>>2]=j;c[i+4>>2]=k|c[j+4>>2]&2097412}Ji(i);j=c[(c[ka>>2]|0)+112>>2]|0;if((j|0)<(c[i+24>>2]|0)){c[$>>2]=j;hg(ka,24905,$)}$=i+4|0;c[$>>2]=c[$>>2]|c[ja>>2]&1;b[i+36>>1]=b[oa+36>>1]|0}while(0);do if((ca|0)==369){if(j|0)Qf(i,j);if(r){i=0;break}Qf(i,x);i=0}while(0);o=Zl(g,i,259)|0;_l(f,g,o);if(n)j=0;else j=sj(fa,s,0,0)|0;c[aa>>2]=q;c[aa+4>>2]=6;i=Yi(c[ka>>2]|0,94,aa,0)|0;if(!i)m=j;else{c[i+12>>2]=j;m=i+4|0;c[m>>2]=c[m>>2]|4352;m=i}k=c[ka>>2]|0;z:do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))ca=391;else{i=k;ca=395}else{do if((e[k+268>>1]|0)<48)i=1;else{j=k+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];ca=k+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=392;break z}j=k+288|0;i=c[j>>2]|0;if(!i){i=2;break}c[j>>2]=c[i>>2];ca=k+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=392;break z}while(0);ca=k+276+(i<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=391}while(0);if((ca|0)==391){i=Ec(k,48,0)|0;ca=392}do if((ca|0)==392){if(!i){i=c[ka>>2]|0;ca=395;break}u=i;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[i>>0]=56;b[i+34>>1]=-1;if(!t)j=0;else{c[i+16>>2]=t;j=c[t+4>>2]&2097412;c[i+4>>2]=j}if(m|0){c[i+12>>2]=m;c[i+4>>2]=j|c[m+4>>2]&2097412}Ji(i);j=c[(c[ka>>2]|0)+112>>2]|0;if((j|0)<(c[i+24>>2]|0)){c[ba>>2]=j;hg(ka,24905,ba)}ba=i+4|0;c[ba>>2]=c[ba>>2]|c[ja>>2]&1;b[i+36>>1]=b[oa+36>>1]|0}while(0);do if((ca|0)==395){if(m|0)Qf(i,m);if(!t){i=0;break}Qf(i,t);i=0}while(0);j=Zl(g,i,259)|0;_l(f,g,j);k=c[na>>2]|0;i=k+(h*48|0)|0;if(!p)break;c[k+(o*48|0)+16>>2]=h;$=k+(h*48|0)+8|0;b[k+(o*48|0)+8>>1]=b[$>>1]|0;ba=k+(h*48|0)+14|0;aa=a[ba>>0]|0;c[k+(j*48|0)+16>>2]=h;b[k+(j*48|0)+8>>1]=b[$>>1]|0;a[ba>>0]=aa+2<<24>>24;break}}}Yf(j)}while(0);if((a[A>>0]|0)==44){n=a[oa>>0]|0;A:do switch(n<<24>>24){case -112:{p=c[oa+20>>2]|0;if((((p|0)!=0?(c[p>>2]|0)==2:0)?(da=c[p+24>>2]|0,(a[da>>0]|0)==-111):0)?(c[(c[da+44>>2]|0)+56>>2]|0)!=0:0){j=c[oa+8>>2]|0;ba=a[j>>0]|0;o=ba&255;B:do if(ba<<24>>24){k=(d[17324+o>>0]|0)+-109|0;if(!k){m=30779;n=j;do{n=n+1|0;m=m+1|0;ba=a[n>>0]|0;k=(d[17324+(ba&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ba<<24>>24==0|(k|0)!=0))}if(k){n=o|32;switch((n&255)<<24>>24){case 103:{m=18827;do{j=j+1|0;m=m+1|0;ba=a[j>>0]|0;k=(d[17324+(ba&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ba<<24>>24==0|(k|0)!=0));if(!k){j=1;break B}else{m=0;t=0;k=0;j=0;break A}}case 108:{k=18836;m=j;ca=431;break}case 114:{m=33319;break}default:{m=0;t=0;k=0;j=0;break A}}if((ca|0)==431){while(1){ca=0;m=m+1|0;k=k+1|0;ba=a[m>>0]|0;o=(d[17324+(ba&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(ba<<24>>24==0|(o|0)!=0)break;else ca=431}if(!o){j=2;break}if((n|0)==114)m=33319;else{m=0;t=0;k=0;j=0;break A}}do{j=j+1|0;m=m+1|0;ba=a[j>>0]|0;k=(d[17324+(ba&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ba<<24>>24==0|(k|0)!=0));if(!k)j=3;else{m=0;t=0;k=0;j=0;break A}}else j=0}else switch(((o|32)&255)<<24>>24){case 109:{j=0;break B}case 103:{j=1;break B}case 108:{j=2;break B}case 114:{j=3;break B}default:{m=0;t=0;k=0;j=0;break A}}while(0);m=1;t=a[6268+(j<<3)+4>>0]|0;k=da;j=c[p+4>>2]|0}else{m=0;t=0;k=0;j=0}break}case 51:case -113:case 52:{k=c[pa>>2]|0;m=c[oa+16>>2]|0;if((a[k>>0]|0)==-111)j=(c[(c[k+44>>2]|0)+56>>2]|0)!=0&1;else j=0;if(m)if((a[m>>0]|0)==-111){da=(c[(c[m+44>>2]|0)+56>>2]|0)==0;o=da?m:k;k=da?k:m;j=((da^1)&1)+j|0}else o=m;else o=0;m=j;t=n<<24>>24==51?70:n<<24>>24==52?68:n<<24>>24==-113?69:0;j=o;break}default:{m=0;t=0;k=0;j=0}}while(0);C:while(1){s=k;k=j;while(1){da=m;m=m+-1|0;if((da|0)<=0)break C;j=k;p=fm(ea,j)|0;q=z;r=s;da=fm(ea,r)|0;if((da&p|0)==0&(z&q|0)==0)break;else{da=k;k=s;s=da}}if(!k)o=0;else o=sj(fa,j,0,0)|0;n=c[ka>>2]|0;do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))ca=450;else ca=453;else{if((e[n+268>>1]|0)>=48){j=n+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];ca=n+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=451;break}j=n+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];ca=n+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=451;break}}else i=1;ca=n+276+(i<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=450}while(0);if((ca|0)==450){i=Ec(n,48,0)|0;ca=451}if((ca|0)==451){ca=0;if(i){u=i;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[i>>0]=46;b[i+34>>1]=-1;if(o|0){c[i+16>>2]=o;c[i+4>>2]=c[o+4>>2]&2097412}Ji(i);j=c[(c[ka>>2]|0)+112>>2]|0;if((j|0)<(c[i+24>>2]|0)){c[ga>>2]=j;hg(ka,24905,ga)}if(c[ja>>2]&1){da=i+4|0;c[da>>2]=c[da>>2]|1}}else ca=453}if((ca|0)==453){ca=0;if(!o)i=0;else{Qf(c[ka>>2]|0,o);i=0}}j=Zl(g,i,3)|0;i=c[na>>2]|0;ba=i+(j*48|0)+32|0;c[ba>>2]=p;c[ba+4>>2]=q;c[i+(j*48|0)+20>>2]=c[r+28>>2];c[i+(j*48|0)+28>>2]=b[r+32>>1];b[i+(j*48|0)+12>>1]=64;a[i+(j*48|0)+15>>0]=t;c[i+(j*48|0)+16>>2]=h;b[i+(j*48|0)+8>>1]=b[i+(h*48|0)+8>>1]|0;ba=i+(h*48|0)+14|0;a[ba>>0]=(a[ba>>0]|0)+1<<24>>24;ba=i+(h*48|0)+10|0;b[ba>>1]=b[ba>>1]|8;ba=i+(h*48|0)+40|0;da=c[ba+4>>2]|0;j=i+(j*48|0)+40|0;c[j>>2]=c[ba>>2];c[j+4>>2]=da;i=i+(h*48|0)|0;j=s}if((a[A>>0]|0)==44){j=a[oa>>0]|0;switch(j<<24>>24){case 45:case 53:{m=c[pa>>2]|0;j=a[m>>0]|0;if(j<<24>>24==-106)j=a[m+38>>0]|0;switch(j<<24>>24){case -105:{j=m+20|0;ca=468;break}case 119:{j=c[m+20>>2]|0;ca=468;break}default:{}}do if((ca|0)==468){s=c[c[j>>2]>>2]|0;if((s|0)>1){t=oa+16|0;k=c[t>>2]|0;j=a[k>>0]|0;if(j<<24>>24==-106)j=a[k+38>>0]|0;switch(j<<24>>24){case -105:{j=k+20|0;ca=474;break}case 119:{j=c[k+20>>2]|0;ca=474;break}default:j=1}if((ca|0)==474)j=c[c[j>>2]>>2]|0;if((j|0)==(s|0)){if(c[m+4>>2]&2048|0?c[k+4>>2]&2048|0:0)break;if((s|0)>0){q=ka+36|0;r=oa+36|0;i=0;j=m;while(1){p=Cm(ka,j,i)|0;o=Cm(ka,c[t>>2]|0,i)|0;n=a[oa>>0]|0;m=c[ka>>2]|0;do if(n<<24>>24==44){if(c[q>>2]|0){ca=482;break}j=mk(m,p,o)|0;if(!j)j=0;else ca=503}else ca=482;while(0);D:do if((ca|0)==482){ca=0;E:do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))ca=490;else j=m;else{do if((e[m+268>>1]|0)<48)j=1;else{k=m+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=491;break E}k=m+288|0;j=c[k>>2]|0;if(!j){j=2;break}c[k>>2]=c[j>>2];ca=m+276|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=491;break E}while(0);ca=m+276+(j<<2)|0;c[ca>>2]=(c[ca>>2]|0)+1;ca=490}while(0);if((ca|0)==490){j=Ec(m,48,0)|0;ca=491}do if((ca|0)==491){ca=0;if(!j){j=c[ka>>2]|0;break}u=j;v=u+48|0;do{c[u>>2]=0;u=u+4|0}while((u|0)<(v|0));a[j>>0]=n;b[j+34>>1]=-1;if(!o)k=0;else{c[j+16>>2]=o;k=c[o+4>>2]&2097412;c[j+4>>2]=k}if(p|0){c[j+12>>2]=p;c[j+4>>2]=k|c[p+4>>2]&2097412}Ji(j);ca=503;break D}while(0);if(p|0)Qf(j,p);if(!o){j=0;break}Qf(j,o);j=0}while(0);if((ca|0)==503){ca=0;k=c[(c[ka>>2]|0)+112>>2]|0;if((k|0)<(c[j+24>>2]|0)){c[la>>2]=k;hg(ka,24905,la)}ga=j+4|0;c[ga>>2]=c[ga>>2]|c[ja>>2]&1;b[j+36>>1]=b[r>>1]|0}_l(f,g,Zl(g,j,1)|0);i=i+1|0;if((i|0)==(s|0))break;j=c[pa>>2]|0}i=(a[A>>0]|0)==44}else i=1;j=c[na>>2]|0;b[j+(h*48|0)+10>>1]=6;b[j+(h*48|0)+12>>1]=0;if(i)i=j+(h*48|0)|0;else break r}}}while(0);j=a[oa>>0]|0;break}default:{}}if(((j<<24>>24==49?(c[i+24>>2]|0)==0:0)?(ma=c[pa>>2]|0,(a[ma>>0]|0)==-105):0)?(c[(c[oa+20>>2]|0)+48>>2]|0)==0:0){k=0;i=-105;j=ma;while(1){if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;ca=520;break}case 119:{i=c[j+20>>2]|0;ca=520;break}default:i=1}if((ca|0)==520){ca=0;i=c[c[i>>2]>>2]|0}if((k|0)>=(i|0))break r;ma=Zl(g,oa,2)|0;i=k+1|0;c[(c[na>>2]|0)+(ma*48|0)+24>>2]=i;_l(f,g,ma);j=c[na>>2]|0;c[j+(ma*48|0)+16>>2]=h;b[j+(ma*48|0)+8>>1]=b[j+(h*48|0)+8>>1]|0;j=j+(h*48|0)+14|0;a[j>>0]=(a[j>>0]|0)+1<<24>>24;j=c[pa>>2]|0;k=i;i=a[j>>0]|0}}}}}while(0);h=(c[na>>2]|0)+(h*48|0)+32|0;oa=h;pa=c[oa+4>>2]|ha;c[h>>2]=c[oa>>2]|ia;c[h+4>>2]=pa;l=qa;return}function $l(b,d){b=b|0;d=d|0;if((a[d>>0]|0)!=-112){d=0;return d|0}if(c[d+4>>2]&524288|0){d=0;return d|0}a[b+20>>0]=0;d=2;return d|0}function am(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;t=e+24|0;x=e+4|0;y=e+18|0;z=e+12|0;A=e+20|0;C=e+8|0;D=e+16|0;u=e+28|0;v=e+72|0;w=e+17|0;g=c[t>>2]|0;h=c[x>>2]|0;f=a[y>>0]|0;a:while(1){q=(f&255)+-1|0;s=b[e+72+(q<<1)>>1]|0;q=c[e+28+(q<<2)>>2]|0;r=s<<16>>16;s=s<<16>>16==-2;f=h;while(1){p=f+12|0;if((g|0)<(c[p>>2]|0)){o=(c[f+20>>2]|0)+(g*48|0)|0;while(1){do if((c[o+20>>2]|0)==(q|0)?(c[o+28>>2]|0)==(r|0):0){if(s){i=c[(c[o>>2]|0)+12>>2]|0;h=c[z>>2]|0;b:do if(!i)i=0;else while(1){j=c[i+4>>2]|0;if(!(j&4096))break b;if(!(j&262144))i=i+12|0;else i=(c[i+20>>2]|0)+4|0;i=c[i>>2]|0;if(!i){i=0;break}}while(0);c:do if(!h)h=0;else while(1){j=c[h+4>>2]|0;if(!(j&4096))break c;if(!(j&262144))h=h+12|0;else h=(c[h+20>>2]|0)+4|0;h=c[h>>2]|0;if(!h){h=0;break}}while(0);if(ck(0,i,h,q)|0)break}if((d[y>>0]|0)>=2?c[(c[o>>2]|0)+4>>2]&1|0:0)break;n=o+12|0;h=b[n>>1]|0;if((h&2048)!=0?(B=a[w>>0]|0,(B&255)<11):0){i=c[(c[o>>2]|0)+16>>2]|0;j=c[i+4>>2]|0;if(j&4096)do{if(!(j&262144))i=i+12|0;else i=(c[i+20>>2]|0)+4|0;i=c[i>>2]|0;j=c[i+4>>2]|0}while((j&4096|0)!=0);if((a[i>>0]|0)==-111){m=B&255;d:do if(!(B<<24>>24))j=0;else{k=c[i+28>>2]|0;l=i+32|0;j=0;do{if((c[e+28+(j<<2)>>2]|0)==(k|0)?(b[e+72+(j<<1)>>1]|0)==(b[l>>1]|0):0)break d;j=j+1|0}while((j|0)<(m|0))}while(0);if((j|0)==(m|0)){c[e+28+(m<<2)>>2]=c[i+28>>2];b[e+72+(m<<1)>>1]=b[i+32>>1]|0;a[w>>0]=(a[w>>0]|0)+1<<24>>24;h=b[n>>1]|0}}}i=h&65535;if(i&c[A>>2]|0){if((i&256|0)==0&(c[C>>2]|0)!=0){k=c[c[f>>2]>>2]|0;h=c[o>>2]|0;if(!(gm(h,a[D>>0]|0)|0))break;i=c[h+12>>2]|0;j=c[h+16>>2]|0;do if(!(c[i+4>>2]&256)){if(j|0?c[j+4>>2]&256|0:0){h=Qj(k,j)|0;E=48;break}h=Qj(k,i)|0;if(!h){h=Qj(k,j)|0;E=48}}else{h=Qj(k,i)|0;E=48}while(0);if((E|0)==48){E=0;if(!h)h=c[(c[k>>2]|0)+8>>2]|0}i=c[h>>2]|0;j=c[C>>2]|0;m=a[i>>0]|0;h=(d[17324+(m&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0;if(!(m<<24>>24==0|(h|0)!=0))do{i=i+1|0;j=j+1|0;m=a[i>>0]|0;h=(d[17324+(m&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(m<<24>>24==0|(h|0)!=0));if(h|0)break;h=b[n>>1]|0}if(!(h&130))break a;h=c[(c[o>>2]|0)+16>>2]|0;if((a[h>>0]|0)!=-111)break a;if((c[h+28>>2]|0)!=(c[u>>2]|0))break a;if((b[h+32>>1]|0)!=(b[v>>1]|0))break a}}while(0);g=g+1|0;if((g|0)<(c[p>>2]|0))o=o+48|0;else break}}f=c[f+4>>2]|0;if(!f)break;else g=0}f=a[y>>0]|0;if((f&255)>=(d[w>>0]|0)){f=0;E=63;break}h=c[e>>2]|0;f=f+1<<24>>24;a[y>>0]=f;g=0}if((E|0)==63)return f|0;c[x>>2]=f;c[t>>2]=g+1;E=o;return E|0}function bm(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0;K=l;l=l+16|0;q=K;H=K+4|0;s=c[f>>2]|0;J=c[s>>2]|0;r=c[f+4>>2]|0;F=c[f+12>>2]|0;s=c[s+4>>2]|0;t=d[F+16>>0]|0;B=c[f+8>>2]|0;G=r+20|0;r=r+12|0;o=c[r>>2]|0;if((o|0)>0){p=c[s+8+(t*72|0)+44>>2]|0;m=0;k=0;n=c[G>>2]|0;while(1){if((c[n+20>>2]|0)==(p|0)?(E=n+32|0,(c[E>>2]&i|0)==0?(c[E+4>>2]&j|0)==0:0):0)k=((b[n+12>>1]&-2049)<<16>>16!=0&1)+k|0;m=m+1|0;if((m|0)==(o|0)){p=k;break}else n=n+48|0}}else p=0;if(!B)x=0;else{o=c[B>>2]|0;a:do if((o|0)>0){n=s+8+(t*72|0)+44|0;k=0;do{m=c[B+4+(k*20|0)>>2]|0;if((a[m>>0]|0)!=-111)break a;if((c[m+28>>2]|0)!=(c[n>>2]|0))break a;k=k+1|0}while((k|0)<(o|0))}else k=0;while(0);x=(k|0)==(o|0)?o:0}n=c[J>>2]|0;o=(p*20|0)+72+(x<<3)|0;do if(!n){E=Ft(o|0,0,-1,-1)|0;C=z;if(!(C>>>0>0|(C|0)==0&E>>>0>2147483390)){if(!(c[2]|0)){k=jb[c[52>>2]&255](o)|0;D=36;break}k=jb[c[68>>2]&255](o)|0;if((c[11829]|0)>>>0>>0)c[11829]=o;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){C=c[11822]|0;E=Gt(m|0,n|0,k|0,((k|0)<0)<<31>>31|0)|0;A=z;c[11616]=(0>(A|0)|0==(A|0)&C>>>0>=E>>>0)&1}m=jb[c[52>>2]&255](k)|0;if(m){k=jb[c[64>>2]&255](m)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;E=m}else E=m}else D=37}else D=37}else{if(c[n+264>>2]|0){if(a[n+73>>0]|0){D=37;break}}else{if(!(0<0|(0==0?(e[n+268>>1]|0)>>>0>>0:0))){m=n+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];D=n+276|0;c[D>>2]=(c[D>>2]|0)+1;D=36;break}m=n+288|0;k=c[m>>2]|0;if(!k)k=2;else{c[m>>2]=c[k>>2];D=n+276|0;c[D>>2]=(c[D>>2]|0)+1;D=36;break}}else k=1;E=n+276+(k<<2)|0;c[E>>2]=(c[E>>2]|0)+1}k=Ec(n,o,0)|0;D=36}while(0);if((D|0)==36)if(!k)D=37;else E=k;if((D|0)==37){hg(J,21647,q);J=7;l=K;return J|0}Vt(E|0,0,o|0)|0;v=E+72|0;w=v+(p*12|0)|0;c[E>>2]=p;c[E+8>>2]=x;C=E+4|0;c[C>>2]=v;c[E+12>>2]=w;c[E+16>>2]=w+(x<<3);u=c[r>>2]|0;if((u|0)>0){t=c[s+8+(t*72|0)+44>>2]|0;m=0;k=0;r=c[G>>2]|0;s=0;while(1){if(((c[r+20>>2]|0)==(t|0)?(A=r+32|0,(c[A>>2]&i|0)==0?(c[A+4>>2]&j|0)==0:0):0)?(y=e[r+12>>1]|0,(y&63487|0)!=0):0){c[v+(m*12|0)>>2]=c[r+28>>2];c[v+(m*12|0)+8>>2]=s;q=y&8191;q=(q|0)==1?2:q&65535;n=q&65535;b:do if(q<<16>>16!=64){if(n&384|0){a[v+(m*12|0)+4>>0]=q<<16>>16==256?71:72;break}p=v+(m*12|0)+4|0;a[p>>0]=q;if(n&60){o=c[(c[r>>2]|0)+16>>2]|0;n=a[o>>0]|0;if(n<<24>>24==-106)n=a[o+38>>0]|0;switch(n<<24>>24){case -105:{n=o+20|0;break}case 119:{n=c[o+20>>2]|0;break}default:break b}if((c[c[n>>2]>>2]|0)>1){k=(s|0)<16?(k&65535|1<>0]=8;break b}case 4:{a[p>>0]=32;break b}default:break b}}}}else a[v+(m*12|0)+4>>0]=a[r+15>>0]|0;while(0);m=m+1|0}s=s+1|0;if((s|0)==(u|0)){A=k;break}else r=r+48|0}}else A=0;if((x|0)<=0){if(!E){J=7;l=K;return J|0}}else{k=0;do{c[w+(k<<3)>>2]=b[(c[B+4+(k*20|0)>>2]|0)+32>>1];a[w+(k<<3)+4>>0]=a[B+4+(k*20|0)+12>>0]|0;k=k+1|0}while((k|0)!=(x|0))}b[F+18>>1]=0;c[F+36>>2]=1024;b[F+40>>1]=0;a[F+28>>0]=0;j=c[E>>2]|0;k=c[J>>2]|0;p=F+44|0;c:do if((e[p>>1]|0)<(j|0)){q=j+7&-8;o=q<<2;do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))D=71;else D=85;else{if(!(0<0|(0==0?(e[k+268>>1]|0)>>>0>>0:0))){m=k+292|0;n=c[m>>2]|0;if(n|0){c[m>>2]=c[n>>2];D=k+276|0;c[D>>2]=(c[D>>2]|0)+1;D=72;break}m=k+288|0;n=c[m>>2]|0;if(!n)m=2;else{c[m>>2]=c[n>>2];D=k+276|0;c[D>>2]=(c[D>>2]|0)+1;D=72;break}}else m=1;D=k+276+(m<<2)|0;c[D>>2]=(c[D>>2]|0)+1;D=71}while(0);if((D|0)==71){n=Ec(k,o,0)|0;D=72}do if((D|0)==72){if(!n){k=c[J>>2]|0;if(!k)break;else{D=85;break}}m=F+48|0;Tt(n|0,c[m>>2]|0,e[p>>1]<<2|0)|0;o=c[m>>2]|0;do if((o|0)!=(F+56|0)){if(c[k+464>>2]|0){Lc(k,o);break}B=o;if(B>>>0>=(c[k+296>>2]|0)>>>0?B>>>0<(c[k+300>>2]|0)>>>0:0){B=k+292|0;c[o>>2]=c[B>>2];c[B>>2]=o;break}if(o|0)if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{B=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[m>>2]=n;b[p>>1]=q;break c}while(0);if((D|0)==85){if(c[k+464>>2]|0){Lc(k,E);J=7;l=K;return J|0}J=E;if(J>>>0>=(c[k+296>>2]|0)>>>0?J>>>0<(c[k+300>>2]|0)>>>0:0){J=k+292|0;c[E>>2]=c[J>>2];c[J>>2]=E;J=7;l=K;return J|0}}if(!(c[2]|0)){pb[c[56>>2]&255](E);J=7;l=K;return J|0}else{J=jb[c[64>>2]&255](E)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](E);J=7;l=K;return J|0}}while(0);m=zm(f,g,h,-1,-1,0,E,A,H)|0;if(!m){i=F;w=~g;x=~h;y=c[i>>2]&w;i=c[i+4>>2]&x;if(!((y|0)==0&(i|0)==0)){if(c[H>>2]|0){m=zm(f,g,h,-1,-1,1,E,A,H)|0;o=F;k=c[o>>2]&w;o=c[o+4>>2]&x;n=(k|0)==0&(o|0)==0&1;if(!m){v=k;D=97}else k=n}else{n=0;v=0;o=0;D=97}d:do if((D|0)==97)if((j|0)>0){k=n;p=0;m=0;while(1){r=c[G>>2]|0;s=c[C>>2]|0;while(1){q=0;u=-1;t=-1;do{D=r+((c[s+(q*12|0)+8>>2]|0)*48|0)+32|0;L=c[D>>2]&w;D=c[D+4>>2]&x;B=(D>>>0>m>>>0|(D|0)==(m|0)&L>>>0>p>>>0)&(D>>>0>>0|(D|0)==(u|0)&L>>>0>>0);t=B?L:t;u=B?D:u;q=q+1|0}while((q|0)!=(j|0));if((t|0)==-1&(u|0)==-1){m=0;break d}if((t|0)==(y|0)&(u|0)==(i|0)|(t|0)==(v|0)&(u|0)==(o|0)){m=u;p=t}else break}m=zm(f,g,h,t|g,u|h,0,E,A,H)|0;L=F;if((c[L>>2]|0)==(g|0)?(c[L+4>>2]|0)==(h|0):0){k=(c[H>>2]|0)==0?1:k;n=1}if(!m){p=t;m=u}else break}}else{m=0;k=n}while(0);if(!(n|m)){m=zm(f,g,h,g,h,0,E,A,H)|0;k=(c[H>>2]|0)==0?1:k}if(!(k|m))m=zm(f,g,h,g,h,1,E,A,H)|0}else m=0}do if(c[E+28>>2]|0?(I=c[E+24>>2]|0,I|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](I);break}else{L=jb[c[64>>2]&255](I)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](I);break}while(0);k=c[J>>2]|0;if(k|0){if(c[k+464>>2]|0){Lc(k,E);L=m;l=K;return L|0}L=E;if(L>>>0>=(c[k+296>>2]|0)>>>0?L>>>0<(c[k+300>>2]|0)>>>0:0){L=k+292|0;c[E>>2]=c[L>>2];c[L>>2]=E;L=m;l=K;return L|0}}if(!(c[2]|0)){pb[c[56>>2]&255](E);L=m;l=K;return L|0}else{L=jb[c[64>>2]&255](E)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](E);L=m;l=K;return L|0}return 0}function cm(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0;la=l;l=l+112|0;ea=la+64|0;ia=la+56|0;k=la;m=la+96|0;n=la+92|0;b[n>>1]=-1;ja=c[f+12>>2]|0;aa=c[f>>2]|0;P=c[aa+4>>2]|0;Q=d[ja+16>>0]|0;ba=P+8+(Q*72|0)|0;O=P+8+(Q*72|0)+16|0;R=c[O>>2]|0;ca=c[f+4>>2]|0;da=P+8+(Q*72|0)+68|0;i=c[da>>2]|0;p=(i|0)==0;do if(p){if(c[R+36>>2]&32|0){k=c[R+8>>2]|0;break}i=k;j=i+56|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));b[k+50>>1]=1;b[k+52>>1]=1;c[k+4>>2]=n;c[k+8>>2]=m;a[k+54>>0]=5;c[k+12>>2]=R;b[k+48>>1]=b[R+46>>1]|0;b[m>>1]=b[R+44>>1]|0;b[m+2>>1]=0;if(!(a[P+8+(Q*72|0)+37>>0]&1))c[k+20>>2]=c[(c[O>>2]|0)+8>>2]}else k=i;while(0);n=b[R+44>>1]|0;if(n<<16>>16<11)j=0;else{i=n<<16>>16;j=((i|0)<0)<<31>>31;if((n&65535)>255){m=40;do{m=(m&65535)+40|0;$=i;i=Qt(i|0,j|0,4)|0;_=j;j=z}while(_>>>0>0|(_|0)==0&$>>>0>4095);m=m&65535}else m=40;if(j>>>0>0|(j|0)==0&i>>>0>15){while(1){m=(m&65535)+10&65535;$=i;i=Qt(i|0,j|0,1)|0;if(!(j>>>0>0|(j|0)==0&$>>>0>31))break;else j=z}j=m}else j=m;j=(j&65535)+65493+(e[14834+((i&7)<<1)>>1]|0)&65535}$=f+16|0;if((((((c[$>>2]|0)==0?(b[aa+44>>1]&32)==0:0)?!((c[(c[c[aa>>2]>>2]|0)+28>>2]&32768|0)==0|p^1):0)?(o=a[P+8+(Q*72|0)+37>>0]|0,(o&1)==0):0)?(M=R+36|0,(o&40)==0&(c[M>>2]&32|0)==0):0)?(J=c[ca+20>>2]|0,_=c[ca+12>>2]|0,N=J+(_*48|0)|0,(_|0)>0):0){B=ja+8|0;C=P+8+(Q*72|0)+44|0;D=P+8+(Q*72|0)+36|0;E=ja+24|0;F=ja+42|0;G=ja+32|0;H=ja+40|0;I=ja+48|0;w=(j&65535)+(n&65535)|0;t=w+4&65535;u=ja+18|0;v=R+12|0;w=w+28&65535;x=ja+22|0;p=j<<16>>16;i=(p+49|0)<43;s=33193+(43-p)|0;y=ja+20|0;A=ja+36|0;q=j<<16>>16>74;r=33193+(p+-43)|0;if(j<<16>>16<43){p=i|(p+31|0)<43;o=i?43:44;n=J;do{m=n+32|0;j=c[m>>2]|0;m=c[m+4>>2]|0;_=B;do if((((c[_>>2]&j|0)==0?(c[_+4>>2]&m|0)==0:0)?(c[n+20>>2]|0)==(c[C>>2]|0):0)?(L=e[n+12>>1]|0,(L&130|0)!=0):0){if(a[D>>0]&8?!((L&128|0)==0?1:(c[(c[n>>2]|0)+4>>2]&1|0)!=0):0){i=0;break}i=c[n+28>>2]|0;if((i|0)>=0?(gm(c[n>>2]|0,a[(c[(c[O>>2]|0)+4>>2]|0)+(i<<4)+13>>0]|0)|0)!=0:0){b[E>>1]=1;b[F>>1]=0;c[G>>2]=0;b[H>>1]=1;c[c[I>>2]>>2]=n;b[u>>1]=t;do if(!(c[v>>2]|0)){if(c[M>>2]&2|0){i=t;break}b[u>>1]=w;i=w}else i=t;while(0);if(i<<16>>16<0)b[u>>1]=0;b[x>>1]=43;if(p)i=o;else i=(d[s>>0]|0)+43&65535;b[y>>1]=i;c[A>>2]=16384;i=ja;c[i>>2]=j|g;c[i+4>>2]=m|h;i=tm(c[f>>2]|0,c[$>>2]|0,ja)|0}else i=0}else i=0;while(0);n=n+48|0}while(n>>>0>>0&(i|0)==0)}else{o=j<<16>>16>92?j:p+1&65535;n=J;do{m=n+32|0;j=c[m>>2]|0;m=c[m+4>>2]|0;_=B;do if((((c[_>>2]&j|0)==0?(c[_+4>>2]&m|0)==0:0)?(c[n+20>>2]|0)==(c[C>>2]|0):0)?(K=e[n+12>>1]|0,(K&130|0)!=0):0){if(a[D>>0]&8?!((K&128|0)==0?1:(c[(c[n>>2]|0)+4>>2]&1|0)!=0):0){i=0;break}i=c[n+28>>2]|0;if((i|0)>=0?(gm(c[n>>2]|0,a[(c[(c[O>>2]|0)+4>>2]|0)+(i<<4)+13>>0]|0)|0)!=0:0){b[E>>1]=1;b[F>>1]=0;c[G>>2]=0;b[H>>1]=1;c[c[I>>2]>>2]=n;b[u>>1]=t;do if(!(c[v>>2]|0)){if(c[M>>2]&2|0){i=t;break}b[u>>1]=w;i=w}else i=t;while(0);if(i<<16>>16<0)b[u>>1]=0;b[x>>1]=43;if(q)i=o;else i=(d[r>>0]|0)+p&65535;b[y>>1]=i;c[A>>2]=16384;i=ja;c[i>>2]=j|g;c[i+4>>2]=m|h;i=tm(c[f>>2]|0,c[$>>2]|0,ja)|0}else i=0}else i=0;while(0);n=n+48|0}while(n>>>0>>0&(i|0)==0)}}else i=0;_=ja+36|0;if(!((i|0)==0&(k|0)!=0)){ka=i;l=la;return ka|0}K=ja+24|0;L=ja+26|0;M=ja+28|0;N=ja+42|0;O=ja+40|0;S=ja+17|0;T=ja+18|0;U=ja+22|0;V=ja+32|0;W=P+8+(Q*72|0)+44|0;X=ja+20|0;Y=f+20|0;Z=R+36|0;J=P+8+(Q*72|0)+56|0;C=R+46|0;D=aa+92|0;E=aa+100|0;F=ia+4|0;G=ea+4|0;H=ea+24|0;B=ea+20|0;I=aa+44|0;A=1;a:while(1){x=k+36|0;i=c[x>>2]|0;if((i|0)!=0?(um(c[W>>2]|0,ca,i)|0)==0:0)i=0;else{y=b[c[k+8>>2]>>1]|0;b[K>>1]=0;b[L>>1]=0;b[M>>1]=0;b[N>>1]=0;b[O>>1]=0;a[S>>0]=0;b[T>>1]=0;s=ja;c[s>>2]=g;c[s+4>>2]=h;b[U>>1]=y;c[V>>2]=k;s=c[W>>2]|0;w=k+55|0;b:do if(((a[w>>0]&4)==0?(fa=c[(c[f>>2]|0)+8>>2]|0,(fa|0)!=0):0)?(ga=c[fa>>2]|0,(ga|0)>0):0){t=k+50|0;u=k+4|0;v=k+40|0;r=0;i=ga;while(1){j=c[fa+4+(r*20|0)>>2]|0;c:do if(!j)j=0;else while(1){m=c[j+4>>2]|0;if(!(m&4096))break c;if(!(m&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){j=0;break}}while(0);if((a[j>>0]|0)==-111?(c[j+28>>2]|0)==(s|0):0){n=b[j+32>>1]|0;if(n<<16>>16<0){q=1;break b}j=b[t>>1]|0;if(j<<16>>16){o=c[u>>2]|0;m=j&65535;j=0;do{if(n<<16>>16==(b[o+(j<<1)>>1]|0)){q=1;break b}j=j+1|0}while((j|0)<(m|0))}}else ka=76;d:do if((ka|0)==76){ka=0;q=c[v>>2]|0;if((q|0)!=0?(ha=b[t>>1]|0,ha<<16>>16!=0):0){if(!j){o=c[u>>2]|0;p=ha&65535;n=0;while(1){e:do if((b[o+(n<<1)>>1]|0)==-2){j=c[q+4+(n*20|0)>>2]|0;if(!j){q=1;break b}while(1){m=c[j+4>>2]|0;if(!(m&4096))break e;if(!(m&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){q=1;break b}}}while(0);n=n+1|0;if((n|0)>=(p|0))break d}}else{o=0;i=ha}do{if((b[(c[u>>2]|0)+(o<<1)>>1]|0)==-2){i=c[q+4+(o*20|0)>>2]|0;m=j;while(1){n=c[m+4>>2]|0;if(!(n&4096))break;if(!(n&262144))m=m+12|0;else m=(c[m+20>>2]|0)+4|0;m=c[m>>2]|0;if(!m){m=0;break}}f:do if(!i)i=0;else while(1){n=c[i+4>>2]|0;if(!(n&4096))break f;if(!(n&262144))i=i+12|0;else i=(c[i+20>>2]|0)+4|0;i=c[i>>2]|0;if(!i){i=0;break}}while(0);if(!(ck(0,m,i,s)|0)){q=1;break b}i=b[t>>1]|0}o=o+1|0}while((o|0)<(i&65535|0));i=c[fa>>2]|0}}while(0);r=r+1|0;if((r|0)>=(i|0)){q=0;break}}}else q=0;while(0);do if((c[k+44>>2]|0)<1){c[_>>2]=256;a[S>>0]=q|0?A&255:0;b[X>>1]=(y&65535)+16;vm(ca,ja,y);i=tm(c[f>>2]|0,c[$>>2]|0,ja)|0;b[U>>1]=y;if(i|0){ka=147;break a}}else{if(!(a[w>>0]&32)){p=J;o=c[p>>2]|0;p=c[p+4>>2]|0;i=b[k+52>>1]|0;if(!(i<<16>>16)){j=0;i=0}else{n=c[k+4>>2]|0;m=i&65535;j=0;i=0;do{R=m;m=m+-1|0;P=b[n+(m<<1)>>1]|0;Q=(P&65535)<63;P=Rt(1,0,P<<16>>16|0)|0;j=(Q?P:0)|j;i=(Q?z:0)|i}while((R|0)>1)}j=o&~j;n=p&~i;i=(j|0)==0&(n|0)==0?576:512}else{i=576;j=0;n=0}c[_>>2]=i;i=(q|0)!=0;if((!i?(c[Z>>2]&32|0)==0:0)?(c[x>>2]|0)==0:0){if(!((j|0)==0&(n|0)==0))break;if(a[w>>0]&4)break;if((b[k+48>>1]|0)>=(b[C>>1]|0))break;if(!((b[I>>1]&4)==0&(c[6]|0)!=0))break;if(b[(c[c[aa>>2]>>2]|0)+68>>1]&32)break}a[S>>0]=i?A&255:0;i=y<<16>>16;m=i+1+(((b[k+48>>1]|0)*15|0)/(b[C>>1]|0)|0)&65535;b[X>>1]=m;if(!((j|0)==0&(n|0)==0)){i=i+16&65535;o=c[W>>2]|0;if((c[D>>2]|0)>0){n=0;do{m=c[E>>2]|0;j=c[m+(n*48|0)>>2]|0;c[ea>>2]=0;c[ea+4>>2]=0;c[ea+8>>2]=0;c[ea+12>>2]=0;c[ea+16>>2]=0;c[ea+20>>2]=0;c[F>>2]=o;c[ia>>2]=k;c[G>>2]=200;c[H>>2]=ia;if(j){$j(ea,j)|0;if(a[B>>0]|0)break}j=b[m+(n*48|0)+8>>1]|0;do if(j<<16>>16<1)i=(j&65535)+(i&65535)&65535;else{i=i+-1<<16>>16;if(!(b[m+(n*48|0)+12>>1]&130))break;i=(i&65535)+65517&65535}while(0);n=n+1|0}while((n|0)<(c[D>>2]|0));m=b[X>>1]|0}j=m<<16>>16;n=i<<16>>16;do if(m<<16>>16>16){if((n|0)<=(j+49|0))if((n|0)>(j+31|0)){i=n+1&65535;break}else{i=(d[33193+(n-j)>>0]|0)+n&65535;break}}else if((j|0)<=(n+49|0))if((j|0)>(n+31|0)){i=j+1&65535;break}else{i=(d[33193+(j-n)>>0]|0)+j&65535;break}else i=m;while(0);b[X>>1]=i}vm(ca,ja,y);i=tm(c[f>>2]|0,c[$>>2]|0,ja)|0;b[U>>1]=y;if(i|0){ka=147;break a}}while(0);c[Y>>2]=0;i=wm(f,ba,k,0)|0;if((c[Y>>2]|0)==1)c[Z>>2]=c[Z>>2]|256}if(c[da>>2]|0){ka=147;break}k=c[k+20>>2]|0;if(!((i|0)==0&(k|0)!=0)){ka=147;break}else A=A+1|0}if((ka|0)==147){l=la;return i|0}return 0}function dm(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0;ka=l;l=l+608|0;da=ka+168|0;fa=ka+576|0;ja=ka+112|0;ga=ka+56|0;ha=ka;k=c[f>>2]|0;aa=c[f+4>>2]|0;p=c[aa+20>>2]|0;o=c[aa+12>>2]|0;ba=p+(o*48|0)|0;ca=c[f+12>>2]|0;m=ja;n=m+56|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));k=c[k+4>>2]|0;m=d[ca+16>>0]|0;$=c[k+8+(m*72|0)+44>>2]|0;if((o|0)<=0){ja=0;l=ka;return ja|0}L=ca+8|0;M=fa+8|0;N=fa+16|0;O=ca+40|0;P=ca+48|0;Q=ca+36|0;R=ca+18|0;S=ca+17|0;T=ca+24|0;U=ca+20|0;V=ca+22|0;K=f+16|0;W=da+4|0;X=da+8|0;Y=da+12|0;Z=da+20|0;_=fa+4|0;F=k+8+(m*72|0)+16|0;G=ha+8|0;H=ja+8|0;I=ja+16|0;J=ga+8|0;k=0;a:while(1){b:do if((b[p+12>>1]&512)!=0?(ea=c[p+28>>2]|0,E=ea+408|0,D=L,!((c[D>>2]&c[E>>2]|0)==0?(c[D+4>>2]&c[E+4>>2]|0)==0:0)):0){m=ea+20|0;E=(c[m>>2]|0)+((c[ea+12>>2]|0)*48|0)|0;c[fa>>2]=c[f>>2];c[fa+4>>2]=c[f+4>>2];c[fa+8>>2]=c[f+8>>2];c[fa+12>>2]=c[f+12>>2];c[fa+16>>2]=c[f+16>>2];c[fa+20>>2]=c[f+20>>2];c[M>>2]=0;c[N>>2]=ga;m=c[m>>2]|0;c:do if(m>>>0>>0){o=1;D=m;m=0;do{if(!(b[D+12>>1]&1024)){if((c[D+20>>2]|0)==($|0)){c[da>>2]=c[aa>>2];c[W>>2]=aa;a[X>>0]=44;c[Y>>2]=1;c[Z>>2]=D;m=da;ia=10}}else{m=c[D+28>>2]|0;ia=10}do if((ia|0)==10){ia=0;c[_>>2]=m;b[ga>>1]=0;if(!(c[(c[F>>2]|0)+56>>2]|0))m=cm(fa,g,h)|0;else m=bm(fa,g,h,i,j)|0;if(!m)m=dm(fa,g,h,i,j)|0;n=b[ga>>1]|0;if(!(n<<16>>16)){k=0;break c}if(o|0){Tt(H|0,J|0,(n&65535)<<4|0)|0;o=0;k=n;break}b[ha>>1]=k;C=k&65535;Tt(G|0,H|0,C<<4|0)|0;if(!(k<<16>>16))k=0;else{y=n&65535;x=0;k=0;do{z=ha+8+(x<<4)|0;A=ha+8+(x<<4)+8|0;B=ha+8+(x<<4)+10|0;w=0;do{v=z;n=ga+8+(w<<4)|0;u=c[n>>2]|c[v>>2];v=c[n+4>>2]|c[v+4>>2];n=b[A>>1]|0;o=b[ga+8+(w<<4)+8>>1]|0;q=n<<16>>16;r=o<<16>>16;do if(n<<16>>16>16){if((r|0)>(q+49|0))break;if((r|0)>(q+31|0)){o=r+1&65535;break}else{o=(d[33193+(r-q)>>0]|0)+r&65535;break}}else{if((q|0)>(r+49|0)){o=n;break}if((q|0)>(r+31|0)){o=q+1&65535;break}else{o=(d[33193+(q-r)>>0]|0)+q&65535;break}}while(0);n=b[B>>1]|0;q=b[ga+8+(w<<4)+10>>1]|0;r=n<<16>>16;s=q<<16>>16;do if(n<<16>>16>16){if((s|0)>(r+49|0)){t=q;break}if((s|0)>(r+31|0)){t=s+1&65535;break}else{t=(d[33193+(s-r)>>0]|0)+s&65535;break}}else{if((r|0)>(s+49|0)){t=n;break}if((r|0)>(s+31|0)){t=r+1&65535;break}else{t=(d[33193+(r-s)>>0]|0)+r&65535;break}}while(0);d:do if(k<<16>>16){q=k;n=H;while(1){r=b[n+8>>1]|0;if(r<<16>>16>=o<<16>>16?(s=n,(c[s>>2]&u|0)==(u|0)?(c[s+4>>2]&v|0)==(v|0):0):0){ia=50;break d}if(r<<16>>16<=o<<16>>16?(s=n,r=c[s>>2]|0,s=c[s+4>>2]|0,(r&u|0)==(r|0)&(s&v|0)==(s|0)):0)break d;q=q+-1<<16>>16;if(!(q<<16>>16))break;else n=n+16|0}if((k&65535)<3){ia=47;break}q=k&65535;n=H;r=b[I>>1]|0;s=1;do{n=r<<16>>16>(b[ja+8+(s<<4)+8>>1]|0)?ja+8+(s<<4)|0:n;s=s+1|0;r=b[n+8>>1]|0}while((s|0)!=(q|0));if(r<<16>>16>o<<16>>16)ia=50}else ia=47;while(0);if((ia|0)==47){n=k&65535;b[ja+8+(n<<4)+10>>1]=t;n=ja+8+(n<<4)|0;k=k+1<<16>>16;ia=50}do if((ia|0)==50){ia=0;s=n;c[s>>2]=u;c[s+4>>2]=v;b[n+8>>1]=o;n=n+10|0;if((b[n>>1]|0)<=t<<16>>16)break;b[n>>1]=t}while(0);w=w+1|0}while((w|0)!=(y|0));x=x+1|0}while((x|0)<(C|0))}o=0}while(0);D=D+48|0}while(D>>>0>>0)}else m=0;while(0);b[O>>1]=1;c[c[P>>2]>>2]=p;c[Q>>2]=8192;b[R>>1]=0;a[S>>0]=0;c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;if(m|0)break a;o=k&65535;n=0;while(1){if((n|0)>=(o|0))break b;b[U>>1]=(e[ja+8+(n<<4)+8>>1]|0)+1;b[V>>1]=b[ja+8+(n<<4)+10>>1]|0;D=ja+8+(n<<4)|0;E=c[D+4>>2]|0;m=ca;c[m>>2]=c[D>>2];c[m+4>>2]=E;m=tm(c[f>>2]|0,c[K>>2]|0,ca)|0;if(!m)n=n+1|0;else break a}}while(0);p=p+48|0;if(p>>>0>=ba>>>0){m=0;break}}b[ja>>1]=k;ja=m;l=ka;return ja|0}function em(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0;oa=l;l=l+16|0;da=oa+8|0;ka=oa;ba=c[f>>2]|0;la=c[ba>>2]|0;ma=a[f+46>>0]|0;na=ma&255;Y=(ma&255)<2?1:ma<<24>>24==2?5:10;ja=f+8|0;h=c[ja>>2]|0;fa=g<<16>>16==0;if(fa|(h|0)==0)X=0;else X=c[h>>2]|0;m=Y<<1;n=X<<1;j=n+(O(m,(na<<2)+32|0)|0)|0;k=((j|0)<0)<<31>>31;do if(c[la+264>>2]|0)if(!(a[la+73>>0]|0))V=11;else{l=oa;return}else{if(!(0>>0|(0==(k|0)?(e[la+268>>1]|0)>>>0>>0:0))){h=la+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];ea=la+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=i;break}h=la+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];ea=la+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=i;break}}else h=1;V=la+276+(h<<2)|0;c[V>>2]=(c[V>>2]|0)+1;V=11}while(0);if((V|0)==11)ea=Ec(la,j,k)|0;if(!ea){l=oa;return}o=ea+(Y<<5)|0;c[o>>2]=0;c[o+4>>2]=0;c[o+8>>2]=0;c[o+12>>2]=0;c[o+16>>2]=0;c[o+20>>2]=0;c[o+24>>2]=0;c[o+28>>2]=0;h=m;j=o+(Y<<5)|0;i=ea;while(1){c[i+24>>2]=j;j=j+(na<<2)|0;if((h|0)<=1)break;else{h=h+-1|0;i=i+32|0}}h=(X|0)!=0;if(h)Vt(j|0,0,n|0)|0;else j=0;ca=c[ba+132>>2]|0;b[ea+(Y<<5)+16>>1]=ca>>>0<48?ca:48;if(h)a[ea+(Y<<5)+22>>0]=ma<<24>>24?-1:X&255;ca=ma<<24>>24==0;a:do if(!ca){Q=f+60|0;R=f+44|0;S=((g&65535)<<16)+1048576|0;T=f+20|0;U=Y>>>0>1;P=0;k=0;i=0;h=0;W=ea;m=1;while(1){if((m|0)>0){K=P&65535;L=P<<2;M=W+18|0;N=W+16|0;p=0;J=0;I=o;while(1){n=c[Q>>2]|0;if(!n)n=p;else{D=I+22|0;E=I+16|0;F=I+20|0;G=I+24|0;H=I+8|0;C=p;while(1){w=a[D>>0]|0;B=ka;c[B>>2]=0;c[B+4>>2]=0;B=n;v=I;u=c[v>>2]|0;v=c[v+4>>2]|0;b:do if((((c[B>>2]&~u|0)==0?(c[B+4>>2]&~v|0)==0:0)?(Z=n+8|0,$=Z,_=c[$>>2]|0,$=c[$+4>>2]|0,(_&u|0)==0&($&v|0)==0):0)?(aa=b[E>>1]|0,!(aa<<16>>16<10?(c[n+36>>2]&16384|0)!=0:0)):0){t=aa&65535;p=b[n+18>>1]|0;s=(e[n+20>>1]|0)+t|0;q=s&65535;r=p<<16>>16;s=s<<16>>16;do if(p<<16>>16>16){if((s|0)>(r+49|0)){p=q;break}if((s|0)>(r+31|0)){p=s+1&65535;break}else{p=(d[33193+(s-r)>>0]|0)+s&65535;break}}else{if((r|0)>(s+49|0))break;if((r|0)>(s+31|0)){p=r+1&65535;break}else{p=(d[33193+(r-s)>>0]|0)+r&65535;break}}while(0);q=b[F>>1]|0;r=p<<16>>16;s=q<<16>>16;do if(p<<16>>16>16){if((s|0)>(r+49|0)){p=q;break}if((s|0)>(r+31|0)){p=s+1&65535;break}else{p=(d[33193+(s-r)>>0]|0)+s&65535;break}}else{if((r|0)>(s+49|0))break;if((r|0)>(s+31|0)){p=r+1&65535;break}else{p=(d[33193+(r-s)>>0]|0)+r&65535;break}}while(0);A=(e[n+22>>1]|0)+t|0;B=A&65535;y=_|u;x=$|v;if(w<<24>>24<0)w=sm(f,c[ja>>2]|0,I,b[R>>1]|0,K,n,ka)|0;else{t=H;u=c[t+4>>2]|0;v=ka;c[v>>2]=c[t>>2];c[v+4>>2]=u}q=w<<24>>24;do if(w<<24>>24>-1&(X|0)>(q|0)){v=j+(q<<1)|0;r=b[v>>1]|0;if(!(r<<16>>16)){q=((X-q|0)*100|0)/(X|0)|0;r=((q|0)<0)<<31>>31;do if(q>>>0<8){if(q>>>0<2){u=-4325376;break}else s=40;do{s=(s&65535)+65526|0;q=Rt(q|0,r|0,1)|0;r=z}while(r>>>0<0|(r|0)==0&q>>>0<8);s=s&65535;V=61}else{if(q>>>0>255){s=40;do{s=(s&65535)+40|0;V=q;q=Qt(q|0,r|0,4)|0;u=r;r=z}while(u>>>0>0|(u|0)==0&V>>>0>4095);s=s&65535}else s=40;if(!(r>>>0>0|(r|0)==0&q>>>0>15)){V=61;break}while(1){s=(s&65535)+10&65535;V=q;q=Qt(q|0,r|0,1)|0;if(!(r>>>0>0|(r|0)==0&V>>>0>31))break;else r=z}V=61}while(0);if((V|0)==61){V=0;u=((s&65535)+65526+(e[14834+((q&7)<<1)>>1]|0)<<16)+-4325376|0}if(!(b[R>>1]&16384))r=g;else{r=b[T>>1]|0;r=r<<16>>16>16?r:g}if(r<<16>>16<11)q=0;else{q=r<<16>>16;t=((q|0)<0)<<31>>31;if((r&65535)>255){s=40;r=t;do{s=(s&65535)+40|0;t=q;q=Qt(q|0,r|0,4)|0;pa=r;r=z}while(pa>>>0>0|(pa|0)==0&t>>>0>4095);s=s&65535}else{s=40;r=t}if(r>>>0>0|(r|0)==0&q>>>0>15){while(1){s=(s&65535)+10&65535;pa=q;q=Qt(q|0,r|0,1)|0;if(!(r>>>0>0|(r|0)==0&pa>>>0>31))break;else r=z}r=s}else r=s;q=(r&65535)+65493+(e[14834+((q&7)<<1)>>1]|0)&65535}r=q+((S+u|0)>>>16)&65535;b[v>>1]=r}q=p<<16>>16;s=r<<16>>16;if(p<<16>>16>16){if((s|0)>(q+49|0)){u=p;s=r;break}if((s|0)>(q+31|0)){u=p;s=s+1&65535;break}else{u=p;s=(d[33193+(s-q)>>0]|0)+s&65535;break}}else{if((q|0)>(s+49|0)){u=p;s=p;break}if((q|0)>(s+31|0)){u=p;s=q+1&65535;break}else{u=p;s=(d[33193+(q-s)>>0]|0)+q&65535;break}}}else{u=(p&65535)+65534&65535;s=p}while(0);c:do if((C|0)>0){p=0;q=W;while(1){pa=q;if(((c[pa>>2]|0)==(y|0)?(c[pa+4>>2]|0)==(x|0):0)?(a[q+22>>0]^w)<<24>>24>-1:0)break;p=p+1|0;if((p|0)>=(C|0)){V=87;break c}else q=q+32|0}p=b[q+18>>1]|0;if(p<<16>>16>16){p=C;break b}if(p<<16>>16!=s<<16>>16){t=C;break}r=b[q+16>>1]|0;p=A<<16>>16;if((r|0)<(p|0)){p=C;break b}if((r|0)!=(p|0)){t=C;break}if((b[q+20>>1]|0)>u<<16>>16)t=C;else{p=C;break b}}else V=87;while(0);if((V|0)==87){V=0;p=(C|0)<(Y|0);if(!p){if(s<<16>>16>i<<16>>16){p=C;break}if(!(s<<16>>16!=i<<16>>16?1:u<<16>>16>16)){p=C;break}}q=W+((p?C:k)<<5)|0;t=(p&1)+C|0}pa=I;y=Z;C=c[y+4>>2]|c[pa+4>>2];A=q;c[A>>2]=c[y>>2]|c[pa>>2];c[A+4>>2]=C;A=ka;C=c[A+4>>2]|0;pa=q+8|0;c[pa>>2]=c[A>>2];c[pa+4>>2]=C;b[q+16>>1]=B;b[q+18>>1]=s;b[q+20>>1]=u;a[q+22>>0]=w;pa=q+24|0;Tt(c[pa>>2]|0,c[G>>2]|0,L|0)|0;c[(c[pa>>2]|0)+(P<<2)>>2]=n;if((t|0)<(Y|0)){p=t;break}i=b[M>>1]|0;h=b[N>>1]|0;if(U){r=1;s=W;k=0}else{p=t;k=0;break}do{q=b[s+50>>1]|0;do if(q<<16>>16<=i<<16>>16){if(q<<16>>16!=i<<16>>16)break;p=b[s+52>>1]|0;if(p<<16>>16>h<<16>>16){h=p;V=102}}else{h=b[s+52>>1]|0;V=102}while(0);s=s+32|0;if((V|0)==102){V=0;k=r;i=q}r=r+1|0}while((r|0)<(Y|0));p=t}else p=C;while(0);n=c[n+52>>2]|0;if(!n){n=p;break}else C=p}}J=J+1|0;if((J|0)==(m|0)){m=n;break}else{p=n;I=I+32|0}}}else m=0;P=P+1|0;if((P|0)==(na|0))break;else{pa=o;o=W;W=pa}}if(m|0){if((m|0)>1){h=W;i=1;do{h=(b[h+18>>1]|0)>(b[W+(i<<5)+18>>1]|0)?W+(i<<5)|0:h;i=i+1|0}while((i|0)!=(m|0))}else h=W;if(ca){o=h;break}k=f+4|0;j=c[h+24>>2]|0;i=0;while(1){pa=c[j+(i<<2)>>2]|0;c[f+752+(i*80|0)+64>>2]=pa;pa=a[pa+16>>0]|0;a[f+752+(i*80|0)+44>>0]=pa;c[f+752+(i*80|0)+4>>2]=c[(c[k>>2]|0)+8+((pa&255)*72|0)+44>>2];i=i+1|0;if((i|0)==(na|0)){o=h;break a}}}hg(ba,33225,da);if(la|0){if(c[la+464>>2]|0){Lc(la,ea);l=oa;return}pa=ea;if(pa>>>0>=(c[la+296>>2]|0)>>>0?pa>>>0<(c[la+300>>2]|0)>>>0:0){pa=la+292|0;c[ea>>2]=c[pa>>2];c[pa>>2]=ea;l=oa;return}}if(!(c[2]|0)){pb[c[56>>2]&255](ea);l=oa;return}else{pa=jb[c[64>>2]&255](ea)|0;c[11822]=(c[11822]|0)-pa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](ea);l=oa;return}}while(0);n=f+44|0;if(((b[n>>1]&384)==256?(ga=f+51|0,!(fa|(a[ga>>0]|0)!=0)):0)?(pa=f+12|0,fa=na+-1|0,fa=(sm(f,c[pa>>2]|0,o,128,fa&65535,c[(c[o+24>>2]|0)+(fa<<2)>>2]|0,ka)|0)<<24>>24,(fa|0)==(c[c[pa>>2]>>2]|0)):0)a[ga>>0]=2;h=c[ja>>2]|0;if(h|0){i=b[n>>1]|0;j=a[o+22>>0]|0;if(!(i&128)){k=f+47|0;a[k>>0]=j;fa=o+8|0;ga=c[fa+4>>2]|0;m=f+64|0;pa=m;c[pa>>2]=c[fa>>2];c[pa+4>>2]=ga;if((j<<24>>24<1?(a[k>>0]=0,!ca):0)?(ha=na+-1|0,ia=c[(c[o+24>>2]|0)+(ha<<2)>>2]|0,pa=c[ia+36>>2]|0,!((pa&4096|0)!=0|(pa&260|0)==260)):0){pa=ka;c[pa>>2]=0;c[pa+4>>2]=0;pa=(sm(f,h,o,2048,ha&65535,ia,ka)|0)<<24>>24;h=c[ja>>2]|0;if((pa|0)==(c[h>>2]|0)){a[f+52>>0]=1;ha=ka;ia=c[ha+4>>2]|0;pa=m;c[pa>>2]=c[ha>>2];c[pa+4>>2]=ia}i=b[n>>1]|0}}else if((j<<24>>24|0)==(c[h>>2]|0))a[f+51>>0]=2;if((i&512?(ma<<24>>24?(a[f+47>>0]|0)==(c[h>>2]|0):0):0)?(pa=ka,c[pa>>2]=0,c[pa+4>>2]=0,pa=na+-1|0,pa=(sm(f,h,o,0,pa&65535,c[(c[o+24>>2]|0)+(pa<<2)>>2]|0,ka)|0)<<24>>24,(pa|0)==(c[c[ja>>2]>>2]|0)):0){a[f+48>>0]=1;ma=ka;na=c[ma+4>>2]|0;pa=f+64|0;c[pa>>2]=c[ma>>2];c[pa+4>>2]=na}}b[f+72>>1]=b[o+16>>1]|0;if(la|0){if(c[la+464>>2]|0){Lc(la,ea);l=oa;return}pa=ea;if(pa>>>0>=(c[la+296>>2]|0)>>>0?pa>>>0<(c[la+300>>2]|0)>>>0:0){pa=la+292|0;c[ea>>2]=c[pa>>2];c[pa>>2]=ea;l=oa;return}}if(!(c[2]|0)){pb[c[56>>2]&255](ea);l=oa;return}else{pa=jb[c[64>>2]&255](ea)|0;c[11822]=(c[11822]|0)-pa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](ea);l=oa;return}}function fm(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(!d){i=0;b=0;z=i;return b|0}a:do switch(a[d>>0]|0){case -111:{f=c[d+28>>2]|0;g=c[b+4>>2]|0;if((g|0)>0)e=0;else{i=0;b=0;z=i;return b|0}while(1){if((c[b+8+(e<<2)>>2]|0)==(f|0))break;e=e+1|0;if((e|0)>=(g|0)){e=0;f=0;h=23;break}}if((h|0)==23){z=e;return f|0}b=Rt(1,0,e|0)|0;i=z;z=i;return b|0}case -103:{f=c[d+28>>2]|0;g=c[b+4>>2]|0;if((g|0)>0){e=0;while(1){if((c[b+8+(e<<2)>>2]|0)==(f|0))break;e=e+1|0;if((e|0)>=(g|0)){f=0;g=0;break a}}f=Rt(1,0,e|0)|0;g=z}else{f=0;g=0}break}default:{f=0;g=0}}while(0);e=c[d+12>>2]|0;if(!e)i=g;else{i=fm(b,e)|0;f=i|f;i=z|g}e=c[d+16>>2]|0;if(e|0){b=fm(b,e)|0;z=z|i;return b|f|0}e=c[d+4>>2]|0;if(e&2048|0){if(e&32|0)c[b>>2]=1;b=rm(b,c[d+20>>2]|0)|0;i=z|i;b=b|f;z=i;return b|0}d=c[d+20>>2]|0;if(!d){b=f;z=i;return b|0}if((c[d>>2]|0)>0){h=0;g=0;e=0;do{j=fm(b,c[d+4+(h*20|0)>>2]|0)|0;g=j|g;e=z|e;h=h+1|0}while((h|0)<(c[d>>2]|0))}else{g=0;e=0}b=e|i;j=g|f;z=b;return j|0}function gm(a,b){a=a|0;b=b|0;var d=0,e=0;e=Pj(c[a+12>>2]|0)|0;d=c[a+16>>2]|0;do if(!d){if(!(c[a+4>>2]&2048)){a=e<<24>>24==0?65:e;break}a=Pj(c[(c[c[a+20>>2]>>2]|0)+4>>2]|0)|0;if(e<<24>>24==0|a<<24>>24==0){a=(a|e)<<24>>24==0?65:(a&255)+(e&255)&255;break}else{a=e<<24>>24>66|a<<24>>24>66?67:65;break}}else{a=Pj(d)|0;if(e<<24>>24==0|a<<24>>24==0){a=(a|e)<<24>>24==0?65:(a&255)+(e&255)&255;break}else{a=e<<24>>24>66|a<<24>>24>66?67:65;break}}while(0);switch(a<<24>>24|0){case 66:{b=b<<24>>24==66;b=b&1;return b|0}case 65:{b=1;b=b&1;return b|0}default:{b=b<<24>>24>66;b=b&1;return b|0}}return 0}function hm(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=l;l=l+192|0;s=I+48|0;u=I+40|0;x=I+32|0;w=I+24|0;t=I+16|0;q=I+8|0;p=I;F=I+56|0;o=I+80|0;if((a[f+399>>0]|0)!=2){l=I;return}v=d[h+44>>0]|0;H=c[f+8>>2]|0;n=c[f>>2]|0;G=c[f+412>>2]|0;A=c[h+64>>2]|0;y=A+36|0;r=c[y>>2]|0;if((r&8192|0)==0?(m=k&65535,(m&32|0)==0):0){h=r&48;do if(!h){if((r&1024|0)==0?b[A+24>>1]|0:0){k=1;break}k=(m&3|0)!=0}else k=1;while(0);E=F+4|0;c[E>>2]=o;c[F>>2]=n;z=F+8|0;c[z>>2]=100;B=F+12|0;c[B>>2]=1e9;C=F+16|0;a[F+20>>0]=0;D=F+21|0;a[D>>0]=0;n=k?6:4;c[C>>2]=n;Tt(o|0,(k?32930:32937)|0,n|0)|0;if(!(c[g+8+(v*72|0)+20>>2]|0)){c[q>>2]=c[g+8+(v*72|0)+8>>2];mf(F,32955,q)}else{c[p>>2]=d[g+8+(v*72|0)+40>>0];mf(F,32942,p)}f=c[g+8+(v*72|0)+12>>2]|0;if(f|0){c[t>>2]=f;mf(F,32965,t)}do if(!(r&1280)){m=A+32|0;n=c[m>>2]|0;if((c[(c[g+8+(v*72|0)+16>>2]|0)+36>>2]&32|0)!=0?(a[n+55>>0]&3)==2:0)if(k)f=33057;else break;else if(!(r&131072))f=(r&16384|0)==0?((r&64|0)==0?32972:32981):32999;else f=33024;h=c[C>>2]|0;k=h+7|0;if(k>>>0<(c[z>>2]|0)>>>0){c[C>>2]=k;v=(c[E>>2]|0)+h|0;a[v>>0]=a[33069]|0;a[v+1>>0]=a[33070]|0;a[v+2>>0]=a[33071]|0;a[v+3>>0]=a[33072]|0;a[v+4>>0]=a[33073]|0;a[v+5>>0]=a[33074]|0;a[v+6>>0]=a[33075]|0}else Fc(F,33069,7);c[w>>2]=c[n>>2];mf(F,f,w);r=c[m>>2]|0;f=b[A+24>>1]|0;n=b[A+42>>1]|0;h=f&65535;f=f<<16>>16==0;if(f?(c[y>>2]&48|0)==0:0)break;k=c[C>>2]|0;m=k+2|0;if(m>>>0<(c[z>>2]|0)>>>0){c[C>>2]=m;w=(c[E>>2]|0)+k|0;a[w>>0]=32;a[w+1>>0]=40}else Fc(F,33077,2);a:do if(f)h=0;else{p=r+4|0;q=r+12|0;o=n&65535;n=0;while(1){f=b[(c[p>>2]|0)+(n<<1)>>1]|0;switch(f<<16>>16){case -2:{f=33080;break}case -1:{f=24823;break}default:f=c[(c[(c[q>>2]|0)+4>>2]|0)+(f<<16>>16<<4)>>2]|0}do if(n|0){k=c[C>>2]|0;m=k+5|0;if(m>>>0<(c[z>>2]|0)>>>0){c[C>>2]=m;w=(c[E>>2]|0)+k|0;a[w>>0]=a[33087]|0;a[w+1>>0]=a[33088]|0;a[w+2>>0]=a[33089]|0;a[w+3>>0]=a[33090]|0;a[w+4>>0]=a[33091]|0;break}else{Fc(F,33087,5);break}}while(0);c[x>>2]=f;mf(F,(n|0)>=(o|0)?33093:33098,x);n=n+1|0;if((n|0)==(h|0))break a}}while(0);f=c[y>>2]|0;if(!(f&32))k=h;else{qm(F,r,e[A+26>>1]|0,h,h,33106);k=1;f=c[y>>2]|0}if(f&16|0)qm(F,r,e[A+28>>1]|0,h,k,33108);f=c[C>>2]|0;h=f+1|0;if(h>>>0<(c[z>>2]|0)>>>0){c[C>>2]=h;a[(c[E>>2]|0)+f>>0]=41;break}else{Fc(F,22108,1);break}}else{if((r&256|0)==0|(r&15|0)==0){if(!(r&1024))break;z=c[A+32>>2]|0;c[s>>2]=c[A+24>>2];c[s+4>>2]=z;mf(F,33164,s);break}if(!(r&5))f=(h|0)==48?33110:(r&32|0)==0?33108:33106;else f=33124;c[u>>2]=f;mf(F,33126,u)}while(0);f=c[E>>2]|0;if(((f|0)!=0?(a[f+(c[C>>2]|0)>>0]=0,(c[B>>2]|0)!=0):0)?(a[D>>0]&4)==0:0)m=Dc(F)|0;else m=c[E>>2]|0;k=H+136|0;f=c[k>>2]|0;if((c[(c[H+12>>2]|0)+48>>2]|0)>(f|0)){c[k>>2]=f+1;F=c[H+88>>2]|0;a[F+(f*20|0)>>0]=-89;b[F+(f*20|0)+2>>1]=0;c[F+(f*20|0)+4>>2]=G;c[F+(f*20|0)+8>>2]=i;c[F+(f*20|0)+12>>2]=j;c[F+(f*20|0)+16>>2]=0;a[F+(f*20|0)+1>>0]=0}else f=zi(H,167,G,i,j)|0;h=c[H>>2]|0;do if(!(a[h+73>>0]|0)){if((f|0)<0)f=(c[k>>2]|0)+-1|0;h=c[H+88>>2]|0;k=h+(f*20|0)+1|0;if(a[k>>0]|0){Ai(H,h+(f*20|0)|0,m,-7);break}if(m|0){c[h+(f*20|0)+16>>2]=m;a[k>>0]=-7}}else if(m|0){if(h|0){if(c[h+464>>2]|0){Lc(h,m);break}H=m;if(H>>>0>=(c[h+296>>2]|0)>>>0?H>>>0<(c[h+300>>2]|0)>>>0:0){H=h+292|0;c[m>>2]=c[H>>2];c[H>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);l=I;return}l=I;return}function im(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0;wa=l;l=l+160|0;A=wa+8|0;F=wa;pa=wa+64|0;qa=wa+16|0;va=c[f>>2]|0;ea=va+8|0;sa=c[ea>>2]|0;ra=f+80|0;fa=c[va>>2]|0;ka=f+752+(g*80|0)|0;w=f+752+(g*80|0)+64|0;Y=c[w>>2]|0;u=f+4|0;r=c[u>>2]|0;ca=f+752+(g*80|0)+44|0;s=d[ca>>0]|0;D=r+8+(s*72|0)|0;la=c[r+8+(s*72|0)+44>>2]|0;k=c[f+492>>2]|0;a:do if((k|0)>0){j=0;while(1){if((c[f+496+(j<<2)>>2]|0)==(la|0))break;j=j+1|0;if((j|0)>=(k|0)){j=0;k=0;break a}}j=Rt(1,0,j|0)|0;k=z}else{j=0;k=0}while(0);ua=f+752+(g*80|0)+72|0;v=ua;c[v>>2]=~j&h;c[v+4>>2]=~k&i;v=f+64|0;v=Qt(c[v>>2]|0,c[v+4>>2]|0,g|0)|0;aa=v&1;$=Y+36|0;if(!(c[$>>2]&64))_=0;else _=(b[f+44>>1]&32)==0;ja=sa+12|0;j=c[ja>>2]|0;n=j+68|0;o=c[n>>2]|0;c[n>>2]=o+1;n=j+72|0;if(!(o+-1&o)){k=c[j>>2]|0;m=c[n>>2]|0;j=Mc(k,m,o<<3|4,0)|0;do if(!((m|0)==0|(j|0)!=0)){if(k|0){if(c[k+464>>2]|0){Lc(k,m);break}ia=m;if(ia>>>0>=(c[k+296>>2]|0)>>>0?ia>>>0<(c[k+300>>2]|0)>>>0:0){ia=k+292|0;c[m>>2]=c[ia>>2];c[ia>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{ia=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ia;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[n>>2]=j}else j=c[n>>2]|0;if(j|0)c[j+(o<<2)>>2]=-1;x=~o;P=f+752+(g*80|0)+16|0;c[P>>2]=x;da=f+752+(g*80|0)+12|0;c[da>>2]=x;j=c[ja>>2]|0;n=j+68|0;o=c[n>>2]|0;c[n>>2]=o+1;n=j+72|0;if(!(o+-1&o)){k=c[j>>2]|0;m=c[n>>2]|0;j=Mc(k,m,o<<3|4,0)|0;do if(!((m|0)==0|(j|0)!=0)){if(k|0){if(c[k+464>>2]|0){Lc(k,m);break}ia=m;if(ia>>>0>=(c[k+296>>2]|0)>>>0?ia>>>0<(c[k+300>>2]|0)>>>0:0){ia=k+292|0;c[m>>2]=c[ia>>2];c[ia>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{ia=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ia;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[n>>2]=j}else j=c[n>>2]|0;if(j|0)c[j+(o<<2)>>2]=-1;ia=~o;E=f+752+(g*80|0)+24|0;c[E>>2]=ia;do if(a[ca>>0]|0?a[r+8+(s*72|0)+36>>0]&8:0){k=va+44|0;j=(c[k>>2]|0)+1|0;c[k>>2]=j;c[ka>>2]=j;k=sa+136|0;m=c[k>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;ba=c[sa+88>>2]|0;a[ba+(m*20|0)>>0]=67;b[ba+(m*20|0)+2>>1]=0;c[ba+(m*20|0)+4>>2]=0;c[ba+(m*20|0)+8>>2]=j;c[ba+(m*20|0)+12>>2]=0;c[ba+(m*20|0)+16>>2]=0;a[ba+(m*20|0)+1>>0]=0;break}else{zi(sa,67,0,j,0)|0;break}}while(0);b:do if((g|0)>0){j=g;while(1){if(c[f+752+(j*80|0)>>2]|0)break b;k=j+-1|0;if((j|0)>1)j=k;else{j=k;break}}}else j=g;while(0);n=c[f+752+(j*80|0)+12>>2]|0;j=a[r+8+(s*72|0)+37>>0]|0;c:do if(!(j&16)){m=c[$>>2]|0;if(m&1024|0){p=b[Y+40>>1]|0;t=p&65535;C=va+60|0;c[C>>2]=(c[C>>2]|0)+1;j=t+2|0;k=va+32|0;m=c[k>>2]|0;n=va+28|0;o=c[n>>2]|0;if((o|0)<(j|0)){ea=va+44|0;s=c[ea>>2]|0;c[ea>>2]=s+j;s=s+1|0}else{c[k>>2]=m+j;c[n>>2]=o-j;s=m}j=c[da>>2]|0;r=p<<16>>16==0;if(r)n=j;else{o=s+2|0;p=Y+48|0;n=0;do{k=o+n|0;m=c[(c[p>>2]|0)+(n<<2)>>2]|0;do if(m)if(!(b[m+12>>1]&1)){km(va,c[(c[m>>2]|0)+16>>2]|0,k,1);break}else{jm(va,m,ka,n,aa,k)|0;j=c[P>>2]|0;break}while(0);n=n+1|0}while((n|0)!=(t|0));n=j}j=c[Y+24>>2]|0;m=sa+136|0;k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){ea=k+1|0;c[m>>2]=ea;da=c[sa+88>>2]|0;a[da+(k*20|0)>>0]=67;b[da+(k*20|0)+2>>1]=0;c[da+(k*20|0)+4>>2]=j;c[da+(k*20|0)+8>>2]=s;c[da+(k*20|0)+12>>2]=0;c[da+(k*20|0)+16>>2]=0;a[da+(k*20|0)+1>>0]=0;k=ea}else{zi(sa,67,j,s,0)|0;k=c[m>>2]|0}j=s+1|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){ea=k+1|0;c[m>>2]=ea;da=c[sa+88>>2]|0;a[da+(k*20|0)>>0]=67;b[da+(k*20|0)+2>>1]=0;c[da+(k*20|0)+4>>2]=t;c[da+(k*20|0)+8>>2]=j;c[da+(k*20|0)+12>>2]=0;c[da+(k*20|0)+16>>2]=0;a[da+(k*20|0)+1>>0]=0;j=ea}else{zi(sa,67,t,j,0)|0;j=c[m>>2]|0}o=c[Y+32>>2]|0;p=Y+28|0;q=a[p>>0]|0?-7:-1;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;ea=c[sa+88>>2]|0;a[ea+(j*20|0)>>0]=11;b[ea+(j*20|0)+2>>1]=0;c[ea+(j*20|0)+4>>2]=la;c[ea+(j*20|0)+8>>2]=n;c[ea+(j*20|0)+12>>2]=s;c[ea+(j*20|0)+16>>2]=0;a[ea+(j*20|0)+1>>0]=0}else j=zi(sa,11,la,n,s)|0;k=c[sa>>2]|0;do if(!(a[k+73>>0]|0)){if((j|0)<0)j=(c[m>>2]|0)+-1|0;k=c[sa+88>>2]|0;n=k+(j*20|0)+1|0;if(a[n>>0]|0){Ai(sa,k+(j*20|0)|0,o,q);break}if(!o)break;c[k+(j*20|0)+16>>2]=o;a[n>>0]=q}else Wf(k,q,o);while(0);a[p>>0]=0;c[f+752+(g*80|0)+48>>2]=la;a[f+752+(g*80|0)+45>>0]=a[f+49>>0]|0?-90:61;c[f+752+(g*80|0)+52>>2]=c[m>>2];d:do if(!r){B=Y+48|0;v=Y+30|0;w=fa+73|0;x=f+752+(g*80|0)+60|0;y=sa+88|0;A=pa+4|0;u=s+2|0;k=c[f+752+(g*80|0)+56>>2]|0;j=t;while(1){t=j;while(1){j=t+-1|0;s=c[(c[B>>2]|0)+(j<<2)>>2]|0;do if((t|0)<17){if(!(e[v>>1]&1<>1]&1):0)break;if((t|0)>1)t=j;else break d}do if(!(a[w>>0]|0)){r=k+-1|0;k=c[(c[x>>2]|0)+(r*12|0)+4>>2]|0;if((k|0)<0)k=(c[m>>2]|0)+-1|0;if(!(a[(c[sa>>2]|0)+73>>0]|0))k=(c[y>>2]|0)+(k*20|0)|0;else k=46708;o=a[k>>0]|0;p=c[k+4>>2]|0;q=c[k+8>>2]|0;k=c[k+12>>2]|0;n=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;ea=c[y>>2]|0;a[ea+(n*20|0)>>0]=o;b[ea+(n*20|0)+2>>1]=0;c[ea+(n*20|0)+4>>2]=p;c[ea+(n*20|0)+8>>2]=q;c[ea+(n*20|0)+12>>2]=k;c[ea+(n*20|0)+16>>2]=0;a[ea+(n*20|0)+1>>0]=0;break}else{zi(sa,o&255,p,q,k)|0;break}}else r=k;while(0);o=c[va>>2]|0;e:do if(c[o+264>>2]|0){if(!(a[o+73>>0]|0))ga=105}else{do if((e[o+268>>1]|0)<48)k=1;else{k=o+292|0;n=c[k>>2]|0;if(n|0){c[k>>2]=c[n>>2];ga=o+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=106;break e}k=o+288|0;n=c[k>>2]|0;if(!n){k=2;break}c[k>>2]=c[n>>2];ga=o+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=106;break e}while(0);ga=o+276+(k<<2)|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=105}while(0);if((ga|0)==105){n=Ec(o,48,0)|0;ga=106}do if((ga|0)==106){ga=0;if(!n)break;K=n;H=K+48|0;do{c[K>>2]=0;K=K+4|0}while((K|0)<(H|0));a[n>>0]=53;b[n+34>>1]=-1;Ji(n);k=c[(c[va>>2]|0)+112>>2]|0;if((k|0)<(c[n+24>>2]|0)){c[F>>2]=k;hg(va,24905,F)}o=n+12|0;c[o>>2]=c[(c[s>>2]|0)+12>>2];c[pa>>2]=0;c[A>>2]=0;k=Yi(fa,150,pa,0)|0;c[n+16>>2]=k;if(k|0){c[k+28>>2]=u+j;Dk(va,n,c[E>>2]|0,0)}c[o>>2]=0;Qf(fa,n)}while(0);if((t|0)>1)k=r;else break}}while(0);k=(c[C>>2]|0)+-1|0;c[C>>2]=k;s=va+25|0;j=a[s>>0]|0;if(!(j<<24>>24)){D=0;break}t=va+19|0;r=0;while(1){n=va+148+(r*20|0)+8|0;o=va+148+(r*20|0)|0;p=va+148+(r*20|0)+6|0;q=va+148+(r*20|0)+12|0;if((c[n>>2]|0)>(k|0))do{do if(a[p>>0]|0){k=a[t>>0]|0;if((k&255)>=8)break;fa=c[q>>2]|0;a[t>>0]=k+1<<24>>24;c[va+348+((k&255)<<2)>>2]=fa}while(0);j=j+-1<<24>>24;a[s>>0]=j;k=j&255;if((k|0)>(r|0)){j=va+148+(k*20|0)|0;c[o>>2]=c[j>>2];c[o+4>>2]=c[j+4>>2];c[o+8>>2]=c[j+8>>2];c[o+12>>2]=c[j+12>>2];c[o+16>>2]=c[j+16>>2];j=a[s>>0]|0}if((r|0)>=(j&255|0)){D=0;break c}k=c[C>>2]|0}while((c[n>>2]|0)>(k|0));r=r+1|0;if((r|0)>=(j&255|0)){D=0;break c}}}if(!((m&256|0)==0|(m&5|0)==0)){t=c[c[Y+48>>2]>>2]|0;fa=va+44|0;n=(c[fa>>2]|0)+1|0;c[fa>>2]=n;t=jm(va,t,ka,0,aa,n)|0;f:do if(!((n|0)==0|(t|0)==(n|0))?(p=va+19|0,q=a[p>>0]|0,(q&255)<8):0){j=a[va+25>>0]|0;g:do if(j<<24>>24){m=j&255;j=0;k=va+148|0;while(1){if((c[k+12>>2]|0)==(n|0))break;j=j+1|0;if((j|0)>=(m|0))break g;else k=k+20|0}a[k+6>>0]=1;break f}while(0);a[p>>0]=q+1<<24>>24;c[va+348+((q&255)<<2)>>2]=n}while(0);j=c[P>>2]|0;m=sa+136|0;k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;fa=c[sa+88>>2]|0;a[fa+(k*20|0)>>0]=31;b[fa+(k*20|0)+2>>1]=0;c[fa+(k*20|0)+4>>2]=la;c[fa+(k*20|0)+8>>2]=j;c[fa+(k*20|0)+12>>2]=t;c[fa+(k*20|0)+16>>2]=0;a[fa+(k*20|0)+1>>0]=0}else zi(sa,31,la,j,t)|0;r=va+25|0;j=a[r>>0]|0;h:do if(j<<24>>24){s=va+19|0;q=0;do{n=va+148+(q*20|0)+12|0;o=va+148+(q*20|0)|0;p=va+148+(q*20|0)+6|0;while(1){if((c[n>>2]|0)!=(t|0))break;do if(a[p>>0]|0){k=a[s>>0]|0;if((k&255)>=8)break;a[s>>0]=k+1<<24>>24;c[va+348+((k&255)<<2)>>2]=t}while(0);j=j+-1<<24>>24;a[r>>0]=j;k=j&255;if((k|0)>(q|0)){j=va+148+(k*20|0)|0;c[o>>2]=c[j>>2];c[o+4>>2]=c[j+4>>2];c[o+8>>2]=c[j+8>>2];c[o+12>>2]=c[j+12>>2];c[o+16>>2]=c[j+16>>2];j=a[r>>0]|0}if((q|0)>=(j&255|0))break h}q=q+1|0}while((q|0)<(j&255|0))}while(0);Tk(va,la,-1,t);a[f+752+(g*80|0)+45>>0]=-90;D=0;break}if((m&258|0)==258){if(!(m&32)){k=0;j=0}else{k=c[c[Y+48>>2]>>2]|0;j=1}if(!(m&16))j=0;else j=c[(c[Y+48>>2]|0)+(j<<2)>>2]|0;fa=(aa|0)==0;t=fa?j:k;k=fa?k:j;do if(!k){j=aa<<2^37;k=sa+136|0;m=c[k>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;fa=c[sa+88>>2]|0;a[fa+(m*20|0)>>0]=j;b[fa+(m*20|0)+2>>1]=0;c[fa+(m*20|0)+4>>2]=la;c[fa+(m*20|0)+8>>2]=n;c[fa+(m*20|0)+12>>2]=0;c[fa+(m*20|0)+16>>2]=0;a[fa+(m*20|0)+1>>0]=0;break}else{zi(sa,j,la,n,0)|0;break}}else{n=c[k>>2]|0;m=c[n+16>>2]|0;j=a[m>>0]|0;if(j<<24>>24==-106)j=a[m+38>>0]|0;switch(j<<24>>24){case -105:{j=m+20|0;ga=159;break}case 119:{j=c[m+20>>2]|0;ga=159;break}default:ga=164}do if((ga|0)==159){if((c[c[j>>2]>>2]|0)<=1){ga=164;break}j=va+19|0;k=a[j>>0]|0;if(!(k<<24>>24)){fa=va+44|0;j=(c[fa>>2]|0)+1|0;c[fa>>2]=j}else{fa=k+-1<<24>>24;a[j>>0]=fa;j=c[va+348+((fa&255)<<2)>>2]|0}c[pa>>2]=j;km(va,m,j,1);s=j;j=(d[n>>0]|0)+-54|1}while(0);if((ga|0)==164){s=Hk(va,m,pa)|0;lm(ka,k);j=(d[n>>0]|0)+-54|0}j=a[32910+j>>0]|0;k=sa+136|0;m=c[k>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;fa=c[sa+88>>2]|0;a[fa+(m*20|0)>>0]=j;b[fa+(m*20|0)+2>>1]=0;c[fa+(m*20|0)+4>>2]=la;c[fa+(m*20|0)+8>>2]=x;c[fa+(m*20|0)+12>>2]=s;c[fa+(m*20|0)+16>>2]=0;a[fa+(m*20|0)+1>>0]=0}else zi(sa,j&255,la,x,s)|0;q=va+25|0;j=a[q>>0]|0;i:do if(!(j<<24>>24))j=0;else{r=va+19|0;p=0;do{m=va+148+(p*20|0)+12|0;n=va+148+(p*20|0)|0;o=va+148+(p*20|0)+6|0;while(1){if((c[m>>2]|0)!=(s|0))break;do if(a[o>>0]|0){k=a[r>>0]|0;if((k&255)>=8)break;a[r>>0]=k+1<<24>>24;c[va+348+((k&255)<<2)>>2]=s}while(0);j=j+-1<<24>>24;a[q>>0]=j;k=j&255;if((k|0)>(p|0)){j=va+148+(k*20|0)|0;c[n>>2]=c[j>>2];c[n+4>>2]=c[j+4>>2];c[n+8>>2]=c[j+8>>2];c[n+12>>2]=c[j+12>>2];c[n+16>>2]=c[j+16>>2];j=a[q>>0]|0}if((p|0)>=(j&255|0))break i}p=p+1|0}while((p|0)<(j&255|0))}while(0);n=c[pa>>2]|0;j:do if(n|0){o=va+19|0;p=a[o>>0]|0;if((p&255)>=8)break;k:do if(j<<24>>24){m=j&255;j=0;k=va+148|0;while(1){if((c[k+12>>2]|0)==(n|0))break;j=j+1|0;if((j|0)>=(m|0))break k;else k=k+20|0}a[k+6>>0]=1;break j}while(0);a[o>>0]=p+1<<24>>24;c[va+348+((p&255)<<2)>>2]=n}while(0)}while(0);do if(!t){o=0;n=166}else{m=c[t>>2]|0;q=va+44|0;o=(c[q>>2]|0)+1|0;c[q>>2]=o;q=m+16|0;km(va,c[q>>2]|0,o,1);q=c[q>>2]|0;j=a[q>>0]|0;p=j<<24>>24==-106;if(p)k=a[q+38>>0]|0;else k=j;switch(k<<24>>24){case -105:{k=q+20|0;ga=197;break}case 119:{k=c[q+20>>2]|0;ga=197;break}default:ga=198}if((ga|0)==197)if((c[c[k>>2]>>2]|0)>1)ga=200;else ga=198;l:do if((ga|0)==198){switch(a[m>>0]|0){case 54:case 56:break;default:{ga=200;break l}}n=(aa<<1^2)+55|0}while(0);if((ga|0)==200)n=(aa<<1)+54|0;if(p)j=a[q+38>>0]|0;switch(j<<24>>24){case -105:{y=q+20|0;ga=206;break}case 119:{y=c[q+20>>2]|0;ga=206;break}default:{}}if((ga|0)==206?(c[c[y>>2]>>2]|0)>1:0)break;lm(ka,t)}while(0);m=sa+136|0;j=c[m>>2]|0;a[f+752+(g*80|0)+45>>0]=aa^7;c[f+752+(g*80|0)+48>>2]=la;c[f+752+(g*80|0)+52>>2]=j;if((n|0)==166){D=0;break}fa=va+44|0;k=(c[fa>>2]|0)+1|0;c[fa>>2]=k;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=123;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=la;c[fa+(j*20|0)+8>>2]=k;c[fa+(j*20|0)+12>>2]=0;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else zi(sa,123,la,k,0)|0;Tk(va,la,-1,k);j=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){fa=j+1|0;c[m>>2]=fa;ea=c[sa+88>>2]|0;a[ea+(j*20|0)>>0]=n;b[ea+(j*20|0)+2>>1]=0;c[ea+(j*20|0)+4>>2]=o;c[ea+(j*20|0)+8>>2]=x;c[ea+(j*20|0)+12>>2]=k;c[ea+(j*20|0)+16>>2]=0;a[ea+(j*20|0)+1>>0]=0;j=fa}else{zi(sa,n,o,x,k)|0;j=c[m>>2]|0}if((j|0)<=0){D=0;break}b[(c[sa+88>>2]|0)+((j+-1|0)*20|0)+2>>1]=83;D=0;break}if(!(m&512)){if(!(m&8192)){if(j&32){a[f+752+(g*80|0)+45>>0]=-90;D=0;m=sa+136|0;break}a[f+752+(g*80|0)+45>>0]=a[32926+aa>>0]|0;c[f+752+(g*80|0)+48>>2]=la;k=a[32928+aa>>0]|0;m=sa+136|0;j=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=k;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=la;c[fa+(j*20|0)+8>>2]=n;c[fa+(j*20|0)+12>>2]=0;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else j=zi(sa,k&255,la,n,0)|0;c[f+752+(g*80|0)+52>>2]=j+1;a[f+752+(g*80|0)+47>>0]=1;D=0;break}p=va+40|0;_=c[p>>2]|0;c[p>>2]=_+1;$=va+44|0;aa=(c[$>>2]|0)+1|0;c[$>>2]=aa;j=c[ja>>2]|0;o=j+68|0;ba=c[o>>2]|0;c[o>>2]=ba+1;o=j+72|0;if(!(ba+-1&ba)){k=c[j>>2]|0;m=c[o>>2]|0;j=Mc(k,m,ba<<3|4,0)|0;m:do if(!((m|0)==0|(j|0)!=0)){do if(k|0){if(c[k+464>>2]|0){Lc(k,m);break m}n=m;if(n>>>0<(c[k+296>>2]|0)>>>0)break;if(n>>>0>=(c[k+300>>2]|0)>>>0)break;Z=k+292|0;c[m>>2]=c[Z>>2];c[Z>>2]=m;break m}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{Z=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-Z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[o>>2]=j}else j=c[o>>2]|0;if(j|0)c[j+(ba<<2)>>2]=-1;X=~ba;W=c[r+8+(s*72|0)+16>>2]|0;Z=c[c[Y+48>>2]>>2]|0;t=c[Z+28>>2]|0;a[f+752+(g*80|0)+45>>0]=63;c[f+752+(g*80|0)+48>>2]=aa;Y=f+46|0;j=a[Y>>0]|0;do if((j&255)>1){o=(j&255)-g|0;n=(o*72|0)+8|0;n:do if(!fa){V=Ft(n|0,0,-1,-1)|0;U=z;if(U>>>0>0|(U|0)==0&V>>>0>2147483390){ua=i;va=h;z=ua;l=wa;return va|0}if(!(c[2]|0)){j=jb[c[52>>2]&255](n)|0;ga=613;break}m=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){U=c[11822]|0;V=Gt(j|0,k|0,m|0,((m|0)<0)<<31>>31|0)|0;T=z;c[11616]=(0>(T|0)|0==(T|0)&U>>>0>=V>>>0)&1}j=jb[c[52>>2]&255](m)|0;if(!j){ua=i;va=h;z=ua;l=wa;return va|0}k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0<=(c[11831]|0)>>>0)break;c[11831]=k}else{do if(!(c[fa+264>>2]|0)){do if(0<0|(0==0?(e[fa+268>>1]|0)>>>0>>0:0))j=1;else{k=fa+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];ga=fa+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=613;break n}k=fa+288|0;j=c[k>>2]|0;if(!j){j=2;break}c[k>>2]=c[j>>2];ga=fa+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=613;break n}while(0);ga=fa+276+(j<<2)|0;c[ga>>2]=(c[ga>>2]|0)+1}else{if(!(a[fa+73>>0]|0))break;z=i;l=wa;return h|0}while(0);j=Ec(fa,n,0)|0;ga=613}while(0);do if((ga|0)==613){if(j)break;z=i;l=wa;return h|0}while(0);n=o&255;c[j+4>>2]=n;c[j>>2]=n;n=j+8|0;K=n;H=K+72|0;do{c[K>>2]=c[D>>2];K=K+4|0;D=D+4|0}while((K|0)<(H|0));m=c[u>>2]|0;if((o|0)>1)k=1;else{U=j;V=j;break}do{K=n+(k*72|0)|0;D=m+8+((d[ka+(k*80|0)+44>>0]|0)*72|0)|0;H=K+72|0;do{c[K>>2]=c[D>>2];K=K+4|0;D=D+4|0}while((K|0)<(H|0));k=k+1|0}while((k|0)!=(o|0));U=j;V=j}else{V=c[u>>2]|0;U=V}while(0);T=f+44|0;if(!(b[T>>1]&16)){o:do if(!(c[W+36>>2]&32)){j=(c[$>>2]|0)+1|0;c[$>>2]=j;k=sa+136|0;m=c[k>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;S=c[sa+88>>2]|0;a[S+(m*20|0)>>0]=70;b[S+(m*20|0)+2>>1]=0;c[S+(m*20|0)+4>>2]=0;c[S+(m*20|0)+8>>2]=j;c[S+(m*20|0)+12>>2]=0;c[S+(m*20|0)+16>>2]=0;a[S+(m*20|0)+1>>0]=0;break}else{zi(sa,70,0,j,0)|0;break}}else{j=c[W+8>>2]|0;p:do if(!j)j=0;else while(1){if((a[j+55>>0]&3)==2)break p;j=c[j+20>>2]|0;if(!j){j=0;break}}while(0);o=c[p>>2]|0;c[p>>2]=o+1;k=e[j+50>>1]|0;m=sa+136|0;n=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;S=c[sa+88>>2]|0;a[S+(n*20|0)>>0]=108;b[S+(n*20|0)+2>>1]=0;c[S+(n*20|0)+4>>2]=o;c[S+(n*20|0)+8>>2]=k;c[S+(n*20|0)+12>>2]=0;c[S+(n*20|0)+16>>2]=0;a[S+(n*20|0)+1>>0]=0}else zi(sa,108,o,k,0)|0;k=c[ea>>2]|0;m=rk(va,j)|0;if(!m){j=o;break}j=c[k>>2]|0;if(!(a[j+73>>0]|0)){S=c[k+88>>2]|0;j=(c[k+136>>2]|0)+-1|0;a[S+(j*20|0)+1>>0]=-9;c[S+(j*20|0)+16>>2]=m;j=o;break}if(c[j+464>>2]|0){j=o;break}S=(c[m>>2]|0)+-1|0;c[m>>2]=S;if(S|0){j=o;break}j=c[m+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,m);j=o;break o}k=m;if(k>>>0<(c[j+296>>2]|0)>>>0)break;if(k>>>0>=(c[j+300>>2]|0)>>>0)break;j=j+292|0;c[m>>2]=c[j>>2];c[j>>2]=m;j=o;break o}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);j=o;break}else{j=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);j=o;break}}while(0);S=(c[$>>2]|0)+1|0;c[$>>2]=S}else{S=0;j=0}m=sa+136|0;k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;R=c[sa+88>>2]|0;a[R+(k*20|0)>>0]=67;b[R+(k*20|0)+2>>1]=0;c[R+(k*20|0)+4>>2]=0;c[R+(k*20|0)+8>>2]=aa;c[R+(k*20|0)+12>>2]=0;c[R+(k*20|0)+16>>2]=0;a[R+(k*20|0)+1>>0]=0;R=k}else R=zi(sa,67,0,aa,0)|0;r=f+92|0;k=c[r>>2]|0;q:do if((k|0)>1){s=f+100|0;q=0;p=0;do{n=c[s>>2]|0;Q=n+(q*48|0)|0;o=c[Q>>2]|0;do if((Q|0)!=(Z|0)){if(c[o+4>>2]&1|0)break;if(b[n+(q*48|0)+10>>1]&6)break;if(!(b[n+(q*48|0)+12>>1]&8191))break;p=mk(fa,p,sj(fa,o,0,0)|0)|0;k=c[r>>2]|0}while(0);q=q+1|0}while((q|0)<(k|0));if(!p){o=0;break}k=c[va>>2]|0;r:do if(c[k+264>>2]|0){if(!(a[k+73>>0]|0))ga=663}else{do if((e[k+268>>1]|0)<48)n=1;else{n=k+292|0;o=c[n>>2]|0;if(o|0){c[n>>2]=c[o>>2];ga=k+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=664;break r}n=k+288|0;o=c[n>>2]|0;if(!o){n=2;break}c[n>>2]=c[o>>2];ga=k+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=664;break r}while(0);ga=k+276+(n<<2)|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=663}while(0);if((ga|0)==663){o=Ec(k,48,0)|0;ga=664}do if((ga|0)==664){if(!o){k=c[va>>2]|0;break}K=o;H=K+48|0;do{c[K>>2]=0;K=K+4|0}while((K|0)<(H|0));a[o>>0]=44;b[o+34>>1]=-1;c[o+16>>2]=p;c[o+4>>2]=c[p+4>>2]&2097412;Ji(o);k=c[(c[va>>2]|0)+112>>2]|0;if((k|0)>=(c[o+24>>2]|0))break q;c[A>>2]=k;hg(va,24905,A);break q}while(0);Qf(k,p);o=0}else o=0;while(0);P=b[T>>1]&1024|32;Q=t+12|0;do if((c[Q>>2]|0)>0){D=t+20|0;E=(o|0)==0;F=W+36|0;G=va+148|0;H=va+25|0;I=sa+88|0;J=va+64|0;K=W+8|0;L=va+19|0;M=va+28|0;N=va+32|0;O=o+12|0;C=0;n=0;B=0;while(1){k=c[D>>2]|0;if((c[k+(C*48|0)+20>>2]|0)!=(la|0)?(b[k+(C*48|0)+12>>1]&1024)==0:0)k=B;else ga=674;do if((ga|0)==674){ga=0;k=c[k+(C*48|0)>>2]|0;do if(!E){if(c[k+4>>2]&1|0)break;c[O>>2]=k;k=o}while(0);A=Tl(va,U,k,0,0,P,_)|0;if(!A){k=B;break}hm(va,U,A+752|0,g,d[ca>>0]|0,0);s:do if(!(b[T>>1]&16)){t=(C|0)==((c[Q>>2]|0)+-1|0)?-1:C;if(!(c[F>>2]&32)){q=c[ea>>2]|0;k=a[H>>0]|0;t:do if(!(k<<24>>24))ga=689;else{r=k&255;k=0;p=G;while(1){if((c[p>>2]|0)==(la|0)?(b[p+4>>1]|0)==-1:0)break;k=k+1|0;if((k|0)>=(r|0)){ga=689;break t}else p=p+20|0}k=c[J>>2]|0;c[J>>2]=k+1;c[p+16>>2]=k;p=c[p+12>>2]|0;k=0;q=G;while(1){if((c[q+12>>2]|0)==(p|0))a[q+6>>0]=0;k=k+1|0;if((k|0)==(r|0))break;else q=q+20|0}}while(0);if((ga|0)==689){ga=0;Ek(q,W,la,-1,S);Tk(va,la,-1,S);p=S}k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;y=c[I>>2]|0;a[y+(k*20|0)>>0]=45;b[y+(k*20|0)+2>>1]=0;c[y+(k*20|0)+4>>2]=j;c[y+(k*20|0)+8>>2]=0;c[y+(k*20|0)+12>>2]=p;c[y+(k*20|0)+16>>2]=0;a[y+(k*20|0)+1>>0]=0}else k=zi(sa,45,j,0,p)|0;if(a[(c[sa>>2]|0)+73>>0]|0)break;y=c[I>>2]|0;a[y+(k*20|0)+1>>0]=-3;c[y+(k*20|0)+16>>2]=t;break}k=c[K>>2]|0;u:do if(!k)k=0;else while(1){if((a[k+55>>0]&3)==2)break u;k=c[k+20>>2]|0;if(!k){k=0;break}}while(0);r=b[k+50>>1]|0;y=r&65535;s=r<<16>>16==1;do if(s){p=a[L>>0]|0;if(!(p<<24>>24)){p=(c[$>>2]|0)+1|0;c[$>>2]=p;ga=706;break}else{p=p+-1<<24>>24;a[L>>0]=p;p=c[va+348+((p&255)<<2)>>2]|0;ga=706;break}}else{p=c[N>>2]|0;q=c[M>>2]|0;if((q|0)<(y|0)){p=c[$>>2]|0;c[$>>2]=p+y;p=p+1|0}else{c[N>>2]=p+y;c[M>>2]=q-y}if(!(r<<16>>16))x=p;else ga=706}while(0);if((ga|0)==706){ga=0;q=k+4|0;k=0;do{om(va,W,b[(c[q>>2]|0)+(k<<1)>>1]|0,la,k+p|0);k=k+1|0}while((k|0)!=(y|0));x=p}q=(t|0)!=0;if(q){k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;w=c[I>>2]|0;a[w+(k*20|0)>>0]=30;b[w+(k*20|0)+2>>1]=0;c[w+(k*20|0)+4>>2]=j;c[w+(k*20|0)+8>>2]=0;c[w+(k*20|0)+12>>2]=x;c[w+(k*20|0)+16>>2]=0;a[w+(k*20|0)+1>>0]=0}else k=zi(sa,30,j,0,x)|0;if(!(a[(c[sa>>2]|0)+73>>0]|0)){w=c[I>>2]|0;a[w+(k*20|0)+1>>0]=-3;c[w+(k*20|0)+16>>2]=y}if((t|0)>-1)ga=715}else{k=0;ga=715}do if((ga|0)==715){ga=0;p=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(p|0)){w=p+1|0;c[m>>2]=w;v=c[I>>2]|0;a[v+(p*20|0)>>0]=99;b[v+(p*20|0)+2>>1]=0;c[v+(p*20|0)+4>>2]=x;c[v+(p*20|0)+8>>2]=y;c[v+(p*20|0)+12>>2]=S;c[v+(p*20|0)+16>>2]=0;a[v+(p*20|0)+1>>0]=0;p=w}else{zi(sa,99,x,y,S)|0;p=c[m>>2]|0}if((c[(c[ja>>2]|0)+48>>2]|0)>(p|0)){c[m>>2]=p+1;w=c[I>>2]|0;a[w+(p*20|0)>>0]=127;b[w+(p*20|0)+2>>1]=0;c[w+(p*20|0)+4>>2]=j;c[w+(p*20|0)+8>>2]=S;c[w+(p*20|0)+12>>2]=x;c[w+(p*20|0)+16>>2]=0;a[w+(p*20|0)+1>>0]=0}else p=zi(sa,127,j,S,x)|0;if(!(a[(c[sa>>2]|0)+73>>0]|0)){w=c[I>>2]|0;a[w+(p*20|0)+1>>0]=-3;c[w+(p*20|0)+16>>2]=y}if(!q)break;p=c[m>>2]|0;if((p|0)<=0)break;b[(c[I>>2]|0)+((p+-1|0)*20|0)+2>>1]=16}while(0);if(s){if(!x)break;s=a[L>>0]|0;if((s&255)>=8)break;p=a[H>>0]|0;v:do if(p<<24>>24){r=p&255;p=0;q=G;while(1){if((c[q+12>>2]|0)==(x|0))break;p=p+1|0;if((p|0)>=(r|0))break v;else q=q+20|0}a[q+6>>0]=1;break s}while(0);a[L>>0]=s+1<<24>>24;c[va+348+((s&255)<<2)>>2]=x;break}p=a[H>>0]|0;w:do if(p<<24>>24){w=x+y|0;v=0;do{s=va+148+(v*20|0)+12|0;t=va+148+(v*20|0)|0;u=va+148+(v*20|0)+6|0;while(1){q=c[s>>2]|0;if(!((q|0)>=(x|0)&(q|0)<(w|0)))break;do if(a[u>>0]|0){r=a[L>>0]|0;if((r&255)>=8)break;a[L>>0]=r+1<<24>>24;c[va+348+((r&255)<<2)>>2]=q}while(0);p=p+-1<<24>>24;a[H>>0]=p;q=p&255;if((q|0)>(v|0)){p=va+148+(q*20|0)|0;c[t>>2]=c[p>>2];c[t+4>>2]=c[p+4>>2];c[t+8>>2]=c[p+8>>2];c[t+12>>2]=c[p+12>>2];c[t+16>>2]=c[p+16>>2];p=a[H>>0]|0}if((v|0)>=(p&255|0))break w}v=v+1|0}while((v|0)<(p&255|0))}while(0);if((c[M>>2]|0)>=(y|0))break;c[M>>2]=y;c[N>>2]=x}else k=0;while(0);p=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(p|0)){c[m>>2]=p+1;y=c[I>>2]|0;a[y+(p*20|0)>>0]=14;b[y+(p*20|0)+2>>1]=0;c[y+(p*20|0)+4>>2]=aa;c[y+(p*20|0)+8>>2]=X;c[y+(p*20|0)+12>>2]=0;c[y+(p*20|0)+16>>2]=0;a[y+(p*20|0)+1>>0]=0}else zi(sa,14,aa,X,0)|0;if(k|0){p=c[m>>2]|0;if(!(a[(c[sa>>2]|0)+73>>0]|0))k=(c[I>>2]|0)+(((k|0)<0?p+-1|0:k)*20|0)|0;else k=46708;c[k+8>>2]=p}n=(a[A+50>>0]|0)==0?n:1;k=c[A+816>>2]|0;do if(!(c[k+36>>2]&512))k=0;else{if(C|0?(c[k+32>>2]|0)!=(B|0):0){k=0;break}k=c[k+32>>2]|0;if(c[F>>2]&32|0?(a[k+55>>0]&3)==2:0){k=0;break}}while(0);Ul(A)}while(0);C=C+1|0;if((C|0)>=(c[Q>>2]|0))break;else B=k}c[f+752+(g*80|0)+56>>2]=k;if(!k)break;c[f+752+(g*80|0)+8>>2]=_}else{c[f+752+(g*80|0)+56>>2]=0;n=0}while(0);if(o|0){c[o+12>>2]=0;Qf(fa,o)}k=c[m>>2]|0;if(!(a[(c[sa>>2]|0)+73>>0]|0))j=(c[sa+88>>2]|0)+(((R|0)<0?k+-1|0:R)*20|0)|0;else j=46708;c[j+4>>2]=k;j=c[da>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;ea=c[sa+88>>2]|0;a[ea+(k*20|0)>>0]=13;b[ea+(k*20|0)+2>>1]=0;c[ea+(k*20|0)+4>>2]=0;c[ea+(k*20|0)+8>>2]=j;c[ea+(k*20|0)+12>>2]=0;c[ea+(k*20|0)+16>>2]=0;a[ea+(k*20|0)+1>>0]=0}else zi(sa,13,0,j,0)|0;j=c[(c[ja>>2]|0)+72>>2]|0;if(j|0)c[j+(ba<<2)>>2]=c[m>>2];x:do if(!((V|0)==0|(d[Y>>0]|0)<2)){do if(fa|0){if(c[fa+464>>2]|0){Lc(fa,V);break x}j=V;if(j>>>0<(c[fa+296>>2]|0)>>>0)break;if(j>>>0>=(c[fa+300>>2]|0)>>>0)break;fa=fa+292|0;c[V>>2]=c[fa>>2];c[fa>>2]=V;break x}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](V);break}else{fa=jb[c[64>>2]&255](V)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](V);break}}while(0);if(n|0){D=0;break}lm(ka,Z);D=0;break}O=b[Y+24>>1]|0;s=b[Y+26>>1]|0;t=b[Y+28>>1]|0;X=c[Y+32>>2]|0;x=f+752+(g*80|0)+8|0;Z=c[x>>2]|0;V=f+44|0;if((b[V>>1]&1)!=0?(a[f+47>>0]|0)>0:0){j=(e[X+50>>1]|0)>(O&65535);r=j&1;j=j&1}else{r=0;j=0}n=O&65535;if(!(m&32)){u=0;k=n}else{k=s&65535;u=c[(c[Y+48>>2]|0)+(n<<2)>>2]|0;j=j>>>0>k>>>0?j:k;k=n+1|0}do if(m&16){q=c[(c[Y+48>>2]|0)+(k<<2)>>2]|0;ca=t&65535;j=(j|0)>(ca|0)?j:ca;if(b[q+10>>1]&256){p=va+44|0;k=(c[p>>2]|0)+1|0;c[p>>2]=k;p=f+752+(g*80|0)+36|0;c[p>>2]=k;m=sa+136|0;o=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(o|0)){ca=o+1|0;c[m>>2]=ca;m=c[sa+88>>2]|0;a[m+(o*20|0)>>0]=67;b[m+(o*20|0)+2>>1]=0;c[m+(o*20|0)+4>>2]=1;c[m+(o*20|0)+8>>2]=k;c[m+(o*20|0)+12>>2]=0;c[m+(o*20|0)+16>>2]=0;a[m+(o*20|0)+1>>0]=0;m=ca}else{zi(sa,67,1,k,0)|0;m=c[m>>2]|0;k=c[p>>2]|0}c[f+752+(g*80|0)+40>>2]=m;ca=k<<1;c[p>>2]=ca;c[p>>2]=(a[(c[X+28>>2]|0)+n>>0]|0)==1^aa|ca}if(!u){k=b[(c[X+4>>2]|0)+(n<<1)>>1]|0;m=k<<16>>16==-2;if(k<<16>>16>-1){if(!(m|(a[(c[(c[X+12>>2]|0)+4>>2]|0)+(k<<16>>16<<4)+12>>0]|0)==0)){m=q;o=r;break}}else if(!m){m=q;o=r;break}m=q;o=1}else{m=q;o=r}}else{m=0;o=r}while(0);k=b[X+50>>1]|0;if((O&65535)<(k&65535)?!(((v&1|0)!=0|0!=0)^(a[(c[X+28>>2]|0)+n>>0]|0)==0):0)ga=237;else if(aa|0?k<<16>>16==O<<16>>16:0)ga=237;else{M=s;Q=0;N=u;S=m;L=o}if((ga|0)==237){M=t;t=s&255;Q=o;N=m;S=u;L=0}J=c[ea>>2]|0;v=c[w>>2]|0;w=b[v+24>>1]|0;A=b[v+42>>1]|0;T=c[v+32>>2]|0;U=va+44|0;ca=c[U>>2]|0;q=ca+1|0;I=w&65535;y=I+j|0;c[U>>2]=ca+y;ca=c[va>>2]|0;T=kg(ca,Fk(ca,T)|0)|0;y:do if(A<<16>>16){r=c[x>>2]|0;o=(aa|0)!=0;j=aa<<2^37;s=J+136|0;k=c[s>>2]|0;u=J+12|0;if((c[(c[u>>2]|0)+48>>2]|0)>(k|0)){ca=k+1|0;c[s>>2]=ca;ba=c[J+88>>2]|0;a[ba+(k*20|0)>>0]=j;b[ba+(k*20|0)+2>>1]=0;c[ba+(k*20|0)+4>>2]=r;c[ba+(k*20|0)+8>>2]=0;c[ba+(k*20|0)+12>>2]=0;c[ba+(k*20|0)+16>>2]=0;a[ba+(k*20|0)+1>>0]=0;j=ca}else{zi(J,j,r,0,0)|0;j=c[s>>2]|0}if((c[(c[u>>2]|0)+48>>2]|0)>(j|0)){c[s>>2]=j+1;K=c[J+88>>2]|0;a[K+(j*20|0)>>0]=13;K=K+(j*20|0)+1|0;H=K+19|0;do{a[K>>0]=0;K=K+1|0}while((K|0)<(H|0));m=j}else m=zi(J,13,0,0,0)|0;k=o?24:27;p=A&65535;j=c[s>>2]|0;if((c[(c[u>>2]|0)+48>>2]|0)>(j|0)){c[s>>2]=j+1;ca=c[J+88>>2]|0;a[ca+(j*20|0)>>0]=k;b[ca+(j*20|0)+2>>1]=0;c[ca+(j*20|0)+4>>2]=r;c[ca+(j*20|0)+8>>2]=0;c[ca+(j*20|0)+12>>2]=q;c[ca+(j*20|0)+16>>2]=0;a[ca+(j*20|0)+1>>0]=0}else j=zi(J,k,r,0,q)|0;if(!(a[(c[J>>2]|0)+73>>0]|0)){k=c[J+88>>2]|0;a[k+(j*20|0)+1>>0]=-3;c[k+(j*20|0)+16>>2]=p;c[f+752+(g*80|0)+20>>2]=j;k=c[s>>2]|0;j=(c[J+88>>2]|0)+(((m|0)<0?k+-1|0:m)*20|0)|0}else{c[f+752+(g*80|0)+20>>2]=j;j=46708;k=c[s>>2]|0}c[j+8>>2]=k;o=J+88|0;j=0;while(1){m=j+q|0;if((c[(c[u>>2]|0)+48>>2]|0)>(k|0)){c[s>>2]=k+1;ca=c[o>>2]|0;a[ca+(k*20|0)>>0]=96;b[ca+(k*20|0)+2>>1]=0;c[ca+(k*20|0)+4>>2]=r;c[ca+(k*20|0)+8>>2]=j;c[ca+(k*20|0)+12>>2]=m;c[ca+(k*20|0)+16>>2]=0;a[ca+(k*20|0)+1>>0]=0}else zi(J,96,r,j,m)|0;j=j+1|0;if((j|0)==(p|0))break y;k=c[s>>2]|0}}while(0);if((A&65535)<(w&65535)){B=v+48|0;C=J+136|0;D=J+12|0;E=J+88|0;F=(T|0)==0;G=(T|0)!=0;u=(y|0)==1;v=va+19|0;w=va+25|0;x=va+148|0;s=A&65535;while(1){r=c[(c[B>>2]|0)+(s<<2)>>2]|0;k=s+q|0;p=jm(va,r,ka,s,aa,k)|0;z:do if((p|0)==(k|0))p=q;else{if(!u){j=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(j|0)){c[C>>2]=j+1;ca=c[E>>2]|0;a[ca+(j*20|0)>>0]=76;b[ca+(j*20|0)+2>>1]=0;c[ca+(j*20|0)+4>>2]=p;c[ca+(j*20|0)+8>>2]=k;c[ca+(j*20|0)+12>>2]=0;c[ca+(j*20|0)+16>>2]=0;a[ca+(j*20|0)+1>>0]=0;p=q;break}else{zi(J,76,p,k,0)|0;p=q;break}}if(!q)break;o=a[v>>0]|0;if((o&255)>=8)break;j=a[w>>0]|0;A:do if(j<<24>>24){m=j&255;j=0;k=x;while(1){if((c[k+12>>2]|0)==(q|0))break;j=j+1|0;if((j|0)>=(m|0))break A;else k=k+20|0}a[k+6>>0]=1;break z}while(0);a[v>>0]=o+1<<24>>24;c[va+348+((o&255)<<2)>>2]=q}while(0);j=e[r+12>>1]|0;B:do if(!(j&1)){if(j&256|0)break;q=c[(c[r>>2]|0)+16>>2]|0;C:do if(!(b[r+10>>1]&2048)){k=a[q>>0]|0;if((k|1)<<24>>24==-107){j=q;do{j=c[j+12>>2]|0;k=a[j>>0]|0}while((k|1)<<24>>24==-107)}else j=q;if(k<<24>>24==-106)k=a[j+38>>0]|0;D:do switch(k<<24>>24){case -123:case -124:case 97:case -122:break C;case -111:{if(c[j+4>>2]&1048576|0)break D;k=c[j+44>>2]|0;if(!k)break D;j=b[j+32>>1]|0;if(j<<16>>16<=-1)break C;if(a[(c[k+4>>2]|0)+(j<<16>>16<<4)+12>>0]|0)break C;break}default:{}}while(0);j=p+s|0;k=c[da>>2]|0;m=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(m|0)){c[C>>2]=m+1;ca=c[E>>2]|0;a[ca+(m*20|0)>>0]=50;b[ca+(m*20|0)+2>>1]=0;c[ca+(m*20|0)+4>>2]=j;c[ca+(m*20|0)+8>>2]=k;c[ca+(m*20|0)+12>>2]=0;c[ca+(m*20|0)+16>>2]=0;a[ca+(m*20|0)+1>>0]=0;break}else{zi(J,50,j,k,0)|0;break}}while(0);if(F)break;m=T+s|0;o=a[m>>0]|0;j=Pj(q)|0;if(o<<24>>24==0|j<<24>>24==0)if((j|o)<<24>>24==0?1:((j&255)+(o&255)&255)<<24>>24==65)ga=293;else ga=294;else if(o<<24>>24>66|j<<24>>24>66)ga=294;else ga=293;E:do if((ga|0)==293){ga=0;a[m>>0]=65}else if((ga|0)==294){ga=0;if(o<<24>>24==65)break;k=a[q>>0]|0;if((k|1)<<24>>24==-107){j=q;do{j=c[j+12>>2]|0;k=a[j>>0]|0}while((k|1)<<24>>24==-107)}else j=q;if(k<<24>>24==-106)k=a[j+38>>0]|0;switch(k<<24>>24){case -123:break E;case -122:if((o+-67&255)<2)break E;else break B;case -124:switch(o<<24>>24){case 67:case 69:break E;default:break B}case 97:if(o<<24>>24==66)break E;else break B;case -111:if((o+-67&255)<2&(b[j+32>>1]|0)<0)break E;else break B;default:break B}}while(0);a[m>>0]=65}else{if(!(G&(c[(c[r>>2]|0)+4>>2]&2048|0)!=0))break;a[T+s>>0]=65}while(0);s=s+1|0;if((s|0)==(I|0)){H=p;break}else q=p}}else H=q;E=(T|0)==0;D=t<<16>>16==0;if(D|E)F=0;else F=kg(fa,T+n|0)|0;G=c[P>>2]|0;m=(N|0)!=0;if(m)j=(b[N+12>>1]&40)!=0;else j=1;s=j&1;C=(S|0)!=0;if(C)j=(b[S+12>>1]&40)!=0;else j=1;k=j&1;r=(O<<16>>16!=0|m)&1;do if(m){q=c[(c[N>>2]|0)+16>>2]|0;p=H+n|0;o=M&65535;km(va,q,p,o);if(b[N+10>>1]&256){if(!(a[(c[sa>>2]|0)+73>>0]|0))j=(c[sa+88>>2]|0)+(((c[sa+136>>2]|0)+-1|0)*20|0)|0;else j=46708;da=c[f+752+(g*80|0)+36>>2]|0;c[j+12>>2]=da>>>1;b[j+2>>1]=da&1}m=a[q>>0]|0;if((m|1)<<24>>24==-107){j=q;do{j=c[j+12>>2]|0;m=a[j>>0]|0}while((m|1)<<24>>24==-107)}else j=q;if(m<<24>>24==-106)m=a[j+38>>0]|0;F:do switch(m<<24>>24){case -123:case -124:case 97:case -122:break;case -111:{if(c[j+4>>2]&1048576|0){ga=326;break F}m=c[j+44>>2]|0;if(!m){ga=326;break F}j=b[j+32>>1]|0;if(j<<16>>16<=-1)break F;if(!(a[(c[m+4>>2]|0)+(j<<16>>16<<4)+12>>0]|0))ga=326;break}default:ga=326}while(0);do if((ga|0)==326){j=sa+136|0;m=c[j>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[j>>2]=m+1;da=c[sa+88>>2]|0;a[da+(m*20|0)>>0]=50;b[da+(m*20|0)+2>>1]=0;c[da+(m*20|0)+4>>2]=p;c[da+(m*20|0)+8>>2]=G;c[da+(m*20|0)+12>>2]=0;c[da+(m*20|0)+16>>2]=0;a[da+(m*20|0)+1>>0]=0;break}else{zi(sa,50,p,G,0)|0;break}}while(0);if(!E)mm(q,o,T+n|0);m=o+n|0;j=a[q>>0]|0;if(j<<24>>24==-106)j=a[q+38>>0]|0;switch(j<<24>>24){case -105:{R=q+20|0;ga=336;break}case 119:{R=c[q+20>>2]|0;ga=336;break}default:{}}if((ga|0)==336?(c[c[R>>2]>>2]|0)>1:0){A=r;B=m;y=1;j=0;break}lm(ka,N);A=r;B=m;y=s;j=0}else{if(!(L<<24>>24)){A=r;B=n;y=s;j=0;break}j=H+n|0;m=sa+136|0;o=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(o|0)){c[m>>2]=o+1;da=c[sa+88>>2]|0;a[da+(o*20|0)>>0]=70;b[da+(o*20|0)+2>>1]=0;c[da+(o*20|0)+4>>2]=0;c[da+(o*20|0)+8>>2]=j;c[da+(o*20|0)+12>>2]=0;c[da+(o*20|0)+16>>2]=0;a[da+(o*20|0)+1>>0]=0}else zi(sa,70,0,j,0)|0;A=1;B=n+1|0;y=0;j=L}while(0);j=B-(j&255)|0;r=c[ea>>2]|0;G:do if(!E){H:do if((j|0)>0){o=T;m=H;while(1){if((a[o>>0]|0)!=65){x=m;break H}p=j+-1|0;m=m+1|0;o=o+1|0;if((j|0)>1)j=p;else{x=m;j=p;break}}}else{x=H;o=T}while(0);while(1){if((j|0)<=1){ga=350;break}m=j+-1|0;if((a[o+m>>0]|0)==65)j=m;else break}if((ga|0)==350)if((j|0)==1)j=1;else break;q=r+136|0;m=c[q>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(m|0)){c[q>>2]=m+1;da=c[r+88>>2]|0;a[da+(m*20|0)>>0]=98;b[da+(m*20|0)+2>>1]=0;c[da+(m*20|0)+4>>2]=x;c[da+(m*20|0)+8>>2]=j;c[da+(m*20|0)+12>>2]=0;c[da+(m*20|0)+16>>2]=0;a[da+(m*20|0)+1>>0]=0}else m=zi(r,98,x,j,0)|0;p=c[r>>2]|0;if(!(a[p+73>>0]|0)){if((m|0)<0)m=(c[q>>2]|0)+-1|0;Ai(r,(c[r+88>>2]|0)+(m*20|0)|0,o,j)}else Wf(p,j,o);w=va+25|0;m=a[w>>0]|0;if(!(m<<24>>24))break;u=j+x|0;v=va+19|0;s=0;do{p=va+148+(s*20|0)+12|0;q=va+148+(s*20|0)|0;r=va+148+(s*20|0)+6|0;while(1){j=c[p>>2]|0;if(!((j|0)>=(x|0)&(j|0)<(u|0)))break;do if(a[r>>0]|0){o=a[v>>0]|0;if((o&255)>=8)break;a[v>>0]=o+1<<24>>24;c[va+348+((o&255)<<2)>>2]=j}while(0);m=m+-1<<24>>24;a[w>>0]=m;j=m&255;if((j|0)>(s|0)){m=va+148+(j*20|0)|0;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[q+8>>2]=c[m+8>>2];c[q+12>>2]=c[m+12>>2];c[q+16>>2]=c[m+16>>2];m=a[w>>0]|0}if((s|0)>=(m&255|0))break G}s=s+1|0}while((s|0)<(m&255|0))}while(0);da=b[Y+42>>1]|0;do if(!(da<<16>>16!=0&(B|0)==(da&65535|0))){m=a[32914+(A<<2|aa|y<<1)>>0]|0;o=sa+136|0;j=c[o>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;da=c[sa+88>>2]|0;a[da+(j*20|0)>>0]=m;b[da+(j*20|0)+2>>1]=0;c[da+(j*20|0)+4>>2]=Z;c[da+(j*20|0)+8>>2]=G;c[da+(j*20|0)+12>>2]=H;c[da+(j*20|0)+16>>2]=0;a[da+(j*20|0)+1>>0]=0}else j=zi(sa,m&255,Z,G,H)|0;if(a[(c[sa>>2]|0)+73>>0]|0)break;da=c[sa+88>>2]|0;a[da+(j*20|0)+1>>0]=-3;c[da+(j*20|0)+16>>2]=B}while(0);do if(C){y=c[(c[S>>2]|0)+16>>2]|0;v=H+n|0;x=va+25|0;j=a[x>>0]|0;I:do if(j<<24>>24){s=va+19|0;r=0;do{o=va+148+(r*20|0)+12|0;p=va+148+(r*20|0)|0;q=va+148+(r*20|0)+6|0;while(1){if((c[o>>2]|0)!=(v|0))break;do if(a[q>>0]|0){m=a[s>>0]|0;if((m&255)>=8)break;a[s>>0]=m+1<<24>>24;c[va+348+((m&255)<<2)>>2]=v}while(0);j=j+-1<<24>>24;a[x>>0]=j;m=j&255;if((m|0)>(r|0)){j=va+148+(m*20|0)|0;c[p>>2]=c[j>>2];c[p+4>>2]=c[j+4>>2];c[p+8>>2]=c[j+8>>2];c[p+12>>2]=c[j+12>>2];c[p+16>>2]=c[j+16>>2];j=a[x>>0]|0}if((r|0)>=(j&255|0))break I}r=r+1|0}while((r|0)<(j&255|0))}while(0);w=t&65535;km(va,y,v,w);if(b[S+10>>1]&256){if(!(a[(c[sa>>2]|0)+73>>0]|0))j=(c[sa+88>>2]|0)+(((c[sa+136>>2]|0)+-1|0)*20|0)|0;else j=46708;da=c[f+752+(g*80|0)+36>>2]|0;c[j+12>>2]=da>>>1;b[j+2>>1]=da&1}m=a[y>>0]|0;if((m|1)<<24>>24==-107){j=y;do{j=c[j+12>>2]|0;m=a[j>>0]|0}while((m|1)<<24>>24==-107)}else j=y;if(m<<24>>24==-106)m=a[j+38>>0]|0;J:do switch(m<<24>>24){case -123:case -124:case 97:case -122:break;case -111:{if(c[j+4>>2]&1048576|0){ga=401;break J}m=c[j+44>>2]|0;if(!m){ga=401;break J}j=b[j+32>>1]|0;if(j<<16>>16<=-1)break J;if(!(a[(c[m+4>>2]|0)+(j<<16>>16<<4)+12>>0]|0))ga=401;break}default:ga=401}while(0);do if((ga|0)==401){j=sa+136|0;m=c[j>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[j>>2]=m+1;da=c[sa+88>>2]|0;a[da+(m*20|0)>>0]=50;b[da+(m*20|0)+2>>1]=0;c[da+(m*20|0)+4>>2]=v;c[da+(m*20|0)+8>>2]=G;c[da+(m*20|0)+12>>2]=0;c[da+(m*20|0)+16>>2]=0;a[da+(m*20|0)+1>>0]=0;break}else{zi(sa,50,v,G,0)|0;break}}while(0);K:do if(F|0){mm(y,w,F);r=c[ea>>2]|0;L:do if(D){o=F;j=w}else{o=F;j=w;m=v;while(1){if((a[o>>0]|0)!=65){v=m;break L}p=j+-1|0;m=m+1|0;o=o+1|0;if((j|0)>1)j=p;else{v=m;j=p;break}}}while(0);while(1){if((j|0)<=1){ga=411;break}m=j+-1|0;if((a[o+m>>0]|0)==65)j=m;else break}if((ga|0)==411)if((j|0)==1)j=1;else break;q=r+136|0;m=c[q>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(m|0)){c[q>>2]=m+1;ea=c[r+88>>2]|0;a[ea+(m*20|0)>>0]=98;b[ea+(m*20|0)+2>>1]=0;c[ea+(m*20|0)+4>>2]=v;c[ea+(m*20|0)+8>>2]=j;c[ea+(m*20|0)+12>>2]=0;c[ea+(m*20|0)+16>>2]=0;a[ea+(m*20|0)+1>>0]=0}else m=zi(r,98,v,j,0)|0;p=c[r>>2]|0;if(!(a[p+73>>0]|0)){if((m|0)<0)m=(c[q>>2]|0)+-1|0;Ai(r,(c[r+88>>2]|0)+(m*20|0)|0,o,j)}else Wf(p,j,o);m=a[x>>0]|0;if(!(m<<24>>24))break;t=j+v|0;u=va+19|0;s=0;do{p=va+148+(s*20|0)+12|0;q=va+148+(s*20|0)|0;r=va+148+(s*20|0)+6|0;while(1){j=c[p>>2]|0;if(!((j|0)>=(v|0)&(j|0)<(t|0)))break;do if(a[r>>0]|0){o=a[u>>0]|0;if((o&255)>=8)break;a[u>>0]=o+1<<24>>24;c[va+348+((o&255)<<2)>>2]=j}while(0);m=m+-1<<24>>24;a[x>>0]=m;j=m&255;if((j|0)>(s|0)){m=va+148+(j*20|0)|0;c[q>>2]=c[m>>2];c[q+4>>2]=c[m+4>>2];c[q+8>>2]=c[m+8>>2];c[q+12>>2]=c[m+12>>2];c[q+16>>2]=c[m+16>>2];m=a[x>>0]|0}if((s|0)>=(m&255|0))break K}s=s+1|0}while((s|0)<(m&255|0))}while(0);n=w+n|0;j=a[y>>0]|0;if(j<<24>>24==-106)j=a[y+38>>0]|0;switch(j<<24>>24){case -105:{W=y+20|0;ga=436;break}case 119:{W=c[y+20>>2]|0;ga=436;break}default:{}}if((ga|0)==436?(c[c[W>>2]>>2]|0)>1:0){k=1;break}lm(ka,S)}else{if(!(Q<<24>>24))break;j=H+n|0;k=sa+136|0;m=c[k>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;ea=c[sa+88>>2]|0;a[ea+(m*20|0)>>0]=70;b[ea+(m*20|0)+2>>1]=0;c[ea+(m*20|0)+4>>2]=0;c[ea+(m*20|0)+8>>2]=j;c[ea+(m*20|0)+12>>2]=0;c[ea+(m*20|0)+16>>2]=0;a[ea+(m*20|0)+1>>0]=0}else zi(sa,70,0,j,0)|0;k=0;n=n+1|0}while(0);M:do if(!E){do if(fa|0){if(c[fa+464>>2]|0){Lc(fa,T);break M}j=T;if(j>>>0<(c[fa+296>>2]|0)>>>0)break;if(j>>>0>=(c[fa+300>>2]|0)>>>0)break;ea=fa+292|0;c[T>>2]=c[ea>>2];c[ea>>2]=T;break M}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](T);break}else{ea=jb[c[64>>2]&255](T)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](T);break}}while(0);N:do if(F|0){do if(fa|0){if(c[fa+464>>2]|0){Lc(fa,F);break N}j=F;if(j>>>0<(c[fa+296>>2]|0)>>>0)break;if(j>>>0>=(c[fa+300>>2]|0)>>>0)break;fa=fa+292|0;c[F>>2]=c[fa>>2];c[fa>>2]=F;break N}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](F);break}else{fa=jb[c[64>>2]&255](F)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](F);break}}while(0);m=sa+136|0;j=c[m>>2]|0;c[f+752+(g*80|0)+52>>2]=j;do if(n|0){k=a[32922+(k|aa<<1)>>0]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=k;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=Z;c[fa+(j*20|0)+8>>2]=G;c[fa+(j*20|0)+12>>2]=H;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else j=zi(sa,k&255,Z,G,H)|0;if(a[(c[sa>>2]|0)+73>>0]|0)break;fa=c[sa+88>>2]|0;a[fa+(j*20|0)+1>>0]=-3;c[fa+(j*20|0)+16>>2]=n}while(0);O:do if(!_){o=X+12|0;j=c[o>>2]|0;if(c[j+36>>2]&32|0){if((la|0)==(Z|0))break;j=c[j+8>>2]|0;P:do if(!j)j=0;else while(1){if((a[j+55>>0]&3)==2)break P;j=c[j+20>>2]|0;if(!j){j=0;break}}while(0);x=j+50|0;r=b[x>>1]|0;k=r&65535;do if(r<<16>>16==1){k=va+19|0;n=a[k>>0]|0;if(!(n<<24>>24)){n=(c[U>>2]|0)+1|0;c[U>>2]=n;ga=538;break}else{n=n+-1<<24>>24;a[k>>0]=n;n=c[va+348+((n&255)<<2)>>2]|0;ga=538;break}}else{o=va+32|0;n=c[o>>2]|0;p=va+28|0;q=c[p>>2]|0;if((q|0)<(k|0)){n=c[U>>2]|0;c[U>>2]=n+k;n=n+1|0}else{c[o>>2]=n+k;c[p>>2]=q-k}if(r<<16>>16)ga=538}while(0);if((ga|0)==538){t=j+4|0;u=X+52|0;v=sa+88|0;w=X+4|0;s=0;q=r;while(1){o=b[(c[t>>2]|0)+(s<<1)>>1]|0;j=b[u>>1]|0;Q:do if(!(j<<16>>16))j=-1;else{p=c[w>>2]|0;k=j&65535;j=0;while(1){if((b[p+(j<<1)>>1]|0)==o<<16>>16)break Q;j=j+1|0;if((j|0)>=(k|0)){j=-1;break}}}while(0);j=j<<16>>16;k=s+n|0;o=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(o|0)){c[m>>2]=o+1;fa=c[v>>2]|0;a[fa+(o*20|0)>>0]=96;b[fa+(o*20|0)+2>>1]=0;c[fa+(o*20|0)+4>>2]=Z;c[fa+(o*20|0)+8>>2]=j;c[fa+(o*20|0)+12>>2]=k;c[fa+(o*20|0)+16>>2]=0;a[fa+(o*20|0)+1>>0]=0;j=q}else{zi(sa,96,Z,j,k)|0;j=b[x>>1]|0}s=s+1|0;k=j&65535;if((s|0)>=(k|0))break;else q=j}}j=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=29;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=la;c[fa+(j*20|0)+8>>2]=ia;c[fa+(j*20|0)+12>>2]=n;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else j=zi(sa,29,la,ia,n)|0;if(a[(c[sa>>2]|0)+73>>0]|0)break;fa=c[sa+88>>2]|0;a[fa+(j*20|0)+1>>0]=-3;c[fa+(j*20|0)+16>>2]=k;break}n=b[V>>1]|0;j=n&65535;do if(!(j&1024)){if(j&4096|0?(a[f+49>>0]|0)==1:0)break;k=c[f>>2]|0;s=c[k+8>>2]|0;r=s+136|0;j=c[r>>2]|0;if((c[(c[s+12>>2]|0)+48>>2]|0)>(j|0)){c[r>>2]=j+1;fa=c[s+88>>2]|0;a[fa+(j*20|0)>>0]=-127;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=Z;c[fa+(j*20|0)+8>>2]=0;c[fa+(j*20|0)+12>>2]=la;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0;j=n}else{zi(s,129,Z,0,la)|0;j=b[V>>1]|0}if(!(j&32))break O;fa=c[k+120>>2]|0;if(c[((fa|0)==0?k:fa)+88>>2]|0)break O;n=c[k>>2]|0;o=(c[o>>2]|0)+42|0;q=(b[o>>1]<<2)+4|0;R:do if(!n){fa=Ft(q|0,0,-1,-1)|0;ea=z;if(ea>>>0>0|(ea|0)==0&fa>>>0>2147483390)break O;if(!(c[2]|0)){j=jb[c[52>>2]&255](q)|0;ga=507;break}j=jb[c[68>>2]&255](q)|0;if((c[11829]|0)>>>0>>0)c[11829]=q;n=46456;k=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&k>>>0>0){ea=c[11822]|0;fa=Gt(k|0,n|0,j|0,((j|0)<0)<<31>>31|0)|0;da=z;c[11616]=(0>(da|0)|0==(da|0)&ea>>>0>=fa>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k)break O;j=jb[c[64>>2]&255](k)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0){p=k;break}c[11831]=j;p=k}else{if(c[n+264>>2]|0){if(a[n+73>>0]|0)break O}else{do if(0<0|(0==0?(e[n+268>>1]|0)>>>0>>0:0))j=1;else{k=n+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];ga=n+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=507;break R}k=n+288|0;j=c[k>>2]|0;if(!j){j=2;break}c[k>>2]=c[j>>2];ga=n+276|0;c[ga>>2]=(c[ga>>2]|0)+1;ga=507;break R}while(0);ga=n+276+(j<<2)|0;c[ga>>2]=(c[ga>>2]|0)+1}j=Ec(n,q,0)|0;ga=507}while(0);if((ga|0)==507)if(!j)break O;else p=j;Vt(p|0,0,q|0)|0;c[p>>2]=b[o>>1];j=b[X+52>>1]|0;if((j&65535)>1){o=c[X+4>>2]|0;k=(j&65535)+-1|0;j=0;do{n=b[o+(j<<1)>>1]|0;j=j+1|0;if(n<<16>>16>-1)c[p+((n<<16>>16)+1<<2)>>2]=j}while((j|0)!=(k|0))}k=c[s>>2]|0;if(!(a[k+73>>0]|0)){j=(c[r>>2]|0)+-1|0;k=c[s+88>>2]|0;n=k+(j*20|0)+1|0;if(!(a[n>>0]|0)){c[k+(j*20|0)+16>>2]=p;a[n>>0]=-15;break O}else{Ai(s,k+(j*20|0)|0,p,-15);break O}}do if(k|0){if(c[k+464>>2]|0){Lc(k,p);break O}j=p;if(j>>>0<(c[k+296>>2]|0)>>>0)break;if(j>>>0>=(c[k+300>>2]|0)>>>0)break;fa=k+292|0;c[p>>2]=c[fa>>2];c[fa>>2]=p;break O}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break O}else{fa=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break O}}while(0);k=(c[U>>2]|0)+1|0;c[U>>2]=k;j=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=-126;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=Z;c[fa+(j*20|0)+8>>2]=k;c[fa+(j*20|0)+12>>2]=0;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else zi(sa,130,Z,k,0)|0;Tk(va,la,-1,k);j=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=32;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=la;c[fa+(j*20|0)+8>>2]=0;c[fa+(j*20|0)+12>>2]=k;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0;break}else{zi(sa,32,la,0,k)|0;break}}while(0);p=c[X+40>>2]|0;do if(p|0){c[pa>>2]=0;c[pa+4>>2]=0;c[pa+8>>2]=0;c[pa+12>>2]=0;c[pa+16>>2]=0;c[pa+20>>2]=0;c[pa+4>>2]=201;c[pa+24>>2]=qa;c[qa+4>>2]=la;c[qa+8>>2]=Z;if((c[p>>2]|0)<=0)break;q=X+4|0;r=qa+12|0;s=f+16|0;t=f+8|0;u=f+12|0;o=0;do{S:do if((b[(c[q>>2]|0)+(o<<1)>>1]|0)==-2){c[r>>2]=o;c[qa>>2]=c[p+4+(o*20|0)>>2];j=c[s>>2]|0;if(j|0)$j(pa,j)|0;k=c[t>>2]|0;T:do if(k|0){j=c[k>>2]|0;if((j|0)<=0)break;k=k+4|0;while(1){n=c[k>>2]|0;if(n|0?$j(pa,n)|0:0)break T;if((j|0)>1){j=j+-1|0;k=k+20|0}else break}}while(0);k=c[u>>2]|0;if(!k)break;j=c[k>>2]|0;if((j|0)<=0)break;k=k+4|0;while(1){n=c[k>>2]|0;if(n|0?$j(pa,n)|0:0)break S;if((j|0)>1){j=j+-1|0;k=k+20|0}else break}}while(0);o=o+1|0}while((o|0)<(c[p>>2]|0))}while(0);fa=c[$>>2]|0;a[f+752+(g*80|0)+45>>0]=(fa&4096|0)==0?aa&255^7:-90;c[f+752+(g*80|0)+48>>2]=Z;a[f+752+(g*80|0)+46>>0]=fa>>>16&1;if(!(fa&15))a[f+752+(g*80|0)+47>>0]=1;D=_?0:X}else{n=c[r+8+(s*72|0)+28>>2]|0;j=c[r+8+(s*72|0)+24>>2]|0;m=sa+136|0;k=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(k|0)){fa=k+1|0;c[m>>2]=fa;ea=c[sa+88>>2]|0;a[ea+(k*20|0)>>0]=15;b[ea+(k*20|0)+2>>1]=0;c[ea+(k*20|0)+4>>2]=n;c[ea+(k*20|0)+8>>2]=0;c[ea+(k*20|0)+12>>2]=j;c[ea+(k*20|0)+16>>2]=0;a[ea+(k*20|0)+1>>0]=0;j=fa}else{zi(sa,15,n,0,j)|0;j=c[m>>2]|0}if((c[(c[ja>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;fa=c[sa+88>>2]|0;a[fa+(j*20|0)>>0]=16;b[fa+(j*20|0)+2>>1]=0;c[fa+(j*20|0)+4>>2]=n;c[fa+(j*20|0)+8>>2]=x;c[fa+(j*20|0)+12>>2]=0;c[fa+(j*20|0)+16>>2]=0;a[fa+(j*20|0)+1>>0]=0}else j=zi(sa,16,n,x,0)|0;c[f+752+(g*80|0)+52>>2]=j;a[f+752+(g*80|0)+45>>0]=13;D=0}while(0);F=f+100|0;G=f+92|0;v=f+752+(g*80|0)+4|0;w=qa+4|0;x=pa+4|0;y=pa+24|0;u=pa+20|0;A=f+752+(g*80|0)+36|0;E=sa+88|0;B=f+50|0;j=D|0?1:2;while(1){k=c[G>>2]|0;if((k|0)<=0)break;C=(j|0)==1;t=(j|0)>2;j=0;s=c[F>>2]|0;while(1){r=s+10|0;U:do if(!(b[r>>1]&6)){fa=s+40|0;ea=ua;if(!((c[ea>>2]&c[fa>>2]|0)==0?(c[ea+4>>2]&c[fa+4>>2]|0)==0:0)){a[B>>0]=1;break}q=c[s>>2]|0;if(c[ka>>2]|0?(c[q+4>>2]&1|0)==0:0)break;do if(C){fa=c[v>>2]|0;c[pa>>2]=0;c[pa+4>>2]=0;c[pa+8>>2]=0;c[pa+12>>2]=0;c[pa+16>>2]=0;c[pa+20>>2]=0;c[w>>2]=fa;c[qa>>2]=D;c[x>>2]=200;c[y>>2]=qa;if((q|0)!=0?($j(pa,q)|0,(a[u>>0]|0)!=0):0){j=2;break U}else break}while(0);n=e[r>>1]|0;if(!(t|(n&4096|0)==0)){j=(j|0)==0?3:j;break}do if(!(n&512))Dk(va,q,ia,16);else{p=c[A>>2]|0;o=(p&1)+21|0;p=p>>>1;n=c[m>>2]|0;if((c[(c[ja>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[E>>2]|0;a[fa+(n*20|0)>>0]=o;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=p;c[fa+(n*20|0)+8>>2]=0;c[fa+(n*20|0)+12>>2]=0;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0}else n=zi(sa,o,p,0,0)|0;Dk(va,q,ia,16);if(!n)break;o=c[m>>2]|0;if(!(a[(c[sa>>2]|0)+73>>0]|0))n=(c[E>>2]|0)+(((n|0)<0?o+-1|0:n)*20|0)|0;else n=46708;c[n+8>>2]=o}while(0);b[r>>1]=b[r>>1]|4}while(0);if((k|0)>1){s=s+48|0;k=k+-1|0}else break}if((j|0)<=0){ga=818;break}}if((ga|0)==818?(ha=c[G>>2]|0,(ha|0)>0):0){r=pa+4|0;s=pa+12|0;t=pa+16|0;u=pa+8|0;v=pa+20|0;w=pa+24|0;x=pa+28|0;y=pa+72|0;A=pa+17|0;B=pa+18|0;C=qa+12|0;q=c[F>>2]|0;p=ha;while(1){do if((((((b[q+10>>1]&6)==0?(ha=e[q+12>>1]|0,!((ha&130|0)==0|(ha&2048|0)==0)):0)?(c[q+20>>2]|0)==(la|0):0)?(c[ka>>2]|0)==0:0)?(ma=c[q>>2]|0,na=c[q+28>>2]|0,c[pa>>2]=ra,c[r>>2]=ra,c[s>>2]=0,a[t>>0]=0,c[u>>2]=0,(na|0)!=-2):0)?(c[v>>2]=131,c[w>>2]=0,c[x>>2]=la,b[y>>1]=na,a[A>>0]=1,a[B>>0]=1,oa=am(pa)|0,oa|0):0){k=0;j=oa;while(1){o=j+32|0;n=c[o>>2]|0;o=c[o+4>>2]|0;if((n&h|0)==0&(o&i|0)==0){if((n|0)==0&(o|0)==0?b[j+12>>1]&130:0){ga=829;break}k=(k|0)==0?j:k}j=am(pa)|0;if(!j){ga=833;break}}if((ga|0)!=829)if((ga|0)==833)if(!k)break;else j=k;if(b[j+10>>1]&4)break;K=qa;D=c[j>>2]|0;H=K+48|0;do{c[K>>2]=c[D>>2];K=K+4|0;D=D+4|0}while((K|0)<(H|0));c[C>>2]=c[ma+12>>2];Dk(va,qa,ia,16);break}while(0);if((p|0)>1){q=q+48|0;p=p+-1|0}else break}}i=c[ka>>2]|0;if(i|0){h=c[m>>2]|0;c[f+752+(g*80|0)+28>>2]=h;if((c[(c[ja>>2]|0)+48>>2]|0)>(h|0)){c[m>>2]=h+1;sa=c[E>>2]|0;a[sa+(h*20|0)>>0]=67;b[sa+(h*20|0)+2>>1]=0;c[sa+(h*20|0)+4>>2]=1;c[sa+(h*20|0)+8>>2]=i;c[sa+(h*20|0)+12>>2]=0;c[sa+(h*20|0)+16>>2]=0;a[sa+(h*20|0)+1>>0]=0}else zi(sa,67,1,i,0)|0;j=va+25|0;h=a[j>>0]|0;if(h<<24>>24){k=va+19|0;i=h&255;h=0;do{if(a[va+148+(h*20|0)+6>>0]|0?(ta=a[k>>0]|0,(ta&255)<8):0){sa=c[va+148+(h*20|0)+12>>2]|0;a[k>>0]=ta+1<<24>>24;c[va+348+((ta&255)<<2)>>2]=sa}h=h+1|0}while((h|0)!=(i|0))}a[j>>0]=0;h=c[G>>2]|0;if((h|0)>0){j=c[F>>2]|0;k=0;while(1){i=j+10|0;if((b[i>>1]&6)==0?(ta=j+40|0,sa=ua,(c[sa>>2]&c[ta>>2]|0)==0?(c[sa+4>>2]&c[ta+4>>2]|0)==0:0):0){Dk(va,c[j>>2]|0,ia,16);b[i>>1]=b[i>>1]|4;h=c[G>>2]|0}k=k+1|0;if((k|0)>=(h|0))break;else j=j+48|0}}}va=ua;ua=c[va+4>>2]|0;va=c[va>>2]|0;z=ua;l=wa;return va|0}function jm(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;w=c[f>>2]|0;G=c[d+8>>2]|0;a:do switch(a[w>>0]|0){case 45:case 53:{j=Rk(d,c[w+16>>2]|0,j)|0;break}case 50:{k=G+136|0;i=c[k>>2]|0;if((c[(c[G+12>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;G=c[G+88>>2]|0;a[G+(i*20|0)>>0]=70;b[G+(i*20|0)+2>>1]=0;c[G+(i*20|0)+4>>2]=0;c[G+(i*20|0)+8>>2]=j;c[G+(i*20|0)+12>>2]=0;c[G+(i*20|0)+16>>2]=0;a[G+(i*20|0)+1>>0]=0;break a}else{zi(G,70,0,j,0)|0;break a}}default:{E=c[g+64>>2]|0;D=E+36|0;if((c[D>>2]&1024|0)==0?(k=c[E+32>>2]|0,(k|0)!=0):0)i=(a[(c[k+28>>2]|0)+h>>0]|0)==0?i:(i|0)==0&1;b:do if((h|0)>0){l=c[E+48>>2]|0;k=0;while(1){F=c[l+(k<<2)>>2]|0;if(F|0?(c[F>>2]|0)==(w|0):0)break;k=k+1|0;if((k|0)>=(h|0))break b}lm(g,f);g=j;return g|0}while(0);F=E+40|0;m=e[F>>1]|0;if((m|0)>(h|0)){n=c[E+48>>2]|0;k=0;l=h;do{k=((c[c[n+(l<<2)>>2]>>2]|0)==(w|0)&1)+k|0;l=l+1|0}while((l|0)<(m|0))}else k=0;if((c[w+4>>2]&2048|0)!=0?(c[c[c[w+20>>2]>>2]>>2]|0)!=1:0){x=c[d>>2]|0;y=sj(x,w,0,0)|0;v=x+73|0;if(!(a[v>>0]|0)){t=y+20|0;r=c[c[t>>2]>>2]|0;u=y+12|0;s=c[(c[u>>2]|0)+20>>2]|0;n=b[F>>1]|0;if((n&65535|0)>(h|0)){q=E+48|0;l=0;p=h;m=0;do{o=c[(c[q>>2]|0)+(p<<2)>>2]|0;if((c[o>>2]|0)==(w|0)){n=(c[o+24>>2]|0)+-1|0;C=r+4+(n*20|0)|0;m=Mi(c[d>>2]|0,m,c[C>>2]|0)|0;c[C>>2]=0;n=s+4+(n*20|0)|0;l=Mi(c[d>>2]|0,l,c[n>>2]|0)|0;c[n>>2]=0;n=b[F>>1]|0}p=p+1|0}while((p|0)<(n&65535|0))}else{m=0;l=0}if(r|0)Rf(x,r);if(s|0)Rf(x,s);c[(c[u>>2]|0)+20>>2]=l;c[c[t>>2]>>2]=m;if(l|0?(c[l>>2]|0)==1:0){m=l+4|0;l=c[m>>2]|0;c[m>>2]=0;m=c[u>>2]|0;if(m|0)Qf(x,m);c[u>>2]=l}m=c[(c[t>>2]|0)+44>>2]|0;if(m|0?(c[m>>2]|0)>0:0){l=0;do{b[m+4+(l*20|0)+16>>1]=0;l=l+1|0}while((l|0)<(c[m>>2]|0))}if(!(a[v>>0]|0)){n=c[d>>2]|0;o=k<<2;c:do if(!n){C=Ft(o|0,0,-1,-1)|0;B=z;if(B>>>0>0|(B|0)==0&C>>>0>2147483390)l=0;else{if(!(c[2]|0)){l=jb[c[52>>2]&255](o)|0;A=62;break}l=jb[c[68>>2]&255](o)|0;if((c[11829]|0)>>>0>>0)c[11829]=o;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){B=c[11822]|0;C=Gt(m|0,n|0,l|0,((l|0)<0)<<31>>31|0)|0;w=z;c[11616]=(0>(w|0)|0==(w|0)&B>>>0>=C>>>0)&1}l=jb[c[52>>2]&255](l)|0;if(!l){l=0;break}m=jb[c[64>>2]&255](l)|0;m=(c[11822]|0)+m|0;c[11822]=m;if(m>>>0>(c[11826]|0)>>>0)c[11826]=m;m=(c[11825]|0)+1|0;c[11825]=m;if(m>>>0<=(c[11831]|0)>>>0){A=63;break}c[11831]=m;A=63}}else{if(c[n+264>>2]|0){if(a[n+73>>0]|0){l=0;break}}else{do if(0<0|(0==0?(e[n+268>>1]|0)>>>0>>0:0))l=1;else{m=n+292|0;l=c[m>>2]|0;if(l|0){c[m>>2]=c[l>>2];A=n+276|0;c[A>>2]=(c[A>>2]|0)+1;A=62;break c}m=n+288|0;l=c[m>>2]|0;if(!l){l=2;break}c[m>>2]=c[l>>2];A=n+276|0;c[A>>2]=(c[A>>2]|0)+1;A=62;break c}while(0);C=n+276+(l<<2)|0;c[C>>2]=(c[C>>2]|0)+1}l=Ec(n,o,0)|0;A=62}while(0);if((A|0)==62)if(!l)l=0;else A=63;if((A|0)==63)Vt(l|0,0,o|0)|0;o=Mk(d,y,4,0,l)|0;c[(c[f>>2]|0)+28>>2]=c[y+28>>2];m=l;n=l;A=66}else A=65}else A=65;if((A|0)==65)if(!y){m=0;l=5;n=0}else{m=0;o=5;n=0;A=66}if((A|0)==66){Qf(x,y);l=o}C=c[f>>2]|0}else{C=w;m=0;l=Mk(d,w,4,0,0)|0;n=0}B=c[C+28>>2]|0;t=(((l|0)==4?(i|0)==0&1:i)|0)!=0;i=t?33:37;y=G+136|0;o=c[y>>2]|0;A=G+12|0;if((c[(c[A>>2]|0)+48>>2]|0)>(o|0)){c[y>>2]=o+1;x=c[G+88>>2]|0;a[x+(o*20|0)>>0]=i;b[x+(o*20|0)+2>>1]=0;c[x+(o*20|0)+4>>2]=B;c[x+(o*20|0)+8>>2]=0;c[x+(o*20|0)+12>>2]=0;c[x+(o*20|0)+16>>2]=0;a[x+(o*20|0)+1>>0]=0}else zi(G,i,B,0,0)|0;c[D>>2]=c[D>>2]|2048;s=g+56|0;i=c[s>>2]|0;if(!i){i=c[A>>2]|0;q=i+68|0;r=c[q>>2]|0;c[q>>2]=r+1;q=i+72|0;if(!(r+-1&r)){o=c[i>>2]|0;p=c[q>>2]|0;i=Mc(o,p,r<<3|4,0)|0;do if(!((p|0)==0|(i|0)!=0)){if(o|0){if(c[o+464>>2]|0){Lc(o,p);break}D=p;if(D>>>0>=(c[o+296>>2]|0)>>>0?D>>>0<(c[o+300>>2]|0)>>>0:0){D=o+292|0;c[p>>2]=c[D>>2];c[D>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{D=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[q>>2]=i}else i=c[q>>2]|0;if(i|0)c[i+(r<<2)>>2]=-1;c[g+16>>2]=~r;i=c[s>>2]|0}q=i+k|0;c[s>>2]=q;k=c[d>>2]|0;o=g+60|0;p=c[o>>2]|0;q=Mc(k,p,q*12|0,0)|0;do if(!((p|0)==0|(q|0)!=0)){if(k|0){if(c[k+464>>2]|0){Lc(k,p);break}D=p;if(D>>>0>=(c[k+296>>2]|0)>>>0?D>>>0<(c[k+300>>2]|0)>>>0:0){D=k+292|0;c[p>>2]=c[D>>2];c[D>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{D=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[o>>2]=q;if(q){o=b[F>>1]|0;if((o&65535|0)>(h|0)){w=E+48|0;x=j-h|0;u=(l|0)==1;v=G+88|0;s=t?4:5;t=(m|0)==0;k=0;l=q+(i*12|0)|0;r=h;i=o;do{if((c[c[(c[w>>2]|0)+(r<<2)>>2]>>2]|0)==(C|0)){q=x+r|0;do if(u){i=c[y>>2]|0;if((c[(c[A>>2]|0)+48>>2]|0)>(i|0)){c[y>>2]=i+1;p=c[v>>2]|0;a[p+(i*20|0)>>0]=123;b[p+(i*20|0)+2>>1]=0;c[p+(i*20|0)+4>>2]=B;c[p+(i*20|0)+8>>2]=q;c[p+(i*20|0)+12>>2]=0;c[p+(i*20|0)+16>>2]=0;a[p+(i*20|0)+1>>0]=0;p=k;k=i;break}else{p=k;k=zi(G,123,B,q,0)|0;break}}else{if(t){i=k;o=0}else{i=k+1|0;o=c[m+(k<<2)>>2]|0}k=c[y>>2]|0;if((c[(c[A>>2]|0)+48>>2]|0)>(k|0)){c[y>>2]=k+1;p=c[v>>2]|0;a[p+(k*20|0)>>0]=96;b[p+(k*20|0)+2>>1]=0;c[p+(k*20|0)+4>>2]=B;c[p+(k*20|0)+8>>2]=o;c[p+(k*20|0)+12>>2]=q;c[p+(k*20|0)+16>>2]=0;a[p+(k*20|0)+1>>0]=0;p=i;break}else{p=i;k=zi(G,96,B,o,q)|0;break}}while(0);c[l+4>>2]=k;k=c[y>>2]|0;if((c[(c[A>>2]|0)+48>>2]|0)>(k|0)){c[y>>2]=k+1;E=c[v>>2]|0;a[E+(k*20|0)>>0]=50;b[E+(k*20|0)+2>>1]=0;c[E+(k*20|0)+4>>2]=q;c[E+(k*20|0)+8>>2]=0;c[E+(k*20|0)+12>>2]=0;c[E+(k*20|0)+16>>2]=0;a[E+(k*20|0)+1>>0]=0}else zi(G,50,q,0,0)|0;if((r|0)==(h|0)){c[l>>2]=B;k=s}else k=-90;a[l+8>>0]=k;l=l+12|0;k=p;i=b[F>>1]|0}r=r+1|0}while((r|0)<(i&65535|0))}}else c[s>>2]=0;k=c[d>>2]|0;if(n){if(k|0){if(c[k+464>>2]|0){Lc(k,n);break a}G=n;if(G>>>0>=(c[k+296>>2]|0)>>>0?G>>>0<(c[k+300>>2]|0)>>>0:0){G=k+292|0;c[n>>2]=c[G>>2];c[G>>2]=n;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break a}else{G=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break a}}}}while(0);lm(g,f);g=j;return g|0}function km(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;a:do if(e|0){h=a[e>>0]|0;if(h<<24>>24==-106)h=a[e+38>>0]|0;switch(h<<24>>24){case -105:{h=e+20|0;break}case 119:{h=c[e+20>>2]|0;break}default:break a}if((c[c[h>>2]>>2]|0)>1){if(!(c[e+4>>2]&2048)){e=c[e+20>>2]|0;if((g|0)>0)h=0;else return;do{Di(d,c[e+4+(h*20|0)>>2]|0,h+f|0);h=h+1|0}while((h|0)!=(g|0));return}j=c[d+8>>2]|0;i=Nk(d,e,0,0)|0;h=g+-1|0;e=j+136|0;d=c[e>>2]|0;if((c[(c[j+12>>2]|0)+48>>2]|0)>(d|0)){c[e>>2]=d+1;g=c[j+88>>2]|0;a[g+(d*20|0)>>0]=75;b[g+(d*20|0)+2>>1]=0;c[g+(d*20|0)+4>>2]=i;c[g+(d*20|0)+8>>2]=f;c[g+(d*20|0)+12>>2]=h;c[g+(d*20|0)+16>>2]=0;a[g+(d*20|0)+1>>0]=0;return}else{zi(j,75,i,f,h)|0;return}}}while(0);Di(d,e,f);return}function lm(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;g=e+10|0;f=b[g>>1]|0;if(f&4)return;o=d+72|0;if(!(c[d>>2]|0)){k=o;j=c[k>>2]|0;k=c[k+4>>2]|0;i=0;while(1){h=e+40|0;if(!((c[h>>2]&j|0)==0?(c[h+4>>2]&k|0)==0:0)){d=13;break}b[g>>1]=f&65535|((i|0)==0|(f&1024)==0?4:512);h=c[e+16>>2]|0;if((h|0)<0){d=13;break}d=c[(c[e+4>>2]|0)+20>>2]|0;f=d+(h*48|0)+14|0;g=(a[f>>0]|0)+-1<<24>>24;a[f>>0]=g;if(g<<24>>24){d=13;break}g=d+(h*48|0)+10|0;f=b[g>>1]|0;if(f&4){d=13;break}else{e=d+(h*48|0)|0;i=i+1|0}}if((d|0)==13)return}else{l=e;m=0;n=f;p=g}while(1){if(!(c[(c[l>>2]|0)+4>>2]&1)){d=13;break}k=o;j=l+40|0;if(!((c[j>>2]&c[k>>2]|0)==0?(c[j+4>>2]&c[k+4>>2]|0)==0:0)){d=13;break}b[p>>1]=n&65535|((m|0)==0|(n&1024)==0?4:512);e=c[l+16>>2]|0;if((e|0)<0){d=13;break}d=c[(c[l+4>>2]|0)+20>>2]|0;n=d+(e*48|0)+14|0;p=(a[n>>0]|0)+-1<<24>>24;a[n>>0]=p;if(p<<24>>24){d=13;break}p=d+(e*48|0)+10|0;n=b[p>>1]|0;if(n&4){d=13;break}else{l=d+(e*48|0)|0;m=m+1|0}}if((d|0)==13)return}function mm(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;if((e|0)<=0)return;m=d+38|0;n=d+20|0;o=d+20|0;l=0;do{h=a[d>>0]|0;if(h<<24>>24==-106)g=a[m>>0]|0;else g=h;switch(g<<24>>24){case -105:{g=n;k=7;break}case 119:{g=c[o>>2]|0;k=7;break}default:g=d}if((k|0)==7)if((c[c[g>>2]>>2]|0)>1){if(h<<24>>24!=119?(a[m>>0]|0)!=119:0)g=n;else g=c[o>>2]|0;g=c[(c[g>>2]|0)+4+(l*20|0)>>2]|0}else g=d;i=f+l|0;j=a[i>>0]|0;h=Pj(g)|0;if(j<<24>>24==0|h<<24>>24==0)if(((h|j)<<24>>24==0?1:((h&255)+(j&255)&255)<<24>>24==65)|j<<24>>24==65)k=24;else k=15;else if(h<<24>>24<67&j<<24>>24<67|j<<24>>24==65)k=24;else k=15;a:do if((k|0)==15){k=0;h=a[g>>0]|0;if((h|1)<<24>>24==-107)do{g=c[g+12>>2]|0;h=a[g>>0]|0}while((h|1)<<24>>24==-107);if(h<<24>>24==-106)h=a[g+38>>0]|0;switch(h<<24>>24){case -123:{k=24;break a}case -122:if((j+-67&255)<2){k=24;break a}else break a;case -124:switch(j<<24>>24){case 67:case 69:{k=24;break a}default:break a}case 97:if(j<<24>>24==66){k=24;break a}else break a;case -111:if((j+-67&255)<2&(b[g+32>>1]|0)<0){k=24;break a}else break a;default:break a}}while(0);if((k|0)==24){k=0;a[i>>0]=65}l=l+1|0}while((l|0)!=(e|0));return}function nm(d,e){d=d|0;e=e|0;d=c[d+24>>2]|0;if(ck(0,e,c[d>>2]|0,c[d+4>>2]|0)|0){e=0;return e|0}a[e>>0]=-111;c[e+28>>2]=c[d+8>>2];b[e+32>>1]=c[d+12>>2];c[e+44>>2]=0;e=1;return e|0}function om(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;m=c[d+8>>2]|0;i=d+148|0;j=a[d+25>>0]|0;a:do if(j<<24>>24){l=j&255;j=0;k=i;while(1){if((c[k>>2]|0)==(g|0)?(b[k+4>>1]|0)==(f|0):0)break;j=j+1|0;if((j|0)>=(l|0))break a;else k=k+20|0}g=d+64|0;j=c[g>>2]|0;c[g>>2]=j+1;c[k+16>>2]=j;k=c[k+12>>2]|0;j=0;while(1){if((c[i+12>>2]|0)==(k|0))a[i+6>>0]=0;j=j+1|0;if((j|0)==(l|0))break;else i=i+20|0}if((k|0)==(h|0))return;i=m+136|0;j=c[i>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;m=c[m+88>>2]|0;a[m+(j*20|0)>>0]=76;b[m+(j*20|0)+2>>1]=0;c[m+(j*20|0)+4>>2]=k;c[m+(j*20|0)+8>>2]=h;c[m+(j*20|0)+12>>2]=0;c[m+(j*20|0)+16>>2]=0;a[m+(j*20|0)+1>>0]=0;return}else{zi(m,76,k,h,0)|0;return}}while(0);Ek(m,e,g,f,h);Tk(d,g,f,h);return}function pm(d,e){d=d|0;e=e|0;var f=0,g=0,h=0;if((a[e>>0]|0)!=-111){d=0;return d|0}f=c[d+24>>2]|0;if((c[e+28>>2]|0)!=(c[f+4>>2]|0)){d=0;return d|0}f=c[f>>2]|0;h=b[e+32>>1]|0;e=b[f+52>>1]|0;a:do if(e<<16>>16){g=c[f+4>>2]|0;e=e&65535;f=0;while(1){if((b[g+(f<<1)>>1]|0)==h<<16>>16)break;f=f+1|0;if((f|0)>=(e|0))break a}if((f&65535)<<16>>16>=0){d=0;return d|0}}while(0);a[d+20>>0]=1;d=2;return d|0}function qm(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;do if(h|0){h=d+16|0;j=c[h>>2]|0;k=j+5|0;if(k>>>0<(c[d+8>>2]|0)>>>0){c[h>>2]=k;s=(c[d+4>>2]|0)+j|0;a[s>>0]=a[33087]|0;a[s+1>>0]=a[33088]|0;a[s+2>>0]=a[33089]|0;a[s+3>>0]=a[33090]|0;a[s+4>>0]=a[33091]|0;break}else{Fc(d,33087,5);break}}while(0);s=(f|0)>1;do if(s){h=d+16|0;j=c[h>>2]|0;k=j+1|0;if(k>>>0<(c[d+8>>2]|0)>>>0){c[h>>2]=k;a[(c[d+4>>2]|0)+j>>0]=40;break}else{Fc(d,33191,1);break}}else if((f|0)!=1){h=d+16|0;j=c[h>>2]|0;k=j+1|0;if(k>>>0<(c[d+8>>2]|0)>>>0){c[h>>2]=k;a[(c[d+4>>2]|0)+j>>0]=a[i>>0]|0;return}else{Fc(d,i,1);return}}while(0);o=e+4|0;m=e+12|0;q=d+16|0;r=d+8|0;n=d+4|0;l=0;do{do if(l|0){h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[n>>2]|0)+h>>0]=44;break}else{Fc(d,19015,1);break}}while(0);h=b[(c[o>>2]|0)+(l+g<<1)>>1]|0;switch(h<<16>>16){case -2:{h=33080;p=21;break}case -1:{h=24823;p=21;break}default:{h=c[(c[(c[m>>2]|0)+4>>2]|0)+(h<<16>>16<<4)>>2]|0;if(!h){e=0;h=0}else p=21}}if((p|0)==21){p=0;e=(As(h)|0)&1073741823}j=c[q>>2]|0;k=j+e|0;if(k>>>0<(c[r>>2]|0)>>>0){if(e|0){c[q>>2]=k;Tt((c[n>>2]|0)+j|0,h|0,e|0)|0}}else Fc(d,h,e);l=l+1|0}while((l|0)!=(f|0));h=c[q>>2]|0;j=h+1|0;k=j>>>0<(c[r>>2]|0)>>>0;do if(s){if(k){c[q>>2]=j;a[(c[d+4>>2]|0)+h>>0]=41}else Fc(d,22108,1);h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[d+4>>2]|0)+h>>0]=a[i>>0]|0}else Fc(d,i,1);h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[d+4>>2]|0)+h>>0]=40;break}else{Fc(d,33191,1);break}}else if(k){c[q>>2]=j;a[(c[d+4>>2]|0)+h>>0]=a[i>>0]|0;break}else{Fc(d,i,1);break}while(0);e=d+4|0;k=0;do{do if(k|0){h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[e>>2]|0)+h>>0]=44;break}else{Fc(d,19015,1);break}}while(0);h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[e>>2]|0)+h>>0]=63}else Fc(d,30146,1);k=k+1|0}while((k|0)!=(f|0));if(!s)return;h=c[q>>2]|0;j=h+1|0;if(j>>>0<(c[r>>2]|0)>>>0){c[q>>2]=j;a[(c[d+4>>2]|0)+h>>0]=41;return}else{Fc(d,22108,1);return}}function rm(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b){j=0;a=0;z=j;return a|0}else{e=0;d=0}do{j=c[b+28>>2]|0;i=c[b>>2]|0;if((i|0)!=0?(c[i>>2]|0)>0:0){h=0;f=0;g=0;do{k=fm(a,c[i+4+(h*20|0)>>2]|0)|0;f=k|f;g=z|g;h=h+1|0}while((h|0)<(c[i>>2]|0))}else{f=0;g=0}i=f|e;h=g|d;g=c[b+36>>2]|0;if((g|0)!=0?(c[g>>2]|0)>0:0){f=0;d=0;e=0;do{k=fm(a,c[g+4+(f*20|0)>>2]|0)|0;d=k|d;e=z|e;f=f+1|0}while((f|0)<(c[g>>2]|0))}else{d=0;e=0}i=i|d;h=h|e;g=c[b+44>>2]|0;if((g|0)!=0?(c[g>>2]|0)>0:0){f=0;e=0;d=0;do{k=fm(a,c[g+4+(f*20|0)>>2]|0)|0;e=k|e;d=z|d;f=f+1|0}while((f|0)<(c[g>>2]|0))}else{e=0;d=0}g=fm(a,c[b+32>>2]|0)|0;d=h|d|z;k=fm(a,c[b+40>>2]|0)|0;e=i|e|g|k;d=d|z;if((j|0)!=0?(c[j>>2]|0)>0:0){f=0;do{i=rm(a,c[j+8+(f*72|0)+20>>2]|0)|0;d=z|d;k=fm(a,c[j+8+(f*72|0)+48>>2]|0)|0;e=i|e|k;d=d|z;f=f+1|0}while((f|0)<(c[j>>2]|0))}b=c[b+48>>2]|0}while((b|0)!=0);b=e;z=d;return b|0}function sm(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0;cb=l;l=l+96|0;_a=cb;$a=j&65535;if(j<<16>>16?b[(c[c[f>>2]>>2]|0)+68>>1]&64:0){bb=0;l=cb;return bb|0}Fa=c[g>>2]|0;n=Fa&65535;if(n>>>0>63){bb=0;l=cb;return bb|0}Ga=Rt(1,0,n|0)|0;Ga=Ft(Ga|0,z|0,-1,-1)|0;Ha=z;j=i&65535;Ea=j&2048;Da=(Ea|0)==0;Ea=(Ea&65535)>>>11|386;a:do if(!((Ga|0)==0&(Ha|0)==0)){ua=h+24|0;va=f+4|0;wa=(n|0)==0;xa=(n|0)!=0;ya=(j&192|0)==0;Z=(j&64|0)==0;_=f+488|0;$=_a+20|0;aa=_a+4|0;ba=_a+8|0;ca=_a+24|0;da=f+80|0;ea=_a+4|0;fa=_a+12|0;ga=_a+16|0;ha=_a+8|0;ia=Ea&65535;ja=_a+20|0;ka=_a+24|0;la=_a+28|0;ma=_a+72|0;na=_a+17|0;oa=_a+18|0;E=1;h=0;Y=0;T=0;U=0;j=0;i=0;C=0;D=0;b:while(1){if((Y|0)>0){X=h+8|0;W=c[X>>2]|j;X=c[X+4>>2]|i}else{W=j;X=i}if((Y|0)<($a|0)){j=c[(c[ua>>2]|0)+(Y<<2)>>2]|0;if(Da){Oa=j;V=10}else{q=E;r=j;p=D;o=C;v=T;w=U}}else{Oa=k;V=10}if((V|0)==10){V=0;B=Oa+36|0;j=c[B>>2]|0;Q=Oa+24|0;if(j&1024|0){V=11;break}R=Oa+30|0;b[R>>1]=0;S=c[(c[va>>2]|0)+8+((d[Oa+16>>0]|0)*72|0)+44>>2]|0;if(wa){p=C;q=D}else{w=~W;x=~X;y=Oa+40|0;A=Oa+48|0;v=0;i=C;h=D;do{t=Rt(1,0,v|0)|0;u=z;c:do if((t&i|0)==0&(u&h|0)==0){s=g+4+(v*20|0)|0;j=c[s>>2]|0;o=c[j+4>>2]|0;if(o&4096)do{if(!(o&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;o=c[j+4>>2]|0}while((o&4096|0)!=0);if((a[j>>0]|0)==-111?(c[j+28>>2]|0)==(S|0):0){r=j+32|0;j=b[r>>1]|0;c[_a>>2]=da;c[ea>>2]=da;c[fa>>2]=0;a[ga>>0]=0;c[ha>>2]=0;if(j<<16>>16!=-2?(c[ja>>2]=ia,c[ka>>2]=0,c[la>>2]=S,b[ma>>1]=j,a[na>>0]=1,a[oa>>0]=1,Ra=am(_a)|0,Ra|0):0){p=0;q=Ra;while(1){o=q+32|0;j=c[o>>2]|0;o=c[o+4>>2]|0;if((j&w|0)==0&(o&x|0)==0){if((j|0)==0&(o|0)==0?(Sa=b[q+12>>1]|0,Sa&130):0){V=27;break}La=(p|0)==0?q:p}else La=p;j=am(_a)|0;if(!j){V=31;break}else{p=La;q=j}}if((V|0)==27){V=0;Ia=q;Ta=Sa}else if((V|0)==31){V=0;if(!La)break;Ia=La;Ta=b[La+12>>1]|0}d:do if(Ta<<16>>16==1){j=b[y>>1]|0;if(!(j<<16>>16))break c;p=c[A>>2]|0;o=j&65535;j=0;while(1){if((Ia|0)==(c[p+(j<<2)>>2]|0))break d;j=j+1|0;if((j|0)>=(o|0))break c}}while(0);do if(Ta&130){if((b[r>>1]|0)<=-1)break;q=c[f>>2]|0;p=c[Ia>>2]|0;j=Qj(q,c[s>>2]|0)|0;if(!j)o=c[(c[q>>2]|0)+8>>2]|0;else o=j;j=Qj(q,p)|0;if(!j)j=c[(c[q>>2]|0)+8>>2]|0;o=c[o>>2]|0;p=c[j>>2]|0;P=a[o>>0]|0;j=(d[17324+(P&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0;if(!(P<<24>>24==0|(j|0)!=0))do{o=o+1|0;p=p+1|0;P=a[o>>0]|0;j=(d[17324+(P&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(P<<24>>24==0|(j|0)!=0));if(j|0)break c}while(0);i=t|i;h=u|h;break}}}while(0);v=v+1|0}while((v|0)!=(n|0));j=c[B>>2]|0;p=i;q=h}do if(!(j&4096)){if(!(j&256)){h=c[Oa+32>>2]|0;if(!h){Pa=0;V=125;break b}if(a[h+55>>0]&4){Pa=0;V=125;break b}i=b[h+52>>1]|0;j=(a[h+54>>0]|0)!=0&1;if(!(i<<16>>16)){Ma=j;Ua=p;Va=q;V=109;break}else{o=h;P=b[h+50>>1]|0;O=i&65535}}else{o=0;P=0;j=E;O=1}F=Oa+42|0;G=Oa+48|0;H=(o|0)==0;I=o+32|0;J=o+40|0;K=Rt(1,0,Y|0)|0;L=z;M=o+4|0;N=o+28|0;E=o+12|0;i=0;A=0;C=0;D=0;B=p;y=q;e:while(1){p=e[Q>>1]|0;r=(D|0)<(p|0);f:do if(r?(D|0)>=(e[F>>1]|0):0){q=c[G>>2]|0;h=c[q+(D<<2)>>2]|0;x=b[h+12>>1]|0;o=x&65535;if((x&Ea)<<16>>16){Ba=i;pa=A;qa=C;sa=(o&256|0)==0?j:0;ta=D+1|0;za=B;Aa=y;break}if(o&1){o=c[h>>2]|0;h=D;while(1){h=h+1|0;if((h|0)>=(p|0)){Ca=1;V=64;break f}if((c[c[q+(h<<2)>>2]>>2]|0)==(o|0)){Ca=0;V=64;break}}}else{Ca=1;V=64}}else{Ca=1;V=64}while(0);if((V|0)==64){V=0;if(!H){o=b[(c[M>>2]|0)+(D<<1)>>1]|0;h=a[(c[N>>2]|0)+D>>0]|0;p=c[E>>2]|0;o=o<<16>>16==(b[p+40>>1]|0)?-1:o<<16>>16;if((o|0)<0|j<<24>>24==0|r){v=o;ra=j}else{v=o;ra=(a[(c[p+4>>2]|0)+(o<<4)+12>>0]|0)==0?0:j}}else{h=0;v=-1;ra=j}if(!(xa&Ca<<24>>24!=0)){V=106;break}t=(v|0)>-2;u=(v|0)==-1;j=0;o=1;g:while(1){w=Rt(1,0,j|0)|0;x=z;do if((w&B|0)==0&(x&y|0)==0){s=g+4+(j*20|0)|0;p=c[s>>2]|0;h:do if(!p)p=0;else while(1){q=c[p+4>>2]|0;if(!(q&4096))break h;if(!(q&262144))p=p+12|0;else p=(c[p+20>>2]|0)+4|0;p=c[p>>2]|0;if(!p){p=0;break}}while(0);o=ya?0:o;if(t){if((a[p>>0]|0)!=-111)break;if((c[p+28>>2]|0)!=(S|0))break;if((b[p+32>>1]|0)!=(v|0))break}else{q=c[(c[J>>2]|0)+4+(D*20|0)>>2]|0;i:do if(!p)p=0;else while(1){r=c[p+4>>2]|0;if(!(r&4096))break i;if(!(r&262144))p=p+12|0;else p=(c[p+20>>2]|0)+4|0;p=c[p>>2]|0;if(!p){p=0;break}}while(0);j:do if(!q)q=0;else while(1){r=c[q+4>>2]|0;if(!(r&4096))break j;if(!(r&262144))q=q+12|0;else q=(c[q+20>>2]|0)+4|0;q=c[q>>2]|0;if(!q){q=0;break}}while(0);if(ck(0,p,q,S)|0)break}if(u){o=-1;break g}q=c[f>>2]|0;p=Qj(q,c[s>>2]|0)|0;if(!p)p=c[(c[q>>2]|0)+8>>2]|0;q=c[p>>2]|0;r=c[(c[I>>2]|0)+(D<<2)>>2]|0;s=a[q>>0]|0;p=(d[17324+(s&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0;if(!(s<<24>>24==0|(p|0)!=0))do{q=q+1|0;r=r+1|0;s=a[q>>0]|0;p=(d[17324+(s&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(s<<24>>24==0|(p|0)!=0));if(!p){o=v;break g}}while(0);j=j+1|0;if(!((j|0)<(n|0)&o<<24>>24!=0)){V=106;break e}}p=D+1|0;b[R>>1]=p;do if(Z){j=a[g+4+(j*20|0)+12>>0]|0;if(i<<24>>24)if((h^A)<<24>>24==j<<24>>24){j=A;break}else{V=106;break e}j=j^h;if(!(j<<24>>24)){i=1;j=0;break}Aa=m;Ba=c[Aa+4>>2]|L;i=m;c[i>>2]=c[Aa>>2]|K;c[i+4>>2]=Ba;i=1}else j=A;while(0);Ba=i;pa=j;qa=(o|0)==-1?1:C;sa=ra;ta=p;za=w|B;Aa=x|y}if((ta|0)<(O|0)){i=Ba;A=pa;C=qa;D=ta;j=sa;B=za;y=Aa}else{Ka=qa;Qa=sa;Wa=za;Xa=Aa;break}}if((V|0)==106){V=0;Ka=C;Qa=(D|0)==0|(D|0)<(P&65535|0)?0:ra;Wa=B;Xa=y}if(!(Ka<<24>>24)){Ma=Qa;Ua=Wa;Va=Xa;V=109}else{Na=1;Ya=Wa;Za=Xa}}else{Ma=E;Ua=p;Va=q;V=109}while(0);if((V|0)==109){V=0;if(!(Ma<<24>>24)){Ja=0;ab=Ua;bb=Va;break a}else{Na=Ma;Ya=Ua;Za=Va}}w=Oa+8|0;v=c[w>>2]|T;w=c[w+4>>2]|U;if(wa){q=Na;r=Oa;p=Za;o=Ya}else{t=~v;u=~w;s=0;r=Ya;j=Za;while(1){i=Rt(1,0,s|0)|0;q=z;k:do if((i&r|0)==0&(q&j|0)==0){h=c[g+4+(s*20|0)>>2]|0;o=fm(_,h)|0;p=z;do if((o|0)==0&(p|0)==0){a[$>>0]=1;c[aa>>2]=186;c[ba>>2]=187;c[ca>>2]=0;if((h|0)!=0?($j(_a,h)|0,(a[$>>0]|0)==0):0){i=r;break k}else break}while(0);U=(o&t|0)==0&(p&u|0)==0;i=(U?i:0)|r;j=(U?q:0)|j}else i=r;while(0);s=s+1|0;if((s|0)==(n|0)){q=Na;r=Oa;p=j;o=i;break}else r=i}}}if((Y|0)>=($a|0)|(p>>>0>Ha>>>0|(p|0)==(Ha|0)&o>>>0>=Ga>>>0|q<<24>>24==0)){Ja=q;ab=o;bb=p;break a}else{E=q;h=r;Y=Y+1|0;T=v;U=w;j=W;i=X;C=o;D=p}}if((V|0)==11){bb=(a[Q+5>>0]|0)==0;Ja=E;ab=bb?C:Ga;bb=bb?D:Ha;break}else if((V|0)==125){l=cb;return Pa|0}}else{Ja=1;ab=0;bb=0}while(0);if((ab|0)==(Ga|0)&(bb|0)==(Ha|0)){bb=Fa&255;l=cb;return bb|0}if(Ja<<24>>24){bb=-1;l=cb;return bb|0}while(1){j=n+-1|0;if((n|0)<=1){Pa=0;V=125;break}_a=Rt(1,0,j|0)|0;_a=Ft(_a|0,z|0,-1,-1)|0;$a=z;if((_a&ab|0)==(_a|0)&($a&bb|0)==($a|0)){Pa=j&255;V=125;break}else n=j}if((V|0)==125){l=cb;return Pa|0}return 0}function tm(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;I=c[c[d>>2]>>2]|0;if(f|0){if(!(b[g+40>>1]|0)){g=0;return g|0}m=g;p=c[m>>2]|0;m=c[m+4>>2]|0;n=b[g+20>>1]|0;o=b[g+22>>1]|0;l=b[f>>1]|0;k=f+8|0;a:do if(l<<16>>16){d=l;i=k;while(1){j=b[i+8>>1]|0;if(j<<16>>16>=n<<16>>16?(g=i,(c[g>>2]&p|0)==(p|0)?(c[g+4>>2]&m|0)==(m|0):0):0){h=i;break a}if(j<<16>>16<=n<<16>>16?(g=i,L=c[g>>2]|0,g=c[g+4>>2]|0,(L&p|0)==(L|0)&(g&m|0)==(g|0)):0){D=0;M=124;break}d=d+-1<<16>>16;if(!(d<<16>>16))break;else i=i+16|0}if((M|0)==124)return D|0;if((l&65535)>=3){j=l&65535;h=k;d=b[f+16>>1]|0;i=1;do{h=d<<16>>16>(b[f+8+(i<<4)+8>>1]|0)?f+8+(i<<4)|0:h;i=i+1|0;d=b[h+8>>1]|0}while((i|0)!=(j|0));if(d<<16>>16<=n<<16>>16){g=0;return g|0}}else M=11}else M=11;while(0);if((M|0)==11){h=l&65535;b[f>>1]=l+1<<16>>16;b[f+8+(h<<4)+10>>1]=o;h=f+8+(h<<4)|0}g=h;c[g>>2]=p;c[g+4>>2]=m;b[h+8>>1]=n;h=h+10|0;if((b[h>>1]|0)<=o<<16>>16){g=0;return g|0}b[h>>1]=o;g=0;return g|0}A=d+60|0;h=c[A>>2]|0;J=g+36|0;C=c[J>>2]|0;if((h|0)!=0&(C&512|0)!=0){t=a[g+16>>0]|0;u=g+40|0;v=g+42|0;w=g+20|0;x=g+22|0;y=g+48|0;z=(C&64|0)!=0;do{b:do if((a[h+16>>0]|0)==t<<24>>24?(B=c[h+36>>2]|0,B&512|0):0){j=b[h+40>>1]|0;s=j&65535;n=b[h+42>>1]|0;o=s-(n&65535)|0;r=b[u>>1]|0;i=r&65535;p=b[v>>1]|0;f=i-(p&65535)|0;c:do if(!((p&65535)>(n&65535)|(o|0)>=(f|0))){q=b[h+20>>1]|0;d=b[w>>1]|0;if(q<<16>>16>=d<<16>>16){if(q<<16>>16>d<<16>>16)break;if((b[h+22>>1]|0)>(b[x>>1]|0))break}if(j<<16>>16){l=c[h+48>>2]|0;j=s;do{k=j;j=j+-1|0;m=c[l+(j<<2)>>2]|0;if(m|0){d=i;do{if((d|0)<=0)break c;d=d+-1|0}while((c[(c[y>>2]|0)+(d<<2)>>2]|0)!=(m|0))}}while((k|0)>1)}if(z|(B&64|0)==0){b[w>>1]=q;b[x>>1]=(e[h+22>>1]|0)+65535;break b}}while(0);if(!((n&65535)>(p&65535)|(f|0)>=(o|0))){d=b[w>>1]|0;n=b[h+20>>1]|0;if(d<<16>>16>=n<<16>>16){if(d<<16>>16>n<<16>>16)break;if((b[x>>1]|0)>(b[h+22>>1]|0))break}if(r<<16>>16){l=c[y>>2]|0;m=h+48|0;do{j=i;i=i+-1|0;k=c[l+(i<<2)>>2]|0;if(k|0){d=s;do{if((d|0)<=0)break b;d=d+-1|0}while((c[(c[m>>2]|0)+(d<<2)>>2]|0)!=(k|0))}}while((j|0)>1)}if(!(z&(B&64|0)==0)){b[w>>1]=n;b[x>>1]=(e[h+22>>1]|0)+1}}}while(0);h=c[h+52>>2]|0}while((h|0)!=0);h=c[A>>2]|0}d:do if(h){l=a[g+16>>0]|0;m=g+17|0;n=g+18|0;o=g+20|0;p=g+22|0;f=g+42|0;k=(C&513|0)!=513;s=h;while(1){if((a[s+16>>0]|0)==l<<24>>24?(a[s+17>>0]|0)==(a[m>>0]|0):0){if((c[s+36>>2]&16384|0?!((b[f>>1]|0)!=0|k):0)?(B=s,C=g,A=c[C>>2]|0,C=c[C+4>>2]|0,(A&c[B>>2]|0)==(A|0)?(C&c[B+4>>2]|0)==(C|0):0):0)break;C=s;B=c[C>>2]|0;C=c[C+4>>2]|0;d=g;h=c[d>>2]|0;d=c[d+4>>2]|0;i=h&B;j=d&C;if((((i|0)==(B|0)&(j|0)==(C|0)?(b[s+18>>1]|0)<=(b[n>>1]|0):0)?(b[s+20>>1]|0)<=(b[o>>1]|0):0)?(b[s+22>>1]|0)<=(b[p>>1]|0):0){D=0;M=124;break}if(((i|0)==(h|0)&(j|0)==(d|0)?(b[s+20>>1]|0)>=(b[o>>1]|0):0)?(b[s+22>>1]|0)>=(b[p>>1]|0):0)break}d=s+52|0;h=c[d>>2]|0;if(!h){G=d;M=61;break d}else s=h}if((M|0)==124)return D|0;h=s+52|0;d=c[h>>2]|0;if(!d)E=s;else{n=g+16|0;o=g+17|0;p=g+18|0;f=g+20|0;q=g+22|0;r=g+42|0;while(1){m=a[n>>0]|0;while(1){if((a[d+16>>0]|0)==m<<24>>24?(a[d+17>>0]|0)==(a[o>>0]|0):0){if(((c[d+36>>2]&16384|0?(b[r>>1]|0)==0:0)?(c[J>>2]&513|0)==513:0)?(D=d,E=g,C=c[E>>2]|0,E=c[E+4>>2]|0,(C&c[D>>2]|0)==(C|0)?(E&c[D+4>>2]|0)==(E|0):0):0)break;E=d;D=c[E>>2]|0;E=c[E+4>>2]|0;j=g;i=c[j>>2]|0;j=c[j+4>>2]|0;k=i&D;l=j&E;if((((k|0)==(D|0)&(l|0)==(E|0)?(b[d+18>>1]|0)<=(b[p>>1]|0):0)?(b[d+20>>1]|0)<=(b[f>>1]|0):0)?(b[d+22>>1]|0)<=(b[q>>1]|0):0){E=s;break d}if(((k|0)==(i|0)&(l|0)==(j|0)?(b[d+20>>1]|0)>=(b[f>>1]|0):0)?(b[d+22>>1]|0)>=(b[q>>1]|0):0)break}h=d+52|0;d=c[h>>2]|0;if(!d){E=s;break d}}if(!h){E=s;break d}c[h>>2]=c[d+52>>2];Wl(I,d);d=c[h>>2]|0;if(!d){E=s;break}}}}else{G=A;M=61}while(0);do if((M|0)==61){do if(c[I+264>>2]|0)if(!(a[I+73>>0]|0))M=70;else{c[G>>2]=0;g=7;return g|0}else{if((e[I+268>>1]|0)>=72){h=I+292|0;d=c[h>>2]|0;if(d|0){c[h>>2]=c[d>>2];F=I+276|0;c[F>>2]=(c[F>>2]|0)+1;F=d;break}h=I+288|0;d=c[h>>2]|0;if(!d)h=2;else{c[h>>2]=c[d>>2];F=I+276|0;c[F>>2]=(c[F>>2]|0)+1;F=d;break}}else h=1;M=I+276+(h<<2)|0;c[M>>2]=(c[M>>2]|0)+1;M=70}while(0);if((M|0)==70)F=Ec(I,72,0)|0;c[G>>2]=F;if(!F){g=7;return g|0}else{c[F+48>>2]=F+56;b[F+40>>1]=0;b[F+44>>1]=3;c[F+36>>2]=0;c[F+52>>2]=0;E=F;break}}while(0);Xl(I,E);h=b[g+40>>1]|0;k=E+44|0;do if((e[k>>1]|0)<(h&65535)){j=(h&65535)+7&131064;i=j<<2;do if(c[I+264>>2]|0){if(!(a[I+73>>0]|0))M=102}else{if(!(0<0|(0==0?(e[I+268>>1]|0)>>>0>>0:0))){h=I+292|0;d=c[h>>2]|0;if(d|0){c[h>>2]=c[d>>2];H=I+276|0;c[H>>2]=(c[H>>2]|0)+1;H=d;M=103;break}h=I+288|0;d=c[h>>2]|0;if(!d)h=2;else{c[h>>2]=c[d>>2];H=I+276|0;c[H>>2]=(c[H>>2]|0)+1;H=d;M=103;break}}else h=1;M=I+276+(h<<2)|0;c[M>>2]=(c[M>>2]|0)+1;M=102}while(0);if((M|0)==102){H=Ec(I,i,0)|0;M=103}if((M|0)==103?H|0:0){h=E+48|0;Tt(H|0,c[h>>2]|0,e[k>>1]<<2|0)|0;d=c[h>>2]|0;do if((d|0)!=(E+56|0)){if(c[I+464>>2]|0){Lc(I,d);break}M=d;if(M>>>0>=(c[I+296>>2]|0)>>>0?M>>>0<(c[I+300>>2]|0)>>>0:0){M=I+292|0;c[d>>2]=c[M>>2];c[M>>2]=d;break}if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{M=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);c[h>>2]=H;b[k>>1]=j;K=H;M=116;break}L=E+24|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;L=7}else{K=c[E+48>>2]|0;M=116}while(0);do if((M|0)==116){h=E;d=g;i=h+44|0;do{c[h>>2]=c[d>>2];h=h+4|0;d=d+4|0}while((h|0)<(i|0));Tt(K|0,c[g+48>>2]|0,e[E+40>>1]<<2|0)|0;h=c[J>>2]|0;if(h&1024|0){a[g+28>>0]=0;L=0;break}if(!(h&16384))L=0;else{c[g+32>>2]=0;L=0}}while(0);if(c[E+36>>2]&1024|0){g=L;return g|0}h=E+32|0;d=c[h>>2]|0;if(!d){g=L;return g|0}if(c[d+44>>2]|0){g=L;return g|0}c[h>>2]=0;g=L;return g|0}function um(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;g=c[c[e>>2]>>2]|0;a:do if((a[f>>0]|0)==44){while(1){if(!(um(d,e,c[f+12>>2]|0)|0)){f=0;break}f=c[f+16>>2]|0;if((a[f>>0]|0)!=44)break a}return f|0}while(0);j=(c[(c[g>>2]|0)+28>>2]&8388608|0)==0?g:0;k=e+12|0;g=c[k>>2]|0;if((g|0)<=0){d=0;return d|0}h=c[e+20>>2]|0;i=0;while(1){e=c[h>>2]|0;if(!((c[e+4>>2]&1|0)!=0?(b[e+36>>1]|0)!=(d|0):0)){if(ym(j,e,f,d)|0){f=1;g=11;break}g=c[k>>2]|0}i=i+1|0;if((i|0)>=(g|0)){f=0;g=11;break}else h=h+48|0}if((g|0)==11)return f|0;return 0}function vm(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;s=t;r=d;p=d+8|0;g=p;q=~(c[g>>2]|c[r>>2]);r=~(c[g+4>>2]|c[r+4>>2]);g=c[a+12>>2]|0;n=a+20|0;a:do if((g|0)>0){o=d+40|0;f=d+22|0;m=d+48|0;a=0;k=c[n>>2]|0;while(1){if(b[k+10>>1]&2)break a;j=k+40|0;h=c[j>>2]|0;j=c[j+4>>2]|0;i=p;b:do if((h&q|0)==0&(j&r|0)==0&(c[i>>2]&h|0?1:(c[i+4>>2]&j|0)!=0)){d=b[o>>1]|0;if(d<<16>>16){j=c[m>>2]|0;d=d&65535;do{h=d;d=d+-1|0;i=c[j+(d<<2)>>2]|0;if(i|0){if((i|0)==(k|0))break b;i=c[i+16>>2]|0;if((i|0)>-1?((c[n>>2]|0)+(i*48|0)|0)==(k|0):0)break b}}while((h|0)>1)}d=b[k+8>>1]|0;h=b[f>>1]|0;if(d<<16>>16<1){b[f>>1]=(h&65535)+(d&65535);break}b[f>>1]=h+-1<<16>>16;if(b[k+12>>1]&130){j=(bk(c[(c[k>>2]|0)+16>>2]|0,s)|0)!=0;j=j&((c[s>>2]|0)+1|0)>>>0<3?10:20;c[s>>2]=j;a=(a<<16>>16|0)<(j|0)?j&65535:a}}while(0);if((g|0)>1){g=g+-1|0;k=k+48|0}else break}}else{a=0;f=d+22|0}while(0);a=(e<<16>>16)-(a<<16>>16)|0;if((b[f>>1]|0)<=(a|0)){l=t;return}b[f>>1]=a;l=t;return}function wm(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0;Ga=l;l=l+96|0;ha=Ga;ka=c[c[f>>2]>>2]|0;va=c[ka>>2]|0;wa=c[f+12>>2]|0;ta=va+73|0;if(a[ta>>0]|0){Fa=7;l=Ga;return Fa|0}xa=wa+36|0;ya=c[xa>>2]|0;q=(ya&32|0)==0?447:24;sa=h+55|0;q=(a[sa>>0]&4)==0?q:q&387;za=wa+24|0;Aa=b[za>>1]|0;la=wa+26|0;ma=b[la>>1]|0;na=wa+28|0;oa=b[na>>1]|0;Ba=wa+42|0;pa=b[Ba>>1]|0;Ca=wa+40|0;n=b[Ca>>1]|0;ra=wa;qa=c[ra>>2]|0;ra=c[ra+4>>2]|0;Da=wa+22|0;Ea=b[Da>>1]|0;ia=f+4|0;k=c[ia>>2]|0;ja=g+44|0;r=c[ja>>2]|0;Fa=Aa&65535;c[ha>>2]=k;c[ha+4>>2]=k;k=ha+12|0;c[k>>2]=0;m=ha+16|0;a[m>>0]=0;o=ha+8|0;c[o>>2]=0;do if(h){p=b[(c[h+4>>2]|0)+(Fa<<1)>>1]|0;j=p<<16>>16;if(p<<16>>16==-2){c[k>>2]=c[(c[h+40>>2]|0)+4+(Fa*20|0)>>2];c[o>>2]=c[(c[h+32>>2]|0)+(Fa<<2)>>2];break}k=c[h+12>>2]|0;if(p<<16>>16!=(b[k+40>>1]|0)){if(p<<16>>16>-1){a[m>>0]=a[(c[k+4>>2]|0)+(j<<4)+13>>0]|0;c[o>>2]=c[(c[h+32>>2]|0)+(Fa<<2)>>2]}}else j=-1}else j=Fa;while(0);c[ha+20>>2]=q;c[ha+24>>2]=0;c[ha+28>>2]=r;b[ha+72>>1]=j;a[ha+17>>0]=1;a[ha+18>>0]=1;o=am(ha)|0;b[wa+18>>1]=0;ua=h+8|0;ea=b[c[ua>>2]>>1]|0;if(ea<<16>>16<11)Y=0;else{j=ea<<16>>16;k=((j|0)<0)<<31>>31;if((ea&65535)>255){m=40;do{m=(m&65535)+40|0;ca=j;j=Qt(j|0,k|0,4)|0;ba=k;k=z}while(ba>>>0>0|(ba|0)==0&ca>>>0>4095);m=m&65535}else m=40;if(k>>>0>0|(k|0)==0&j>>>0>15){while(1){m=(m&65535)+10&65535;ca=j;j=Qt(j|0,k|0,1)|0;if(!(k>>>0>0|(k|0)==0&ca>>>0>31))break;else k=z}k=m}else k=m;Y=(k&65535)+65493+(e[14834+((j&7)<<1)>>1]|0)&65535}a:do if(!o)j=0;else{y=h+4|0;A=h+12|0;B=wa+8|0;C=g+36|0;D=h+54|0;E=f+20|0;P=n&65535;F=P+1|0;G=wa+44|0;P=P+8&131064;H=P<<2;I=va+264|0;J=va+268|0;K=va+292|0;L=va+288|0;M=va+276|0;N=wa+48|0;O=wa+56|0;P=P&65535;Q=va+464|0;R=va+296|0;S=va+300|0;T=i<<16>>16==0;U=h+50|0;V=h+48|0;W=g+16|0;X=Y<<16>>16;Z=X+49|0;_=X+31|0;$=wa+20|0;aa=i<<16>>16;x=f+16|0;ba=h+52|0;ca=X+1&65535;v=o;m=0;k=0;do{p=b[v+12>>1]|0;w=p&65535;if(p<<16>>16==256){j=b[(c[y>>2]|0)+(Fa<<1)>>1]|0;if(j<<16>>16>-1)j=d[(c[(c[A>>2]|0)+4>>2]|0)+(j<<16>>16<<4)+12>>0]|0;else j=j<<16>>16==-1&1;if(j)j=0;else da=23}else da=23;do if((da|0)==23){da=0;t=v+32|0;r=t;q=c[r>>2]|0;r=c[r+4>>2]|0;o=B;s=c[o>>2]|0;o=c[o+4>>2]|0;if((s&q|0)==0&(o&r|0)==0?(fa=v+10|0,!((b[fa>>1]&256)!=0&p<<16>>16==16)):0){if(a[C>>0]&8?!((w&384|0)==0?1:(c[(c[v>>2]|0)+4>>2]&1|0)!=0):0){j=0;break}if((a[D>>0]|0)!=0?(Fa|0)==((e[U>>1]|0)+-1|0):0)j=2;else j=1;c[E>>2]=c[E>>2]|j;c[xa>>2]=ya;b[za>>1]=Aa;b[la>>1]=ma;b[na>>1]=oa;b[Ca>>1]=n;if((e[G>>1]|0)>>>0>>0){do if(c[I>>2]|0)if(!(a[ta>>0]|0))da=40;else{j=0;break a}else{if(!(0<0|(0==0?(e[J>>1]|0)>>>0>>0:0))){j=c[K>>2]|0;if(j|0){c[K>>2]=c[j>>2];c[M>>2]=(c[M>>2]|0)+1;break}j=c[L>>2]|0;if(!j)j=2;else{c[L>>2]=c[j>>2];c[M>>2]=(c[M>>2]|0)+1;break}}else j=1;da=va+276+(j<<2)|0;c[da>>2]=(c[da>>2]|0)+1;da=40}while(0);if((da|0)==40){da=0;j=Ec(va,H,0)|0}if(!j){j=0;break a}Tt(j|0,c[N>>2]|0,e[G>>1]<<2|0)|0;o=c[N>>2]|0;b:do if((o|0)!=(O|0)){if(c[Q>>2]|0){Lc(va,o);break}p=o;do if(p>>>0>=(c[R>>2]|0)>>>0){if(p>>>0>=(c[S>>2]|0)>>>0)break;c[o>>2]=c[K>>2];c[K>>2]=o;break b}while(0);if(!o)break;if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{u=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[N>>2]=j;b[G>>1]=P;r=t;o=B;u=b[Ca>>1]|0;q=c[r>>2]|0;r=c[r+4>>2]|0;p=c[o>>2]|0;o=c[o+4>>2]|0}else{u=n;j=c[N>>2]|0;p=s}t=u+1<<16>>16;b[Ca>>1]=t;c[j+((u&65535)<<2)>>2]=v;u=wa;c[u>>2]=(q|qa)&~p;c[u+4>>2]=(r|ra)&~o;c:do if(w&1){r=c[v>>2]|0;u=c[xa>>2]|4;c[xa>>2]=u;if(c[r+4>>2]&2048|0){if((t&65535)<=1){t=46;q=u;break}s=c[N>>2]|0;q=(t&65535)+-1|0;p=0;j=46;while(1){o=c[s+(p<<2)>>2]|0;if(o)j=(c[o>>2]|0)==(r|0)?0:j;p=p+1|0;if((p|0)>=(q|0)){t=j;q=u;break c}}}j=c[r+20>>2]|0;if((j|0)!=0?(ga=c[j>>2]|0,(ga|0)!=0):0){o=((ga|0)<0)<<31>>31;do if(ga>>>0<8){if(ga>>>0<2){j=0;break}else{p=40;j=ga}do{p=(p&65535)+65526|0;j=Rt(j|0,o|0,1)|0;o=z}while(o>>>0<0|(o|0)==0&j>>>0<8);p=p&65535;da=72}else{if(ga>>>0>255){p=40;j=ga;do{p=(p&65535)+40|0;da=j;j=Qt(j|0,o|0,4)|0;t=o;o=z}while(t>>>0>0|(t|0)==0&da>>>0>4095);p=p&65535}else{p=40;j=ga}if(!(o>>>0>0|(o|0)==0&j>>>0>15)){da=72;break}while(1){p=(p&65535)+10&65535;da=j;j=Qt(j|0,o|0,1)|0;if(!(o>>>0>0|(o|0)==0&da>>>0>31))break;else o=z}da=72}while(0);if((da|0)==72){da=0;j=(p&65535)+65526+(e[14834+((j&7)<<1)>>1]|0)|0}t=j<<16>>16;q=u}else{t=0;q=u}}else{if(w&130|0){j=b[(c[y>>2]|0)+(Fa<<1)>>1]|0;o=c[xa>>2]|1;c[xa>>2]=o;if(j<<16>>16!=-1){if(!(T&j<<16>>16>-1)){t=0;q=o;break}if((Fa|0)!=((e[U>>1]|0)+-1|0)){t=0;q=o;break}if(!(a[sa>>0]&8))j=65536;else da=79}else da=79;if((da|0)==79){da=0;j=4096}q=o|j;c[xa>>2]=q;t=0;break}o=c[xa>>2]|0;if(w&256|0){q=o|8;c[xa>>2]=q;t=0;break}j=c[ja>>2]|0;if(!(w&36)){c[xa>>2]=o|18;b[na>>1]=xm(ka,j,h,Fa,v)|0;j=c[xa>>2]|0;if(!(j&32)){m=v;k=0;t=0;q=j;break}m=v;k=c[(c[N>>2]|0)+((e[Ca>>1]|0)+-2<<2)>>2]|0;t=0;q=j;break}c[xa>>2]=o|34;b[la>>1]=xm(ka,j,h,Fa,v)|0;if(!(b[fa>>1]&256)){m=0;k=v;t=0;q=c[xa>>2]|0;break}m=v+48|0;j=b[Ca>>1]|0;k=j&65535;if((e[G>>1]|0)>>>0<(k+1|0)>>>0){p=k+8&131064;o=p<<2;d:do if(c[I>>2]|0)if(!(a[ta>>0]|0))da=96;else{j=0;break a}else{do if(0<0|(0==0?(e[J>>1]|0)>>>0>>0:0))j=1;else{k=c[K>>2]|0;if(k|0){c[K>>2]=c[k>>2];c[M>>2]=(c[M>>2]|0)+1;break d}k=c[L>>2]|0;if(!k){j=2;break}c[L>>2]=c[k>>2];c[M>>2]=(c[M>>2]|0)+1;break d}while(0);da=va+276+(j<<2)|0;c[da>>2]=(c[da>>2]|0)+1;da=96}while(0);if((da|0)==96){da=0;k=Ec(va,o,0)|0}if(!k){j=0;break a}Tt(k|0,c[N>>2]|0,e[G>>1]<<2|0)|0;j=c[N>>2]|0;e:do if((j|0)!=(O|0)){if(c[Q>>2]|0){Lc(va,j);break}o=j;do if(o>>>0>=(c[R>>2]|0)>>>0){if(o>>>0>=(c[S>>2]|0)>>>0)break;c[j>>2]=c[K>>2];c[K>>2]=j;break e}while(0);if(!j)break;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[N>>2]=k;b[G>>1]=p;j=b[Ca>>1]|0}else k=c[N>>2]|0;b[Ca>>1]=j+1<<16>>16;c[k+((j&65535)<<2)>>2]=m;q=c[xa>>2]|16;c[xa>>2]=q;b[na>>1]=1;k=v;t=0}while(0);do if(!(q&2)){p=(b[za>>1]|0)+1<<16>>16;b[za>>1]=p;p=p&65535;v=b[v+8>>1]|0;j=v&65535;o=b[Da>>1]|0;if(v<<16>>16<1?(b[(c[y>>2]|0)+(Fa<<1)>>1]|0)>-1:0){j=o+j|0;b[Da>>1]=j;j=(j<<16>>16)-t|0;da=131;break}j=c[ua>>2]|0;j=(e[j+(p<<1)>>1]|0)-(e[j+(p+-1<<1)>>1]|0)+o|0;o=j&65535;b[Da>>1]=o;if(w&256){j=(j<<16>>16)+10|0;da=131}}else{j=b[Da>>1]|0;p=j<<16>>16;do if(k){o=b[k+8>>1]|0;if(o<<16>>16<1){j=(o&65535)+(j&65535)&65535;break}else{j=(j&65535)+65516&65535;break}}while(0);do if(m){o=b[m+8>>1]|0;if(o<<16>>16<1){j=(o&65535)+(j&65535)&65535;break}else{j=(j&65535)+65516&65535;break}}while(0);o=(k|0)!=0;do if(o){if(!((m|0)!=0&(b[k+8>>1]|0)>0))break;if((b[m+8>>1]|0)<=0)break;j=(j&65535)+65516&65535}while(0);da=(((m|0)!=0)<<31>>31)+(o<<31>>31)+p|0;j=(j<<16>>16>10?j:10)&65535;j=(j|0)<(da|0)?j:da;da=131}while(0);if((da|0)==131){da=0;o=j&65535;b[Da>>1]=o}s=o&65535;p=s+1+(((b[V>>1]|0)*15|0)/(b[(c[W>>2]|0)+46>>1]|0)|0)|0;j=p&65535;p=p<<16>>16;do if(Y<<16>>16>16){if((p|0)<=(Z|0))if((p|0)>(_|0)){j=p+1&65535;break}else{j=(d[33193+(p-X)>>0]|0)+p&65535;break}}else if((X|0)<=(p+49|0))if((X|0)>(p+31|0))j=ca;else j=(d[33193+(X-p)>>0]|0)+X&65535;else j=Y;while(0);b[$>>1]=j;if(!(q&320)){r=s+16|0;p=r&65535;q=j<<16>>16;r=r<<16>>16;do if(j<<16>>16>16){if((r|0)>(q+49|0)){j=p;break}if((r|0)>(q+31|0)){j=r+1&65535;break}else{j=(d[33193+(r-q)>>0]|0)+r&65535;break}}else{if((q|0)>(r+49|0))break;if((q|0)>(r+31|0)){j=q+1&65535;break}else{j=(d[33193+(q-r)>>0]|0)+q&65535;break}}while(0);b[$>>1]=j}p=t+aa|0;b[$>>1]=(j&65535)+p;b[Da>>1]=s+p;vm(c[ia>>2]|0,wa,ea);j=tm(c[f>>2]|0,c[x>>2]|0,wa)|0;w=c[xa>>2]|0;b[Da>>1]=w&2|0?Ea:o;if((w&16|0)==0?(e[za>>1]|0)<(e[ba>>1]|0):0)wm(f,g,h,p&65535)|0;b[Da>>1]=Ea}else j=0}while(0);v=am(ha)|0}while((j|0)==0&(v|0)!=0)}while(0);ka=wa;c[ka>>2]=qa;c[ka+4>>2]=ra;b[za>>1]=Aa;b[la>>1]=ma;b[na>>1]=oa;b[Ba>>1]=pa;c[xa>>2]=ya;b[Da>>1]=Ea;b[Ca>>1]=n;if(Aa<<16>>16!=pa<<16>>16){Fa=j;l=Ga;return Fa|0}q=Fa+1|0;if(q>>>0>=(e[h+50>>1]|0)>>>0){Fa=j;l=Ga;return Fa|0}if(a[sa>>0]&64){Fa=j;l=Ga;return Fa|0}if((b[(c[ua>>2]|0)+(q<<1)>>1]|0)<=41){Fa=j;l=Ga;return Fa|0}j=n&65535;o=wa+44|0;if((e[o>>1]|0)>>>0<(j+1|0)>>>0){n=j+8&131064;m=n<<2;do if(c[va+264>>2]|0)if(!(a[ta>>0]|0))da=170;else{Fa=7;l=Ga;return Fa|0}else{if(!(0<0|(0==0?(e[va+268>>1]|0)>>>0>>0:0))){k=va+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];ta=va+276|0;c[ta>>2]=(c[ta>>2]|0)+1;break}k=va+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];ta=va+276|0;c[ta>>2]=(c[ta>>2]|0)+1;break}}else j=1;da=va+276+(j<<2)|0;c[da>>2]=(c[da>>2]|0)+1;da=170}while(0);if((da|0)==170)j=Ec(va,m,0)|0;if(!j){Fa=7;l=Ga;return Fa|0}k=wa+48|0;Tt(j|0,c[k>>2]|0,e[o>>1]<<2|0)|0;m=c[k>>2]|0;do if((m|0)!=(wa+56|0)){if(c[va+464>>2]|0){Lc(va,m);break}wa=m;if(wa>>>0>=(c[va+296>>2]|0)>>>0?wa>>>0<(c[va+300>>2]|0)>>>0:0){wa=va+292|0;c[m>>2]=c[wa>>2];c[wa>>2]=m;break}if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{wa=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[k>>2]=j;b[o>>1]=n;o=b[za>>1]|0;p=b[Ba>>1]|0;n=b[Ca>>1]|0;k=c[xa>>2]|0;m=b[Da>>1]|0}else{o=Aa;p=Aa;j=c[wa+48>>2]|0;k=ya;m=Ea}b[za>>1]=o+1<<16>>16;b[Ba>>1]=p+1<<16>>16;b[Ca>>1]=n+1<<16>>16;c[j+((n&65535)<<2)>>2]=0;c[xa>>2]=k|32768;Ca=c[ua>>2]|0;Fa=(e[Ca+(Fa<<1)>>1]|0)-(e[Ca+(q<<1)>>1]|0)|0;b[Da>>1]=(m&65535)-Fa;wm(f,g,h,(((Fa<<16)+327680|0)>>>16)+(i&65535)&65535)|0;b[Da>>1]=Ea;b[za>>1]=Aa;b[Ba>>1]=Aa;c[xa>>2]=ya;Fa=0;l=Ga;return Fa|0}function xm(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;m=c[j>>2]|0;l=c[m+12>>2]|0;k=a[l>>0]|0;if(k<<24>>24==-106)k=a[l+38>>0]|0;switch(k<<24>>24){case -105:{k=l+20|0;v=6;break}case 119:{k=c[l+20>>2]|0;v=6;break}default:k=1}if((v|0)==6)k=c[c[k>>2]>>2]|0;r=(e[h+52>>1]|0)-i|0;r=(k|0)<(r|0)?k:r;s=h+28|0;if((r|0)<=1){v=1;return v|0}t=h+4|0;u=h+12|0;q=h+32|0;k=1;while(1){o=c[(c[l+20>>2]|0)+4+(k*20|0)>>2]|0;p=c[m+16>>2]|0;l=p+20|0;if(c[p+4>>2]&2048)l=c[l>>2]|0;n=c[(c[l>>2]|0)+4+(k*20|0)>>2]|0;if((a[o>>0]|0)!=-111){v=35;break}if((c[o+28>>2]|0)!=(g|0)){v=35;break}h=b[o+32>>1]|0;p=k+i|0;if(h<<16>>16!=(b[(c[t>>2]|0)+(p<<1)>>1]|0)){v=35;break}m=c[s>>2]|0;if((a[m+p>>0]|0)!=(a[m+i>>0]|0)){v=35;break}l=Pj(o)|0;m=Pj(n)|0;if(l<<24>>24==0|m<<24>>24==0)m=(m|l)<<24>>24==0?65:(m&255)+(l&255)&255;else m=l<<24>>24>66|m<<24>>24>66?67:65;if(h<<16>>16>-1)l=a[(c[(c[u>>2]|0)+4>>2]|0)+(h<<16>>16<<4)+13>>0]|0;else l=68;if(m<<24>>24!=l<<24>>24){v=35;break}do if(!(c[o+4>>2]&256)){if(n|0?c[n+4>>2]&256|0:0){l=Qj(f,n)|0;v=29;break}l=Qj(f,o)|0;if(!l){l=Qj(f,n)|0;v=29}}else{l=Qj(f,o)|0;v=29}while(0);if((v|0)==29){v=0;if(!l){v=35;break}}m=c[l>>2]|0;h=c[(c[q>>2]|0)+(p<<2)>>2]|0;p=a[m>>0]|0;l=(d[17324+(p&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0;if(!(p<<24>>24==0|(l|0)!=0))do{m=m+1|0;h=h+1|0;p=a[m>>0]|0;l=(d[17324+(p&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(p<<24>>24==0|(l|0)!=0));if(l|0){v=35;break}k=k+1|0;if((k|0)>=(r|0)){v=35;break}m=c[j>>2]|0;l=c[m+12>>2]|0}if((v|0)==35)return k|0;return 0}function ym(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0;if(!(ck(b,d,e,f)|0)){f=1;return f|0}g=a[e>>0]|0;do if(g<<24>>24==43){if(ym(b,d,c[e+12>>2]|0,f)|0){f=1;return f|0}if(!(ym(b,d,c[e+16>>2]|0,f)|0)){g=a[e>>0]|0;break}else{f=1;return f|0}}while(0);a:do if(g<<24>>24==51){switch(a[d>>0]|0){case 45:case 50:break a;default:{}}g=c[d+12>>2]|0;b:do if(!g)g=0;else while(1){d=c[g+4>>2]|0;if(!(d&4096))break b;if(!(d&262144))g=g+12|0;else g=(c[g+20>>2]|0)+4|0;g=c[g>>2]|0;if(!g){g=0;break}}while(0);if(!(ck(b,g,c[e+12>>2]|0,f)|0)){f=1;return f|0}}while(0);f=0;return f|0}function zm(f,g,i,k,m,n,o,p,q){f=f|0;g=g|0;i=i|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0.0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;V=l;l=l+32|0;Q=V+16|0;w=V+8|0;x=V;E=c[f+4>>2]|0;L=c[o+16>>2]|0;U=c[f+12>>2]|0;u=c[f>>2]|0;M=c[u>>2]|0;u=c[u+4>>2]|0;v=d[U+16>>0]|0;O=c[o>>2]|0;c[q>>2]=0;F=U;c[F>>2]=g;c[F+4>>2]=i;F=o+4|0;y=(O|0)>0;if(y){r=c[E+20>>2]|0;g=c[F>>2]|0;i=0;while(1){T=c[g+8>>2]|0;t=g+5|0;a[t>>0]=0;R=r+(T*48|0)+32|0;K=c[R>>2]|0;R=c[R+4>>2]|0;if((K&k|0)==(K|0)&(R&m|0)==(R|0)?(b[r+(T*48|0)+12>>1]&n)<<16>>16==0:0)a[t>>0]=1;i=i+1|0;if((i|0)==(O|0))break;else g=g+12|0}}Vt(L|0,0,O<<3|0)|0;I=o+24|0;c[I>>2]=0;H=o+20|0;c[H>>2]=0;J=o+32|0;c[J>>2]=0;K=o+40|0;h[K>>3]=5.e+98;R=o+48|0;T=R;c[T>>2]=25;c[T+4>>2]=0;T=o+56|0;c[T>>2]=0;i=u+8+(v*72|0)+56|0;g=c[i+4>>2]|0;G=o+64|0;c[G>>2]=c[i>>2];c[G+4>>2]=g;G=u+8+(v*72|0)+16|0;g=c[(c[G>>2]|0)+64>>2]|0;i=c[M>>2]|0;if((c[g>>2]|0)!=(i|0))do g=c[g+24>>2]|0;while((c[g>>2]|0)!=(i|0));r=c[g+8>>2]|0;i=kb[c[(c[r>>2]|0)+12>>2]&255](r,o)|0;a:do switch(i|0){case 0:break;case 7:{g=c[M>>2]|0;i=g+73|0;if((a[i>>0]|0)==0?(a[g+74>>0]|0)==0:0){a[i>>0]=1;if((c[g+172>>2]|0)>0)c[g+256>>2]=1;D=g+264|0;c[D>>2]=(c[D>>2]|0)+1}break}default:{g=c[r+8>>2]|0;if(g|0){c[w>>2]=g;hg(M,17859,w);break a}if((i|0)!=516){g=i&255;if(g>>>0<27?(117374971>>>g&1|0)!=0:0)g=c[4068+(g<<2)>>2]|0;else g=21499}else g=21513;c[x>>2]=g;hg(M,17859,x)}}while(0);g=r+8|0;i=c[g>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{D=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[g>>2]=0;g=c[M+36>>2]|0;if(g|0){U=g;l=V;return U|0}b:do if(y){i=U+48|0;g=0;do{c[(c[i>>2]|0)+(g<<2)>>2]=0;g=g+1|0}while((g|0)!=(O|0));D=U+24|0;g=U+30|0;b[g>>1]=0;if(y){y=E+12|0;C=U+48|0;x=E+20|0;t=-1;v=c[F>>2]|0;w=0;r=0;while(1){k=c[L+(w<<3)>>2]|0;m=k+-1|0;if((k|0)>0){n=c[v+8>>2]|0;if((k|0)>(O|0)|(n|0)<0)break;if((n|0)>=(c[y>>2]|0))break;i=(c[C>>2]|0)+(m<<2)|0;if(c[i>>2]|0)break;if(!(a[v+5>>0]|0))break;u=c[x>>2]|0;W=u+(n*48|0)+32|0;X=U;E=c[X+4>>2]|c[W+4>>2];F=U;c[F>>2]=c[X>>2]|c[W>>2];c[F+4>>2]=E;c[i>>2]=u+(n*48|0);t=(m|0)>(t|0)?m:t;if((k|0)<17?(a[L+(w<<3)+4>>0]|0)!=0:0){r=(r&65535|1<>1]=r}if(b[u+(n*48|0)+12>>1]&1){c[J>>2]=0;c[T>>2]=c[T>>2]&-2;c[q>>2]=1}}w=w+1|0;if((w|0)>=(O|0)){i=D;k=D;break b}else v=v+12|0}c[Q>>2]=c[c[G>>2]>>2];hg(M,33243,Q);X=1;l=V;return X|0}else{t=-1;r=0;i=D;k=D}}else{k=U+24|0;g=U+30|0;b[g>>1]=0;t=-1;r=0;i=k}while(0);b[g>>1]=r&~p;b[U+40>>1]=t+1;c[i>>2]=c[H>>2];t=o+28|0;m=U+28|0;a[m>>0]=c[t>>2];c[t>>2]=0;t=U+32|0;c[t>>2]=c[I>>2];if(!(c[J>>2]|0))g=0;else g=c[o+8>>2]&255;a[k+5>>0]=g;b[U+18>>1]=0;s=+h[K>>3];h[j>>3]=s;g=c[j>>2]|0;i=c[j+4>>2]|0;do if(!(s<=1.0)){if(!(s<=2.0e9)){g=Qt(g|0,i|0,52)|0;g=Ft(g|0,z|0,64514,0)|0;g=(g<<16>>16)*10&65535;break}g=~~s>>>0;i=+B(s)>=1.0?(s>0.0?~~+P(+A(s/4294967296.0),4294967295.0)>>>0:~~+N((s-+(~~s>>>0))/4294967296.0)>>>0):0;if(!(i>>>0<0|(i|0)==0&g>>>0<8)){if(i>>>0>0|(i|0)==0&g>>>0>255){r=40;do{r=(r&65535)+40|0;X=g;g=Qt(g|0,i|0,4)|0;W=i;i=z}while(W>>>0>0|(W|0)==0&X>>>0>4095);r=r&65535}else r=40;if(i>>>0>0|(i|0)==0&g>>>0>15)while(1){r=(r&65535)+10&65535;X=g;g=Qt(g|0,i|0,1)|0;if(!(i>>>0>0|(i|0)==0&X>>>0>31))break;else i=z}}else{if(i>>>0<0|(i|0)==0&g>>>0<2){g=0;break}else r=40;do{r=(r&65535)+65526|0;g=Rt(g|0,i|0,1)|0;i=z}while(i>>>0<0|(i|0)==0&g>>>0<8);r=r&65535}g=(r&65535)+65526+(e[14834+((g&7)<<1)>>1]|0)&65535}else g=0;while(0);b[U+20>>1]=g;i=R;g=c[i>>2]|0;i=c[i+4>>2]|0;if(i>>>0<0|(i|0)==0&g>>>0<8)if(i>>>0<0|(i|0)==0&g>>>0<2)g=0;else{r=40;do{r=(r&65535)+65526|0;g=Rt(g|0,i|0,1)|0;i=z}while(i>>>0<0|(i|0)==0&g>>>0<8);r=r&65535;S=71}else{if(i>>>0>0|(i|0)==0&g>>>0>255){r=40;do{r=(r&65535)+40|0;X=g;g=Qt(g|0,i|0,4)|0;W=i;i=z}while(W>>>0>0|(W|0)==0&X>>>0>4095);r=r&65535}else r=40;if(i>>>0>0|(i|0)==0&g>>>0>15){while(1){r=(r&65535)+10&65535;X=g;g=Qt(g|0,i|0,1)|0;if(!(i>>>0>0|(i|0)==0&X>>>0>31))break;else i=z}S=71}else S=71}if((S|0)==71)g=(r&65535)+65526+(e[14834+((g&7)<<1)>>1]|0)&65535;b[U+22>>1]=g;i=U+36|0;X=c[i>>2]|0;c[i>>2]=c[T>>2]&1|0?X|4096:X&-4097;i=tm(c[f>>2]|0,c[f+16>>2]|0,U)|0;if(!(a[m>>0]|0)){X=i;l=V;return X|0}g=c[t>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{X=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-X;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);a[m>>0]=0;X=i;l=V;return X|0}function Am(a,d,e,f,g){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(e>>>0>0|(e|0)==0&d>>>0>1){h=0;while(1){h=h+1|0;m=d;d=Qt(d|0,e|0,1)|0;if(!(e>>>0>0|(e|0)==0&m>>>0>3))break;else e=z}}else h=0;m=c[a+8+(h*72|0)+44>>2]|0;h=c[(c[a+8+(h*72|0)+16>>2]|0)+8>>2]|0;if(!h){p=0;return p|0}l=(g|0)==0;a:while(1){j=h+40|0;b:do if(c[j>>2]|0?(n=h+50|0,o=b[n>>1]|0,o<<16>>16):0){k=h+4|0;if(l){a=0;d=o;while(1){if((b[(c[k>>2]|0)+(a<<1)>>1]|0)==-2){d=c[(c[j>>2]|0)+4+(a*20|0)>>2]|0;c:do if(!d)d=0;else while(1){e=c[d+4>>2]|0;if(!(e&4096))break c;if(!(e&262144))d=d+12|0;else d=(c[d+20>>2]|0)+4|0;d=c[d>>2]|0;if(!d){d=0;break}}while(0);if(!(ck(0,0,d,m)|0))break a;d=b[n>>1]|0}a=a+1|0;if((a|0)>=(d&65535|0))break b}}else{i=0;d=o}do{if((b[(c[k>>2]|0)+(i<<1)>>1]|0)==-2){d=c[(c[j>>2]|0)+4+(i*20|0)>>2]|0;e=g;while(1){a=c[e+4>>2]|0;if(!(a&4096))break;if(!(a&262144))e=e+12|0;else e=(c[e+20>>2]|0)+4|0;e=c[e>>2]|0;if(!e){e=0;break}}d:do if(!d)d=0;else while(1){a=c[d+4>>2]|0;if(!(a&4096))break d;if(!(a&262144))d=d+12|0;else d=(c[d+20>>2]|0)+4|0;d=c[d>>2]|0;if(!d){d=0;break}}while(0);if(!(ck(0,e,d,m)|0))break a;d=b[n>>1]|0}i=i+1|0}while((i|0)<(d&65535|0))}while(0);h=c[h+20>>2]|0;if(!h){h=0;p=36;break}}if((p|0)==36)return h|0;c[f>>2]=m;c[f+4>>2]=-2;p=1;return p|0}function Bm(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;h=b[f+12>>1]|0;i=b[g+12>>1]|0;j=i|h;if((h&62)==0|(i&62)==0)return;i=j&65535;if(!((i&26|0)==(i|0)|(i&38|0)==(i|0)))return;if(ck(0,c[(c[f>>2]|0)+12>>2]|0,c[(c[g>>2]|0)+12>>2]|0,-1)|0)return;if(ck(0,c[(c[f>>2]|0)+16>>2]|0,c[(c[g>>2]|0)+16>>2]|0,-1)|0)return;f=c[f>>2]|0;if(!f)return;h=sj(c[c[c[e>>2]>>2]>>2]|0,f,0,0)|0;if(!h)return;g=((i+65535&i|0)==0?j:(i&24|0)==0?32:8)&65535;f=53;while(1)if((g|0)==(2<>0]=f;_l(d,e,Zl(e,h,3)|0);return}function Cm(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;m=n;switch(a[f>>0]|0){case 119:{j=c[d>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))k=10;else{d=0;l=n;return d|0}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];j=j+276|0;c[j>>2]=(c[j>>2]|0)+1;j=i;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];j=j+276|0;c[j>>2]=(c[j>>2]|0)+1;j=i;break}}else h=1;k=j+276+(h<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=10}while(0);if((k|0)==10)j=Ec(j,48,0)|0;if(!j){d=0;l=n;return d|0}h=j;i=h+48|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));a[j>>0]=-104;b[j+34>>1]=-1;Ji(j);h=c[(c[d>>2]|0)+112>>2]|0;if((h|0)<(c[j+24>>2]|0)){c[m>>2]=h;hg(d,24905,m)}b[j+32>>1]=g;c[j+12>>2]=f;d=j;l=n;return d|0}case -105:{f=c[(c[f+20>>2]|0)+4+(g*20|0)>>2]|0;if(!f){d=0;l=n;return d|0}break}default:{}}d=sj(c[d>>2]|0,f,0,0)|0;l=n;return d|0}function Dm(b,c){b=b|0;c=c|0;var e=0,f=0;f=a[b>>0]|0;e=(d[17324+(f&255)>>0]|0)-(d[17324+(d[c>>0]|0)>>0]|0)|0;if(f<<24>>24==0|(e|0)!=0){f=e;return f|0}else e=c;do{b=b+1|0;e=e+1|0;f=a[b>>0]|0;c=(d[17324+(f&255)>>0]|0)-(d[17324+(d[e>>0]|0)>>0]|0)|0}while(!(f<<24>>24==0|(c|0)!=0));return c|0}function Em(e,f){e=e|0;f=f|0;if((a[f>>0]|0)!=-111)return 0;f=b[f+32>>1]|0;if(f<<16>>16>-1)if((c[(c[e+24>>2]|0)+(f<<16>>16<<2)>>2]|0)>-1)f=1;else return 0;else f=2;e=e+20|0;a[e>>0]=d[e>>0]|f;return 0}function Fm(d,e,f,g,h,i,j,k,l,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;C=c[d+8>>2]|0;B=C+12|0;o=c[B>>2]|0;r=o+68|0;D=c[r>>2]|0;c[r>>2]=D+1;r=o+72|0;if(!(D+-1&D)){p=c[o>>2]|0;q=c[r>>2]|0;o=Mc(p,q,D<<3|4,0)|0;do if(!((q|0)==0|(o|0)!=0)){if(p|0){if(c[p+464>>2]|0){Lc(p,q);break}z=q;if(z>>>0>=(c[p+296>>2]|0)>>>0?z>>>0<(c[p+300>>2]|0)>>>0:0){z=p+292|0;c[q>>2]=c[z>>2];c[z>>2]=q;break}}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{z=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[r>>2]=o}else o=c[r>>2]|0;if(o|0)c[o+(D<<2)>>2]=-1;z=~D;x=(c[e+36>>2]&32|0)==0?32:29;y=m<<24>>24==0;if(y){p=C+136|0;o=c[p>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(o|0)){c[p>>2]=o+1;w=c[C+88>>2]|0;a[w+(o*20|0)>>0]=x;b[w+(o*20|0)+2>>1]=0;c[w+(o*20|0)+4>>2]=g;c[w+(o*20|0)+8>>2]=z;c[w+(o*20|0)+12>>2]=i;c[w+(o*20|0)+16>>2]=0;a[w+(o*20|0)+1>>0]=0}else o=zi(C,x&255,g,z,i)|0;if(!(a[(c[C>>2]|0)+73>>0]|0)){w=c[C+88>>2]|0;a[w+(o*20|0)+1>>0]=-3;c[w+(o*20|0)+16>>2]=j<<16>>16}}if(!(c[(c[d>>2]|0)+28>>2]&16384))o=0;else{if(!(c[($f((c[e+72>>2]|0)+56|0,c[e>>2]|0,0)|0)+8>>2]|0))o=(c[e+16>>2]|0)!=0;else o=1;o=o&1}if((f|0)!=0|(o|0)!=0){w=l&255;v=(f|0)==0;if(v)o=0;else{r=d+120|0;o=0;q=f;do{do if((a[q+8>>0]|0)==109?(a[q+9>>0]&3)!=0:0){p=c[r>>2]|0;p=c[((p|0)==0?d:p)+460>>2]|0;a:do if(!p)s=35;else while(1){if((c[p>>2]|0)==(q|0)?(c[p+12>>2]|0)==(w|0):0)break a;p=c[p+4>>2]|0;if(!p){s=35;break}}while(0);if((s|0)==35){s=0;p=Hm(d,q,e,w)|0;if(!p)break}o=c[p+16>>2]|o}while(0);q=c[q+32>>2]|0}while((q|0)!=0)}s=Im(d,e)|0|o;u=d+44|0;q=c[u>>2]|0;r=q+1|0;t=e+42|0;o=b[t>>1]|0;c[u>>2]=(o<<16>>16)+r;u=C+136|0;p=c[u>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(p|0)){c[u>>2]=p+1;E=c[C+88>>2]|0;a[E+(p*20|0)>>0]=75;b[E+(p*20|0)+2>>1]=0;c[E+(p*20|0)+4>>2]=i;c[E+(p*20|0)+8>>2]=r;c[E+(p*20|0)+12>>2]=0;c[E+(p*20|0)+16>>2]=0;a[E+(p*20|0)+1>>0]=0}else{zi(C,75,i,r,0)|0;o=b[t>>1]|0}b:do if(o<<16>>16>0){q=q+2|0;if((s|0)==-1){o=0;while(1){Ek(C,e,g,o,o+q|0);o=o+1|0;if((o|0)>=(b[t>>1]|0))break b}}else p=0;do{if((p|0)<32?(1<>1]|0}p=p+1|0}while((p|0)<(o<<16>>16|0))}while(0);p=c[u>>2]|0;if(v)o=p;else{o=f;do{if((a[o+8>>0]|0)==109?(a[o+9>>0]|0)==1:0)Ll(d,o,e,r,w,z);o=c[o+32>>2]|0}while((o|0)!=0);o=c[u>>2]|0}if((p|0)<(o|0)){if((c[(c[B>>2]|0)+48>>2]|0)>(o|0)){c[u>>2]=o+1;E=c[C+88>>2]|0;a[E+(o*20|0)>>0]=x;b[E+(o*20|0)+2>>1]=0;c[E+(o*20|0)+4>>2]=g;c[E+(o*20|0)+8>>2]=z;c[E+(o*20|0)+12>>2]=i;c[E+(o*20|0)+16>>2]=0;a[E+(o*20|0)+1>>0]=0}else o=zi(C,x&255,g,z,i)|0;if(!(a[(c[C>>2]|0)+73>>0]|0)){E=c[C+88>>2]|0;a[E+(o*20|0)+1>>0]=-3;c[E+(o*20|0)+16>>2]=j<<16>>16;o=-1}else o=-1}else o=n;Nl(d,e,r,0,0,0);n=o}else r=0;if(!(c[e+12>>2]|0)){Gm(d,e,g,h,0,n);o=k<<24>>24!=0&1;q=C+136|0;p=c[q>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(p|0)){c[q>>2]=p+1;E=c[C+88>>2]|0;a[E+(p*20|0)>>0]=118;b[E+(p*20|0)+2>>1]=0;c[E+(p*20|0)+4>>2]=g;c[E+(p*20|0)+8>>2]=o;c[E+(p*20|0)+12>>2]=0;c[E+(p*20|0)+16>>2]=0;a[E+(p*20|0)+1>>0]=0}else zi(C,118,g,o,0)|0;if((a[d+18>>0]|0)==0?(a[(c[C>>2]|0)+73>>0]|0)==0:0){k=c[C+88>>2]|0;E=(c[q>>2]|0)+-1|0;a[k+(E*20|0)+1>>0]=-6;c[k+(E*20|0)+16>>2]=e}if(!y?(A=c[q>>2]|0,(A|0)>0):0)b[(c[C+88>>2]|0)+((A+-1|0)*20|0)+2>>1]=4;do if(!((n|0)<0|(n|0)==(g|0))){o=c[q>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(o|0)){c[q>>2]=o+1;E=c[C+88>>2]|0;a[E+(o*20|0)>>0]=118;b[E+(o*20|0)+2>>1]=0;c[E+(o*20|0)+4>>2]=n;c[E+(o*20|0)+8>>2]=0;c[E+(o*20|0)+12>>2]=0;c[E+(o*20|0)+16>>2]=0;a[E+(o*20|0)+1>>0]=0;break}else{zi(C,118,n,0,0)|0;break}}while(0);o=c[q>>2]|0;if((o|0)>0)b[(c[C+88>>2]|0)+((o+-1|0)*20|0)+2>>1]=m<<24>>24==2?2:0}Jm(d,e,0,r,0,0);o=l&255;if(f|0)do{if((a[f+8>>0]|0)==109?(a[f+9>>0]|0)==2:0)Ll(d,f,e,r,o,z);f=c[f+32>>2]|0}while((f|0)!=0);f=c[(c[B>>2]|0)+72>>2]|0;if(!f)return;c[f+(D<<2)>>2]=c[C+136>>2];return}function Gm(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+16|0;C=H;D=d+8|0;E=c[D>>2]|0;k=c[f+8>>2]|0;a:do if(!(c[f+36>>2]&32))f=0;else{if(!k){l=H;return}else f=k;while(1){if((a[f+55>>0]&3)==2)break a;f=c[f+20>>2]|0;if(!f){f=0;break}}}while(0);if(!k){l=H;return}v=(i|0)==0;w=E+136|0;x=E+12|0;y=E+88|0;z=d+60|0;A=d+25|0;B=d+19|0;m=-1;n=0;u=0;while(1){if(v){if((k|0)!=(f|0))G=10}else if(!((k|0)==(f|0)?1:(c[i+(u<<2)>>2]|0)==0))G=10;b:do if((G|0)==10){G=0;p=u+h|0;if((p|0)!=(j|0)){m=Bk(d,k,g,0,1,C,n,m)|0;n=e[((a[k+55>>0]&8)==0?k+52|0:k+50|0)>>1]|0;o=c[w>>2]|0;if((c[(c[x>>2]|0)+48>>2]|0)>(o|0)){c[w>>2]=o+1;t=c[y>>2]|0;a[t+(o*20|0)>>0]=-128;b[t+(o*20|0)+2>>1]=0;c[t+(o*20|0)+4>>2]=p;c[t+(o*20|0)+8>>2]=m;c[t+(o*20|0)+12>>2]=n;c[t+(o*20|0)+16>>2]=0;a[t+(o*20|0)+1>>0]=0}else zi(E,128,p,m,n)|0;n=c[C>>2]|0;if(n){o=c[D>>2]|0;p=c[(c[o+12>>2]|0)+72>>2]|0;if(p|0)c[p+(~n<<2)>>2]=c[o+136>>2];o=(c[z>>2]|0)+-1|0;c[z>>2]=o;n=a[A>>0]|0;if(n<<24>>24){t=0;while(1){p=d+148+(t*20|0)+8|0;q=d+148+(t*20|0)|0;r=d+148+(t*20|0)+6|0;s=d+148+(t*20|0)+12|0;if((c[p>>2]|0)>(o|0))do{if(a[r>>0]|0?(F=a[B>>0]|0,(F&255)<8):0){o=c[s>>2]|0;a[B>>0]=F+1<<24>>24;c[d+348+((F&255)<<2)>>2]=o}n=n+-1<<24>>24;a[A>>0]=n;o=n&255;if((o|0)>(t|0)){n=d+148+(o*20|0)|0;c[q>>2]=c[n>>2];c[q+4>>2]=c[n+4>>2];c[q+8>>2]=c[n+8>>2];c[q+12>>2]=c[n+12>>2];c[q+16>>2]=c[n+16>>2];n=a[A>>0]|0}if((t|0)>=(n&255|0)){n=k;break b}o=c[z>>2]|0}while((c[p>>2]|0)>(o|0));t=t+1|0;if((t|0)>=(n&255|0)){n=k;break}}}else n=k}else n=k}}while(0);k=c[k+20>>2]|0;if(!k)break;else u=u+1|0}l=H;return}function Hm(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=l;l=l+80|0;u=N+32|0;I=N;v=N+40|0;K=c[f+120>>2]|0;K=(K|0)==0?f:K;L=c[f>>2]|0;M=(L|0)==0;do if(M){if(!(c[2]|0)){j=jb[c[52>>2]&255](24)|0;t=22;break}j=jb[c[68>>2]&255](24)|0;if((c[11829]|0)>>>0<24)c[11829]=24;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){G=c[11822]|0;H=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;F=z;c[11616]=(0>(F|0)|0==(F|0)&G>>>0>=H>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k){M=0;l=N;return M|0}j=jb[c[64>>2]&255](k)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;H=k}else H=k}else{if(c[L+264>>2]|0){if(a[L+73>>0]|0){M=0;l=N;return M|0}}else{if((e[L+268>>1]|0)>=24){k=L+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=22;break}k=L+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=22;break}}else j=1;H=L+276+(j<<2)|0;c[H>>2]=(c[H>>2]|0)+1}j=Ec(L,24,0)|0;t=22}while(0);if((t|0)==22)if(!j){M=0;l=N;return M|0}else H=j;o=H;p=o+24|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));G=K+460|0;c[H+4>>2]=c[G>>2];c[G>>2]=H;do if(M){if(!(c[2]|0)){j=jb[c[52>>2]&255](28)|0;t=44;break}j=jb[c[68>>2]&255](28)|0;if((c[11829]|0)>>>0<28)c[11829]=28;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){F=c[11822]|0;G=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;E=z;c[11616]=(0>(E|0)|0==(E|0)&F>>>0>=G>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(j){k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k}else t=45}else{if(c[L+264>>2]|0){if(a[L+73>>0]|0){t=45;break}}else{if((e[L+268>>1]|0)>=28){k=L+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=44;break}k=L+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=44;break}}else j=1;G=L+276+(j<<2)|0;c[G>>2]=(c[G>>2]|0)+1}j=Ec(L,28,0)|0;t=44}while(0);if((t|0)==44)if(!j)t=45;if((t|0)==45){c[H+8>>2]=0;M=0;l=N;return M|0}o=j;p=o+24|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));c[H+8>>2]=j;F=(c[K+8>>2]|0)+208|0;c[j+24>>2]=c[F>>2];c[F>>2]=j;c[H>>2]=g;c[H+12>>2]=i;F=H+16|0;c[F>>2]=-1;G=H+20|0;c[G>>2]=-1;do if(M){if(!(c[2]|0)){k=jb[c[52>>2]&255](472)|0;t=67;break}k=jb[c[68>>2]&255](472)|0;if((c[11829]|0)>>>0<472)c[11829]=472;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){D=c[11822]|0;E=Gt(m|0,n|0,k|0,((k|0)<0)<<31>>31|0)|0;C=z;c[11616]=(0>(C|0)|0==(C|0)&D>>>0>=E>>>0)&1}m=jb[c[52>>2]&255](k)|0;if(!m){M=0;l=N;return M|0}k=jb[c[64>>2]&255](m)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;E=m}else E=m}else{if(c[L+264>>2]|0){if(a[L+73>>0]|0){M=0;l=N;return M|0}}else{if((e[L+268>>1]|0)>=472){m=L+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=67;break}m=L+288|0;k=c[m>>2]|0;if(!k)k=2;else{c[m>>2]=c[k>>2];t=L+276|0;c[t>>2]=(c[t>>2]|0)+1;t=67;break}}else k=1;E=L+276+(k<<2)|0;c[E>>2]=(c[E>>2]|0)+1}k=Ec(L,472,0)|0;t=67}while(0);if((t|0)==67)if(!k){M=0;l=N;return M|0}else E=k;B=E+4|0;Vt(B|0,0,468)|0;m=v+4|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;c[m+24>>2]=0;c[v>>2]=E;c[E>>2]=L;c[E+124>>2]=h;c[E+120>>2]=K;m=c[g>>2]|0;c[E+440>>2]=m;a[E+144>>0]=a[g+8>>0]|0;c[E+132>>2]=c[f+132>>2];s=E+8|0;k=c[s>>2]|0;D=E;if(!k){k=yi(E)|0;if(k|0){C=k;k=c[g>>2]|0;t=72}}else{C=k;k=m;t=72}do if((t|0)==72){c[I>>2]=k;o=Ff(L,33326,I)|0;k=c[C>>2]|0;do if(!(a[k+73>>0]|0)){k=(c[C+136>>2]|0)+-1|0;m=c[C+88>>2]|0;n=m+(k*20|0)+1|0;if(a[n>>0]|0){Ai(C,m+(k*20|0)|0,o,-7);break}if(o|0){c[m+(k*20|0)+16>>2]=o;a[n>>0]=-7}}else if(o|0){if(k|0){if(c[k+464>>2]|0){Lc(k,o);break}A=o;if(A>>>0>=(c[k+296>>2]|0)>>>0?A>>>0<(c[k+300>>2]|0)>>>0:0){A=k+292|0;c[o>>2]=c[A>>2];c[A>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{A=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);k=c[g+12>>2]|0;do if(!k)k=0;else{r=sj(L,k,0,0)|0;q=(r|0)==0;do if(!q){m=v+28|0;b[m>>1]=0;c[I>>2]=D;c[I+4>>2]=184;c[I+8>>2]=185;c[I+12>>2]=0;c[I+24>>2]=v;n=r+24|0;k=E+408|0;A=(c[k>>2]|0)+(c[n>>2]|0)|0;c[k>>2]=A;k=c[(c[E>>2]|0)+112>>2]|0;if((k|0)<(A|0)){c[u>>2]=k;hg(E,24905,u);k=0;break}$j(I,r)|0;k=c[I>>2]|0;A=k+408|0;c[A>>2]=(c[A>>2]|0)-(c[n>>2]|0);if(b[m>>1]&16){A=r+4|0;c[A>>2]=c[A>>2]|2}if((c[v+24>>2]|0)<=0?(c[k+36>>2]|0)<=0:0){t=97;break}else{k=0;break}}else t=97;while(0);if((t|0)==97){if(!(a[L+73>>0]|0)){k=c[C+12>>2]|0;p=k+68|0;h=c[p>>2]|0;c[p>>2]=h+1;p=k+72|0;if(!(h+-1&h)){m=c[k>>2]|0;n=c[p>>2]|0;k=Mc(m,n,h<<3|4,0)|0;a:do if(!((n|0)==0|(k|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,n);break a}o=n;if(o>>>0>=(c[m+296>>2]|0)>>>0){if(o>>>0>=(c[m+300>>2]|0)>>>0)break;A=m+292|0;c[n>>2]=c[A>>2];c[A>>2]=n;break a}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{A=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[p>>2]=k}else k=c[p>>2]|0;if(k|0)c[k+(h<<2)>>2]=-1;k=~h;Dk(E,r,k,16)}else k=0;if(q)break}Qf(L,r)}while(0);s=c[s>>2]|0;t=c[E>>2]|0;m=c[g+28>>2]|0;b:do if(m|0){u=(i|0)==10;v=E+145|0;w=I+4|0;x=s+136|0;y=s+12|0;A=s+88|0;r=i&255;while(1){if(u)n=a[m+1>>0]|0;else n=r;a[v>>0]=n;switch(a[m>>0]|0){case 110:{h=c[E>>2]|0;q=Wi(h,0,0,0)|0;if(q|0){o=kg(h,c[m+12>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+8>>2]=o;o=c[(c[m+4>>2]|0)+20>>2]|0;if(!o)n=-1e6;else{p=c[h+16>>2]|0;n=0;while(1)if((c[p+(n<<4)+12>>2]|0)==(o|0))break;else n=n+1|0}if((n|0)==0|(n|0)>1){i=kg(h,c[(c[h+16>>2]|0)+(n<<4)>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+4>>2]=i}}o=Ui(t,c[m+20>>2]|0,0)|0;n=c[m+16>>2]|0;if(!n)n=0;else n=sj(t,n,0,0)|0;aj(E,q,o,n,d[v>>0]|0);break}case 108:{h=c[E>>2]|0;q=Wi(h,0,0,0)|0;if(q|0){o=kg(h,c[m+12>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+8>>2]=o;o=c[(c[m+4>>2]|0)+20>>2]|0;if(!o)n=-1e6;else{p=c[h+16>>2]|0;n=0;while(1)if((c[p+(n<<4)+12>>2]|0)==(o|0))break;else n=n+1|0}if((n|0)==0|(n|0)>1){i=kg(h,c[(c[h+16>>2]|0)+(n<<4)>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+4>>2]=i}}i=Ti(t,c[m+8>>2]|0,0)|0;cj(E,q,i,tj(t,c[m+24>>2]|0)|0,d[v>>0]|0);break}case 109:{h=c[E>>2]|0;q=Wi(h,0,0,0)|0;if(q|0){o=kg(h,c[m+12>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+8>>2]=o;o=c[(c[m+4>>2]|0)+20>>2]|0;if(!o)n=-1e6;else{p=c[h+16>>2]|0;n=0;while(1)if((c[p+(n<<4)+12>>2]|0)==(o|0))break;else n=n+1|0}if((n|0)==0|(n|0)>1){i=kg(h,c[(c[h+16>>2]|0)+(n<<4)>>2]|0)|0;c[q+8+(((c[q>>2]|0)+-1|0)*72|0)+4>>2]=i}}n=c[m+16>>2]|0;if(!n)n=0;else n=sj(t,n,0,0)|0;$i(E,q,n);break}default:{n=Ti(t,c[m+8>>2]|0,0)|0;a[I>>0]=4;c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;c[w+12>>2]=0;Vi(E,n,I)|0;if(n|0)Sf(t,n,1)}}do if((a[m>>0]|0)!=119){n=c[x>>2]|0;if((c[(c[y>>2]|0)+48>>2]|0)>(n|0)){c[x>>2]=n+1;o=c[A>>2]|0;a[o+(n*20|0)>>0]=119;o=o+(n*20|0)+1|0;p=o+19|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));break}else{zi(s,119,0,0,0)|0;break}}while(0);m=c[m+28>>2]|0;if(!m)break b}}while(0);m=c[C+12>>2]|0;if(k|0?(J=c[m+72>>2]|0,J|0):0)c[J+(~k<<2)>>2]=c[C+136>>2];n=C+136|0;k=c[n>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[n>>2]=k+1;o=c[C+88>>2]|0;a[o+(k*20|0)>>0]=66;o=o+(k*20|0)+1|0;p=o+19|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}else zi(C,66,0,0,0)|0;k=f+36|0;m=c[B>>2]|0;do if(c[k>>2]|0){k=c[E>>2]|0;if(m|0){if(k|0){if(c[k+464>>2]|0){Lc(k,m);break}f=m;if(f>>>0>=(c[k+296>>2]|0)>>>0?f>>>0<(c[k+300>>2]|0)>>>0:0){f=k+292|0;c[m>>2]=c[f>>2];c[f>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{f=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}}else{c[f+4>>2]=m;c[k>>2]=c[E+36>>2];c[f+12>>2]=c[E+12>>2]}while(0);if(!(a[L+73>>0]|0)){J=C+88|0;f=c[J>>2]|0;Km(C,K+104|0);c[j+4>>2]=c[n>>2];c[J>>2]=0;c[j>>2]=f}c[j+8>>2]=c[E+44>>2];c[j+12>>2]=c[E+40>>2];c[j+20>>2]=g;c[F>>2]=c[E+136>>2];c[G>>2]=c[E+140>>2];m=c[C>>2]|0;Uf(m,C);n=c[C+4>>2]|0;k=C+8|0;j=c[k>>2]|0;if(!n)c[m+4>>2]=j;else{c[n+8>>2]=j;j=c[k>>2]|0}if(j|0)c[j+4>>2]=n;c[C+20>>2]=1443283912;c[C>>2]=0;if(m|0){if(c[m+464>>2]|0){Lc(m,C);break}g=C;if(g>>>0>=(c[m+296>>2]|0)>>>0?g>>>0<(c[m+300>>2]|0)>>>0:0){g=m+292|0;c[C>>2]=c[g>>2];c[g>>2]=C;break}}if(!(c[2]|0)){pb[c[56>>2]&255](C);break}else{g=jb[c[64>>2]&255](C)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](C);break}}while(0);ig(E);if(!M){if(c[L+464>>2]|0){Lc(L,E);M=H;l=N;return M|0}if(D>>>0>=(c[L+296>>2]|0)>>>0?D>>>0<(c[L+300>>2]|0)>>>0:0){M=L+292|0;c[E>>2]=c[M>>2];c[M>>2]=E;M=H;l=N;return M|0}}if(!(c[2]|0)){pb[c[56>>2]&255](E);M=H;l=N;return M|0}else{M=jb[c[64>>2]&255](E)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](E);M=H;l=N;return M|0}return 0}function Im(a,d){a=a|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+16|0;j=m;if(!(c[(c[a>>2]|0)+28>>2]&16384)){k=0;l=m;return k|0}e=c[d+16>>2]|0;if(!e)e=0;else{h=e;e=0;do{g=c[h+20>>2]|0;if((g|0)>0){f=0;do{i=c[h+36+(f<<3)>>2]|0;e=((i|0)>31?-1:1<>2]|0}while((h|0)!=0)}f=c[($f((c[d+72>>2]|0)+56|0,c[d>>2]|0,0)|0)+8>>2]|0;if(!f){k=e;l=m;return k|0}do{c[j>>2]=0;xl(a,d,f,j,0)|0;g=c[j>>2]|0;if((g|0)!=0?(k=b[g+50>>1]|0,k<<16>>16!=0):0){i=k&65535;h=c[g+4>>2]|0;g=0;do{n=b[h+(g<<1)>>1]|0;e=(n<<16>>16>31?-1:1<<(n<<16>>16))|e;g=g+1|0}while((g|0)<(i|0))}f=c[f+12>>2]|0}while((f|0)!=0);l=m;return e|0}function Jm(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0;qa=l;l=l+96|0;na=qa+64|0;ma=qa+56|0;la=qa+48|0;pa=qa+40|0;oa=qa+32|0;ka=qa+24|0;ja=qa+16|0;fa=qa+8|0;ga=qa+92|0;ha=qa+88|0;ia=qa;ca=qa+80|0;da=qa+72|0;if(!(c[(c[d>>2]|0)+28>>2]&16384)){l=qa;return}ba=f+72|0;k=c[($f((c[ba>>2]|0)+56|0,c[f>>2]|0,0)|0)+8>>2]|0;if(!k){l=qa;return}ea=(i|0)==0;Q=(g|0)!=0;R=Q&1;T=464;S=c[T>>2]|0;T=c[T+4>>2]|0;V=472;U=c[V>>2]|0;V=c[V+4>>2]|0;W=f+4|0;X=f+40|0;Y=da+4|0;Z=ca+4|0;_=ia+4|0;$=fa+4|0;aa=Q?110:109;do{if(!(!ea?!(Ql(f,k,i,j)|0):0))L=6;a:do if((L|0)==6){L=0;P=c[d>>2]|0;N=a[k+25+R>>0]|0;M=N<<24>>24==6;if(M?c[P+28>>2]&524288|0:0)break;O=k+28+(R<<2)|0;g=c[O>>2]|0;b:do if(!(N<<24>>24==0|(g|0)!=0)){c[ga>>2]=0;c[ha>>2]=0;c:do if(!(xl(d,f,k,ga,ha)|0)){A=k+20|0;if((c[A>>2]|0)>0){B=k+36|0;J=c[ga>>2]|0;C=(J|0)==0;K=N<<24>>24!=6&(Q|N<<24>>24!=9);D=P+264|0;E=P+268|0;F=P+292|0;G=P+288|0;H=P+276|0;I=P+73|0;J=J+4|0;n=0;w=0;v=0;m=0;while(1){u=fa;c[u>>2]=S;c[u+4>>2]=T;u=ia;c[u>>2]=U;c[u+4>>2]=V;u=c[ha>>2]|0;u=c[((u|0)==0?B:u+(w<<2)|0)>>2]|0;if(C)g=X;else g=(c[J>>2]|0)+(w<<1)|0;g=c[(c[W>>2]|0)+(b[g>>1]<<4)>>2]|0;c[da>>2]=g;if(!g)g=0;else g=(As(g)|0)&1073741823;c[Y>>2]=g;g=c[(c[(c[k>>2]|0)+4>>2]|0)+(u<<4)>>2]|0;c[ca>>2]=g;if(!g)g=0;else g=(As(g)|0)&1073741823;c[Z>>2]=g;r=Yi(P,59,fa,0)|0;q=Yi(P,59,da,0)|0;p=c[d>>2]|0;d:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))L=26;else{g=p;L=30}else{do if((e[p+268>>1]|0)<48)g=1;else{g=p+292|0;o=c[g>>2]|0;if(o|0){c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=27;break d}g=p+288|0;o=c[g>>2]|0;if(!o){g=2;break}c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=27;break d}while(0);L=p+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=26}while(0);if((L|0)==26){o=Ec(p,48,0)|0;L=27}do if((L|0)==27){L=0;if(!o){g=c[d>>2]|0;L=30;break}x=o;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[o>>0]=122;b[o+34>>1]=-1;if(!q)g=0;else{c[o+16>>2]=q;g=c[q+4>>2]&2097412;c[o+4>>2]=g}if(r|0){c[o+12>>2]=r;c[o+4>>2]=c[r+4>>2]&2097412|g}Ji(o);g=c[(c[d>>2]|0)+112>>2]|0;if((g|0)>=(c[o+24>>2]|0)){s=0;break}c[ja>>2]=g;hg(d,24905,ja);s=0}while(0);if((L|0)==30){if(r|0)Qf(g,r);if(!q){o=0;s=1}else{Qf(g,q);o=0;s=1}}r=Yi(P,59,ca,0)|0;q=c[d>>2]|0;e:do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))L=47;else{g=q;L=51}else{do if((e[q+268>>1]|0)<48)g=1;else{p=q+292|0;g=c[p>>2]|0;if(g|0){c[p>>2]=c[g>>2];L=q+276|0;c[L>>2]=(c[L>>2]|0)+1;L=48;break e}p=q+288|0;g=c[p>>2]|0;if(!g){g=2;break}c[p>>2]=c[g>>2];L=q+276|0;c[L>>2]=(c[L>>2]|0)+1;L=48;break e}while(0);L=q+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=47}while(0);if((L|0)==47){g=Ec(q,48,0)|0;L=48}do if((L|0)==48){L=0;if(!g){g=c[d>>2]|0;L=51;break}x=g;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[g>>0]=53;b[g+34>>1]=-1;if(!r)p=0;else{c[g+16>>2]=r;p=c[r+4>>2]&2097412;c[g+4>>2]=p}if(!s){c[g+12>>2]=o;c[g+4>>2]=c[o+4>>2]&2097412|p}Ji(g);o=c[(c[d>>2]|0)+112>>2]|0;if((o|0)>=(c[g+24>>2]|0))break;c[ka>>2]=o;hg(d,24905,ka)}while(0);do if((L|0)==51){L=0;if(!s)Qf(g,o);if(!r){g=0;break}Qf(g,r);g=0}while(0);m=mk(P,m,g)|0;if(Q){r=Yi(P,59,fa,0)|0;q=Yi(P,59,da,0)|0;p=c[d>>2]|0;f:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))L=69;else{g=p;L=73}else{do if((e[p+268>>1]|0)<48)g=1;else{g=p+292|0;o=c[g>>2]|0;if(o|0){c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=70;break f}g=p+288|0;o=c[g>>2]|0;if(!o){g=2;break}c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=70;break f}while(0);L=p+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=69}while(0);if((L|0)==69){o=Ec(p,48,0)|0;L=70}do if((L|0)==70){L=0;if(!o){g=c[d>>2]|0;L=73;break}x=o;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[o>>0]=122;b[o+34>>1]=-1;if(!q)g=0;else{c[o+16>>2]=q;g=c[q+4>>2]&2097412;c[o+4>>2]=g}if(r|0){c[o+12>>2]=r;c[o+4>>2]=c[r+4>>2]&2097412|g}Ji(o);g=c[(c[d>>2]|0)+112>>2]|0;if((g|0)>=(c[o+24>>2]|0)){t=0;break}c[oa>>2]=g;hg(d,24905,oa);t=0}while(0);do if((L|0)==73){if(r|0)Qf(g,r);if(!q){o=0;t=1;break}Qf(g,q);o=0;t=1}while(0);s=Yi(P,59,ia,0)|0;r=Yi(P,59,da,0)|0;q=c[d>>2]|0;g:do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))L=90;else{g=q;L=94}else{do if((e[q+268>>1]|0)<48)g=1;else{g=q+292|0;p=c[g>>2]|0;if(p|0){c[g>>2]=c[p>>2];L=q+276|0;c[L>>2]=(c[L>>2]|0)+1;L=91;break g}g=q+288|0;p=c[g>>2]|0;if(!p){g=2;break}c[g>>2]=c[p>>2];L=q+276|0;c[L>>2]=(c[L>>2]|0)+1;L=91;break g}while(0);L=q+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=90}while(0);if((L|0)==90){p=Ec(q,48,0)|0;L=91}do if((L|0)==91){L=0;if(!p){g=c[d>>2]|0;L=94;break}x=p;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[p>>0]=122;b[p+34>>1]=-1;if(!r)g=0;else{c[p+16>>2]=r;g=c[r+4>>2]&2097412;c[p+4>>2]=g}if(s|0){c[p+12>>2]=s;c[p+4>>2]=c[s+4>>2]&2097412|g}Ji(p);g=c[(c[d>>2]|0)+112>>2]|0;if((g|0)>=(c[p+24>>2]|0)){s=0;break}c[pa>>2]=g;hg(d,24905,pa);s=0}while(0);do if((L|0)==94){if(s|0)Qf(g,s);if(!r){p=0;s=1;break}Qf(g,r);p=0;s=1}while(0);r=c[d>>2]|0;h:do if(c[r+264>>2]|0)if(!(a[r+73>>0]|0))L=111;else{g=r;L=115}else{do if((e[r+268>>1]|0)<48)g=1;else{q=r+292|0;g=c[q>>2]|0;if(g|0){c[q>>2]=c[g>>2];L=r+276|0;c[L>>2]=(c[L>>2]|0)+1;L=112;break h}q=r+288|0;g=c[q>>2]|0;if(!g){g=2;break}c[q>>2]=c[g>>2];L=r+276|0;c[L>>2]=(c[L>>2]|0)+1;L=112;break h}while(0);L=r+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=111}while(0);if((L|0)==111){g=Ec(r,48,0)|0;L=112}do if((L|0)==112){L=0;if(!g){g=c[d>>2]|0;L=115;break}x=g;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[g>>0]=45;b[g+34>>1]=-1;if(s)p=0;else{c[g+16>>2]=p;p=c[p+4>>2]&2097412;c[g+4>>2]=p}if(!t){c[g+12>>2]=o;c[g+4>>2]=c[o+4>>2]&2097412|p}Ji(g);o=c[(c[d>>2]|0)+112>>2]|0;if((o|0)>=(c[g+24>>2]|0))break;c[la>>2]=o;hg(d,24905,la)}while(0);do if((L|0)==115){L=0;if(!t)Qf(g,o);if(s){g=0;break}Qf(g,p);g=0}while(0);n=mk(P,n,g)|0}i:do if(K){j:do switch(N<<24>>24){case 9:{r=Yi(P,59,ia,0)|0;q=Yi(P,59,da,0)|0;p=c[d>>2]|0;k:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))L=135;else g=p;else{do if((e[p+268>>1]|0)<48)g=1;else{o=p+292|0;g=c[o>>2]|0;if(g|0){c[o>>2]=c[g>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=136;break k}o=p+288|0;g=c[o>>2]|0;if(!g){g=2;break}c[o>>2]=c[g>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=136;break k}while(0);L=p+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=135}while(0);if((L|0)==135){g=Ec(p,48,0)|0;L=136}do if((L|0)==136){L=0;if(!g){g=c[d>>2]|0;break}x=g;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[g>>0]=122;b[g+34>>1]=-1;if(!q)o=0;else{c[g+16>>2]=q;o=c[q+4>>2]&2097412;c[g+4>>2]=o}if(r|0){c[g+12>>2]=r;c[g+4>>2]=c[r+4>>2]&2097412|o}Ji(g);o=c[(c[d>>2]|0)+112>>2]|0;if((o|0)>=(c[g+24>>2]|0))break j;c[ma>>2]=o;hg(d,24905,ma);break j}while(0);if(r|0)Qf(g,r);if(!q){g=0;break j}Qf(g,q);g=0;break}case 8:{g=c[(c[(c[k>>2]|0)+4>>2]|0)+(u<<4)+4>>2]|0;if(g|0){g=sj(P,g,0,0)|0;break j}l:do if(c[D>>2]|0)if(!(a[I>>0]|0))L=158;else{g=0;break j}else{do if((e[E>>1]|0)<48)g=1;else{g=c[F>>2]|0;if(g|0){c[F>>2]=c[g>>2];c[H>>2]=(c[H>>2]|0)+1;break l}g=c[G>>2]|0;if(!g){g=2;break}c[G>>2]=c[g>>2];c[H>>2]=(c[H>>2]|0)+1;break l}while(0);L=P+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=158}while(0);if((L|0)==158){L=0;g=Ec(P,48,0)|0}if(!g)break j;x=g;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[g>>0]=101;b[g+34>>1]=-1;c[g+24>>2]=1;break}default:{m:do if(c[D>>2]|0)if(!(a[I>>0]|0))L=169;else{g=0;break j}else{do if((e[E>>1]|0)<48)g=1;else{g=c[F>>2]|0;if(g|0){c[F>>2]=c[g>>2];c[H>>2]=(c[H>>2]|0)+1;break m}g=c[G>>2]|0;if(!g){g=2;break}c[G>>2]=c[g>>2];c[H>>2]=(c[H>>2]|0)+1;break m}while(0);L=P+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=169}while(0);if((L|0)==169){L=0;g=Ec(P,48,0)|0}if(!g)break j;x=g;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[g>>0]=101;b[g+34>>1]=-1;c[g+24>>2]=1}}while(0);g=Mi(c[d>>2]|0,v,g)|0;if(!g){g=0;break}t=(c[g>>2]|0)+-1|0;q=c[d>>2]|0;u=c[ca>>2]|0;v=c[Z>>2]|0;n:do if(u|0){r=Ft(v|0,0,1,0)|0;s=z;o:do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))L=182;else break n;else{do if(0>>0|(0==(s|0)?(e[q+268>>1]|0)>>>0>>0:0))o=1;else{p=q+292|0;o=c[p>>2]|0;if(o|0){c[p>>2]=c[o>>2];y=q+276|0;c[y>>2]=(c[y>>2]|0)+1;break o}p=q+288|0;o=c[p>>2]|0;if(!o){o=2;break}c[p>>2]=c[o>>2];y=q+276|0;c[y>>2]=(c[y>>2]|0)+1;break o}while(0);L=q+276+(o<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=182}while(0);if((L|0)==182){L=0;o=Ec(q,r,s)|0}if(!o)break;Tt(o|0,u|0,v|0)|0;a[o+v>>0]=0;c[g+4+(t*20|0)+4>>2]=o;break i}while(0);c[g+4+(t*20|0)+4>>2]=0}else g=v;while(0);w=w+1|0;if((w|0)>=(c[A>>2]|0)){w=g;break}else v=g}}else{n=0;w=0;m=0}g=c[ha>>2]|0;do if(g|0){if(P|0){if(c[P+464>>2]|0){Lc(P,g);break}K=g;if(K>>>0>=(c[P+296>>2]|0)>>>0?K>>>0<(c[P+300>>2]|0)>>>0:0){K=P+292|0;c[g>>2]=c[K>>2];c[K>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{K=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-K;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);s=c[c[k>>2]>>2]|0;if(!s)r=0;else r=(As(s)|0)&1073741823;if(M){c[ia>>2]=s;c[_>>2]=r;c[fa>>2]=21411;c[$>>2]=29;g=Yi(P,70,fa,0)|0;if(g|0)a[g+1>>0]=2;v=Mi(c[d>>2]|0,0,g)|0;v=Xi(d,v,Wi(P,0,ia,0)|0,m,0,0,0,0,0)|0;m=0}else v=0;u=P+264|0;g=(c[u>>2]|0)+1|0;c[u>>2]=g;q=r+73|0;p:do if(!P)if((r+72|0)>>>0>2147483390){p=0;o=0;g=0}else{if(!(c[2]|0)){g=jb[c[52>>2]&255](q)|0;L=225;break}g=jb[c[68>>2]&255](q)|0;if((c[11829]|0)>>>0>>0)c[11829]=q;p=46456;o=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&o>>>0>0){K=c[11822]|0;M=Gt(o|0,p|0,g|0,((g|0)<0)<<31>>31|0)|0;J=z;c[11616]=(0>(J|0)|0==(J|0)&K>>>0>=M>>>0)&1}o=jb[c[52>>2]&255](g)|0;if(!o){p=0;o=0;g=0;break}g=jb[c[64>>2]&255](o)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0<=(c[11831]|0)>>>0){t=o;L=226;break}c[11831]=g;t=o;L=226}else{if(g){if(a[P+73>>0]|0){p=0;o=0;g=0;break}}else{do if(0<0|(0==0?(e[P+268>>1]|0)>>>0>>0:0))g=1;else{o=P+292|0;g=c[o>>2]|0;if(g|0){c[o>>2]=c[g>>2];L=P+276|0;c[L>>2]=(c[L>>2]|0)+1;L=225;break p}o=P+288|0;g=c[o>>2]|0;if(!g){g=2;break}c[o>>2]=c[g>>2];L=P+276|0;c[L>>2]=(c[L>>2]|0)+1;L=225;break p}while(0);M=P+276+(g<<2)|0;c[M>>2]=(c[M>>2]|0)+1}g=Ec(P,q,0)|0;L=225}while(0);if((L|0)==225){L=0;if(!g){p=0;o=0;g=0}else{t=g;L=226}}if((L|0)==226){L=0;Vt(t|0,0,q|0)|0;q=t+36|0;c[t+28>>2]=q;M=t+72|0;c[t+48>>2]=M;Tt(M|0,s|0,r|0)|0;if(!m)g=0;else g=sj(P,m,1,0)|0;c[t+52>>2]=g;c[t+56>>2]=Ui(P,w,1)|0;c[t+44>>2]=Ti(P,v,1)|0;if(!n){p=t;o=q;n=0;g=t}else{p=c[d>>2]|0;q:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))L=237;else{g=p;L=241}else{do if((e[p+268>>1]|0)<48)g=1;else{g=p+292|0;o=c[g>>2]|0;if(o|0){c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=238;break q}g=p+288|0;o=c[g>>2]|0;if(!o){g=2;break}c[g>>2]=c[o>>2];L=p+276|0;c[L>>2]=(c[L>>2]|0)+1;L=238;break q}while(0);L=p+276+(g<<2)|0;c[L>>2]=(c[L>>2]|0)+1;L=237}while(0);if((L|0)==237){o=Ec(p,48,0)|0;L=238}do if((L|0)==238){L=0;if(!o){g=c[d>>2]|0;L=241;break}x=o;y=x+48|0;do{c[x>>2]=0;x=x+4|0}while((x|0)<(y|0));a[o>>0]=19;b[o+34>>1]=-1;c[o+12>>2]=n;c[o+4>>2]=c[n+4>>2]&2097412;Ji(o);g=c[(c[d>>2]|0)+112>>2]|0;if((g|0)<(c[o+24>>2]|0)){c[na>>2]=g;hg(d,24905,na)}g=sj(P,o,1,0)|0;n=o}while(0);if((L|0)==241){L=0;Qf(g,n);g=0;n=0}c[t+12>>2]=g;p=t;o=q;g=t}}c[u>>2]=(c[u>>2]|0)+-1;if(m|0)Qf(P,m);if(n|0)Qf(P,n);if(w|0)Rf(P,w);if(v|0)Sf(P,v,1);if((a[P+73>>0]|0)!=1){switch(N<<24>>24){case 6:{m=119;break}case 9:{if(Q)L=273;else m=109;break}default:L=273}if((L|0)==273){L=0;m=110}a[o>>0]=m;c[o+4>>2]=p;P=c[ba>>2]|0;c[p+20>>2]=P;c[p+24>>2]=P;c[O>>2]=p;a[p+8>>0]=aa;break b}if(!g)break;n=c[g+28>>2]|0;m=c[n+16>>2]|0;if(m|0)Qf(P,m);m=c[n+20>>2]|0;if(m|0)Rf(P,m);m=c[n+8>>2]|0;if(m|0)Sf(P,m,1);m=c[g+12>>2]|0;if(m|0)Qf(P,m);if(c[P+464>>2]|0){Lc(P,p);break}m=g;do if(m>>>0>=(c[P+296>>2]|0)>>>0){if(m>>>0>=(c[P+300>>2]|0)>>>0)break;P=P+292|0;c[g>>2]=c[P>>2];c[P>>2]=g;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{P=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);break a}while(0);if(g|0)Ll(d,g,f,h,2,0)}while(0);k=c[k+12>>2]|0}while((k|0)!=0);l=qa;return}function Km(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;f=c[e>>2]|0;n=c[b+12>>2]|0;o=n+72|0;k=c[o>>2]|0;l=b+145|0;j=(d[l>>0]|d[l+1>>0]<<8)&-385|128;a[l>>0]=j;a[l+1>>0]=j>>8;j=b+88|0;i=(c[j>>2]|0)+(((c[b+136>>2]|0)+-1|0)*20|0)|0;while(1){g=a[i>>0]|0;a:do if((g&255)<63){switch(g<<24>>24){case 2:{if(!(c[i+8>>2]|0))m=6;else{m=(d[l>>0]|d[l+1>>0]<<8)&-129;a[l>>0]=m;a[l+1>>0]=m>>8;m=6}break}case 0:case 1:{m=6;break}case 9:case 10:case 8:{h=(d[l>>0]|d[l+1>>0]<<8)&-385|256;a[l>>0]=h;a[l+1>>0]=h>>8;h=f;break a}case 3:case 5:case 7:{c[i+16>>2]=202;a[i+1>>0]=-5;h=f;break a}case 4:case 6:{c[i+16>>2]=203;a[i+1>>0]=-5;h=f;break a}case 12:{h=c[i+8>>2]|0;h=(h|0)>(f|0)?h:f;break a}case 11:{h=c[i+-16>>2]|0;f=(h|0)>(f|0)?h:f;break}default:{}}if((m|0)==6){m=0;h=d[l>>0]|d[l+1>>0]<<8|256;a[l>>0]=h;a[l+1>>0]=h>>8;h=f;break}g=i+8|0;h=c[g>>2]|0;if((h|0)<0){c[g>>2]=c[k+(~h<<2)>>2];h=f}else h=f}else h=f;while(0);if((i|0)==(c[j>>2]|0))break;else{f=h;i=i+-20|0}}f=c[b>>2]|0;g=c[o>>2]|0;if(!g){c[o>>2]=0;o=n+68|0;c[o>>2]=0;c[e>>2]=h;return}if(f|0){if(c[f+464>>2]|0){Lc(f,g);c[o>>2]=0;o=n+68|0;c[o>>2]=0;c[e>>2]=h;return}m=g;if(m>>>0>=(c[f+296>>2]|0)>>>0?m>>>0<(c[f+300>>2]|0)>>>0:0){m=f+292|0;c[g>>2]=c[m>>2];c[m>>2]=g;c[o>>2]=0;o=n+68|0;c[o>>2]=0;c[e>>2]=h;return}}if(!(c[2]|0)){pb[c[56>>2]&255](g);c[o>>2]=0;o=n+68|0;c[o>>2]=0;c[e>>2]=h;return}else{m=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);c[o>>2]=0;o=n+68|0;c[o>>2]=0;c[e>>2]=h;return}}function Lm(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+16|0;r=s;o=f+42|0;b[o>>1]=0;p=f+1|0;a[p>>0]=a[p>>0]&-7;if((a[f>>0]|0)!=1){r=_m(f)|0;l=s;return r|0}q=f+116|0;h=c[q>>2]|0;n=f+70|0;g=b[n>>1]|0;m=g+1<<16>>16;b[n>>1]=m;if((m&65535)>=(e[h+22>>1]|0)){b[n>>1]=g;r=_m(f)|0;l=s;return r|0}if(a[h+8>>0]|0){r=0;l=s;return r|0}j=f+68|0;k=f+12|0;m=f+2|0;while(1){i=b[n>>1]|0;g=(c[h+64>>2]|0)+((i&65535)<<1)|0;g=(c[h+56>>2]|0)+((d[g>>0]<<8|d[g+1>>0])&e[h+24>>1])|0;h=a[j>>0]|0;if(h<<24>>24>18){h=8;break}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];t=c[k>>2]|0;b[o>>1]=0;a[p>>0]=a[p>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=i;c[f+120+(a[j>>0]<<2)>>2]=c[q>>2];b[n>>1]=0;a[j>>0]=(a[j>>0]|0)+1<<24>>24;g=Pm(t,g,q,f,d[m>>0]|0)|0;if(g|0){h=11;break}h=c[q>>2]|0;if(a[h+8>>0]|0){g=0;h=11;break}}if((h|0)==8){c[r>>2]=21258;c[r+4>>2]=64947;c[r+8>>2]=17052;Bc(11,17e3,r);t=11;l=s;return t|0}else if((h|0)==11){l=s;return g|0}return 0}function Mm(d,e){d=d|0;e=e|0;var f=0,g=0;e=d+1|0;a[e>>0]=a[e>>0]&-15;b[d+42>>1]=0;if(((a[d>>0]|0)==1?(f=d+70|0,g=b[f>>1]|0,g<<16>>16):0)?a[(c[d+116>>2]|0)+8>>0]|0:0){b[f>>1]=g+-1<<16>>16;g=0;return g|0}g=Nm(d)|0;return g|0}function Nm(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=l;l=l+32|0;u=v+16|0;j=v;i=v+28|0;g=a[f>>0]|0;if(g<<24>>24!=1){do if((g&255)>2){if(g<<24>>24==4){g=c[f+64>>2]|0;if(!g)break;l=v;return g|0}a[f>>0]=0;h=f+56|0;g=f+48|0;g=Om(f,c[h>>2]|0,c[g>>2]|0,c[g+4>>2]|0,0,i)|0;if(g|0){f=g;l=v;return f|0}g=c[h>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{t=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[h>>2]=0;g=f+64|0;t=c[g>>2]|c[i>>2];c[g>>2]=t;g=a[f>>0]|0;if((t|0)!=0&g<<24>>24==1){a[f>>0]=2;g=2}h=g;m=14}else{h=g;m=14}while(0);if((m|0)==14?h<<24>>24==0:0){f=101;l=v;return f|0}g=f+64|0;h=c[g>>2]|0;if(h|0?(a[f>>0]=1,c[g>>2]=0,(h|0)<0):0){f=0;l=v;return f|0}}s=f+116|0;g=c[s>>2]|0;t=f+70|0;h=b[t>>1]|0;if(!(a[g+8>>0]|0)){r=(c[g+64>>2]|0)+((h&65535)<<1)|0;g=(c[g+56>>2]|0)+((d[r>>0]<<8|d[r+1>>0])&e[g+24>>1])|0;r=f+68|0;i=a[r>>0]|0;if(i<<24>>24>18){c[j>>2]=21258;c[j+4>>2]=64947;c[j+8>>2]=17052;Bc(11,17e3,j);f=11;l=v;return f|0}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];o=f+12|0;m=c[o>>2]|0;p=f+42|0;b[p>>1]=0;q=f+1|0;a[q>>0]=a[q>>0]&-7;b[f+72+(i<<24>>24<<1)>>1]=h;c[f+120+(a[r>>0]<<2)>>2]=c[s>>2];b[t>>1]=0;a[r>>0]=(a[r>>0]|0)+1<<24>>24;n=f+2|0;g=Pm(m,g,s,f,d[n>>0]|0)|0;if(g|0){f=g;l=v;return f|0}while(1){g=c[s>>2]|0;if(a[g+8>>0]|0){m=27;break}m=(c[g+56>>2]|0)+((d[g+9>>0]|0)+8)|0;i=a[m>>0]|0;j=a[m+1>>0]|0;k=a[m+2>>0]|0;m=a[m+3>>0]|0;g=b[g+22>>1]|0;b[t>>1]=g;h=a[r>>0]|0;if(h<<24>>24>18){m=25;break}w=c[o>>2]|0;b[p>>1]=0;a[q>>0]=a[q>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=g;c[f+120+(a[r>>0]<<2)>>2]=c[s>>2];b[t>>1]=0;a[r>>0]=(a[r>>0]|0)+1<<24>>24;g=Pm(w,(j&255)<<16|(i&255)<<24|(k&255)<<8|m&255,s,f,d[n>>0]|0)|0;if(g|0){m=38;break}}if((m|0)==25){c[u>>2]=21258;c[u+4>>2]=64947;c[u+8>>2]=17052;Bc(11,17e3,u);w=11;l=v;return w|0}else if((m|0)==27){b[t>>1]=(e[g+22>>1]|0)+65535;w=0;l=v;return w|0}else if((m|0)==38){l=v;return g|0}}do if(!(h<<16>>16)){i=f+68|0;j=f+42|0;k=f+1|0;while(1){g=a[i>>0]|0;if(!(g<<24>>24))break;b[j>>1]=0;a[k>>0]=a[k>>0]&-7;h=b[f+72+((g<<24>>24)+-1<<1)>>1]|0;b[t>>1]=h;w=c[s>>2]|0;g=g+-1<<24>>24;a[i>>0]=g;c[s>>2]=c[f+120+(g<<24>>24<<2)>>2];g=c[w+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);h=b[t>>1]|0}else{w=c[g+20>>2]|0;u=w+120|0;c[u>>2]=(c[u>>2]|0)+-1;w=w+136|0;c[g+16>>2]=c[w>>2];c[w>>2]=g}if(h<<16>>16){m=34;break}}if((m|0)==34){g=c[s>>2]|0;break}a[f>>0]=0;w=101;l=v;return w|0}while(0);b[t>>1]=h+-1<<16>>16;if(!(a[g+2>>0]|0)){w=0;l=v;return w|0}if(a[g+8>>0]|0){w=0;l=v;return w|0}w=f+1|0;a[w>>0]=a[w>>0]&-15;b[f+42>>1]=0;w=Nm(f)|0;l=v;return w|0}function Om(a,d,e,f,g,h){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0;m=l;l=l+16|0;i=m;if(!d){k=Qm(a,0,e,f,g,h)|0;l=m;return k|0}j=a+112|0;k=Rm(c[j>>2]|0)|0;if(!k){k=7;l=m;return k|0}Sm(c[j>>2]|0,e,d,k);if(!(b[k+8>>1]|0)){c[i>>2]=21258;c[i+4>>2]=60841;c[i+8>>2]=17052;Bc(11,17e3,i);d=11}else d=Qm(a,k,e,f,g,h)|0;a=c[(c[j>>2]|0)+12>>2]|0;if(a|0){if(c[a+464>>2]|0){Lc(a,k);k=d;l=m;return k|0}j=k;if(j>>>0>=(c[a+296>>2]|0)>>>0?j>>>0<(c[a+300>>2]|0)>>>0:0){j=a+292|0;c[k>>2]=c[j>>2];c[j>>2]=k;k=d;l=m;return k|0}}if(!(c[2]|0)){pb[c[56>>2]&255](k);k=d;l=m;return k|0}else{j=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);k=d;l=m;return k|0}return 0}function Pm(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;m=o+16|0;i=o;j=o+28|0;do if((c[d+44>>2]|0)>>>0>=e>>>0){k=c[d>>2]|0;h=mb[c[k+200>>2]&255](k,e,j,h)|0;if(!h){k=c[j>>2]|0;i=k+8|0;h=c[i>>2]|0;c[f>>2]=h;if(!(a[h>>0]|0)){i=c[i>>2]|0;j=i+4|0;if((c[j>>2]|0)!=(e|0)){c[i+56>>2]=c[k+4>>2];c[i+72>>2]=k;c[i+52>>2]=d;c[j>>2]=e;a[i+9>>0]=(e|0)==1?100:0;h=c[f>>2]|0}h=$g(h)|0;if(h|0){i=c[f>>2]|0;if(!i){n=19;break}i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);n=19;break}else{n=c[i+20>>2]|0;m=n+120|0;c[m>>2]=(c[m>>2]|0)+-1;n=n+136|0;c[i+16>>2]=c[n>>2];c[n>>2]=i;n=19;break}}}if(!g){g=0;l=o;return g|0}e=c[f>>2]|0;if(b[e+22>>1]|0?(a[e+2>>0]|0)==(a[g+69>>0]|0):0){g=0;l=o;return g|0}c[m>>2]=21258;c[m+4>>2]=62160;c[m+8>>2]=17052;Bc(11,17e3,m);h=c[f>>2]|0;if(h){h=c[h+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);h=11;break}else{m=c[h+20>>2]|0;f=m+120|0;c[f>>2]=(c[f>>2]|0)+-1;m=m+136|0;c[h+16>>2]=c[m>>2];c[m>>2]=h;h=11;break}}else h=11}else n=19}else{c[i>>2]=21258;c[i+4>>2]=62138;c[i+8>>2]=17052;Bc(11,17e3,i);h=11;n=19}while(0);if((n|0)==19)if(!g){g=h;l=o;return g|0}m=g+68|0;n=(a[m>>0]|0)+-1<<24>>24;a[m>>0]=n;c[g+116>>2]=c[g+120+(n<<24>>24<<2)>>2];g=h;l=o;return g|0}function Qm(f,g,h,i,j,k){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;W=l;l=l+80|0;S=W+56|0;U=W+40|0;T=W+24|0;R=W+8|0;Q=W;a:do if(!g)if((a[f>>0]|0)==1?(m=d[f+1>>0]|0,(m&2|0)!=0):0){p=f+24|0;o=p;n=c[o>>2]|0;o=c[o+4>>2]|0;if((n|0)==(h|0)&(o|0)==(i|0)){c[k>>2]=0;V=0;l=W;return V|0}if((o|0)<(i|0)|(o|0)==(i|0)&n>>>0>>0){if(m&8|0){c[k>>2]=-1;V=0;l=W;return V|0}O=Ft(n|0,o|0,1,0)|0;if((O|0)==(h|0)&(z|0)==(i|0)?(c[f+64>>2]|0)==0:0){c[k>>2]=0;m=Lm(f,0)|0;switch(m|0){case 101:{O=0;break a}case 0:break;default:{V=m;l=W;return V|0}}Ah(f);O=p;if((c[O>>2]|0)==(h|0)?(c[O+4>>2]|0)==(i|0):0){V=0;l=W;return V|0}else O=0}else O=0}else O=0}else O=0;else{m=c[g>>2]|0;do if((e[m+8>>1]|0)<14){n=e[(c[g+4>>2]|0)+8>>1]|0;O=(a[c[m+16>>2]>>0]|0)==0;a[g+12>>0]=O?-1:1;a[g+13>>0]=O?1:-1;if(!(n&4)){if(n&25|0){m=152;break}if(!(c[m+20>>2]|0))m=154;else{m=152;break}}else m=153}else m=152;while(0);a[g+11>>0]=0;O=m}while(0);m=Ym(f)|0;switch(m|0){case 0:{M=f+116|0;D=1-j|0;E=f+70|0;F=(O|0)==0;G=f+68|0;H=f+12|0;N=f+42|0;I=f+1|0;J=f+2|0;K=f+24|0;L=f+24|0;m=0;n=0;o=0;b:while(1){C=c[M>>2]|0;y=C+22|0;r=(e[y>>1]|0)+-1|0;j=r>>D;b[E>>1]=j;x=C+68|0;A=C+24|0;B=C+64|0;c:do if(F){u=C+3|0;v=C+8|0;t=C+60|0;s=j;q=0;while(1){p=(c[B>>2]|0)+(s<<1)|0;p=(c[x>>2]|0)+((d[p>>0]<<8|d[p+1>>0])&e[A>>1])|0;d:do if(!(a[u>>0]|0))V=29;else{do{w=p;p=p+1|0;if((a[w>>0]|0)>=0){V=29;break d}}while(p>>>0<(c[t>>2]|0)>>>0);c[R>>2]=21258;c[R+4>>2]=65358;c[R+8>>2]=17052;Bc(11,17e3,R);p=1;j=s;m=11}while(0);e:do if((V|0)==29){V=0;gh(p,Q)|0;j=Q;p=c[j>>2]|0;j=c[j+4>>2]|0;do if((j|0)<(i|0)|(j|0)==(i|0)&p>>>0>>0){q=s+1|0;if((s|0)>=(r|0)){p=4;j=s;o=-1;break e}}else{if((j|0)>(i|0)|(j|0)==(i|0)&p>>>0>h>>>0){r=s+-1|0;if((q|0)<(s|0))break;else{p=4;j=s;o=1;break e}}b[E>>1]=s;if(!(a[v>>0]|0)){p=8;j=s;q=s;break e}a[I>>0]=a[I>>0]|2;m=K;c[m>>2]=p;c[m+4>>2]=j;b[N>>1]=0;c[k>>2]=0;p=1;j=s;m=0;break e}while(0);p=0;j=r+q>>1}while(0);switch(p&15){case 4:{p=q;n=v;V=71;break c}case 8:{p=q;V=73;break c}case 0:{s=j;break}default:break c}}}else{t=C+11|0;u=C+14|0;v=C+10|0;w=C+80|0;n=r;p=0;while(1){q=(c[B>>2]|0)+(j<<1)|0;q=(c[x>>2]|0)+((d[q>>0]<<8|d[q+1>>0])&e[A>>1])|0;s=a[q>>0]|0;r=s&255;o=q+1|0;do if((s&255)>(d[t>>0]|0)){o=d[o>>0]|0;if((o&128|0)==0?(P=o+(r<<7&16256)|0,P>>>0<=(e[u>>1]|0)>>>0):0){o=lb[O&255](P,q+2|0,g)|0;break}rb[c[w>>2]&255](C,q+(0-(d[v>>0]|0))|0,L);s=c[L>>2]|0;if((s|0)<2){V=43;break b}o=s+18|0;r=Ft(o|0,((o|0)<0)<<31>>31|0,-1,-1)|0;q=z;if(q>>>0>0|(q|0)==0&r>>>0>2147483390){m=7;break b}if(!(c[2]|0)){o=jb[c[52>>2]&255](o)|0;if(!o){m=7;break b}else q=o}else{r=jb[c[68>>2]&255](o)|0;if((c[11829]|0)>>>0>>0)c[11829]=o;q=46456;o=c[q>>2]|0;q=c[q+4>>2]|0;if((q|0)>0|(q|0)==0&o>>>0>0){X=c[11822]|0;q=Gt(o|0,q|0,r|0,((r|0)<0)<<31>>31|0)|0;o=z;c[11616]=(0>(o|0)|0==(o|0)&X>>>0>=q>>>0)&1}q=jb[c[52>>2]&255](r)|0;if(!q){m=7;break b}o=jb[c[64>>2]&255](q)|0;o=(c[11822]|0)+o|0;c[11822]=o;if(o>>>0>(c[11826]|0)>>>0)c[11826]=o;o=(c[11825]|0)+1|0;c[11825]=o;if(o>>>0>(c[11831]|0)>>>0)c[11831]=o}b[E>>1]=j;o=Bh(f,0,s,q,0)|0;a[I>>0]=a[I>>0]&-5;if(o|0){V=57;break b}o=lb[O&255](s,q,g)|0;if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{X=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-X;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}else o=lb[O&255](r,o,g)|0;while(0);if((o|0)<0)p=j+1|0;else{if(!o){V=67;break b}n=j+-1|0}if((p|0)>(n|0))break;else j=n+p>>1}n=C+8|0;V=71}while(0);if((V|0)==71)if(!(a[n>>0]|0))V=73;else{V=72;break}if((V|0)==73){V=0;if((p|0)<(e[y>>1]|0)){n=(c[B>>2]|0)+(p<<1)|0;n=(d[n>>0]<<8|d[n+1>>0])&e[A>>1]}else n=(d[C+9>>0]|0)+8|0;s=(c[C+56>>2]|0)+n|0;j=a[s>>0]|0;q=a[s+1>>0]|0;r=a[s+2>>0]|0;s=a[s+3>>0]|0;n=p&65535;b[E>>1]=n;p=a[G>>0]|0;if(p<<24>>24>18){c[S>>2]=21258;c[S+4>>2]=64947;c[S+8>>2]=17052;Bc(11,17e3,S);n=11}else{X=c[H>>2]|0;b[N>>1]=0;a[I>>0]=a[I>>0]&-7;b[f+72+(p<<24>>24<<1)>>1]=n;c[f+120+(a[G>>0]<<2)>>2]=c[M>>2];b[E>>1]=0;a[G>>0]=(a[G>>0]|0)+1<<24>>24;n=Pm(X,(q&255)<<16|(j&255)<<24|(r&255)<<8|s&255,M,f,d[J>>0]|0)|0}p=(n|0)==0?0:2}switch(p|0){case 0:break;case 11:case 2:{m=n;break b}default:{V=82;break b}}}do if((V|0)==43){c[T>>2]=21258;c[T+4>>2]=65432;c[T+8>>2]=17052;Bc(11,17e3,T);m=11}else if((V|0)==57)if(!(c[2]|0)){pb[c[56>>2]&255](q);m=o;break}else{m=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);m=o;break}else if((V|0)==67){c[k>>2]=0;b[E>>1]=j;if(!(a[g+11>>0]|0))m=0;else{c[U>>2]=21258;c[U+4>>2]=65463;c[U+8>>2]=17052;Bc(11,17e3,U);m=11}}else if((V|0)==72){b[E>>1]=j;c[k>>2]=o;m=0}else if((V|0)==82){l=W;return m|0}while(0);b[N>>1]=0;X=m;l=W;return X|0}case 16:{c[k>>2]=-1;X=0;l=W;return X|0}default:{X=m;l=W;return X|0}}return 0}function Rm(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=d+6|0;i=((e[k>>1]|0)*40|0)+56|0;h=c[d+12>>2]|0;do if(!h){if(!(c[2]|0)){f=jb[c[52>>2]&255](i)|0;j=22;break}h=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){l=c[11822]|0;i=Gt(f|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&l>>>0>=i>>>0)&1}f=jb[c[52>>2]&255](h)|0;if(!f){l=0;return l|0}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else{if(c[h+264>>2]|0){if(a[h+73>>0]|0){l=0;return l|0}}else{if(!(0<0|(0==0?(e[h+268>>1]|0)>>>0>>0:0))){g=h+292|0;f=c[g>>2]|0;if(f|0){c[g>>2]=c[f>>2];j=h+276|0;c[j>>2]=(c[j>>2]|0)+1;j=22;break}g=h+288|0;f=c[g>>2]|0;if(!f)f=2;else{c[g>>2]=c[f>>2];j=h+276|0;c[j>>2]=(c[j>>2]|0)+1;j=22;break}}else f=1;l=h+276+(f<<2)|0;c[l>>2]=(c[l>>2]|0)+1}f=Ec(h,i,0)|0;j=22}while(0);if((j|0)==22)if(!f){l=0;return l|0}c[f+4>>2]=f+16;c[f>>2]=d;b[f+8>>1]=(e[k>>1]|0)+1;l=f;return l|0}function Sm(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;u=v;n=c[i+4>>2]|0;a[i+10>>0]=0;t=a[h>>0]|0;j=t&255;do if(t<<24>>24<=-1){k=d[h+1>>0]|0;if(!(k&128)){r=k|j<<7&16256;k=2;break}m=d[h+2>>0]|0;if(!(m&128)){r=(m|j<<14)&2080895|k<<7&16256;k=3;break}else{k=gh(h,u)|0;t=u;r=c[t>>2]|0;r=((r|0)==(r|0)?0==(c[t+4>>2]|0):0)?r:-1;break}}else{r=j;k=1}while(0);s=f+4|0;q=f+12|0;t=i+8|0;j=0;o=k&255;p=r;while(1){if((p|0)>(g|0)|o>>>0>=r>>>0){k=17;break}m=h+o|0;i=a[m>>0]|0;k=i&255;if(i<<24>>24>-1)m=1;else{f=d[m+1>>0]|0;do if(f&128){i=d[m+2>>0]|0;if(!(i&128)){k=(i|k<<14)&2080895|f<<7&16256;m=3;break}else{m=gh(m,u)|0;i=u;k=c[i>>2]|0;k=((k|0)==(k|0)?0==(c[i+4>>2]|0):0)?k:-1;break}}else{k=f|k<<7&16256;m=2}while(0);m=m&255}a[n+10>>0]=a[s>>0]|0;c[n+32>>2]=c[q>>2];c[n+24>>2]=0;c[n+16>>2]=0;p=(Tm(h+p|0,k,n)|0)+p|0;j=j+1<<16>>16;if((j&65535)>=(e[t>>1]|0)){k=17;break}else{n=n+40|0;o=m+o|0}}if((k|0)==17){b[t>>1]=j;l=v;return}}function Tm(e,f,g){e=e|0;f=f|0;g=g|0;var h=0;switch(f|0){case 0:case 11:case 10:{b[g+8>>1]=1;g=0;return g|0}case 1:{e=a[e>>0]|0;f=g;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;b[g+8>>1]=4;g=1;return g|0}case 2:{e=a[e>>0]<<8|d[e+1>>0];f=g;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;b[g+8>>1]=4;g=2;return g|0}case 3:{e=d[e+1>>0]<<8|a[e>>0]<<16|d[e+2>>0];f=g;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;b[g+8>>1]=4;g=3;return g|0}case 4:{e=d[e+1>>0]<<16|a[e>>0]<<24|d[e+2>>0]<<8|d[e+3>>0];f=g;c[f>>2]=e;c[f+4>>2]=((e|0)<0)<<31>>31;b[g+8>>1]=4;g=4;return g|0}case 5:{h=a[e>>0]<<8|d[e+1>>0];f=g;c[f>>2]=d[e+3>>0]<<16|d[e+2>>0]<<24|d[e+4>>0]<<8|d[e+5>>0];c[f+4>>2]=h;b[g+8>>1]=4;g=6;return g|0}case 7:case 6:{Um(e,f,g);h=8;return h|0}case 9:case 8:{h=g;c[h>>2]=f+-8;c[h+4>>2]=0;b[g+8>>1]=4;h=0;return h|0}default:{c[g+16>>2]=e;h=(f+-12|0)>>>1;c[g+12>>2]=h;b[g+8>>1]=b[14850+((f&1)<<1)>>1]|0;return h|0}}return 0}function Um(a,e,f){a=a|0;e=e|0;f=f|0;var g=0,i=0,k=0,m=0,n=0;m=l;l=l+16|0;i=m+8|0;k=m;g=(d[a+1>>0]|0)<<16|(d[a>>0]|0)<<24|(d[a+2>>0]|0)<<8|(d[a+3>>0]|0);a=(d[a+5>>0]|0)<<16|(d[a+4>>0]|0)<<24|(d[a+6>>0]|0)<<8|(d[a+7>>0]|0);n=f;c[n>>2]=a;c[n+4>>2]=g;if((e|0)==6){k=4;n=f+8|0;b[n>>1]=k;l=m;return}c[j>>2]=a;c[j+4>>2]=g;h[i>>3]=+h[j>>3];h[k>>3]=+h[i>>3];k=+h[i>>3]!=+h[k>>3]?1:8;n=f+8|0;b[n>>1]=k;l=m;return}function Vm(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+32|0;p=q+8|0;j=q;k=f+1|0;i=a[k>>0]|0;m=i&255;do if(i<<24>>24<=-1){h=d[f+2>>0]|0;if(!(h&128)){o=h|m<<7&16256;n=7;break}i=d[f+3>>0]|0;if(i&128){gh(k,j)|0;m=j;h=c[m>>2]|0;if((h|0)==(h|0)?0==(c[m+4>>2]|0):0){o=h;n=7;break}else break}else{o=(i|m<<14)&2080895|h<<7&16256;n=7;break}}else{o=m;n=7}while(0);if((n|0)==7?(o|0)>=12:0){if(!(o&1)){g=a[g+13>>0]|0;l=q;return g|0}h=d[f>>0]|0;j=(o+-12|0)/2|0;if((h+j|0)>(b|0)){c[p>>2]=21258;c[p+4>>2]=76885;c[p+8>>2]=17052;Bc(11,17e3,p);a[g+11>>0]=11;g=0;l=q;return g|0}p=c[g+4>>2]|0;i=c[p+12>>2]|0;h=Bs(f+h|0,c[p+16>>2]|0,(j|0)>(i|0)?i:j)|0;if(h|0)if((h|0)>0){g=a[g+13>>0]|0;l=q;return g|0}else{g=a[g+12>>0]|0;l=q;return g|0}h=j-i|0;if(!h)if((e[g+8>>1]|0)>1){g=Zm(b,f,g,1)|0;l=q;return g|0}else{f=a[g+10>>0]|0;a[g+14>>0]=1;g=f;l=q;return g|0}else if((h|0)>0){g=a[g+13>>0]|0;l=q;return g|0}else{g=a[g+12>>0]|0;l=q;return g|0}}g=a[g+12>>0]|0;l=q;return g|0}function Wm(b,f,g){b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=f+(a[f>>0]&63)|0;switch(a[f+1>>0]|0){case 1:{k=a[h>>0]|0;j=((k|0)<0)<<31>>31;break}case 2:{k=a[h>>0]<<8|d[h+1>>0];j=((k|0)<0)<<31>>31;break}case 3:{k=d[h+1>>0]<<8|a[h>>0]<<16|d[h+2>>0];j=((k|0)<0)<<31>>31;break}case 4:{k=d[h+1>>0]<<16|d[h>>0]<<24|d[h+2>>0]<<8|d[h+3>>0];j=((k|0)<0)<<31>>31;break}case 5:{k=h+2|0;j=a[h>>0]<<8|d[h+1>>0];k=d[k+1>>0]<<16|d[k>>0]<<24|d[k+2>>0]<<8|d[k+3>>0];break}case 6:{k=h+4|0;j=d[h+1>>0]<<16|d[h>>0]<<24|d[h+2>>0]<<8|d[h+3>>0];k=d[k+1>>0]<<16|d[k>>0]<<24|d[k+2>>0]<<8|d[k+3>>0];break}case 8:{j=0;k=0;break}case 9:{j=0;k=1;break}case 7:case 0:{g=Zm(b,f,g,0)|0;return g|0}default:{g=Zm(b,f,g,0)|0;return g|0}}i=c[g+4>>2]|0;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>(j|0)|(i|0)==(j|0)&h>>>0>k>>>0){g=a[g+12>>0]|0;return g|0}if((i|0)<(j|0)|(i|0)==(j|0)&h>>>0>>0){g=a[g+13>>0]|0;return g|0}if((e[g+8>>1]|0)>1){g=Zm(b,f,g,1)|0;return g|0}else{f=a[g+10>>0]|0;a[g+14>>0]=1;g=f;return g|0}return 0}function Xm(a,b,c){a=a|0;b=b|0;c=c|0;return Zm(a,b,c,0)|0}function Ym(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;o=l;l=l+32|0;n=o+16|0;j=o;m=e+68|0;f=a[m>>0]|0;do if(f<<24>>24>-1){i=e+116|0;h=c[i>>2]|0;if(!(f<<24>>24)){g=i;f=h;k=25}else{g=c[h+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);f=a[m>>0]|0}else{j=c[g+20>>2]|0;h=j+120|0;c[h>>2]=(c[h>>2]|0)+-1;j=j+136|0;c[g+16>>2]=c[j>>2];c[j>>2]=g}f=f+-1<<24>>24;a[m>>0]=f;if(f<<24>>24)do{g=c[(c[e+120+(f<<24>>24<<2)>>2]|0)+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);f=a[m>>0]|0}else{j=c[g+20>>2]|0;h=j+120|0;c[h>>2]=(c[h>>2]|0)+-1;j=j+136|0;c[g+16>>2]=c[j>>2];c[j>>2]=g}f=f+-1<<24>>24;a[m>>0]=f}while(f<<24>>24!=0);f=c[e+120>>2]|0;c[i>>2]=f;g=i}}else{h=e+60|0;f=c[h>>2]|0;if(!f){a[e>>0]=0;e=16;l=o;return e|0}g=a[e>>0]|0;if((g&255)>2){if(g<<24>>24==4){e=c[e+64>>2]|0;l=o;return e|0}f=e+56|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{k=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;a[e>>0]=0;f=c[h>>2]|0}g=e+116|0;f=Pm(c[(c[e+8>>2]|0)+4>>2]|0,f,g,0,d[e+2>>0]|0)|0;if(!f){a[m>>0]=0;f=c[g>>2]|0;a[e+69>>0]=a[f+2>>0]|0;k=25;break}a[e>>0]=0;e=f;l=o;return e|0}while(0);do if((k|0)==25){if(a[f>>0]|0?((c[e+112>>2]|0)==0|0)==(d[f+2>>0]|0):0)break;c[j>>2]=21258;c[j+4>>2]=65085;c[j+8>>2]=17052;Bc(11,17e3,j);e=11;l=o;return e|0}while(0);h=e+70|0;b[h>>1]=0;i=e+42|0;b[i>>1]=0;j=e+1|0;k=a[j>>0]&-15;a[j>>0]=k;if(!(b[f+22>>1]|0))if(!(a[f+8>>0]|0))if((c[f+4>>2]|0)==1){n=(c[f+56>>2]|0)+((d[f+9>>0]|0)+8)|0;p=a[n>>0]|0;q=a[n+1>>0]|0;f=a[n+2>>0]|0;n=a[n+3>>0]|0;a[e>>0]=1;r=c[e+12>>2]|0;b[i>>1]=0;a[j>>0]=k;b[e+72>>1]=0;c[e+120+(a[m>>0]<<2)>>2]=c[g>>2];b[h>>1]=0;a[m>>0]=(a[m>>0]|0)+1<<24>>24;e=Pm(r,(q&255)<<16|(p&255)<<24|(f&255)<<8|n&255,g,e,d[e+2>>0]|0)|0;l=o;return e|0}else{c[n>>2]=21258;c[n+4>>2]=65098;c[n+8>>2]=17052;Bc(11,17e3,n);r=11;l=o;return r|0}else{f=16;g=0}else{f=0;g=1}a[e>>0]=g;r=f;l=o;return r|0}function Zm(f,g,i,j){f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0.0,q=0.0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,Q=0,R=0,S=0,T=0;T=l;l=l+96|0;R=T+80|0;Q=T+64|0;o=T+48|0;M=T+40|0;O=T;s=c[i+4>>2]|0;S=c[i>>2]|0;if(!j){I=a[g>>0]|0;j=I&255;if(I<<24>>24>-1)k=1;else{k=d[g+1>>0]|0;do if(k&128){m=d[g+2>>0]|0;if(!(m&128)){n=3;j=(m|j<<14)&2080895|k<<7&16256;break}else{n=gh(g,M)|0;I=M;j=c[I>>2]|0;j=((j|0)==(j|0)?0==(c[I+4>>2]|0):0)?j:-1;break}}else{n=2;j=k|j<<7&16256}while(0);k=n&255}if(j>>>0>f>>>0){c[o>>2]=21258;c[o+4>>2]=76595;c[o+8>>2]=17052;Bc(11,17e3,o);a[i+11>>0]=11;S=0;l=T;return S|0}else{n=j;r=0;o=s;m=j}}else{k=g+1|0;I=a[k>>0]|0;j=I&255;do if(I<<24>>24>-1){m=d[g>>0]|0;k=2;J=12}else{m=d[g+2>>0]|0;do if(m&128){n=d[g+3>>0]|0;if(!(n&128)){k=3;j=(n|j<<14)&2080895|m<<7&16256;J=10;break}k=gh(k,M)|0;I=M;j=c[I>>2]|0;if((j|0)==(j|0)?0==(c[I+4>>2]|0):0)J=10;else{j=-1;m=d[g>>0]|0;k=(k&255)+1|0}}else{k=2;j=m|j<<7&16256;J=10}while(0);if((J|0)==10){k=(k&255)+1|0;m=d[g>>0]|0;if(j>>>0<=127){J=12;break}}j=(j+-12|0)>>>1}while(0);if((J|0)==12)j=d[33340+j>>0]|0;n=j+m|0;r=1;o=s+40|0}F=O+12|0;G=S+4|0;H=O+10|0;I=S+12|0;x=O+32|0;y=O+8|0;C=O+16|0;D=i+11|0;E=i+8|0;w=n;v=o;a:while(1){t=v+8|0;n=e[t>>1]|0;s=g+k|0;o=a[s>>0]|0;j=o&255;b:do if(n&4){if((o&255)>9){j=1;break a}switch(o<<24>>24){case 0:{j=-1;break a}case 7:{Tm(g+w|0,j,O)|0;o=v;n=c[o>>2]|0;o=c[o+4>>2]|0;q=+h[O>>3];do if(!(q<-9223372036854775808.0))if(!(q>9223372036854775808.0)?(K=~~q>>>0,L=+B(q)>=1.0?(q>0.0?~~+P(+A(q/4294967296.0),4294967295.0)>>>0:~~+N((q-+(~~q>>>0))/4294967296.0)>>>0):0,!((L|0)>(o|0)|(L|0)==(o|0)&K>>>0>n>>>0)):0){if((L|0)<(o|0)|(L|0)==(o|0)&K>>>0>>0){n=q>0.0&((K|0)==0&(L|0)==-2147483648)?-1:1;break}p=+(n>>>0)+4294967296.0*+(o|0);if(!(pq&1;else n=-1}else n=-1;else n=1;while(0);u=j;j=0-n|0;J=88;break b}default:{}}n=g+w|0;switch(o<<24>>24){case 6:{t=d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|d[n+3>>0];s=d[n+5>>0]<<16|d[n+4>>0]<<24|d[n+6>>0]<<8|d[n+7>>0];break}case 1:{s=a[n>>0]|0;t=((s|0)<0)<<31>>31;break}case 2:{s=a[n>>0]<<8|d[n+1>>0];t=((s|0)<0)<<31>>31;break}case 3:{s=d[n+1>>0]<<8|a[n>>0]<<16|d[n+2>>0];t=((s|0)<0)<<31>>31;break}case 4:{s=d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|d[n+3>>0];t=((s|0)<0)<<31>>31;break}case 5:{t=a[n>>0]<<8|d[n+1>>0];s=d[n+3>>0]<<16|d[n+2>>0]<<24|d[n+4>>0]<<8|d[n+5>>0];break}default:{t=0;s=j+-8|0}}o=v;n=c[o>>2]|0;o=c[o+4>>2]|0;if((t|0)<(o|0)|(t|0)==(o|0)&s>>>0>>0){j=-1;break a}else{u=j;j=((t|0)>(o|0)|(t|0)==(o|0)&s>>>0>n>>>0)&1;J=88}}else{if(n&8|0){if((o&255)>9){j=1;break a}if(!(o<<24>>24)){j=-1;break a}Tm(g+w|0,j,O)|0;if(o<<24>>24==7){p=+h[O>>3];q=+h[v>>3];if(pq){j=1;break a}n=7;o=v+40|0;j=r+1|0;J=92;break}o=O;n=c[o>>2]|0;o=c[o+4>>2]|0;q=+h[v>>3];if(q<-9223372036854775808.0){j=1;break a}if(q>9223372036854775808.0){j=-1;break a}s=~~q>>>0;t=+B(q)>=1.0?(q>0.0?~~+P(+A(q/4294967296.0),4294967295.0)>>>0:~~+N((q-+(~~q>>>0))/4294967296.0)>>>0):0;if((t|0)>(o|0)|(t|0)==(o|0)&s>>>0>n>>>0){j=-1;break a}if((t|0)<(o|0)|(t|0)==(o|0)&s>>>0>>0){J=55;break a}p=+(n>>>0)+4294967296.0*+(o|0);if(pq&1;J=88;break}}if(n&2|0){do if(o<<24>>24<=-1){n=d[s+1>>0]|0;if(!(n&128)){j=n|j<<7&16256;J=64;break}o=d[s+2>>0]|0;if(o&128){gh(s,M)|0;u=M;j=c[u>>2]|0;if((j|0)==(j|0)?0==(c[u+4>>2]|0):0){J=64;break}else{n=-1;break}}else{j=(o|j<<14)&2080895|n<<7&16256;J=64;break}}else J=64;while(0);if((J|0)==64){J=0;if(j>>>0<12){j=-1;break a}if(!(j&1)){j=1;break a}else n=j}s=(n+-12|0)>>>1;c[F>>2]=s;if((s+w|0)>>>0>f>>>0){J=67;break a}j=c[S+20+(r<<2)>>2]|0;if(!j){o=c[v+12>>2]|0;j=Bs(g+w|0,c[v+16>>2]|0,c[((s|0)<(o|0)?O:v)+12>>2]|0)|0;if(!j){u=n;j=s-o|0;J=88;break}else break a}else{a[H>>0]=a[G>>0]|0;c[x>>2]=c[I>>2];b[y>>1]=2;c[C>>2]=g+w;u=n;j=kf(O,v,j,D)|0;J=88;break}}if(!(n&16)){u=j;j=o<<24>>24!=0&1;J=88;break}do if(o<<24>>24<=-1){n=d[s+1>>0]|0;if(!(n&128)){o=n|j<<7&16256;break}o=d[s+2>>0]|0;if(!(o&128)){o=(o|j<<14)&2080895|n<<7&16256;break}else{gh(s,M)|0;u=M;o=c[u>>2]|0;o=((o|0)==(o|0)?0==(c[u+4>>2]|0):0)?o:-1;break}}else o=j;while(0);if(!(o>>>0>11&(o&1|0)==0)){j=-1;break a}s=(o+-12|0)>>>1;if((s+w|0)>>>0>f>>>0){J=86;break a}if(!(b[t>>1]&16384)){n=c[v+12>>2]|0;j=Bs(g+w|0,c[v+16>>2]|0,(s|0)<(n|0)?s:n)|0;if(!j){u=o;j=s-n|0;J=88;break}else break a}n=g+w|0;if(s|0){j=0;do{if(a[n+j>>0]|0){j=1;break a}j=j+1|0}while((j|0)<(s|0))}u=o;j=s-(c[v>>2]|0)|0;J=88}while(0);if((J|0)==88){J=0;if(j|0)break;j=r+1|0;o=v+40|0;if(u>>>0>127){t=(u+-12|0)>>>1;n=u;s=o}else{n=u;J=92}}if((J|0)==92){J=0;t=d[33340+n>>0]|0;s=o}r=1;o=0;while(1){n=Qt(n|0,o|0,7)|0;o=z;if((n|0)==0&(o|0)==0)break;else r=r+1|0}w=t+w|0;k=r+k|0;if(k>>>0>=m>>>0){J=97;break}if(w>>>0>f>>>0?1:(j|0)>=(e[E>>1]|0)){J=97;break}else{r=j;v=s}}if((J|0)==55)j=q>0.0&((s|0)==0&(t|0)==-2147483648)?-1:1;else if((J|0)==67){c[Q>>2]=21258;c[Q+4>>2]=76670;c[Q+8>>2]=17052;Bc(11,17e3,Q);a[D>>0]=11;S=0;l=T;return S|0}else if((J|0)==86){c[R>>2]=21258;c[R+4>>2]=76700;c[R+8>>2]=17052;Bc(11,17e3,R);a[D>>0]=11;S=0;l=T;return S|0}else if((J|0)==97){a[i+14>>0]=1;S=a[i+10>>0]|0;l=T;return S|0}S=(a[(c[S+16>>2]|0)+r>>0]|0)==0?j:0-j|0;l=T;return S|0}function _m(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=l;l=l+48|0;t=z+32|0;y=z+16|0;u=z;j=z+44|0;h=a[f>>0]|0;if(h<<24>>24!=1){do if((h&255)>2){if(h<<24>>24==4){h=c[f+64>>2]|0;if(!h)break;else x=h;l=z;return x|0}a[f>>0]=0;h=f+56|0;g=f+48|0;g=Om(f,c[h>>2]|0,c[g>>2]|0,c[g+4>>2]|0,0,j)|0;if(g|0){f=g;l=z;return f|0}g=c[h>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{w=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[h>>2]=0;v=f+64|0;w=c[v>>2]|c[j>>2];c[v>>2]=w;if(!w){g=a[f>>0]|0;o=16;break}g=a[f>>0]|0;if(g<<24>>24==1){a[f>>0]=2;g=2}o=16}else{g=h;o=16}while(0);if((o|0)==16?g<<24>>24==0:0){f=101;l=z;return f|0}g=f+64|0;h=c[g>>2]|0;if(h|0?(a[f>>0]=1,c[g>>2]=0,(h|0)>0):0){f=0;l=z;return f|0}}v=f+116|0;j=c[v>>2]|0;w=f+70|0;s=(b[w>>1]|0)+1<<16>>16;b[w>>1]=s;r=(a[j+8>>0]|0)!=0;if((s&65535)<(e[j+22>>1]|0)){if(r){f=0;l=z;return f|0}m=f+68|0;n=f+12|0;o=f+42|0;p=f+1|0;q=f+2|0;g=j;while(1){k=b[w>>1]|0;h=(c[g+64>>2]|0)+((k&65535)<<1)|0;g=(c[g+56>>2]|0)+((d[h>>0]<<8|d[h+1>>0])&e[g+24>>1])|0;h=a[m>>0]|0;if(h<<24>>24>18){o=40;break}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];A=c[n>>2]|0;b[o>>1]=0;a[p>>0]=a[p>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=k;c[f+120+(a[m>>0]<<2)>>2]=c[v>>2];b[w>>1]=0;a[m>>0]=(a[m>>0]|0)+1<<24>>24;g=Pm(A,g,v,f,d[q>>0]|0)|0;if(g|0){x=g;o=43;break}g=c[v>>2]|0;if(a[g+8>>0]|0){x=0;o=43;break}}if((o|0)==40){c[t>>2]=21258;c[t+4>>2]=64947;c[t+8>>2]=17052;Bc(11,17e3,t);A=11;l=z;return A|0}else if((o|0)==43){l=z;return x|0}}if(!r){g=(c[j+56>>2]|0)+((d[j+9>>0]|0)+8)|0;o=f+68|0;h=a[o>>0]|0;if(h<<24>>24>18){c[u>>2]=21258;c[u+4>>2]=64947;c[u+8>>2]=17052;Bc(11,17e3,u);A=11;l=z;return A|0}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];k=f+12|0;A=c[k>>2]|0;m=f+42|0;b[m>>1]=0;n=f+1|0;a[n>>0]=a[n>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=s;c[f+120+(a[o>>0]<<2)>>2]=c[v>>2];b[w>>1]=0;a[o>>0]=(a[o>>0]|0)+1<<24>>24;j=f+2|0;g=Pm(A,g,v,f,d[j>>0]|0)|0;if(g|0){A=g;l=z;return A|0}while(1){g=c[v>>2]|0;if(a[g+8>>0]|0){x=0;o=43;break}i=b[w>>1]|0;h=(c[g+64>>2]|0)+((i&65535)<<1)|0;g=(c[g+56>>2]|0)+((d[h>>0]<<8|d[h+1>>0])&e[g+24>>1])|0;h=a[o>>0]|0;if(h<<24>>24>18){o=27;break}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];A=c[k>>2]|0;b[m>>1]=0;a[n>>0]=a[n>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=i;c[f+120+(a[o>>0]<<2)>>2]=c[v>>2];b[w>>1]=0;a[o>>0]=(a[o>>0]|0)+1<<24>>24;g=Pm(A,g,v,f,d[j>>0]|0)|0;if(g|0){x=g;o=43;break}}if((o|0)==27){c[y>>2]=21258;c[y+4>>2]=64947;c[y+8>>2]=17052;Bc(11,17e3,y);A=11;l=z;return A|0}else if((o|0)==43){l=z;return x|0}}else{k=f+68|0;m=f+42|0;n=f+1|0;while(1){h=a[k>>0]|0;if(!(h<<24>>24)){o=30;break}b[m>>1]=0;a[n>>0]=a[n>>0]&-7;g=b[f+72+((h<<24>>24)+-1<<1)>>1]|0;b[w>>1]=g;i=h+-1<<24>>24;a[k>>0]=i;i=c[f+120+(i<<24>>24<<2)>>2]|0;c[v>>2]=i;h=c[j+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);i=c[v>>2]|0;g=b[w>>1]|0}else{A=c[h+20>>2]|0;y=A+120|0;c[y>>2]=(c[y>>2]|0)+-1;A=A+136|0;c[h+16>>2]=c[A>>2];c[A>>2]=h}if((g&65535)<(e[i+22>>1]|0))break;else j=i}if((o|0)==30){a[f>>0]=0;A=101;l=z;return A|0}if(!(a[i+2>>0]|0)){A=0;l=z;return A|0}A=Lm(f,0)|0;l=z;return A|0}return 0}function $m(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;j=m;k=c[b>>2]|0;i=c[d+72>>2]|0;if(!i)i=-1e6;else{h=c[k+16>>2]|0;g=0;while(1)if((c[h+(g<<4)+12>>2]|0)==(i|0)){i=g;break}else g=g+1|0}if(!e)h=0;else h=sj(k,e,0,0)|0;g=Wi(k,0,0,0)|0;if(g|0){c[g+16>>2]=kg(k,c[d>>2]|0)|0;c[g+12>>2]=kg(k,c[(c[k+16>>2]|0)+(i<<4)>>2]|0)|0}g=Xi(b,0,g,h,0,0,0,131072,0)|0;a[j>>0]=12;c[j+4>>2]=f;c[j+16>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;Vi(b,g,j)|0;if(!g){l=m;return}Sf(k,g,1);l=m;return}function an(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!d)return;h=(e|0)==0;while(1){f=c[d>>2]|0;if(f|0?(c[f>>2]|0)>0:0){e=0;do{g=f+4+(e*20|0)|0;c[g>>2]=sn(b,c[g>>2]|0)|0;e=e+1|0}while((e|0)<(c[f>>2]|0))}f=c[d+36>>2]|0;if(f|0?(c[f>>2]|0)>0:0){e=0;do{g=f+4+(e*20|0)|0;c[g>>2]=sn(b,c[g>>2]|0)|0;e=e+1|0}while((e|0)<(c[f>>2]|0))}f=c[d+44>>2]|0;if(f|0?(c[f>>2]|0)>0:0){e=0;do{g=f+4+(e*20|0)|0;c[g>>2]=sn(b,c[g>>2]|0)|0;e=e+1|0}while((e|0)<(c[f>>2]|0))}e=d+40|0;c[e>>2]=sn(b,c[e>>2]|0)|0;e=d+32|0;c[e>>2]=sn(b,c[e>>2]|0)|0;e=c[d+28>>2]|0;f=c[e>>2]|0;if((f|0)>0){g=e+8|0;while(1){an(b,c[g+20>>2]|0,1);if((a[g+37>>0]&4?(i=c[g+64>>2]|0,i|0):0)?(c[i>>2]|0)>0:0){e=0;do{j=i+4+(e*20|0)|0;c[j>>2]=sn(b,c[j>>2]|0)|0;e=e+1|0}while((e|0)<(c[i>>2]|0))}if((f|0)>1){g=g+72|0;f=f+-1|0}else break}}if(h){e=21;break}d=c[d+48>>2]|0;if(!d){e=21;break}}if((e|0)==21)return}function bn(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+48|0;E=G+16|0;j=G+8|0;i=G;D=G+24|0;k=c[e+28>>2]|0;n=c[c[e>>2]>>2]|0;F=c[d+8>>2]|0;B=e+48|0;C=c[B>>2]|0;g=c[d>>2]|0;a:do if(((a[g+157>>0]|0)==0?(a[d+400>>0]|0)==0:0)?(h=c[g+304>>2]|0,h|0):0)switch(ob[h&255](c[g+308>>2]|0,33,0,0,0,c[d+440>>2]|0)|0){case 0:break a;case 1:{hg(d,24761,i);c[d+12>>2]=23;l=G;return}case 2:{l=G;return}default:{hg(d,24776,j);c[d+12>>2]=1;l=G;return}}while(0);z=F+12|0;g=c[z>>2]|0;j=g+68|0;A=c[j>>2]|0;c[j>>2]=A+1;j=g+72|0;if(!(A+-1&A)){h=c[g>>2]|0;i=c[j>>2]|0;g=Mc(h,i,A<<3|4,0)|0;do if(!((i|0)==0|(g|0)!=0)){if(h|0){if(c[h+464>>2]|0){Lc(h,i);break}y=i;if(y>>>0>=(c[h+296>>2]|0)>>>0?y>>>0<(c[h+300>>2]|0)>>>0:0){y=h+292|0;c[i>>2]=c[y>>2];c[y>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{y=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[j>>2]=g}else g=c[j>>2]|0;if(g|0)c[g+(A<<2)>>2]=-1;t=~A;b[e+6>>1]=320;dn(d,e,t);v=e+56|0;w=c[v>>2]|0;x=e+12|0;u=c[x>>2]|0;y=e+16|0;s=c[y>>2]|0;c[v>>2]=0;c[y>>2]=0;c[x>>2]=0;x=e+44|0;y=c[x>>2]|0;h=c[k>>2]|0;b:do if((h|0)>0){g=0;while(1){if(a[k+8+(g*72|0)+37>>0]&32)break;g=g+1|0;if((g|0)>=(h|0)){q=0;break b}}q=c[k+8+(g*72|0)+44>>2]|0}else q=0;while(0);g=d+40|0;p=c[g>>2]|0;h=p+1|0;c[g>>2]=h;o=(y|0)!=0;if((a[e+4>>0]|0)==115){c[g>>2]=p+2;g=o?8:6}else{h=0;g=o?7:5}a[D>>0]=g;c[D+4>>2]=p;c[D+16>>2]=0;c[D+8>>2]=0;c[D+12>>2]=0;r=d+44|0;m=(c[r>>2]|0)+1|0;c[r>>2]=m;r=F+136|0;g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;k=c[F+88>>2]|0;a[k+(g*20|0)>>0]=111;b[k+(g*20|0)+2>>1]=0;c[k+(g*20|0)+4>>2]=q;c[k+(g*20|0)+8>>2]=m;c[k+(g*20|0)+12>>2]=n;c[k+(g*20|0)+16>>2]=0;a[k+(g*20|0)+1>>0]=0}else zi(F,111,q,m,n)|0;do if(!o){g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;k=c[F+88>>2]|0;a[k+(g*20|0)>>0]=108;b[k+(g*20|0)+2>>1]=0;c[k+(g*20|0)+4>>2]=p;c[k+(g*20|0)+8>>2]=n;c[k+(g*20|0)+12>>2]=0;c[k+(g*20|0)+16>>2]=0;a[k+(g*20|0)+1>>0]=0;break}else{zi(F,108,p,n,0)|0;break}}else{k=un(d,e)|0;i=(c[y>>2]|0)+2|0;g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;n=c[F+88>>2]|0;a[n+(g*20|0)>>0]=108;b[n+(g*20|0)+2>>1]=0;c[n+(g*20|0)+4>>2]=p;c[n+(g*20|0)+8>>2]=i;c[n+(g*20|0)+12>>2]=0;c[n+(g*20|0)+16>>2]=0;a[n+(g*20|0)+1>>0]=0}else g=zi(F,108,p,i,0)|0;i=c[F>>2]|0;do if(!(a[i+73>>0]|0)){if((g|0)<0)g=(c[r>>2]|0)+-1|0;i=c[F+88>>2]|0;j=i+(g*20|0)+1|0;if(a[j>>0]|0){Ai(F,i+(g*20|0)|0,k,-9);break}if(k|0){c[i+(g*20|0)+16>>2]=k;a[j>>0]=-9}}else if(!((k|0)==0|(c[i+464>>2]|0)!=0)?(n=(c[k>>2]|0)+-1|0,c[k>>2]=n,(n|0)==0):0){g=c[k+12>>2]|0;if(g|0){if(c[g+464>>2]|0){Lc(g,k);break}n=k;if(n>>>0>=(c[g+296>>2]|0)>>>0?n>>>0<(c[g+300>>2]|0)>>>0:0){n=g+292|0;c[k>>2]=c[n>>2];c[n>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{n=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[D+20>>2]=y}while(0);if(h|0){g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;n=c[F+88>>2]|0;a[n+(g*20|0)>>0]=108;b[n+(g*20|0)+2>>1]=0;c[n+(g*20|0)+4>>2]=h;c[n+(g*20|0)+8>>2]=0;c[n+(g*20|0)+12>>2]=0;c[n+(g*20|0)+16>>2]=0;a[n+(g*20|0)+1>>0]=0}else g=zi(F,108,h,0,0)|0;c[e+20>>2]=g;n=e+8|0;c[n>>2]=c[n>>2]|32}c[x>>2]=0;k=C+52|0;c[k>>2]=0;n=Vi(d,C,D)|0;c[k>>2]=e;do if(!n){g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){k=g+1|0;c[r>>2]=k;n=c[F+88>>2]|0;a[n+(g*20|0)>>0]=37;b[n+(g*20|0)+2>>1]=0;c[n+(g*20|0)+4>>2]=p;c[n+(g*20|0)+8>>2]=t;c[n+(g*20|0)+12>>2]=0;c[n+(g*20|0)+16>>2]=0;a[n+(g*20|0)+1>>0]=0;n=g;g=k}else{n=zi(F,37,p,t,0)|0;g=c[r>>2]|0}if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;k=c[F+88>>2]|0;a[k+(g*20|0)>>0]=124;b[k+(g*20|0)+2>>1]=0;c[k+(g*20|0)+4>>2]=q;c[k+(g*20|0)+8>>2]=0;c[k+(g*20|0)+12>>2]=0;c[k+(g*20|0)+16>>2]=0;a[k+(g*20|0)+1>>0]=0}else zi(F,124,q,0,0)|0;do if(o){g=(c[y>>2]|0)+1|0;h=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;o=c[F+88>>2]|0;a[o+(h*20|0)>>0]=96;b[o+(h*20|0)+2>>1]=0;c[o+(h*20|0)+4>>2]=p;c[o+(h*20|0)+8>>2]=g;c[o+(h*20|0)+12>>2]=m;c[o+(h*20|0)+16>>2]=0;a[o+(h*20|0)+1>>0]=0;break}else{zi(F,96,p,g,m)|0;break}}else{g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;o=c[F+88>>2]|0;a[o+(g*20|0)>>0]=122;b[o+(g*20|0)+2>>1]=0;c[o+(g*20|0)+4>>2]=p;c[o+(g*20|0)+8>>2]=m;c[o+(g*20|0)+12>>2]=0;c[o+(g*20|0)+16>>2]=0;a[o+(g*20|0)+1>>0]=0;break}else{zi(F,122,p,m,0)|0;break}}while(0);g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;o=c[F+88>>2]|0;a[o+(g*20|0)>>0]=118;b[o+(g*20|0)+2>>1]=0;c[o+(g*20|0)+4>>2]=p;c[o+(g*20|0)+8>>2]=0;c[o+(g*20|0)+12>>2]=0;c[o+(g*20|0)+16>>2]=0;a[o+(g*20|0)+1>>0]=0}else zi(F,118,p,0,0)|0;g=c[z>>2]|0;k=g+68|0;m=c[k>>2]|0;c[k>>2]=m+1;k=g+72|0;if(!(m+-1&m)){h=c[g>>2]|0;i=c[k>>2]|0;g=Mc(h,i,m<<3|4,0)|0;c:do if(!((i|0)==0|(g|0)!=0)){do if(h|0){if(c[h+464>>2]|0){Lc(h,i);break c}j=i;if(j>>>0<(c[h+296>>2]|0)>>>0)break;if(j>>>0>=(c[h+300>>2]|0)>>>0)break;p=h+292|0;c[i>>2]=c[p>>2];c[p>>2]=i;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{p=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[k>>2]=g}else g=c[k>>2]|0;if(g|0)c[g+(m<<2)>>2]=-1;g=~m;do if((s|0)>0){h=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(h|0)){c[r>>2]=h+1;p=c[F+88>>2]|0;a[p+(h*20|0)>>0]=48;b[p+(h*20|0)+2>>1]=0;c[p+(h*20|0)+4>>2]=s;c[p+(h*20|0)+8>>2]=g;c[p+(h*20|0)+12>>2]=1;c[p+(h*20|0)+16>>2]=0;a[p+(h*20|0)+1>>0]=0;break}else{zi(F,48,s,g,1)|0;break}}while(0);en(d,e,q,0,0,f,g,t);do if(u|0){g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;f=c[F+88>>2]|0;a[f+(g*20|0)>>0]=59;b[f+(g*20|0)+2>>1]=0;c[f+(g*20|0)+4>>2]=u;c[f+(g*20|0)+8>>2]=t;c[f+(g*20|0)+12>>2]=0;c[f+(g*20|0)+16>>2]=0;a[f+(g*20|0)+1>>0]=0;break}else{zi(F,59,u,t,0)|0;break}}while(0);g=c[(c[z>>2]|0)+72>>2]|0;if(g|0)c[g+(m<<2)>>2]=c[r>>2];if(!(c[e+8>>2]&8)){c[B>>2]=0;Vi(d,e,D)|0;c[B>>2]=C}else hg(d,34041,E);g=c[r>>2]|0;if((c[(c[z>>2]|0)+48>>2]|0)>(g|0)){c[r>>2]=g+1;F=c[F+88>>2]|0;a[F+(g*20|0)>>0]=13;b[F+(g*20|0)+2>>1]=0;c[F+(g*20|0)+4>>2]=0;c[F+(g*20|0)+8>>2]=n;c[F+(g*20|0)+12>>2]=0;c[F+(g*20|0)+16>>2]=0;a[F+(g*20|0)+1>>0]=0}else zi(F,13,0,n,0)|0;g=c[(c[z>>2]|0)+72>>2]|0;if(!g)break;c[g+(A<<2)>>2]=c[r>>2]}while(0);g=c[x>>2]|0;if(g|0)Rf(c[d>>2]|0,g);c[x>>2]=y;c[v>>2]=w;l=G;return}function cn(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;$=l;l=l+128|0;_=$+48|0;y=$+32|0;w=$+24|0;u=$+8|0;t=$;p=$+112|0;G=$+88|0;H=$+64|0;Y=c[f>>2]|0;Z=f+8|0;W=c[Z>>2]|0;V=W+12|0;i=c[V>>2]|0;m=i+68|0;X=c[m>>2]|0;c[m>>2]=X+1;m=i+72|0;if(!(X+-1&X)){j=c[i>>2]|0;k=c[m>>2]|0;i=Mc(j,k,X<<3|4,0)|0;do if(!((k|0)==0|(i|0)!=0)){if(j|0){if(c[j+464>>2]|0){Lc(j,k);break}U=k;if(U>>>0>=(c[j+296>>2]|0)>>>0?U>>>0<(c[j+300>>2]|0)>>>0:0){U=j+292|0;c[k>>2]=c[U>>2];c[U>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{U=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[m>>2]=i}else i=c[m>>2]|0;if(i|0)c[i+(X<<2)>>2]=-1;L=~X;i=c[V>>2]|0;m=i+68|0;R=c[m>>2]|0;c[m>>2]=R+1;m=i+72|0;if(!(R+-1&R)){j=c[i>>2]|0;k=c[m>>2]|0;i=Mc(j,k,R<<3|4,0)|0;do if(!((k|0)==0|(i|0)!=0)){if(j|0){if(c[j+464>>2]|0){Lc(j,k);break}U=k;if(U>>>0>=(c[j+296>>2]|0)>>>0?U>>>0<(c[j+300>>2]|0)>>>0:0){U=j+292|0;c[k>>2]=c[U>>2];c[U>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{U=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[m>>2]=i}else i=c[m>>2]|0;if(i|0)c[i+(R<<2)>>2]=-1;P=~R;U=g+4|0;F=a[U>>0]|0;S=g+48|0;T=c[S>>2]|0;s=g+44|0;i=c[s>>2]|0;j=c[i>>2]|0;M=F<<24>>24==116;a:do if(!M?(q=Y+73|0,(a[q>>0]|0)==0):0){o=p+4|0;n=1;m=j;while(1){if((n|0)>(c[c[g>>2]>>2]|0)){n=i;Q=m;break a}b:do if((m|0)>0){k=i+4|0;j=0;while(1){if((e[k+16>>1]|0)==(n|0))break b;j=j+1|0;if((j|0)<(m|0))k=k+20|0;else break}}else j=0;while(0);if((j|0)==(m|0)){c[p>>2]=0;c[o>>2]=0;j=Yi(Y,134,p,0)|0;if(!j){i=7;break}Q=j+4|0;c[Q>>2]=c[Q>>2]|1024;c[j+8>>2]=n;i=Mi(c[f>>2]|0,i,j)|0;c[s>>2]=i;if(!i){i=0;j=m}else{b[i+4+(m*20|0)+16>>1]=n;j=m+1|0}}else j=m;if(!(a[q>>0]|0)){n=n+1|0;m=j}else{n=i;Q=j;break a}}l=$;return i|0}else{n=i;Q=j}while(0);k=(Q<<2)+4|0;do if(c[Y+264>>2]|0)if(!(a[Y+73>>0]|0))r=52;else{K=0;O=0;I=0;J=1}else{if(!(0<0|(0==0?(e[Y+268>>1]|0)>>>0>>0:0))){i=Y+292|0;j=c[i>>2]|0;if(j|0){c[i>>2]=c[j>>2];k=Y+276|0;c[k>>2]=(c[k>>2]|0)+1;k=j;r=53;break}i=Y+288|0;j=c[i>>2]|0;if(!j)i=2;else{c[i>>2]=c[j>>2];k=Y+276|0;c[k>>2]=(c[k>>2]|0)+1;k=j;r=53;break}}else i=1;r=Y+276+(i<<2)|0;c[r>>2]=(c[r>>2]|0)+1;r=52}while(0);if((r|0)==52){k=Ec(Y,k,0)|0;r=53}if((r|0)==53)if(!k){K=0;O=0;I=k;J=1}else{c[k>>2]=Q;if((Q|0)>=1){i=n+4|0;j=1;while(1){c[k+(j<<2)>>2]=(e[i+16>>1]|0)+-1;if((j|0)==(Q|0))break;else{i=i+20|0;j=j+1|0}}}K=k;O=un(f,g)|0;I=k;J=0}c[s>>2]=n;p=T+44|0;c[p>>2]=Ui(c[f>>2]|0,n,0)|0;if(!M){m=c[c[g>>2]>>2]|0;i=f+44|0;j=c[i>>2]|0;n=j+1|0;c[i>>2]=m+1+j;i=W+136|0;j=c[i>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;N=c[W+88>>2]|0;a[N+(j*20|0)>>0]=67;b[N+(j*20|0)+2>>1]=0;c[N+(j*20|0)+4>>2]=0;c[N+(j*20|0)+8>>2]=n;c[N+(j*20|0)+12>>2]=0;c[N+(j*20|0)+16>>2]=0;a[N+(j*20|0)+1>>0]=0}else zi(W,67,0,n,0)|0;j=wk(Y,m,1)|0;if(j)if((m|0)>0){k=j+16|0;i=0;do{c[j+20+(i<<2)>>2]=fn(f,g,i)|0;a[(c[k>>2]|0)+i>>0]=0;i=i+1|0}while((i|0)!=(m|0));z=j;q=n}else{z=j;q=n}else{z=0;q=n}}else{z=0;q=0}c[S>>2]=0;N=T+52|0;c[N>>2]=0;o=c[s>>2]|0;i=c[f>>2]|0;c:do if(o|0?(a[i+73>>0]|0)==0:0){k=c[o>>2]|0;if((k|0)>(c[i+108>>2]|0)){c[t>>2]=27601;hg(f,27984,t);break}n=c[g>>2]|0;if((k|0)>0){i=0;m=o+4|0;while(1){j=b[m+16>>1]|0;if(!(j<<16>>16))j=k;else{j=j&65535;k=c[n>>2]|0;if((j|0)>(k|0))break;fk(f,n,j+-1|0,c[m>>2]|0,27601,0);j=c[o>>2]|0}i=i+1|0;if((i|0)<(j|0)){m=m+20|0;k=j}else break c}c[u>>2]=i+1;c[u+4>>2]=27601;c[u+8>>2]=k;hg(f,27867,u)}}while(0);d:do if(((c[T+48>>2]|0)==0?(x=c[p>>2]|0,v=c[f>>2]|0,x|0):0)?(a[v+73>>0]|0)==0:0){k=c[x>>2]|0;if((k|0)>(c[v+108>>2]|0)){c[w>>2]=27601;hg(f,27984,w);break}n=c[T>>2]|0;if((k|0)>0){i=0;m=x+4|0;while(1){j=b[m+16>>1]|0;if(!(j<<16>>16))j=k;else{j=j&65535;k=c[n>>2]|0;if((j|0)>(k|0))break;fk(f,n,j+-1|0,c[m>>2]|0,27601,0);j=c[x>>2]|0}i=i+1|0;if((i|0)<(j|0)){m=m+20|0;k=j}else break d}c[y>>2]=i+1;c[y+4>>2]=27601;c[y+8>>2]=k;hg(f,27867,y)}}while(0);dn(f,g,L);o=g+12|0;i=c[o>>2]|0;do if(M&(i|0)!=0){k=f+44|0;n=c[k>>2]|0;m=n+1|0;n=n+2|0;c[k>>2]=n;k=c[g+16>>2]|0;i=(k|0)==0?i:k+1|0;k=W+136|0;j=c[k>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){E=j+1|0;c[k>>2]=E;D=c[W+88>>2]|0;a[D+(j*20|0)>>0]=75;b[D+(j*20|0)+2>>1]=0;c[D+(j*20|0)+4>>2]=i;c[D+(j*20|0)+8>>2]=m;c[D+(j*20|0)+12>>2]=0;c[D+(j*20|0)+16>>2]=0;a[D+(j*20|0)+1>>0]=0;i=E}else{zi(W,75,i,m,0)|0;i=c[k>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;E=c[W+88>>2]|0;a[E+(i*20|0)>>0]=75;b[E+(i*20|0)+2>>1]=0;c[E+(i*20|0)+4>>2]=m;c[E+(i*20|0)+8>>2]=n;c[E+(i*20|0)+12>>2]=0;c[E+(i*20|0)+16>>2]=0;a[E+(i*20|0)+1>>0]=0;break}else{zi(W,75,m,n,0)|0;break}}else{m=0;n=0}while(0);i=g+56|0;j=c[i>>2]|0;if(j|0)Qf(Y,j);c[i>>2]=0;A=f+44|0;w=c[A>>2]|0;x=w+1|0;y=w+2|0;u=w+3|0;w=w+4|0;c[A>>2]=w;a[G>>0]=13;c[G+4>>2]=x;c[G+16>>2]=0;A=G+8|0;c[A>>2]=0;c[G+12>>2]=0;a[H>>0]=13;c[H+4>>2]=y;c[H+16>>2]=0;B=H+8|0;c[B>>2]=0;c[H+12>>2]=0;D=W+136|0;i=c[D>>2]|0;j=i+1|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=j;E=c[W+88>>2]|0;a[E+(i*20|0)>>0]=15;b[E+(i*20|0)+2>>1]=0;c[E+(i*20|0)+4>>2]=x;c[E+(i*20|0)+8>>2]=0;c[E+(i*20|0)+12>>2]=j;c[E+(i*20|0)+16>>2]=0;a[E+(i*20|0)+1>>0]=0}else i=zi(W,15,x,0,j)|0;c[T+12>>2]=m;m=f+416|0;E=c[m>>2]|0;Vi(f,T,G)|0;j=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){C=j+1|0;c[D>>2]=C;v=c[W+88>>2]|0;a[v+(j*20|0)>>0]=64;b[v+(j*20|0)+2>>1]=0;c[v+(j*20|0)+4>>2]=x;c[v+(j*20|0)+8>>2]=0;c[v+(j*20|0)+12>>2]=0;c[v+(j*20|0)+16>>2]=0;a[v+(j*20|0)+1>>0]=0;j=C}else{zi(W,64,x,0,0)|0;j=c[D>>2]|0}k=c[V>>2]|0;a[k+19>>0]=0;c[k+28>>2]=0;if(!(a[(c[W>>2]|0)+73>>0]|0))i=(c[W+88>>2]|0)+(((i|0)<0?j+-1|0:i)*20|0)|0;else i=46708;c[i+8>>2]=j;i=j+1|0;if((c[k+48>>2]|0)>(j|0)){c[D>>2]=i;v=c[W+88>>2]|0;a[v+(j*20|0)>>0]=15;b[v+(j*20|0)+2>>1]=0;c[v+(j*20|0)+4>>2]=y;c[v+(j*20|0)+8>>2]=0;c[v+(j*20|0)+12>>2]=i;c[v+(j*20|0)+16>>2]=0;a[v+(j*20|0)+1>>0]=0;v=j}else v=zi(W,15,y,0,i)|0;s=c[o>>2]|0;i=g+16|0;t=c[i>>2]|0;c[o>>2]=n;c[i>>2]=0;C=c[m>>2]|0;Vi(f,g,H)|0;c[o>>2]=s;c[i>>2]=t;i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=i+1;t=c[W+88>>2]|0;a[t+(i*20|0)>>0]=64;b[t+(i*20|0)+2>>1]=0;c[t+(i*20|0)+4>>2]=y;c[t+(i*20|0)+8>>2]=0;c[t+(i*20|0)+12>>2]=0;c[t+(i*20|0)+16>>2]=0;a[t+(i*20|0)+1>>0]=0}else zi(W,64,y,0,0)|0;r=c[V>>2]|0;a[r+19>>0]=0;c[r+28>>2]=0;r=vn(f,g,G,h,u,q,z,L)|0;t=(F+-115&255)<2;if(t)s=vn(f,g,H,h,w,q,z,L)|0;else s=0;e:do if(z|0?(H=(c[z>>2]|0)+-1|0,c[z>>2]=H,(H|0)==0):0){i=c[z+12>>2]|0;do if(i|0){if(c[i+464>>2]|0){Lc(i,z);break e}j=z;if(j>>>0<(c[i+296>>2]|0)>>>0)break;if(j>>>0>=(c[i+300>>2]|0)>>>0)break;H=i+292|0;c[z>>2]=c[H>>2];c[H>>2]=z;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](z);break}else{H=jb[c[64>>2]&255](z)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](z);break}}while(0);q=F<<24>>24==118;if((F+-117&255)<2){m=L;o=L}else{i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){j=i+1|0;c[D>>2]=j;H=c[W+88>>2]|0;a[H+(i*20|0)>>0]=14;b[H+(i*20|0)+2>>1]=0;c[H+(i*20|0)+4>>2]=w;c[H+(i*20|0)+8>>2]=s;c[H+(i*20|0)+12>>2]=0;c[H+(i*20|0)+16>>2]=0;a[H+(i*20|0)+1>>0]=0}else{i=zi(W,14,w,s,0)|0;j=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){k=j+1|0;c[D>>2]=k;H=c[W+88>>2]|0;a[H+(j*20|0)>>0]=16;b[H+(j*20|0)+2>>1]=0;c[H+(j*20|0)+4>>2]=y;c[H+(j*20|0)+8>>2]=L;c[H+(j*20|0)+12>>2]=0;c[H+(j*20|0)+16>>2]=0;a[H+(j*20|0)+1>>0]=0}else{j=zi(W,16,y,L,0)|0;k=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(k|0)){c[D>>2]=k+1;H=c[W+88>>2]|0;a[H+(k*20|0)>>0]=13;b[H+(k*20|0)+2>>1]=0;c[H+(k*20|0)+4>>2]=0;c[H+(k*20|0)+8>>2]=i;c[H+(k*20|0)+12>>2]=0;c[H+(k*20|0)+16>>2]=0;a[H+(k*20|0)+1>>0]=0}else zi(W,13,0,i,0)|0;p=g+6|0;k=b[p>>1]|0;m=b[T+6>>1]|0;n=k<<16>>16;o=m<<16>>16;do if(k<<16>>16>16){if((o|0)>(n+49|0)){k=m;break}if((o|0)>(n+31|0)){k=o+1&65535;break}else{k=(d[33193+(o-n)>>0]|0)+o&65535;break}}else{if((n|0)>(o+49|0))break;if((n|0)>(o+31|0)){k=n+1&65535;break}else{k=(d[33193+(n-o)>>0]|0)+n&65535;break}}while(0);b[p>>1]=k;m=i;o=j}do if(!q){i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){j=i+1|0;c[D>>2]=j;H=c[W+88>>2]|0;a[H+(i*20|0)>>0]=14;b[H+(i*20|0)+2>>1]=0;c[H+(i*20|0)+4>>2]=u;c[H+(i*20|0)+8>>2]=r;c[H+(i*20|0)+12>>2]=0;c[H+(i*20|0)+16>>2]=0;a[H+(i*20|0)+1>>0]=0}else{i=zi(W,14,u,r,0)|0;j=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){H=j+1|0;c[D>>2]=H;h=c[W+88>>2]|0;a[h+(j*20|0)>>0]=16;b[h+(j*20|0)+2>>1]=0;c[h+(j*20|0)+4>>2]=x;c[h+(j*20|0)+8>>2]=L;c[h+(j*20|0)+12>>2]=0;c[h+(j*20|0)+16>>2]=0;a[h+(j*20|0)+1>>0]=0;j=H}else{zi(W,16,x,L,0)|0;j=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){c[D>>2]=j+1;n=c[W+88>>2]|0;a[n+(j*20|0)>>0]=13;b[n+(j*20|0)+2>>1]=0;c[n+(j*20|0)+4>>2]=0;c[n+(j*20|0)+8>>2]=i;c[n+(j*20|0)+12>>2]=0;c[n+(j*20|0)+16>>2]=0;a[n+(j*20|0)+1>>0]=0;n=i;break}else{zi(W,13,0,i,0)|0;n=i;break}}else{i=g+6|0;j=b[T+6>>1]|0;if((b[i>>1]|0)<=j<<16>>16){n=m;break}b[i>>1]=j;n=m}while(0);i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[D>>2]=L;k=c[W+88>>2]|0;a[k+(i*20|0)>>0]=14;b[k+(i*20|0)+2>>1]=0;c[k+(i*20|0)+4>>2]=u;c[k+(i*20|0)+8>>2]=r;c[k+(i*20|0)+12>>2]=0;c[k+(i*20|0)+16>>2]=0;a[k+(i*20|0)+1>>0]=0;k=i;i=L}else{k=zi(W,14,u,r,0)|0;i=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[D>>2]=L;H=c[W+88>>2]|0;a[H+(i*20|0)>>0]=16;b[H+(i*20|0)+2>>1]=0;c[H+(i*20|0)+4>>2]=x;c[H+(i*20|0)+8>>2]=m;c[H+(i*20|0)+12>>2]=0;c[H+(i*20|0)+16>>2]=0;a[H+(i*20|0)+1>>0]=0;i=L}else{zi(W,16,x,m,0)|0;i=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=i+1;L=c[W+88>>2]|0;a[L+(i*20|0)>>0]=13;b[L+(i*20|0)+2>>1]=0;c[L+(i*20|0)+4>>2]=0;c[L+(i*20|0)+8>>2]=P;c[L+(i*20|0)+12>>2]=0;c[L+(i*20|0)+16>>2]=0;a[L+(i*20|0)+1>>0]=0}else zi(W,13,0,P,0)|0;do if(!M){if(q){q=k+1|0;m=k;break}i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){j=i+1|0;c[D>>2]=j;M=c[W+88>>2]|0;a[M+(i*20|0)>>0]=16;b[M+(i*20|0)+2>>1]=0;c[M+(i*20|0)+4>>2]=x;c[M+(i*20|0)+8>>2]=m;c[M+(i*20|0)+12>>2]=0;c[M+(i*20|0)+16>>2]=0;a[M+(i*20|0)+1>>0]=0}else{i=zi(W,16,x,m,0)|0;j=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){c[D>>2]=j+1;q=c[W+88>>2]|0;a[q+(j*20|0)>>0]=13;b[q+(j*20|0)+2>>1]=0;c[q+(j*20|0)+4>>2]=0;c[q+(j*20|0)+8>>2]=P;c[q+(j*20|0)+12>>2]=0;c[q+(j*20|0)+16>>2]=0;a[q+(j*20|0)+1>>0]=0;q=k;m=i;break}else{zi(W,13,0,P,0)|0;q=k;m=i;break}}else{q=k;m=k}while(0);p=c[D>>2]|0;do if(t)if((c[(c[V>>2]|0)+48>>2]|0)>(p|0)){i=p+1|0;c[D>>2]=i;M=c[W+88>>2]|0;a[M+(p*20|0)>>0]=14;b[M+(p*20|0)+2>>1]=0;c[M+(p*20|0)+4>>2]=w;c[M+(p*20|0)+8>>2]=s;c[M+(p*20|0)+12>>2]=0;c[M+(p*20|0)+16>>2]=0;a[M+(p*20|0)+1>>0]=0;break}else{zi(W,14,w,s,0)|0;i=c[D>>2]|0;break}else i=p;while(0);if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){M=i+1|0;c[D>>2]=M;L=c[W+88>>2]|0;a[L+(i*20|0)>>0]=16;b[L+(i*20|0)+2>>1]=0;c[L+(i*20|0)+4>>2]=y;c[L+(i*20|0)+8>>2]=n;c[L+(i*20|0)+12>>2]=0;c[L+(i*20|0)+16>>2]=0;a[L+(i*20|0)+1>>0]=0;i=M}else{zi(W,16,y,n,0)|0;i=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){j=i+1|0;c[D>>2]=j;M=c[W+88>>2]|0;a[M+(i*20|0)>>0]=13;b[M+(i*20|0)+2>>1]=0;c[M+(i*20|0)+4>>2]=0;c[M+(i*20|0)+8>>2]=P;c[M+(i*20|0)+12>>2]=0;c[M+(i*20|0)+16>>2]=0;a[M+(i*20|0)+1>>0]=0}else{zi(W,13,0,P,0)|0;j=c[D>>2]|0}if(!(a[(c[W>>2]|0)+73>>0]|0))i=(c[W+88>>2]|0)+(((v|0)<0?j+-1|0:v)*20|0)|0;else i=46708;c[i+8>>2]=j;if((c[(c[V>>2]|0)+48>>2]|0)>(j|0)){i=j+1|0;c[D>>2]=i;P=c[W+88>>2]|0;a[P+(j*20|0)>>0]=16;b[P+(j*20|0)+2>>1]=0;c[P+(j*20|0)+4>>2]=x;c[P+(j*20|0)+8>>2]=o;c[P+(j*20|0)+12>>2]=0;c[P+(j*20|0)+16>>2]=0;a[P+(j*20|0)+1>>0]=0}else{zi(W,16,x,o,0)|0;i=c[D>>2]|0}if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=i+1;P=c[W+88>>2]|0;a[P+(i*20|0)>>0]=16;b[P+(i*20|0)+2>>1]=0;c[P+(i*20|0)+4>>2]=y;c[P+(i*20|0)+8>>2]=n;c[P+(i*20|0)+12>>2]=0;c[P+(i*20|0)+16>>2]=0;a[P+(i*20|0)+1>>0]=0}else zi(W,16,y,n,0)|0;j=c[V>>2]|0;i=c[j+72>>2]|0;if(i|0)c[i+(R<<2)>>2]=c[D>>2];i=c[D>>2]|0;if((c[j+48>>2]|0)>(i|0)){c[D>>2]=i+1;j=c[W+88>>2]|0;a[j+(i*20|0)>>0]=83;j=j+(i*20|0)+1|0;k=j+19|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0))}else i=zi(W,83,0,0,0)|0;j=c[W>>2]|0;f:do if(a[j+73>>0]|0){if(J)break;do if(j|0){if(c[j+464>>2]|0){Lc(j,K);break f}i=K;if(i>>>0<(c[j+296>>2]|0)>>>0)break;if(i>>>0>=(c[j+300>>2]|0)>>>0)break;R=j+292|0;c[I>>2]=c[R>>2];c[R>>2]=K;break f}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](K);break}else{R=jb[c[64>>2]&255](K)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](K);break}}else{if((i|0)<0)i=(c[D>>2]|0)+-1|0;j=c[W+88>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(W,j+(i*20|0)|0,K,-15);break}if(J)break;c[j+(i*20|0)+16>>2]=K;a[k>>0]=-15}while(0);k=c[A>>2]|0;j=c[B>>2]|0;i=c[D>>2]|0;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=i+1;R=c[W+88>>2]|0;a[R+(i*20|0)>>0]=94;b[R+(i*20|0)+2>>1]=0;c[R+(i*20|0)+4>>2]=k;c[R+(i*20|0)+8>>2]=j;c[R+(i*20|0)+12>>2]=Q;c[R+(i*20|0)+16>>2]=0;a[R+(i*20|0)+1>>0]=0}else i=zi(W,94,k,j,Q)|0;j=c[W>>2]|0;g:do if(a[j+73>>0]|0){if((O|0)==0|(c[j+464>>2]|0)!=0)break;R=(c[O>>2]|0)+-1|0;c[O>>2]=R;if(R|0)break;i=c[O+12>>2]|0;do if(i|0){if(c[i+464>>2]|0){Lc(i,O);break g}j=O;if(j>>>0<(c[i+296>>2]|0)>>>0)break;if(j>>>0>=(c[i+300>>2]|0)>>>0)break;R=i+292|0;c[O>>2]=c[R>>2];c[R>>2]=O;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](O);break}else{R=jb[c[64>>2]&255](O)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](O);break}}else{if((i|0)<0)i=(c[D>>2]|0)+-1|0;j=c[W+88>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(W,j+(i*20|0)|0,O,-9);break}if(!O)break;c[j+(i*20|0)+16>>2]=O;a[k>>0]=-9}while(0);i=c[D>>2]|0;if((i|0)>0)b[(c[W+88>>2]|0)+((i+-1|0)*20|0)+2>>1]=1;if((c[(c[V>>2]|0)+48>>2]|0)>(i|0)){c[D>>2]=i+1;W=c[W+88>>2]|0;a[W+(i*20|0)>>0]=18;b[W+(i*20|0)+2>>1]=0;c[W+(i*20|0)+4>>2]=q;c[W+(i*20|0)+8>>2]=m;c[W+(i*20|0)+12>>2]=p;c[W+(i*20|0)+16>>2]=0;a[W+(i*20|0)+1>>0]=0}else zi(W,18,q,m,p)|0;i=c[(c[V>>2]|0)+72>>2]|0;if(i|0)c[i+(X<<2)>>2]=c[D>>2];i=c[S>>2]|0;if(i|0)Sf(Y,i,1);c[S>>2]=T;c[N>>2]=g;h:do if((a[f+399>>0]|0)==2){n=c[Z>>2]|0;j=c[f>>2]|0;switch(a[U>>0]|0){case 116:{i=27741;break}case 118:{i=27731;break}case 117:{i=27724;break}default:i=27718}c[_>>2]=E;c[_+4>>2]=C;c[_+8>>2]=47328;c[_+12>>2]=i;m=Ff(j,33848,_)|0;j=c[f+412>>2]|0;k=n+136|0;i=c[k>>2]|0;if((c[(c[n+12>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;_=c[n+88>>2]|0;a[_+(i*20|0)>>0]=-89;b[_+(i*20|0)+2>>1]=0;c[_+(i*20|0)+4>>2]=j;c[_+(i*20|0)+8>>2]=0;c[_+(i*20|0)+12>>2]=0;c[_+(i*20|0)+16>>2]=0;a[_+(i*20|0)+1>>0]=0}else i=zi(n,167,j,0,0)|0;j=c[n>>2]|0;if(!(a[j+73>>0]|0)){if((i|0)<0)i=(c[k>>2]|0)+-1|0;j=c[n+88>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(n,j+(i*20|0)|0,m,-7);break}if(!m)break;c[j+(i*20|0)+16>>2]=m;a[k>>0]=-7;break}if(!m)break;do if(j|0){if(c[j+464>>2]|0){Lc(j,m);break h}i=m;if(i>>>0<(c[j+296>>2]|0)>>>0)break;if(i>>>0>=(c[j+300>>2]|0)>>>0)break;_=j+292|0;c[m>>2]=c[_>>2];c[_>>2]=m;break h}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{_=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-_;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);f=(c[f+36>>2]|0)!=0&1;l=$;return f|0}function dn(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;o=v;t=c[f+56>>2]|0;n=f+12|0;if(c[n>>2]|0){l=v;return}m=d+25|0;h=a[m>>0]|0;if(h<<24>>24){j=d+19|0;i=h&255;h=0;do{if(a[d+148+(h*20|0)+6>>0]|0?(k=a[j>>0]|0,(k&255)<8):0){u=c[d+148+(h*20|0)+12>>2]|0;a[j>>0]=k+1<<24>>24;c[d+348+((k&255)<<2)>>2]=u}h=h+1|0}while((h|0)!=(i|0))}a[m>>0]=0;if(!t){l=v;return}r=d+44|0;u=(c[r>>2]|0)+1|0;c[r>>2]=u;c[n>>2]=u;h=c[d+8>>2]|0;if(!h){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;s=yi(d)|0}else s=h;h=t+12|0;do if(!(bk(c[h>>2]|0,o)|0)){Di(d,c[h>>2]|0,u);i=s+136|0;h=c[i>>2]|0;j=s+12|0;if((c[(c[j>>2]|0)+48>>2]|0)>(h|0)){q=h+1|0;c[i>>2]=q;p=c[s+88>>2]|0;a[p+(h*20|0)>>0]=17;b[p+(h*20|0)+2>>1]=0;c[p+(h*20|0)+4>>2]=u;c[p+(h*20|0)+8>>2]=0;c[p+(h*20|0)+12>>2]=0;c[p+(h*20|0)+16>>2]=0;a[p+(h*20|0)+1>>0]=0;h=q}else{zi(s,17,u,0,0)|0;h=c[i>>2]|0}if((c[(c[j>>2]|0)+48>>2]|0)>(h|0)){c[i>>2]=h+1;q=c[s+88>>2]|0;a[q+(h*20|0)>>0]=22;b[q+(h*20|0)+2>>1]=0;c[q+(h*20|0)+4>>2]=u;c[q+(h*20|0)+8>>2]=g;c[q+(h*20|0)+12>>2]=0;c[q+(h*20|0)+16>>2]=0;a[q+(h*20|0)+1>>0]=0;break}else{zi(s,22,u,g,0)|0;break}}else{h=c[o>>2]|0;j=s+136|0;i=c[j>>2]|0;k=s+12|0;if((c[(c[k>>2]|0)+48>>2]|0)>(i|0)){c[j>>2]=i+1;q=c[s+88>>2]|0;a[q+(i*20|0)>>0]=67;b[q+(i*20|0)+2>>1]=0;c[q+(i*20|0)+4>>2]=h;c[q+(i*20|0)+8>>2]=u;c[q+(i*20|0)+12>>2]=0;c[q+(i*20|0)+16>>2]=0;a[q+(i*20|0)+1>>0]=0}else zi(s,67,h,u,0)|0;if(!h){h=c[j>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;q=c[s+88>>2]|0;a[q+(h*20|0)>>0]=13;b[q+(h*20|0)+2>>1]=0;c[q+(h*20|0)+4>>2]=0;c[q+(h*20|0)+8>>2]=g;c[q+(h*20|0)+12>>2]=0;c[q+(h*20|0)+16>>2]=0;a[q+(h*20|0)+1>>0]=0;break}else{zi(s,13,0,g,0)|0;break}}if((h|0)>-1){q=f+6|0;o=b[q>>1]|0;i=((h|0)<0)<<31>>31;g=h>>>0<8;if(g)if(h>>>0<2)j=0;else{j=40;m=h;k=i;do{j=(j&65535)+65526|0;m=Rt(m|0,k|0,1)|0;k=z}while(k>>>0<0|(k|0)==0&m>>>0<8);k=j&65535;j=m;p=33}else{if(h>>>0>255){j=40;n=h;k=i;do{j=(j&65535)+40|0;p=n;n=Qt(n|0,k|0,4)|0;m=k;k=z}while(m>>>0>0|(m|0)==0&p>>>0>4095);m=j&65535;j=n}else{m=40;k=i;j=h}if(k>>>0>0|(k|0)==0&j>>>0>15){while(1){m=(m&65535)+10&65535;p=j;j=Qt(j|0,k|0,1)|0;if(!(k>>>0>0|(k|0)==0&p>>>0>31))break;else k=z}k=m;p=33}else{k=m;p=33}}if((p|0)==33)j=(k&65535)+65526+(e[14834+((j&7)<<1)>>1]|0)&65535;if(o<<16>>16>j<<16>>16){if(g)if(h>>>0<2)h=0;else{j=40;do{j=(j&65535)+65526|0;h=Rt(h|0,i|0,1)|0;i=z}while(i>>>0<0|(i|0)==0&h>>>0<8);j=j&65535;p=45}else{if(h>>>0>255){j=40;do{j=(j&65535)+40|0;p=h;h=Qt(h|0,i|0,4)|0;g=i;i=z}while(g>>>0>0|(g|0)==0&p>>>0>4095);j=j&65535}else j=40;if(i>>>0>0|(i|0)==0&h>>>0>15){while(1){j=(j&65535)+10&65535;p=h;h=Qt(h|0,i|0,1)|0;if(!(i>>>0>0|(i|0)==0&p>>>0>31))break;else i=z}p=45}else p=45}if((p|0)==45)h=(j&65535)+65526+(e[14834+((h&7)<<1)>>1]|0)&65535;b[q>>1]=h;q=f+8|0;c[q>>2]=c[q>>2]|16384}}}while(0);h=c[t+16>>2]|0;if(!h){l=v;return}m=c[r>>2]|0;n=m+1|0;c[f+16>>2]=n;c[r>>2]=m+2;Di(d,h,n);j=s+136|0;h=c[j>>2]|0;k=s+12|0;if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){i=h+1|0;c[j>>2]=i;f=c[s+88>>2]|0;a[f+(h*20|0)>>0]=17;b[f+(h*20|0)+2>>1]=0;c[f+(h*20|0)+4>>2]=n;c[f+(h*20|0)+8>>2]=0;c[f+(h*20|0)+12>>2]=0;c[f+(h*20|0)+16>>2]=0;a[f+(h*20|0)+1>>0]=0}else{zi(s,17,n,0,0)|0;i=c[j>>2]|0}h=m+2|0;if((c[(c[k>>2]|0)+48>>2]|0)>(i|0)){c[j>>2]=i+1;f=c[s+88>>2]|0;a[f+(i*20|0)>>0]=-109;b[f+(i*20|0)+2>>1]=0;c[f+(i*20|0)+4>>2]=u;c[f+(i*20|0)+8>>2]=h;c[f+(i*20|0)+12>>2]=n;c[f+(i*20|0)+16>>2]=0;a[f+(i*20|0)+1>>0]=0;l=v;return}else{zi(s,147,u,h,n)|0;l=v;return}}function en(f,g,h,i,j,k,l,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=c[f+8>>2]|0;F=a[k>>0]|0;x=k+4|0;M=c[x>>2]|0;if(!j)r=0;else r=d[j+1>>0]|0;if(!i)N=0;else N=(c[i>>2]|0)==0?0:i;D=(N|0)!=0;u=(r|0)!=0;do if(!(u|D)?(o=c[g+16>>2]|0,(o|0)>0):0){i=O+136|0;n=c[i>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(n|0)){c[i>>2]=n+1;L=c[O+88>>2]|0;a[L+(n*20|0)>>0]=48;b[L+(n*20|0)+2>>1]=0;c[L+(n*20|0)+4>>2]=o;c[L+(n*20|0)+8>>2]=l;c[L+(n*20|0)+12>>2]=1;c[L+(n*20|0)+16>>2]=0;a[L+(n*20|0)+1>>0]=0;break}else{zi(O,48,o,l,1)|0;break}}while(0);t=c[g>>2]|0;s=c[t>>2]|0;p=k+8|0;q=c[p>>2]|0;if(q){n=f+44|0;o=c[n>>2]|0;if((q+s|0)>(o|0)){i=0;p=q;z=16}else{H=0;L=q}}else{if(D){i=((a[N+28>>0]&1^1)&255)+(c[c[N>>2]>>2]|0)|0;n=f+44|0;o=i+(c[n>>2]|0)|0;c[n>>2]=o}else{o=f+44|0;i=0;n=o;o=c[o>>2]|0}z=o+1|0;c[p>>2]=z;p=z;z=16}if((z|0)==16){c[n>>2]=o+s;H=i;L=p}c[k+12>>2]=s;a:do if((h|0)>-1)if((s|0)>0){n=O+136|0;o=O+12|0;p=O+88|0;i=0;do{q=i+L|0;r=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(r|0)){c[n>>2]=r+1;K=c[p>>2]|0;a[K+(r*20|0)>>0]=96;b[K+(r*20|0)+2>>1]=0;c[K+(r*20|0)+4>>2]=h;c[K+(r*20|0)+8>>2]=i;c[K+(r*20|0)+12>>2]=q;c[K+(r*20|0)+16>>2]=0;a[K+(r*20|0)+1>>0]=0}else zi(O,96,h,i,q)|0;i=i+1|0}while((i|0)!=(s|0));K=s;w=L}else{K=s;w=L}else{switch(F<<24>>24){case 3:{K=s;w=L;break a}case 9:case 10:case 13:{i=1;break}default:i=0}if(F<<24>>24!=14&(F<<24>>24!=12&((r|0)==0&D))){i=i|12;o=c[N+4>>2]|0;p=c[N>>2]|0;q=c[p>>2]|0;if((o|0)<(q|0)){n=o;do{r=b[p+4+(n*20|0)+16>>1]|0;n=n+1|0;if(r<<16>>16)b[t+4+(((r&65535)+-1|0)*20|0)+16>>1]=n-o}while((n|0)<(q|0));n=0}else n=0}else n=L;K=Vk(f,t,L,0,i)|0;w=n}while(0);do if(u){b:do switch(a[j+1>>0]|0){case 2:{n=f+44|0;i=c[n>>2]|0;v=i+1|0;c[n>>2]=i+K;n=j+8|0;i=c[n>>2]|0;o=c[O>>2]|0;if(!(a[o+73>>0]|0)){j=c[O+88>>2]|0;h=j+(i*20|0)+1|0;u=j+(i*20|0)+16|0;Wf(o,a[h>>0]|0,c[u>>2]|0);a[h>>0]=0;c[u>>2]=0;a[j+(i*20|0)>>0]=-90;i=c[n>>2]|0}if((i|0)<0)i=(c[O+136>>2]|0)+-1|0;if(!(a[(c[O>>2]|0)+73>>0]|0))i=(c[O+88>>2]|0)+(i*20|0)|0;else i=46708;a[i>>0]=70;c[i+4>>2]=1;c[i+8>>2]=v;h=O+136|0;i=c[h>>2]|0;t=i+K|0;u=K+-1|0;j=O+12|0;if((K|0)>0){s=O+88|0;r=0;do{q=Qj(f,c[(c[g>>2]|0)+4+(r*20|0)>>2]|0)|0;i=r+L|0;n=r+v|0;o=c[h>>2]|0;p=(c[(c[j>>2]|0)+48>>2]|0)>(o|0);do if((r|0)<(u|0))if(p){c[h>>2]=o+1;p=c[s>>2]|0;a[p+(o*20|0)>>0]=52;b[p+(o*20|0)+2>>1]=0;c[p+(o*20|0)+4>>2]=i;c[p+(o*20|0)+8>>2]=t;c[p+(o*20|0)+12>>2]=n;c[p+(o*20|0)+16>>2]=0;a[p+(o*20|0)+1>>0]=0;break}else{zi(O,52,i,t,n)|0;break}else if(p){c[h>>2]=o+1;p=c[s>>2]|0;a[p+(o*20|0)>>0]=53;b[p+(o*20|0)+2>>1]=0;c[p+(o*20|0)+4>>2]=i;c[p+(o*20|0)+8>>2]=l;c[p+(o*20|0)+12>>2]=n;c[p+(o*20|0)+16>>2]=0;a[p+(o*20|0)+1>>0]=0;break}else{zi(O,53,i,l,n)|0;break}while(0);do if(!(a[(c[O>>2]|0)+73>>0]|0)){i=(c[h>>2]|0)+-1|0;n=c[s>>2]|0;o=n+(i*20|0)+1|0;if(a[o>>0]|0){Ai(O,n+(i*20|0)|0,q,-2);break}if(q|0){c[n+(i*20|0)+16>>2]=q;a[o>>0]=-2}}while(0);i=c[h>>2]|0;if((i|0)>0)b[(c[s>>2]|0)+((i+-1|0)*20|0)+2>>1]=128;r=r+1|0}while((r|0)!=(K|0))}if((c[(c[j>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;j=c[O+88>>2]|0;a[j+(i*20|0)>>0]=75;b[j+(i*20|0)+2>>1]=0;c[j+(i*20|0)+4>>2]=L;c[j+(i*20|0)+8>>2]=v;c[j+(i*20|0)+12>>2]=u;c[j+(i*20|0)+16>>2]=0;a[j+(i*20|0)+1>>0]=0;break b}else{zi(O,75,L,v,u)|0;break b}}case 1:{i=c[j+8>>2]|0;n=c[O>>2]|0;if(!(a[n+73>>0]|0)){v=c[O+88>>2]|0;u=v+(i*20|0)+1|0;j=v+(i*20|0)+16|0;Wf(n,a[u>>0]|0,c[j>>2]|0);a[u>>0]=0;c[j>>2]=0;a[v+(i*20|0)>>0]=-90}break}default:qn(f,c[j+4>>2]|0,l,K,L)}while(0);if((N|0)==0?(y=c[g+16>>2]|0,(y|0)>0):0){i=O+136|0;n=c[i>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(n|0)){c[i>>2]=n+1;v=c[O+88>>2]|0;a[v+(n*20|0)>>0]=48;b[v+(n*20|0)+2>>1]=0;c[v+(n*20|0)+4>>2]=y;c[v+(n*20|0)+8>>2]=l;c[v+(n*20|0)+12>>2]=1;c[v+(n*20|0)+16>>2]=0;a[v+(n*20|0)+1>>0]=0;break}else{zi(O,48,y,l,1)|0;break}}}while(0);c:do switch(F<<24>>24){case 1:{q=f+19|0;i=a[q>>0]|0;if(!(i<<24>>24)){J=f+44|0;p=(c[J>>2]|0)+1|0;c[J>>2]=p}else{p=i+-1<<24>>24;a[q>>0]=p;p=c[f+348+((p&255)<<2)>>2]|0}n=O+136|0;i=c[n>>2]|0;o=O+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(i|0)){J=i+1|0;c[n>>2]=J;I=c[O+88>>2]|0;a[I+(i*20|0)>>0]=99;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=L;c[I+(i*20|0)+8>>2]=K;c[I+(i*20|0)+12>>2]=p;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0;i=J}else{zi(O,99,L,K,p)|0;i=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(i|0)){c[n>>2]=i+1;J=c[O+88>>2]|0;a[J+(i*20|0)>>0]=127;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=M;c[J+(i*20|0)+8>>2]=p;c[J+(i*20|0)+12>>2]=L;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(O,127,M,p,L)|0;if(!(a[(c[O>>2]|0)+73>>0]|0)){M=c[O+88>>2]|0;a[M+(i*20|0)+1>>0]=-3;c[M+(i*20|0)+16>>2]=K}if((p|0)!=0?(A=a[q>>0]|0,(A&255)<8):0){i=a[f+25>>0]|0;d:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(p|0))break;i=i+1|0;if((i|0)>=(o|0))break d;else n=n+20|0}a[n+6>>0]=1;z=302;break c}while(0);a[q>>0]=A+1<<24>>24;c[f+348+((A&255)<<2)>>2]=p;z=302}else z=302;break}case 2:{i=O+136|0;n=c[i>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(n|0)){c[i>>2]=n+1;z=c[O+88>>2]|0;a[z+(n*20|0)>>0]=-128;b[z+(n*20|0)+2>>1]=0;c[z+(n*20|0)+4>>2]=M;c[z+(n*20|0)+8>>2]=L;c[z+(n*20|0)+12>>2]=K;c[z+(n*20|0)+16>>2]=0;a[z+(n*20|0)+1>>0]=0;z=302;break c}else{zi(O,128,M,L,K)|0;z=302;break c}}case 12:case 14:case 6:case 5:{j=H+1|0;t=(H|0)==0;do if(t){i=f+19|0;n=a[i>>0]|0;if(!(n<<24>>24)){I=f+44|0;u=(c[I>>2]|0)+1|0;c[I>>2]=u;break}else{u=n+-1<<24>>24;a[i>>0]=u;u=c[f+348+((u&255)<<2)>>2]|0;break}}else{i=f+32|0;n=c[i>>2]|0;o=f+28|0;p=c[o>>2]|0;if((p|0)>(H|0)){c[i>>2]=n+j;c[o>>2]=p-j;u=n;break}else{I=f+44|0;u=c[I>>2]|0;c[I>>2]=u+j;u=u+1|0;break}}while(0);p=u+H|0;r=O+136|0;i=c[r>>2]|0;s=O+12|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){c[r>>2]=i+1;I=c[O+88>>2]|0;a[I+(i*20|0)>>0]=99;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=L;c[I+(i*20|0)+8>>2]=K;c[I+(i*20|0)+12>>2]=p;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0}else zi(O,99,L,K,p)|0;if(F<<24>>24==6){i=c[r>>2]|0;n=i+4|0;o=M+1|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){c[r>>2]=i+1;I=c[O+88>>2]|0;a[I+(i*20|0)>>0]=30;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=o;c[I+(i*20|0)+8>>2]=n;c[I+(i*20|0)+12>>2]=u;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0}else i=zi(O,30,o,n,u)|0;if(!(a[(c[O>>2]|0)+73>>0]|0)){I=c[O+88>>2]|0;a[I+(i*20|0)+1>>0]=-3;c[I+(i*20|0)+16>>2]=0}i=c[r>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){c[r>>2]=i+1;I=c[O+88>>2]|0;a[I+(i*20|0)>>0]=127;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=o;c[I+(i*20|0)+8>>2]=u;c[I+(i*20|0)+12>>2]=L;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0}else i=zi(O,127,o,u,L)|0;if(!(a[(c[O>>2]|0)+73>>0]|0)){I=c[O+88>>2]|0;a[I+(i*20|0)+1>>0]=-3;c[I+(i*20|0)+16>>2]=K}}e:do if(!D){q=f+19|0;i=a[q>>0]|0;if(!(i<<24>>24)){L=f+44|0;p=(c[L>>2]|0)+1|0;c[L>>2]=p}else{p=i+-1<<24>>24;a[q>>0]=p;p=c[f+348+((p&255)<<2)>>2]|0}i=c[r>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[r>>2]=L;K=c[O+88>>2]|0;a[K+(i*20|0)>>0]=115;b[K+(i*20|0)+2>>1]=0;c[K+(i*20|0)+4>>2]=M;c[K+(i*20|0)+8>>2]=p;c[K+(i*20|0)+12>>2]=0;c[K+(i*20|0)+16>>2]=0;a[K+(i*20|0)+1>>0]=0;i=L}else{zi(O,115,M,p,0)|0;i=c[r>>2]|0}if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[r>>2]=L;K=c[O+88>>2]|0;a[K+(i*20|0)>>0]=116;b[K+(i*20|0)+2>>1]=0;c[K+(i*20|0)+4>>2]=M;c[K+(i*20|0)+8>>2]=u;c[K+(i*20|0)+12>>2]=p;c[K+(i*20|0)+16>>2]=0;a[K+(i*20|0)+1>>0]=0;i=L}else{zi(O,116,M,u,p)|0;i=c[r>>2]|0}if((i|0)>0)b[(c[O+88>>2]|0)+((i+-1|0)*20|0)+2>>1]=8;if(p|0?(G=a[q>>0]|0,(G&255)<8):0){i=a[f+25>>0]|0;f:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(p|0))break;i=i+1|0;if((i|0)>=(o|0))break f;else n=n+20|0}a[n+6>>0]=1;break e}while(0);a[q>>0]=G+1<<24>>24;c[f+348+((G&255)<<2)>>2]=p}}else tn(f,N,g,p,L,1,H);while(0);if(t){if(!u){z=302;break c}p=f+19|0;q=a[p>>0]|0;if((q&255)>=8){z=302;break c}i=a[f+25>>0]|0;g:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(u|0))break;i=i+1|0;if((i|0)>=(o|0))break g;else n=n+20|0}a[n+6>>0]=1;z=302;break c}while(0);a[p>>0]=q+1<<24>>24;c[f+348+((q&255)<<2)>>2]=u;z=302;break c}s=f+25|0;i=a[s>>0]|0;h:do if(i<<24>>24){t=u+j|0;h=f+19|0;r=0;do{o=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){n=c[o>>2]|0;if(!((n|0)>=(u|0)&(n|0)<(t|0)))break;if(a[q>>0]|0?(J=a[h>>0]|0,(J&255)<8):0){a[h>>0]=J+1<<24>>24;c[f+348+((J&255)<<2)>>2]=n}i=i+-1<<24>>24;a[s>>0]=i;n=i&255;if((n|0)>(r|0)){i=f+148+(n*20|0)|0;c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[p+16>>2]=c[i+16>>2];i=a[s>>0]|0}if((r|0)>=(i&255|0))break h}r=r+1|0}while((r|0)<(i&255|0))}while(0);i=f+28|0;if((c[i>>2]|0)>(H|0))z=302;else{c[i>>2]=j;c[f+32>>2]=u;z=302}break}case 11:{if(D){tn(f,N,g,L,w,K,H);return}v=f+19|0;i=a[v>>0]|0;if(!(i<<24>>24)){J=f+44|0;j=(c[J>>2]|0)+1|0;c[J>>2]=j}else{j=i+-1<<24>>24;a[v>>0]=j;j=c[f+348+((j&255)<<2)>>2]|0}p=c[k+16>>2]|0;h=O+136|0;i=c[h>>2]|0;u=O+12|0;if((c[(c[u>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;J=c[O+88>>2]|0;a[J+(i*20|0)>>0]=99;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=L;c[J+(i*20|0)+8>>2]=K;c[J+(i*20|0)+12>>2]=j;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(O,99,L,K,j)|0;n=c[O>>2]|0;do if(a[n+73>>0]|0){if((K|0)!=-12)Wf(n,K,p)}else{if((i|0)<0)i=(c[h>>2]|0)+-1|0;n=c[O+88>>2]|0;o=n+(i*20|0)|0;if((K|0)<=-1?(B=n+(i*20|0)+1|0,(a[B>>0]|0)==0):0){if((K|0)==-3){c[n+(i*20|0)+16>>2]=p;a[B>>0]=-3;break}if(!p)break;c[n+(i*20|0)+16>>2]=p;a[B>>0]=K;if((K|0)!=-12)break;J=p+12|0;c[J>>2]=(c[J>>2]|0)+1;break}Ai(O,o,p,K)}while(0);t=f+25|0;i=a[t>>0]|0;i:do if(i<<24>>24){s=K+L|0;r=0;do{o=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){n=c[o>>2]|0;if(!((n|0)>=(L|0)&(n|0)<(s|0)))break;if(a[q>>0]|0?(E=a[v>>0]|0,(E&255)<8):0){a[v>>0]=E+1<<24>>24;c[f+348+((E&255)<<2)>>2]=n}i=i+-1<<24>>24;a[t>>0]=i;n=i&255;if((n|0)>(r|0)){i=f+148+(n*20|0)|0;c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[p+16>>2]=c[i+16>>2];i=a[t>>0]|0}if((r|0)>=(i&255|0))break i}r=r+1|0}while((r|0)<(i&255|0))}while(0);i=c[h>>2]|0;if((c[(c[u>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;J=c[O+88>>2]|0;a[J+(i*20|0)>>0]=127;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=M;c[J+(i*20|0)+8>>2]=j;c[J+(i*20|0)+12>>2]=L;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(O,127,M,j,L)|0;if(!(a[(c[O>>2]|0)+73>>0]|0)){M=c[O+88>>2]|0;a[M+(i*20|0)+1>>0]=-3;c[M+(i*20|0)+16>>2]=K}if((j|0)!=0?(I=a[v>>0]|0,(I&255)<8):0){i=a[t>>0]|0;j:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(j|0))break;i=i+1|0;if((i|0)>=(o|0))break j;else n=n+20|0}a[n+6>>0]=1;z=302;break c}while(0);a[v>>0]=I+1<<24>>24;c[f+348+((I&255)<<2)>>2]=j;z=302}else z=302;break}case 3:{i=O+136|0;n=c[i>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(n|0)){c[i>>2]=n+1;z=c[O+88>>2]|0;a[z+(n*20|0)>>0]=67;b[z+(n*20|0)+2>>1]=0;c[z+(n*20|0)+4>>2]=1;c[z+(n*20|0)+8>>2]=M;c[z+(n*20|0)+12>>2]=0;c[z+(n*20|0)+16>>2]=0;a[z+(n*20|0)+1>>0]=0;z=302;break c}else{zi(O,67,1,M,0)|0;z=302;break c}}case 10:{if(D){tn(f,N,g,L,w,K,H);return}break}case 9:case 13:{if(D){tn(f,N,g,L,w,K,H);return}if(F<<24>>24==13){i=c[x>>2]|0;n=O+136|0;o=c[n>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;f=c[O+88>>2]|0;a[f+(o*20|0)>>0]=16;b[f+(o*20|0)+2>>1]=0;c[f+(o*20|0)+4>>2]=i;c[f+(o*20|0)+8>>2]=0;c[f+(o*20|0)+12>>2]=0;c[f+(o*20|0)+16>>2]=0;a[f+(o*20|0)+1>>0]=0;break c}else{zi(O,16,i,0,0)|0;break c}}i=O+136|0;n=c[i>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(n|0)){c[i>>2]=n+1;M=c[O+88>>2]|0;a[M+(n*20|0)>>0]=78;b[M+(n*20|0)+2>>1]=0;c[M+(n*20|0)+4>>2]=L;c[M+(n*20|0)+8>>2]=K;c[M+(n*20|0)+12>>2]=0;c[M+(n*20|0)+16>>2]=0;a[M+(n*20|0)+1>>0]=0}else zi(O,78,L,K,0)|0;h=f+25|0;i=a[h>>0]|0;if(i<<24>>24){s=K+L|0;t=f+19|0;r=0;while(1){o=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){n=c[o>>2]|0;if(!((n|0)>=(L|0)&(n|0)<(s|0)))break;if(a[q>>0]|0?(C=a[t>>0]|0,(C&255)<8):0){a[t>>0]=C+1<<24>>24;c[f+348+((C&255)<<2)>>2]=n}i=i+-1<<24>>24;a[h>>0]=i;n=i&255;if((n|0)>(r|0)){i=f+148+(n*20|0)|0;c[p>>2]=c[i>>2];c[p+4>>2]=c[i+4>>2];c[p+8>>2]=c[i+8>>2];c[p+12>>2]=c[i+12>>2];c[p+16>>2]=c[i+16>>2];i=a[h>>0]|0}if((r|0)>=(i&255|0)){z=302;break c}}r=r+1|0;if((r|0)>=(i&255|0)){z=302;break}}}break}case 7:case 8:{j=c[k+20>>2]|0;v=c[j>>2]|0;k=f+19|0;i=a[k>>0]|0;if(!(i<<24>>24)){i=f+44|0;w=(c[i>>2]|0)+1|0;c[i>>2]=w;i=0}else{i=i+-1<<24>>24;a[k>>0]=i;w=c[f+348+((i&255)<<2)>>2]|0}l=v+2|0;x=(l|0)==1;do if(x)if(!(i<<24>>24)){J=f+44|0;y=(c[J>>2]|0)+1|0;c[J>>2]=y;break}else{y=i+-1<<24>>24;a[k>>0]=y;y=c[f+348+((y&255)<<2)>>2]|0;break}else{i=f+32|0;n=c[i>>2]|0;o=f+28|0;p=c[o>>2]|0;if((p|0)<(l|0)){J=f+44|0;y=c[J>>2]|0;c[J>>2]=y+l;y=y+1|0;break}else{c[i>>2]=n+l;c[o>>2]=p-l;y=n;break}}while(0);h=y+v|0;r=h+1|0;q=F<<24>>24==8;if(q){n=M+1|0;o=O+136|0;i=c[o>>2]|0;p=O+12|0;if((c[(c[p>>2]|0)+48>>2]|0)>(i|0)){c[o>>2]=i+1;J=c[O+88>>2]|0;a[J+(i*20|0)>>0]=30;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=n;c[J+(i*20|0)+8>>2]=0;c[J+(i*20|0)+12>>2]=L;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(O,30,n,0,L)|0;if(!(a[(c[O>>2]|0)+73>>0]|0)){u=c[O+88>>2]|0;a[u+(i*20|0)+1>>0]=-3;c[u+(i*20|0)+16>>2]=K;u=i;t=o;s=p}else{u=i;t=o;s=p}}else{u=0;t=O+136|0;s=O+12|0}i=c[t>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){c[t>>2]=i+1;J=c[O+88>>2]|0;a[J+(i*20|0)>>0]=99;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=L;c[J+(i*20|0)+8>>2]=K;c[J+(i*20|0)+12>>2]=r;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else zi(O,99,L,K,r)|0;if(q){i=M+1|0;n=c[t>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){K=n+1|0;c[t>>2]=K;J=c[O+88>>2]|0;a[J+(n*20|0)>>0]=127;b[J+(n*20|0)+2>>1]=0;c[J+(n*20|0)+4>>2]=i;c[J+(n*20|0)+8>>2]=r;c[J+(n*20|0)+12>>2]=0;c[J+(n*20|0)+16>>2]=0;a[J+(n*20|0)+1>>0]=0;i=K}else{zi(O,127,i,r,0)|0;i=c[t>>2]|0}if((i|0)>0)b[(c[O+88>>2]|0)+((i+-1|0)*20|0)+2>>1]=16}if((v|0)>0){n=L+-1|0;o=O+88|0;i=0;do{p=n+(e[j+4+(i*20|0)+16>>1]|0)|0;q=i+y|0;r=c[t>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(r|0)){c[t>>2]=r+1;L=c[o>>2]|0;a[L+(r*20|0)>>0]=76;b[L+(r*20|0)+2>>1]=0;c[L+(r*20|0)+4>>2]=p;c[L+(r*20|0)+8>>2]=q;c[L+(r*20|0)+12>>2]=0;c[L+(r*20|0)+16>>2]=0;a[L+(r*20|0)+1>>0]=0}else zi(O,76,p,q,0)|0;i=i+1|0}while((i|0)!=(v|0))}i=c[t>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[t>>2]=L;K=c[O+88>>2]|0;a[K+(i*20|0)>>0]=114;b[K+(i*20|0)+2>>1]=0;c[K+(i*20|0)+4>>2]=M;c[K+(i*20|0)+8>>2]=h;c[K+(i*20|0)+12>>2]=0;c[K+(i*20|0)+16>>2]=0;a[K+(i*20|0)+1>>0]=0;i=L}else{zi(O,114,M,h,0)|0;i=c[t>>2]|0}if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){L=i+1|0;c[t>>2]=L;K=c[O+88>>2]|0;a[K+(i*20|0)>>0]=99;b[K+(i*20|0)+2>>1]=0;c[K+(i*20|0)+4>>2]=y;c[K+(i*20|0)+8>>2]=l;c[K+(i*20|0)+12>>2]=w;c[K+(i*20|0)+16>>2]=0;a[K+(i*20|0)+1>>0]=0;i=L}else{zi(O,99,y,l,w)|0;i=c[t>>2]|0}if((c[(c[s>>2]|0)+48>>2]|0)>(i|0)){c[t>>2]=i+1;L=c[O+88>>2]|0;a[L+(i*20|0)>>0]=127;b[L+(i*20|0)+2>>1]=0;c[L+(i*20|0)+4>>2]=M;c[L+(i*20|0)+8>>2]=w;c[L+(i*20|0)+12>>2]=y;c[L+(i*20|0)+16>>2]=0;a[L+(i*20|0)+1>>0]=0}else i=zi(O,127,M,w,y)|0;o=(a[(c[O>>2]|0)+73>>0]|0)==0;if(o){M=c[O+88>>2]|0;a[M+(i*20|0)+1>>0]=-3;c[M+(i*20|0)+16>>2]=l}if(u|0){n=c[t>>2]|0;if(o)i=(c[O+88>>2]|0)+(((u|0)<0?n+-1|0:u)*20|0)|0;else i=46708;c[i+8>>2]=n}k:do if(w|0){p=a[k>>0]|0;if((p&255)>=8)break;i=a[f+25>>0]|0;l:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(w|0))break;i=i+1|0;if((i|0)>=(o|0))break l;else n=n+20|0}a[n+6>>0]=1;break k}while(0);a[k>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=w}while(0);if(x){if(!y){z=302;break c}p=a[k>>0]|0;if((p&255)>=8){z=302;break c}i=a[f+25>>0]|0;m:do if(i<<24>>24){o=i&255;i=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(y|0))break;i=i+1|0;if((i|0)>=(o|0))break m;else n=n+20|0}a[n+6>>0]=1;z=302;break c}while(0);a[k>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=y;z=302;break c}t=f+25|0;i=a[t>>0]|0;n:do if(i<<24>>24){h=y+l|0;s=0;do{p=f+148+(s*20|0)+12|0;q=f+148+(s*20|0)|0;r=f+148+(s*20|0)+6|0;while(1){n=c[p>>2]|0;if(!((n|0)>=(y|0)&(n|0)<(h|0)))break;do if(a[r>>0]|0){o=a[k>>0]|0;if((o&255)>=8)break;a[k>>0]=o+1<<24>>24;c[f+348+((o&255)<<2)>>2]=n}while(0);i=i+-1<<24>>24;a[t>>0]=i;n=i&255;if((n|0)>(s|0)){i=f+148+(n*20|0)|0;c[q>>2]=c[i>>2];c[q+4>>2]=c[i+4>>2];c[q+8>>2]=c[i+8>>2];c[q+12>>2]=c[i+12>>2];c[q+16>>2]=c[i+16>>2];i=a[t>>0]|0}if((s|0)>=(i&255|0))break n}s=s+1|0}while((s|0)<(i&255|0))}while(0);i=f+28|0;if((c[i>>2]|0)>=(l|0)){z=302;break c}c[i>>2]=l;c[f+32>>2]=y;z=302;break}default:z=302}while(0);if((z|0)==302?N|0:0)return;i=c[g+12>>2]|0;if(!i)return;n=O+136|0;o=c[n>>2]|0;if((c[(c[O+12>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;O=c[O+88>>2]|0;a[O+(o*20|0)>>0]=59;b[O+(o*20|0)+2>>1]=0;c[O+(o*20|0)+4>>2]=i;c[O+(o*20|0)+8>>2]=m;c[O+(o*20|0)+12>>2]=0;c[O+(o*20|0)+16>>2]=0;a[O+(o*20|0)+1>>0]=0;return}else{zi(O,59,i,m,0)|0;return}}function fn(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=c[b+48>>2]|0;if(e|0?(f=fn(a,e,d)|0,f|0):0){d=f;return d|0}b=c[b>>2]|0;if((c[b>>2]|0)<=(d|0)){d=0;return d|0}d=Qj(a,c[b+4+(d*20|0)>>2]|0)|0;return d|0}function gn(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!a)return;do{d=c[a+32>>2]|0;if(d|0?(p=c[d+24>>2]|0,(p|0)>(c[b>>2]|0)):0)c[b>>2]=p;d=c[a+40>>2]|0;if(d|0?(h=c[d+24>>2]|0,(h|0)>(c[b>>2]|0)):0)c[b>>2]=h;d=c[a+56>>2]|0;if(d|0?(i=c[d+24>>2]|0,(i|0)>(c[b>>2]|0)):0)c[b>>2]=i;g=c[a>>2]|0;if(g|0?(j=c[g>>2]|0,(j|0)>0):0){f=0;d=j;do{e=c[g+4+(f*20|0)>>2]|0;if((e|0)!=0?(k=c[e+24>>2]|0,(k|0)>(c[b>>2]|0)):0){c[b>>2]=k;d=c[g>>2]|0}f=f+1|0}while((f|0)<(d|0))}g=c[a+36>>2]|0;if(g|0?(l=c[g>>2]|0,(l|0)>0):0){f=0;d=l;do{e=c[g+4+(f*20|0)>>2]|0;if((e|0)!=0?(m=c[e+24>>2]|0,(m|0)>(c[b>>2]|0)):0){c[b>>2]=m;d=c[g>>2]|0}f=f+1|0}while((f|0)<(d|0))}g=c[a+44>>2]|0;if(g|0?(n=c[g>>2]|0,(n|0)>0):0){f=0;d=n;do{e=c[g+4+(f*20|0)>>2]|0;if((e|0)!=0?(o=c[e+24>>2]|0,(o|0)>(c[b>>2]|0)):0){c[b>>2]=o;d=c[g>>2]|0}f=f+1|0}while((f|0)<(d|0))}a=c[a+48>>2]|0}while((a|0)!=0);return}function hn(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+32|0;m=n;if(!e){m=0;l=n;return m|0}if(c[d+8>>2]&8192|0){m=0;l=n;return m|0}if(c[d+56>>2]|0){m=0;l=n;return m|0}if((a[e>>0]|0)==44){g=0;do{g=(hn(b,d,c[e+16>>2]|0,f)|0)+g|0;e=c[e+12>>2]|0}while((a[e>>0]|0)==44)}else g=0;if(c[e+4>>2]&1|0){m=0;l=n;return m|0}k=m+20|0;a[k>>0]=3;c[m+4>>2]=186;c[m+8>>2]=187;c[m+24>>2]=f;$j(m,e)|0;if(!(a[k>>0]|0)){m=g;l=n;return m|0}g=g+1|0;if(!d){m=g;l=n;return m|0}h=m+4|0;i=m+8|0;j=m+12|0;k=m+16|0;do{p=sj(c[b>>2]|0,e,0,0)|0;c[m>>2]=b;c[h>>2]=f;c[i>>2]=f;c[j>>2]=0;c[k>>2]=c[d>>2];p=sn(m,p)|0;o=(c[d+8>>2]&8|0)==0?d+32|0:d+40|0;c[o>>2]=mk(c[b>>2]|0,c[o>>2]|0,p)|0;d=c[d+48>>2]|0}while((d|0)!=0);l=n;return g|0}function jn(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;g=c[e+24>>2]|0;q=c[g>>2]|0;i=c[g+4>>2]|0;r=c[g+12>>2]|0;switch(a[f>>0]|0){case -111:case -109:{if(!i){r=1;return r|0}h=c[i>>2]|0;if((h|0)<=0){r=1;return r|0}m=f+28|0;k=c[m>>2]|0;g=0;e=i+8|0;while(1){if((k|0)==(c[e+44>>2]|0))break;g=g+1|0;if((g|0)>=(h|0)){e=1;n=46;break}else e=e+72|0}if((n|0)==46)return e|0;j=r+28|0;l=r+32|0;o=c[l>>2]|0;a:do if((o|0)>0){g=c[j>>2]|0;i=f+32|0;h=g;e=0;while(1){if((c[h+4>>2]|0)==(k|0)?(c[h+8>>2]|0)==(b[i>>1]|0):0)break a;e=e+1|0;if((e|0)>=(o|0))break;else h=h+24|0}h=j;n=13}else{h=j;g=c[j>>2]|0;n=13}while(0);b:do if((n|0)==13){if(!(o+-1&o)){n=(o|0)==0;e=o*48|0;e=Mc(c[q>>2]|0,g,n?24:e,n?0:((e|0)<0)<<31>>31)|0;if(!e){c[h>>2]=g;e=-1;break}}else e=g;j=e+(o*24|0)|0;k=j+24|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0));c[l>>2]=(c[l>>2]|0)+1;c[h>>2]=e;if((o|0)>-1){c[e+(o*24|0)>>2]=c[f+44>>2];i=c[m>>2]|0;c[e+(o*24|0)+4>>2]=i;j=b[f+32>>1]|0;c[e+(o*24|0)+8>>2]=j<<16>>16;q=q+44|0;h=(c[q>>2]|0)+1|0;c[q>>2]=h;c[e+(o*24|0)+16>>2]=h;h=e+(o*24|0)+12|0;c[h>>2]=-1;c[e+(o*24|0)+20>>2]=f;e=c[r+24>>2]|0;c:do if(e|0?(p=c[e>>2]|0,(p|0)>0):0){g=e+4|0;e=0;while(1){q=c[g>>2]|0;if(((a[q>>0]|0)==-111?(c[q+28>>2]|0)==(i|0):0)?(b[q+32>>1]|0)==j<<16>>16:0)break;e=e+1|0;if((e|0)<(p|0))g=g+20|0;else break c}c[h>>2]=e;if((e|0)>=0){e=o;break b}}while(0);q=r+12|0;e=c[q>>2]|0;c[q>>2]=e+1;c[h>>2]=e;e=o}else e=o}while(0);c[f+40>>2]=r;a[f>>0]=-109;b[f+34>>1]=e;r=1;return r|0}case -110:{if(b[g+28>>1]&8){r=0;return r|0}if((c[e+16>>2]|0)!=(d[f+38>>0]|0)){r=0;return r|0}l=r+40|0;m=r+44|0;g=c[m>>2]|0;d:do if((g|0)>0){h=c[l>>2]|0;e=0;while(1){if(!(ck(0,c[h>>2]|0,f,-1)|0))break;e=e+1|0;g=c[m>>2]|0;if((e|0)<(g|0))h=h+16|0;else break d}g=c[m>>2]|0}else e=0;while(0);do if((e|0)>=(g|0)){e=c[q>>2]|0;i=a[e+70>>0]|0;h=c[l>>2]|0;if(!(g+-1&g)){o=(g|0)==0;p=g<<5;e=Mc(e,h,o?16:p,o?0:((p|0)<0)<<31>>31)|0;if(!e){c[l>>2]=h;e=-1;break}else h=e}j=h+(g<<4)|0;k=j+16|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0));c[m>>2]=(c[m>>2]|0)+1;c[l>>2]=h;if((g|0)>-1){c[h+(g<<4)>>2]=f;p=q+44|0;e=(c[p>>2]|0)+1|0;c[p>>2]=e;c[h+(g<<4)+8>>2]=e;e=c[f+20>>2]|0;if(!e)e=0;else e=c[e>>2]|0;c[h+(g<<4)+4>>2]=kk(c[q>>2]|0,c[f+8>>2]|0,e,i,0)|0;if(!(c[f+4>>2]&16))e=-1;else{q=q+40|0;e=c[q>>2]|0;c[q>>2]=e+1}c[h+(g<<4)+12>>2]=e;e=g}else e=g}while(0);b[f+34>>1]=e;c[f+40>>2]=r;r=1;return r|0}default:{r=0;return r|0}}return 0}function kn(a,b){a=a|0;b=b|0;b=a+16|0;c[b>>2]=(c[b>>2]|0)+1;return 0}function ln(a,b){a=a|0;b=b|0;b=a+16|0;c[b>>2]=(c[b>>2]|0)+-1;return}function mn(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+48|0;j=m;if((a[d>>0]|0)==44){k=0;l=m;return k|0}k=c[b+24>>2]|0;h=c[b>>2]|0;g=c[k+4>>2]|0;i=j+20|0;a[i>>0]=1;c[j+4>>2]=204;c[j+8>>2]=0;c[j+24>>2]=g;c[j>>2]=h;$j(j,d)|0;if(!(a[i>>0]|0)){k=1;l=m;return k|0}b=c[c[b>>2]>>2]|0;e=Yi(b,134,4928,0)|0;if(!e){k=1;l=m;return k|0}f=c[c[k>>2]>>2]|0;g=j;h=e;i=g+48|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));g=e;h=d;i=g+48|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));g=d;h=j;i=g+48|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(i|0));j=mk(b,f,e)|0;c[c[k>>2]>>2]=j;k=1;l=m;return k|0}function nn(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;f=i;if((a[d+399>>0]|0)!=2){l=i;return}h=c[d+8>>2]|0;g=c[d>>2]|0;c[f>>2]=e;g=Ff(g,34018,f)|0;f=c[d+412>>2]|0;d=h+136|0;e=c[d>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(e|0)){c[d>>2]=e+1;j=c[h+88>>2]|0;a[j+(e*20|0)>>0]=-89;b[j+(e*20|0)+2>>1]=0;c[j+(e*20|0)+4>>2]=f;c[j+(e*20|0)+8>>2]=0;c[j+(e*20|0)+12>>2]=0;c[j+(e*20|0)+16>>2]=0;a[j+(e*20|0)+1>>0]=0}else e=zi(h,167,f,0,0)|0;f=c[h>>2]|0;if(!(a[f+73>>0]|0)){if((e|0)<0)e=(c[d>>2]|0)+-1|0;f=c[h+88>>2]|0;d=f+(e*20|0)+1|0;if(a[d>>0]|0){Ai(h,f+(e*20|0)|0,g,-7);l=i;return}if(!g){l=i;return}c[f+(e*20|0)+16>>2]=g;a[d>>0]=-7;l=i;return}if(!g){l=i;return}if(f|0){if(c[f+464>>2]|0){Lc(f,g);l=i;return}j=g;if(j>>>0>=(c[f+296>>2]|0)>>>0?j>>>0<(c[f+300>>2]|0)>>>0:0){j=f+292|0;c[g>>2]=c[j>>2];c[j>>2]=g;l=i;return}}if(!(c[2]|0)){pb[c[56>>2]&255](g);l=i;return}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);l=i;return}}function on(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=c[d+8>>2]|0;a[e>>0]=1;F=e+44|0;do if((c[F>>2]|0)>0){s=K+12|0;G=K+136|0;t=K+88|0;u=d+25|0;v=d+19|0;w=d+148|0;x=d+28|0;y=d+32|0;z=e+36|0;A=d+44|0;q=c[e+40>>2]|0;n=0;r=0;while(1){m=c[(c[q>>2]|0)+20>>2]|0;if(!m){f=0;p=0}else{h=c[m>>2]|0;do if((h|0)==1){f=a[v>>0]|0;if(!(f<<24>>24)){f=(c[A>>2]|0)+1|0;c[A>>2]=f;break}else{f=f+-1<<24>>24;a[v>>0]=f;f=c[d+348+((f&255)<<2)>>2]|0;break}}else{f=c[y>>2]|0;g=c[x>>2]|0;if((g|0)<(h|0)){f=c[A>>2]|0;c[A>>2]=f+h;f=f+1|0;break}else{c[y>>2]=f+h;c[x>>2]=g-h;break}}while(0);Vk(d,m,f,0,1)|0;p=h}k=q+12|0;if((c[k>>2]|0)>-1){g=c[s>>2]|0;j=g+68|0;l=c[j>>2]|0;c[j>>2]=l+1;j=g+72|0;if(!(l+-1&l)){h=c[g>>2]|0;i=c[j>>2]|0;g=Mc(h,i,l<<3|4,0)|0;do if(!((i|0)==0|(g|0)!=0)){if(h|0){if(c[h+464>>2]|0){Lc(h,i);break}o=i;if(o>>>0>=(c[h+296>>2]|0)>>>0?o>>>0<(c[h+300>>2]|0)>>>0:0){o=h+292|0;c[i>>2]=c[o>>2];c[o>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{o=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[j>>2]=g}else g=c[j>>2]|0;if(g|0)c[g+(l<<2)>>2]=-1;o=~l;qn(d,c[k>>2]|0,o,1,f)}else o=0;l=q+4|0;do if(b[(c[l>>2]|0)+2>>1]&32){if((p|0)>0){j=0;g=m+4|0;while(1){h=Qj(d,c[g>>2]|0)|0;j=j+1|0;i=(h|0)!=0;if(!((j|0)<(p|0)&(i^1)))break;else g=g+20|0}if(i)k=h;else H=34}else H=34;if((H|0)==34){H=0;k=c[(c[d>>2]|0)+8>>2]|0}if(!n)if(!(c[z>>2]|0))j=0;else{j=(c[A>>2]|0)+1|0;c[A>>2]=j}else j=n;g=c[G>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(g|0)){c[G>>2]=g+1;n=c[t>>2]|0;a[n+(g*20|0)>>0]=79;b[n+(g*20|0)+2>>1]=0;c[n+(g*20|0)+4>>2]=j;c[n+(g*20|0)+8>>2]=0;c[n+(g*20|0)+12>>2]=0;c[n+(g*20|0)+16>>2]=0;a[n+(g*20|0)+1>>0]=0}else g=zi(K,79,j,0,0)|0;if(!(a[(c[K>>2]|0)+73>>0]|0)){if((g|0)<0)g=(c[G>>2]|0)+-1|0;h=c[t>>2]|0;i=h+(g*20|0)+1|0;if(a[i>>0]|0){Ai(K,h+(g*20|0)|0,k,-2);n=j;break}if(k){c[h+(g*20|0)+16>>2]=k;a[i>>0]=-2;n=j}else n=j}else n=j}while(0);g=c[q+8>>2]|0;h=c[G>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(h|0)){c[G>>2]=h+1;m=c[t>>2]|0;a[m+(h*20|0)>>0]=-108;b[m+(h*20|0)+2>>1]=0;c[m+(h*20|0)+4>>2]=0;c[m+(h*20|0)+8>>2]=f;c[m+(h*20|0)+12>>2]=g;c[m+(h*20|0)+16>>2]=0;a[m+(h*20|0)+1>>0]=0}else zi(K,148,0,f,g)|0;g=c[l>>2]|0;h=c[K>>2]|0;do if(a[h+73>>0]|0){if(b[g+2>>1]&16){if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}m=g;if(m>>>0>=(c[h+296>>2]|0)>>>0?m>>>0<(c[h+300>>2]|0)>>>0:0){m=h+292|0;c[g>>2]=c[m>>2];c[m>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{m=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}else{l=c[t>>2]|0;m=(c[G>>2]|0)+-1|0;a[l+(m*20|0)+1>>0]=-8;c[l+(m*20|0)+16>>2]=g}while(0);g=c[G>>2]|0;if((g|0)>0)b[(c[t>>2]|0)+((g+-1|0)*20|0)+2>>1]=p&255;g=a[u>>0]|0;a:do if(!(g<<24>>24))g=0;else{m=f+p|0;l=0;do{i=d+148+(l*20|0)+12|0;j=d+148+(l*20|0)|0;k=d+148+(l*20|0)+6|0;while(1){h=c[i>>2]|0;if(!((h|0)>=(f|0)&(h|0)<(m|0)))break;if(a[k>>0]|0?(B=a[v>>0]|0,(B&255)<8):0){a[v>>0]=B+1<<24>>24;c[d+348+((B&255)<<2)>>2]=h}g=g+-1<<24>>24;a[u>>0]=g;h=g&255;if((h|0)>(l|0)){g=d+148+(h*20|0)|0;c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[j+16>>2]=c[g+16>>2];g=a[u>>0]|0}if((l|0)>=(g&255|0))break a}l=l+1|0}while((l|0)<(g&255|0))}while(0);b:do if((p|0)==1){if((f|0)!=0?(C=a[v>>0]|0,(C&255)<8):0){c:do if(g<<24>>24){j=g&255;h=0;i=w;while(1){if((c[i+12>>2]|0)==(f|0))break;h=h+1|0;if((h|0)>=(j|0))break c;else i=i+20|0}a[i+6>>0]=1;break b}while(0);a[v>>0]=C+1<<24>>24;c[d+348+((C&255)<<2)>>2]=f}}else{d:do if(!(g<<24>>24))g=0;else{m=f+p|0;l=0;do{i=d+148+(l*20|0)+12|0;j=d+148+(l*20|0)|0;k=d+148+(l*20|0)+6|0;while(1){h=c[i>>2]|0;if(!((h|0)>=(f|0)&(h|0)<(m|0)))break;if(a[k>>0]|0?(D=a[v>>0]|0,(D&255)<8):0){a[v>>0]=D+1<<24>>24;c[d+348+((D&255)<<2)>>2]=h}g=g+-1<<24>>24;a[u>>0]=g;h=g&255;if((h|0)>(l|0)){g=d+148+(h*20|0)|0;c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[j+16>>2]=c[g+16>>2];g=a[u>>0]|0}if((l|0)>=(g&255|0))break d}l=l+1|0}while((l|0)<(g&255|0))}while(0);if((c[x>>2]|0)<(p|0)){c[x>>2]=p;c[y>>2]=f}}while(0);if(o|0){f=c[(c[s>>2]|0)+72>>2]|0;if(f|0)c[f+(~o<<2)>>2]=c[G>>2];if(g<<24>>24){g=g&255;f=0;do{if(a[d+148+(f*20|0)+6>>0]|0?(E=a[v>>0]|0,(E&255)<8):0){p=c[d+148+(f*20|0)+12>>2]|0;a[v>>0]=E+1<<24>>24;c[d+348+((E&255)<<2)>>2]=p}f=f+1|0}while((f|0)!=(g|0))}a[u>>0]=0}r=r+1|0;if((r|0)>=(c[F>>2]|0))break;else q=q+16|0}if(n){f=K+136|0;g=c[f>>2]|0;if((c[(c[K+12>>2]|0)+48>>2]|0)>(g|0)){c[f>>2]=g+1;j=c[K+88>>2]|0;a[j+(g*20|0)>>0]=21;b[j+(g*20|0)+2>>1]=0;c[j+(g*20|0)+4>>2]=n;c[j+(g*20|0)+8>>2]=0;c[j+(g*20|0)+12>>2]=0;c[j+(g*20|0)+16>>2]=0;a[j+(g*20|0)+1>>0]=0;j=g;break}else{j=zi(K,21,n,0,0)|0;break}}else j=0}else j=0;while(0);i=d+25|0;f=a[i>>0]|0;if(f<<24>>24){h=d+19|0;g=f&255;f=0;do{if(a[d+148+(f*20|0)+6>>0]|0?(I=a[h>>0]|0,(I&255)<8):0){H=c[d+148+(f*20|0)+12>>2]|0;a[h>>0]=I+1<<24>>24;c[d+348+((I&255)<<2)>>2]=H}f=f+1|0}while((f|0)!=(g|0))}a[i>>0]=0;h=e+36|0;if((c[h>>2]|0)>0){f=c[e+28>>2]|0;g=0;while(1){Di(d,c[f+20>>2]|0,c[f+16>>2]|0);g=g+1|0;if((g|0)>=(c[h>>2]|0))break;else f=f+24|0}f=a[i>>0]|0;a[e>>0]=0;if(f<<24>>24){h=d+19|0;g=f&255;f=0;do{if(a[d+148+(f*20|0)+6>>0]|0?(J=a[h>>0]|0,(J&255)<8):0){e=c[d+148+(f*20|0)+12>>2]|0;a[h>>0]=J+1<<24>>24;c[d+348+((J&255)<<2)>>2]=e}f=f+1|0}while((f|0)!=(g|0))}}else a[e>>0]=0;a[i>>0]=0;if(!j)return;g=c[K+136>>2]|0;if(!(a[(c[K>>2]|0)+73>>0]|0))f=(c[K+88>>2]|0)+(((j|0)<0?g+-1|0:j)*20|0)|0;else f=46708;c[f+8>>2]=g;return}function pn(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;r=s;p=c[d+8>>2]|0;q=e+44|0;f=c[q>>2]|0;if((f|0)==(0-(c[e+32>>2]|0)|0)){l=s;return}g=c[e+16>>2]|0;h=c[e+20>>2]|0;n=p+136|0;i=c[n>>2]|0;o=p+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(i|0)){c[n>>2]=i+1;m=c[p+88>>2]|0;a[m+(i*20|0)>>0]=70;b[m+(i*20|0)+2>>1]=0;c[m+(i*20|0)+4>>2]=0;c[m+(i*20|0)+8>>2]=g;c[m+(i*20|0)+12>>2]=h;c[m+(i*20|0)+16>>2]=0;a[m+(i*20|0)+1>>0]=0}else{zi(p,70,0,g,h)|0;f=c[q>>2]|0}if((f|0)<=0){l=s;return}m=p+88|0;e=c[e+40>>2]|0;j=0;while(1){g=e+12|0;do if((c[g>>2]|0)>-1){h=c[(c[e>>2]|0)+20>>2]|0;if(h|0?(c[h>>2]|0)==1:0){k=wk(c[d>>2]|0,1,1)|0;i=(k|0)==0;if(!i){f=Qj(d,c[h+4>>2]|0)|0;if(!f)f=c[(c[d>>2]|0)+8>>2]|0;c[k+20>>2]=f;a[c[k+16>>2]>>0]=a[h+16>>0]|0}g=c[g>>2]|0;f=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(f|0)){c[n>>2]=f+1;h=c[m>>2]|0;a[h+(f*20|0)>>0]=108;b[h+(f*20|0)+2>>1]=0;c[h+(f*20|0)+4>>2]=g;c[h+(f*20|0)+8>>2]=0;c[h+(f*20|0)+12>>2]=0;c[h+(f*20|0)+16>>2]=0;a[h+(f*20|0)+1>>0]=0}else f=zi(p,108,g,0,0)|0;g=c[p>>2]|0;if(!(a[g+73>>0]|0)){if((f|0)<0)f=(c[n>>2]|0)+-1|0;g=c[m>>2]|0;h=g+(f*20|0)+1|0;if(a[h>>0]|0){Ai(p,g+(f*20|0)|0,k,-9);break}if(i)break;c[g+(f*20|0)+16>>2]=k;a[h>>0]=-9;break}if(i|(c[g+464>>2]|0)!=0)break;i=(c[k>>2]|0)+-1|0;c[k>>2]=i;if(i|0)break;f=c[k+12>>2]|0;if(f|0){if(c[f+464>>2]|0){Lc(f,k);break}i=k;if(i>>>0>=(c[f+296>>2]|0)>>>0?i>>>0<(c[f+300>>2]|0)>>>0:0){i=f+292|0;c[k>>2]=c[i>>2];c[i>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{i=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}hg(d,33967,r);c[g>>2]=-1}while(0);j=j+1|0;if((j|0)>=(c[q>>2]|0))break;else e=e+16|0}l=s;return}function qn(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;l=c[d+8>>2]|0;n=d+19|0;i=a[n>>0]|0;if(!(i<<24>>24)){k=d+44|0;m=(c[k>>2]|0)+1|0;c[k>>2]=m}else{m=i+-1<<24>>24;a[n>>0]=m;m=c[d+348+((m&255)<<2)>>2]|0}k=l+136|0;i=c[k>>2]|0;j=l+12|0;if((c[(c[j>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;o=c[l+88>>2]|0;a[o+(i*20|0)>>0]=30;b[o+(i*20|0)+2>>1]=0;c[o+(i*20|0)+4>>2]=e;c[o+(i*20|0)+8>>2]=f;c[o+(i*20|0)+12>>2]=h;c[o+(i*20|0)+16>>2]=0;a[o+(i*20|0)+1>>0]=0}else i=zi(l,30,e,f,h)|0;if(!(a[(c[l>>2]|0)+73>>0]|0)){o=c[l+88>>2]|0;a[o+(i*20|0)+1>>0]=-3;c[o+(i*20|0)+16>>2]=g}i=c[k>>2]|0;if((c[(c[j>>2]|0)+48>>2]|0)>(i|0)){o=i+1|0;c[k>>2]=o;f=c[l+88>>2]|0;a[f+(i*20|0)>>0]=99;b[f+(i*20|0)+2>>1]=0;c[f+(i*20|0)+4>>2]=h;c[f+(i*20|0)+8>>2]=g;c[f+(i*20|0)+12>>2]=m;c[f+(i*20|0)+16>>2]=0;a[f+(i*20|0)+1>>0]=0;i=o}else{zi(l,99,h,g,m)|0;i=c[k>>2]|0}if((c[(c[j>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;o=c[l+88>>2]|0;a[o+(i*20|0)>>0]=127;b[o+(i*20|0)+2>>1]=0;c[o+(i*20|0)+4>>2]=e;c[o+(i*20|0)+8>>2]=m;c[o+(i*20|0)+12>>2]=h;c[o+(i*20|0)+16>>2]=0;a[o+(i*20|0)+1>>0]=0}else i=zi(l,127,e,m,h)|0;if(!(a[(c[l>>2]|0)+73>>0]|0)){o=c[l+88>>2]|0;a[o+(i*20|0)+1>>0]=-3;c[o+(i*20|0)+16>>2]=g}i=c[k>>2]|0;if((i|0)>0)b[(c[l+88>>2]|0)+((i+-1|0)*20|0)+2>>1]=16;if(!m)return;e=a[n>>0]|0;if((e&255)>=8)return;i=a[d+25>>0]|0;a:do if(i<<24>>24){j=i&255;i=0;f=d+148|0;while(1){if((c[f+12>>2]|0)==(m|0))break;i=i+1|0;if((i|0)>=(j|0))break a;else f=f+20|0}a[f+6>>0]=1;return}while(0);a[n>>0]=e+1<<24>>24;c[d+348+((e&255)<<2)>>2]=m;return}function rn(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=b+24|0;j=c[k>>2]|0;a:do if((c[j>>2]|0)>0){i=0;b:while(1){f=c[j+4+(i*20|0)>>2]|0;c:do if((ck(0,e,f,-1)|0)<2){g=c[b>>2]|0;f=Qj(g,f)|0;if(!f)f=c[(c[g>>2]|0)+8>>2]|0;f=c[f>>2]|0;if(f|0){switch(a[f>>0]|0){case 66:case 98:{g=22091;break}default:break c}do{g=g+1|0;f=f+1|0;l=a[g>>0]|0;h=(d[17324+(l&255)>>0]|0)-(d[17324+(d[f>>0]|0)>>0]|0)|0}while(!(l<<24>>24==0|(h|0)!=0));if(!h){f=1;break b}}}while(0);i=i+1|0;if((i|0)>=(c[j>>2]|0))break a}return f|0}while(0);h=c[e+4>>2]|0;f=b+20|0;if(h&2048|0){a[f>>0]=0;l=2;return l|0}g=a[f>>0]|0;if(!((h&1|0)==0|g<<24>>24!=2)){a[f>>0]=0;l=2;return l|0}switch(a[e>>0]|0){case -112:{if(!((g&255)<4&(h&524288|0)==0)){l=0;return l|0}a[f>>0]=0;l=2;return l|0}case -109:case -110:case -111:case 59:{if(g<<24>>24==3?(c[e+28>>2]|0)==(c[k>>2]|0):0){l=0;return l|0}break}case -103:break;case -121:switch(g<<24>>24){case 5:{a[e>>0]=101;l=0;return l|0}case 4:{a[f>>0]=0;l=2;return l|0}default:{l=0;return l|0}}default:{l=0;return l|0}}a[f>>0]=0;l=2;return l|0}function sn(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+64|0;j=p+8|0;i=p;f=p+16|0;if(!e){o=0;l=p;return o|0}o=e+4|0;if(c[o>>2]&1|0?(g=e+36|0,(b[g>>1]|0)==(c[d+4>>2]|0)):0)b[g>>1]=c[d+8>>2];switch(a[e>>0]|0){case -111:{if((c[e+28>>2]|0)==(c[d+4>>2]|0)){g=b[e+32>>1]|0;if(g<<16>>16<0){a[e>>0]=101;o=e;l=p;return o|0}m=c[(c[d+16>>2]|0)+4+((g<<16>>16)*20|0)>>2]|0;k=a[m>>0]|0;if(k<<24>>24==-106)g=a[m+38>>0]|0;else g=k;switch(g<<24>>24){case -105:{h=m+20|0;n=15;break}case 119:{h=c[m+20>>2]|0;n=15;break}default:{g=c[d>>2]|0;n=19}}do if((n|0)==15){g=c[d>>2]|0;if((c[c[h>>2]>>2]|0)>1)if(!(c[m+4>>2]&2048)){hg(g,28127,j);break}else{c[i>>2]=c[c[c[m+20>>2]>>2]>>2];c[i+4>>2]=1;hg(g,29348,i);break}else n=19}while(0);if((n|0)==19){j=c[g>>2]|0;i=d+12|0;if(!(c[i>>2]|0))if(!m)f=0;else{f=m;n=23}else if(k<<24>>24==-111){f=m;n=23}else{g=f;h=g+48|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));a[f>>0]=-103;c[f+12>>2]=m;c[f+28>>2]=c[d+8>>2];n=23}if((n|0)==23){f=sj(j,f,0,0)|0;if(f){if(c[i>>2]|0){d=f+4|0;c[d>>2]=c[d>>2]|1048576}if(c[o>>2]&1){b[f+36>>1]=b[e+36>>1]|0;o=f+4|0;c[o>>2]=c[o>>2]|1}}else f=0}Qf(j,e);e=f}o=e;l=p;return o|0}break}case -103:{f=e+28|0;if((c[f>>2]|0)==(c[d+4>>2]|0))c[f>>2]=c[d+8>>2];break}default:{}}f=e+12|0;c[f>>2]=sn(d,c[f>>2]|0)|0;f=e+16|0;c[f>>2]=sn(d,c[f>>2]|0)|0;f=e+20|0;if(c[o>>2]&2048|0){an(d,c[f>>2]|0,1);o=e;l=p;return o|0}g=c[f>>2]|0;if(!g){o=e;l=p;return o|0}if((c[g>>2]|0)>0)f=0;else{o=e;l=p;return o|0}do{o=g+4+(f*20|0)|0;c[o>>2]=sn(d,c[o>>2]|0)|0;f=f+1|0}while((f|0)<(c[g>>2]|0));l=p;return e|0}function tn(d,f,g,h,i,j,k){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;A=d+8|0;I=c[A>>2]|0;C=f+28|0;p=a[C>>0]&1;s=p<<24>>24==0;p=(p^1)&255;H=c[c[f>>2]>>2]|0;t=H+j+p|0;E=d+44|0;l=c[E>>2]|0;D=l+1|0;c[E>>2]=D;y=f+4|0;u=c[y>>2]|0;o=(k|0)==0;if(o){c[E>>2]=t+D;G=l+2|0}else G=h-H-p|0;k=c[g+16>>2]|0;if(!k)B=c[g+12>>2]|0;else B=k+1|0;F=I+12|0;k=c[F>>2]|0;m=k+68|0;n=c[m>>2]|0;c[m>>2]=n+1;m=k+72|0;if(!(n+-1&n)){l=c[k>>2]|0;g=c[m>>2]|0;k=Mc(l,g,n<<3|4,0)|0;do if(!((g|0)==0|(k|0)!=0)){if(l|0){if(c[l+464>>2]|0){Lc(l,g);break}z=g;if(z>>>0>=(c[l+296>>2]|0)>>>0?z>>>0<(c[l+300>>2]|0)>>>0:0){z=l+292|0;c[g>>2]=c[z>>2];c[z>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{z=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[m>>2]=k}else k=c[m>>2]|0;if(k|0)c[k+(n<<2)>>2]=-1;w=f+24|0;c[w>>2]=~n;Vk(d,c[f>>2]|0,G,i,i|0?5:1)|0;do if(s){k=c[f+8>>2]|0;l=G+H|0;g=I+136|0;m=c[g>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){c[g>>2]=m+1;z=c[I+88>>2]|0;a[z+(m*20|0)>>0]=114;b[z+(m*20|0)+2>>1]=0;c[z+(m*20|0)+4>>2]=k;c[z+(m*20|0)+8>>2]=l;c[z+(m*20|0)+12>>2]=0;c[z+(m*20|0)+16>>2]=0;a[z+(m*20|0)+1>>0]=0;break}else{zi(I,114,k,l,0)|0;break}}while(0);a:do if((j|0)>0&o){k=p+H+G|0;l=c[A>>2]|0;g=l+136|0;m=c[g>>2]|0;if((c[(c[l+12>>2]|0)+48>>2]|0)>(m|0)){c[g>>2]=m+1;z=c[l+88>>2]|0;a[z+(m*20|0)>>0]=74;b[z+(m*20|0)+2>>1]=0;c[z+(m*20|0)+4>>2]=h;c[z+(m*20|0)+8>>2]=k;c[z+(m*20|0)+12>>2]=j;c[z+(m*20|0)+16>>2]=0;a[z+(m*20|0)+1>>0]=0}else zi(l,74,h,k,j)|0;q=d+25|0;k=a[q>>0]|0;if(k<<24>>24){o=j+h|0;p=d+19|0;i=0;do{g=d+148+(i*20|0)+12|0;m=d+148+(i*20|0)|0;n=d+148+(i*20|0)+6|0;while(1){l=c[g>>2]|0;if(!((l|0)>=(h|0)&(l|0)<(o|0)))break;if(a[n>>0]|0?(r=a[p>>0]|0,(r&255)<8):0){a[p>>0]=r+1<<24>>24;c[d+348+((r&255)<<2)>>2]=l}k=k+-1<<24>>24;a[q>>0]=k;l=k&255;if((l|0)>(i|0)){k=d+148+(l*20|0)|0;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[m+12>>2]=c[k+12>>2];c[m+16>>2]=c[k+16>>2];k=a[q>>0]|0}if((i|0)>=(k&255|0))break a}i=i+1|0}while((i|0)<(k&255|0))}}while(0);v=G+u|0;x=t-u|0;z=I+136|0;k=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(k|0)){c[z>>2]=k+1;h=c[I+88>>2]|0;a[h+(k*20|0)>>0]=99;b[h+(k*20|0)+2>>1]=0;c[h+(k*20|0)+4>>2]=v;c[h+(k*20|0)+8>>2]=x;c[h+(k*20|0)+12>>2]=D;c[h+(k*20|0)+16>>2]=0;a[h+(k*20|0)+1>>0]=0}else zi(I,99,v,x,D)|0;if((u|0)>0){h=c[E>>2]|0;q=h+1|0;g=c[y>>2]|0;c[E>>2]=g+h;do if(s){k=G+H|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;p=c[I+88>>2]|0;a[p+(l*20|0)>>0]=22;b[p+(l*20|0)+2>>1]=0;c[p+(l*20|0)+4>>2]=k;c[p+(l*20|0)+8>>2]=0;c[p+(l*20|0)+12>>2]=0;c[p+(l*20|0)+16>>2]=0;a[p+(l*20|0)+1>>0]=0;p=l;break}else{p=zi(I,22,k,0,0)|0;break}}else{k=c[f+8>>2]|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;p=c[I+88>>2]|0;a[p+(l*20|0)>>0]=110;b[p+(l*20|0)+2>>1]=0;c[p+(l*20|0)+4>>2]=k;c[p+(l*20|0)+8>>2]=0;c[p+(l*20|0)+12>>2]=0;c[p+(l*20|0)+16>>2]=0;a[p+(l*20|0)+1>>0]=0;p=l;break}else{p=zi(I,110,k,0,0)|0;break}}while(0);k=c[y>>2]|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;s=c[I+88>>2]|0;a[s+(l*20|0)>>0]=94;b[s+(l*20|0)+2>>1]=0;c[s+(l*20|0)+4>>2]=q;c[s+(l*20|0)+8>>2]=G;c[s+(l*20|0)+12>>2]=k;c[s+(l*20|0)+16>>2]=0;a[s+(l*20|0)+1>>0]=0}else zi(I,94,q,G,k)|0;k=c[f+20>>2]|0;if((k|0)<0)k=(c[z>>2]|0)+-1|0;if(!(a[(c[I>>2]|0)+73>>0]|0))k=(c[I+88>>2]|0)+(k*20|0)|0;else k=46708;if(a[(c[d>>2]|0)+73>>0]|0)return;c[k+8>>2]=t-g;o=k+16|0;m=c[o>>2]|0;n=m+6|0;Vt(c[m+16>>2]|0,0,e[n>>1]|0)|0;k=c[I>>2]|0;b:do if(!(a[k+73>>0]|0)){k=(c[z>>2]|0)+-1|0;l=c[I+88>>2]|0;g=l+(k*20|0)+1|0;if(a[g>>0]|0){Ai(I,l+(k*20|0)|0,m,-9);break}if(m|0){c[l+(k*20|0)+16>>2]=m;a[g>>0]=-9}}else if(!((m|0)==0|(c[k+464>>2]|0)!=0)?(t=(c[m>>2]|0)+-1|0,c[m>>2]=t,(t|0)==0):0){k=c[m+12>>2]|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,m);break b}l=m;if(l>>>0<(c[k+296>>2]|0)>>>0)break;if(l>>>0>=(c[k+300>>2]|0)>>>0)break;t=k+292|0;c[m>>2]=c[t>>2];c[t>>2]=m;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{t=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);k=c[f>>2]|0;i=c[k>>2]|0;m=wk(c[d>>2]|0,i-u|0,(e[m+8>>1]|0)-(e[n>>1]|0)|0)|0;if((i|0)>(u|0)&(m|0)!=0){n=m+16|0;l=k+4+(u*20|0)|0;g=u;while(1){k=Qj(d,c[l>>2]|0)|0;if(!k)k=c[(c[d>>2]|0)+8>>2]|0;t=g-u|0;c[m+20+(t<<2)>>2]=k;a[(c[n>>2]|0)+t>>0]=a[l+12>>0]|0;g=g+1|0;if((g|0)==(i|0))break;else l=l+20|0}}c[o>>2]=m;h=c[z>>2]|0;k=h+1|0;if((c[(c[F>>2]|0)+48>>2]|0)>(h|0)){c[z>>2]=k;u=c[I+88>>2]|0;a[u+(h*20|0)>>0]=18;b[u+(h*20|0)+2>>1]=0;c[u+(h*20|0)+4>>2]=k;c[u+(h*20|0)+8>>2]=0;c[u+(h*20|0)+12>>2]=k;c[u+(h*20|0)+16>>2]=0;a[u+(h*20|0)+1>>0]=0}else zi(I,18,k,0,k)|0;k=c[F>>2]|0;n=k+68|0;i=c[n>>2]|0;c[n>>2]=i+1;n=k+72|0;if(!(i+-1&i)){l=c[k>>2]|0;g=c[n>>2]|0;k=Mc(l,g,i<<3|4,0)|0;c:do if(!((g|0)==0|(k|0)!=0)){do if(l|0){if(c[l+464>>2]|0){Lc(l,g);break c}m=g;if(m>>>0<(c[l+296>>2]|0)>>>0)break;if(m>>>0>=(c[l+300>>2]|0)>>>0)break;u=l+292|0;c[g>>2]=c[u>>2];c[u>>2]=g;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[n>>2]=k}else k=c[n>>2]|0;if(k|0)c[k+(i<<2)>>2]=-1;k=~i;c[f+16>>2]=k;l=(c[E>>2]|0)+1|0;c[E>>2]=l;c[f+12>>2]=l;g=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(g|0)){u=g+1|0;c[z>>2]=u;t=c[I+88>>2]|0;a[t+(g*20|0)>>0]=14;b[t+(g*20|0)+2>>1]=0;c[t+(g*20|0)+4>>2]=l;c[t+(g*20|0)+8>>2]=k;c[t+(g*20|0)+12>>2]=0;c[t+(g*20|0)+16>>2]=0;a[t+(g*20|0)+1>>0]=0;l=u}else{zi(I,14,l,k,0)|0;l=c[z>>2]|0}o=f+8|0;k=c[o>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;u=c[I+88>>2]|0;a[u+(l*20|0)>>0]=-122;b[u+(l*20|0)+2>>1]=0;c[u+(l*20|0)+4>>2]=k;c[u+(l*20|0)+8>>2]=0;c[u+(l*20|0)+12>>2]=0;c[u+(l*20|0)+16>>2]=0;a[u+(l*20|0)+1>>0]=0}else zi(I,134,k,0,0)|0;do if(B|0){k=c[w>>2]|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;w=c[I+88>>2]|0;a[w+(l*20|0)>>0]=22;b[w+(l*20|0)+2>>1]=0;c[w+(l*20|0)+4>>2]=B;c[w+(l*20|0)+8>>2]=k;c[w+(l*20|0)+12>>2]=0;c[w+(l*20|0)+16>>2]=0;a[w+(l*20|0)+1>>0]=0;break}else{zi(I,22,B,k,0)|0;break}}while(0);l=c[z>>2]|0;if(!(a[(c[I>>2]|0)+73>>0]|0))k=(c[I+88>>2]|0)+(((p|0)<0?l+-1|0:p)*20|0)|0;else k=46708;c[k+8>>2]=l;m=c[y>>2]|0;k=c[A>>2]|0;l=k+136|0;g=c[l>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(g|0)){c[l>>2]=g+1;A=c[k+88>>2]|0;a[A+(g*20|0)>>0]=74;b[A+(g*20|0)+2>>1]=0;c[A+(g*20|0)+4>>2]=G;c[A+(g*20|0)+8>>2]=q;c[A+(g*20|0)+12>>2]=m;c[A+(g*20|0)+16>>2]=0;a[A+(g*20|0)+1>>0]=0}else zi(k,74,G,q,m)|0;r=d+25|0;k=a[r>>0]|0;d:do if(k<<24>>24){q=m+G|0;j=d+19|0;p=0;do{m=d+148+(p*20|0)+12|0;n=d+148+(p*20|0)|0;i=d+148+(p*20|0)+6|0;while(1){l=c[m>>2]|0;if(!((l|0)>=(G|0)&(l|0)<(q|0)))break;do if(a[i>>0]|0){g=a[j>>0]|0;if((g&255)>=8)break;a[j>>0]=g+1<<24>>24;c[d+348+((g&255)<<2)>>2]=l}while(0);k=k+-1<<24>>24;a[r>>0]=k;l=k&255;if((l|0)>(p|0)){k=d+148+(l*20|0)|0;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];c[n+8>>2]=c[k+8>>2];c[n+12>>2]=c[k+12>>2];c[n+16>>2]=c[k+16>>2];k=a[r>>0]|0}if((p|0)>=(k&255|0))break d}p=p+1|0}while((p|0)<(k&255|0))}while(0);k=c[z>>2]|0;if(!(a[(c[I>>2]|0)+73>>0]|0))l=(c[I+88>>2]|0)+(((h|0)<0?k+-1|0:h)*20|0)|0;else l=46708;c[l+8>>2]=k}else{o=f+8|0;k=c[z>>2]|0}l=a[C>>0]&1^127;g=c[o>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(k|0)){c[z>>2]=k+1;C=c[I+88>>2]|0;a[C+(k*20|0)>>0]=l;b[C+(k*20|0)+2>>1]=0;c[C+(k*20|0)+4>>2]=g;c[C+(k*20|0)+8>>2]=D;c[C+(k*20|0)+12>>2]=v;c[C+(k*20|0)+16>>2]=0;a[C+(k*20|0)+1>>0]=0}else k=zi(I,l&255,g,D,v)|0;if(!(a[(c[I>>2]|0)+73>>0]|0)){D=c[I+88>>2]|0;a[D+(k*20|0)+1>>0]=-3;c[D+(k*20|0)+16>>2]=x}if(!B)return;k=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(k|0)){l=k+1|0;c[z>>2]=l;i=c[I+88>>2]|0;a[i+(k*20|0)>>0]=49;b[i+(k*20|0)+2>>1]=0;c[i+(k*20|0)+4>>2]=B;c[i+(k*20|0)+8>>2]=0;c[i+(k*20|0)+12>>2]=0;c[i+(k*20|0)+16>>2]=0;a[i+(k*20|0)+1>>0]=0;i=k}else{i=zi(I,49,B,0,0)|0;l=c[z>>2]|0}k=c[o>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;D=c[I+88>>2]|0;a[D+(l*20|0)>>0]=33;b[D+(l*20|0)+2>>1]=0;c[D+(l*20|0)+4>>2]=k;c[D+(l*20|0)+8>>2]=0;c[D+(l*20|0)+12>>2]=0;c[D+(l*20|0)+16>>2]=0;a[D+(l*20|0)+1>>0]=0}else zi(I,33,k,0,0)|0;n=f+29|0;do if(a[n>>0]|0){g=(c[E>>2]|0)+1|0;c[E>>2]=g;k=c[o>>2]|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;m=c[I+88>>2]|0;a[m+(l*20|0)>>0]=96;b[m+(l*20|0)+2>>1]=0;c[m+(l*20|0)+4>>2]=k;c[m+(l*20|0)+8>>2]=H;c[m+(l*20|0)+12>>2]=g;c[m+(l*20|0)+16>>2]=0;a[m+(l*20|0)+1>>0]=0;m=g;break}else{zi(I,96,k,H,g)|0;m=g;break}}else m=0;while(0);k=c[o>>2]|0;l=c[z>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[z>>2]=l+1;E=c[I+88>>2]|0;a[E+(l*20|0)>>0]=118;b[E+(l*20|0)+2>>1]=0;c[E+(l*20|0)+4>>2]=k;c[E+(l*20|0)+8>>2]=0;c[E+(l*20|0)+12>>2]=0;c[E+(l*20|0)+16>>2]=0;a[E+(l*20|0)+1>>0]=0}else zi(I,118,k,0,0)|0;l=c[z>>2]|0;if(a[n>>0]|0){g=l+2|0;k=G+H|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){H=l+1|0;c[z>>2]=H;G=c[I+88>>2]|0;a[G+(l*20|0)>>0]=53;b[G+(l*20|0)+2>>1]=0;c[G+(l*20|0)+4>>2]=k;c[G+(l*20|0)+8>>2]=g;c[G+(l*20|0)+12>>2]=m;c[G+(l*20|0)+16>>2]=0;a[G+(l*20|0)+1>>0]=0;k=H}else{zi(I,53,k,g,m)|0;k=c[z>>2]|0}if((k|0)>0){b[(c[I+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=128;l=k}else l=k}if(!(a[(c[I>>2]|0)+73>>0]|0))k=(c[I+88>>2]|0)+(((i|0)<0?l+-1|0:i)*20|0)|0;else k=46708;c[k+8>>2]=l;return}function un(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;o=t;q=c[d+44>>2]|0;r=c[q>>2]|0;f=c[b>>2]|0;s=wk(f,r+1|0,1)|0;if(!((s|0)!=0&(r|0)>0)){l=t;return s|0}k=f+8|0;m=o+4|0;n=s+16|0;j=0;do{i=q+4+(j*20|0)|0;g=c[i>>2]|0;if(!(c[g+4>>2]&256)){f=fn(b,d,(e[q+4+(j*20|0)+16>>1]|0)+-1|0)|0;if(!f)f=c[k>>2]|0;h=c[f>>2]|0;c[o>>2]=h;if(h){h=(As(h)|0)&1073741823;c[m>>2]=h;if((h|0)!=0?(p=Yi(c[b>>2]|0,94,o,0)|0,(p|0)!=0):0){c[p+12>>2]=g;g=p+4|0;c[g>>2]=c[g>>2]|4352;g=p}}else c[m>>2]=0;c[i>>2]=g}else f=Qj(b,g)|0;c[s+20+(j<<2)>>2]=f;a[(c[n>>2]|0)+j>>0]=a[q+4+(j*20|0)+12>>0]|0;j=j+1|0}while((j|0)!=(r|0));l=t;return s|0} +function cj(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0;xa=l;l=l+208|0;ba=xa+104|0;aa=xa+88|0;_=xa+80|0;P=xa+64|0;N=xa+56|0;M=xa+48|0;z=xa+40|0;w=xa+32|0;v=xa+24|0;u=xa+16|0;s=xa+8|0;r=xa;qa=xa+176|0;sa=xa+172|0;ta=xa+168|0;Q=xa+144|0;Z=xa+112|0;c[sa>>2]=0;c[ta>>2]=0;wa=c[f>>2]|0;R=f+36|0;do if((c[R>>2]|0)==0?(ca=wa+73|0,(a[ca>>0]|0)==0):0){da=Q+4|0;c[da>>2]=0;if(h)if((c[h+8>>2]&512|0)!=0?(c[h+48>>2]|0)==0:0){va=c[h>>2]|0;c[h>>2]=0;Sf(wa,h,1);h=0}else va=0;else{h=0;va=0}o=g+8|0;m=c[o>>2]|0;if(!m)k=g+12|0;else{n=c[(c[f>>2]|0)+16>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0))break;else k=k+1|0;k=n+(k<<4)|0}ua=oj(f,0,c[g+16>>2]|0,c[k>>2]|0)|0;k=c[f>>2]|0;m=g+24|0;n=c[m>>2]|0;do if(n|0){if(!((k|0)!=0?(c[k+464>>2]|0)!=0:0))ra=15;if((ra|0)==15?(oa=n+32|0,pa=(c[oa>>2]|0)+-1|0,c[oa>>2]=pa,pa|0):0)break;Tf(k,n)}while(0);c[m>>2]=ua;a:do if(ua){pa=ua+32|0;c[pa>>2]=(c[pa>>2]|0)+1;if(!(pj(f,o)|0)){pa=ua+72|0;m=c[pa>>2]|0;n=c[wa+16>>2]|0;if(!m)S=-1e6;else{k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0)){S=k;break}else k=k+1|0}o=c[ua>>2]|0;m=c[n+(S<<4)>>2]|0;k=c[f>>2]|0;b:do if(((a[k+157>>0]|0)==0?(a[f+400>>0]|0)==0:0)?(p=c[k+304>>2]|0,(p|0)!=0):0)switch(ob[p&255](c[k+308>>2]|0,18,o,0,m,c[f+440>>2]|0)|0){case 2:{k=0;ra=874;break a}case 1:{hg(f,24761,r);c[f+12>>2]=23;k=0;ra=874;break a}case 0:{k=c[f>>2]|0;break b}default:{hg(f,24776,s);c[f+12>>2]=1;k=0;ra=874;break a}}while(0);O=ua+36|0;ga=(c[O>>2]|0)>>>5&1;do if((c[k+28>>2]&262144|0)!=0?(t=c[(c[k+16>>2]|0)+28>>2]|0,(a[f+146>>0]|0)==0):0){s=c[pa>>2]|0;if((s|0)!=(t|0)?(q=c[t+48>>2]|0,(q|0)!=0):0){r=ua+68|0;m=0;do{p=c[q+8>>2]|0;do if((c[p+24>>2]|0)==(s|0)){n=c[p+4>>2]|0;o=c[ua>>2]|0;oa=a[n>>0]|0;k=(d[17324+(oa&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0;if(!(oa<<24>>24==0|(k|0)!=0))do{n=n+1|0;o=o+1|0;oa=a[n>>0]|0;k=(d[17324+(oa&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(oa<<24>>24==0|(k|0)!=0));if(k|0)break;if(!m)m=c[r>>2]|0;c[p+32>>2]=m;m=p}while(0);q=c[q>>2]|0}while((q|0)!=0);if(!m)ra=43}else ra=43;if((ra|0)==43){m=c[ua+68>>2]|0;if(!m){m=0;$=0;break}}k=0;n=m;do{if((a[n+8>>0]|0)==108)k=d[n+9>>0]|k;n=c[n+32>>2]|0}while((n|0)!=0);$=k}else{m=0;$=0}while(0);ia=$|0?m:0;n=ua+12|0;ea=(c[n>>2]|0)!=0;if(!(Aj(f,ua)|0)){ja=ua+56|0;if(c[ja>>2]|0){o=c[f>>2]|0;k=ua+64|0;while(1){k=c[k>>2]|0;if((c[k>>2]|0)==(o|0))break;else k=k+24|0}if(c[(c[c[k+4>>2]>>2]|0)+52>>2]|0)ra=53}else ra=53;do if((ra|0)==53){if((c[O>>2]&1|0?(c[(c[f>>2]|0)+28>>2]&1|0)==0:0)?(a[f+18>>0]|0)==0:0)break;if(($|0)==0?c[n>>2]|0:0){c[v>>2]=c[ua>>2];hg(f,32639,v);k=0;ra=874;break a}fa=f+8|0;k=c[fa>>2]|0;if(!k){do if(!(c[f+120>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);k=yi(f)|0;if(!k){k=0;ra=874;break a}else oa=k}else oa=k;na=f+18|0;if(!(a[na>>0]|0)){ma=oa+145|0;la=d[ma>>0]|d[ma+1>>0]<<8|16;a[ma>>0]=la;a[ma+1>>0]=la>>8}ma=(h|0)!=0;la=(ia|0)!=0;u=(ma|la)&1;ka=f+120|0;t=c[ka>>2]|0;t=(t|0)==0?f:t;k=t+92|0;n=c[k>>2]|0;v=1<>2]=n|v;if((S|0)!=1)break;s=c[t>>2]|0;k=s+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[t+399>>0]|0)break;n=fg(c[s>>2]|0,0,s,qa,0,542)|0;if(n|0){hg(t,21111,w);c[t+12>>2]=n;break}ha=c[qa>>2]|0;c[(c[k>>2]|0)+20>>2]=ha;k=c[s+84>>2]|0;o=c[ha+4>>2]|0;c[o+4>>2]=c[ha>>2];do if(!(b[o+22>>1]&2)){p=o+32|0;q=o+36|0;r=(c[p>>2]|0)-(c[q>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[p>>2]=k;n=o+80|0;k=c[n>>2]|0;if(!k)break;k=k+-4|0;c[n>>2]=k;ha=k;do if(!(ha>>>0>=(c[11662]|0)>>>0&ha>>>0<(c[11663]|0)>>>0)){ha=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-ha;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ha=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ha;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;ha=(c[11666]|0)+1|0;c[11666]=ha;c[11667]=(ha|0)<(c[11661]|0)&1}while(0);c[n>>2]=0}while(0);ha=gg(c[o>>2]|0,p,r)|0;c[q>>2]=(c[p>>2]|0)-(r&65535);if((ha|0)!=7)break;k=s+73|0;do if(!(a[k>>0]|0)){if(a[s+74>>0]|0)break;a[k>>0]=1;if((c[s+172>>2]|0)>0)c[s+256>>2]=1;ha=s+264|0;c[ha>>2]=(c[ha>>2]|0)+1}while(0);break c}while(0)}while(0);ha=t+88|0;c[ha>>2]=c[ha>>2]|v;ha=t+20|0;a[ha>>0]=d[ha>>0]|u;ha=(i|0)==0;d:do if(ha){y=c[f>>2]|0;if(!h){ra=426;break}if(c[f+464>>2]|0){ra=426;break}if(c[h+60>>2]|0){ra=426;break}v=y+16|0;u=c[v>>2]|0;k=c[u+28>>2]|0;if(!(a[f+146>>0]|0)){t=c[pa>>2]|0;do if((t|0)!=(k|0)){k=c[k+48>>2]|0;if(!k)break;s=ua+68|0;n=0;do{r=c[k+8>>2]|0;do if((c[r+24>>2]|0)==(t|0)){p=c[r+4>>2]|0;q=c[ua>>2]|0;Y=a[p>>0]|0;o=(d[17324+(Y&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0;if(!(Y<<24>>24==0|(o|0)!=0))do{p=p+1|0;q=q+1|0;Y=a[p>>0]|0;o=(d[17324+(Y&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(Y<<24>>24==0|(o|0)!=0));if(o|0)break;if(!n)n=c[s>>2]|0;c[r+32>>2]=n;n=r}while(0);k=c[k>>2]|0}while((k|0)!=0);if(n|0){ra=426;break d}}while(0);if(c[ua+68>>2]|0){ra=426;break}}if(c[ja>>2]|0){ra=426;break}if((j|0)==10){if((b[ua+40>>1]|0)>-1)k=d[ua+48>>0]|0;else k=10;A=(k|0)==10?2:k}else A=j;o=c[h+28>>2]|0;if((c[o>>2]|0)!=1){ra=426;break}if(c[o+28>>2]|0){ra=426;break}if(c[h+32>>2]|0){ra=426;break}if(c[h+44>>2]|0){ra=426;break}if(c[h+36>>2]|0){ra=426;break}if(c[h+56>>2]|0){ra=426;break}if(c[h+48>>2]|0){ra=426;break}if(c[h+8>>2]&1|0){ra=426;break}k=c[h>>2]|0;if((c[k>>2]|0)!=1){ra=426;break}if((a[c[k+4>>2]>>0]|0)!=-102){ra=426;break}n=c[o+8>>2]|0;if(!n)k=o+12|0;else{k=0;while(1)if((c[u+(k<<4)+12>>2]|0)==(n|0))break;else k=k+1|0;k=u+(k<<4)|0}H=oj(f,0,c[o+16>>2]|0,c[k>>2]|0)|0;if((H|0)==0|(H|0)==(ua|0)){ra=426;break}L=H+36|0;if((c[L>>2]^c[O>>2])&32|0){ra=426;break}if(c[H+56>>2]|0){ra=426;break}if(c[H+12>>2]|0){ra=426;break}k=b[ua+42>>1]|0;if(k<<16>>16!=(b[H+42>>1]|0)){ra=426;break}x=ua+40|0;if((b[x>>1]|0)!=(b[H+40>>1]|0)){ra=426;break}if(k<<16>>16>0){r=c[ua+4>>2]|0;s=c[H+4>>2]|0;q=k<<16>>16;p=0;do{if((a[r+(p<<4)+13>>0]|0)!=(a[s+(p<<4)+13>>0]|0)){ra=426;break d}n=c[r+(p<<4)+8>>2]|0;o=c[s+(p<<4)+8>>2]|0;do if(!n)k=((o|0)!=0)<<31>>31;else{if(!o){ra=426;break d}Y=a[n>>0]|0;k=(d[17324+(Y&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0;if(Y<<24>>24==0|(k|0)!=0)break;do{n=n+1|0;o=o+1|0;Y=a[n>>0]|0;k=(d[17324+(Y&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(Y<<24>>24==0|(k|0)!=0))}while(0);if(k|0){ra=426;break d}if(a[r+(p<<4)+12>>0]|0?(a[s+(p<<4)+12>>0]|0)==0:0){ra=426;break d}do if((p|0)>0){k=c[r+(p<<4)+4>>2]|0;n=(k|0)==0;o=c[s+(p<<4)+4>>2]|0;if(n^(o|0)==0){ra=426;break d}if(n)break;if(Ls(c[k+8>>2]|0,c[o+8>>2]|0)|0){ra=426;break d}}while(0);p=p+1|0}while((p|0)<(q|0))}D=ua+8|0;k=c[D>>2]|0;if(!k)n=0;else{p=H+8|0;n=0;do{n=(a[k+54>>0]|0)==0?n:1;o=c[p>>2]|0;if(!o){ra=426;break d}while(1){if(Il(k,o)|0)break;o=c[o+20>>2]|0;if(!o){ra=426;break d}}k=c[k+20>>2]|0}while((k|0)!=0)}o=c[ua+24>>2]|0;do if(o|0){p=c[H+24>>2]|0;if(!p){ra=426;break d}k=c[p>>2]|0;if((k|0)!=(c[o>>2]|0)){ra=426;break d}if((k|0)>0)k=0;else break;do{if((a[p+4+(k*20|0)+12>>0]|0)!=(a[o+4+(k*20|0)+12>>0]|0)){ra=426;break d}if(ck(0,c[p+4+(k*20|0)>>2]|0,c[o+4+(k*20|0)>>2]|0,-1)|0){ra=426;break d}k=k+1|0}while((k|0)<(c[p>>2]|0))}while(0);k=c[y+28>>2]|0;if(!(k&16384)){if(k&128|0){ra=426;break}}else if(!((k&128|0)==0&(c[ua+16>>2]|0)==0)){ra=426;break}p=c[H+72>>2]|0;if(!p)I=-1e6;else{o=c[v>>2]|0;k=0;while(1)if((c[o+(k<<4)+12>>2]|0)==(p|0)){I=k;break}else k=k+1|0}k=c[fa>>2]|0;if(!k){do if(!(c[ka>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);K=yi(f)|0}else K=k;q=c[ka>>2]|0;q=(q|0)==0?f:q;k=q+92|0;o=c[k>>2]|0;p=1<>2]=o|p;if((I|0)!=1)break;t=c[q>>2]|0;k=t+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[q+399>>0]|0)break;o=fg(c[t>>2]|0,0,t,qa,0,542)|0;if(o|0){hg(q,21111,z);c[q+12>>2]=o;break}Y=c[qa>>2]|0;c[(c[k>>2]|0)+20>>2]=Y;k=c[t+84>>2]|0;p=c[Y+4>>2]|0;c[p+4>>2]=c[Y>>2];do if(!(b[p+22>>1]&2)){q=p+32|0;r=p+36|0;s=(c[q>>2]|0)-(c[r>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[q>>2]=k;o=p+80|0;k=c[o>>2]|0;if(!k)break;k=k+-4|0;c[o>>2]=k;Y=k;do if(!(Y>>>0>=(c[11662]|0)>>>0&Y>>>0<(c[11663]|0)>>>0)){Y=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-Y;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{Y=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-Y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;Y=(c[11666]|0)+1|0;c[11666]=Y;c[11667]=(Y|0)<(c[11661]|0)&1}while(0);c[o>>2]=0}while(0);Y=gg(c[p>>2]|0,q,s)|0;c[r>>2]=(c[q>>2]|0)-(s&65535);if((Y|0)!=7)break;k=t+73|0;do if(!(a[k>>0]|0)){if(a[t+74>>0]|0)break;a[k>>0]=1;if((c[t+172>>2]|0)>0)c[t+256>>2]=1;Y=t+264|0;c[Y>>2]=(c[Y>>2]|0)+1}while(0);break e}while(0)}while(0);Y=f+40|0;F=c[Y>>2]|0;J=F+1|0;c[Y>>2]=F+2;f:do if(!(c[O>>2]&8))w=0;else{p=c[f>>2]|0;if(c[p+24>>2]&4|0){w=0;break}q=c[ka>>2]|0;q=(q|0)==0?f:q;r=q+116|0;k=c[r>>2]|0;g:do if(!k)ra=203;else while(1){if((c[k+4>>2]|0)==(ua|0))break g;k=c[k>>2]|0;if(!k){ra=203;break}}while(0);if((ra|0)==203){h:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))ra=211;else{w=0;break f}else{do if((e[p+268>>1]|0)<16)k=1;else{o=p+292|0;k=c[o>>2]|0;if(k|0){c[o>>2]=c[k>>2];Y=p+276|0;c[Y>>2]=(c[Y>>2]|0)+1;break h}o=p+288|0;k=c[o>>2]|0;if(!k){k=2;break}c[o>>2]=c[k>>2];Y=p+276|0;c[Y>>2]=(c[Y>>2]|0)+1;break h}while(0);ra=p+276+(k<<2)|0;c[ra>>2]=(c[ra>>2]|0)+1;ra=211}while(0);if((ra|0)==211)k=Ec(p,16,0)|0;if(!k){w=0;break}c[k>>2]=c[r>>2];c[r>>2]=k;c[k+4>>2]=ua;c[k+8>>2]=S;Y=q+44|0;X=c[Y>>2]|0;c[k+12>>2]=X+2;c[Y>>2]=X+3}w=c[k+12>>2]|0}while(0);G=f+19|0;k=a[G>>0]|0;do if(k<<24>>24){Y=k+-1<<24>>24;a[G>>0]=Y;o=c[f+348+((Y&255)<<2)>>2]|0;if(!(Y<<24>>24)){p=f+44|0;k=p;p=c[p>>2]|0;ra=219;break}else{C=k+-2<<24>>24;a[G>>0]=C;E=o;C=c[f+348+((C&255)<<2)>>2]|0;break}}else{k=f+44|0;p=(c[k>>2]|0)+1|0;c[k>>2]=p;o=p;ra=219}while(0);if((ra|0)==219){C=p+1|0;c[k>>2]=C;E=o}Bi(f,J,S,ua,105);z=y+24|0;do if(!(c[z>>2]&4)){k=(n|0)!=0;if((b[x>>1]|0)<0){if(!((A+-1|0)>>>0>1|(k|(c[D>>2]|0)!=0))){B=0;break}}else if(!((A+-1|0)>>>0>1|k)){B=0;break}p=K+136|0;k=c[p>>2]|0;n=K+12|0;if((c[(c[n>>2]|0)+48>>2]|0)>(k|0)){o=k+1|0;c[p>>2]=o;Y=c[K+88>>2]|0;a[Y+(k*20|0)>>0]=37;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=J;c[Y+(k*20|0)+8>>2]=0;c[Y+(k*20|0)+12>>2]=0;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else{k=zi(K,37,J,0,0)|0;o=c[p>>2]|0}if((c[(c[n>>2]|0)+48>>2]|0)>(o|0)){c[p>>2]=o+1;q=c[K+88>>2]|0;a[q+(o*20|0)>>0]=13;q=q+(o*20|0)+1|0;r=q+19|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(r|0))}else o=zi(K,13,0,0,0)|0;n=c[p>>2]|0;if(!(a[(c[K>>2]|0)+73>>0]|0))k=(c[K+88>>2]|0)+(((k|0)<0?n+-1|0:k)*20|0)|0;else k=46708;c[k+8>>2]=n;B=o}else B=0;while(0);do if(!(c[L>>2]&32)){Bi(f,F,I,H,104);u=K+136|0;k=c[u>>2]|0;v=K+12|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;y=c[K+88>>2]|0;a[y+(k*20|0)>>0]=37;b[y+(k*20|0)+2>>1]=0;c[y+(k*20|0)+4>>2]=F;c[y+(k*20|0)+8>>2]=0;c[y+(k*20|0)+12>>2]=0;c[y+(k*20|0)+16>>2]=0;a[y+(k*20|0)+1>>0]=0;y=k}else y=zi(K,37,F,0,0)|0;do if((b[x>>1]|0)>-1){k=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){Y=k+1|0;c[u>>2]=Y;q=c[K+88>>2]|0;a[q+(k*20|0)>>0]=123;b[q+(k*20|0)+2>>1]=0;c[q+(k*20|0)+4>>2]=F;c[q+(k*20|0)+8>>2]=C;c[q+(k*20|0)+12>>2]=0;c[q+(k*20|0)+16>>2]=0;a[q+(k*20|0)+1>>0]=0;q=k;k=Y}else{q=zi(K,123,F,C,0)|0;k=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;t=c[K+88>>2]|0;a[t+(k*20|0)>>0]=32;b[t+(k*20|0)+2>>1]=0;c[t+(k*20|0)+4>>2]=J;c[t+(k*20|0)+8>>2]=0;c[t+(k*20|0)+12>>2]=C;c[t+(k*20|0)+16>>2]=0;a[t+(k*20|0)+1>>0]=0;t=k}else t=zi(K,32,J,0,C)|0;k=b[x>>1]|0;o=c[f>>2]|0;n=c[ua>>2]|0;if(k<<16>>16>-1){s=c[(c[ua+4>>2]|0)+(k<<16>>16<<4)>>2]|0;c[M>>2]=n;c[M+4>>2]=s;n=1555;s=Ff(o,28518,M)|0}else{c[N>>2]=n;n=2579;s=Ff(o,32677,N)|0}k=c[fa>>2]|0;if(!k){do if(!(c[ka>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);r=yi(f)|0}else r=k;if((A|0)==2){Y=c[ka>>2]|0;a[((Y|0)==0?f:Y)+21>>0]=1}p=r+136|0;k=c[p>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(k|0)){c[p>>2]=k+1;Y=c[r+88>>2]|0;a[Y+(k*20|0)>>0]=66;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=n;c[Y+(k*20|0)+8>>2]=A;c[Y+(k*20|0)+12>>2]=0;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else k=zi(r,66,n,A,0)|0;n=c[r>>2]|0;i:do if(a[n+73>>0]|0){if(!s)break;do if(n|0){if(c[n+464>>2]|0){Lc(n,s);break i}k=s;if(k>>>0<(c[n+296>>2]|0)>>>0)break;if(k>>>0>=(c[n+300>>2]|0)>>>0)break;Y=n+292|0;c[s>>2]=c[Y>>2];c[Y>>2]=s;break i}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{Y=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-Y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else{if((k|0)<0)k=(c[p>>2]|0)+-1|0;n=c[r+88>>2]|0;o=n+(k*20|0)+1|0;if(a[o>>0]|0){Ai(r,n+(k*20|0)|0,s,-7);break}if(!s)break;c[n+(k*20|0)+16>>2]=s;a[o>>0]=-7}while(0);k=c[p>>2]|0;if((k|0)>0)b[(c[r+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=2;n=c[u>>2]|0;if(!(a[(c[K>>2]|0)+73>>0]|0))k=(c[K+88>>2]|0)+(((t|0)<0?n+-1|0:t)*20|0)|0;else k=46708;c[k+8>>2]=n;if((w|0)<=0)break;k=c[fa>>2]|0;n=k+136|0;o=c[n>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;Y=c[k+88>>2]|0;a[Y+(o*20|0)>>0]=-110;b[Y+(o*20|0)+2>>1]=0;c[Y+(o*20|0)+4>>2]=w;c[Y+(o*20|0)+8>>2]=C;c[Y+(o*20|0)+12>>2]=0;c[Y+(o*20|0)+16>>2]=0;a[Y+(o*20|0)+1>>0]=0;break}else{zi(k,146,w,C,0)|0;break}}else{k=c[u>>2]|0;n=(c[(c[v>>2]|0)+48>>2]|0)>(k|0);if(!(c[D>>2]|0))if(n){c[u>>2]=k+1;q=c[K+88>>2]|0;a[q+(k*20|0)>>0]=115;b[q+(k*20|0)+2>>1]=0;c[q+(k*20|0)+4>>2]=J;c[q+(k*20|0)+8>>2]=C;c[q+(k*20|0)+12>>2]=0;c[q+(k*20|0)+16>>2]=0;a[q+(k*20|0)+1>>0]=0;q=k;break}else{q=zi(K,115,J,C,0)|0;break}else if(n){c[u>>2]=k+1;q=c[K+88>>2]|0;a[q+(k*20|0)>>0]=123;b[q+(k*20|0)+2>>1]=0;c[q+(k*20|0)+4>>2]=F;c[q+(k*20|0)+8>>2]=C;c[q+(k*20|0)+12>>2]=0;c[q+(k*20|0)+16>>2]=0;a[q+(k*20|0)+1>>0]=0;q=k;break}else{q=zi(K,123,F,C,0)|0;break}}while(0);k=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;Y=c[K+88>>2]|0;a[Y+(k*20|0)>>0]=122;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=F;c[Y+(k*20|0)+8>>2]=E;c[Y+(k*20|0)+12>>2]=1;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else zi(K,122,F,E,1)|0;do if(c[z>>2]&4){k=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;p=c[K+88>>2]|0;a[p+(k*20|0)>>0]=125;b[p+(k*20|0)+2>>1]=0;c[p+(k*20|0)+4>>2]=J;c[p+(k*20|0)+8>>2]=0;c[p+(k*20|0)+12>>2]=0;c[p+(k*20|0)+16>>2]=0;a[p+(k*20|0)+1>>0]=0;p=57;break}else{zi(K,125,J,0,0)|0;p=57;break}}else p=41;while(0);k=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;Y=c[K+88>>2]|0;a[Y+(k*20|0)>>0]=116;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=J;c[Y+(k*20|0)+8>>2]=E;c[Y+(k*20|0)+12>>2]=C;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else k=zi(K,116,J,E,C)|0;do if(!(a[(c[K>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[u>>2]|0)+-1|0;n=c[K+88>>2]|0;o=n+(k*20|0)+1|0;if(!(a[o>>0]|0)){c[n+(k*20|0)+16>>2]=ua;a[o>>0]=-6;break}else{Ai(K,n+(k*20|0)|0,ua,-6);break}}while(0);k=c[u>>2]|0;if((k|0)>0)b[(c[K+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=p;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){Y=k+1|0;c[u>>2]=Y;X=c[K+88>>2]|0;a[X+(k*20|0)>>0]=7;b[X+(k*20|0)+2>>1]=0;c[X+(k*20|0)+4>>2]=F;c[X+(k*20|0)+8>>2]=q;c[X+(k*20|0)+12>>2]=0;c[X+(k*20|0)+16>>2]=0;a[X+(k*20|0)+1>>0]=0;k=Y}else{zi(K,7,F,q,0)|0;k=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){Y=k+1|0;c[u>>2]=Y;X=c[K+88>>2]|0;a[X+(k*20|0)>>0]=112;b[X+(k*20|0)+2>>1]=0;c[X+(k*20|0)+4>>2]=F;c[X+(k*20|0)+8>>2]=0;c[X+(k*20|0)+12>>2]=0;c[X+(k*20|0)+16>>2]=0;a[X+(k*20|0)+1>>0]=0;k=Y}else{zi(K,112,F,0,0)|0;k=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){c[u>>2]=k+1;Y=c[K+88>>2]|0;a[Y+(k*20|0)>>0]=112;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=J;c[Y+(k*20|0)+8>>2]=0;c[Y+(k*20|0)+12>>2]=0;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0;break}else{zi(K,112,J,0,0)|0;break}}else{qk(f,S,c[ua+28>>2]|0,1,c[ua>>2]|0);qk(f,I,c[H+28>>2]|0,0,c[H>>2]|0);y=0}while(0);k=c[D>>2]|0;if(k|0){u=H+8|0;v=K+136|0;w=K+12|0;x=K+88|0;t=k;do{k=u;while(1){p=c[k>>2]|0;if(!(Il(t,p)|0))k=p+20|0;else break}k=c[p+44>>2]|0;n=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;Y=c[x>>2]|0;a[Y+(n*20|0)>>0]=104;b[Y+(n*20|0)+2>>1]=0;c[Y+(n*20|0)+4>>2]=F;c[Y+(n*20|0)+8>>2]=k;c[Y+(n*20|0)+12>>2]=I;c[Y+(n*20|0)+16>>2]=0;a[Y+(n*20|0)+1>>0]=0}else zi(K,104,F,k,I)|0;k=c[fa>>2]|0;o=rk(f,p)|0;j:do if(o|0){n=c[k>>2]|0;if(!(a[n+73>>0]|0)){X=c[k+88>>2]|0;Y=(c[k+136>>2]|0)+-1|0;a[X+(Y*20|0)+1>>0]=-9;c[X+(Y*20|0)+16>>2]=o;break}if(c[n+464>>2]|0)break;Y=(c[o>>2]|0)+-1|0;c[o>>2]=Y;if(Y|0)break;k=c[o+12>>2]|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,o);break j}n=o;if(n>>>0<(c[k+296>>2]|0)>>>0)break;if(n>>>0>=(c[k+300>>2]|0)>>>0)break;Y=k+292|0;c[o>>2]=c[Y>>2];c[Y>>2]=o;break j}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Y=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);k=c[t+44>>2]|0;n=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;Y=c[x>>2]|0;a[Y+(n*20|0)>>0]=105;b[Y+(n*20|0)+2>>1]=0;c[Y+(n*20|0)+4>>2]=J;c[Y+(n*20|0)+8>>2]=k;c[Y+(n*20|0)+12>>2]=S;c[Y+(n*20|0)+16>>2]=0;a[Y+(n*20|0)+1>>0]=0}else zi(K,105,J,k,S)|0;k=c[fa>>2]|0;o=rk(f,t)|0;k:do if(o|0){n=c[k>>2]|0;if(!(a[n+73>>0]|0)){X=c[k+88>>2]|0;Y=(c[k+136>>2]|0)+-1|0;a[X+(Y*20|0)+1>>0]=-9;c[X+(Y*20|0)+16>>2]=o;break}if(c[n+464>>2]|0)break;Y=(c[o>>2]|0)+-1|0;c[o>>2]=Y;if(Y|0)break;k=c[o+12>>2]|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,o);break k}n=o;if(n>>>0<(c[k+296>>2]|0)>>>0)break;if(n>>>0>=(c[k+300>>2]|0)>>>0)break;Y=k+292|0;c[o>>2]=c[Y>>2];c[Y>>2]=o;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Y=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);k=c[v>>2]|0;if((k|0)>0)b[(c[x>>2]|0)+((k+-1|0)*20|0)+2>>1]=1;if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){Y=k+1|0;c[v>>2]=Y;s=c[x>>2]|0;a[s+(k*20|0)>>0]=37;b[s+(k*20|0)+2>>1]=0;c[s+(k*20|0)+4>>2]=F;c[s+(k*20|0)+8>>2]=0;c[s+(k*20|0)+12>>2]=0;c[s+(k*20|0)+16>>2]=0;a[s+(k*20|0)+1>>0]=0;s=k;k=Y}else{s=zi(K,37,F,0,0)|0;k=c[v>>2]|0}if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){c[v>>2]=k+1;Y=c[x>>2]|0;a[Y+(k*20|0)>>0]=122;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=F;c[Y+(k*20|0)+8>>2]=E;c[Y+(k*20|0)+12>>2]=1;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else zi(K,122,F,E,1)|0;do if(c[z>>2]&4){k=b[p+52>>1]|0;if(k<<16>>16){q=c[p+32>>2]|0;r=k&65535;k=0;l:do{n=c[q+(k<<2)>>2]|0;if(!n)break;switch(a[n>>0]|0){case 66:case 98:{o=22091;break}default:break l}do{o=o+1|0;n=n+1|0;Y=a[o>>0]|0;p=(d[17324+(Y&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(Y<<24>>24==0|(p|0)!=0));if(p|0)break;k=k+1|0}while((k|0)<(r|0));if((k|0)!=(r|0)){k=0;break}}k=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){c[v>>2]=k+1;Y=c[x>>2]|0;a[Y+(k*20|0)>>0]=125;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=J;c[Y+(k*20|0)+8>>2]=0;c[Y+(k*20|0)+12>>2]=0;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0;k=16;break}else{zi(K,125,J,0,0)|0;k=16;break}}else k=0;while(0);if(c[L>>2]&32)k=(a[t+55>>0]&3)==2|k;n=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){Y=n+1|0;c[v>>2]=Y;X=c[x>>2]|0;a[X+(n*20|0)>>0]=127;b[X+(n*20|0)+2>>1]=0;c[X+(n*20|0)+4>>2]=J;c[X+(n*20|0)+8>>2]=E;c[X+(n*20|0)+12>>2]=0;c[X+(n*20|0)+16>>2]=0;a[X+(n*20|0)+1>>0]=0;n=Y}else{zi(K,127,J,E,0)|0;n=c[v>>2]|0}if((n|0)>0)b[(c[x>>2]|0)+((n+-1|0)*20|0)+2>>1]=(k|8)&255;k=s+1|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){Y=n+1|0;c[v>>2]=Y;X=c[x>>2]|0;a[X+(n*20|0)>>0]=7;b[X+(n*20|0)+2>>1]=0;c[X+(n*20|0)+4>>2]=F;c[X+(n*20|0)+8>>2]=k;c[X+(n*20|0)+12>>2]=0;c[X+(n*20|0)+16>>2]=0;a[X+(n*20|0)+1>>0]=0;n=Y}else{zi(K,7,F,k,0)|0;n=c[v>>2]|0}if(!(a[(c[K>>2]|0)+73>>0]|0))k=(c[x>>2]|0)+(((s|0)<0?n+-1|0:s)*20|0)|0;else k=46708;c[k+8>>2]=n;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){k=n+1|0;c[v>>2]=k;Y=c[x>>2]|0;a[Y+(n*20|0)>>0]=112;b[Y+(n*20|0)+2>>1]=0;c[Y+(n*20|0)+4>>2]=F;c[Y+(n*20|0)+8>>2]=0;c[Y+(n*20|0)+12>>2]=0;c[Y+(n*20|0)+16>>2]=0;a[Y+(n*20|0)+1>>0]=0}else{zi(K,112,F,0,0)|0;k=c[v>>2]|0}if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){c[v>>2]=k+1;Y=c[x>>2]|0;a[Y+(k*20|0)>>0]=112;b[Y+(k*20|0)+2>>1]=0;c[Y+(k*20|0)+4>>2]=J;c[Y+(k*20|0)+8>>2]=0;c[Y+(k*20|0)+12>>2]=0;c[Y+(k*20|0)+16>>2]=0;a[Y+(k*20|0)+1>>0]=0}else zi(K,112,J,0,0)|0;t=c[t+20>>2]|0}while((t|0)!=0)}if(y|0){n=c[K+136>>2]|0;if(!(a[(c[K>>2]|0)+73>>0]|0))k=(c[K+88>>2]|0)+(((y|0)<0?n+-1|0:y)*20|0)|0;else k=46708;c[k+8>>2]=n}m:do if(C|0){p=a[G>>0]|0;if((p&255)>=8)break;k=a[f+25>>0]|0;n:do if(k<<24>>24){o=k&255;k=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(C|0))break;k=k+1|0;if((k|0)>=(o|0))break n;else n=n+20|0}a[n+6>>0]=1;break m}while(0);a[G>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=C}while(0);o:do if(E|0){p=a[G>>0]|0;if((p&255)>=8)break;k=a[f+25>>0]|0;p:do if(k<<24>>24){o=k&255;k=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(E|0))break;k=k+1|0;if((k|0)>=(o|0))break p;else n=n+20|0}a[n+6>>0]=1;break o}while(0);a[G>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=E}while(0);if(!B){o=0;k=0;break}if(c[f+116>>2]|0)Jl(f);o=K+136|0;k=c[o>>2]|0;p=K+12|0;if((c[(c[p>>2]|0)+48>>2]|0)>(k|0)){n=k+1|0;c[o>>2]=n;q=c[K+88>>2]|0;a[q+(k*20|0)>>0]=66;q=q+(k*20|0)+1|0;r=q+19|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(r|0))}else{zi(K,66,0,0,0)|0;n=c[o>>2]|0}if(!(a[(c[K>>2]|0)+73>>0]|0))k=(c[K+88>>2]|0)+(((B|0)<0?n+-1|0:B)*20|0)|0;else k=46708;c[k+8>>2]=n;if((c[(c[p>>2]|0)+48>>2]|0)>(n|0)){c[o>>2]=n+1;ra=c[K+88>>2]|0;a[ra+(n*20|0)>>0]=112;b[ra+(n*20|0)+2>>1]=0;c[ra+(n*20|0)+4>>2]=J;c[ra+(n*20|0)+8>>2]=0;c[ra+(n*20|0)+12>>2]=0;c[ra+(n*20|0)+16>>2]=0;a[ra+(n*20|0)+1>>0]=0;ra=426;break}else{zi(K,112,J,0,0)|0;ra=426;break}}else ra=426;while(0);do if((ra|0)==426){q:do if(!(c[O>>2]&8))T=0;else{o=c[f>>2]|0;if(c[o+24>>2]&4|0){T=0;break}p=c[ka>>2]|0;p=(p|0)==0?f:p;q=p+116|0;k=c[q>>2]|0;r:do if(!k)ra=431;else while(1){if((c[k+4>>2]|0)==(ua|0))break r;k=c[k>>2]|0;if(!k){ra=431;break}}while(0);if((ra|0)==431){s:do if(c[o+264>>2]|0)if(!(a[o+73>>0]|0))ra=439;else{T=0;break q}else{do if((e[o+268>>1]|0)<16)k=1;else{n=o+292|0;k=c[n>>2]|0;if(k|0){c[n>>2]=c[k>>2];Y=o+276|0;c[Y>>2]=(c[Y>>2]|0)+1;break s}n=o+288|0;k=c[n>>2]|0;if(!k){k=2;break}c[n>>2]=c[k>>2];Y=o+276|0;c[Y>>2]=(c[Y>>2]|0)+1;break s}while(0);ra=o+276+(k<<2)|0;c[ra>>2]=(c[ra>>2]|0)+1;ra=439}while(0);if((ra|0)==439)k=Ec(o,16,0)|0;if(!k){T=0;break}c[k>>2]=c[q>>2];c[q>>2]=k;c[k+4>>2]=ua;c[k+8>>2]=S;Y=p+44|0;X=c[Y>>2]|0;c[k+12>>2]=X+2;c[Y>>2]=X+3}T=c[k+12>>2]|0}while(0);F=f+44|0;X=c[F>>2]|0;W=X+1|0;Y=ua+42|0;k=b[Y>>1]|0;D=k<<16>>16;E=D+W|0;c[F>>2]=E;V=(c[ja>>2]|0)==0;E=((V^1)&1)+E|0;c[F>>2]=E;X=V?W:X+2|0;V=X+1|0;p=((c[O>>2]|0)>>>7&1^1)&255;U=(i|0)!=0;t:do if(U){B=c[i+4>>2]|0;if((B|0)<=0){z=-1;break}C=c[i>>2]|0;n=0;do{c[C+(n<<3)+4>>2]=-1;n=n+1|0}while((n|0)!=(B|0));x=ua+4|0;y=ua+40|0;z=(ga|0)!=0;A=k<<16>>16>0;n=-1;w=0;while(1){u:do if(A){t=c[C+(w<<3)>>2]|0;u=c[x>>2]|0;O=a[t>>0]|0;v=a[17324+(O&255)>>0]|0;v:do if(!(O<<24>>24)){o=0;while(1){if(v<<24>>24==(a[17324+(d[c[u+(o<<4)>>2]>>0]|0)>>0]|0))break v;o=o+1|0;if((o|0)>=(D|0)){q=o;break u}}}else{o=0;while(1){q=c[u+(o<<4)>>2]|0;if(v<<24>>24==(a[17324+(d[q>>0]|0)>>0]|0)){r=t;do{r=r+1|0;q=q+1|0;O=a[r>>0]|0;s=(d[17324+(O&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(O<<24>>24==0|(s|0)!=0));if(!s)break v}o=o+1|0;if((o|0)>=(D|0)){q=o;break u}}}while(0);c[C+(w<<3)+4>>2]=o;q=o;n=(o|0)==(b[y>>1]|0)?w:n;p=(w|0)==(o|0)?p:0}else q=0;while(0);if((q|0)>=(D|0)){s=c[C+(w<<3)>>2]|0;r=a[s>>0]|0;q=d[17324+(r&255)>>0]|0;n=q+-95|0;r=r<<24>>24==0;if(!(r|(n|0)!=0)){o=28078;p=s;do{p=p+1|0;o=o+1|0;O=a[p>>0]|0;n=(d[17324+(O&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(O<<24>>24==0|(n|0)!=0))}do if(!n)n=1;else{n=q+-114|0;if(!(r|(n|0)!=0)){o=28086;p=s;do{p=p+1|0;o=o+1|0;O=a[p>>0]|0;n=(d[17324+(O&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(O<<24>>24==0|(n|0)!=0))}if(!n){n=1;break}n=q+-111|0;if(!(r|(n|0)!=0)){o=28092;p=s;do{p=p+1|0;o=o+1|0;O=a[p>>0]|0;n=(d[17324+(O&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(O<<24>>24==0|(n|0)!=0))}n=(n|0)==0&1}while(0);if(z|(n|0)==0)break;else{n=w;p=0}}w=w+1|0;if((w|0)>=(B|0)){z=n;break t}}c[P>>2]=g;c[P+4>>2]=0;c[P+8>>2]=s;hg(f,32686,P);a[f+17>>0]=1;k=0;ra=874;break a}else z=-1;while(0);w:do if(ma){o=E+1|0;c[F>>2]=o;u=oa+136|0;q=c[u>>2]|0;n=q+1|0;v=oa+12|0;if((c[(c[v>>2]|0)+48>>2]|0)>(q|0)){c[u>>2]=n;_=c[oa+88>>2]|0;a[_+(q*20|0)>>0]=15;b[_+(q*20|0)+2>>1]=0;c[_+(q*20|0)+4>>2]=o;c[_+(q*20|0)+8>>2]=0;c[_+(q*20|0)+12>>2]=n;c[_+(q*20|0)+16>>2]=0;a[_+(q*20|0)+1>>0]=0}else{zi(oa,15,o,0,n)|0;k=b[Y>>1]|0}a[Q>>0]=13;c[da>>2]=o;c[Q+16>>2]=0;x=Q+8|0;c[x>>2]=p<<24>>24?V:0;c[Q+12>>2]=k<<16>>16;_=Vi(f,h,Q)|0;x=c[x>>2]|0;if(_|0){k=0;ra=874;break a}if(a[ca>>0]|0){k=0;ra=874;break a}if(c[R>>2]|0){k=0;ra=874;break a}k=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(k|0)){n=k+1|0;c[u>>2]=n;_=c[oa+88>>2]|0;a[_+(k*20|0)>>0]=64;b[_+(k*20|0)+2>>1]=0;c[_+(k*20|0)+4>>2]=o;c[_+(k*20|0)+8>>2]=0;c[_+(k*20|0)+12>>2]=0;c[_+(k*20|0)+16>>2]=0;a[_+(k*20|0)+1>>0]=0}else{zi(oa,64,o,0,0)|0;n=c[u>>2]|0}_=c[v>>2]|0;a[_+19>>0]=0;c[_+28>>2]=0;if(!(a[(c[oa>>2]|0)+73>>0]|0))k=(c[oa+88>>2]|0)+(((q|0)<0?n+-1|0:q)*20|0)|0;else k=46708;c[k+8>>2]=n;w=c[c[h>>2]>>2]|0;x:do if(!la){k=c[fa>>2]|0;if(!k){do if(!(c[ka>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);k=yi(f)|0}t=c[k+136>>2]|0;y:do if(!(c[ja>>2]|0))n=0;else{o=c[f>>2]|0;n=c[ua+64>>2]|0;if(!n){n=0;break}while(1){if((c[n>>2]|0)==(o|0))break y;n=c[n+24>>2]|0;if(!n){n=0;break}}}while(0);if((t|0)<=1){Q=x;S=0;s=0;I=w;break w}r=ua+28|0;s=ua+8|0;if(!(a[(c[k>>2]|0)+73>>0]|0)){p=c[k+88>>2]|0;o=1;while(1){z:do switch(a[p+(o*20|0)>>0]|0){case 104:{if((c[p+(o*20|0)+12>>2]|0)!=(S|0))break z;q=c[p+(o*20|0)+8>>2]|0;if((q|0)==(c[r>>2]|0))break x;k=c[s>>2]|0;if(!k)break z;do{if((q|0)==(c[k+44>>2]|0))break x;k=c[k+20>>2]|0}while((k|0)!=0);break}case -100:{if((c[p+(o*20|0)+16>>2]|0)==(n|0))break x;break}default:{}}while(0);o=o+1|0;if((o|0)>=(t|0)){Q=x;S=0;s=0;I=w;break w}}}_=a[46708]|0;o=(c[11680]|0)==(S|0);q=c[11679]|0;k=(c[11681]|0)==(n|0);n=_<<24>>24!=-100|k^1;switch(_<<24>>24){case 104:break;case -100:if(k)break x;else{Q=x;S=0;s=0;I=w;break w}default:{Q=x;S=0;s=0;I=w;break w}}if(!k){if(!o){Q=x;S=0;s=0;I=w;break w}if((q|0)==(c[r>>2]|0))break;k=c[s>>2]|0;if(!n){n=1;while(1){if(k|0)break;n=n+1|0;if((n|0)>=(t|0)){Q=x;S=0;s=0;I=w;break w}else k=0}while(1){if((q|0)==(c[k+44>>2]|0))break x;k=c[k+20>>2]|0;if(!k)break x}}if(!k){Q=x;S=0;s=0;I=w;break w}else o=1;while(1){n=k;do{if((q|0)==(c[n+44>>2]|0))break x;n=c[n+20>>2]|0}while((n|0)!=0);o=o+1|0;if((o|0)>=(t|0)){Q=x;S=0;s=0;I=w;break w}}}if(!o){Q=x;S=0;s=0;I=w;break w}k=(q|0)==(c[r>>2]|0);if(n){if(k)break;k=c[s>>2]|0;p=(k|0)==0;o=1;while(1){if(!p){n=k;do{if((q|0)==(c[n+44>>2]|0))break x;n=c[n+20>>2]|0}while((n|0)!=0)}o=o+1|0;if((o|0)>=(t|0)){Q=x;S=0;s=0;I=w;break w}}}else{if(k)break;k=c[s>>2]|0;n=1;while(1){if(k|0)break;n=n+1|0;if((n|0)>=(t|0)){Q=x;S=0;s=0;I=w;break w}else k=0}do{if((q|0)==(c[k+44>>2]|0))break x;k=c[k+20>>2]|0}while((k|0)!=0)}}while(0);s=f+40|0;t=c[s>>2]|0;c[s>>2]=t+1;s=f+19|0;n=a[s>>0]|0;do if(n<<24>>24){_=n+-1<<24>>24;a[s>>0]=_;k=c[f+348+((_&255)<<2)>>2]|0;if(!(_<<24>>24)){n=c[F>>2]|0;ra=536;break}else{r=n+-2<<24>>24;a[s>>0]=r;r=c[f+348+((r&255)<<2)>>2]|0;break}}else{n=(c[F>>2]|0)+1|0;c[F>>2]=n;k=n;ra=536}while(0);if((ra|0)==536){r=n+1|0;c[F>>2]=r}n=c[u>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[u>>2]=o;_=c[oa+88>>2]|0;a[_+(n*20|0)>>0]=108;b[_+(n*20|0)+2>>1]=0;c[_+(n*20|0)+4>>2]=t;c[_+(n*20|0)+8>>2]=w;c[_+(n*20|0)+12>>2]=0;c[_+(n*20|0)+16>>2]=0;a[_+(n*20|0)+1>>0]=0}else{zi(oa,108,t,w,0)|0;o=c[u>>2]|0}n=c[da>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(o|0)){_=o+1|0;c[u>>2]=_;p=c[oa+88>>2]|0;a[p+(o*20|0)>>0]=16;b[p+(o*20|0)+2>>1]=0;c[p+(o*20|0)+4>>2]=n;c[p+(o*20|0)+8>>2]=0;c[p+(o*20|0)+12>>2]=0;c[p+(o*20|0)+16>>2]=0;a[p+(o*20|0)+1>>0]=0;p=o;n=_}else{p=zi(oa,16,n,0,0)|0;n=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(n|0)){_=n+1|0;c[u>>2]=_;Z=c[oa+88>>2]|0;a[Z+(n*20|0)>>0]=99;b[Z+(n*20|0)+2>>1]=0;c[Z+(n*20|0)+4>>2]=x;c[Z+(n*20|0)+8>>2]=w;c[Z+(n*20|0)+12>>2]=k;c[Z+(n*20|0)+16>>2]=0;a[Z+(n*20|0)+1>>0]=0;n=_}else{zi(oa,99,x,w,k)|0;n=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(n|0)){_=n+1|0;c[u>>2]=_;Z=c[oa+88>>2]|0;a[Z+(n*20|0)>>0]=115;b[Z+(n*20|0)+2>>1]=0;c[Z+(n*20|0)+4>>2]=t;c[Z+(n*20|0)+8>>2]=r;c[Z+(n*20|0)+12>>2]=0;c[Z+(n*20|0)+16>>2]=0;a[Z+(n*20|0)+1>>0]=0;n=_}else{zi(oa,115,t,r,0)|0;n=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(n|0)){_=n+1|0;c[u>>2]=_;Z=c[oa+88>>2]|0;a[Z+(n*20|0)>>0]=116;b[Z+(n*20|0)+2>>1]=0;c[Z+(n*20|0)+4>>2]=t;c[Z+(n*20|0)+8>>2]=k;c[Z+(n*20|0)+12>>2]=r;c[Z+(n*20|0)+16>>2]=0;a[Z+(n*20|0)+1>>0]=0;n=_}else{zi(oa,116,t,k,r)|0;n=c[u>>2]|0}if((c[(c[v>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[u>>2]=o;_=c[oa+88>>2]|0;a[_+(n*20|0)>>0]=13;b[_+(n*20|0)+2>>1]=0;c[_+(n*20|0)+4>>2]=0;c[_+(n*20|0)+8>>2]=p;c[_+(n*20|0)+12>>2]=0;c[_+(n*20|0)+16>>2]=0;a[_+(n*20|0)+1>>0]=0}else{zi(oa,13,0,p,0)|0;o=c[u>>2]|0}if(!(a[(c[oa>>2]|0)+73>>0]|0))n=(c[oa+88>>2]|0)+(((p|0)<0?o+-1|0:p)*20|0)|0;else n=46708;c[n+8>>2]=o;A:do if(k|0){q=a[s>>0]|0;if((q&255)>=8)break;n=a[f+25>>0]|0;B:do if(n<<24>>24){p=n&255;n=0;o=f+148|0;while(1){if((c[o+12>>2]|0)==(k|0))break;n=n+1|0;if((n|0)>=(p|0))break B;else o=o+20|0}a[o+6>>0]=1;break A}while(0);a[s>>0]=q+1<<24>>24;c[f+348+((q&255)<<2)>>2]=k}while(0);if(!r){Q=x;S=t;s=1;I=w;break}p=a[s>>0]|0;if((p&255)>=8){Q=x;S=t;s=1;I=w;break}k=a[f+25>>0]|0;C:do if(k<<24>>24){o=k&255;k=0;n=f+148|0;while(1){if((c[n+12>>2]|0)==(r|0))break;k=k+1|0;if((k|0)>=(o|0))break C;else n=n+20|0}a[n+6>>0]=1;Q=x;S=t;s=1;I=w;break w}while(0);a[s>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=r;Q=x;S=t;s=1;I=w}else{S=Z+4|0;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;c[S+12>>2]=0;c[S+16>>2]=0;c[S+20>>2]=0;c[S+24>>2]=0;c[Z>>2]=f;D:do if(!va)k=0;else{k=c[va>>2]|0;if((k|0)<=0)break;t=Z+28|0;u=qa+4|0;v=qa+8|0;w=qa+12|0;x=qa+24|0;y=Z+24|0;s=0;n=0;while(1){r=c[va+4+(s*20|0)>>2]|0;if(r){q=n&65535;b[t>>1]=q&61423;n=c[Z>>2]|0;c[qa>>2]=n;c[u>>2]=184;c[v>>2]=185;c[w>>2]=0;c[x>>2]=Z;p=r+24|0;o=n+408|0;S=(c[o>>2]|0)+(c[p>>2]|0)|0;c[o>>2]=S;o=c[(c[n>>2]|0)+112>>2]|0;if((o|0)<(S|0)){ra=581;break}$j(qa,r)|0;o=c[qa>>2]|0;n=o+408|0;c[n>>2]=(c[n>>2]|0)-(c[p>>2]|0);n=b[t>>1]|0;if(n&16){S=r+4|0;c[S>>2]=c[S>>2]|2}n=(n&65535|q&4112)&65535;b[t>>1]=n;if((c[y>>2]|0)>0){ra=585;break}if((c[o+36>>2]|0)>0)break}s=s+1|0;if((s|0)>=(c[va>>2]|0))break D}if((ra|0)==581){c[_>>2]=o;hg(n,24905,_)}ag(wa,g);k=0;break a}while(0);Q=0;S=-1;s=0;I=k}while(0);if(ha&(I|0)>0)N=b[ua+40>>1]|0;else N=z;_=b[Y>>1]|0;p=_<<16>>16;if(_<<16>>16>0){o=c[ua+4>>2]|0;k=0;n=0;do{k=((d[o+(n<<4)+15>>0]|0)>>>1&1)+k|0;n=n+1|0}while((n|0)!=(p|0))}else k=0;do if(ha&(I|0)!=0){k=p-k|0;if((I|0)==(k|0))break;c[aa>>2]=g;c[aa+4>>2]=0;c[aa+8>>2]=k;c[aa+12>>2]=I;hg(f,32718,aa);k=0;ra=874;break a}while(0);do if(U){k=c[i+4>>2]|0;if((I|0)==(k|0))break;c[ba>>2]=I;c[ba+4>>2]=k;hg(f,32770,ba);k=0;ra=874;break a}while(0);R=wa+28|0;do if(c[R>>2]&128){o=(c[F>>2]|0)+1|0;c[F>>2]=o;k=oa+136|0;n=c[k>>2]|0;if((c[(c[oa+12>>2]|0)+48>>2]|0)>(n|0)){c[k>>2]=n+1;ba=c[oa+88>>2]|0;a[ba+(n*20|0)>>0]=67;b[ba+(n*20|0)+2>>1]=0;c[ba+(n*20|0)+4>>2]=0;c[ba+(n*20|0)+8>>2]=o;c[ba+(n*20|0)+12>>2]=0;c[ba+(n*20|0)+16>>2]=0;a[ba+(n*20|0)+1>>0]=0;break}else{zi(oa,67,0,o,0)|0;break}}else o=0;while(0);do if(ea){H=0;k=0}else{r=zl(f,ua,105,0,-1,0,sa,ta)|0;p=(r<<2)+4|0;E:do if(c[wa+264>>2]|0)if(!(a[ca>>0]|0))ra=613;else{k=0;ra=874;break a}else{do if(0<0|(0==0?(e[wa+268>>1]|0)>>>0

    >>0:0))k=1;else{k=wa+292|0;n=c[k>>2]|0;if(n|0){c[k>>2]=c[n>>2];ca=wa+276|0;c[ca>>2]=(c[ca>>2]|0)+1;break E}k=wa+288|0;n=c[k>>2]|0;if(!n){k=2;break}c[k>>2]=c[n>>2];ca=wa+276|0;c[ca>>2]=(c[ca>>2]|0)+1;break E}while(0);ra=wa+276+(k<<2)|0;c[ra>>2]=(c[ra>>2]|0)+1;ra=613}while(0);if((ra|0)==613)n=Ec(wa,p,0)|0;if(!n){k=0;ra=874;break a}if((r|0)<=0){H=n;k=n;break}k=ua+8|0;p=0;q=c[F>>2]|0;while(1){k=c[k>>2]|0;ca=q+1|0;c[F>>2]=ca;c[n+(p<<2)>>2]=ca;q=(c[F>>2]|0)+(e[k+52>>1]|0)|0;c[F>>2]=q;p=p+1|0;if((p|0)==(r|0)){H=n;k=n;break}else k=k+20|0}}while(0);O=s<<24>>24!=0;do if(O){p=oa+136|0;n=c[p>>2]|0;q=oa+12|0;if((c[(c[q>>2]|0)+48>>2]|0)>(n|0)){M=n+1|0;c[p>>2]=M;P=c[oa+88>>2]|0;a[P+(n*20|0)>>0]=37;b[P+(n*20|0)+2>>1]=0;c[P+(n*20|0)+4>>2]=S;c[P+(n*20|0)+8>>2]=0;c[P+(n*20|0)+12>>2]=0;c[P+(n*20|0)+16>>2]=0;a[P+(n*20|0)+1>>0]=0;P=n;L=q;break}else{P=zi(oa,37,S,0,0)|0;M=c[p>>2]|0;L=q;break}}else{if(!ma){P=0;M=0;L=oa+12|0;break}n=c[da>>2]|0;p=oa+136|0;q=c[p>>2]|0;r=oa+12|0;if((c[(c[r>>2]|0)+48>>2]|0)>(q|0)){c[p>>2]=q+1;P=c[oa+88>>2]|0;a[P+(q*20|0)>>0]=16;b[P+(q*20|0)+2>>1]=0;c[P+(q*20|0)+4>>2]=n;c[P+(q*20|0)+8>>2]=0;c[P+(q*20|0)+12>>2]=0;c[P+(q*20|0)+16>>2]=0;a[P+(q*20|0)+1>>0]=0;P=q;M=q;L=r;break}else{M=zi(oa,16,n,0,0)|0;P=M;L=r;break}}while(0);n=c[L>>2]|0;s=n+68|0;K=c[s>>2]|0;c[s>>2]=K+1;s=n+72|0;if(!(K+-1&K)){p=c[n>>2]|0;q=c[s>>2]|0;n=Mc(p,q,K<<3|4,0)|0;F:do if(!((q|0)==0|(n|0)!=0)){do if(p|0){if(c[p+464>>2]|0){Lc(p,q);break F}r=q;if(r>>>0<(c[p+296>>2]|0)>>>0)break;if(r>>>0>=(c[p+300>>2]|0)>>>0)break;da=p+292|0;c[q>>2]=c[da>>2];c[da>>2]=q;break F}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{da=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-da;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[s>>2]=n}else n=c[s>>2]|0;if(n|0)c[n+(K<<2)>>2]=-1;J=~K;G:do if($&1|0){da=b[Y>>1]|0;n=da<<16>>16;p=n+1|0;do if(!(da<<16>>16)){n=f+19|0;p=a[n>>0]|0;if(!(p<<24>>24)){r=(c[F>>2]|0)+1|0;c[F>>2]=r;break}else{r=p+-1<<24>>24;a[n>>0]=r;r=c[f+348+((r&255)<<2)>>2]|0;break}}else{q=f+32|0;r=c[q>>2]|0;s=f+28|0;t=c[s>>2]|0;if((t|0)>(n|0)){c[q>>2]=r+p;c[s>>2]=t-p;break}else{r=c[F>>2]|0;c[F>>2]=r+p;r=r+1|0;break}}while(0);do if((N|0)<0){n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;da=c[oa+88>>2]|0;a[da+(p*20|0)>>0]=67;b[da+(p*20|0)+2>>1]=0;c[da+(p*20|0)+4>>2]=-1;c[da+(p*20|0)+8>>2]=r;c[da+(p*20|0)+12>>2]=0;c[da+(p*20|0)+16>>2]=0;a[da+(p*20|0)+1>>0]=0;break}else{zi(oa,67,-1,r,0)|0;break}}else{do if(O){n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;da=c[oa+88>>2]|0;a[da+(p*20|0)>>0]=96;b[da+(p*20|0)+2>>1]=0;c[da+(p*20|0)+4>>2]=S;c[da+(p*20|0)+8>>2]=N;c[da+(p*20|0)+12>>2]=r;c[da+(p*20|0)+16>>2]=0;a[da+(p*20|0)+1>>0]=0;break}else{zi(oa,96,S,N,r)|0;break}}else{Di(f,c[va+4+(N*20|0)>>2]|0,r);n=oa+136|0}while(0);p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){q=p+1|0;c[n>>2]=q;da=c[oa+88>>2]|0;a[da+(p*20|0)>>0]=51;b[da+(p*20|0)+2>>1]=0;c[da+(p*20|0)+4>>2]=r;c[da+(p*20|0)+8>>2]=0;c[da+(p*20|0)+12>>2]=0;c[da+(p*20|0)+16>>2]=0;a[da+(p*20|0)+1>>0]=0}else{p=zi(oa,51,r,0,0)|0;q=c[n>>2]|0}if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){da=q+1|0;c[n>>2]=da;ca=c[oa+88>>2]|0;a[ca+(q*20|0)>>0]=67;b[ca+(q*20|0)+2>>1]=0;c[ca+(q*20|0)+4>>2]=-1;c[ca+(q*20|0)+8>>2]=r;c[ca+(q*20|0)+12>>2]=0;c[ca+(q*20|0)+16>>2]=0;a[ca+(q*20|0)+1>>0]=0;q=da}else{zi(oa,67,-1,r,0)|0;q=c[n>>2]|0}if(!(a[(c[oa>>2]|0)+73>>0]|0))p=(c[oa+88>>2]|0)+(((p|0)<0?q+-1|0:p)*20|0)|0;else p=46708;c[p+8>>2]=q;if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){c[n>>2]=q+1;da=c[oa+88>>2]|0;a[da+(q*20|0)>>0]=17;b[da+(q*20|0)+2>>1]=0;c[da+(q*20|0)+4>>2]=r;c[da+(q*20|0)+8>>2]=0;c[da+(q*20|0)+12>>2]=0;c[da+(q*20|0)+16>>2]=0;a[da+(q*20|0)+1>>0]=0;break}else{zi(oa,17,r,0,0)|0;break}}while(0);n=b[Y>>1]|0;if(n<<16>>16>0){x=i+4|0;D=(va|0)!=0|O;y=r+1|0;z=oa+136|0;A=oa+88|0;B=ha&1;C=ua+4|0;n=0;w=0;while(1){H:do if(U){p=c[x>>2]|0;if((p|0)<=0){v=0;break}q=c[i>>2]|0;n=0;while(1){if((c[q+(n<<3)+4>>2]|0)==(w|0)){v=n;break H}n=n+1|0;if((n|0)>=(p|0)){v=n;break}}}else v=n;while(0);do if(D){if(U?(v|0)>=(c[x>>2]|0):0){ra=681;break}u=w+y|0;if(O){n=c[z>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){c[z>>2]=n+1;da=c[A>>2]|0;a[da+(n*20|0)>>0]=96;b[da+(n*20|0)+2>>1]=0;c[da+(n*20|0)+4>>2]=S;c[da+(n*20|0)+8>>2]=v;c[da+(n*20|0)+12>>2]=u;c[da+(n*20|0)+16>>2]=0;a[da+(n*20|0)+1>>0]=0;break}else{zi(oa,96,S,v,u)|0;break}}n=c[va+4+(v*20|0)>>2]|0;p=c[fa>>2]|0;Di(f,n,u);q=(c[F>>2]|0)+1|0;c[F>>2]=q;s=p+136|0;t=c[s>>2]|0;if((c[(c[p+12>>2]|0)+48>>2]|0)>(t|0)){c[s>>2]=t+1;da=c[p+88>>2]|0;a[da+(t*20|0)>>0]=75;b[da+(t*20|0)+2>>1]=0;c[da+(t*20|0)+4>>2]=u;c[da+(t*20|0)+8>>2]=q;c[da+(t*20|0)+12>>2]=0;c[da+(t*20|0)+16>>2]=0;a[da+(t*20|0)+1>>0]=0}else zi(p,75,u,q,0)|0;a[n+38>>0]=a[n>>0]|0;a[n>>0]=-106;c[n+28>>2]=q;da=n+4|0;c[da>>2]=c[da>>2]&-4097}else ra=681;while(0);if((ra|0)==681){ra=0;Di(f,c[(c[C>>2]|0)+(w<<4)+4>>2]|0,w+y|0)}w=w+1|0;n=b[Y>>1]|0;if((w|0)>=(n<<16>>16|0))break;else n=v+B|0}}if(!ea){Kl(oa,ua,r+1|0);n=b[Y>>1]|0}p=r+-1-(n<<16>>16)|0;if(ia){n=m;do{do if((a[n+8>>0]|0)==108){if((a[n+9>>0]|0)!=1)break;Ll(f,n,ua,p,j,J)}while(0);n=c[n+32>>2]|0}while((n|0)!=0);n=b[Y>>1]|0}z=n<<16>>16;A=z+1|0;if(!(n<<16>>16)){if(!r)break;s=f+19|0;t=a[s>>0]|0;if((t&255)>=8)break;n=a[f+25>>0]|0;I:do if(n<<24>>24){q=n&255;n=0;p=f+148|0;while(1){if((c[p+12>>2]|0)==(r|0))break;n=n+1|0;if((n|0)>=(q|0))break I;else p=p+20|0}a[p+6>>0]=1;break G}while(0);a[s>>0]=t+1<<24>>24;c[f+348+((t&255)<<2)>>2]=r;break}w=f+25|0;n=a[w>>0]|0;J:do if(n<<24>>24){x=A+r|0;y=f+19|0;v=0;do{s=f+148+(v*20|0)+12|0;t=f+148+(v*20|0)|0;u=f+148+(v*20|0)+6|0;while(1){p=c[s>>2]|0;if(!((p|0)>=(r|0)&(p|0)<(x|0)))break;do if(a[u>>0]|0){q=a[y>>0]|0;if((q&255)>=8)break;a[y>>0]=q+1<<24>>24;c[f+348+((q&255)<<2)>>2]=p}while(0);n=n+-1<<24>>24;a[w>>0]=n;p=n&255;if((p|0)>(v|0)){n=f+148+(p*20|0)|0;c[t>>2]=c[n>>2];c[t+4>>2]=c[n+4>>2];c[t+8>>2]=c[n+8>>2];c[t+12>>2]=c[n+12>>2];c[t+16>>2]=c[n+16>>2];n=a[w>>0]|0}if((v|0)>=(n&255|0))break J}v=v+1|0}while((v|0)<(n&255|0))}while(0);n=f+28|0;if((c[n>>2]|0)>(z|0))break;c[n>>2]=A;c[f+32>>2]=r}while(0);do if(!ea){do if(c[ja>>2]|0){n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;ea=c[oa+88>>2]|0;a[ea+(p*20|0)>>0]=70;b[ea+(p*20|0)+2>>1]=0;c[ea+(p*20|0)+4>>2]=0;c[ea+(p*20|0)+8>>2]=W;c[ea+(p*20|0)+12>>2]=0;c[ea+(p*20|0)+16>>2]=0;a[ea+(p*20|0)+1>>0]=0;break}else{zi(oa,70,0,W,0)|0;break}}while(0);K:do if((N|0)>-1){do if(O){n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;ra=c[oa+88>>2]|0;a[ra+(p*20|0)>>0]=96;b[ra+(p*20|0)+2>>1]=0;c[ra+(p*20|0)+4>>2]=S;c[ra+(p*20|0)+8>>2]=N;c[ra+(p*20|0)+12>>2]=X;c[ra+(p*20|0)+16>>2]=0;a[ra+(p*20|0)+1>>0]=0;ra=739;break}else{zi(oa,96,S,N,X)|0;ra=739;break}}else{if(ma){n=N+Q|0;p=oa+136|0;q=c[p>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){c[p>>2]=q+1;ra=c[oa+88>>2]|0;a[ra+(q*20|0)>>0]=75;b[ra+(q*20|0)+2>>1]=0;c[ra+(q*20|0)+4>>2]=n;c[ra+(q*20|0)+8>>2]=X;c[ra+(q*20|0)+12>>2]=0;c[ra+(q*20|0)+16>>2]=0;a[ra+(q*20|0)+1>>0]=0;ra=739;break}else{zi(oa,75,n,X,0)|0;ra=739;break}}Di(f,c[va+4+(N*20|0)>>2]|0,X);if(!(a[(c[oa>>2]|0)+73>>0]|0))n=(c[oa+88>>2]|0)+(((c[oa+136>>2]|0)+-1|0)*20|0)|0;else n=46708;if((a[n>>0]|0)!=70){ra=739;break}if(c[ja>>2]|0){ra=749;break}a[n>>0]=115;c[n+4>>2]=c[sa>>2];c[n+8>>2]=X;c[n+12>>2]=T;G=1;break K}while(0);do if((ra|0)==739){if(c[ja>>2]|0){ra=749;break}p=oa+136|0;n=c[p>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){r=n+1|0;c[p>>2]=r;ga=c[oa+88>>2]|0;a[ga+(n*20|0)>>0]=51;b[ga+(n*20|0)+2>>1]=0;c[ga+(n*20|0)+4>>2]=X;c[ga+(n*20|0)+8>>2]=0;c[ga+(n*20|0)+12>>2]=0;c[ga+(n*20|0)+16>>2]=0;a[ga+(n*20|0)+1>>0]=0}else{n=zi(oa,51,X,0,0)|0;r=c[p>>2]|0}q=c[sa>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(r|0)){ga=r+1|0;c[p>>2]=ga;ea=c[oa+88>>2]|0;a[ea+(r*20|0)>>0]=115;b[ea+(r*20|0)+2>>1]=0;c[ea+(r*20|0)+4>>2]=q;c[ea+(r*20|0)+8>>2]=X;c[ea+(r*20|0)+12>>2]=T;c[ea+(r*20|0)+16>>2]=0;a[ea+(r*20|0)+1>>0]=0;q=ga}else{zi(oa,115,q,X,T)|0;q=c[p>>2]|0}if(!(a[(c[oa>>2]|0)+73>>0]|0))n=(c[oa+88>>2]|0)+(((n|0)<0?q+-1|0:n)*20|0)|0;else n=46708;c[n+8>>2]=q;n=q}while(0);do if((ra|0)==749){q=oa+136|0;n=c[q>>2]|0;p=n+2|0;if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){ga=n+1|0;c[q>>2]=ga;ea=c[oa+88>>2]|0;a[ea+(n*20|0)>>0]=50;b[ea+(n*20|0)+2>>1]=0;c[ea+(n*20|0)+4>>2]=X;c[ea+(n*20|0)+8>>2]=p;c[ea+(n*20|0)+12>>2]=0;c[ea+(n*20|0)+16>>2]=0;a[ea+(n*20|0)+1>>0]=0;p=q;n=ga;break}else{zi(oa,50,X,p,0)|0;p=q;n=c[q>>2]|0;break}}while(0);if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){c[p>>2]=n+1;G=c[oa+88>>2]|0;a[G+(n*20|0)>>0]=17;b[G+(n*20|0)+2>>1]=0;c[G+(n*20|0)+4>>2]=X;c[G+(n*20|0)+8>>2]=0;c[G+(n*20|0)+12>>2]=0;c[G+(n*20|0)+16>>2]=0;a[G+(n*20|0)+1>>0]=0;G=0;break}else{zi(oa,17,X,0,0)|0;G=0;break}}else if(!(c[ja>>2]|ga)){n=c[sa>>2]|0;p=oa+136|0;q=c[p>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){c[p>>2]=q+1;G=c[oa+88>>2]|0;a[G+(q*20|0)>>0]=115;b[G+(q*20|0)+2>>1]=0;c[G+(q*20|0)+4>>2]=n;c[G+(q*20|0)+8>>2]=X;c[G+(q*20|0)+12>>2]=T;c[G+(q*20|0)+16>>2]=0;a[G+(q*20|0)+1>>0]=0;G=1;break}else{zi(oa,115,n,X,T)|0;G=1;break}}else{n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;G=c[oa+88>>2]|0;a[G+(p*20|0)>>0]=70;b[G+(p*20|0)+2>>1]=0;c[G+(p*20|0)+4>>2]=0;c[G+(p*20|0)+8>>2]=X;c[G+(p*20|0)+12>>2]=0;c[G+(p*20|0)+16>>2]=0;a[G+(p*20|0)+1>>0]=0;G=0;break}else{zi(oa,70,0,X,0)|0;G=0;break}}while(0);do if((T|0)>0){n=c[fa>>2]|0;p=n+136|0;q=c[p>>2]|0;if((c[(c[n+12>>2]|0)+48>>2]|0)>(q|0)){c[p>>2]=q+1;ga=c[n+88>>2]|0;a[ga+(q*20|0)>>0]=-110;b[ga+(q*20|0)+2>>1]=0;c[ga+(q*20|0)+4>>2]=T;c[ga+(q*20|0)+8>>2]=X;c[ga+(q*20|0)+12>>2]=0;c[ga+(q*20|0)+16>>2]=0;a[ga+(q*20|0)+1>>0]=0;break}else{zi(n,146,T,X,0)|0;break}}while(0);if((b[Y>>1]|0)>0){C=ua+40|0;D=oa+136|0;E=oa+88|0;F=ua+4|0;u=(I|0)==0;v=i+4|0;w=(Q|0)==(V|0);x=f+23|0;y=qa+20|0;z=qa+4|0;A=qa+8|0;B=qa+24|0;n=0;t=0;do{s=t+V|0;L:do if((t|0)==(b[C>>1]|0)){p=c[D>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[D>>2]=p+1;ga=c[E>>2]|0;a[ga+(p*20|0)>>0]=71;b[ga+(p*20|0)+2>>1]=0;c[ga+(p*20|0)+4>>2]=s;c[ga+(p*20|0)+8>>2]=0;c[ga+(p*20|0)+12>>2]=0;c[ga+(p*20|0)+16>>2]=0;a[ga+(p*20|0)+1>>0]=0;break}else{zi(oa,71,s,0,0)|0;break}}else{M:do if(ha)if(!(a[(c[F>>2]|0)+(t<<4)+15>>0]&2)){p=t-n|0;ra=780;break}else{n=n+1|0;break}else{q=c[v>>2]|0;if((q|0)<=0){p=0;ra=780;break}r=c[i>>2]|0;p=0;while(1){if((c[r+(p<<3)+4>>2]|0)==(t|0)){ra=780;break M}p=p+1|0;if((p|0)>=(q|0)){ra=780;break}}}while(0);do if((ra|0)==780){ra=0;if(u|(p|0)<0)break;if(U?(p|0)>=(c[v>>2]|0):0)break;if(O){q=c[D>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){c[D>>2]=q+1;ga=c[E>>2]|0;a[ga+(q*20|0)>>0]=96;b[ga+(q*20|0)+2>>1]=0;c[ga+(q*20|0)+4>>2]=S;c[ga+(q*20|0)+8>>2]=p;c[ga+(q*20|0)+12>>2]=s;c[ga+(q*20|0)+16>>2]=0;a[ga+(q*20|0)+1>>0]=0;break L}else{zi(oa,96,S,p,s)|0;break L}}if(!ma){Di(f,c[va+4+(p*20|0)>>2]|0,s);break L}if(w)break L;p=p+Q|0;q=c[D>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(q|0)){c[D>>2]=q+1;ga=c[E>>2]|0;a[ga+(q*20|0)>>0]=76;b[ga+(q*20|0)+2>>1]=0;c[ga+(q*20|0)+4>>2]=p;c[ga+(q*20|0)+8>>2]=s;c[ga+(q*20|0)+12>>2]=0;c[ga+(q*20|0)+16>>2]=0;a[ga+(q*20|0)+1>>0]=0;break L}else{zi(oa,76,p,s,0)|0;break L}}while(0);p=c[(c[F>>2]|0)+(t<<4)+4>>2]|0;do if(a[x>>0]|0){a[y>>0]=1;c[z>>2]=186;c[A>>2]=187;c[B>>2]=0;if(p){$j(qa,p)|0;if(!(a[y>>0]|0))break}Qk(f,p,s)|0;break L}while(0);Di(f,p,s)}while(0);t=t+1|0}while((t|0)<(b[Y>>1]|0))}if(!(c[ja>>2]|0)){Ml(f,ua,H,c[sa>>2]|0,c[ta>>2]|0,W,0,N>>>31&255^1,j&255,J,qa,0);Nl(f,ua,0,W,0,0);do if(!(c[qa>>2]|0))n=1;else{if(ia|0){n=0;break}if(!(c[R>>2]&16384)){n=1;break}n=(c[($f((c[pa>>2]|0)+56|0,c[ua>>2]|0,0)|0)+8>>2]|0)==0}while(0);Ol(f,ua,c[sa>>2]|0,c[ta>>2]|0,W,H,0,G,n&1);break}n=c[ua+64>>2]|0;N:do if(!n)u=0;else while(1){if((c[n>>2]|0)==(wa|0)){u=n;break N}n=c[n+24>>2]|0;if(!n){u=0;break}}while(0);r=c[ka>>2]|0;r=(r|0)==0?f:r;s=r+404|0;p=c[s>>2]|0;t=r+452|0;q=c[t>>2]|0;O:do if((p|0)>0){n=0;while(1){if((c[q+(n<<2)>>2]|0)==(ua|0))break O;n=n+1|0;if((n|0)>=(p|0)){ra=807;break}}}else ra=807;while(0);P:do if((ra|0)==807){do if(!(Nc()|0)){n=(p<<2)+4|0;n=Oc(q,n,((n|0)<0)<<31>>31)|0;if(!n)break;c[t>>2]=n;ta=c[s>>2]|0;c[s>>2]=ta+1;c[n+(ta<<2)>>2]=ua;break P}while(0);n=c[r>>2]|0;p=n+73|0;if(a[p>>0]|0)break;if(a[n+74>>0]|0)break;a[p>>0]=1;if((c[n+172>>2]|0)>0)c[n+256>>2]=1;ta=n+264|0;c[ta>>2]=(c[ta>>2]|0)+1}while(0);p=(b[Y>>1]|0)+2|0;r=oa+136|0;n=c[r>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){c[r>>2]=n+1;ta=c[oa+88>>2]|0;a[ta+(n*20|0)>>0]=12;b[ta+(n*20|0)+2>>1]=0;c[ta+(n*20|0)+4>>2]=1;c[ta+(n*20|0)+8>>2]=p;c[ta+(n*20|0)+12>>2]=W;c[ta+(n*20|0)+16>>2]=0;a[ta+(n*20|0)+1>>0]=0}else n=zi(oa,12,1,p,W)|0;do if(!(a[(c[oa>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[r>>2]|0)+-1|0;p=c[oa+88>>2]|0;q=p+(n*20|0)+1|0;if(a[q>>0]|0){Ai(oa,p+(n*20|0)|0,u,-12);break}if(!u)break;c[p+(n*20|0)+16>>2]=u;a[q>>0]=-12;ta=u+12|0;c[ta>>2]=(c[ta>>2]|0)+1}while(0);n=c[r>>2]|0;if((n|0)>0)b[(c[oa+88>>2]|0)+((n+-1|0)*20|0)+2>>1]=(j|0)==10?2:j&65535;ta=c[ka>>2]|0;a[((ta|0)==0?f:ta)+21>>0]=1}while(0);do if(c[R>>2]&128|0){n=oa+136|0;p=c[n>>2]|0;if((c[(c[L>>2]|0)+48>>2]|0)>(p|0)){c[n>>2]=p+1;ta=c[oa+88>>2]|0;a[ta+(p*20|0)>>0]=80;b[ta+(p*20|0)+2>>1]=0;c[ta+(p*20|0)+4>>2]=o;c[ta+(p*20|0)+8>>2]=1;c[ta+(p*20|0)+12>>2]=0;c[ta+(p*20|0)+16>>2]=0;a[ta+(p*20|0)+1>>0]=0;break}else{zi(oa,80,o,1,0)|0;break}}while(0);do if(la){n=X+-1-(b[Y>>1]|0)|0;if(!m)break;do{do if((a[m+8>>0]|0)==108){if((a[m+9>>0]|0)!=2)break;Ll(f,m,ua,n,j,J)}while(0);m=c[m+32>>2]|0}while((m|0)!=0)}while(0);q=c[L>>2]|0;m=c[q+72>>2]|0;if(m|0)c[m+(K<<2)>>2]=c[oa+136>>2];if(!O){if(!ma)break;m=oa+136|0;n=c[m>>2]|0;if((c[q+48>>2]|0)>(n|0)){j=n+1|0;c[m>>2]=j;ua=c[oa+88>>2]|0;a[ua+(n*20|0)>>0]=13;b[ua+(n*20|0)+2>>1]=0;c[ua+(n*20|0)+4>>2]=0;c[ua+(n*20|0)+8>>2]=M;c[ua+(n*20|0)+12>>2]=0;c[ua+(n*20|0)+16>>2]=0;a[ua+(n*20|0)+1>>0]=0;n=j}else{zi(oa,13,0,M,0)|0;n=c[m>>2]|0}if(!(a[(c[oa>>2]|0)+73>>0]|0))m=(c[oa+88>>2]|0)+(((P|0)<0?n+-1|0:P)*20|0)|0;else m=46708;c[m+8>>2]=n;break}p=oa+136|0;m=c[p>>2]|0;if((c[q+48>>2]|0)>(m|0)){n=m+1|0;c[p>>2]=n;j=c[oa+88>>2]|0;a[j+(m*20|0)>>0]=7;b[j+(m*20|0)+2>>1]=0;c[j+(m*20|0)+4>>2]=S;c[j+(m*20|0)+8>>2]=M;c[j+(m*20|0)+12>>2]=0;c[j+(m*20|0)+16>>2]=0;a[j+(m*20|0)+1>>0]=0}else{zi(oa,7,S,M,0)|0;n=c[p>>2]|0}if(!(a[(c[oa>>2]|0)+73>>0]|0))m=(c[oa+88>>2]|0)+(((P|0)<0?n+-1|0:P)*20|0)|0;else m=46708;c[m+8>>2]=n;if((c[(c[L>>2]|0)+48>>2]|0)>(n|0)){c[p>>2]=n+1;j=c[oa+88>>2]|0;a[j+(n*20|0)>>0]=112;b[j+(n*20|0)+2>>1]=0;c[j+(n*20|0)+4>>2]=S;c[j+(n*20|0)+8>>2]=0;c[j+(n*20|0)+12>>2]=0;c[j+(n*20|0)+16>>2]=0;a[j+(n*20|0)+1>>0]=0;break}else{zi(oa,112,S,0,0)|0;break}}while(0);do if(!(a[na>>0]|0)){if(c[f+124>>2]|0)break;if(!(c[f+116>>2]|0))break;Jl(f)}while(0);if(!(c[wa+28>>2]&128)){ra=874;break a}if(a[na>>0]|0){ra=874;break a}if(c[f+124>>2]|0){ra=874;break a}m=oa+136|0;n=c[m>>2]|0;if((c[(c[oa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;f=c[oa+88>>2]|0;a[f+(n*20|0)>>0]=78;b[f+(n*20|0)+2>>1]=0;c[f+(n*20|0)+4>>2]=o;c[f+(n*20|0)+8>>2]=1;c[f+(n*20|0)+12>>2]=0;c[f+(n*20|0)+16>>2]=0;a[f+(n*20|0)+1>>0]=0}else zi(oa,78,o,1,0)|0;vi(oa,1);if(a[(c[oa>>2]|0)+73>>0]|0){ra=874;break a}Ve(c[oa+100>>2]|0,32795,-1,1,0)|0;ra=874;break a}while(0);c[u>>2]=c[ua>>2];hg(f,32610,u);k=0;ra=874}else{k=0;ra=874}}else{k=0;ra=874}}else{pj(f,o)|0;k=0;ra=874}while(0);if((ra|0)==874){ag(wa,g);if(!va){r=k;break}}Rf(wa,va);r=k}else ra=873;while(0);if((ra|0)==873){ag(wa,g);r=0}if(h|0)Sf(wa,h,1);do if(i|0){q=i+4|0;h=c[i>>2]|0;Q:do if((c[q>>2]|0)>0){m=wa+464|0;n=wa+296|0;o=wa+300|0;p=wa+292|0;if(!wa){k=0;while(1){h=c[h+(k<<3)>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);k=k+1|0;h=c[i>>2]|0;if((k|0)>=(c[q>>2]|0))break Q}}else k=0;do{h=c[h+(k<<3)>>2]|0;do if(h|0){if(c[m>>2]|0){Lc(wa,h);break}g=h;if(g>>>0>=(c[n>>2]|0)>>>0?g>>>0<(c[o>>2]|0)>>>0:0){c[h>>2]=c[p>>2];c[p>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);k=k+1|0;h=c[i>>2]|0}while((k|0)<(c[q>>2]|0))}while(0);R:do if(h){do if(wa|0){k=wa+464|0;if(!(c[k>>2]|0)){m=h;if(m>>>0<(c[wa+296>>2]|0)>>>0)break;if(m>>>0>=(c[wa+300>>2]|0)>>>0)break;g=wa+292|0;c[h>>2]=c[g>>2];c[g>>2]=h}else Lc(wa,h);h=k;ra=909;break R}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);ra=907;break}else{ra=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-ra;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);ra=907;break}}else ra=907;while(0);if((ra|0)==907)if(wa){h=wa+464|0;ra=909}if((ra|0)==909){if(c[h>>2]|0){Lc(wa,i);break}g=i;if(g>>>0>=(c[wa+296>>2]|0)>>>0?g>>>0<(c[wa+300>>2]|0)>>>0:0){g=wa+292|0;c[i>>2]=c[g>>2];c[g>>2]=i;break}}if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{g=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if(!r){l=xa;return}if(wa|0){if(c[wa+464>>2]|0){Lc(wa,r);l=xa;return}g=r;if(g>>>0>=(c[wa+296>>2]|0)>>>0?g>>>0<(c[wa+300>>2]|0)>>>0:0){wa=wa+292|0;c[r>>2]=c[wa>>2];c[wa>>2]=r;l=xa;return}}if(!(c[2]|0)){pb[c[56>>2]&255](r);l=xa;return}else{wa=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);l=xa;return}}function dj(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;o=p;n=c[g>>2]|0;m=c[h>>2]|0;k=c[d>>2]|0;if((f|0)==44?(c[d+36>>2]|0)==0:0){i=mk(k,n,m)|0;if(!i)i=0;else j=24}else j=3;a:do if((j|0)==3){do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))j=11;else i=k;else{if((e[k+268>>1]|0)>=48){j=k+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];j=k+276|0;c[j>>2]=(c[j>>2]|0)+1;j=12;break}j=k+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];j=k+276|0;c[j>>2]=(c[j>>2]|0)+1;j=12;break}}else i=1;j=k+276+(i<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=11}while(0);if((j|0)==11){i=Ec(k,48,0)|0;j=12}do if((j|0)==12){if(!i){i=c[d>>2]|0;break}j=i;k=j+48|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));a[i>>0]=f;b[i+34>>1]=-1;if(!m)j=0;else{c[i+16>>2]=m;j=c[m+4>>2]&2097412;c[i+4>>2]=j}if(n|0){c[i+12>>2]=n;c[i+4>>2]=j|c[n+4>>2]&2097412}Ji(i);j=24;break a}while(0);if(n|0)Qf(i,n);if(!m)i=0;else{Qf(i,m);i=0}}while(0);if((j|0)==24){j=c[(c[d>>2]|0)+112>>2]|0;if((j|0)<(c[i+24>>2]|0)){c[o>>2]=j;hg(d,24905,o)}}c[g>>2]=i;c[g+8>>2]=c[h+8>>2];l=p;return}function ej(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;m=n;if(!f){l=n;return}k=c[g>>2]|0;i=c[d>>2]|0;do if(c[i+264>>2]|0)if(!(a[i+73>>0]|0))j=10;else j=13;else{if((e[i+268>>1]|0)>=48){h=i+292|0;f=c[h>>2]|0;if(f|0){c[h>>2]=c[f>>2];j=i+276|0;c[j>>2]=(c[j>>2]|0)+1;j=11;break}h=i+288|0;f=c[h>>2]|0;if(!f)f=2;else{c[h>>2]=c[f>>2];j=i+276|0;c[j>>2]=(c[j>>2]|0)+1;j=11;break}}else f=1;j=i+276+(f<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=10}while(0);if((j|0)==10){f=Ec(i,48,0)|0;j=11}if((j|0)==11)if(f){h=f;i=h+48|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));a[f>>0]=19;b[f+34>>1]=-1;if(k|0){c[f+12>>2]=k;c[f+4>>2]=c[k+4>>2]&2097412}Ji(f);h=c[(c[d>>2]|0)+112>>2]|0;if((h|0)<(c[f+24>>2]|0)){c[m>>2]=h;hg(d,24905,m)}}else j=13;if((j|0)==13)if(!k)f=0;else{Qf(c[d>>2]|0,k);f=0}c[g>>2]=f;l=n;return}function fj(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[d>>2]|0;if(a[g+157>>0]|0){d=0;return d|0}j=d+4|0;k=g+24|0;l=(c[k>>2]&1|0)==0;h=g+16|0;m=c[(c[h>>2]|0)+12>>2]|0;a[g+70>>0]=a[m+77>>0]|0;if(!((b[m+78>>1]&1)==0?(e=$k(g,0,j)|0,(e|0)!=0):0))f=4;a:do if((f|0)==4){e=c[g+20>>2]|0;if((e|0)>1)do{e=e+-1|0;if((b[(c[(c[h>>2]|0)+(e<<4)+12>>2]|0)+78>>1]&1)==0?(i=$k(g,e,j)|0,i|0):0){e=i;break a}}while((e|0)>1);if(!l){m=0;return m|0}c[k>>2]=c[k>>2]&-2;m=0;return m|0}while(0);c[d+12>>2]=e;m=d+36|0;c[m>>2]=(c[m>>2]|0)+1;m=e;return m|0}function gj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=b+20|0;g=c[n>>2]|0;if((g|0)<=0){n=0;return n|0}m=b+16|0;if(!f){b=0;do{g=c[($f((c[(c[m>>2]|0)+(((b|0)<2^b)<<4)+12>>2]|0)+24|0,e,0)|0)+8>>2]|0;if(g|0)break;b=b+1|0}while((b|0)<(c[n>>2]|0));n=g;return n|0}else{b=0;l=0}while(1){i=(l|0)<2^l;j=c[m>>2]|0;k=c[j+(i<<4)+12>>2]|0;i=c[j+(i<<4)>>2]|0;j=a[f>>0]|0;h=(d[17324+(j&255)>>0]|0)-(d[17324+(d[i>>0]|0)>>0]|0)|0;if(!(j<<24>>24==0|(h|0)!=0)){j=f;do{j=j+1|0;i=i+1|0;o=a[j>>0]|0;h=(d[17324+(o&255)>>0]|0)-(d[17324+(d[i>>0]|0)>>0]|0)|0}while(!(o<<24>>24==0|(h|0)!=0))}if(!h){b=c[($f(k+24|0,e,0)|0)+8>>2]|0;if(b|0){g=12;break}g=c[n>>2]|0}l=l+1|0;if((l|0)>=(g|0)){g=12;break}}if((g|0)==12)return b|0;return 0}function hj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;g=c[b>>2]|0;l=g+20|0;f=c[l>>2]|0;if((f|0)<=0)return;k=g+16|0;if(!e){g=0;do{if(c[(c[k>>2]|0)+(g<<4)+4>>2]|0){Hl(b,g);f=c[l>>2]|0}g=g+1|0}while((g|0)<(f|0));return}else j=0;do{g=c[k>>2]|0;if(c[g+(j<<4)+4>>2]|0){h=c[g+(j<<4)>>2]|0;i=a[e>>0]|0;g=(d[17324+(i&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0;if(!(i<<24>>24==0|(g|0)!=0)){i=e;do{i=i+1|0;h=h+1|0;m=a[i>>0]|0;g=(d[17324+(m&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(m<<24>>24==0|(g|0)!=0))}if(!g){Hl(b,j);f=c[l>>2]|0}}j=j+1|0}while((j|0)<(f|0));return}function ij(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+208|0;m=r+24|0;j=r+8|0;o=r;p=r+48|0;c[o>>2]=0;q=c[b>>2]|0;if(c[b+36>>2]|0){l=r;return}c[j>>2]=e;h=c[q+100>>2]|0;f=m+4|0;c[f>>2]=r+132;c[m>>2]=q;c[m+8>>2]=70;g=m+12|0;c[g>>2]=h;h=m+16|0;c[h>>2]=0;k=m+20|0;a[k>>0]=0;i=m+21|0;a[i>>0]=1;Cc(m,d,j);e=c[f>>2]|0;if(((e|0)!=0?(a[e+(c[h>>2]|0)>>0]=0,(c[g>>2]|0)!=0):0)?(a[i>>0]&4)==0:0)i=Dc(m)|0;else i=c[f>>2]|0;if(((a[k>>0]|0)==1?(n=q+73|0,(a[n>>0]|0)==0):0)?(a[q+74>>0]|0)==0:0){a[n>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;n=q+264|0;c[n>>2]=(c[n>>2]|0)+1}if(!i){l=r;return}g=b+18|0;a[g>>0]=(a[g>>0]|0)+1<<24>>24;h=b+388|0;e=p;d=h;f=e+84|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(f|0));e=h;f=e+84|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(f|0));ui(b,i,o)|0;d=c[o>>2]|0;e=q+464|0;do if(d|0){if(c[e>>2]|0){Lc(q,d);break}o=d;if(o>>>0>=(c[q+296>>2]|0)>>>0?o>>>0<(c[q+300>>2]|0)>>>0:0){o=q+292|0;c[d>>2]=c[o>>2];c[o>>2]=d;break}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{o=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);do if(!(c[e>>2]|0)){o=i;if(o>>>0>=(c[q+296>>2]|0)>>>0?o>>>0<(c[q+300>>2]|0)>>>0:0){q=q+292|0;c[i>>2]=c[q>>2];c[q>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{q=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}else Lc(q,i);while(0);e=h;d=p;f=e+84|0;do{a[e>>0]=a[d>>0]|0;e=e+1|0;d=d+1|0}while((e|0)<(f|0));a[g>>0]=(a[g>>0]|0)+-1<<24>>24;l=r;return}function jj(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=b+20|0;o=(f|0)==0;m=b+16|0;b=c[n>>2]|0;a:while(1){b:do if((b|0)>0){if(o){g=0;while(1){b=c[($f((c[(c[m>>2]|0)+(((g|0)<2^g)<<4)+12>>2]|0)+8|0,e,0)|0)+8>>2]|0;if(b|0){e=21;break a}g=g+1|0;b=c[n>>2]|0;if((g|0)>=(b|0)){h=b;break b}}}else l=0;while(1){j=(l|0)<2^l;k=c[m>>2]|0;h=c[k+(j<<4)>>2]|0;i=a[f>>0]|0;g=(d[17324+(i&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0;if(!(i<<24>>24==0|(g|0)!=0)){i=f;do{i=i+1|0;h=h+1|0;p=a[i>>0]|0;g=(d[17324+(p&255)>>0]|0)-(d[17324+(d[h>>0]|0)>>0]|0)|0}while(!(p<<24>>24==0|(g|0)!=0))}if(!g){b=c[($f((c[k+(j<<4)+12>>2]|0)+8|0,e,0)|0)+8>>2]|0;if(b|0){e=22;break a}b=c[n>>2]|0}l=l+1|0;if((l|0)>=(b|0)){h=b;break}}}else h=b;while(0);p=a[e>>0]|0;b=(d[17324+(p&255)>>0]|0)+-115|0;if(!(p<<24>>24==0|(b|0)!=0)){g=25345;do{e=e+1|0;g=g+1|0;p=a[e>>0]|0;b=(d[17324+(p&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0}while(!(p<<24>>24==0|(b|0)!=0))}if(b|0){b=0;e=23;break}e=c[(c[m>>2]|0)+16>>2]|0;if(!o){if(!e){b=0;e=23;break}p=a[f>>0]|0;b=(d[17324+(p&255)>>0]|0)-(d[17324+(d[e>>0]|0)>>0]|0)|0;if(!(p<<24>>24==0|(b|0)!=0)){g=f;do{g=g+1|0;e=e+1|0;p=a[g>>0]|0;b=(d[17324+(p&255)>>0]|0)-(d[17324+(d[e>>0]|0)>>0]|0)|0}while(!(p<<24>>24==0|(b|0)!=0))}}else b=((e|0)!=0)<<31>>31;if(!b){e=25326;b=h}else{b=0;e=23;break}}if((e|0)==21){p=b;return p|0}else if((e|0)==22){p=b;return p|0}else if((e|0)==23)return b|0;return 0}function kj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;j=n;g=c[d+8>>2]|0;if(!g){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;g=yi(d)|0}m=d+19|0;h=a[m>>0]|0;if(!(h<<24>>24)){i=d+44|0;k=(c[i>>2]|0)+1|0;c[i>>2]=k}else{k=h+-1<<24>>24;a[m>>0]=k;k=c[d+348+((k&255)<<2)>>2]|0}h=g+136|0;i=c[h>>2]|0;if((c[(c[g+12>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;h=c[g+88>>2]|0;a[h+(i*20|0)>>0]=-125;b[h+(i*20|0)+2>>1]=0;c[h+(i*20|0)+4>>2]=e;c[h+(i*20|0)+8>>2]=k;c[h+(i*20|0)+12>>2]=f;c[h+(i*20|0)+16>>2]=0;a[h+(i*20|0)+1>>0]=0}else zi(g,131,e,k,f)|0;i=c[d+120>>2]|0;a[((i|0)==0?d:i)+21>>0]=1;c[j>>2]=c[(c[(c[d>>2]|0)+16>>2]|0)+(f<<4)>>2];c[j+4>>2]=25345;c[j+8>>2]=e;c[j+12>>2]=k;c[j+16>>2]=k;ij(d,32552,j);if(!k){l=n;return}e=a[m>>0]|0;if((e&255)>=8){l=n;return}g=a[d+25>>0]|0;a:do if(g<<24>>24){i=g&255;g=0;h=d+148|0;while(1){if((c[h+12>>2]|0)==(k|0))break;g=g+1|0;if((g|0)>=(i|0))break a;else h=h+20|0}a[h+6>>0]=1;l=n;return}while(0);a[m>>0]=e+1<<24>>24;c[d+348+((e&255)<<2)>>2]=k;l=n;return}function lj(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0;Ca=l;l=l+416|0;ga=Ca+376|0;Q=Ca+368|0;qa=Ca+360|0;pa=Ca+352|0;oa=Ca+344|0;ra=Ca+336|0;la=Ca+328|0;U=Ca+320|0;aa=Ca+288|0;R=Ca+280|0;G=Ca+272|0;S=Ca+256|0;$=Ca+232|0;K=Ca+224|0;ca=Ca+208|0;ba=Ca+192|0;V=Ca+184|0;fa=Ca+160|0;da=Ca+136|0;T=Ca+128|0;E=Ca+120|0;ea=Ca+112|0;F=Ca+104|0;D=Ca+96|0;_=Ca+88|0;J=Ca+80|0;H=Ca+72|0;I=Ca+64|0;B=Ca+56|0;y=Ca+48|0;A=Ca+40|0;w=Ca+32|0;q=Ca+24|0;o=Ca+16|0;n=Ca+8|0;va=Ca;C=Ca+400|0;ma=Ca+392|0;ta=Ca+388|0;na=Ca+384|0;Ba=c[f>>2]|0;sa=f+8|0;k=c[sa>>2]|0;if(!k){if((c[f+120>>2]|0)==0?(b[Ba+68>>1]&8)==0:0)a[f+23>>0]=1;k=yi(f)|0;if(!k){l=Ca;return}else ya=k}else ya=k;N=ya+145|0;xa=d[N>>0]|d[N+1>>0]<<8|32;a[N>>0]=xa;a[N+1>>0]=xa>>8;xa=f+44|0;c[xa>>2]=2;m=c[f>>2]|0;ha=h+4|0;if(c[ha>>2]|0){if(a[m+157>>0]|0){hg(f,24989,n);l=Ca;return}k=Fi(m,g)|0;t=eg(m,k)|0;do if(k|0){if(c[m+464>>2]|0){Lc(m,k);break}Aa=k;if(Aa>>>0>=(c[m+296>>2]|0)>>>0?Aa>>>0<(c[m+300>>2]|0)>>>0:0){Aa=m+292|0;c[k>>2]=c[Aa>>2];c[Aa>>2]=k;break}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{Aa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-Aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);if((t|0)<0){c[o>>2]=g;hg(f,25006,o);l=Ca;return}else g=h}else t=d[m+156>>0]|0;wa=Ba+16|0;ja=c[wa>>2]|0;ia=(t|0)==1;if((ia?(v=c[f>>2]|0,p=v+16|0,(c[(c[p>>2]|0)+20>>2]|0)==0):0)?(a[f+399>>0]|0)==0:0){k=fg(c[v>>2]|0,0,v,va,0,542)|0;if(k|0){hg(f,21111,q);c[f+12>>2]=k;l=Ca;return}Aa=c[va>>2]|0;c[(c[p>>2]|0)+20>>2]=Aa;k=c[v+84>>2]|0;m=c[Aa+4>>2]|0;c[m+4>>2]=c[Aa>>2];if(!(b[m+22>>1]&2)){n=m+32|0;o=m+36|0;p=(c[n>>2]|0)-(c[o>>2]|0)|0;if(((k+-512|0)>>>0<65025?(k+-1&k|0)==0:0)?(c[n>>2]=k,s=m+80|0,r=c[s>>2]|0,r|0):0){k=r+-4|0;c[s>>2]=k;Aa=k;do if(!(Aa>>>0>=(c[11662]|0)>>>0&Aa>>>0<(c[11663]|0)>>>0)){Aa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-Aa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{Aa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-Aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;Aa=(c[11666]|0)+1|0;c[11666]=Aa;c[11667]=(Aa|0)<(c[11661]|0)&1}while(0);c[s>>2]=0}Aa=gg(c[m>>2]|0,n,p)|0;c[o>>2]=(c[n>>2]|0)-(p&65535);if((Aa|0)==7){k=v+73|0;if((a[k>>0]|0)==0?(a[v+74>>0]|0)==0:0){a[k>>0]=1;if((c[v+172>>2]|0)>0)c[v+256>>2]=1;Ba=v+264|0;c[Ba>>2]=(c[Ba>>2]|0)+1}l=Ca;return}}}Aa=Fi(Ba,g)|0;if(!Aa){l=Ca;return}if(!j)za=Fi(Ba,i)|0;else{c[w>>2]=i;za=Ff(Ba,31727,w)|0}if(!(c[ha>>2]|0))ka=0;else ka=c[ja+(t<<4)>>2]|0;k=c[f>>2]|0;a:do if(((a[k+157>>0]|0)==0?(a[f+400>>0]|0)==0:0)?(x=c[k+304>>2]|0,(x|0)!=0):0)switch(ob[x&255](c[k+308>>2]|0,19,Aa,za,ka,c[f+440>>2]|0)|0){case 0:{ua=56;break a}case 2:{ua=1579;break a}case 1:{hg(f,24761,A);c[f+12>>2]=23;ua=1579;break a}default:{hg(f,24776,y);c[f+12>>2]=1;ua=1579;break a}}else ua=56;while(0);b:do if((ua|0)==56){c[C>>2]=0;c[C+4>>2]=Aa;c[C+8>>2]=za;c[C+12>>2]=0;s=Ba+396|0;c[s>>2]=0;i=(ka|0)==0;if(!i){k=eg(Ba,ka)|0;if((k|0)<0)k=1;else ua=58}else{k=0;ua=58}c:do if((ua|0)==58){k=c[(c[wa>>2]|0)+(k<<4)+4>>2]|0;if(!k)k=1;else{m=c[k+4>>2]|0;c[m+4>>2]=c[k>>2];k=c[(c[m>>2]|0)+60>>2]|0;m=c[k>>2]|0;d:do if(m|0){k=lb[c[m+40>>2]&255](k,14,C)|0;switch(k|0){case 12:break d;case 0:break;default:{m=c[C>>2]|0;if(!m)break c;c[B>>2]=m;hg(f,17859,B);m=c[C>>2]|0;if(!m)break c;if(!(c[2]|0)){pb[c[56>>2]&255](m);break c}else{ya=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break c}}}vi(ya,1);if(!(a[(c[ya>>2]|0)+73>>0]|0))Ve(c[ya+100>>2]|0,c[C>>2]|0,-1,1,-1)|0;m=c[C>>2]|0;if(!m){ua=1579;break b}n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=97;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=0;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else k=zi(ya,97,0,1,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;Ai(ya,(c[ya+88>>2]|0)+(k*20|0)|0,m,0)}k=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ya=c[ya+88>>2]|0;a[ya+(k*20|0)>>0]=78;b[ya+(k*20|0)+2>>1]=0;c[ya+(k*20|0)+4>>2]=1;c[ya+(k*20|0)+8>>2]=1;c[ya+(k*20|0)+12>>2]=0;c[ya+(k*20|0)+16>>2]=0;a[ya+(k*20|0)+1>>0]=0}else zi(ya,78,1,1,0)|0;k=c[C>>2]|0;if(!k){ua=1579;break b}if(!(c[2]|0)){pb[c[56>>2]&255](k);ua=1579;break b}else{ua=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ua;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);ua=1579;break b}}while(0);C=a[Aa>>0]|0;r=d[17324+(C&255)>>0]|0;e:do if(!(C<<24>>24)){k=57;n=0;while(1){while(1){o=k+n|0;g=(o|0)/2|0;m=r-(d[17324+(d[c[5164+(g*12|0)>>2]>>0]|0)>>0]|0)|0;if(!m)break e;if((m|0)>=0)break;if((n|0)<(g|0))k=g+-1|0;else{ua=1579;break b}}if((g|0)<(k|0))n=g+1|0;else{ua=1579;break b}}}else{k=57;q=0;while(1){while(1){o=k+q|0;g=(o|0)/2|0;n=c[5164+(g*12|0)>>2]|0;m=r-(d[17324+(d[n>>0]|0)>>0]|0)|0;if(!m){p=Aa;do{p=p+1|0;n=n+1|0;C=a[p>>0]|0;m=(d[17324+(C&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(C<<24>>24==0|(m|0)!=0));if(!m)break e}if((m|0)>=0)break;if((q|0)<(g|0))k=g+-1|0;else{ua=1579;break b}}if((g|0)<(k|0))q=g+1|0;else{ua=1579;break b}}}while(0);q=5164+(g*12|0)|0;if(!q){ua=1579;break b}k=a[5164+(g*12|0)+5>>0]|0;if(k&1?fj(f)|0:0){ua=1579;break b}C=k&255;do if((C&2|0)==0?(za|0)==0|(C&4|0)==0:0){C=a[5164+(g*12|0)+7>>0]|0;n=C&255;C=C<<24>>24==0;vi(ya,C?1:n);if(C){if(a[(c[ya>>2]|0)+73>>0]|0)break;Ve(c[ya+100>>2]|0,c[q>>2]|0,-1,1,0)|0;break}p=ya+100|0;k=0;m=d[5164+(g*12|0)+6>>0]|0;while(1){if(!(a[(c[ya>>2]|0)+73>>0]|0))Ve((c[p>>2]|0)+(k*40|0)|0,c[5952+(m<<2)>>2]|0,-1,1,0)|0;k=k+1|0;if((k|0)==(n|0))break;else m=m+1|0}}while(0);do switch(a[5164+(g*12|0)+4>>0]|0){case 11:{u=1<>2]=c[wa>>2]|u;if(!ia?a[(c[(c[(c[ya>>2]|0)+16>>2]|0)+(t<<4)+4>>2]|0)+9>>0]|0:0){wa=ya+152|0;c[wa>>2]=c[wa>>2]|u}if(!za){c[xa>>2]=(c[xa>>2]|0)+2;ua=Ci(ya,9,31731)|0;c[ua+4>>2]=t;c[ua+24>>2]=t;c[ua+124>>2]=-2e3;ua=1579;break b}c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]|0;k=(k|0)>-1?k:(k|0)==-2147483648?2147483647:0-k|0;s=c[f+120>>2]|0;s=(s|0)==0?f:s;m=s+92|0;n=c[m>>2]|0;f:do if(!(n&u)){c[m>>2]=n|u;if(!ia)break;r=c[s>>2]|0;m=r+16|0;if(c[(c[m>>2]|0)+20>>2]|0)break;if(a[s+399>>0]|0)break;n=fg(c[r>>2]|0,0,r,va,0,542)|0;if(n|0){hg(s,21111,I);c[s+12>>2]=n;break}xa=c[va>>2]|0;c[(c[m>>2]|0)+20>>2]=xa;m=c[r+84>>2]|0;o=c[xa+4>>2]|0;c[o+4>>2]=c[xa>>2];do if(!(b[o+22>>1]&2)){g=o+32|0;p=o+36|0;q=(c[g>>2]|0)-(c[p>>2]|0)|0;do if((m+-512|0)>>>0<65025){if(m+-1&m|0)break;c[g>>2]=m;n=o+80|0;m=c[n>>2]|0;if(!m)break;m=m+-4|0;c[n>>2]=m;xa=m;do if(!(xa>>>0>=(c[11662]|0)>>>0&xa>>>0<(c[11663]|0)>>>0)){xa=jb[c[64>>2]&255](m)|0;c[11824]=(c[11824]|0)-xa;if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{xa=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}else{c[11823]=(c[11823]|0)+-1;c[m>>2]=c[11665];c[11665]=m;xa=(c[11666]|0)+1|0;c[11666]=xa;c[11667]=(xa|0)<(c[11661]|0)&1}while(0);c[n>>2]=0}while(0);xa=gg(c[o>>2]|0,g,q)|0;c[p>>2]=(c[g>>2]|0)-(q&65535);if((xa|0)!=7)break;m=r+73|0;do if(!(a[m>>0]|0)){if(a[r+74>>0]|0)break;a[m>>0]=1;if((c[r+172>>2]|0)>0)c[r+256>>2]=1;xa=r+264|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);break f}while(0)}while(0);m=s+88|0;c[m>>2]=c[m>>2]|u;m=ya+136|0;n=c[m>>2]|0;if((c[(c[ya+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;ya=c[ya+88>>2]|0;a[ya+(n*20|0)>>0]=102;b[ya+(n*20|0)+2>>1]=0;c[ya+(n*20|0)+4>>2]=t;c[ya+(n*20|0)+8>>2]=3;c[ya+(n*20|0)+12>>2]=k;c[ya+(n*20|0)+16>>2]=0;a[ya+(n*20|0)+1>>0]=0}else zi(ya,102,t,3,k)|0;c[(c[ja+(t<<4)+12>>2]|0)+80>>2]=k;n=c[ja+(t<<4)+4>>2]|0;m=c[n+4>>2]|0;c[m+4>>2]=c[n>>2];m=c[(c[m>>2]|0)+208>>2]|0;c[m+16>>2]=k;n=c[35]|0;o=c[m+44>>2]|0;if((k|0)<=-1){ya=Lt(k|0,((k|0)<0)<<31>>31|0,-1024,-1)|0;k=(c[m+28>>2]|0)+(c[m+24>>2]|0)|0;k=Jt(ya|0,z|0,k|0,((k|0)<0)<<31>>31|0)|0}qb[n&255](o,k);ua=1579;break b}case 28:{k=c[ja+(t<<4)+4>>2]|0;if(!za){if(!k){k=0;m=0}else{m=c[(c[k+4>>2]|0)+32>>2]|0;k=m;m=((m|0)<0)<<31>>31}vl(ya,k,m);ua=1579;break b}c[va>>2]=0;Pd(za,va)|0;m=c[va>>2]|0;c[Ba+84>>2]=m;p=c[k+4>>2]|0;c[p+4>>2]=c[k>>2];if(b[p+22>>1]&2){ua=1580;break b}n=p+32|0;o=p+36|0;g=(c[n>>2]|0)-(c[o>>2]|0)|0;do if((m+-512|0)>>>0<65025){if(m+-1&m|0)break;c[n>>2]=m;m=p+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;ya=k;do if(!(ya>>>0>=(c[11662]|0)>>>0&ya>>>0<(c[11663]|0)>>>0)){ya=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-ya;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ya=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;ya=(c[11666]|0)+1|0;c[11666]=ya;c[11667]=(ya|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);ya=gg(c[p>>2]|0,n,g)|0;c[o>>2]=(c[n>>2]|0)-(g&65535);if((ya|0)!=7){ua=1579;break b}k=Ba+73|0;if(a[k>>0]|0){ua=1580;break b}if(a[Ba+74>>0]|0){ua=1580;break b}a[k>>0]=1;if((c[Ba+172>>2]|0)>0)c[Ba+256>>2]=1;ua=Ba+264|0;c[ua>>2]=(c[ua>>2]|0)+1;ua=1580;break b}case 30:{r=c[ja+(t<<4)+4>>2]|0;do if(!za){n=-1;o=0}else{xa=a[za>>0]|0;o=xa&255;k=(d[17324+o>>0]|0)+-102|0;if(!(xa<<24>>24==0|(k|0)!=0)){m=31767;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}if(!k)n=2;else{g:do if((o+-48|0)>>>0<10){c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]&255}else{q=(As(za)|0)&1073741823;if(!q){k=0;break}else p=0;while(1){do if((d[18171+p>>0]|0)==(q|0)){k=18187+(d[18179+p>>0]|0)|0;if(!k)break;else{o=za;g=q}while(1){m=a[k>>0]|0;if(!(m<<24>>24)){ua=175;break}m=a[17324+(m&255)>>0]|0;n=a[17324+(d[o>>0]|0)>>0]|0;if(m<<24>>24!=n<<24>>24){Y=m;Z=n;ua=178;break}if((g|0)>1){k=k+1|0;o=o+1|0;g=g+-1|0}else break}if((ua|0)==175){Y=0;Z=a[17324+(d[o>>0]|0)>>0]|0;ua=178}if((ua|0)==178?(ua=0,Y<<24>>24!=Z<<24>>24):0)break;if((p&-2|0)!=6){k=a[18212+p>>0]|0;break g}}while(0);p=p+1|0;if((p|0)>=8){k=0;break}}}while(0);n=k<<24>>24!=0&1}if(c[ha>>2]|0){o=1;break}p=c[Ba+20>>2]|0;if((p|0)<=0){o=1;break}m=c[wa>>2]|0;o=n<<2;k=0;do{g=c[m+(k<<4)+4>>2]|0;if(g|0){xa=c[g+4>>2]|0;c[xa+4>>2]=c[g>>2];xa=xa+22|0;b[xa>>1]=b[xa>>1]&-13&65535|o}k=k+1|0}while((k|0)!=(p|0));o=1}while(0);if(!r){k=0;m=0}else{m=c[r+4>>2]|0;c[m+4>>2]=c[r>>2];m=m+22|0;k=b[m>>1]|0;if(o){k=(k&-13&65535|n<<2)&65535;b[m>>1]=k}k=(k&65535)>>>2&3;m=0}vl(ya,k,m);ua=1579;break b}case 24:{o=c[f+120>>2]|0;o=(o|0)==0?f:o;k=o+92|0;m=c[k>>2]|0;n=1<>2]=m|n,ia):0){q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,H);c[o+12>>2]=m;break}wa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=wa;k=c[q+84>>2]|0;n=c[wa+4>>2]|0;c[n+4>>2]=c[wa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;wa=k;do if(!(wa>>>0>=(c[11662]|0)>>>0&wa>>>0<(c[11663]|0)>>>0)){wa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-wa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{wa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;wa=(c[11666]|0)+1|0;c[11666]=wa;c[11667]=(wa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);wa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((wa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;wa=q+264|0;c[wa>>2]=(c[wa>>2]|0)+1}while(0);break h}while(0)}while(0);g=(c[xa>>2]|0)+1|0;c[xa>>2]=g;do if((a[Aa>>0]|32)<<24>>24==112){m=ya+136|0;n=c[m>>2]|0;k=ya+12|0;if((c[(c[k>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;xa=c[ya+88>>2]|0;a[xa+(n*20|0)>>0]=-97;b[xa+(n*20|0)+2>>1]=0;c[xa+(n*20|0)+4>>2]=t;c[xa+(n*20|0)+8>>2]=g;c[xa+(n*20|0)+12>>2]=0;c[xa+(n*20|0)+16>>2]=0;a[xa+(n*20|0)+1>>0]=0;n=m;break}else{zi(ya,159,t,g,0)|0;n=m;break}}else{c[va>>2]=0;if(za){Pd(za,va)|0;k=c[va>>2]|0;if((k|0)>-1)ua=224;else k=(k|0)==-2147483648?2147483647:0-k|0}else{k=0;ua=224}n=ya+136|0;m=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){c[n>>2]=m+1;xa=c[ya+88>>2]|0;a[xa+(m*20|0)>>0]=-96;b[xa+(m*20|0)+2>>1]=0;c[xa+(m*20|0)+4>>2]=t;c[xa+(m*20|0)+8>>2]=g;c[xa+(m*20|0)+12>>2]=k;c[xa+(m*20|0)+16>>2]=0;a[xa+(m*20|0)+1>>0]=0;k=o;break}else{zi(ya,160,t,g,k)|0;k=o;break}}while(0);m=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(m|0)){c[n>>2]=m+1;ua=c[ya+88>>2]|0;a[ua+(m*20|0)>>0]=78;b[ua+(m*20|0)+2>>1]=0;c[ua+(m*20|0)+4>>2]=g;c[ua+(m*20|0)+8>>2]=1;c[ua+(m*20|0)+12>>2]=0;c[ua+(m*20|0)+16>>2]=0;a[ua+(m*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,g,1,0)|0;ua=1579;break b}}case 23:{do if(!za)ua=247;else{g=a[za>>0]|0;o=d[17324+(g&255)>>0]|0;k=o+-101|0;g=g<<24>>24==0;if(!(g|(k|0)!=0)){m=31772;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}if(k){k=o+-110|0;if(!(g|(k|0)!=0)){m=31782;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}if(!k)m=0;else{ua=247;break}}else m=1;if(c[ha>>2]|0){ua=250;break}p=c[Ba+20>>2]|0;if((p|0)>2){g=c[wa>>2]|0;k=m&255;n=2;do{o=c[c[(c[g+(n<<4)+4>>2]|0)+4>>2]>>2]|0;do if(!(a[o+12>>0]|0)){xa=c[o+212>>2]|0;if(xa|0?(a[xa+43>>0]|0)==2:0)break;a[o+4>>0]=k}while(0);n=n+1|0}while((n|0)!=(p|0))}else k=m&255;a[Ba+75>>0]=k;ua=250}while(0);if((ua|0)==247)if(!(c[ha>>2]|0))k=Ba+75|0;else{m=-1;ua=250}if((ua|0)==250){k=c[c[(c[ja+(t<<4)+4>>2]|0)+4>>2]>>2]|0;do if((m|0)>-1){if(a[k+12>>0]|0)break;xa=c[k+212>>2]|0;if(xa|0?(a[xa+43>>0]|0)==2:0)break;a[k+4>>0]=m}while(0);k=k+4|0}m=(a[k>>0]|0)==1?31772:31782;n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=97;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=0;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else k=zi(ya,97,0,1,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;Ai(ya,(c[ya+88>>2]|0)+(k*20|0)|0,m,0)}k=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ua=c[ya+88>>2]|0;a[ua+(k*20|0)>>0]=78;b[ua+(k*20|0)+2>>1]=0;c[ua+(k*20|0)+4>>2]=1;c[ua+(k*20|0)+8>>2]=1;c[ua+(k*20|0)+12>>2]=0;c[ua+(k*20|0)+16>>2]=0;a[ua+(k*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,1,1,0)|0;ua=1579;break b}}case 20:{i:do if(za){q=(As(za)|0)&1073741823;if(q){k=0;j:while(1){o=za;p=c[6160+(k<<2)>>2]|0;g=q;while(1){m=a[o>>0]|0;if(!(m<<24>>24)){ua=270;break}n=a[17324+(m&255)>>0]|0;m=a[17324+(d[p>>0]|0)>>0]|0;if(n<<24>>24!=m<<24>>24)break;if((g|0)>1){o=o+1|0;p=p+1|0;g=g+-1|0}else{ua=273;break j}}if((ua|0)==270){ua=0;n=0;m=a[17324+(d[p>>0]|0)>>0]|0}if(n<<24>>24==m<<24>>24){ua=276;break}k=k+1|0;if((k|0)==6){ua=277;break i}}if((ua|0)==273)if((k|0)==-1){ua=277;break}else{s=k;break}else if((ua|0)==276)if((k|0)==-1){ua=277;break}else{s=k;break}}else s=0}else ua=277;while(0);if((ua|0)==277)if(!(c[ha>>2]|0)){c[ha>>2]=1;t=0;s=-1}else s=-1;m=c[Ba+20>>2]|0;if((m|0)>0){p=ya+148|0;n=ya+136|0;k=ya+12|0;q=ya+88|0;r=ya+152|0;do{g=m;m=m+-1|0;do if(c[(c[wa>>2]|0)+(m<<4)+4>>2]|0){if((m|0)!=(t|0)?c[ha>>2]|0:0)break;o=1<>2]=c[p>>2]|o;do if((m|0)!=1){if(!(a[(c[(c[(c[ya>>2]|0)+16>>2]|0)+(m<<4)+4>>2]|0)+9>>0]|0))break;c[r>>2]=c[r>>2]|o}while(0);o=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;xa=c[q>>2]|0;a[xa+(o*20|0)>>0]=9;b[xa+(o*20|0)+2>>1]=0;c[xa+(o*20|0)+4>>2]=m;c[xa+(o*20|0)+8>>2]=1;c[xa+(o*20|0)+12>>2]=s;c[xa+(o*20|0)+16>>2]=0;a[xa+(o*20|0)+1>>0]=0;break}else{zi(ya,9,m,1,s)|0;break}}while(0)}while((g|0)>1)}else{n=ya+136|0;k=ya+12|0}m=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(m|0)){c[n>>2]=m+1;ua=c[ya+88>>2]|0;a[ua+(m*20|0)>>0]=78;b[ua+(m*20|0)+2>>1]=0;c[ua+(m*20|0)+4>>2]=1;c[ua+(m*20|0)+8>>2]=1;c[ua+(m*20|0)+12>>2]=0;c[ua+(m*20|0)+16>>2]=0;a[ua+(m*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,1,1,0)|0;ua=1579;break b}}case 21:{o=c[c[(c[ja+(t<<4)+4>>2]|0)+4>>2]>>2]|0;xa=va;c[xa>>2]=-2;c[xa+4>>2]=-1;do if(!za){k=o+160|0;m=c[k>>2]|0;k=c[k+4>>2]|0}else{Wk(za,va)|0;k=va;m=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)<-1|(k|0)==-1&m>>>0<4294967295){n=va;c[n>>2]=-1;c[n+4>>2]=-1;n=-1;k=-1}else n=m;m=o+160|0;c[m>>2]=n;c[m+4>>2]=k;m=c[o+212>>2]|0;if(!m){m=n;break}m=m+16|0;c[m>>2]=n;c[m+4>>2]=k;m=n}while(0);vl(ya,m,k);ua=1579;break b}case 1:{p=c[ja+(t<<4)+4>>2]|0;if(!za){k=c[p+4>>2]|0;c[k+4>>2]=c[p>>2];if(!(a[k+17>>0]|0)){k=0;m=0}else{m=(a[k+18>>0]|0)==0;k=m?1:2;m=m?0:0}vl(ya,k,m);ua=1579;break b}g=a[za>>0]|0;o=d[17324+(g&255)>>0]|0;k=o+-110|0;g=g<<24>>24==0;if(!(g|(k|0)!=0)){m=31789;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}do if(!k)o=0;else{k=o+-102|0;if(!(g|(k|0)!=0)){m=31794;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}if(!k){o=1;break}k=o+-105|0;if(!(g|(k|0)!=0)){m=31799;n=za;do{n=n+1|0;m=m+1|0;xa=a[n>>0]|0;k=(d[17324+(xa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(xa<<24>>24==0|(k|0)!=0))}if(!k){o=2;break}c[va>>2]=0;Pd(za,va)|0;o=c[va>>2]|0;o=o>>>0<3?o&255:0}while(0);a[Ba+76>>0]=o;g=c[p+4>>2]|0;c[g+4>>2]=c[p>>2];m=o&255;n=(m|0)!=0;if(b[g+22>>1]&2){k=g+17|0;if((n&1|0)!=(d[k>>0]|0)){ua=1580;break b}}else k=g+17|0;a[k>>0]=n&1;a[g+18>>0]=(m|0)==2&1;k=o+-1|0;if(k>>>0>=2){ua=1580;break b}wa=c[ya+136>>2]|0;xa=Ci(ya,5,31811)|0;c[xa+4>>2]=t;c[xa+24>>2]=t;c[xa+48>>2]=wa+4;c[xa+84>>2]=t;c[xa+92>>2]=k;k=1<>2]=c[xa>>2]|k;if(ia){ua=1580;break b}if(!(a[(c[(c[(c[ya>>2]|0)+16>>2]|0)+(t<<4)+4>>2]|0)+9>>0]|0)){ua=1580;break b}ua=ya+152|0;c[ua>>2]=c[ua>>2]|k;ua=1580;break b}case 16:{if(!((za|0)!=0?(xa=(Pd(za,ma)|0)==0,u=c[ma>>2]|0,!(xa|(u|0)<1)):0)){c[ma>>2]=2147483647;u=2147483647}r=c[f+120>>2]|0;r=(r|0)==0?f:r;k=r+92|0;m=c[k>>2]|0;s=1<>2]=m|s;if(!ia)break;q=c[r>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[r+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(r,21111,J);c[r+12>>2]=m;break}xa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=xa;k=c[q+84>>2]|0;n=c[xa+4>>2]|0;c[n+4>>2]=c[xa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;xa=k;do if(!(xa>>>0>=(c[11662]|0)>>>0&xa>>>0<(c[11663]|0)>>>0)){xa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-xa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{xa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;xa=(c[11666]|0)+1|0;c[11666]=xa;c[11667]=(xa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);xa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((xa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;xa=q+264|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);break k}while(0)}while(0);n=r+88|0;c[n>>2]=c[n>>2]|s;n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){xa=k+1|0;c[n>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(k*20|0)>>0]=67;b[wa+(k*20|0)+2>>1]=0;c[wa+(k*20|0)+4>>2]=u;c[wa+(k*20|0)+8>>2]=1;c[wa+(k*20|0)+12>>2]=0;c[wa+(k*20|0)+16>>2]=0;a[wa+(k*20|0)+1>>0]=0;k=xa}else{zi(ya,67,u,1,0)|0;k=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){m=k+1|0;c[n>>2]=m;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=60;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=t;c[xa+(k*20|0)+8>>2]=0;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else{k=zi(ya,60,t,0,0)|0;m=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){xa=m+1|0;c[n>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(m*20|0)>>0]=78;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=1;c[wa+(m*20|0)+8>>2]=0;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0;m=xa}else{zi(ya,78,1,0,0)|0;m=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){xa=m+1|0;c[n>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(m*20|0)>>0]=80;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=1;c[wa+(m*20|0)+8>>2]=-1;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0;m=xa}else{zi(ya,80,1,-1,0)|0;m=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){xa=m+1|0;c[n>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(m*20|0)>>0]=48;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=1;c[wa+(m*20|0)+8>>2]=k;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0;m=xa}else{zi(ya,48,1,k,0)|0;m=c[n>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))k=(c[ya+88>>2]|0)+(((k|0)<0?m+-1|0:k)*20|0)|0;else k=46708;c[k+8>>2]=m;ua=1579;break b}case 4:{if(!za){ua=c[(c[ja+(t<<4)+12>>2]|0)+80>>2]|0;vl(ya,ua,((ua|0)<0)<<31>>31);ua=1579;break b}c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]|0;c[(c[ja+(t<<4)+12>>2]|0)+80>>2]=k;n=c[ja+(t<<4)+4>>2]|0;m=c[n+4>>2]|0;c[m+4>>2]=c[n>>2];m=c[(c[m>>2]|0)+208>>2]|0;c[m+16>>2]=k;n=c[35]|0;o=c[m+44>>2]|0;if((k|0)<=-1){ya=Lt(k|0,((k|0)<0)<<31>>31|0,-1024,-1)|0;k=(c[m+28>>2]|0)+(c[m+24>>2]|0)|0;k=Jt(ya|0,z|0,k|0,((k|0)<0)<<31>>31|0)|0}qb[n&255](o,k);ua=1579;break b}case 5:{if(!za){if(!(c[Ba+28>>2]&32)){k=0;m=0}else{k=c[ja+(t<<4)+4>>2]|0;m=c[k+4>>2]|0;c[m+4>>2]=c[k>>2];m=c[(c[m>>2]|0)+208>>2]|0;k=c[m+16>>2]|0;if((k|0)<=-1){xa=Lt(k|0,((k|0)<0)<<31>>31|0,-1024,-1)|0;k=(c[m+28>>2]|0)+(c[m+24>>2]|0)|0;k=Jt(xa|0,z|0,k|0,((k|0)<0)<<31>>31|0)|0}m=c[m+20>>2]|0;m=(k|0)<(m|0)?m:k;k=m;m=((m|0)<0)<<31>>31}vl(ya,k,m);ua=1579;break b}c[ma>>2]=1;do if(!(Pd(za,ma)|0))k=c[ma>>2]|0;else{ya=c[ja+(t<<4)+4>>2]|0;k=c[ma>>2]|0;n=c[ya+4>>2]|0;c[n+4>>2]=c[ya>>2];n=c[(c[n>>2]|0)+208>>2]|0;if(!k){k=0;break}if((k|0)<0){ya=Lt(k|0,((k|0)<0)<<31>>31|0,-1024,-1)|0;m=(c[n+28>>2]|0)+(c[n+24>>2]|0)|0;m=Jt(ya|0,z|0,m|0,((m|0)<0)<<31>>31|0)|0}else m=k;c[n+20>>2]=m}while(0);k=(k|0)!=0&1;l:do if(((d[za>>0]|0)+-48|0)>>>0<10){c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]&255}else{r=(As(za)|0)&1073741823;if(!r)break;else q=0;do{do if((d[18171+q>>0]|0)==(r|0)){m=18187+(d[18179+q>>0]|0)|0;if(!m)break;else{g=za;p=r}while(1){n=a[m>>0]|0;if(!(n<<24>>24)){ua=391;break}n=a[17324+(n&255)>>0]|0;o=a[17324+(d[g>>0]|0)>>0]|0;if(n<<24>>24!=o<<24>>24){W=n;X=o;ua=394;break}if((p|0)>1){m=m+1|0;g=g+1|0;p=p+-1|0}else break}if((ua|0)==391){W=0;X=a[17324+(d[g>>0]|0)>>0]|0;ua=394}if((ua|0)==394?(ua=0,W<<24>>24!=X<<24>>24):0)break;if((q&-2|0)!=6){k=a[18212+q>>0]|0;break l}}while(0);q=q+1|0}while((q|0)<8)}while(0);s=Ba+28|0;ya=c[s>>2]|0;c[s>>2]=k<<24>>24?ya|32:ya&-33;do if(a[Ba+71>>0]|0){k=c[Ba+20>>2]|0;if((k|0)<=0)break;r=c[wa>>2]|0;while(1){p=k;k=k+-1|0;m=c[r+4>>2]|0;if(m|0){wa=d[r+8>>0]|0;q=c[s>>2]&56|wa;n=c[m+4>>2]|0;c[n+4>>2]=c[m>>2];n=c[n>>2]|0;wa=wa&7;xa=(a[n+12>>0]|0)==0;ya=(wa|0)==1;o=ya|xa^1;g=wa>>>0>2&xa;a[n+7>>0]=o&1;a[n+8>>0]=g&1;a[n+9>>0]=(wa|0)==4&xa&1;if(xa&(ya^1))m=(q&8)>>>3|2;else m=0;a[n+10>>0]=m;ya=m&255;ya=(ya<<2|(g?ya:0))&255;a[n+11>>0]=(q&16|0)==0|o?ya:ya|12;ya=n+20|0;xa=d[ya>>0]|0;a[ya>>0]=q&32|0?xa&254:xa|1}if((p|0)<=1)break;else r=r+16|0}}while(0);ua=1579;break b}case 25:{vl(ya,0,0);ua=1579;break b}case 35:{if(!za){vl(ya,d[Ba+72>>0]|0,0);ua=1580;break b}m=a[za>>0]|0;do if((m+-48&255)<3)u=(m<<24>>24)+-48|0;else{o=d[17324+(m&255)>>0]|0;k=o+-102|0;g=m<<24>>24==0;if(!(g|(k|0)!=0)){m=30734;n=za;do{n=n+1|0;m=m+1|0;ya=a[n>>0]|0;k=(d[17324+(ya&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ya<<24>>24==0|(k|0)!=0))}if(!k){u=1;break}k=o+-109|0;if(!(g|(k|0)!=0)){m=30356;n=za;do{n=n+1|0;m=m+1|0;ya=a[n>>0]|0;k=(d[17324+(ya&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ya<<24>>24==0|(k|0)!=0))}u=(k|0)==0?2:0}while(0);i=c[f>>2]|0;j=i+72|0;if((d[j>>0]|0)==(u|0)){ua=1579;break b}v=i+16|0;k=c[(c[v>>2]|0)+20>>2]|0;m:do if(k|0){do if(a[i+71>>0]|0){if(a[k+8>>0]|0)break;Nh(k);o=c[v>>2]|0;c[o+20>>2]=0;t=i+20|0;k=c[t>>2]|0;n:do if((k|0)>0){m=0;do{n=c[o+(m<<4)+4>>2]|0;if(n|0)c[(c[n+4>>2]|0)+4>>2]=c[n>>2];m=m+1|0}while((m|0)!=(k|0));m=0;while(1){n=c[o+(m<<4)+12>>2]|0;if(n){ph(n);k=c[t>>2]|0}m=m+1|0;if((m|0)>=(k|0))break n;o=c[v>>2]|0}}while(0);ya=i+24|0;c[ya>>2]=c[ya>>2]&-2;ya=i+352|0;m=c[ya>>2]|0;c[ya>>2]=0;if(m){k=c[i+4>>2]|0;if(k)do{ya=k+145|0;xa=d[ya>>0]|d[ya+1>>0]<<8|1;a[ya>>0]=xa;a[ya+1>>0]=xa>>8;k=c[k+8>>2]|0}while((k|0)!=0);do{n=m;m=c[m+24>>2]|0;o=c[n>>2]|0;xa=n+12|0;ya=(c[xa>>2]|0)+-1|0;c[xa>>2]=ya;o:do if(!ya){k=c[n+8>>2]|0;if(k|0)jb[c[(c[k>>2]|0)+16>>2]&255](k)|0;do if(o|0){if(c[o+464>>2]|0){Lc(o,n);break o}k=n;if(k>>>0<(c[o+296>>2]|0)>>>0)break;if(k>>>0>=(c[o+300>>2]|0)>>>0)break;ya=o+292|0;c[n>>2]=c[ya>>2];c[ya>>2]=n;break o}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{ya=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0)}while((m|0)!=0);k=c[t>>2]|0}if((k|0)>2){p=i+464|0;q=i+296|0;r=i+300|0;s=i+292|0;g=2;k=2;do{m=c[v>>2]|0;o=m+(g<<4)|0;if(!(c[m+(g<<4)+4>>2]|0)){m=c[o>>2]|0;p:do if(m|0){if(c[p>>2]|0){Lc(i,m);break}n=m;do if(n>>>0>=(c[q>>2]|0)>>>0){if(n>>>0>=(c[r>>2]|0)>>>0)break;c[m>>2]=c[s>>2];c[s>>2]=m;break p}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{ya=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[o>>2]=0}else{if((k|0)<(g|0)){ya=m+(k<<4)|0;c[ya>>2]=c[o>>2];c[ya+4>>2]=c[o+4>>2];c[ya+8>>2]=c[o+8>>2];c[ya+12>>2]=c[o+12>>2]}k=k+1|0}g=g+1|0}while((g|0)<(c[t>>2]|0));c[t>>2]=k;if((k|0)>=3)break m}else c[t>>2]=2;k=c[v>>2]|0;m=i+400|0;if((k|0)==(m|0))break m;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[m+12>>2]=c[k+12>>2];c[m+16>>2]=c[k+16>>2];c[m+20>>2]=c[k+20>>2];c[m+24>>2]=c[k+24>>2];c[m+28>>2]=c[k+28>>2];q:do if(k|0){if(c[i+464>>2]|0){Lc(i,k);break}n=k;do if(n>>>0>=(c[i+296>>2]|0)>>>0){if(n>>>0>=(c[i+300>>2]|0)>>>0)break;ya=i+292|0;c[k>>2]=c[ya>>2];c[ya>>2]=k;break q}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ya=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[v>>2]=m;break m}while(0);hg(f,31831,_);ua=1579;break b}while(0);a[j>>0]=u;ua=1579;break b}case 36:{if(!za){m=c[11618]|0;if(!m){ua=1579;break b}n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=97;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=0;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else k=zi(ya,97,0,1,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;Ai(ya,(c[ya+88>>2]|0)+(k*20|0)|0,m,0)}k=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ua=c[ya+88>>2]|0;a[ua+(k*20|0)>>0]=78;b[ua+(k*20|0)+2>>1]=0;c[ua+(k*20|0)+4>>2]=1;c[ua+(k*20|0)+8>>2]=1;c[ua+(k*20|0)+12>>2]=0;c[ua+(k*20|0)+16>>2]=0;a[ua+(k*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,1,1,0)|0;ua=1579;break b}}do if(a[za>>0]|0){ya=c[Ba>>2]|0;ya=(mb[c[ya+32>>2]&255](ya,za,1,va)|0)!=0;if(ya|(c[va>>2]|0)==0){hg(f,31893,D);ua=1580;break b}else break}while(0);r:do if((d[Ba+72>>0]|0)<2){u=c[f>>2]|0;i=u+16|0;k=c[(c[i>>2]|0)+20>>2]|0;if(!k)break;do if(a[u+71>>0]|0){if(a[k+8>>0]|0)break;Nh(k);o=c[i>>2]|0;c[o+20>>2]=0;t=u+20|0;k=c[t>>2]|0;s:do if((k|0)>0){m=0;do{n=c[o+(m<<4)+4>>2]|0;if(n|0)c[(c[n+4>>2]|0)+4>>2]=c[n>>2];m=m+1|0}while((m|0)!=(k|0));m=0;while(1){n=c[o+(m<<4)+12>>2]|0;if(n){ph(n);k=c[t>>2]|0}m=m+1|0;if((m|0)>=(k|0))break s;o=c[i>>2]|0}}while(0);ya=u+24|0;c[ya>>2]=c[ya>>2]&-2;ya=u+352|0;m=c[ya>>2]|0;c[ya>>2]=0;if(m){k=c[u+4>>2]|0;if(k)do{ya=k+145|0;xa=d[ya>>0]|d[ya+1>>0]<<8|1;a[ya>>0]=xa;a[ya+1>>0]=xa>>8;k=c[k+8>>2]|0}while((k|0)!=0);do{n=m;m=c[m+24>>2]|0;o=c[n>>2]|0;xa=n+12|0;ya=(c[xa>>2]|0)+-1|0;c[xa>>2]=ya;t:do if(!ya){k=c[n+8>>2]|0;if(k|0)jb[c[(c[k>>2]|0)+16>>2]&255](k)|0;do if(o|0){if(c[o+464>>2]|0){Lc(o,n);break t}k=n;if(k>>>0<(c[o+296>>2]|0)>>>0)break;if(k>>>0>=(c[o+300>>2]|0)>>>0)break;ya=o+292|0;c[n>>2]=c[ya>>2];c[ya>>2]=n;break t}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{ya=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0)}while((m|0)!=0);k=c[t>>2]|0}if((k|0)>2){p=u+464|0;q=u+296|0;r=u+300|0;s=u+292|0;g=2;k=2;do{m=c[i>>2]|0;o=m+(g<<4)|0;if(!(c[m+(g<<4)+4>>2]|0)){m=c[o>>2]|0;u:do if(m|0){if(c[p>>2]|0){Lc(u,m);break}n=m;do if(n>>>0>=(c[q>>2]|0)>>>0){if(n>>>0>=(c[r>>2]|0)>>>0)break;c[m>>2]=c[s>>2];c[s>>2]=m;break u}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{ya=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[o>>2]=0}else{if((k|0)<(g|0)){ya=m+(k<<4)|0;c[ya>>2]=c[o>>2];c[ya+4>>2]=c[o+4>>2];c[ya+8>>2]=c[o+8>>2];c[ya+12>>2]=c[o+12>>2]}k=k+1|0}g=g+1|0}while((g|0)<(c[t>>2]|0));c[t>>2]=k;if((k|0)>=3)break r}else c[t>>2]=2;k=c[i>>2]|0;m=u+400|0;if((k|0)==(m|0))break r;c[m>>2]=c[k>>2];c[m+4>>2]=c[k+4>>2];c[m+8>>2]=c[k+8>>2];c[m+12>>2]=c[k+12>>2];c[m+16>>2]=c[k+16>>2];c[m+20>>2]=c[k+20>>2];c[m+24>>2]=c[k+24>>2];c[m+28>>2]=c[k+28>>2];v:do if(k|0){if(c[u+464>>2]|0){Lc(u,k);break}n=k;do if(n>>>0>=(c[u+296>>2]|0)>>>0){if(n>>>0>=(c[u+300>>2]|0)>>>0)break;ya=u+292|0;c[k>>2]=c[ya>>2];c[ya>>2]=k;break v}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ya=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[i>>2]=m;break r}while(0);hg(f,31831,F)}while(0);k=c[11618]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ya=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);if(!(a[za>>0]|0))k=0;else{c[ea>>2]=za;k=xd(17859,ea)|0}c[11618]=k;ua=1579;break b}case 33:{if(!za){ua=(d[ja+(t<<4)+8>>0]|0)+-1|0;vl(ya,ua,((ua|0)<0)<<31>>31);ua=1579;break b}k=Ba+71|0;g=a[k>>0]|0;if(!(g<<24>>24)){hg(f,31918,E);ua=1580;break b}if(ia){ua=1580;break b}o=d[za>>0]|0;w:do if((o+-48|0)>>>0<10){c[va>>2]=0;Pd(za,va)|0;m=c[va>>2]&255;k=a[k>>0]|0}else{x:do switch((As(za)|0)&1073741823|0){case 2:{n=o|32;if((n|0)==111){k=d[za+1>>0]|0;if((k|32|0)==110){k=0;break x}else m=110}else{m=111;k=o}if(m<<24>>24==(a[17324+k>>0]|0)){k=0;break x}if((n|0)==110){k=d[za+1>>0]|0;if((k|32|0)==111){k=1;break x}else m=111}else{m=110;k=o}if(m<<24>>24==(a[17324+k>>0]|0))k=1;else{m=1;k=g;break w}break}case 3:{k=17324+o|0;o=o|32;do if((o|0)==111){m=d[za+1>>0]|0;if((m|32|0)!=102){m=17324+m|0;n=102;break}m=d[za+2>>0]|0;if((m|32|0)==102){k=2;break x}else{m=17324+m|0;n=102}}else{m=k;n=111}while(0);if(n<<24>>24==(a[m>>0]|0)){k=2;break x}do if((o|0)==121){k=d[za+1>>0]|0;if((k|32|0)!=101){k=17324+k|0;m=101;break}k=d[za+2>>0]|0;if((k|32|0)==115){k=4;break x}else{k=17324+k|0;m=115}}else m=121;while(0);if(m<<24>>24==(a[k>>0]|0))k=4;else{m=1;k=g;break w}break}case 5:{k=17324+o|0;o=o|32;do if((o|0)==102){m=d[za+1>>0]|0;if((m|32|0)!=97){m=17324+m|0;n=97;break}m=d[za+2>>0]|0;if((m|32|0)!=108){m=17324+m|0;n=108;break}m=d[za+3>>0]|0;if((m|32|0)!=115){m=17324+m|0;n=115;break}m=d[za+4>>0]|0;if((m|32|0)==101){k=3;break x}else{m=17324+m|0;n=101}}else{m=k;n=102}while(0);if(n<<24>>24==(a[m>>0]|0)){k=3;break x}do if((o|0)==101){k=d[za+1>>0]|0;if((k|32|0)!=120){k=17324+k|0;m=120;break}k=d[za+2>>0]|0;if((k|32|0)!=116){k=17324+k|0;m=116;break}k=d[za+3>>0]|0;if((k|32|0)!=114){k=17324+k|0;m=114;break}k=d[za+4>>0]|0;if((k|32|0)==97){k=6;break x}else{k=17324+k|0;m=97}}else m=101;while(0);if(m<<24>>24==(a[k>>0]|0))k=6;else{m=1;k=g;break w}break}case 4:{k=17324+o|0;o=o|32;do if((o|0)==116){m=d[za+1>>0]|0;if((m|32|0)!=114){m=17324+m|0;n=114;break}m=d[za+2>>0]|0;if((m|32|0)!=117){m=17324+m|0;n=117;break}m=d[za+3>>0]|0;if((m|32|0)==101){k=5;break x}else{m=17324+m|0;n=101}}else{m=k;n=116}while(0);if(n<<24>>24==(a[m>>0]|0)){k=5;break x}do if((o|0)==102){k=d[za+1>>0]|0;if((k|32|0)!=117){k=17324+k|0;m=117;break}k=d[za+2>>0]|0;if((k|32|0)!=108){k=17324+k|0;m=108;break}k=d[za+3>>0]|0;if((k|32|0)==108){k=7;break x}else{k=17324+k|0;m=108}}else m=102;while(0);if(m<<24>>24==(a[k>>0]|0))k=7;else{m=1;k=g;break w}break}default:{m=1;k=g;break w}}while(0);m=a[18212+k>>0]|0;k=g}while(0);ya=(m&255)+1&7;a[ja+(t<<4)+8>>0]=(ya|0)==0?1:ya&255;a[ja+(t<<4)+9>>0]=1;if(!(k<<24>>24)){ua=1580;break b}k=c[Ba+20>>2]|0;if((k|0)<=0){ua=1580;break b}s=Ba+28|0;r=c[wa>>2]|0;while(1){p=k;k=k+-1|0;m=c[r+4>>2]|0;if(m|0){wa=d[r+8>>0]|0;q=c[s>>2]&56|wa;n=c[m+4>>2]|0;c[n+4>>2]=c[m>>2];n=c[n>>2]|0;wa=wa&7;xa=(a[n+12>>0]|0)==0;ya=(wa|0)==1;o=ya|xa^1;g=wa>>>0>2&xa;a[n+7>>0]=o&1;a[n+8>>0]=g&1;a[n+9>>0]=(wa|0)==4&xa&1;if(xa&(ya^1))m=(q&8)>>>3|2;else m=0;a[n+10>>0]=m;ya=m&255;ya=(ya<<2|(g?ya:0))&255;a[n+11>>0]=(q&16|0)==0|o?ya:ya|12;ya=n+20|0;xa=d[ya>>0]|0;a[ya>>0]=q&32|0?xa&254:xa|1}if((p|0)<=1){ua=1579;break b}else r=r+16|0}}case 2:{if(!za){xa=a[5164+(g*12|0)+7>>0]|0;o=xa&255;xa=xa<<24>>24==0;vi(ya,xa?1:o);do if(xa){if(a[(c[ya>>2]|0)+73>>0]|0)break;Ve(c[ya+100>>2]|0,c[q>>2]|0,-1,1,0)|0}else{n=ya+100|0;k=0;m=d[5164+(g*12|0)+6>>0]|0;while(1){if(!(a[(c[ya>>2]|0)+73>>0]|0))Ve((c[n>>2]|0)+(k*40|0)|0,c[5952+(m<<2)>>2]|0,-1,1,0)|0;k=k+1|0;if((k|0)==(o|0))break;else m=m+1|0}}while(0);vl(ya,(c[5164+(g*12|0)+8>>2]&c[Ba+28>>2]|0)!=0&1,0);ua=1580;break b}r=c[5164+(g*12|0)+8>>2]|0;t=Ba+71|0;r=(a[t>>0]|0)==0?r&-16385:r;y:do if(((d[za>>0]|0)+-48|0)>>>0<10){c[va>>2]=0;Pd(za,va)|0;m=c[va>>2]&255;ua=617}else{q=(As(za)|0)&1073741823;z:do if(q|0){k=0;A:while(1){do if((d[18171+k>>0]|0)==(q|0)){m=18187+(d[18179+k>>0]|0)|0;if(!m)break;else{p=za;o=q}while(1){n=a[m>>0]|0;if(!(n<<24>>24)){ua=609;break}n=a[17324+(n&255)>>0]|0;g=a[17324+(d[p>>0]|0)>>0]|0;if(n<<24>>24!=g<<24>>24){m=g;break}if((o|0)>1){m=m+1|0;p=p+1|0;o=o+-1|0}else{ua=613;break}}if((ua|0)==609){ua=0;n=0;m=a[17324+(d[p>>0]|0)>>0]|0}else if((ua|0)==613){ua=0;if((k&-2|0)==6)break;else break A}if(!((k&-2|0)==6?1:n<<24>>24!=m<<24>>24))break A}while(0);k=k+1|0;if((k|0)>=8)break z}m=a[18212+k>>0]|0;ua=617;break y}while(0);k=Ba+28|0;n=c[k>>2]|0;ua=619}while(0);do if((ua|0)==617){k=Ba+28|0;n=c[k>>2]|0;if(!(m<<24>>24)){ua=619;break}c[k>>2]=n|r;s=k}while(0);do if((ua|0)==619){c[k>>2]=n&~r;if((r|0)!=524288){s=k;break}s=Ba+456|0;c[s>>2]=0;c[s+4>>2]=0;s=k}while(0);k=ya+136|0;m=c[k>>2]|0;if((c[(c[ya+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;h=c[ya+88>>2]|0;a[h+(m*20|0)>>0]=-105;h=h+(m*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,151,0,0,0)|0;if(!(a[t>>0]|0)){ua=1580;break b}k=c[Ba+20>>2]|0;if((k|0)<=0){ua=1580;break b}r=c[wa>>2]|0;while(1){p=k;k=k+-1|0;m=c[r+4>>2]|0;if(m|0){wa=d[r+8>>0]|0;q=c[s>>2]&56|wa;n=c[m+4>>2]|0;c[n+4>>2]=c[m>>2];n=c[n>>2]|0;wa=wa&7;xa=(a[n+12>>0]|0)==0;ya=(wa|0)==1;o=ya|xa^1;g=wa>>>0>2&xa;a[n+7>>0]=o&1;a[n+8>>0]=g&1;a[n+9>>0]=(wa|0)==4&xa&1;if(xa&(ya^1))m=(q&8)>>>3|2;else m=0;a[n+10>>0]=m;ya=m&255;ya=(ya<<2|(g?ya:0))&255;a[n+11>>0]=(q&16|0)==0|o?ya:ya|12;ya=n+20|0;xa=d[ya>>0]|0;a[ya>>0]=q&32|0?xa&254:xa|1}if((p|0)<=1){ua=1579;break b}else r=r+16|0}}case 34:{if(!za){ua=1579;break b}s=oj(f,2,za,ka)|0;if(!s){ua=1579;break b}k=c[s+8>>2]|0;B:do if(!k)r=0;else while(1){if((a[k+55>>0]&3)==2){r=k;break B}k=c[k+20>>2]|0;if(!k){r=0;break}}while(0);c[xa>>2]=6;o=c[f+120>>2]|0;o=(o|0)==0?f:o;m=o+92|0;n=c[m>>2]|0;k=1<>2]=n|k;if(!ia)break;q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,T);c[o+12>>2]=m;break}xa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=xa;k=c[q+84>>2]|0;n=c[xa+4>>2]|0;c[n+4>>2]=c[xa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;xa=k;do if(!(xa>>>0>=(c[11662]|0)>>>0&xa>>>0<(c[11663]|0)>>>0)){xa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-xa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{xa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;xa=(c[11666]|0)+1|0;c[11666]=xa;c[11667]=(xa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);xa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((xa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;xa=q+264|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);break C}while(0)}while(0);Aj(f,s)|0;u=s+42|0;m=b[u>>1]|0;if(m<<16>>16<=0){ua=1579;break b}n=c[s+4>>2]|0;t=r+4|0;if(!r){r=0;k=0;q=n;while(1){n=a[q+15>>0]|0;p=n&255;if(!(p&2)){g=c[q>>2]|0;if(!(n&4))n=47328;else n=g+(As(g)|0)+1|0;o=(a[q+12>>0]|0)!=0&1;m=c[q+4>>2]|0;if(!m)m=0;else m=c[m+8>>2]|0;c[da>>2]=r-k;c[da+4>>2]=g;c[da+8>>2]=n;c[da+12>>2]=o;c[da+16>>2]=m;c[da+20>>2]=p&1;wl(ya,1,31971,da);m=b[u>>1]|0}else k=k+1|0;r=r+1|0;if((r|0)>=(m<<16>>16|0)){ua=1579;break b}else q=q+16|0}}else{s=0;k=0;r=n}while(1){q=a[r+15>>0]|0;n=q&255;if(!(n&2)){n=(n&1|0)==0;D:do if(n)m=(n^1)&1;else{if(m<<16>>16<1){m=1;break}g=c[t>>2]|0;n=m<<16>>16;m=1;while(1){if((b[g+(m+-1<<1)>>1]|0)==(s|0))break D;o=m+1|0;if((m|0)<(n|0))m=o;else{m=o;break}}}while(0);p=c[r>>2]|0;if(!(q&4))o=47328;else o=p+(As(p)|0)+1|0;g=(a[r+12>>0]|0)!=0&1;n=c[r+4>>2]|0;if(!n)n=0;else n=c[n+8>>2]|0;c[fa>>2]=s-k;c[fa+4>>2]=p;c[fa+8>>2]=o;c[fa+12>>2]=g;c[fa+16>>2]=n;c[fa+20>>2]=m;wl(ya,1,31971,fa);m=b[u>>1]|0}else k=k+1|0;s=s+1|0;if((s|0)>=(m<<16>>16|0)){ua=1579;break b}else r=r+16|0}}case 17:{if(!za){ua=1579;break b}u=gj(Ba,za,ka)|0;if(!u){ua=1579;break b}j=5164+(g*12|0)+8|0;i=(c[j>>2]|0)==0;v=u+50|0;r=b[(i?v:u+52|0)>>1]|0;w=r&65535;c[xa>>2]=i?3:6;i=c[u+12>>2]|0;o=c[f+120>>2]|0;o=(o|0)==0?f:o;m=o+92|0;n=c[m>>2]|0;k=1<>2]=n|k;if(!ia)break;q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,V);c[o+12>>2]=m;break}wa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=wa;k=c[q+84>>2]|0;n=c[wa+4>>2]|0;c[n+4>>2]=c[wa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;wa=k;do if(!(wa>>>0>=(c[11662]|0)>>>0&wa>>>0<(c[11663]|0)>>>0)){wa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-wa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{wa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;wa=(c[11666]|0)+1|0;c[11666]=wa;c[11667]=(wa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);wa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((wa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;wa=q+264|0;c[wa>>2]=(c[wa>>2]|0)+1}while(0);break E}while(0)}while(0);if(!(r<<16>>16)){ua=1579;break b}p=u+4|0;q=ya+136|0;r=ya+12|0;s=ya+88|0;t=u+28|0;g=u+32|0;o=i+4|0;n=0;while(1){wa=b[(c[p>>2]|0)+(n<<1)>>1]|0;k=wa<<16>>16;if(wa<<16>>16<0)m=0;else m=c[(c[o>>2]|0)+(k<<4)>>2]|0;c[ba>>2]=n;c[ba+4>>2]=k;c[ba+8>>2]=m;wl(ya,1,31978,ba);if(c[j>>2]|0){f=c[(c[g>>2]|0)+(n<<2)>>2]|0;wa=(n|0)<(e[v>>1]|0)&1;c[ca>>2]=d[(c[t>>2]|0)+n>>0];c[ca+4>>2]=f;c[ca+8>>2]=wa;wl(ya,4,31983,ca)}k=c[xa>>2]|0;m=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(m|0)){c[q>>2]=m+1;wa=c[s>>2]|0;a[wa+(m*20|0)>>0]=78;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=1;c[wa+(m*20|0)+8>>2]=k;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0}else zi(ya,78,1,k,0)|0;n=n+1|0;if((n|0)==(w|0)){ua=1579;break b}}}case 18:{if(!za){ua=1579;break b}r=jj(Ba,za,ka)|0;if(!r){ua=1579;break b}c[xa>>2]=5;o=c[f+120>>2]|0;o=(o|0)==0?f:o;m=o+92|0;n=c[m>>2]|0;k=1<>2]=n|k;if(!ia)break;q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,K);c[o+12>>2]=m;break}xa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=xa;k=c[q+84>>2]|0;n=c[xa+4>>2]|0;c[n+4>>2]=c[xa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;xa=k;do if(!(xa>>>0>=(c[11662]|0)>>>0&xa>>>0<(c[11663]|0)>>>0)){xa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-xa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{xa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;xa=(c[11666]|0)+1|0;c[11666]=xa;c[11667]=(xa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);xa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((xa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;xa=q+264|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);break F}while(0)}while(0);k=c[r+8>>2]|0;if(!k){ua=1579;break b}else m=0;while(1){va=c[k>>2]|0;f=(a[k+54>>0]|0)!=0&1;wa=c[6184+((a[k+55>>0]&3)<<2)>>2]|0;xa=(c[k+36>>2]|0)!=0&1;c[$>>2]=m;c[$+4>>2]=va;c[$+8>>2]=f;c[$+12>>2]=wa;c[$+16>>2]=xa;wl(ya,1,31988,$);k=c[k+20>>2]|0;if(!k){ua=1579;break b}else m=m+1|0}}case 10:{c[xa>>2]=3;g=Ba+20|0;k=c[g>>2]|0;if((k|0)>0)o=0;else{ua=1580;break b}while(1){m=c[wa>>2]|0;n=c[m+(o<<4)+4>>2]|0;if(n){m=c[m+(o<<4)>>2]|0;k=c[c[n+4>>2]>>2]|0;if(!(a[k+15>>0]|0))k=c[k+168>>2]|0;else k=47328;c[S>>2]=o;c[S+4>>2]=m;c[S+8>>2]=k;wl(ya,1,31994,S);k=c[g>>2]|0}o=o+1|0;if((o|0)>=(k|0)){ua=1580;break b}}}case 7:{c[xa>>2]=2;k=c[Ba+380>>2]|0;if(!k){ua=1580;break b}else m=0;while(1){xa=c[c[k+8>>2]>>2]|0;c[G>>2]=m;c[G+4>>2]=xa;wl(ya,1,31998,G);k=c[k>>2]|0;if(!k){ua=1579;break b}else m=m+1|0}}case 14:{if(!za){ua=1579;break b}r=jj(Ba,za,ka)|0;if(!r){ua=1579;break b}s=c[r+16>>2]|0;if(!s){ua=1579;break b}c[xa>>2]=8;o=c[f+120>>2]|0;o=(o|0)==0?f:o;m=o+92|0;n=c[m>>2]|0;k=1<>2]=n|k;if(!ia)break;q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,R);c[o+12>>2]=m;break}xa=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=xa;k=c[q+84>>2]|0;n=c[xa+4>>2]|0;c[n+4>>2]=c[xa>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;xa=k;do if(!(xa>>>0>=(c[11662]|0)>>>0&xa>>>0<(c[11663]|0)>>>0)){xa=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-xa;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{xa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;xa=(c[11666]|0)+1|0;c[11666]=xa;c[11667]=(xa|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);xa=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((xa|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;xa=q+264|0;c[xa>>2]=(c[xa>>2]|0)+1}while(0);break G}while(0)}while(0);j=r+4|0;n=s;o=0;while(1){p=n+20|0;H:do if((c[p>>2]|0)>0){q=n+8|0;r=n+26|0;s=n+25|0;g=0;while(1){t=c[q>>2]|0;u=c[(c[j>>2]|0)+(c[n+36+(g<<3)>>2]<<4)>>2]|0;i=c[n+36+(g<<3)+4>>2]|0;switch(a[r>>0]|0){case 7:{k=32040;break}case 8:{k=32028;break}case 9:{k=32020;break}case 6:{k=32011;break}default:k=32001}switch(a[s>>0]|0){case 7:{m=32040;break}case 8:{m=32028;break}case 9:{m=32020;break}case 6:{m=32011;break}default:m=32001}c[aa>>2]=o;c[aa+4>>2]=g;c[aa+8>>2]=t;c[aa+12>>2]=u;c[aa+16>>2]=i;c[aa+20>>2]=k;c[aa+24>>2]=m;c[aa+28>>2]=32058;wl(ya,1,32049,aa);g=g+1|0;if((g|0)>=(c[p>>2]|0))break H}}while(0);n=c[n+4>>2]|0;if(!n){ua=1579;break b}else o=o+1|0}}case 13:{r=c[xa>>2]|0;L=r+1|0;M=r+5|0;N=r+6|0;c[xa>>2]=N;o=c[f+120>>2]|0;o=(o|0)==0?f:o;k=o+92|0;m=c[k>>2]|0;n=1<>2]=m|n,ia):0){q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,U);c[o+12>>2]=m;break}va=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=va;k=c[q+84>>2]|0;n=c[va+4>>2]|0;c[n+4>>2]=c[va>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;va=k;do if(!(va>>>0>=(c[11662]|0)>>>0&va>>>0<(c[11663]|0)>>>0)){va=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-va;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{va=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;va=(c[11666]|0)+1|0;c[11666]=va;c[11667]=(va|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);va=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((va|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;va=q+264|0;c[va>>2]=(c[va>>2]|0)+1}while(0);break I}while(0)}while(0);k=c[(c[(c[wa>>2]|0)+(t<<4)+12>>2]|0)+16>>2]|0;J:do if(k|0){F=(za|0)==0;G=ya+136|0;H=ya+12|0;I=ya+88|0;J=f+40|0;K=r+2|0;y=r+3|0;A=Ba+464|0;B=Ba+296|0;C=Ba+300|0;D=Ba+292|0;do{if(F){x=c[k+8>>2]|0;k=c[k>>2]|0}else{x=oj(f,0,za,ka)|0;k=0}do if(x|0){q=x+16|0;if(!(c[q>>2]|0))break;qk(f,t,c[x+28>>2]|0,0,c[x>>2]|0);m=(b[x+42>>1]|0)+N|0;if((m|0)>(c[xa>>2]|0))c[xa>>2]=m;Bi(f,0,t,x,104);n=c[x>>2]|0;m=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(m|0)){c[G>>2]=m+1;wa=c[I>>2]|0;a[wa+(m*20|0)>>0]=97;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=0;c[wa+(m*20|0)+8>>2]=L;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0}else m=zi(ya,97,0,L,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((m|0)<0)m=(c[G>>2]|0)+-1|0;Ai(ya,(c[I>>2]|0)+(m*20|0)|0,n,0)}m=c[q>>2]|0;if(!m)m=1;else{n=1;while(1){o=jj(Ba,c[m+8>>2]|0,ka)|0;K:do if(o|0){c[ma>>2]=0;qk(f,t,c[o+28>>2]|0,0,c[o>>2]|0);if(xl(f,o,m,ma,0)|0)break J;p=c[ma>>2]|0;if(!p){Bi(f,n,t,o,104);break}o=c[p+44>>2]|0;g=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(g|0)){c[G>>2]=g+1;wa=c[I>>2]|0;a[wa+(g*20|0)>>0]=104;b[wa+(g*20|0)+2>>1]=0;c[wa+(g*20|0)+4>>2]=n;c[wa+(g*20|0)+8>>2]=o;c[wa+(g*20|0)+12>>2]=t;c[wa+(g*20|0)+16>>2]=0;a[wa+(g*20|0)+1>>0]=0}else zi(ya,104,n,o,t)|0;g=c[sa>>2]|0;p=rk(f,p)|0;if(!p)break;o=c[g>>2]|0;if(!(a[o+73>>0]|0)){va=c[g+88>>2]|0;wa=(c[g+136>>2]|0)+-1|0;a[va+(wa*20|0)+1>>0]=-9;c[va+(wa*20|0)+16>>2]=p;break}if(c[o+464>>2]|0)break;wa=(c[p>>2]|0)+-1|0;c[p>>2]=wa;if(wa|0)break;o=c[p+12>>2]|0;do if(o|0){if(c[o+464>>2]|0){Lc(o,p);break K}g=p;if(g>>>0<(c[o+296>>2]|0)>>>0)break;if(g>>>0>=(c[o+300>>2]|0)>>>0)break;wa=o+292|0;c[p>>2]=c[wa>>2];c[wa>>2]=p;break K}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{wa=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);n=n+1|0;m=c[m+4>>2]|0;if(!m){m=n;break}}}if((c[J>>2]|0)<(m|0))c[J>>2]=m;m=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(m|0)){c[G>>2]=m+1;h=c[I>>2]|0;a[h+(m*20|0)>>0]=37;h=h+(m*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0));w=m}else w=zi(ya,37,0,0,0)|0;m=c[q>>2]|0;if(m|0){v=x+36|0;j=1;while(1){u=m+8|0;n=jj(Ba,c[u>>2]|0,ka)|0;c[ma>>2]=0;c[ta>>2]=0;r=(n|0)!=0;if(r)xl(f,n,m,ma,ta)|0;n=c[H>>2]|0;q=n+68|0;i=c[q>>2]|0;c[q>>2]=i+1;q=n+72|0;if(!(i+-1&i)){o=c[n>>2]|0;g=c[q>>2]|0;n=Mc(o,g,i<<3|4,0)|0;L:do if(!((g|0)==0|(n|0)!=0)){do if(o|0){if(c[o+464>>2]|0){Lc(o,g);break L}p=g;if(p>>>0<(c[o+296>>2]|0)>>>0)break;if(p>>>0>=(c[o+300>>2]|0)>>>0)break;wa=o+292|0;c[g>>2]=c[wa>>2];c[wa>>2]=g;break L}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{wa=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[q>>2]=n}else n=c[q>>2]|0;if(n|0)c[n+(i<<2)>>2]=-1;s=~i;p=m+20|0;n=c[p>>2]|0;if((n|0)>0){g=0;do{o=c[ta>>2]|0;n=g+N|0;Ek(ya,x,0,c[((o|0)==0?m+36+(g<<3)|0:o+(g<<2)|0)>>2]|0,n);o=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(o|0)){c[G>>2]=o+1;wa=c[I>>2]|0;a[wa+(o*20|0)>>0]=50;b[wa+(o*20|0)+2>>1]=0;c[wa+(o*20|0)+4>>2]=n;c[wa+(o*20|0)+8>>2]=s;c[wa+(o*20|0)+12>>2]=0;c[wa+(o*20|0)+16>>2]=0;a[wa+(o*20|0)+1>>0]=0}else zi(ya,50,n,s,0)|0;g=g+1|0;n=c[p>>2]|0}while((g|0)<(n|0))}o=c[ma>>2]|0;do if(!o){if(!r)break;n=c[G>>2]|0;o=n+2|0;if((c[(c[H>>2]|0)+48>>2]|0)>(n|0)){wa=n+1|0;c[G>>2]=wa;va=c[I>>2]|0;a[va+(n*20|0)>>0]=31;b[va+(n*20|0)+2>>1]=0;c[va+(n*20|0)+4>>2]=j;c[va+(n*20|0)+8>>2]=o;c[va+(n*20|0)+12>>2]=N;c[va+(n*20|0)+16>>2]=0;a[va+(n*20|0)+1>>0]=0;n=wa}else{zi(ya,31,j,o,N)|0;n=c[G>>2]|0}if((c[(c[H>>2]|0)+48>>2]|0)>(n|0)){c[G>>2]=n+1;wa=c[I>>2]|0;a[wa+(n*20|0)>>0]=13;b[wa+(n*20|0)+2>>1]=0;c[wa+(n*20|0)+4>>2]=0;c[wa+(n*20|0)+8>>2]=s;c[wa+(n*20|0)+12>>2]=0;c[wa+(n*20|0)+16>>2]=0;a[wa+(n*20|0)+1>>0]=0;break}else{zi(ya,13,0,s,0)|0;break}}else{r=Fk(Ba,o)|0;q=c[p>>2]|0;o=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(o|0)){c[G>>2]=o+1;wa=c[I>>2]|0;a[wa+(o*20|0)>>0]=99;b[wa+(o*20|0)+2>>1]=0;c[wa+(o*20|0)+4>>2]=N;c[wa+(o*20|0)+8>>2]=n;c[wa+(o*20|0)+12>>2]=M;c[wa+(o*20|0)+16>>2]=0;a[wa+(o*20|0)+1>>0]=0;n=o}else n=zi(ya,99,N,n,M)|0;o=c[ya>>2]|0;M:do if(!(a[o+73>>0]|0)){if((n|0)<0)n=(c[G>>2]|0)+-1|0;o=c[I>>2]|0;g=o+(n*20|0)|0;do if((q|0)<=-1){p=o+(n*20|0)+1|0;if(a[p>>0]|0)break;if((q|0)==-3){c[o+(n*20|0)+16>>2]=r;a[p>>0]=-3;break M}if(!r)break M;c[o+(n*20|0)+16>>2]=r;a[p>>0]=q;if((q|0)!=-12)break M;wa=r+12|0;c[wa>>2]=(c[wa>>2]|0)+1;break M}while(0);Ai(ya,g,r,q)}else{if((q|0)==-12)break;Wf(o,q,r)}while(0);n=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(n|0)){c[G>>2]=n+1;wa=c[I>>2]|0;a[wa+(n*20|0)>>0]=30;b[wa+(n*20|0)+2>>1]=0;c[wa+(n*20|0)+4>>2]=j;c[wa+(n*20|0)+8>>2]=s;c[wa+(n*20|0)+12>>2]=M;c[wa+(n*20|0)+16>>2]=0;a[wa+(n*20|0)+1>>0]=0}else n=zi(ya,30,j,s,M)|0;if(a[(c[ya>>2]|0)+73>>0]|0)break;wa=c[I>>2]|0;a[wa+(n*20|0)+1>>0]=-3;c[wa+(n*20|0)+16>>2]=0}while(0);n=c[G>>2]|0;o=(c[(c[H>>2]|0)+48>>2]|0)>(n|0);do if(!(c[v>>2]&32))if(o){c[G>>2]=n+1;wa=c[I>>2]|0;a[wa+(n*20|0)>>0]=123;b[wa+(n*20|0)+2>>1]=0;c[wa+(n*20|0)+4>>2]=0;c[wa+(n*20|0)+8>>2]=K;c[wa+(n*20|0)+12>>2]=0;c[wa+(n*20|0)+16>>2]=0;a[wa+(n*20|0)+1>>0]=0;break}else{zi(ya,123,0,K,0)|0;break}else if(o){c[G>>2]=n+1;wa=c[I>>2]|0;a[wa+(n*20|0)>>0]=70;b[wa+(n*20|0)+2>>1]=0;c[wa+(n*20|0)+4>>2]=0;c[wa+(n*20|0)+8>>2]=K;c[wa+(n*20|0)+12>>2]=0;c[wa+(n*20|0)+16>>2]=0;a[wa+(n*20|0)+1>>0]=0;break}else{zi(ya,70,0,K,0)|0;break}while(0);c[la>>2]=c[u>>2];c[la+4>>2]=j+-1;wl(ya,y,32063,la);n=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(n|0)){c[G>>2]=n+1;wa=c[I>>2]|0;a[wa+(n*20|0)>>0]=78;b[wa+(n*20|0)+2>>1]=0;c[wa+(n*20|0)+4>>2]=L;c[wa+(n*20|0)+8>>2]=4;c[wa+(n*20|0)+12>>2]=0;c[wa+(n*20|0)+16>>2]=0;a[wa+(n*20|0)+1>>0]=0}else zi(ya,78,L,4,0)|0;n=c[(c[H>>2]|0)+72>>2]|0;if(n|0)c[n+(i<<2)>>2]=c[G>>2];n=c[ta>>2]|0;N:do if(n|0){if(c[A>>2]|0){Lc(Ba,n);break}o=n;do if(o>>>0>=(c[B>>2]|0)>>>0){if(o>>>0>=(c[C>>2]|0)>>>0)break;c[n>>2]=c[D>>2];c[D>>2]=n;break N}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{wa=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);m=c[m+4>>2]|0;if(!m)break;else j=j+1|0}}m=w+1|0;n=c[G>>2]|0;if((c[(c[H>>2]|0)+48>>2]|0)>(n|0)){wa=n+1|0;c[G>>2]=wa;va=c[I>>2]|0;a[va+(n*20|0)>>0]=7;b[va+(n*20|0)+2>>1]=0;c[va+(n*20|0)+4>>2]=0;c[va+(n*20|0)+8>>2]=m;c[va+(n*20|0)+12>>2]=0;c[va+(n*20|0)+16>>2]=0;a[va+(n*20|0)+1>>0]=0;n=wa}else{zi(ya,7,0,m,0)|0;n=c[G>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))m=(c[I>>2]|0)+(((w|0)<0?n+-1|0:w)*20|0)|0;else m=46708;c[m+8>>2]=n}while(0)}while((k|0)!=0)}while(0);ua=1579;break b}case 6:{if(!za){ua=1579;break b}O:do if(((d[za>>0]|0)+-48|0)>>>0<10){c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]&255}else{q=(As(za)|0)&1073741823;if(!q){k=0;break}else p=0;while(1){do if((d[18171+p>>0]|0)==(q|0)){k=18187+(d[18179+p>>0]|0)|0;if(!k)break;else{o=za;g=q}while(1){m=a[k>>0]|0;if(!(m<<24>>24)){ua=956;break}m=a[17324+(m&255)>>0]|0;n=a[17324+(d[o>>0]|0)>>0]|0;if(m<<24>>24!=n<<24>>24){O=m;P=n;ua=959;break}if((g|0)>1){k=k+1|0;o=o+1|0;g=g+-1|0}else break}if((ua|0)==956){O=0;P=a[17324+(d[o>>0]|0)>>0]|0;ua=959}if((ua|0)==959?(ua=0,O<<24>>24!=P<<24>>24):0)break;if((p&-2|0)!=6){k=a[18212+p>>0]|0;break O}}while(0);p=p+1|0;if((p|0)>=8){k=0;break}}}while(0);m=k<<24>>24!=0;k=m?32067:18832;yl(Ba,18836,2,1,k,211,0,0,0)|0;yl(Ba,18836,3,1,k,211,0,0,0)|0;yl(Ba,18827,2,1,18823,211,0,0,0)|0;k=kk(Ba,18827,2,1,0)|0;if(k|0){ya=k+2|0;b[ya>>1]=b[ya>>1]|12}k=kk(Ba,18836,2,1,0)|0;if(!k){ua=1579;break b}ua=k+2|0;b[ua>>1]=e[ua>>1]|(m?12:4);ua=1579;break b}case 19:{X=(a[Aa>>0]|32)<<24>>24==113;V=(c[h>>2]|0)==0?-1:t;c[xa>>2]=6;c[ma>>2]=100;if(za){Pd(za,ma)|0;k=c[ma>>2]|0;if((k|0)<1){c[ma>>2]=100;U=100}else U=k}else U=100;k=U+-1|0;W=ya+136|0;m=c[W>>2]|0;T=ya+12|0;if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){c[W>>2]=m+1;ma=c[ya+88>>2]|0;a[ma+(m*20|0)>>0]=67;b[ma+(m*20|0)+2>>1]=0;c[ma+(m*20|0)+4>>2]=k;c[ma+(m*20|0)+8>>2]=1;c[ma+(m*20|0)+12>>2]=0;c[ma+(m*20|0)+16>>2]=0;a[ma+(m*20|0)+1>>0]=0}else zi(ya,67,k,1,0)|0;C=Ba+73|0;D=Ba+20|0;P:do if((c[D>>2]|0)>0){F=(V|0)<0;G=f+120|0;H=Ba+264|0;I=Ba+268|0;J=Ba+292|0;K=Ba+288|0;L=Ba+276|0;M=f+19|0;N=f+28|0;O=ya+88|0;P=f+25|0;Q=f+60|0;R=Ba+28|0;S=f+56|0;B=0;do{do if(F|(B|0)==(V|0)){o=c[G>>2]|0;o=(o|0)==0?f:o;k=o+92|0;m=c[k>>2]|0;n=1<>2]=m|n;if((B|0)!=1)break;q=c[o>>2]|0;k=q+16|0;if(c[(c[k>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;m=fg(c[q>>2]|0,0,q,va,0,542)|0;if(m|0){hg(o,21111,ra);c[o+12>>2]=m;break}ma=c[va>>2]|0;c[(c[k>>2]|0)+20>>2]=ma;k=c[q+84>>2]|0;n=c[ma+4>>2]|0;c[n+4>>2]=c[ma>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;g=n+36|0;p=(c[o>>2]|0)-(c[g>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;ma=k;do if(!(ma>>>0>=(c[11662]|0)>>>0&ma>>>0<(c[11663]|0)>>>0)){ma=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-ma;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ma=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;ma=(c[11666]|0)+1|0;c[11666]=ma;c[11667]=(ma|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);ma=gg(c[n>>2]|0,o,p)|0;c[g>>2]=(c[o>>2]|0)-(p&65535);if((ma|0)!=7)break;k=q+73|0;do if(!(a[k>>0]|0)){if(a[q+74>>0]|0)break;a[k>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;ma=q+264|0;c[ma>>2]=(c[ma>>2]|0)+1}while(0);break Q}while(0)}while(0);q=(c[(c[wa>>2]|0)+(B<<4)+12>>2]|0)+16|0;n=c[q>>2]|0;if(!n){m=0;k=0}else{m=0;k=0;do{o=c[n+8>>2]|0;k=((c[o+36>>2]|0)>>>5&1^1)+k|0;o=c[o+8>>2]|0;if(!o)g=0;else{g=0;do{k=k+1|0;g=g+1|0;o=c[o+20>>2]|0}while((o|0)!=0)}m=(g|0)>(m|0)?g:m;n=c[n>>2]|0}while((n|0)!=0)}n=(k<<2)+4|0;R:do if(c[H>>2]|0)if(!(a[C>>0]|0))ua=1011;else break P;else{do if(0<0|(0==0?(e[I>>1]|0)>>>0>>0:0))k=1;else{k=c[J>>2]|0;if(k|0){c[J>>2]=c[k>>2];c[L>>2]=(c[L>>2]|0)+1;p=k;break R}k=c[K>>2]|0;if(!k){k=2;break}c[K>>2]=c[k>>2];c[L>>2]=(c[L>>2]|0)+1;p=k;break R}while(0);ua=Ba+276+(k<<2)|0;c[ua>>2]=(c[ua>>2]|0)+1;ua=1011}while(0);if((ua|0)==1011){ua=0;p=Ec(Ba,n,0)|0}if(!p)break P;k=c[q>>2]|0;if(!k)n=0;else{n=0;do{g=c[k+8>>2]|0;o=n+1|0;if(!(c[g+36>>2]&32)){c[p+(o<<2)>>2]=c[g+28>>2];n=o}o=c[g+8>>2]|0;if(o)do{n=n+1|0;c[p+(n<<2)>>2]=c[o+44>>2];o=c[o+20>>2]|0}while((o|0)!=0);k=c[k>>2]|0}while((k|0)!=0)}c[p>>2]=n;ma=c[xa>>2]|0;k=m+8|0;c[xa>>2]=(ma|0)>(k|0)?ma:k;a[M>>0]=0;c[N>>2]=0;k=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(k|0)){c[W>>2]=k+1;ma=c[O>>2]|0;a[ma+(k*20|0)>>0]=-114;b[ma+(k*20|0)+2>>1]=0;c[ma+(k*20|0)+4>>2]=2;c[ma+(k*20|0)+8>>2]=n;c[ma+(k*20|0)+12>>2]=1;c[ma+(k*20|0)+16>>2]=0;a[ma+(k*20|0)+1>>0]=0}else k=zi(ya,142,2,n,1)|0;m=c[ya>>2]|0;S:do if(!(a[m+73>>0]|0)){if((k|0)<0)k=(c[W>>2]|0)+-1|0;m=c[O>>2]|0;n=m+(k*20|0)+1|0;if(!(a[n>>0]|0)){c[m+(k*20|0)+16>>2]=p;a[n>>0]=-15;break}else{Ai(ya,m+(k*20|0)|0,p,-15);break}}else{do if(m|0){if(c[m+464>>2]|0){Lc(m,p);break S}k=p;if(k>>>0<(c[m+296>>2]|0)>>>0)break;if(k>>>0>=(c[m+300>>2]|0)>>>0)break;ma=m+292|0;c[p>>2]=c[ma>>2];c[ma>>2]=p;break S}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{ma=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);k=c[W>>2]|0;if((k|0)>0)b[(c[O>>2]|0)+((k+-1|0)*20|0)+2>>1]=B&255;if((c[(c[T>>2]|0)+48>>2]|0)>(k|0)){c[W>>2]=k+1;ma=c[O>>2]|0;a[ma+(k*20|0)>>0]=50;b[ma+(k*20|0)+2>>1]=0;c[ma+(k*20|0)+4>>2]=2;c[ma+(k*20|0)+8>>2]=0;c[ma+(k*20|0)+12>>2]=0;c[ma+(k*20|0)+16>>2]=0;a[ma+(k*20|0)+1>>0]=0}else k=zi(ya,50,2,0,0)|0;c[oa>>2]=c[(c[wa>>2]|0)+(B<<4)>>2];g=Ff(Ba,32071,oa)|0;m=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){c[W>>2]=m+1;ma=c[O>>2]|0;a[ma+(m*20|0)>>0]=97;b[ma+(m*20|0)+2>>1]=0;c[ma+(m*20|0)+4>>2]=0;c[ma+(m*20|0)+8>>2]=3;c[ma+(m*20|0)+12>>2]=0;c[ma+(m*20|0)+16>>2]=0;a[ma+(m*20|0)+1>>0]=0}else m=zi(ya,97,0,3,0)|0;n=c[ya>>2]|0;T:do if(a[n+73>>0]|0){if(!g)break;do if(n|0){if(c[n+464>>2]|0){Lc(n,g);break T}m=g;if(m>>>0<(c[n+296>>2]|0)>>>0)break;if(m>>>0>=(c[n+300>>2]|0)>>>0)break;ma=n+292|0;c[g>>2]=c[ma>>2];c[ma>>2]=g;break T}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{ma=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else{if((m|0)<0)m=(c[W>>2]|0)+-1|0;n=c[O>>2]|0;o=n+(m*20|0)+1|0;if(a[o>>0]|0){Ai(ya,n+(m*20|0)|0,g,-7);break}if(!g)break;c[n+(m*20|0)+16>>2]=g;a[o>>0]=-7}while(0);m=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){ma=m+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(m*20|0)>>0]=93;b[la+(m*20|0)+2>>1]=0;c[la+(m*20|0)+4>>2]=2;c[la+(m*20|0)+8>>2]=3;c[la+(m*20|0)+12>>2]=3;c[la+(m*20|0)+16>>2]=0;a[la+(m*20|0)+1>>0]=0;m=ma}else{zi(ya,93,2,3,3)|0;m=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){n=m+1|0;c[W>>2]=n;ma=c[O>>2]|0;a[ma+(m*20|0)>>0]=78;b[ma+(m*20|0)+2>>1]=0;c[ma+(m*20|0)+4>>2]=3;c[ma+(m*20|0)+8>>2]=1;c[ma+(m*20|0)+12>>2]=0;c[ma+(m*20|0)+16>>2]=0;a[ma+(m*20|0)+1>>0]=0}else{zi(ya,78,3,1,0)|0;n=c[W>>2]|0}m=n+2|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){ma=n+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(n*20|0)>>0]=48;b[la+(n*20|0)+2>>1]=0;c[la+(n*20|0)+4>>2]=1;c[la+(n*20|0)+8>>2]=m;c[la+(n*20|0)+12>>2]=1;c[la+(n*20|0)+16>>2]=0;a[la+(n*20|0)+1>>0]=0;m=ma}else{zi(ya,48,1,m,1)|0;m=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){c[W>>2]=m+1;h=c[O>>2]|0;a[h+(m*20|0)>>0]=66;h=h+(m*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,66,0,0,0)|0;m=c[W>>2]|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))k=(c[O>>2]|0)+(((k|0)<0?m+-1|0:k)*20|0)|0;else k=46708;c[k+8>>2]=m;k=c[q>>2]|0;if(!k)break;do{j=c[k+8>>2]|0;do if((c[j+28>>2]|0)>=1){U:do if(!(c[j+36>>2]&32))m=0;else{m=c[j+8>>2]|0;if(!m){m=0;break}while(1){if((a[m+55>>0]&3)==2)break U;m=c[m+20>>2]|0;if(!m){m=0;break}}}while(0);n=a[P>>0]|0;if(n<<24>>24){o=n&255;n=0;do{do if(a[f+148+(n*20|0)+6>>0]|0){g=a[M>>0]|0;if((g&255)>=8)break;ma=c[f+148+(n*20|0)+12>>2]|0;a[M>>0]=g+1<<24>>24;c[f+348+((g&255)<<2)>>2]=ma}while(0);n=n+1|0}while((n|0)!=(o|0))}a[P>>0]=0;zl(f,j,104,0,1,0,va,ta)|0;n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=67;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=7;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else zi(ya,67,0,7,0)|0;A=j+8|0;n=c[A>>2]|0;if(n|0){o=0;while(1){g=o+8|0;p=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(p|0)){c[W>>2]=p+1;ma=c[O>>2]|0;a[ma+(p*20|0)>>0]=67;b[ma+(p*20|0)+2>>1]=0;c[ma+(p*20|0)+4>>2]=0;c[ma+(p*20|0)+8>>2]=g;c[ma+(p*20|0)+12>>2]=0;c[ma+(p*20|0)+16>>2]=0;a[ma+(p*20|0)+1>>0]=0}else zi(ya,67,0,g,0)|0;n=c[n+20>>2]|0;if(!n)break;else o=o+1|0}}n=c[va>>2]|0;o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=37;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=n;c[la+(o*20|0)+8>>2]=0;c[la+(o*20|0)+12>>2]=0;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;n=ma}else{zi(ya,37,n,0,0)|0;n=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;y=c[O>>2]|0;a[y+(n*20|0)>>0]=80;b[y+(n*20|0)+2>>1]=0;c[y+(n*20|0)+4>>2]=7;c[y+(n*20|0)+8>>2]=1;c[y+(n*20|0)+12>>2]=0;c[y+(n*20|0)+16>>2]=0;a[y+(n*20|0)+1>>0]=0;y=n}else y=zi(ya,80,7,1,0)|0;i=j+42|0;n=b[i>>1]|0;if(n<<16>>16>0){s=j+40|0;t=j+4|0;r=0;do{do if((r|0)!=(b[s>>1]|0)){if(!(a[(c[t>>2]|0)+(r<<4)+12>>0]|0))break;Ek(ya,j,c[va>>2]|0,r,3);n=c[W>>2]|0;if((n|0)>0)b[(c[O>>2]|0)+((n+-1|0)*20|0)+2>>1]=128;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=51;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=3;c[ma+(n*20|0)+8>>2]=0;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,51,3,0,0)|0;q=c[(c[t>>2]|0)+(r<<4)>>2]|0;c[pa>>2]=c[j>>2];c[pa+4>>2]=q;q=Ff(Ba,32095,pa)|0;o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=97;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=0;c[ma+(o*20|0)+8>>2]=3;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else o=zi(ya,97,0,3,0)|0;g=c[ya>>2]|0;V:do if(a[g+73>>0]|0){if(!q)break;do if(g|0){if(c[g+464>>2]|0){Lc(g,q);break V}o=q;if(o>>>0<(c[g+296>>2]|0)>>>0)break;if(o>>>0>=(c[g+300>>2]|0)>>>0)break;ma=g+292|0;c[q>>2]=c[ma>>2];c[ma>>2]=q;break V}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{ma=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}else{if((o|0)<0)o=(c[W>>2]|0)+-1|0;g=c[O>>2]|0;p=g+(o*20|0)+1|0;if(a[p>>0]|0){Ai(ya,g+(o*20|0)|0,q,-7);break}if(!q)break;c[g+(o*20|0)+16>>2]=q;a[p>>0]=-7}while(0);o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){g=o+1|0;c[W>>2]=g;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=78;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=3;c[ma+(o*20|0)+8>>2]=1;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else{zi(ya,78,3,1,0)|0;g=c[W>>2]|0}o=g+2|0;if((c[(c[T>>2]|0)+48>>2]|0)>(g|0)){ma=g+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(g*20|0)>>0]=48;b[la+(g*20|0)+2>>1]=0;c[la+(g*20|0)+4>>2]=1;c[la+(g*20|0)+8>>2]=o;c[la+(g*20|0)+12>>2]=1;c[la+(g*20|0)+16>>2]=0;a[la+(g*20|0)+1>>0]=0;o=ma}else{zi(ya,48,1,o,1)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;h=c[O>>2]|0;a[h+(o*20|0)>>0]=66;h=h+(o*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,66,0,0,0)|0;o=c[W>>2]|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))n=(c[O>>2]|0)+(((n|0)<0?o+-1|0:n)*20|0)|0;else n=46708;c[n+8>>2]=o;n=b[i>>1]|0}while(0);r=r+1|0}while((r|0)<(n<<16>>16|0))}n=c[j+24>>2]|0;do if(n|0){if(c[R>>2]&512|0)break;u=Ui(Ba,n,0)|0;W:do if(!(a[C>>0]|0)){n=c[T>>2]|0;q=n+68|0;s=c[q>>2]|0;c[q>>2]=s+1;q=n+72|0;if(!(s+-1&s)){o=c[n>>2]|0;g=c[q>>2]|0;n=Mc(o,g,s<<3|4,0)|0;X:do if(!((g|0)==0|(n|0)!=0)){do if(o|0){if(c[o+464>>2]|0){Lc(o,g);break X}p=g;if(p>>>0<(c[o+296>>2]|0)>>>0)break;if(p>>>0>=(c[o+300>>2]|0)>>>0)break;ma=o+292|0;c[g>>2]=c[ma>>2];c[ma>>2]=g;break X}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{ma=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[q>>2]=n}else n=c[q>>2]|0;if(n|0)c[n+(s<<2)>>2]=-1;r=~s;n=c[T>>2]|0;q=n+68|0;t=c[q>>2]|0;c[q>>2]=t+1;q=n+72|0;if(!(t+-1&t)){o=c[n>>2]|0;g=c[q>>2]|0;n=Mc(o,g,t<<3|4,0)|0;Y:do if(!((g|0)==0|(n|0)!=0)){do if(o|0){if(c[o+464>>2]|0){Lc(o,g);break Y}p=g;if(p>>>0<(c[o+296>>2]|0)>>>0)break;if(p>>>0>=(c[o+300>>2]|0)>>>0)break;ma=o+292|0;c[g>>2]=c[ma>>2];c[ma>>2]=g;break Y}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{ma=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[q>>2]=n}else n=c[q>>2]|0;if(n|0)c[n+(t<<2)>>2]=-1;o=~t;c[S>>2]=(c[va>>2]|0)+1;c[Q>>2]=(c[Q>>2]|0)+1;n=c[u>>2]|0;if((n|0)>1)do{n=n+-1|0;Dk(f,c[u+4+(n*20|0)>>2]|0,r,0)}while((n|0)>1);Gk(f,c[u+4>>2]|0,o,16);n=c[(c[T>>2]|0)+72>>2]|0;if(n|0)c[n+(s<<2)>>2]=c[W>>2];c[S>>2]=0;c[qa>>2]=c[j>>2];p=Ff(Ba,32115,qa)|0;n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=97;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=3;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,97,0,3,0)|0;o=c[ya>>2]|0;Z:do if(a[o+73>>0]|0){if(!p)break;do if(o|0){if(c[o+464>>2]|0){Lc(o,p);break Z}n=p;if(n>>>0<(c[o+296>>2]|0)>>>0)break;if(n>>>0>=(c[o+300>>2]|0)>>>0)break;ma=o+292|0;c[p>>2]=c[ma>>2];c[ma>>2]=p;break Z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{ma=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}else{if((n|0)<0)n=(c[W>>2]|0)+-1|0;o=c[O>>2]|0;g=o+(n*20|0)+1|0;if(a[g>>0]|0){Ai(ya,o+(n*20|0)|0,p,-7);break}if(!p)break;c[o+(n*20|0)+16>>2]=p;a[g>>0]=-7}while(0);n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[W>>2]=o;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=78;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=3;c[ma+(n*20|0)+8>>2]=1;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else{zi(ya,78,3,1,0)|0;o=c[W>>2]|0}n=o+2|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=48;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=1;c[la+(o*20|0)+8>>2]=n;c[la+(o*20|0)+12>>2]=1;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;n=ma}else{zi(ya,48,1,n,1)|0;n=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;h=c[O>>2]|0;a[h+(n*20|0)>>0]=66;h=h+(n*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,66,0,0,0)|0;n=c[(c[T>>2]|0)+72>>2]|0;if(n|0)c[n+(t<<2)>>2]=c[W>>2];n=(c[Q>>2]|0)+-1|0;c[Q>>2]=n;o=a[P>>0]|0;if(!(o<<24>>24))break;else s=0;do{g=f+148+(s*20|0)+8|0;p=f+148+(s*20|0)|0;q=f+148+(s*20|0)+6|0;r=f+148+(s*20|0)+12|0;if((c[g>>2]|0)>(n|0))do{do if(a[q>>0]|0){n=a[M>>0]|0;if((n&255)>=8)break;ma=c[r>>2]|0;a[M>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=ma}while(0);o=o+-1<<24>>24;a[P>>0]=o;n=o&255;if((n|0)>(s|0)){o=f+148+(n*20|0)|0;c[p>>2]=c[o>>2];c[p+4>>2]=c[o+4>>2];c[p+8>>2]=c[o+8>>2];c[p+12>>2]=c[o+12>>2];c[p+16>>2]=c[o+16>>2];o=a[P>>0]|0}if((s|0)>=(o&255|0))break W;n=c[Q>>2]|0}while((c[g>>2]|0)>(n|0));s=s+1|0}while((s|0)<(o&255|0))}while(0);if(!u)break;Rf(Ba,u)}while(0);g=c[va>>2]|0;if(X){m=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(m|0)){n=m+1|0;c[W>>2]=n;ma=c[O>>2]|0;a[ma+(m*20|0)>>0]=7;b[ma+(m*20|0)+2>>1]=0;c[ma+(m*20|0)+4>>2]=g;c[ma+(m*20|0)+8>>2]=y;c[ma+(m*20|0)+12>>2]=0;c[ma+(m*20|0)+16>>2]=0;a[ma+(m*20|0)+1>>0]=0}else{zi(ya,7,g,y,0)|0;n=c[W>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))m=(c[O>>2]|0)+((((y|0)<1?n:y)+-1|0)*20|0)|0;else m=46708;c[m+8>>2]=n;break}n=(b[i>>1]|0)+-1|0;o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=96;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=g;c[la+(o*20|0)+8>>2]=n;c[la+(o*20|0)+12>>2]=3;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;o=ma}else{zi(ya,96,g,n,3)|0;o=c[W>>2]|0}if((o|0)>0)b[(c[O>>2]|0)+((o+-1|0)*20|0)+2>>1]=128;g=c[A>>2]|0;if(g){x=j+4|0;n=-1;o=0;w=0;while(1){p=c[T>>2]|0;t=p+68|0;u=c[t>>2]|0;c[t>>2]=u+1;t=p+72|0;if(!(u+-1&u)){q=c[p>>2]|0;r=c[t>>2]|0;p=Mc(q,r,u<<3|4,0)|0;_:do if(!((r|0)==0|(p|0)!=0)){do if(q|0){if(c[q+464>>2]|0){Lc(q,r);break _}s=r;if(s>>>0<(c[q+296>>2]|0)>>>0)break;if(s>>>0>=(c[q+300>>2]|0)>>>0)break;ma=q+292|0;c[r>>2]=c[ma>>2];c[ma>>2]=r;break _}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ma=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[t>>2]=p}else p=c[t>>2]|0;if(p|0)c[p+(u<<2)>>2]=-1;q=~u;$:do if((m|0)!=(g|0)){v=Bk(f,g,c[va>>2]|0,0,0,na,o,n)|0;n=w+8|0;o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=80;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=n;c[la+(o*20|0)+8>>2]=1;c[la+(o*20|0)+12>>2]=0;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;o=ma}else{zi(ya,80,n,1,0)|0;o=c[W>>2]|0}n=(c[ta>>2]|0)+w|0;p=e[g+52>>1]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;r=c[O>>2]|0;a[r+(o*20|0)>>0]=30;b[r+(o*20|0)+2>>1]=0;c[r+(o*20|0)+4>>2]=n;c[r+(o*20|0)+8>>2]=q;c[r+(o*20|0)+12>>2]=v;c[r+(o*20|0)+16>>2]=0;a[r+(o*20|0)+1>>0]=0;r=o}else r=zi(ya,30,n,q,v)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){ma=c[O>>2]|0;a[ma+(r*20|0)+1>>0]=-3;c[ma+(r*20|0)+16>>2]=p}n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=97;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=3;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,97,0,3,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[W>>2]|0)+-1|0;Ai(ya,(c[O>>2]|0)+(n*20|0)|0,32145,0)}n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){ma=n+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(n*20|0)>>0]=93;b[la+(n*20|0)+2>>1]=0;c[la+(n*20|0)+4>>2]=7;c[la+(n*20|0)+8>>2]=3;c[la+(n*20|0)+12>>2]=3;c[la+(n*20|0)+16>>2]=0;a[la+(n*20|0)+1>>0]=0;n=ma}else{zi(ya,93,7,3,3)|0;n=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=97;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=4;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,97,0,4,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[W>>2]|0)+-1|0;Ai(ya,(c[O>>2]|0)+(n*20|0)|0,32150,0)}n=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){ma=n+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(n*20|0)>>0]=93;b[la+(n*20|0)+2>>1]=0;c[la+(n*20|0)+4>>2]=4;c[la+(n*20|0)+8>>2]=3;c[la+(n*20|0)+12>>2]=3;c[la+(n*20|0)+16>>2]=0;a[la+(n*20|0)+1>>0]=0;n=ma}else{zi(ya,93,4,3,3)|0;n=c[W>>2]|0}p=c[g>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=97;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=4;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,97,0,4,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((n|0)<0)o=(c[W>>2]|0)+-1|0;else o=n;Ai(ya,(c[O>>2]|0)+(o*20|0)|0,p,0)}o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=93;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=4;c[la+(o*20|0)+8>>2]=3;c[la+(o*20|0)+12>>2]=3;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;o=ma}else{zi(ya,93,4,3,3)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){p=o+1|0;c[W>>2]=p;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=78;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=3;c[ma+(o*20|0)+8>>2]=1;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else{zi(ya,78,3,1,0)|0;p=c[W>>2]|0}o=p+2|0;if((c[(c[T>>2]|0)+48>>2]|0)>(p|0)){ma=p+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(p*20|0)>>0]=48;b[la+(p*20|0)+2>>1]=0;c[la+(p*20|0)+4>>2]=1;c[la+(p*20|0)+8>>2]=o;c[la+(p*20|0)+12>>2]=1;c[la+(p*20|0)+16>>2]=0;a[la+(p*20|0)+1>>0]=0;o=ma}else{p=zi(ya,48,1,o,1)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;h=c[O>>2]|0;a[h+(o*20|0)>>0]=66;h=h+(o*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,66,0,0,0)|0;q=c[W>>2]|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))o=(c[O>>2]|0)+(((r|0)<0?q+-1|0:r)*20|0)|0;else o=46708;c[o+8>>2]=q;do if(a[g+54>>0]|0){o=c[T>>2]|0;t=o+68|0;j=c[t>>2]|0;c[t>>2]=j+1;t=o+72|0;if(!(j+-1&j)){q=c[o>>2]|0;r=c[t>>2]|0;o=Mc(q,r,j<<3|4,0)|0;aa:do if(!((r|0)==0|(o|0)!=0)){do if(q|0){if(c[q+464>>2]|0){Lc(q,r);break aa}s=r;if(s>>>0<(c[q+296>>2]|0)>>>0)break;if(s>>>0>=(c[q+300>>2]|0)>>>0)break;ma=q+292|0;c[r>>2]=c[ma>>2];c[ma>>2]=r;break aa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ma=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ma;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[t>>2]=o}else o=c[t>>2]|0;if(o|0)c[o+(j<<2)>>2]=-1;i=~j;u=g+50|0;o=b[u>>1]|0;if(o<<16>>16){t=g+4|0;s=0;do{ma=b[(c[t>>2]|0)+(s<<1)>>1]|0;if(!(ma<<16>>16>-1?(a[(c[x>>2]|0)+(ma<<16>>16<<4)+12>>0]|0)!=0:0))ua=1317;do if((ua|0)==1317){ua=0;q=s+v|0;r=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(r|0)){c[W>>2]=r+1;ma=c[O>>2]|0;a[ma+(r*20|0)>>0]=50;b[ma+(r*20|0)+2>>1]=0;c[ma+(r*20|0)+4>>2]=q;c[ma+(r*20|0)+8>>2]=i;c[ma+(r*20|0)+12>>2]=0;c[ma+(r*20|0)+16>>2]=0;a[ma+(r*20|0)+1>>0]=0;break}else{zi(ya,50,q,i,0)|0;o=b[u>>1]|0;break}}while(0);s=s+1|0}while((s|0)<(o&65535|0))}o=(c[ta>>2]|0)+w|0;q=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(q|0)){ma=q+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(q*20|0)>>0]=7;b[la+(q*20|0)+2>>1]=0;c[la+(q*20|0)+4>>2]=o;c[la+(q*20|0)+8>>2]=0;c[la+(q*20|0)+12>>2]=0;c[la+(q*20|0)+16>>2]=0;a[la+(q*20|0)+1>>0]=0;o=ma}else{q=zi(ya,7,o,0,0)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=13;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=0;c[la+(o*20|0)+8>>2]=i;c[la+(o*20|0)+12>>2]=0;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;o=ma}else{zi(ya,13,0,i,0)|0;o=c[W>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))q=(c[O>>2]|0)+(((q|0)<0?o+-1|0:q)*20|0)|0;else q=46708;c[q+8>>2]=o;q=(c[ta>>2]|0)+w|0;r=e[u>>1]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=39;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=q;c[ma+(o*20|0)+8>>2]=i;c[ma+(o*20|0)+12>>2]=v;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else o=zi(ya,39,q,i,v)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){ma=c[O>>2]|0;a[ma+(o*20|0)+1>>0]=-3;c[ma+(o*20|0)+16>>2]=r}o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=97;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=0;c[ma+(o*20|0)+8>>2]=3;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else o=zi(ya,97,0,3,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[W>>2]|0)+-1|0;Ai(ya,(c[O>>2]|0)+(o*20|0)|0,32171,0)}o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=13;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=0;c[ma+(o*20|0)+8>>2]=n;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else zi(ya,13,0,n,0)|0;n=c[(c[T>>2]|0)+72>>2]|0;if(!n)break;c[n+(j<<2)>>2]=c[W>>2]}while(0);o=c[W>>2]|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))n=(c[O>>2]|0)+(((p|0)<0?o+-1|0:p)*20|0)|0;else n=46708;c[n+8>>2]=o;n=c[na>>2]|0;if(!n){n=v;o=g;break}o=c[sa>>2]|0;p=c[(c[o+12>>2]|0)+72>>2]|0;if(p|0)c[p+(~n<<2)>>2]=c[o+136>>2];n=(c[Q>>2]|0)+-1|0;c[Q>>2]=n;o=a[P>>0]|0;if(!(o<<24>>24)){n=v;o=g;break}else t=0;while(1){p=f+148+(t*20|0)+8|0;q=f+148+(t*20|0)|0;r=f+148+(t*20|0)+6|0;s=f+148+(t*20|0)+12|0;if((c[p>>2]|0)>(n|0))do{do if(a[r>>0]|0){n=a[M>>0]|0;if((n&255)>=8)break;ma=c[s>>2]|0;a[M>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=ma}while(0);o=o+-1<<24>>24;a[P>>0]=o;n=o&255;if((n|0)>(t|0)){o=f+148+(n*20|0)|0;c[q>>2]=c[o>>2];c[q+4>>2]=c[o+4>>2];c[q+8>>2]=c[o+8>>2];c[q+12>>2]=c[o+12>>2];c[q+16>>2]=c[o+16>>2];o=a[P>>0]|0}if((t|0)>=(o&255|0)){n=v;o=g;break $}n=c[Q>>2]|0}while((c[p>>2]|0)>(n|0));t=t+1|0;if((t|0)>=(o&255|0)){n=v;o=g;break}}}while(0);g=c[g+20>>2]|0;if(!g)break;else w=w+1|0}o=c[W>>2]|0}n=c[va>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=7;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=n;c[la+(o*20|0)+8>>2]=y;c[la+(o*20|0)+12>>2]=0;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;n=ma}else{zi(ya,7,n,y,0)|0;n=c[W>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))o=(c[O>>2]|0)+((((y|0)<1?n:y)+-1|0)*20|0)|0;else o=46708;c[o+8>>2]=n;if((c[(c[T>>2]|0)+48>>2]|0)>(n|0)){c[W>>2]=n+1;ma=c[O>>2]|0;a[ma+(n*20|0)>>0]=97;b[ma+(n*20|0)+2>>1]=0;c[ma+(n*20|0)+4>>2]=0;c[ma+(n*20|0)+8>>2]=2;c[ma+(n*20|0)+12>>2]=0;c[ma+(n*20|0)+16>>2]=0;a[ma+(n*20|0)+1>>0]=0}else n=zi(ya,97,0,2,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[W>>2]|0)+-1|0;Ai(ya,(c[O>>2]|0)+(n*20|0)|0,32198,0)}n=c[A>>2]|0;if(!n)break;else q=0;while(1){if((m|0)!=(n|0)){o=(c[ta>>2]|0)+q|0;g=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(g|0)){ma=g+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(g*20|0)>>0]=100;b[la+(g*20|0)+2>>1]=0;c[la+(g*20|0)+4>>2]=o;c[la+(g*20|0)+8>>2]=3;c[la+(g*20|0)+12>>2]=0;c[la+(g*20|0)+16>>2]=0;a[la+(g*20|0)+1>>0]=0;g=ma}else{zi(ya,100,o,3,0)|0;g=c[W>>2]|0}o=q+8|0;if((c[(c[T>>2]|0)+48>>2]|0)>(g|0)){ma=g+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(g*20|0)>>0]=53;b[la+(g*20|0)+2>>1]=0;c[la+(g*20|0)+4>>2]=o;c[la+(g*20|0)+8>>2]=0;c[la+(g*20|0)+12>>2]=3;c[la+(g*20|0)+16>>2]=0;a[la+(g*20|0)+1>>0]=0;o=ma}else{g=zi(ya,53,o,0,3)|0;o=c[W>>2]|0}if((o|0)>0)b[(c[O>>2]|0)+((o+-1|0)*20|0)+2>>1]=144;p=c[n>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=97;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=0;c[ma+(o*20|0)+8>>2]=4;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else o=zi(ya,97,0,4,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[W>>2]|0)+-1|0;Ai(ya,(c[O>>2]|0)+(o*20|0)|0,p,0)}o=c[W>>2]|0;if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){ma=o+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(o*20|0)>>0]=93;b[la+(o*20|0)+2>>1]=0;c[la+(o*20|0)+4>>2]=4;c[la+(o*20|0)+8>>2]=2;c[la+(o*20|0)+12>>2]=3;c[la+(o*20|0)+16>>2]=0;a[la+(o*20|0)+1>>0]=0;o=ma}else{zi(ya,93,4,2,3)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){p=o+1|0;c[W>>2]=p;ma=c[O>>2]|0;a[ma+(o*20|0)>>0]=78;b[ma+(o*20|0)+2>>1]=0;c[ma+(o*20|0)+4>>2]=3;c[ma+(o*20|0)+8>>2]=1;c[ma+(o*20|0)+12>>2]=0;c[ma+(o*20|0)+16>>2]=0;a[ma+(o*20|0)+1>>0]=0}else{zi(ya,78,3,1,0)|0;p=c[W>>2]|0}o=p+2|0;if((c[(c[T>>2]|0)+48>>2]|0)>(p|0)){ma=p+1|0;c[W>>2]=ma;la=c[O>>2]|0;a[la+(p*20|0)>>0]=48;b[la+(p*20|0)+2>>1]=0;c[la+(p*20|0)+4>>2]=1;c[la+(p*20|0)+8>>2]=o;c[la+(p*20|0)+12>>2]=1;c[la+(p*20|0)+16>>2]=0;a[la+(p*20|0)+1>>0]=0;o=ma}else{zi(ya,48,1,o,1)|0;o=c[W>>2]|0}if((c[(c[T>>2]|0)+48>>2]|0)>(o|0)){c[W>>2]=o+1;h=c[O>>2]|0;a[h+(o*20|0)>>0]=66;h=h+(o*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else zi(ya,66,0,0,0)|0;p=c[W>>2]|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))o=(c[O>>2]|0)+(((g|0)<0?p+-1|0:g)*20|0)|0;else o=46708;c[o+8>>2]=p}n=c[n+20>>2]|0;if(!n)break;else q=q+1|0}}while(0);k=c[k>>2]|0}while((k|0)!=0)}while(0);B=B+1|0}while((B|0)<(c[D>>2]|0))}while(0);k=Ci(ya,7,32227)|0;if(k|0){c[k+8>>2]=1-U;a[k+41>>0]=-1;c[k+56>>2]=32255;a[k+101>>0]=-1;c[k+116>>2]=21725}if(!(a[(c[ya>>2]|0)+73>>0]|0))k=c[ya+88>>2]|0;else k=46708;c[k+12>>2]=(c[W>>2]|0)+-2;ua=1579;break b}case 12:{if(za|0){g=c[(c[wa>>2]|0)+12>>2]|0;if((b[g+78>>1]&5)==1){ua=1580;break b}ya=a[za>>0]|0;k=ya&255;p=a[17324+k>>0]|0;ba:do if(!(ya<<24>>24)){if((k|32|0)==117){L=6196;M=6196;ua=1442}}else{m=32258;k=6196;while(1){if(p<<24>>24==(a[17324+(d[m>>0]|0)>>0]|0)){n=za;do{n=n+1|0;m=m+1|0;ya=a[n>>0]|0;o=(d[17324+(ya&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(ya<<24>>24==0|(o|0)!=0));if(!o)break}k=k+8|0;m=c[k>>2]|0;if(!m)break ba}L=k;M=k;ua=1442}while(0);if((ua|0)==1442?(ya=a[L+4>>0]|0,ya=ya<<24>>24==0?2:ya,a[Ba+70>>0]=ya,a[g+77>>0]=ya,c[M>>2]|0):0){ua=1580;break b}c[Q>>2]=za;hg(f,32263,Q);ua=1579;break b}if(fj(f)|0){ua=1579;break b}xa=a[(c[f>>2]|0)+70>>0]|0;m=c[6196+((xa&255)<<3)>>2]|0;if(xa<<24>>24==8){ua=1579;break b}n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=97;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=0;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else k=zi(ya,97,0,1,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;Ai(ya,(c[ya+88>>2]|0)+(k*20|0)|0,m,0)}k=c[n>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ua=c[ya+88>>2]|0;a[ua+(k*20|0)>>0]=78;b[ua+(k*20|0)+2>>1]=0;c[ua+(k*20|0)+4>>2]=1;c[ua+(k*20|0)+8>>2]=1;c[ua+(k*20|0)+12>>2]=0;c[ua+(k*20|0)+16>>2]=0;a[ua+(k*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,1,1,0)|0;ua=1579;break b}}case 0:{k=c[5164+(g*12|0)+8>>2]|0;m=1<>2]=c[xa>>2]|m;if(!ia?a[(c[(c[(c[ya>>2]|0)+16>>2]|0)+(t<<4)+4>>2]|0)+9>>0]|0:0){xa=ya+152|0;c[xa>>2]=c[xa>>2]|m}ca:do if(za|0){switch(o|0){case 24:case 25:case 42:case 43:break ca;default:{}}ua=Ci(ya,2,32288)|0;c[ua+4>>2]=t;c[ua+24>>2]=t;c[ua+28>>2]=k;c[va>>2]=0;Pd(za,va)|0;c[ua+32>>2]=c[va>>2];ua=1579;break b}while(0);ua=Ci(ya,3,32296)|0;c[ua+4>>2]=t;c[ua+24>>2]=t;c[ua+32>>2]=k;ua=(d[N>>0]|d[N+1>>0]<<8)&-33;a[N>>0]=ua;a[N+1>>0]=ua>>8;ua=1579;break b}case 8:{c[xa>>2]=1;o=ya+136|0;g=ya+12|0;p=ya+88|0;n=0;do{m=c[3968+(n<<2)>>2]|0;n=n+1|0;k=c[o>>2]|0;if((c[(c[g>>2]|0)+48>>2]|0)>(k|0)){c[o>>2]=k+1;xa=c[p>>2]|0;a[xa+(k*20|0)>>0]=97;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=0;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else k=zi(ya,97,0,1,0)|0;if(!(a[(c[ya>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[o>>2]|0)+-1|0;Ai(ya,(c[p>>2]|0)+(k*20|0)|0,m,0)}k=c[o>>2]|0;if((c[(c[g>>2]|0)+48>>2]|0)>(k|0)){c[o>>2]=k+1;xa=c[p>>2]|0;a[xa+(k*20|0)>>0]=78;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=1;c[xa+(k*20|0)+8>>2]=1;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0}else zi(ya,78,1,1,0)|0}while((n|0)!=6);ua=(d[N>>0]|d[N+1>>0]<<8)&-33;a[N>>0]=ua;a[N+1>>0]=ua>>8;ua=1579;break b}case 39:{p=c[h>>2]|0?t:10;do if(!za)m=0;else{g=a[za>>0]|0;o=d[17324+(g&255)>>0]|0;k=o+-102|0;g=g<<24>>24==0;if(!(g|(k|0)!=0)){m=31794;n=za;do{n=n+1|0;m=m+1|0;wa=a[n>>0]|0;k=(d[17324+(wa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(wa<<24>>24==0|(k|0)!=0))}if(!k){m=1;break}k=o+-114|0;if(!(g|(k|0)!=0)){m=32308;n=za;do{n=n+1|0;m=m+1|0;wa=a[n>>0]|0;k=(d[17324+(wa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(wa<<24>>24==0|(k|0)!=0))}if(!k){m=2;break}k=o+-116|0;if(!(g|(k|0)!=0)){m=32316;n=za;do{n=n+1|0;m=m+1|0;wa=a[n>>0]|0;k=(d[17324+(wa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(wa<<24>>24==0|(k|0)!=0))}m=(k|0)==0?3:0}while(0);c[xa>>2]=3;n=ya+136|0;k=c[n>>2]|0;o=ya+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){xa=k+1|0;c[n>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(k*20|0)>>0]=8;b[wa+(k*20|0)+2>>1]=0;c[wa+(k*20|0)+4>>2]=p;c[wa+(k*20|0)+8>>2]=m;c[wa+(k*20|0)+12>>2]=1;c[wa+(k*20|0)+16>>2]=0;a[wa+(k*20|0)+1>>0]=0;k=xa}else{zi(ya,8,p,m,1)|0;k=c[n>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ua=c[ya+88>>2]|0;a[ua+(k*20|0)>>0]=78;b[ua+(k*20|0)+2>>1]=0;c[ua+(k*20|0)+4>>2]=1;c[ua+(k*20|0)+8>>2]=3;c[ua+(k*20|0)+12>>2]=0;c[ua+(k*20|0)+16>>2]=0;a[ua+(k*20|0)+1>>0]=0;ua=1579;break b}else{zi(ya,78,1,3,0)|0;ua=1579;break b}}case 38:{if(!za)k=c[Ba+228>>2]|0;else{c[va>>2]=0;Pd(za,va)|0;xa=c[va>>2]|0;wa=(xa|0)>0;k=wa?141:0;c[Ba+228>>2]=k;c[Ba+232>>2]=wa?xa:0}if((k|0)==141){m=c[Ba+232>>2]|0;k=m;m=((m|0)<0)<<31>>31}else{k=0;m=0}vl(ya,k,m);ua=1580;break b}case 31:{g=Ba+20|0;n=c[g>>2]|0;if((n|0)<=0){ua=1580;break b}o=c[wa>>2]|0;k=0;do{m=c[o+(k<<4)+4>>2]|0;if(m|0)c[(c[m+4>>2]|0)+4>>2]=c[m>>2];k=k+1|0}while((k|0)!=(n|0));k=0;while(1){m=c[o+(k<<4)+4>>2]|0;if(!m)m=n;else{pb[c[168>>2]&255](c[(c[(c[c[m+4>>2]>>2]|0)+208>>2]|0)+44>>2]|0);m=c[g>>2]|0}k=k+1|0;if((k|0)>=(m|0)){ua=1580;break b}o=c[wa>>2]|0;n=m}}case 27:{if(za){c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]|0;if(!(k&2)){ua=1579;break b}}else k=65534;va=f+40|0;x=c[va>>2]|0;c[va>>2]=x+1;if(i)v=(c[Ba+20>>2]|0)+-1|0;else v=t;if((t|0)>(v|0)){n=ya+136|0;k=ya+12|0}else{w=f+120|0;n=ya+136|0;i=k&1;s=i|2;k=ya+12|0;u=ya+88|0;i=(i|0)==0;j=f+19|0;while(1){do if((t|0)!=1){m=c[w>>2]|0;m=((m|0)==0?f:m)+92|0;o=c[m>>2]|0;g=1<>2]=o|g;m=c[(c[(c[wa>>2]|0)+(t<<4)+12>>2]|0)+16>>2]|0;if(!m)break;do{r=c[m+8>>2]|0;da:do if(c[r+36>>2]&256|0){q=(e[r+44>>1]|0)+46|0;g=q&65535;o=c[r+8>>2]|0;ea:do if(!o)ua=1510;else while(1){if((a[o+55>>0]|0)>=0)break ea;o=c[o+20>>2]|0;if(!o){ua=1510;break}}while(0);do if((ua|0)==1510){ua=0;if(!(g<<16>>16))break;Bi(f,x,t,r,104);g=c[n>>2]|0;p=g+s|0;o=q<<16>>16;if((c[(c[k>>2]|0)+48>>2]|0)>(g|0)){c[n>>2]=g+1;va=c[u>>2]|0;a[va+(g*20|0)>>0]=34;b[va+(g*20|0)+2>>1]=0;c[va+(g*20|0)+4>>2]=x;c[va+(g*20|0)+8>>2]=p;c[va+(g*20|0)+12>>2]=o;c[va+(g*20|0)+16>>2]=0;a[va+(g*20|0)+1>>0]=0;break}else{zi(ya,34,x,p,o)|0;break}}while(0);r=c[r>>2]|0;c[ga>>2]=c[(c[wa>>2]|0)+(t<<4)>>2];c[ga+4>>2]=r;r=Ff(Ba,32325,ga)|0;if(i){o=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;h=c[u>>2]|0;a[h+(o*20|0)>>0]=-120;h=h+(o*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0))}else o=zi(ya,136,0,0,0)|0;g=c[ya>>2]|0;if(!(a[g+73>>0]|0)){if((o|0)<0)o=(c[n>>2]|0)+-1|0;g=c[u>>2]|0;p=g+(o*20|0)+1|0;if(a[p>>0]|0){Ai(ya,g+(o*20|0)|0,r,-7);break}if(!r)break;c[g+(o*20|0)+16>>2]=r;a[p>>0]=-7;break}if(!r)break;do if(g|0){if(c[g+464>>2]|0){Lc(g,r);break da}o=r;if(o>>>0<(c[g+296>>2]|0)>>>0)break;if(o>>>0>=(c[g+300>>2]|0)>>>0)break;va=g+292|0;c[r>>2]=c[va>>2];c[va>>2]=r;break da}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{va=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}o=a[j>>0]|0;if(!(o<<24>>24)){q=(c[xa>>2]|0)+1|0;c[xa>>2]=q}else{q=o+-1<<24>>24;a[j>>0]=q;q=c[f+348+((q&255)<<2)>>2]|0}o=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;va=c[u>>2]|0;a[va+(o*20|0)>>0]=97;b[va+(o*20|0)+2>>1]=0;c[va+(o*20|0)+4>>2]=0;c[va+(o*20|0)+8>>2]=q;c[va+(o*20|0)+12>>2]=0;c[va+(o*20|0)+16>>2]=0;a[va+(o*20|0)+1>>0]=0}else o=zi(ya,97,0,q,0)|0;g=c[ya>>2]|0;fa:do if(a[g+73>>0]|0){if(!r)break;do if(g|0){if(c[g+464>>2]|0){Lc(g,r);break fa}o=r;if(o>>>0<(c[g+296>>2]|0)>>>0)break;if(o>>>0>=(c[g+300>>2]|0)>>>0)break;va=g+292|0;c[r>>2]=c[va>>2];c[va>>2]=r;break fa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{va=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}else{if((o|0)<0)o=(c[n>>2]|0)+-1|0;g=c[u>>2]|0;p=g+(o*20|0)+1|0;if(a[p>>0]|0){Ai(ya,g+(o*20|0)|0,r,-7);break}if(!r)break;c[g+(o*20|0)+16>>2]=r;a[p>>0]=-7}while(0);o=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;va=c[u>>2]|0;a[va+(o*20|0)>>0]=78;b[va+(o*20|0)+2>>1]=0;c[va+(o*20|0)+4>>2]=q;c[va+(o*20|0)+8>>2]=1;c[va+(o*20|0)+12>>2]=0;c[va+(o*20|0)+16>>2]=0;a[va+(o*20|0)+1>>0]=0;break}else{zi(ya,78,q,1,0)|0;break}}while(0);m=c[m>>2]|0}while((m|0)!=0)}while(0);if((t|0)<(v|0))t=t+1|0;else break}}m=c[n>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(m|0)){c[n>>2]=m+1;h=c[ya+88>>2]|0;a[h+(m*20|0)>>0]=-105;h=h+(m*20|0)+1|0;E=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(E|0));ua=1579;break b}else{zi(ya,151,0,0,0)|0;ua=1579;break b}}case 32:{do if(za|0?(Wk(za,va)|0)==0:0){m=va;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)<0|(Nc()|0)!=0)break;xa=46456;c[xa>>2]=k;c[xa+4>>2]=m;c[11616]=((k|0)!=0|(m|0)!=0)&(0>(m|0)|0==(m|0)&(c[11822]|0)>>>0>=k>>>0)&1}while(0);xa=(Nc()|0)==0;ua=46456;vl(ya,xa?c[ua>>2]|0:-1,xa?c[ua+4>>2]|0:-1);ua=1579;break b}case 37:{if(za|0?(f=(Wk(za,va)|0)==0,xa=va,wa=c[xa+4>>2]|0,f&((wa|0)>-1|(wa|0)==-1&(c[xa>>2]|0)>>>0>4294967295)):0)c[Ba+144>>2]=0;ua=c[Ba+144>>2]|0;vl(ya,ua,((ua|0)<0)<<31>>31);ua=1580;break b}default:{if(!za)k=c[Ba+436>>2]|0;else{c[va>>2]=0;Pd(za,va)|0;k=c[va>>2]|0;xa=(k|0)>0;k=xa?k:0;c[Ba+388>>2]=xa?191:0;c[Ba+392>>2]=xa?Ba:0;c[s>>2]=0;c[Ba+436>>2]=k}vl(ya,k,((k|0)<0)<<31>>31);ua=1580;break b}}while(0)}}while(0);ua=f+36|0;c[ua>>2]=(c[ua>>2]|0)+1;c[f+12>>2]=k;ua=1580}while(0);if((ua|0)==1579)if(!Ba)ua=1585;else ua=1580;do if((ua|0)==1580){if(c[Ba+464>>2]|0){Lc(Ba,Aa);break}ya=Aa;if(ya>>>0>=(c[Ba+296>>2]|0)>>>0?ya>>>0<(c[Ba+300>>2]|0)>>>0:0){ya=Ba+292|0;c[Aa>>2]=c[ya>>2];c[ya>>2]=Aa}else ua=1585}while(0);do if((ua|0)==1585)if(!(c[2]|0)){pb[c[56>>2]&255](Aa);break}else{ya=jb[c[64>>2]&255](Aa)|0;c[11822]=(c[11822]|0)-ya;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](Aa);break}while(0);if(!za){l=Ca;return}if(Ba|0){if(c[Ba+464>>2]|0){Lc(Ba,za);l=Ca;return}Aa=za;if(Aa>>>0>=(c[Ba+296>>2]|0)>>>0?Aa>>>0<(c[Ba+300>>2]|0)>>>0:0){Ba=Ba+292|0;c[za>>2]=c[Ba>>2];c[Ba>>2]=za;l=Ca;return}}if(!(c[2]|0)){pb[c[56>>2]&255](za);l=Ca;return}else{Ba=jb[c[64>>2]&255](za)|0;c[11822]=(c[11822]|0)-Ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](za);l=Ca;return}}function mj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;h=i;if(!d){h=0;l=i;return h|0}a:while(1){if((a[d>>0]|0)==-121){e=c[b>>2]|0;if(!(a[(c[e>>2]|0)+157>>0]|0)){f=6;break}a[d>>0]=101}e=c[d+4>>2]|0;if(e&8404992|0){d=0;f=17;break}f=d+20|0;if(!(e&2048)){g=c[f>>2]|0;if(g|0?(c[g>>2]|0)>0:0){e=g+4|0;f=0;while(1){if(mj(b,c[e>>2]|0)|0){d=1;f=17;break a}f=f+1|0;if((f|0)>=(c[g>>2]|0))break;else e=e+20|0}}}else if(Si(b,c[f>>2]|0)|0){d=1;f=17;break}if(mj(b,c[d+16>>2]|0)|0){d=1;f=17;break}d=c[d+12>>2]|0;if(!d){d=0;f=17;break}}if((f|0)==6){c[h>>2]=c[b+16>>2];hg(e,31703,h);h=1;l=i;return h|0}else if((f|0)==17){l=i;return d|0}return 0}function nj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;h=d+136|0;g=c[h>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(g|0)){c[h>>2]=g+1;j=c[d+88>>2]|0;a[j+(g*20|0)>>0]=-119;b[j+(g*20|0)+2>>1]=0;c[j+(g*20|0)+4>>2]=e;c[j+(g*20|0)+8>>2]=0;c[j+(g*20|0)+12>>2]=0;c[j+(g*20|0)+16>>2]=0;a[j+(g*20|0)+1>>0]=0}else g=zi(d,137,e,0,0)|0;e=c[d>>2]|0;do if(!(a[e+73>>0]|0)){if((g|0)<0)g=(c[h>>2]|0)+-1|0;e=c[d+88>>2]|0;h=e+(g*20|0)+1|0;if(a[h>>0]|0){Ai(d,e+(g*20|0)|0,f,-7);break}if(f|0){c[e+(g*20|0)+16>>2]=f;a[h>>0]=-7}}else if(f|0){if(e|0){if(c[e+464>>2]|0){Lc(e,f);break}j=f;if(j>>>0>=(c[e+296>>2]|0)>>>0?j>>>0<(c[e+300>>2]|0)>>>0:0){j=e+292|0;c[f>>2]=c[j>>2];c[j>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{j=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);g=c[d>>2]|0;i=c[g+20>>2]|0;if((i|0)<=0)return;j=d+148|0;d=d+152|0;e=g+16|0;g=0;f=c[j>>2]|0;do{h=1<>2]|0)+(g<<4)+4>>2]|0)+9>>0]|0:0)c[d>>2]=c[d>>2]|h;g=g+1|0}while((g|0)<(i|0));c[j>>2]=f;return}function oj(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0;C=l;l=l+48|0;B=C+24|0;A=C+8|0;x=C;w=C+32|0;if(fj(f)|0){B=0;l=C;return B|0}j=jj(c[f>>2]|0,h,i)|0;if(j|0){B=j;l=C;return B|0}y=g&1|0?30520:30533;j=c[f>>2]|0;a:do if((eg(j,i)|0)<1){m=c[($f(j+328|0,h,0)|0)+8>>2]|0;do if((h|0)==0|(m|0)!=0)r=m;else{j=a[h>>0]|0;do if(!(j<<24>>24)){j=30547;v=6}else{u=j&255;j=17324+u|0;if((u|32|0)==112){j=a[h+1>>0]|0;if(!(j<<24>>24)){j=30548;v=6;break}u=j&255;j=17324+u|0;if((u|32|0)==114){j=a[h+2>>0]|0;if(!(j<<24>>24)){j=30549;v=6;break}u=j&255;j=17324+u|0;if((u|32|0)==97){j=a[h+3>>0]|0;if(!(j<<24>>24)){j=30550;v=6;break}u=j&255;j=17324+u|0;if((u|32|0)==103){j=a[h+4>>0]|0;if(!(j<<24>>24)){j=30551;v=6;break}u=j&255;j=17324+u|0;if((u|32|0)==109){j=a[h+5>>0]|0;if(!(j<<24>>24)){j=30552;v=6;break}u=j&255;j=17324+u|0;if((u|32|0)==97){j=a[h+6>>0]|0;if(!(j<<24>>24)){j=30553;v=6;break}if(j<<24>>24==95)break;else{k=95;j=17324+(j&255)|0}}else k=97}else k=109}else k=103}else k=97}else k=114}else k=112;n=a[j>>0]|0;v=10}while(0);if((v|0)==6){n=0;k=a[17324+(d[j>>0]|0)>>0]|0;v=10}if((v|0)==10?n<<24>>24!=k<<24>>24:0){r=m;break}s=c[f>>2]|0;q=h+7|0;u=a[q>>0]|0;r=d[17324+(u&255)>>0]|0;b:do if(!(u<<24>>24)){k=57;n=0;while(1){while(1){j=(k+n|0)/2|0;m=r-(d[17324+(d[c[5164+(j*12|0)>>2]>>0]|0)>>0]|0)|0;if(!m)break b;if((m|0)>=0)break;if((n|0)<(j|0))k=j+-1|0;else break a}if((j|0)<(k|0))n=j+1|0;else break a}}else{k=57;p=0;while(1){while(1){j=(k+p|0)/2|0;n=c[5164+(j*12|0)>>2]|0;m=r-(d[17324+(d[n>>0]|0)>>0]|0)|0;if(!m){o=q;do{o=o+1|0;n=n+1|0;u=a[o>>0]|0;m=(d[17324+(u&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(u<<24>>24==0|(m|0)!=0));if(!m)break b}if((m|0)>=0)break;if((p|0)<(j|0))k=j+-1|0;else break a}if((j|0)<(k|0))p=j+1|0;else break a}}while(0);k=5164+(j*12|0)|0;if(!k)break a;if(!(a[5164+(j*12|0)+5>>0]&48))break a;r=il(s,h,5860,k,0)|0}while(0);if(r|0){s=c[r>>2]|0;c[w>>2]=0;t=c[f>>2]|0;u=r+16|0;j=c[u>>2]|0;c:do if(!j){q=c[s+4>>2]|0;if(!((q|0)!=0?(q|0)!=(c[s+8>>2]|0):0))v=31;d:do if((v|0)==31){n=(t|0)==0;do if(n){if(!(c[2]|0)){j=jb[c[52>>2]&255](80)|0;v=52;break}j=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){p=c[11822]|0;q=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;o=z;c[11616]=(0>(o|0)|0==(o|0)&p>>>0>=q>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(!j)break d;k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k}else{if(c[t+264>>2]|0){if(a[t+73>>0]|0)break d}else{if((e[t+268>>1]|0)>=80){k=t+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];v=t+276|0;c[v>>2]=(c[v>>2]|0)+1;v=52;break}k=t+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];v=t+276|0;c[v>>2]=(c[v>>2]|0)+1;v=52;break}}else j=1;v=t+276+(j<<2)|0;c[v>>2]=(c[v>>2]|0)+1}j=Ec(t,80,0)|0;v=52}while(0);if((v|0)==52)if(!j)break;k=j;m=k+80|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(m|0));k=kg(t,c[r+4>>2]|0)|0;c[j>>2]=k;if(!k){if(!n){if(c[t+464>>2]|0){Lc(t,j);break}x=j;if(x>>>0>=(c[t+296>>2]|0)>>>0?x>>>0<(c[t+300>>2]|0)>>>0:0){x=t+292|0;c[j>>2]=c[x>>2];c[x>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{x=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}c[u>>2]=j;c[j+32>>2]=1;c[j+72>>2]=c[(c[t+16>>2]|0)+12>>2];b[j+40>>1]=-1;k=kg(t,k)|0;p=j+56|0;m=(c[p>>2]<<2)+8|0;q=j+60|0;m=Mc(t,c[q>>2]|0,m,((m|0)<0)<<31>>31)|0;do if(!m){if(k|0){if(c[t+464>>2]|0){Lc(t,k);break}o=k;if(o>>>0>=(c[t+296>>2]|0)>>>0?o>>>0<(c[t+300>>2]|0)>>>0:0){o=t+292|0;c[k>>2]=c[o>>2];c[o>>2]=k;break}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{o=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}}else{n=c[p>>2]|0;o=n+1|0;c[p>>2]=o;c[m+(n<<2)>>2]=k;c[m+(o<<2)>>2]=0;c[q>>2]=m}while(0);k=(c[p>>2]<<2)+8|0;k=Mc(t,c[q>>2]|0,k,((k|0)<0)<<31>>31)|0;if(k|0){n=c[p>>2]|0;o=n+1|0;c[p>>2]=o;c[k+(n<<2)>>2]=0;c[k+(o<<2)>>2]=0;c[q>>2]=k}n=c[j>>2]|0;e:do if(n){o=(As(n)|0)+1|0;f:do if(c[t+264>>2]|0)if(!(a[t+73>>0]|0))v=85;else{m=0;break e}else{do if(0<0|(0==0?(e[t+268>>1]|0)>>>0>>0:0))k=1;else{k=t+292|0;m=c[k>>2]|0;if(m|0){c[k>>2]=c[m>>2];k=t+276|0;c[k>>2]=(c[k>>2]|0)+1;break f}k=t+288|0;m=c[k>>2]|0;if(!m){k=2;break}c[k>>2]=c[m>>2];k=t+276|0;c[k>>2]=(c[k>>2]|0)+1;break f}while(0);v=t+276+(k<<2)|0;c[v>>2]=(c[v>>2]|0)+1;v=85}while(0);if((v|0)==85)m=Ec(t,o,0)|0;if(m)Tt(m|0,n|0,o|0)|0;else m=0}else m=0;while(0);k=(c[p>>2]<<2)+8|0;k=Mc(t,c[q>>2]|0,k,((k|0)<0)<<31>>31)|0;g:do if(!k){if(m|0){if(c[t+464>>2]|0){Lc(t,m);break}k=m;do if(k>>>0>=(c[t+296>>2]|0)>>>0){if(k>>>0>=(c[t+300>>2]|0)>>>0)break;v=t+292|0;c[m>>2]=c[v>>2];c[v>>2]=m;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{v=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}}else{o=c[p>>2]|0;v=o+1|0;c[p>>2]=v;c[k+(o<<2)>>2]=m;c[k+(v<<2)>>2]=0;c[q>>2]=k}while(0);if(!(Jj(t,j,r,c[s+8>>2]|0,w)|0)){j=c[u>>2]|0;break c}k=c[w>>2]|0;c[x>>2]=k;hg(f,17859,x);h:do if(k|0){if(c[t+464>>2]|0){Lc(t,k);break}j=k;do if(j>>>0>=(c[t+296>>2]|0)>>>0){if(j>>>0>=(c[t+300>>2]|0)>>>0)break;x=t+292|0;c[k>>2]=c[x>>2];c[x>>2]=k;break h}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{x=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);j=c[u>>2]|0;if(j|0){x=j+36|0;c[x>>2]=c[x>>2]|2;if(!((c[t+464>>2]|0)==0?(w=j+32|0,x=(c[w>>2]|0)+-1|0,c[w>>2]=x,(x|0)!=0):0))Tf(t,j);c[u>>2]=0}}while(0);break a}while(0);B=j;l=C;return B|0}}while(0);if(g&2|0){B=0;l=C;return B|0}if(!i){c[B>>2]=y;c[B+4>>2]=h;hg(f,28205,B)}else{c[A>>2]=y;c[A+4>>2]=i;c[A+8>>2]=h;hg(f,28195,A)}a[f+17>>0]=1;B=0;l=C;return B|0}function pj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+16|0;m=n;f=c[e+16>>2]|0;if(!f){m=0;l=n;return m|0}if(!(a[e+37>>0]&2)){m=0;l=n;return m|0}k=c[e+64>>2]|0;f=c[f+8>>2]|0;a:do if(f|0){j=d[17324+(d[k>>0]|0)>>0]|0;while(1){h=c[f>>2]|0;i=a[h>>0]|0;g=(d[17324+(i&255)>>0]|0)-j|0;if(!(i<<24>>24==0|(g|0)!=0)){i=k;do{h=h+1|0;i=i+1|0;o=a[h>>0]|0;g=(d[17324+(o&255)>>0]|0)-(d[17324+(d[i>>0]|0)>>0]|0)|0}while(!(o<<24>>24==0|(g|0)!=0))}if(!g)break;f=c[f+20>>2]|0;if(!f)break a}c[e+68>>2]=f;o=0;l=n;return o|0}while(0);c[m>>2]=k;c[m+4>>2]=0;hg(b,30502,m);a[b+17>>0]=1;o=1;l=n;return o|0}function qj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;q=r;if(!e){q=0;l=r;return q|0}m=c[b+12>>2]|0;if((c[e>>2]|0)<=0){q=0;l=r;return q|0}n=b+8|0;o=b+4|0;i=0;j=e+8|0;a:while(1){if(!(c[n>>2]|0)){k=j+4|0;p=c[k>>2]|0;do if(p|0){h=a[p>>0]|0;f=(d[17324+(h&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0;if(!(h<<24>>24==0|(f|0)!=0)){g=m;h=p;do{h=h+1|0;g=g+1|0;s=a[h>>0]|0;f=(d[17324+(s&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0}while(!(s<<24>>24==0|(f|0)!=0))}h=c[b>>2]|0;if(f|0){g=9;break a}f=c[h>>2]|0;if(f|0){if(c[f+464>>2]|0){Lc(f,p);break}s=p;if(s>>>0>=(c[f+296>>2]|0)>>>0?s>>>0<(c[f+300>>2]|0)>>>0:0){s=f+292|0;c[p>>2]=c[s>>2];c[s>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{s=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[k>>2]=0;c[j>>2]=c[o>>2]}if(Si(b,c[j+20>>2]|0)|0){f=1;g=23;break}if(mj(b,c[j+48>>2]|0)|0){f=1;g=23;break}i=i+1|0;if((i|0)>=(c[e>>2]|0)){f=0;g=23;break}else j=j+72|0}if((g|0)==9){s=c[b+20>>2]|0;c[q>>2]=c[b+16>>2];c[q+4>>2]=s;c[q+8>>2]=p;hg(h,30456,q);s=1;l=r;return s|0}else if((g|0)==23){l=r;return f|0}return 0}function rj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;j=k;f=c[b>>2]|0;if(a[f+157>>0]|0){j=0;l=k;return j|0}if(a[b+18>>0]|0){j=0;l=k;return j|0}if((e|0)==0?1:(c[f+28>>2]&1|0)!=0){j=0;l=k;return j|0}f=a[e>>0]|0;do if(!(f<<24>>24)){f=25670;h=5}else{m=f&255;f=17324+m|0;if((m|32|0)==115){f=a[e+1>>0]|0;if(!(f<<24>>24)){f=25671;h=5;break}m=f&255;f=17324+m|0;if((m|32|0)==113){f=a[e+2>>0]|0;if(!(f<<24>>24)){f=25672;h=5;break}m=f&255;f=17324+m|0;if((m|32|0)==108){f=a[e+3>>0]|0;if(!(f<<24>>24)){f=25673;h=5;break}m=f&255;f=17324+m|0;if((m|32|0)==105){f=a[e+4>>0]|0;if(!(f<<24>>24)){f=25674;h=5;break}m=f&255;f=17324+m|0;if((m|32|0)==116){f=a[e+5>>0]|0;if(!(f<<24>>24)){f=25675;h=5;break}m=f&255;f=17324+m|0;if((m|32|0)==101){f=a[e+6>>0]|0;if(!(f<<24>>24)){f=25676;h=5;break}if(f<<24>>24==95)break;else{g=95;f=17324+(f&255)|0}}else g=101}else g=116}else g=105}else g=108}else g=113}else g=115;i=a[f>>0]|0;h=9}while(0);if((h|0)==5){i=0;g=a[17324+(d[f>>0]|0)>>0]|0;h=9}if((h|0)==9?i<<24>>24!=g<<24>>24:0){m=0;l=k;return m|0}c[j>>2]=e;hg(b,30414,j);m=1;l=k;return m|0}function sj(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+16|0;s=u;t=(g|0)!=0;do if(t){n=32768;r=c[g>>2]|0}else{j=hl(d,f)|0;k=((j|0)<0)<<31>>31;if(c[b+264>>2]|0){if(a[b+73>>0]|0){c[s>>2]=0;b=0;l=u;return b|0}}else{if(!(0>>0|(0==(k|0)?(e[b+268>>1]|0)>>>0>>0:0))){h=b+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];n=b+276|0;c[n>>2]=(c[n>>2]|0)+1;n=0;r=i;break}h=b+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];n=b+276|0;c[n>>2]=(c[n>>2]|0)+1;n=0;r=i;break}}else h=1;r=b+276+(h<<2)|0;c[r>>2]=(c[r>>2]|0)+1}n=0;r=Ec(b,j,k)|0}while(0);c[s>>2]=r;if(!r){b=r;l=u;return b|0}o=(f|0)==0;if(!o?(a[d>>0]|0)!=-104:0)if(!(c[d+12>>2]|0))j=(c[d+20>>2]|0)==0?16396:8220;else j=8220;else j=48;k=j&60;p=d+4|0;h=c[p>>2]|0;if((h&1024|0)==0?(m=c[d+8>>2]|0,(m|0)!=0):0)i=((As(m)|0)&1073741823)+1|0;else i=0;if(o){h=(h&16384|0)==0?((h&8192|0)==0?48:28):12;Tt(r|0,d|0,h|0)|0;if(h>>>0<48)Vt(r+h|0,0,48-h|0)|0}else Tt(r|0,d|0,k|0)|0;m=r+4|0;h=j&24576|n|c[m>>2]&-122881;c[m>>2]=h;if(i){h=r+k|0;c[r+8>>2]=h;Tt(h|0,c[d+8>>2]|0,i|0)|0;h=c[m>>2]|0}i=c[p>>2]|0;do if(!((h|i)&8404992)){h=d+20|0;if(!(i&2048)){c[r+20>>2]=Ui(b,c[h>>2]|0,f)|0;break}else{c[r+20>>2]=Ti(b,c[h>>2]|0,f)|0;break}}while(0);i=c[m>>2]|0;if(!(i&24576)){if(c[p>>2]&8404992|0){b=r;l=u;return b|0}h=c[d+12>>2]|0;if((a[r>>0]|0)!=-104)if(!h)h=0;else h=sj(b,h,0,0)|0;c[r+12>>2]=h;h=c[d+16>>2]|0;if(!h)h=0;else h=sj(b,h,0,0)|0;c[r+16>>2]=h;b=r;l=u;return b|0}if(!o?(a[d>>0]|0)!=-104:0)if(!(c[d+12>>2]|0))h=(c[d+20>>2]|0)==0?12:28;else h=28;else h=48;if((c[p>>2]&1024|0)==0?(q=c[d+8>>2]|0,(q|0)!=0):0)h=((As(q)|0)&1073741823)+(h|1)|0;c[s>>2]=r+(h+7&-8);if(!(i&8404992)){h=c[d+12>>2]|0;if(!h)h=0;else h=sj(b,h,1,s)|0;c[r+12>>2]=h;h=c[d+16>>2]|0;if(!h)h=0;else h=sj(b,h,1,s)|0;c[r+16>>2]=h}if(!t){b=r;l=u;return b|0}c[g>>2]=c[s>>2];b=r;l=u;return b|0}function tj(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(!d){d=0;return d|0}j=b+264|0;do if(c[j>>2]|0)if(!(a[b+73>>0]|0))i=10;else{d=0;return d|0}else{if((e[b+268>>1]|0)>=8){g=b+292|0;f=c[g>>2]|0;if(f|0){c[g>>2]=c[f>>2];l=b+276|0;c[l>>2]=(c[l>>2]|0)+1;break}g=b+288|0;f=c[g>>2]|0;if(!f)f=2;else{c[g>>2]=c[f>>2];l=b+276|0;c[l>>2]=(c[l>>2]|0)+1;break}}else f=1;i=b+276+(f<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=10}while(0);if((i|0)==10)f=Ec(b,8,0)|0;if(!f){d=0;return d|0}l=d+4|0;c[f+4>>2]=c[l>>2];k=c[l>>2]<<3;do if(c[j>>2]|0)if(!(a[b+73>>0]|0))i=21;else c[f>>2]=0;else{if(!(0<0|(0==0?(e[b+268>>1]|0)>>>0>>0:0))){g=b+292|0;h=c[g>>2]|0;if(h|0){c[g>>2]=c[h>>2];i=b+276|0;c[i>>2]=(c[i>>2]|0)+1;i=22;break}g=b+288|0;h=c[g>>2]|0;if(!h)g=2;else{c[g>>2]=c[h>>2];i=b+276|0;c[i>>2]=(c[i>>2]|0)+1;i=22;break}}else g=1;i=b+276+(g<<2)|0;c[i>>2]=(c[i>>2]|0)+1;i=21}while(0);if((i|0)==21){h=Ec(b,k,0)|0;i=22}if((i|0)==22?(c[f>>2]=h,h|0):0){if((c[l>>2]|0)<=0){d=f;return d|0}k=c[d>>2]|0;c[h>>2]=kg(b,c[k>>2]|0)|0;c[h+4>>2]=c[k+4>>2];if((c[l>>2]|0)>1)g=1;else{d=f;return d|0}do{k=c[f>>2]|0;j=c[d>>2]|0;c[k+(g<<3)>>2]=kg(b,c[j+(g<<3)>>2]|0)|0;c[k+(g<<3)+4>>2]=c[j+(g<<3)+4>>2];g=g+1|0}while((g|0)<(c[l>>2]|0));return f|0}if(c[b+464>>2]|0){Lc(b,f);d=0;return d|0}d=f;if(d>>>0>=(c[b+296>>2]|0)>>>0?d>>>0<(c[b+300>>2]|0)>>>0:0){d=b+292|0;c[f>>2]=c[d>>2];c[d>>2]=f;d=0;return d|0}if(!(c[2]|0)){pb[c[56>>2]&255](f);d=0;return d|0}else{d=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);d=0;return d|0}return 0}function uj(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+48|0;t=v+32|0;r=v+24|0;q=v+16|0;o=v+8|0;n=v;g=c[e+20>>2]|0;s=(c[d>>2]|0)+16|0;if(!g)u=-1e6;else{h=c[s>>2]|0;f=0;while(1)if((c[h+(f<<4)+12>>2]|0)==(g|0)){u=f;break}else f=f+1|0}h=c[($f((c[e+24>>2]|0)+8|0,c[e+4>>2]|0,0)|0)+8>>2]|0;j=c[(c[s>>2]|0)+(u<<4)>>2]|0;f=(u|0)==1;k=f?25326:25345;f=f?14:16;g=c[e>>2]|0;h=c[h>>2]|0;i=c[d>>2]|0;a:do if(((a[i+157>>0]|0)==0?(p=d+400|0,(a[p>>0]|0)==0):0)?(m=c[i+304>>2]|0,m|0):0)switch(ob[m&255](c[i+308>>2]|0,f,g,h,j,c[d+440>>2]|0)|0){case 1:{hg(d,24761,n);c[d+12>>2]=23;l=v;return}case 0:{g=c[d>>2]|0;if(a[g+157>>0]|0)break a;if(a[p>>0]|0)break a;f=c[g+304>>2]|0;if(!f)break a;switch(ob[f&255](c[g+308>>2]|0,9,k,0,j,c[d+440>>2]|0)|0){case 0:break a;case 1:{hg(d,24761,q);c[d+12>>2]=23;l=v;return}case 2:{l=v;return}default:{hg(d,24776,r);c[d+12>>2]=1;l=v;return}}}case 2:{l=v;return}default:{hg(d,24776,o);c[d+12>>2]=1;l=v;return}}while(0);g=d+8|0;f=c[g>>2]|0;if(!f){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;f=yi(d)|0;if(!f){l=v;return}else j=f}else j=f;i=c[e>>2]|0;c[t>>2]=c[(c[s>>2]|0)+(u<<4)>>2];c[t+4>>2]=25345;c[t+8>>2]=i;ij(d,30363,t);i=c[g>>2]|0;f=(c[c[(c[(c[d>>2]|0)+16>>2]|0)+(u<<4)+12>>2]>>2]|0)+1|0;g=i+136|0;h=c[g>>2]|0;if((c[(c[i+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;d=c[i+88>>2]|0;a[d+(h*20|0)>>0]=102;b[d+(h*20|0)+2>>1]=0;c[d+(h*20|0)+4>>2]=u;c[d+(h*20|0)+8>>2]=1;c[d+(h*20|0)+12>>2]=f;c[d+(h*20|0)+16>>2]=0;a[d+(h*20|0)+1>>0]=0}else zi(i,102,u,1,f)|0;h=c[e>>2]|0;g=j+136|0;f=c[g>>2]|0;if((c[(c[j+12>>2]|0)+48>>2]|0)>(f|0)){c[g>>2]=f+1;e=c[j+88>>2]|0;a[e+(f*20|0)>>0]=-115;b[e+(f*20|0)+2>>1]=0;c[e+(f*20|0)+4>>2]=u;c[e+(f*20|0)+8>>2]=0;c[e+(f*20|0)+12>>2]=0;c[e+(f*20|0)+16>>2]=0;a[e+(f*20|0)+1>>0]=0}else f=zi(j,141,u,0,0)|0;if(a[(c[j>>2]|0)+73>>0]|0){l=v;return}if((f|0)<0)f=(c[g>>2]|0)+-1|0;Ai(j,(c[j+88>>2]|0)+(f*20|0)|0,h,0);l=v;return}function vj(e,f,g,h,i,j,k){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;z=l;l=l+112|0;x=z+32|0;w=z+24|0;t=z+16|0;r=z+8|0;n=z;s=z+72|0;u=z+40|0;y=c[e>>2]|0;a:do if(!(c[e+36>>2]|0)){m=u+4|0;c[m>>2]=0;c[m+4>>2]=0;c[m+8>>2]=0;c[m+12>>2]=0;c[m+16>>2]=0;c[m+20>>2]=0;c[m+24>>2]=0;c[u>>2]=e;m=e;do if(i){if((a[i>>0]|0)==59){a[i>>0]=97;m=0;break}p=u+28|0;b[p>>1]=0;c[s>>2]=m;c[s+4>>2]=184;c[s+8>>2]=185;c[s+12>>2]=0;c[s+24>>2]=u;o=i+24|0;m=e+408|0;q=(c[m>>2]|0)+(c[o>>2]|0)|0;c[m>>2]=q;m=c[y+112>>2]|0;if((m|0)<(q|0)){c[n>>2]=m;hg(e,24905,n);m=75;break a}$j(s,i)|0;n=c[s>>2]|0;m=n+408|0;c[m>>2]=(c[m>>2]|0)-(c[o>>2]|0);m=b[p>>1]|0;if(m&16){q=i+4|0;c[q>>2]=c[q>>2]|2}if((c[u+24>>2]|0)<=0?(c[n+36>>2]|0)<=0:0)break;else{m=75;break a}}else m=0;while(0);do if(j){if((a[j>>0]|0)==59){a[j>>0]=97;break}q=u+28|0;p=m&65535;b[q>>1]=p&61423;m=c[u>>2]|0;c[s>>2]=m;c[s+4>>2]=184;c[s+8>>2]=185;c[s+12>>2]=0;c[s+24>>2]=u;o=j+24|0;n=m+408|0;A=(c[n>>2]|0)+(c[o>>2]|0)|0;c[n>>2]=A;n=c[(c[m>>2]|0)+112>>2]|0;if((n|0)<(A|0)){c[r>>2]=n;hg(m,24905,r);m=74;break a}$j(s,j)|0;n=c[s>>2]|0;m=n+408|0;c[m>>2]=(c[m>>2]|0)-(c[o>>2]|0);m=b[q>>1]|0;if(m&16){A=j+4|0;c[A>>2]=c[A>>2]|2}m=(m&65535|p&4112)&65535;b[q>>1]=m;if((c[u+24>>2]|0)<=0?(c[n+36>>2]|0)<=0:0)break;else{m=74;break a}}while(0);do if(k|0){if((a[k>>0]|0)==59){a[k>>0]=97;break}q=u+28|0;p=m&65535;b[q>>1]=p&61423;m=c[u>>2]|0;c[s>>2]=m;c[s+4>>2]=184;c[s+8>>2]=185;c[s+12>>2]=0;c[s+24>>2]=u;o=k+24|0;n=m+408|0;A=(c[n>>2]|0)+(c[o>>2]|0)|0;c[n>>2]=A;n=c[(c[m>>2]|0)+112>>2]|0;if((n|0)<(A|0)){c[t>>2]=n;hg(m,24905,t);m=74;break a}$j(s,k)|0;n=c[s>>2]|0;m=n+408|0;c[m>>2]=(c[m>>2]|0)-(c[o>>2]|0);m=b[q>>1]|0;if(m&16){A=k+4|0;c[A>>2]=c[A>>2]|2}b[q>>1]=m&65535|p&4112;if((c[u+24>>2]|0)<=0?(c[n+36>>2]|0)<=0:0)break;else{m=74;break a}}while(0);b:do if(h|0){if((a[h>>0]|0)==97)m=c[h+8>>2]|0;else m=0;n=c[e>>2]|0;if(((a[n+157>>0]|0)==0?(a[e+400>>0]|0)==0:0)?(v=c[n+304>>2]|0,v|0):0)switch(ob[v&255](c[n+308>>2]|0,f,m,0,0,c[e+440>>2]|0)|0){case 2:{m=74;break a}case 0:break b;case 1:{hg(e,24761,w);c[e+12>>2]=23;m=74;break a}default:{hg(e,24776,x);c[e+12>>2]=1;m=74;break a}}}while(0);m=c[e+8>>2]|0;if(!m){if((c[e+120>>2]|0)==0?(b[(c[e>>2]|0)+68>>1]&8)==0:0)a[e+23>>0]=1;m=yi(e)|0}o=e+32|0;p=c[o>>2]|0;n=e+28|0;q=c[n>>2]|0;if((q|0)<4){n=e+44|0;o=c[n>>2]|0;p=o+1|0;o=o+4|0}else{c[o>>2]=p+4;o=q+-4|0}c[n>>2]=o;Di(e,i,p);Di(e,j,p+1|0);Di(e,k,p+2|0);if(m){o=p+3|0;p=o-(a[g>>0]|0)|0;q=m+136|0;n=c[q>>2]|0;r=m+12|0;if((c[(c[r>>2]|0)+48>>2]|0)>(n|0)){c[q>>2]=n+1;A=c[m+88>>2]|0;a[A+(n*20|0)>>0]=-94;b[A+(n*20|0)+2>>1]=0;c[A+(n*20|0)+4>>2]=0;c[A+(n*20|0)+8>>2]=p;c[A+(n*20|0)+12>>2]=o;c[A+(n*20|0)+16>>2]=0;a[A+(n*20|0)+1>>0]=0}else n=zi(m,162,0,p,o)|0;o=c[m>>2]|0;do if(!(a[o+73>>0]|0)){if((n|0)<0)n=(c[q>>2]|0)+-1|0;o=c[m+88>>2]|0;p=o+(n*20|0)+1|0;if(!(a[p>>0]|0)){c[o+(n*20|0)+16>>2]=g;a[p>>0]=-8;break}else{Ai(m,o+(n*20|0)|0,g,-8);break}}else if(b[g+2>>1]&16){if(o|0){if(c[o+464>>2]|0){Lc(o,g);break}A=g;if(A>>>0>=(c[o+296>>2]|0)>>>0?A>>>0<(c[o+300>>2]|0)>>>0:0){A=o+292|0;c[g>>2]=c[A>>2];c[A>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{A=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);o=c[q>>2]|0;if((o|0)>0)b[(c[m+88>>2]|0)+((o+-1|0)*20|0)+2>>1]=d[g>>0]|0;n=(f|0)==24&1;if((c[(c[r>>2]|0)+48>>2]|0)>(o|0)){c[q>>2]=o+1;m=c[m+88>>2]|0;a[m+(o*20|0)>>0]=-105;b[m+(o*20|0)+2>>1]=0;c[m+(o*20|0)+4>>2]=n;c[m+(o*20|0)+8>>2]=0;c[m+(o*20|0)+12>>2]=0;c[m+(o*20|0)+16>>2]=0;a[m+(o*20|0)+1>>0]=0;m=74;break}else{zi(m,151,n,0,0)|0;m=74;break}}else m=74}else m=74;while(0);if((m|0)==74?i|0:0)m=75;if((m|0)==75)Qf(y,i);if(j|0)Qf(y,j);if(!k){l=z;return}Qf(y,k);l=z;return}function wj(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+16|0;o=G+8|0;n=G;r=G+12|0;q=c[f+12>>2]|0;p=d+40|0;E=c[p>>2]|0;F=E+1|0;c[p>>2]=E+2;k=c[d>>2]|0;i=c[f+24>>2]|0;j=c[k+16>>2]|0;if(!i)w=-1e6;else{h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){w=h;break}else h=h+1|0}i=c[f>>2]|0;h=c[j+(w<<4)>>2]|0;a:do if(((a[k+157>>0]|0)==0?(a[d+400>>0]|0)==0:0)?(m=c[k+304>>2]|0,m|0):0)switch(ob[m&255](c[k+308>>2]|0,27,i,0,h,c[d+440>>2]|0)|0){case 0:break a;case 1:{hg(d,24761,n);c[d+12>>2]=23;l=G;return}case 2:{l=G;return}default:{hg(d,24776,o);c[d+12>>2]=1;l=G;return}}while(0);qk(d,w,c[q+28>>2]|0,1,c[q>>2]|0);k=d+8|0;h=c[k>>2]|0;if(!h){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;h=yi(d)|0;if(!h){l=G;return}else C=h}else C=h;if((g|0)>-1)t=g;else t=c[f+44>>2]|0;v=rk(d,f)|0;D=c[p>>2]|0;c[p>>2]=D+1;x=f+50|0;i=e[x>>1]|0;u=(v|0)==0;if(!u)c[v>>2]=(c[v>>2]|0)+1;A=C+136|0;h=c[A>>2]|0;B=C+12|0;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[A>>2]=h+1;z=c[C+88>>2]|0;a[z+(h*20|0)>>0]=109;b[z+(h*20|0)+2>>1]=0;c[z+(h*20|0)+4>>2]=D;c[z+(h*20|0)+8>>2]=0;c[z+(h*20|0)+12>>2]=i;c[z+(h*20|0)+16>>2]=0;a[z+(h*20|0)+1>>0]=0}else h=zi(C,109,D,0,i)|0;i=c[C>>2]|0;do if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[A>>2]|0)+-1|0;i=c[C+88>>2]|0;j=i+(h*20|0)+1|0;if(a[j>>0]|0){Ai(C,i+(h*20|0)|0,v,-9);break}if(!u){c[i+(h*20|0)+16>>2]=v;a[j>>0]=-9}}else if(!(u|(c[i+464>>2]|0)!=0)?(z=(c[v>>2]|0)+-1|0,c[v>>2]=z,(z|0)==0):0){h=c[v+12>>2]|0;if(h|0){if(c[h+464>>2]|0){Lc(h,v);break}z=v;if(z>>>0>=(c[h+296>>2]|0)>>>0?z>>>0<(c[h+300>>2]|0)>>>0:0){z=h+292|0;c[v>>2]=c[z>>2];c[z>>2]=v;break}}if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{z=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}while(0);Bi(d,E,w,q,104);h=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[A>>2]=h+1;s=c[C+88>>2]|0;a[s+(h*20|0)>>0]=37;b[s+(h*20|0)+2>>1]=0;c[s+(h*20|0)+4>>2]=E;c[s+(h*20|0)+8>>2]=0;c[s+(h*20|0)+12>>2]=0;c[s+(h*20|0)+16>>2]=0;a[s+(h*20|0)+1>>0]=0;s=h}else s=zi(C,37,E,0,0)|0;z=d+19|0;h=a[z>>0]|0;if(!(h<<24>>24)){q=d+44|0;y=(c[q>>2]|0)+1|0;c[q>>2]=y}else{y=h+-1<<24>>24;a[z>>0]=y;y=c[d+348+((y&255)<<2)>>2]|0}Bk(d,f,E,y,0,r,0,0)|0;h=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[A>>2]=h+1;q=c[C+88>>2]|0;a[q+(h*20|0)>>0]=126;b[q+(h*20|0)+2>>1]=0;c[q+(h*20|0)+4>>2]=D;c[q+(h*20|0)+8>>2]=y;c[q+(h*20|0)+12>>2]=0;c[q+(h*20|0)+16>>2]=0;a[q+(h*20|0)+1>>0]=0}else zi(C,126,D,y,0)|0;j=c[r>>2]|0;b:do if(j|0){h=c[k>>2]|0;i=c[(c[h+12>>2]|0)+72>>2]|0;if(i|0)c[i+(~j<<2)>>2]=c[h+136>>2];p=d+60|0;h=(c[p>>2]|0)+-1|0;c[p>>2]=h;q=d+25|0;i=a[q>>0]|0;if(i<<24>>24){o=0;do{j=d+148+(o*20|0)+8|0;k=d+148+(o*20|0)|0;m=d+148+(o*20|0)+6|0;n=d+148+(o*20|0)+12|0;if((c[j>>2]|0)>(h|0))do{do if(a[m>>0]|0){h=a[z>>0]|0;if((h&255)>=8)break;r=c[n>>2]|0;a[z>>0]=h+1<<24>>24;c[d+348+((h&255)<<2)>>2]=r}while(0);i=i+-1<<24>>24;a[q>>0]=i;h=i&255;if((h|0)>(o|0)){i=d+148+(h*20|0)|0;c[k>>2]=c[i>>2];c[k+4>>2]=c[i+4>>2];c[k+8>>2]=c[i+8>>2];c[k+12>>2]=c[i+12>>2];c[k+16>>2]=c[i+16>>2];i=a[q>>0]|0}if((o|0)>=(i&255|0))break b;h=c[p>>2]|0}while((c[j>>2]|0)>(h|0));o=o+1|0}while((o|0)<(i&255|0))}}while(0);h=s+1|0;i=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){r=i+1|0;c[A>>2]=r;q=c[C+88>>2]|0;a[q+(i*20|0)>>0]=7;b[q+(i*20|0)+2>>1]=0;c[q+(i*20|0)+4>>2]=E;c[q+(i*20|0)+8>>2]=h;c[q+(i*20|0)+12>>2]=0;c[q+(i*20|0)+16>>2]=0;a[q+(i*20|0)+1>>0]=0;h=r}else{zi(C,7,E,h,0)|0;h=c[A>>2]|0}if(!(a[(c[C>>2]|0)+73>>0]|0))i=(c[C+88>>2]|0)+(((s|0)<0?h+-1|0:s)*20|0)|0;else i=46708;c[i+8>>2]=h;do if((g|0)<0)if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){s=h+1|0;c[A>>2]=s;r=c[C+88>>2]|0;a[r+(h*20|0)>>0]=-123;b[r+(h*20|0)+2>>1]=0;c[r+(h*20|0)+4>>2]=t;c[r+(h*20|0)+8>>2]=w;c[r+(h*20|0)+12>>2]=0;c[r+(h*20|0)+16>>2]=0;a[r+(h*20|0)+1>>0]=0;h=s;break}else{zi(C,133,t,w,0)|0;h=c[A>>2]|0;break}while(0);if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[A>>2]=h+1;s=c[C+88>>2]|0;a[s+(h*20|0)>>0]=105;b[s+(h*20|0)+2>>1]=0;c[s+(h*20|0)+4>>2]=F;c[s+(h*20|0)+8>>2]=t;c[s+(h*20|0)+12>>2]=w;c[s+(h*20|0)+16>>2]=0;a[s+(h*20|0)+1>>0]=0}else h=zi(C,105,F,t,w)|0;i=c[C>>2]|0;c:do if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[A>>2]|0)+-1|0;i=c[C+88>>2]|0;j=i+(h*20|0)+1|0;if(a[j>>0]|0){Ai(C,i+(h*20|0)|0,v,-9);break}if(!u){c[i+(h*20|0)+16>>2]=v;a[j>>0]=-9}}else if(!(u|(c[i+464>>2]|0)!=0)?(w=(c[v>>2]|0)+-1|0,c[v>>2]=w,(w|0)==0):0){h=c[v+12>>2]|0;do if(h|0){if(c[h+464>>2]|0){Lc(h,v);break c}i=v;if(i>>>0<(c[h+296>>2]|0)>>>0)break;if(i>>>0>=(c[h+300>>2]|0)>>>0)break;w=h+292|0;c[v>>2]=c[w>>2];c[w>>2]=v;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{w=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}while(0);h=c[A>>2]|0;if((h|0)>0)b[(c[C+88>>2]|0)+((h+-1|0)*20|0)+2>>1]=(g>>31)+16&65520|1;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){g=h+1|0;c[A>>2]=g;o=c[C+88>>2]|0;a[o+(h*20|0)>>0]=35;b[o+(h*20|0)+2>>1]=0;c[o+(h*20|0)+4>>2]=D;c[o+(h*20|0)+8>>2]=0;c[o+(h*20|0)+12>>2]=0;c[o+(h*20|0)+16>>2]=0;a[o+(h*20|0)+1>>0]=0;o=h;h=g}else{o=zi(C,35,D,0,0)|0;h=c[A>>2]|0}if(!(a[f+54>>0]|0))n=h;else{k=h+3|0;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){j=h+1|0;c[A>>2]=j;g=c[C+88>>2]|0;a[g+(h*20|0)>>0]=13;b[g+(h*20|0)+2>>1]=0;c[g+(h*20|0)+4>>2]=0;c[g+(h*20|0)+8>>2]=k;c[g+(h*20|0)+12>>2]=0;c[g+(h*20|0)+16>>2]=0;a[g+(h*20|0)+1>>0]=0}else{zi(C,13,0,k,0)|0;j=c[A>>2]|0}i=e[x>>1]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(j|0)){c[A>>2]=j+1;h=c[C+88>>2]|0;a[h+(j*20|0)>>0]=120;b[h+(j*20|0)+2>>1]=0;c[h+(j*20|0)+4>>2]=D;c[h+(j*20|0)+8>>2]=k;c[h+(j*20|0)+12>>2]=y;c[h+(j*20|0)+16>>2]=0;a[h+(j*20|0)+1>>0]=0;h=j}else h=zi(C,120,D,k,y)|0;if(!(a[(c[C>>2]|0)+73>>0]|0)){g=c[C+88>>2]|0;a[g+(h*20|0)+1>>0]=-3;c[g+(h*20|0)+16>>2]=i}Ck(d,2,f);n=j;h=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){f=h+1|0;c[A>>2]=f;g=c[C+88>>2]|0;a[g+(h*20|0)>>0]=121;b[g+(h*20|0)+2>>1]=0;c[g+(h*20|0)+4>>2]=D;c[g+(h*20|0)+8>>2]=y;c[g+(h*20|0)+12>>2]=F;c[g+(h*20|0)+16>>2]=0;a[g+(h*20|0)+1>>0]=0;h=f}else{zi(C,121,D,y,F)|0;h=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){f=h+1|0;c[A>>2]=f;g=c[C+88>>2]|0;a[g+(h*20|0)>>0]=125;b[g+(h*20|0)+2>>1]=0;c[g+(h*20|0)+4>>2]=F;c[g+(h*20|0)+8>>2]=0;c[g+(h*20|0)+12>>2]=0;c[g+(h*20|0)+16>>2]=0;a[g+(h*20|0)+1>>0]=0;h=f}else{zi(C,125,F,0,0)|0;h=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){f=h+1|0;c[A>>2]=f;g=c[C+88>>2]|0;a[g+(h*20|0)>>0]=127;b[g+(h*20|0)+2>>1]=0;c[g+(h*20|0)+4>>2]=F;c[g+(h*20|0)+8>>2]=y;c[g+(h*20|0)+12>>2]=0;c[g+(h*20|0)+16>>2]=0;a[g+(h*20|0)+1>>0]=0;h=f}else{zi(C,127,F,y,0)|0;h=c[A>>2]|0}if((h|0)>0)b[(c[C+88>>2]|0)+((h+-1|0)*20|0)+2>>1]=16;d:do if(y){m=a[z>>0]|0;if((m&255)>=8)break;i=a[d+25>>0]|0;e:do if(i<<24>>24){k=i&255;i=0;j=d+148|0;while(1){if((c[j+12>>2]|0)==(y|0))break;i=i+1|0;if((i|0)>=(k|0))break e;else j=j+20|0}a[j+6>>0]=1;break d}while(0);a[z>>0]=m+1<<24>>24;c[d+348+((m&255)<<2)>>2]=y;h=c[A>>2]|0}while(0);if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){i=h+1|0;c[A>>2]=i;d=c[C+88>>2]|0;a[d+(h*20|0)>>0]=3;b[d+(h*20|0)+2>>1]=0;c[d+(h*20|0)+4>>2]=D;c[d+(h*20|0)+8>>2]=n;c[d+(h*20|0)+12>>2]=0;c[d+(h*20|0)+16>>2]=0;a[d+(h*20|0)+1>>0]=0}else{zi(C,3,D,n,0)|0;i=c[A>>2]|0}if(!(a[(c[C>>2]|0)+73>>0]|0))h=(c[C+88>>2]|0)+(((o|0)<0?i+-1|0:o)*20|0)|0;else h=46708;c[h+8>>2]=i;if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){h=i+1|0;c[A>>2]=h;d=c[C+88>>2]|0;a[d+(i*20|0)>>0]=112;b[d+(i*20|0)+2>>1]=0;c[d+(i*20|0)+4>>2]=E;c[d+(i*20|0)+8>>2]=0;c[d+(i*20|0)+12>>2]=0;c[d+(i*20|0)+16>>2]=0;a[d+(i*20|0)+1>>0]=0}else{zi(C,112,E,0,0)|0;h=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){E=h+1|0;c[A>>2]=E;d=c[C+88>>2]|0;a[d+(h*20|0)>>0]=112;b[d+(h*20|0)+2>>1]=0;c[d+(h*20|0)+4>>2]=F;c[d+(h*20|0)+8>>2]=0;c[d+(h*20|0)+12>>2]=0;c[d+(h*20|0)+16>>2]=0;a[d+(h*20|0)+1>>0]=0;h=E}else{zi(C,112,F,0,0)|0;h=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[A>>2]=h+1;F=c[C+88>>2]|0;a[F+(h*20|0)>>0]=112;b[F+(h*20|0)+2>>1]=0;c[F+(h*20|0)+4>>2]=D;c[F+(h*20|0)+8>>2]=0;c[F+(h*20|0)+12>>2]=0;c[F+(h*20|0)+16>>2]=0;a[F+(h*20|0)+1>>0]=0;l=G;return}else{zi(C,112,D,0,0)|0;l=G;return}}function xj(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;h=c[f+8>>2]|0;if(!h)return;o=f+72|0;p=e+120|0;if(!g){do{j=c[o>>2]|0;if(!j)f=-1e6;else{i=c[(c[e>>2]|0)+16>>2]|0;f=0;while(1)if((c[i+(f<<4)+12>>2]|0)==(j|0))break;else f=f+1|0}i=c[p>>2]|0;i=(i|0)==0?e:i;j=i+92|0;k=c[j>>2]|0;l=1<>2]=k|l,(f|0)==1):0)xk(i)|0;g=i+88|0;c[g>>2]=c[g>>2]|l;wj(e,h,-1);h=c[h+20>>2]|0}while((h|0)!=0);return}do{f=b[h+52>>1]|0;a:do if(f<<16>>16){m=c[h+4>>2]|0;n=h+32|0;l=f&65535;k=0;while(1){if((b[m+(k<<1)>>1]|0)>-1){i=c[(c[n>>2]|0)+(k<<2)>>2]|0;j=a[i>>0]|0;f=(d[17324+(j&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0;if(!(j<<24>>24==0|(f|0)!=0)){j=g;do{i=i+1|0;j=j+1|0;q=a[i>>0]|0;f=(d[17324+(q&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(q<<24>>24==0|(f|0)!=0))}if(!f)break}k=k+1|0;if((k|0)>=(l|0))break a}i=c[o>>2]|0;if(!i)f=-1e6;else{j=c[(c[e>>2]|0)+16>>2]|0;f=0;while(1)if((c[j+(f<<4)+12>>2]|0)==(i|0))break;else f=f+1|0}i=c[p>>2]|0;i=(i|0)==0?e:i;j=i+92|0;k=c[j>>2]|0;l=1<>2]=k|l,(f|0)==1):0)xk(i)|0;q=i+88|0;c[q>>2]=c[q>>2]|l;wj(e,h,-1)}while(0);h=c[h+20>>2]|0}while((h|0)!=0);return}function yj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;E=l;l=l+48|0;w=E+32|0;v=E+24|0;k=E+16|0;i=E+8|0;p=E;C=E+36|0;D=c[d>>2]|0;if(fj(d)|0){l=E;return}a:do if(!e){q=D+20|0;if((c[q>>2]|0)>0){k=d+120|0;m=d+40|0;n=d+44|0;o=d+8|0;p=d+23|0;j=0;do{do if((j|0)!=1){f=c[(c[(c[d>>2]|0)+16>>2]|0)+(j<<4)+12>>2]|0;e=c[k>>2]|0;e=(e|0)==0?d:e;g=e+92|0;h=c[g>>2]|0;i=1<>2]=h|i;g=e+88|0;c[g>>2]=c[g>>2]|i;g=c[m>>2]|0;c[m>>2]=g+3;ok(d,j,g,0,0);h=(c[n>>2]|0)+1|0;i=c[m>>2]|0;e=c[f+16>>2]|0;if(e|0)do{pk(d,c[e+8>>2]|0,0,g,h,i);e=c[e>>2]|0}while((e|0)!=0);e=c[o>>2]|0;if(!e){if((c[k>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[p>>0]=1;e=yi(d)|0;if(!e)break}g=e+136|0;h=c[g>>2]|0;if((c[(c[e+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;C=c[e+88>>2]|0;a[C+(h*20|0)>>0]=-118;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=j;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(e,138,j,0,0)|0;break}}while(0);j=j+1|0}while((j|0)<(c[q>>2]|0))}}else{j=f+4|0;do if(!(c[j>>2]|0)){g=Fi(D,e)|0;z=eg(D,g)|0;do if(g|0){if(D|0){if(c[D+464>>2]|0){Lc(D,g);break}n=g;if(n>>>0>=(c[D+296>>2]|0)>>>0?n>>>0<(c[D+300>>2]|0)>>>0:0){n=D+292|0;c[g>>2]=c[n>>2];c[n>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{n=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);if((z|0)<=-1)if(!(c[j>>2]|0)){g=0;break}else{h=66;break}m=c[(c[(c[d>>2]|0)+16>>2]|0)+(z<<4)+12>>2]|0;n=d+120|0;j=c[n>>2]|0;j=(j|0)==0?d:j;e=j+92|0;g=c[e>>2]|0;k=1<>2]=g|k,(z|0)==1):0)?(s=c[j>>2]|0,o=s+16|0,(c[(c[o>>2]|0)+20>>2]|0)==0):0)?(a[j+399>>0]|0)==0:0){e=fg(c[s>>2]|0,0,s,C,0,542)|0;if(e|0){hg(j,21111,p);c[j+12>>2]=e;break}C=c[C>>2]|0;c[(c[o>>2]|0)+20>>2]=C;e=c[s+84>>2]|0;g=c[C+4>>2]|0;c[g+4>>2]=c[C>>2];if(!(b[g+22>>1]&2)){h=g+32|0;i=g+36|0;f=(c[h>>2]|0)-(c[i>>2]|0)|0;if(((e+-512|0)>>>0<65025?(e+-1&e|0)==0:0)?(c[h>>2]=e,r=g+80|0,q=c[r>>2]|0,q|0):0){e=q+-4|0;c[r>>2]=e;C=e;do if(!(C>>>0>=(c[11662]|0)>>>0&C>>>0<(c[11663]|0)>>>0)){C=jb[c[64>>2]&255](e)|0;c[11824]=(c[11824]|0)-C;if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{C=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}else{c[11823]=(c[11823]|0)+-1;c[e>>2]=c[11665];c[11665]=e;C=(c[11666]|0)+1|0;c[11666]=C;c[11667]=(C|0)<(c[11661]|0)&1}while(0);c[r>>2]=0}C=gg(c[g>>2]|0,h,f)|0;c[i>>2]=(c[h>>2]|0)-(f&65535);if((C|0)==7){e=s+73|0;if((a[e>>0]|0)==0?(a[s+74>>0]|0)==0:0){a[e>>0]=1;if((c[s+172>>2]|0)>0)c[s+256>>2]=1;C=s+264|0;c[C>>2]=(c[C>>2]|0)+1}break}}}while(0);i=j+88|0;c[i>>2]=c[i>>2]|k;i=d+40|0;g=c[i>>2]|0;c[i>>2]=g+3;ok(d,z,g,0,0);h=(c[d+44>>2]|0)+1|0;i=c[i>>2]|0;e=c[m+16>>2]|0;if(e|0)do{pk(d,c[e+8>>2]|0,0,g,h,i);e=c[e>>2]|0}while((e|0)!=0);e=c[d+8>>2]|0;if(!e){if((c[n>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;e=yi(d)|0;if(!e)break a}g=e+136|0;h=c[g>>2]|0;if((c[(c[e+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;C=c[e+88>>2]|0;a[C+(h*20|0)>>0]=-118;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=z;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break a}else{zi(e,138,z,0,0)|0;break a}}else h=66;while(0);if((h|0)==66){h=c[d>>2]|0;if(a[h+157>>0]|0){hg(d,24989,i);break}g=Fi(h,e)|0;i=eg(h,g)|0;do if(g|0){if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}z=g;if(z>>>0>=(c[h+296>>2]|0)>>>0?z>>>0<(c[h+300>>2]|0)>>>0:0){z=h+292|0;c[g>>2]=c[z>>2];c[z>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{z=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);if((i|0)<0){c[k>>2]=e;hg(d,25006,k);break}if(!(c[j>>2]|0)){e=f;g=0}else{e=f;g=c[(c[D+16>>2]|0)+(i<<4)>>2]|0}}q=Fi(D,e)|0;if(q|0){p=gj(D,q,g)|0;do if(!p){o=oj(d,0,q,g)|0;if(o|0){g=c[o+72>>2]|0;if(!g)p=-1e6;else{h=c[(c[d>>2]|0)+16>>2]|0;e=0;while(1)if((c[h+(e<<4)+12>>2]|0)==(g|0)){p=e;break}else e=e+1|0}n=d+120|0;k=c[n>>2]|0;k=(k|0)==0?d:k;e=k+92|0;g=c[e>>2]|0;m=1<>2]=g|m,(p|0)==1):0)?(B=c[k>>2]|0,u=B+16|0,(c[(c[u>>2]|0)+20>>2]|0)==0):0)?(a[k+399>>0]|0)==0:0){e=fg(c[B>>2]|0,0,B,C,0,542)|0;if(e|0){hg(k,21111,w);c[k+12>>2]=e;break}C=c[C>>2]|0;c[(c[u>>2]|0)+20>>2]=C;e=c[B+84>>2]|0;h=c[C+4>>2]|0;c[h+4>>2]=c[C>>2];if(!(b[h+22>>1]&2)){i=h+32|0;f=h+36|0;j=(c[i>>2]|0)-(c[f>>2]|0)|0;do if((e+-512|0)>>>0<65025?(e+-1&e|0)==0:0){c[i>>2]=e;g=h+80|0;e=c[g>>2]|0;if(!e)break;e=e+-4|0;c[g>>2]=e;C=e;do if(!(C>>>0>=(c[11662]|0)>>>0&C>>>0<(c[11663]|0)>>>0)){C=jb[c[64>>2]&255](e)|0;c[11824]=(c[11824]|0)-C;if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{C=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}else{c[11823]=(c[11823]|0)+-1;c[e>>2]=c[11665];c[11665]=e;C=(c[11666]|0)+1|0;c[11666]=C;c[11667]=(C|0)<(c[11661]|0)&1}while(0);c[g>>2]=0}while(0);C=gg(c[h>>2]|0,i,j)|0;c[f>>2]=(c[i>>2]|0)-(j&65535);if((C|0)==7){e=B+73|0;do if(!(a[e>>0]|0)){if(a[B+74>>0]|0)break;a[e>>0]=1;if((c[B+172>>2]|0)>0)c[B+256>>2]=1;C=B+264|0;c[C>>2]=(c[C>>2]|0)+1}while(0);break}}}while(0);e=k+88|0;c[e>>2]=c[e>>2]|m;e=d+40|0;C=c[e>>2]|0;c[e>>2]=C+3;ok(d,p,C,c[o>>2]|0,29202);pk(d,o,0,C,(c[d+44>>2]|0)+1|0,c[e>>2]|0);e=c[d+8>>2]|0;if(!e){if((c[n>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;e=yi(d)|0;if(!e)break}g=e+136|0;h=c[g>>2]|0;if((c[(c[e+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;C=c[e+88>>2]|0;a[C+(h*20|0)>>0]=-118;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=p;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(e,138,p,0,0)|0;break}}}else{n=c[p+12>>2]|0;g=c[n+72>>2]|0;if(!g)o=-1e6;else{h=c[(c[d>>2]|0)+16>>2]|0;e=0;while(1)if((c[h+(e<<4)+12>>2]|0)==(g|0)){o=e;break}else e=e+1|0}m=d+120|0;j=c[m>>2]|0;j=(j|0)==0?d:j;e=j+92|0;g=c[e>>2]|0;k=1<>2]=g|k,(o|0)==1):0)?(A=c[j>>2]|0,t=A+16|0,(c[(c[t>>2]|0)+20>>2]|0)==0):0)?(a[j+399>>0]|0)==0:0){e=fg(c[A>>2]|0,0,A,C,0,542)|0;if(e|0){hg(j,21111,v);c[j+12>>2]=e;break}C=c[C>>2]|0;c[(c[t>>2]|0)+20>>2]=C;e=c[A+84>>2]|0;g=c[C+4>>2]|0;c[g+4>>2]=c[C>>2];if(!(b[g+22>>1]&2)){h=g+32|0;i=g+36|0;f=(c[h>>2]|0)-(c[i>>2]|0)|0;if(((e+-512|0)>>>0<65025?(e+-1&e|0)==0:0)?(c[h>>2]=e,y=g+80|0,x=c[y>>2]|0,x|0):0){e=x+-4|0;c[y>>2]=e;C=e;do if(!(C>>>0>=(c[11662]|0)>>>0&C>>>0<(c[11663]|0)>>>0)){C=jb[c[64>>2]&255](e)|0;c[11824]=(c[11824]|0)-C;if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{C=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}else{c[11823]=(c[11823]|0)+-1;c[e>>2]=c[11665];c[11665]=e;C=(c[11666]|0)+1|0;c[11666]=C;c[11667]=(C|0)<(c[11661]|0)&1}while(0);c[y>>2]=0}C=gg(c[g>>2]|0,h,f)|0;c[i>>2]=(c[h>>2]|0)-(f&65535);if((C|0)==7){e=A+73|0;do if(!(a[e>>0]|0)){if(a[A+74>>0]|0)break;a[e>>0]=1;if((c[A+172>>2]|0)>0)c[A+256>>2]=1;C=A+264|0;c[C>>2]=(c[C>>2]|0)+1}while(0);break}}}while(0);e=j+88|0;c[e>>2]=c[e>>2]|k;e=d+40|0;C=c[e>>2]|0;c[e>>2]=C+3;ok(d,o,C,c[p>>2]|0,25452);pk(d,n,p,C,(c[d+44>>2]|0)+1|0,c[e>>2]|0);e=c[d+8>>2]|0;if(!e){if((c[m>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;e=yi(d)|0;if(!e)break}g=e+136|0;h=c[g>>2]|0;if((c[(c[e+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;C=c[e+88>>2]|0;a[C+(h*20|0)>>0]=-118;b[C+(h*20|0)+2>>1]=0;c[C+(h*20|0)+4>>2]=o;c[C+(h*20|0)+8>>2]=0;c[C+(h*20|0)+12>>2]=0;c[C+(h*20|0)+16>>2]=0;a[C+(h*20|0)+1>>0]=0;break}else{zi(e,138,o,0,0)|0;break}}while(0);if(D|0){if(c[D+464>>2]|0){Lc(D,q);break}C=q;if(C>>>0>=(c[D+296>>2]|0)>>>0?C>>>0<(c[D+300>>2]|0)>>>0:0){C=D+292|0;c[q>>2]=c[C>>2];c[C>>2]=q;break}}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{C=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}}while(0);if(a[D+82>>0]|0){l=E;return}e=c[d+8>>2]|0;if(!e){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;e=yi(d)|0;if(!e){l=E;return}}g=e+136|0;h=c[g>>2]|0;if((c[(c[e+12>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;e=c[e+88>>2]|0;a[e+(h*20|0)>>0]=-105;e=e+(h*20|0)+1|0;g=e+19|0;do{a[e>>0]=0;e=e+1|0}while((e|0)<(g|0));l=E;return}else{zi(e,151,0,0,0)|0;l=E;return}}function zj(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;j=k;if(!e){j=0;l=k;return j|0}f=a[e>>0]|0;do if(!(f<<24>>24)){f=25670;h=3}else{m=f&255;f=17324+m|0;if((m|32|0)==115){f=a[e+1>>0]|0;if(!(f<<24>>24)){f=25671;h=3;break}m=f&255;f=17324+m|0;if((m|32|0)==113){f=a[e+2>>0]|0;if(!(f<<24>>24)){f=25672;h=3;break}m=f&255;f=17324+m|0;if((m|32|0)==108){f=a[e+3>>0]|0;if(!(f<<24>>24)){f=25673;h=3;break}m=f&255;f=17324+m|0;if((m|32|0)==105){f=a[e+4>>0]|0;if(!(f<<24>>24)){f=25674;h=3;break}m=f&255;f=17324+m|0;if((m|32|0)==116){f=a[e+5>>0]|0;if(!(f<<24>>24)){f=25675;h=3;break}m=f&255;f=17324+m|0;if((m|32|0)==101){f=a[e+6>>0]|0;if(!(f<<24>>24)){f=25676;h=3;break}if(f<<24>>24==95)break;else{g=95;f=17324+(f&255)|0}}else g=101}else g=116}else g=105}else g=108}else g=113}else g=115;i=a[f>>0]|0;h=7}while(0);if((h|0)==3){i=0;g=a[17324+(d[f>>0]|0)>>0]|0;h=7}if((h|0)==7?i<<24>>24!=g<<24>>24:0){m=0;l=k;return m|0}c[j>>2]=e;hg(b,29174,j);m=1;l=k;return m|0}function Aj(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;o=r+16|0;n=r+8|0;i=r;j=r+20|0;p=c[d>>2]|0;k=p+48|0;h=c[k>>2]|0;c[k>>2]=h+1;m=e+56|0;f=c[m>>2]|0;a:do if(f){g=c[e+64>>2]|0;if(g|0)do{if((c[g>>2]|0)==(p|0)){q=19;break a}g=c[g+24>>2]|0}while((g|0)!=0);f=e+60|0;g=c[($f(p+328|0,c[c[f>>2]>>2]|0,0)|0)+8>>2]|0;if(!g){c[i>>2]=c[c[f>>2]>>2];hg(d,27483,i);c[k>>2]=(c[k>>2]|0)+-1;e=1;l=r;return e|0}c[j>>2]=0;g=Jj(p,e,g,c[(c[g>>2]|0)+8>>2]|0,j)|0;h=(g|0)==0;f=c[j>>2]|0;if(!h){c[n>>2]=f;hg(d,17859,n);c[d+12>>2]=g}do if(f|0){if(p|0){if(c[p+464>>2]|0){Lc(p,f);break}n=f;if(n>>>0>=(c[p+296>>2]|0)>>>0?n>>>0<(c[p+300>>2]|0)>>>0:0){n=p+292|0;c[f>>2]=c[n>>2];c[n>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{n=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[k>>2]=(c[k>>2]|0)+-1;if(h){f=c[m>>2]|0;break}else{e=1;l=r;return e|0}}else q=19;while(0);if((q|0)==19)c[k>>2]=h;if(f|0){e=0;l=r;return e|0}j=e+42|0;f=b[j>>1]|0;if(f<<16>>16>0){e=0;l=r;return e|0}if(f<<16>>16<0){c[o>>2]=c[e>>2];hg(d,27502,o);e=1;l=r;return e|0}h=Ti(p,c[e+12>>2]|0,0)|0;if(!h)f=1;else{g=d+40|0;o=c[g>>2]|0;Kj(d,c[h+28>>2]|0);b[j>>1]=-1;i=p+264|0;c[i>>2]=(c[i>>2]|0)+1;n=p+304|0;m=c[n>>2]|0;c[n>>2]=0;f=Lj(d,h)|0;c[n>>2]=m;c[g>>2]=o;g=c[e+24>>2]|0;do if(!g)if(!f){b[j>>1]=0;f=1;break}else{d=f+42|0;b[j>>1]=b[d>>1]|0;q=f+4|0;c[e+4>>2]=c[q>>2];b[d>>1]=0;c[q>>2]=0;q=37;break}else{Mj(c[d>>2]|0,g,j,e+4|0);if(((a[p+73>>0]|0)==0?(c[d+36>>2]|0)==0:0)?(b[j>>1]|0)==(c[c[h>>2]>>2]|0):0)Nj(d,e,h);if(f)if(!p)q=38;else q=37;else f=0}while(0);if((q|0)==37)if(!(c[p+464>>2]|0))q=38;else q=39;if((q|0)==38){o=f+32|0;d=(c[o>>2]|0)+-1|0;c[o>>2]=d;if(!d)q=39;else f=0}if((q|0)==39){Tf(p,f);f=0}Sf(p,h,1);c[i>>2]=(c[i>>2]|0)+-1}e=(c[e+72>>2]|0)+78|0;b[e>>1]=b[e>>1]|2;e=f;l=r;return e|0}function Bj(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=l;l=l+16|0;f=g+8|0;e=g;if(!b){c[e>>2]=d;b=Ff(a,27461,e)|0;l=g;return b|0}c[f>>2]=b;c[f+4>>2]=d;d=Ff(a,27469,f)|0;if(a|0){if(c[a+464>>2]|0){Lc(a,b);b=d;l=g;return b|0}f=b;if(f>>>0>=(c[a+296>>2]|0)>>>0?f>>>0<(c[a+300>>2]|0)>>>0:0){a=a+292|0;c[b>>2]=c[a>>2];c[a>>2]=b;b=d;l=g;return b|0}}if(!(c[2]|0)){pb[c[56>>2]&255](b);b=d;l=g;return b|0}else{a=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);b=d;l=g;return b|0}return 0}function Cj(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=l;l=l+16|0;v=x+8|0;r=x;h=c[e+8>>2]|0;if(!h){if((c[e+120>>2]|0)==0?(b[(c[e>>2]|0)+68>>1]&8)==0:0)a[e+23>>0]=1;h=yi(e)|0;if(!h){l=x;return}else u=h}else u=h;t=f+72|0;p=c[t>>2]|0;i=c[(c[e>>2]|0)+16>>2]|0;if(!p)q=-1e6;else{h=0;while(1)if((c[i+(h<<4)+12>>2]|0)==(p|0)){q=h;break}else h=h+1|0}s=e+146|0;h=c[i+28>>2]|0;do if(!(a[s>>0]|0)){if((p|0)!=(h|0)?(j=c[h+48>>2]|0,(j|0)!=0):0){o=f+68|0;n=j;h=0;do{m=c[n+8>>2]|0;if((c[m+24>>2]|0)==(p|0)){j=c[m+4>>2]|0;k=c[f>>2]|0;y=a[j>>0]|0;i=(d[17324+(y&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(y<<24>>24==0|(i|0)!=0))do{j=j+1|0;k=k+1|0;y=a[j>>0]|0;i=(d[17324+(y&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(y<<24>>24==0|(i|0)!=0));if(!i){if(!h)h=c[o>>2]|0;c[m+32>>2]=h;h=m}}n=c[n>>2]|0}while((n|0)!=0);if(!h)w=21}else w=21;if((w|0)==21){h=c[f+68>>2]|0;if(!h){w=22;break}}j=u+136|0;i=u+12|0;o=u+88|0;do{m=c[h+20>>2]|0;if(!m)m=-1e6;else{n=c[(c[e>>2]|0)+16>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0)){m=k;break}else k=k+1|0}n=c[h>>2]|0;k=c[j>>2]|0;if((c[(c[i>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;y=c[o>>2]|0;a[y+(k*20|0)>>0]=-115;b[y+(k*20|0)+2>>1]=0;c[y+(k*20|0)+4>>2]=m;c[y+(k*20|0)+8>>2]=0;c[y+(k*20|0)+12>>2]=0;c[y+(k*20|0)+16>>2]=0;a[y+(k*20|0)+1>>0]=0}else k=zi(u,141,m,0,0)|0;if(!(a[(c[u>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[j>>2]|0)+-1|0;Ai(u,(c[o>>2]|0)+(k*20|0)|0,n,0)}h=c[h+32>>2]|0}while((h|0)!=0)}else w=22;while(0);if((w|0)==22){i=u+12|0;j=u+136|0}k=c[f>>2]|0;h=c[j>>2]|0;if((c[(c[i>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;y=c[u+88>>2]|0;a[y+(h*20|0)>>0]=-117;b[y+(h*20|0)+2>>1]=0;c[y+(h*20|0)+4>>2]=q;c[y+(h*20|0)+8>>2]=0;c[y+(h*20|0)+12>>2]=0;c[y+(h*20|0)+16>>2]=0;a[y+(h*20|0)+1>>0]=0}else h=zi(u,139,q,0,0)|0;if(!(a[(c[u>>2]|0)+73>>0]|0)){if((h|0)<0)h=(c[j>>2]|0)+-1|0;Ai(u,(c[u+88>>2]|0)+(h*20|0)|0,k,0)}h=c[e>>2]|0;c[r>>2]=g;h=Ff(h,27449,r)|0;if(!h){l=x;return}nj(u,q,h);q=c[e>>2]|0;g=c[(c[q+16>>2]|0)+28>>2]|0;p=c[t>>2]|0;if((p|0)==(g|0)){l=x;return}if(a[s>>0]|0){l=x;return}h=c[g+48>>2]|0;o=f+68|0;if(h){n=h;h=0;do{m=c[n+8>>2]|0;if((c[m+24>>2]|0)==(p|0)){j=c[m+4>>2]|0;k=c[f>>2]|0;y=a[j>>0]|0;i=(d[17324+(y&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(y<<24>>24==0|(i|0)!=0))do{j=j+1|0;k=k+1|0;y=a[j>>0]|0;i=(d[17324+(y&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(y<<24>>24==0|(i|0)!=0));if(!i){if(!h)h=c[o>>2]|0;c[m+32>>2]=h;h=m}}n=c[n>>2]|0}while((n|0)!=0);if(h)i=0;else w=55}else w=55;if((w|0)==55){h=c[o>>2]|0;if(!h){l=x;return}else i=0}while(1){if((c[h+20>>2]|0)==(g|0))j=Bj(q,i,c[h>>2]|0)|0;else j=i;h=c[h+32>>2]|0;if(!h)break;else i=j}if(!j){l=x;return}i=c[e>>2]|0;c[v>>2]=j;i=Ff(i,26755,v)|0;h=c[e>>2]|0;do if(h){if(c[h+464>>2]|0){Lc(h,j);break}y=j;if(y>>>0>=(c[h+296>>2]|0)>>>0?y>>>0<(c[h+300>>2]|0)>>>0:0){y=h+292|0;c[j>>2]=c[y>>2];c[y>>2]=j}else w=66}else w=66;while(0);do if((w|0)==66)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{y=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);if(!i){l=x;return}nj(u,1,i);l=x;return}function Dj(f,g,i,j,k){f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0.0;x=l;l=l+16|0;t=x;v=x+8|0;c[v>>2]=0;a:while(1){m=a[g>>0]|0;switch(m<<24>>24){case -107:case -101:break;default:break a}g=c[g+12>>2]|0}if(m<<24>>24==-106)m=d[g+38>>0]|0;else m=m&255;switch((m&255)<<24>>24){case 36:{m=c[g+8>>2]|0;n=a[m>>0]|0;b:do if(!(n<<24>>24))n=67;else{o=0;p=n;n=67;do{o=d[17324+(p&255)>>0]|o<<8;m=m+1|0;c:do if((o|0)<1685026146){if((o|0)<1667785074){switch(o|0){case 1651273570:break;default:{w=18;break c}}switch(n&7){case 5:case 3:{n=65;o=1651273570;break c}default:{w=17;break c}}}if((o|0)<1668050786)switch(o|0){case 1667785074:{n=66;o=1667785074;break c}default:{w=18;break c}}switch(o|0){case 1668050786:break;default:{w=18;break c}}n=66}else{if((o|0)>=1919246700)if((o|0)<1952807028){switch(o|0){case 1919246700:break;default:{w=18;break c}}if(n<<24>>24==67){n=69;o=1919246700;break}else{w=17;break}}else{switch(o|0){case 1952807028:break;default:{w=18;break c}}n=66;break}if((o|0)<1718382433){switch(o|0){case 1685026146:break;default:{w=18;break c}}if(n<<24>>24==67){n=69;o=1685026146;break}}else{switch(o|0){case 1718382433:break;default:{w=18;break c}}if(n<<24>>24==67){n=69;o=1718382433;break}}}while(0);if((w|0)==17)w=0;else if((w|0)==18){w=0;if((o&16777215|0)==6909556){n=68;break b}}p=a[m>>0]|0}while(p<<24>>24!=0)}while(0);g=Dj(f,c[g+12>>2]|0,i,n,k)|0;m=c[k>>2]|0;if(!m){k=g;l=x;return k|0}Gj(m,n,1);Hj(c[k>>2]|0,j,1);k=g;l=x;return k|0}case -108:{g=c[g+12>>2]|0;m=a[g>>0]|0;switch(m<<24>>24){case -124:case -122:{s=22100;u=g;r=m&255;p=-1;q=-1;w=22;break}default:w=64}break}default:{s=47328;u=g;r=m;p=1;q=0;w=22}}d:do if((w|0)==22){e:do switch(r|0){case 97:case 132:case 134:{do if(!f){if(!(c[2]|0)){m=jb[c[52>>2]&255](40)|0;w=45;break}g=jb[c[68>>2]&255](40)|0;if((c[11829]|0)>>>0<40)c[11829]=40;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){y=c[11822]|0;o=Gt(m|0,n|0,g|0,((g|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&y>>>0>=o>>>0)&1}m=jb[c[52>>2]&255](g)|0;if(m){g=jb[c[64>>2]&255](m)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else w=46}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0){w=46;break}}else{if((e[f+268>>1]|0)>=40){g=f+292|0;m=c[g>>2]|0;if(m|0){c[g>>2]=c[m>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=45;break}g=f+288|0;m=c[g>>2]|0;if(!m)g=2;else{c[g>>2]=c[m>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=45;break}}else g=1;y=f+276+(g<<2)|0;c[y>>2]=(c[y>>2]|0)+1}m=Ec(f,40,0)|0;w=45}while(0);if((w|0)==45)if(!m)w=46;if((w|0)==46){c[v>>2]=0;m=0;break e}n=m;o=n+40|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));n=m+8|0;b[n>>1]=1;c[m+32>>2]=f;c[v>>2]=m;g=m;if(!(c[u+4>>2]&1024)){n=c[u+8>>2]|0;c[t>>2]=s;c[t+4>>2]=n;n=Ff(f,19713,t)|0;if(!n)break e;Ve(m,n,-1,1,172)|0}else{f=c[u+8>>2]|0;f=Lt(f|0,((f|0)<0)<<31>>31|0,p|0,q|0)|0;y=m;c[y>>2]=f;c[y+4>>2]=z;b[n>>1]=4}do if(j<<24>>24==65&(r|2|0)==134){o=m+8|0;q=b[o>>1]|0;n=q&65535;if(!(n&4))if(!(n&8)){if(!(n&2))break;Ij(m,1);break}else{A=+h[m>>3];n=Gc(A)|0;p=z;y=Ft(n|0,p|0,1,-2147483648)|0;f=z;if(!((f>>>0>0|(f|0)==0&y>>>0>1)&A==+(n>>>0)+4294967296.0*+(p|0)))break;y=m;c[y>>2]=n;c[y+4>>2]=p;b[o>>1]=q&15872|4;break}}else{Hj(m,j,1);o=m+8|0}while(0);n=b[o>>1]|0;p=n&65535;if(p&12){n=p&65533;b[o>>1]=n}if(i<<24>>24==1|(n&2)==0){m=0;break d}if((a[m+10>>0]|0)==i<<24>>24){m=0;break d}m=Of(m,i)|0;break d}case 148:{g=c[u+12>>2]|0;w=64;break d}case 101:{do if(!f){if(!(c[2]|0)){g=jb[c[52>>2]&255](40)|0;w=100;break}g=jb[c[68>>2]&255](40)|0;if((c[11829]|0)>>>0<40)c[11829]=40;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){w=c[11822]|0;y=Gt(m|0,n|0,g|0,((g|0)<0)<<31>>31|0)|0;i=z;c[11616]=(0>(i|0)|0==(i|0)&w>>>0>=y>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){m=jb[c[64>>2]&255](g)|0;m=(c[11822]|0)+m|0;c[11822]=m;if(m>>>0>(c[11826]|0)>>>0)c[11826]=m;m=(c[11825]|0)+1|0;c[11825]=m;if(m>>>0>(c[11831]|0)>>>0){c[11831]=m;w=102}else w=102}else w=101}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0){w=101;break}}else{if((e[f+268>>1]|0)>=40){m=f+292|0;g=c[m>>2]|0;if(g|0){c[m>>2]=c[g>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=100;break}m=f+288|0;g=c[m>>2]|0;if(!g)g=2;else{c[m>>2]=c[g>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=100;break}}else g=1;y=f+276+(g<<2)|0;c[y>>2]=(c[y>>2]|0)+1}g=Ec(f,40,0)|0;w=100}while(0);if((w|0)==100)if(!g)w=101;else w=102;if((w|0)==101){c[v>>2]=0;m=0;break e}else if((w|0)==102){n=g;o=n+40|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));c[g+32>>2]=f;c[v>>2]=g;b[g+8>>1]=1;m=0;break d}break}case 133:{do if(!f){if(!(c[2]|0)){g=jb[c[52>>2]&255](40)|0;w=124;break}g=jb[c[68>>2]&255](40)|0;if((c[11829]|0)>>>0<40)c[11829]=40;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){i=c[11822]|0;y=Gt(m|0,n|0,g|0,((g|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&i>>>0>=y>>>0)&1}m=jb[c[52>>2]&255](g)|0;if(m){g=jb[c[64>>2]&255](m)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;j=m}else j=m}else w=125}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0){w=125;break}}else{if((e[f+268>>1]|0)>=40){m=f+292|0;g=c[m>>2]|0;if(g|0){c[m>>2]=c[g>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=124;break}m=f+288|0;g=c[m>>2]|0;if(!g)g=2;else{c[m>>2]=c[g>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=124;break}}else g=1;y=f+276+(g<<2)|0;c[y>>2]=(c[y>>2]|0)+1}g=Ec(f,40,0)|0;w=124}while(0);if((w|0)==124)if(!g)w=125;else j=g;if((w|0)==125){c[v>>2]=0;m=0;break e}n=j;o=n+40|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(o|0));b[j+8>>1]=1;c[j+32>>2]=f;c[v>>2]=j;g=j;r=(c[u+8>>2]|0)+2|0;q=(As(r)|0)&1073741823;s=q+-1|0;t=(s|0)/2|0;o=t+1|0;p=((o|0)<0)<<31>>31;do if(c[f+264>>2]|0)if(!(a[f+73>>0]|0))w=134;else m=0;else{if(!(0

    >>0|(0==(p|0)?(e[f+268>>1]|0)>>>0>>0:0))){n=f+292|0;m=c[n>>2]|0;if(m|0){c[n>>2]=c[m>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=135;break}n=f+288|0;m=c[n>>2]|0;if(!m)m=2;else{c[n>>2]=c[m>>2];w=f+276|0;c[w>>2]=(c[w>>2]|0)+1;w=135;break}}else m=1;w=f+276+(m<<2)|0;c[w>>2]=(c[w>>2]|0)+1;w=134}while(0);if((w|0)==134){m=Ec(f,o,p)|0;w=135}if((w|0)==135){o=q+-2|0;if(!m)m=0;else{if((s|0)>1){n=0;do{y=a[r+n>>0]|0;f=a[r+(n|1)>>0]|0;a[m+((n|0)/2|0)>>0]=(0-(f>>>6&1)&9)+f&15|(0-(y>>>6&1)&9)+y<<4;n=n+2|0}while((n|0)<(o|0));n=(s&-2|0)/2|0}else n=0;a[m+n>>0]=0}}Ve(j,m,t,0,172)|0;m=0;break d}default:{m=0;g=0;break d}}while(0);g=f+73|0;if((a[g>>0]|0)==0?(a[f+74>>0]|0)==0:0){a[g>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;y=f+264|0;c[y>>2]=(c[y>>2]|0)+1}Yf(m);y=7;l=x;return y|0}while(0);if((w|0)==64){y=(Dj(f,g,i,j,v)|0)==0;s=c[v>>2]|0;g=s;if(y&(s|0)!=0){t=s+8|0;m=b[t>>1]|0;if(!(m&13)){m=s+16|0;n=s+12|0;o=s+10|0;p=ef(c[m>>2]|0,s,c[n>>2]|0,a[o>>0]|0)|0;if(!p)m=(b[t>>1]&15872|4)&65535;else{r=s;q=c[r>>2]|0;r=c[r+4>>2]|0;df(c[m>>2]|0,s,c[n>>2]|0,a[o>>0]|0)|0;n=b[t>>1]&15872;if((p|0)==1?+h[s>>3]==+(q>>>0)+4294967296.0*+(r|0):0){m=s;c[m>>2]=q;c[m+4>>2]=r;m=4}else m=8;m=m|n}m=m&65535;b[t>>1]=m}b[t>>1]=m&-16403;do if(!(m&8)){o=s;n=c[o>>2]|0;o=c[o+4>>2]|0;if((n|0)==0&(o|0)==-2147483648){h[s>>3]=9223372036854775808.0;b[t>>1]=m&15872|8;break}else{f=Gt(0,0,n|0,o|0)|0;y=s;c[y>>2]=f;c[y+4>>2]=z;break}}else h[s>>3]=-+h[s>>3];while(0);Hj(s,j,i);m=0}else m=0}c[k>>2]=g;y=m;l=x;return y|0}function Ej(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+48|0;r=u+32|0;q=u+8|0;p=u;n=d+432|0;s=c[n>>2]|0;t=c[d>>2]|0;if(!s){l=u;return}o=d+444|0;m=c[o>>2]|0;do if(m){k=c[d+448>>2]|0;i=Ft(k|0,((k|0)<0)<<31>>31|0,1,0)|0;j=z;do if(c[t+264>>2]|0)if(!(a[t+73>>0]|0))h=12;else j=0;else{if(!(0>>0|(0==(j|0)?(e[t+268>>1]|0)>>>0>>0:0))){h=t+292|0;g=c[h>>2]|0;if(g|0){c[h>>2]=c[g>>2];h=t+276|0;c[h>>2]=(c[h>>2]|0)+1;h=13;break}h=t+288|0;g=c[h>>2]|0;if(!g)g=2;else{c[h>>2]=c[g>>2];h=t+276|0;c[h>>2]=(c[h>>2]|0)+1;h=13;break}}else g=1;h=t+276+(g<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=12}while(0);if((h|0)==12){g=Ec(t,i,j)|0;h=13}if((h|0)==13)if(!g)j=0;else{Tt(g|0,m|0,k|0)|0;a[g+k>>0]=0;j=g}g=s+56|0;i=(c[g>>2]<<2)+8|0;h=s+60|0;i=Mc(t,c[h>>2]|0,i,((i|0)<0)<<31>>31)|0;if(i|0){k=c[g>>2]|0;m=k+1|0;c[g>>2]=m;c[i+(k<<2)>>2]=j;c[i+(m<<2)>>2]=0;c[h>>2]=i;break}if(j){if(t|0){if(c[t+464>>2]|0){Lc(t,j);break}m=j;if(m>>>0>=(c[t+296>>2]|0)>>>0?m>>>0<(c[t+300>>2]|0)>>>0:0){m=t+292|0;c[j>>2]=c[m>>2];c[m>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{m=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}}else g=s+56|0;while(0);c[o>>2]=0;if((c[g>>2]|0)<1){l=u;return}if(a[t+157>>0]|0){if(!(_f((c[s+72>>2]|0)+8|0,c[s>>2]|0,s)|0)){c[n>>2]=0;l=u;return}g=t+73|0;if(a[g>>0]|0){l=u;return}if(a[t+74>>0]|0){l=u;return}a[g>>0]=1;if((c[t+172>>2]|0)>0)c[t+256>>2]=1;t=t+264|0;c[t>>2]=(c[t>>2]|0)+1;l=u;return}if(!f)g=d+380|0;else{g=d+380|0;c[d+384>>2]=(c[f>>2]|0)-(c[g>>2]|0)+(c[f+4>>2]|0)}c[p>>2]=g;j=Ff(t,27310,p)|0;h=c[s+72>>2]|0;i=c[t+16>>2]|0;if(!h)f=-1e6;else{g=0;while(1)if((c[i+(g<<4)+12>>2]|0)==(h|0)){f=g;break}else g=g+1|0}o=c[s>>2]|0;p=c[d+96>>2]|0;c[q>>2]=c[i+(f<<4)>>2];c[q+4>>2]=25345;c[q+8>>2]=o;c[q+12>>2]=o;c[q+16>>2]=j;c[q+20>>2]=p;ij(d,27334,q);do if(j|0){if(c[t+464>>2]|0){Lc(t,j);break}q=j;if(q>>>0>=(c[t+296>>2]|0)>>>0?q>>>0<(c[t+300>>2]|0)>>>0:0){q=t+292|0;c[j>>2]=c[q>>2];c[q>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{q=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);g=d+8|0;h=c[g>>2]|0;if(!h){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;m=yi(d)|0;g=c[g>>2]|0}else{m=h;g=h}h=(c[c[(c[(c[d>>2]|0)+16>>2]|0)+(f<<4)+12>>2]>>2]|0)+1|0;i=g+136|0;j=c[i>>2]|0;if((c[(c[g+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;q=c[g+88>>2]|0;a[q+(j*20|0)>>0]=102;b[q+(j*20|0)+2>>1]=0;c[q+(j*20|0)+4>>2]=f;c[q+(j*20|0)+8>>2]=1;c[q+(j*20|0)+12>>2]=h;c[q+(j*20|0)+16>>2]=0;a[q+(j*20|0)+1>>0]=0}else zi(g,102,f,1,h)|0;j=m+136|0;g=c[j>>2]|0;k=m+12|0;if((c[(c[k>>2]|0)+48>>2]|0)>(g|0)){c[j>>2]=g+1;h=c[m+88>>2]|0;a[h+(g*20|0)>>0]=-105;g=h+(g*20|0)+1|0;h=g+19|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0))}else zi(m,151,0,0,0)|0;c[r>>2]=c[s>>2];nj(m,f,Ff(t,27422,r)|0);h=d+44|0;i=(c[h>>2]|0)+1|0;c[h>>2]=i;h=c[s>>2]|0;g=c[j>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(g|0)){c[j>>2]=g+1;t=c[m+88>>2]|0;a[t+(g*20|0)>>0]=97;b[t+(g*20|0)+2>>1]=0;c[t+(g*20|0)+4>>2]=0;c[t+(g*20|0)+8>>2]=i;c[t+(g*20|0)+12>>2]=0;c[t+(g*20|0)+16>>2]=0;a[t+(g*20|0)+1>>0]=0}else g=zi(m,97,0,i,0)|0;if(!(a[(c[m>>2]|0)+73>>0]|0)){if((g|0)<0)g=(c[j>>2]|0)+-1|0;Ai(m,(c[m+88>>2]|0)+(g*20|0)|0,h,0)}g=c[j>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(g|0)){c[j>>2]=g+1;t=c[m+88>>2]|0;a[t+(g*20|0)>>0]=-102;b[t+(g*20|0)+2>>1]=0;c[t+(g*20|0)+4>>2]=f;c[t+(g*20|0)+8>>2]=i;c[t+(g*20|0)+12>>2]=0;c[t+(g*20|0)+16>>2]=0;a[t+(g*20|0)+1>>0]=0;l=u;return}else{zi(m,154,f,i,0)|0;l=u;return}}function Fj(b,f,g,h,i){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=l;l=l+16|0;p=t;s=c[b>>2]|0;r=Fi(s,g)|0;o=(f|0)!=0;if(o&(r|0)!=0?(j=c[f>>2]|0,(j|0)>0):0){n=0;g=j;do{k=c[f+8+(n<<4)>>2]|0;m=a[r>>0]|0;j=(d[17324+(m&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(m<<24>>24==0|(j|0)!=0)){m=r;do{m=m+1|0;k=k+1|0;u=a[m>>0]|0;j=(d[17324+(u&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(u<<24>>24==0|(j|0)!=0))}if(!j){c[p>>2]=r;hg(b,27280,p);g=c[f>>2]|0}n=n+1|0}while((n|0)<(g|0))}a:do if(o){g=(c[f>>2]<<4)+24|0;g=Mc(s,f,g,((g|0)<0)<<31>>31)|0}else{do if(!s){if(!(c[2]|0)){g=jb[c[52>>2]&255](24)|0;q=31;break}g=jb[c[68>>2]&255](24)|0;if((c[11829]|0)>>>0<24)c[11829]=24;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){p=c[11822]|0;u=Gt(j|0,k|0,g|0,((g|0)<0)<<31>>31|0)|0;b=z;c[11616]=(0>(b|0)|0==(b|0)&p>>>0>=u>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){g=0;break a}j=jb[c[64>>2]&255](g)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0)c[11831]=j}else{if(c[s+264>>2]|0){if(a[s+73>>0]|0){g=0;break a}}else{if((e[s+268>>1]|0)>=24){j=s+292|0;g=c[j>>2]|0;if(g|0){c[j>>2]=c[g>>2];q=s+276|0;c[q>>2]=(c[q>>2]|0)+1;q=31;break}j=s+288|0;g=c[j>>2]|0;if(!g)g=2;else{c[j>>2]=c[g>>2];q=s+276|0;c[q>>2]=(c[q>>2]|0)+1;q=31;break}}else g=1;u=s+276+(g<<2)|0;c[u>>2]=(c[u>>2]|0)+1}g=Ec(s,24,0)|0;q=31}while(0);if((q|0)==31)if(!g){g=0;break}j=g;k=j+24|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0))}while(0);if(!(a[s+73>>0]|0)){s=g+8|0;c[s+(c[g>>2]<<4)+8>>2]=i;u=c[g>>2]|0;c[s+(u<<4)+4>>2]=h;c[s+(u<<4)>>2]=r;c[s+(u<<4)+12>>2]=0;c[g>>2]=u+1;u=g;l=t;return u|0}if(h|0)Rf(s,h);if(i|0)Sf(s,i,1);if(!r){u=f;l=t;return u|0}if(s|0){if(c[s+464>>2]|0){Lc(s,r);u=f;l=t;return u|0}u=r;if(u>>>0>=(c[s+296>>2]|0)>>>0?u>>>0<(c[s+300>>2]|0)>>>0:0){u=s+292|0;c[r>>2]=c[u>>2];c[u>>2]=r;u=f;l=t;return u|0}}if(!(c[2]|0)){pb[c[56>>2]&255](r);u=f;l=t;return u|0}else{u=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);u=f;l=t;return u|0}return 0}function Gj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0.0,j=0,k=0,l=0,m=0;m=d+8|0;g=b[m>>1]|0;j=g&65535;if(j&1|0)return;switch(e<<24>>24){case 65:{if(j&16|0){b[m>>1]=j&15888;return}if(!((j&2|0)!=0|(j&12|0)==0)){Pf(d,f,1)|0;g=b[m>>1]|0}g=g&-13;b[m>>1]=g;g=g&65535;if(!(g&2))return;b[m>>1]=g&15872|16;return}case 67:{if(!(g&13)){g=d+16|0;e=d+12|0;f=d+10|0;j=ef(c[g>>2]|0,d,c[e>>2]|0,a[f>>0]|0)|0;if(!j)g=(b[m>>1]&15872|4)&65535;else{l=d;k=c[l>>2]|0;l=c[l+4>>2]|0;df(c[g>>2]|0,d,c[e>>2]|0,a[f>>0]|0)|0;e=b[m>>1]&15872;if((j|0)==1?+h[d>>3]==+(k>>>0)+4294967296.0*+(l|0):0){g=d;c[g>>2]=k;c[g+4>>2]=l;g=4}else g=8;g=g|e}g=g&65535;b[m>>1]=g}b[m>>1]=g&-16403;return}case 68:{do if(!(j&4)){if(j&8|0){e=Gc(+h[d>>3])|0;f=z;break}if(!(j&18)){e=0;f=0}else{e=Hc(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)|0;f=z;g=b[m>>1]|0}}else{f=d;e=c[f>>2]|0;f=c[f+4>>2]|0}while(0);c[d>>2]=e;c[d+4>>2]=f;b[m>>1]=g&15872|4;return}case 69:{do if(!(j&8)){if(j&4|0){l=d;i=+((c[l>>2]|0)>>>0)+4294967296.0*+(c[l+4>>2]|0);break}if(!(j&18))i=0.0;else{i=+Ic(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0);g=b[m>>1]|0}}else i=+h[d>>3];while(0);h[d>>3]=i;b[m>>1]=g&15872|8;return}default:{l=j>>>3&2|j;g=l&65535;b[m>>1]=g;if(!((j&12|0)==0|(l&2|0)!=0)){Pf(d,f,1)|0;g=b[m>>1]|0}b[m>>1]=g&-16413;return}}}function Hj(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,i=0.0,j=0,k=0;if(d<<24>>24<=66){if(d<<24>>24!=66)return;f=a+8|0;d=b[f>>1]|0;g=d&65535;if(!((g&2|0)!=0|(g&12|0)==0)){Pf(a,e,1)|0;d=b[f>>1]|0}b[f>>1]=d&-13;return}f=a+8|0;g=b[f>>1]|0;d=g&65535;if(d&4|0)return;if(!(d&8)){if(!(d&2))return;Ij(a,1);return}else{i=+h[a>>3];d=Gc(i)|0;e=z;j=Ft(d|0,e|0,1,-2147483648)|0;k=z;if(!((k>>>0>0|(k|0)==0&j>>>0>1)&i==+(d>>>0)+4294967296.0*+(e|0)))return;k=a;c[k>>2]=d;c[k+4>>2]=e;b[f>>1]=g&15872|4;return}}function Ij(d,f){d=d|0;f=f|0;var g=0,i=0,j=0,k=0.0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;m=p+8|0;n=p;g=a[d+10>>0]|0;i=d+16|0;j=d+12|0;if(!(df(c[i>>2]|0,m,c[j>>2]|0,g)|0)){l=p;return}j=(ef(c[i>>2]|0,n,c[j>>2]|0,g)|0)==0;o=d+8|0;g=e[o>>1]|0;if(j){f=c[n+4>>2]|0;c[d>>2]=c[n>>2];c[d+4>>2]=f;b[o>>1]=g|4;l=p;return}k=+h[m>>3];h[d>>3]=k;j=(g|8)&65535;b[o>>1]=j;if(!f){l=p;return}g=Gc(k)|0;i=z;f=Ft(g|0,i|0,1,-2147483648)|0;n=z;if(!((n>>>0>0|(n|0)==0&f>>>0>1)&k==+(g>>>0)+4294967296.0*+(i|0))){l=p;return}c[d>>2]=g;c[d+4>>2]=i;b[o>>1]=j&15872|4;l=p;return}function Jj(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0;C=l;l=l+48|0;w=C+24|0;v=C+16|0;u=C+8|0;k=C;p=C+32|0;t=C+28|0;o=f+60|0;r=c[o>>2]|0;q=c[f+56>>2]|0;c[t>>2]=0;s=e+344|0;j=c[s>>2]|0;a:do if(j|0){while(1){if((c[j+4>>2]|0)==(f|0))break;j=c[j+8>>2]|0;if(!j)break a}c[k>>2]=c[f>>2];c[i>>2]=Ff(e,29056,k)|0;e=6;l=C;return e|0}while(0);B=kg(e,c[f>>2]|0)|0;if(!B){e=7;l=C;return e|0}if(!(c[2]|0)){j=jb[c[52>>2]&255](28)|0;if(!j)A=18;else A=16}else{j=jb[c[68>>2]&255](28)|0;if((c[11829]|0)>>>0<28)c[11829]=28;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){D=c[11822]|0;n=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&D>>>0>=n>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(j){k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;k=j;m=k+28|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(m|0));n=j}else A=16}else A=18}if((A|0)==16){k=j;m=k+28|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(m|0));n=j}else if((A|0)==18){j=e+73|0;if((a[j>>0]|0)==0?(a[e+74>>0]|0)==0:0){a[j>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;D=e+264|0;c[D>>2]=(c[D>>2]|0)+1}if(c[e+464>>2]|0){Lc(e,B);D=7;l=C;return D|0}D=B;if(D>>>0>=(c[e+296>>2]|0)>>>0?D>>>0<(c[e+300>>2]|0)>>>0:0){D=e+292|0;c[B>>2]=c[D>>2];c[D>>2]=B;D=7;l=C;return D|0}if(!(c[2]|0)){pb[c[56>>2]&255](B);D=7;l=C;return D|0}else{D=jb[c[64>>2]&255](B)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](B);D=7;l=C;return D|0}}c[n>>2]=e;c[n+4>>2]=g;k=c[f+72>>2]|0;m=c[e+16>>2]|0;if(!k)j=-1e6;else{j=0;while(1)if((c[m+(j<<4)+12>>2]|0)==(k|0))break;else j=j+1|0}c[(c[o>>2]|0)+4>>2]=c[m+(j<<4)>>2];c[p+4>>2]=f;c[p>>2]=n;D=p+8|0;c[D>>2]=c[s>>2];k=p+12|0;c[k>>2]=0;c[s>>2]=p;m=n+8|0;j=ob[h&255](e,c[g+8>>2]|0,q,r,m,t)|0;c[s>>2]=c[D>>2];b:do switch(j|0){case 7:{k=e+73|0;if((a[k>>0]|0)==0?(a[e+74>>0]|0)==0:0){a[k>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;A=e+264|0;c[A>>2]=(c[A>>2]|0)+1;A=39}else A=39;break}case 0:{j=c[m>>2]|0;if(j){c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[c[m>>2]>>2]=c[g>>2];j=n+12|0;c[j>>2]=1;if(!(c[k>>2]|0)){c[w>>2]=c[f>>2];c[i>>2]=Ff(e,29128,w)|0;k=c[n>>2]|0;D=(c[j>>2]|0)+-1|0;c[j>>2]=D;if(D|0){j=1;A=88;break b}j=c[m>>2]|0;if(j|0)jb[c[(c[j>>2]|0)+16>>2]&255](j)|0;if(k|0){if(c[k+464>>2]|0){Lc(k,n);j=1;A=88;break b}D=n;if(D>>>0>=(c[k+296>>2]|0)>>>0?D>>>0<(c[k+300>>2]|0)>>>0:0){j=k+292|0;c[n>>2]=c[j>>2];c[j>>2]=n;j=1;A=88;break b}}if(!(c[2]|0)){pb[c[56>>2]&255](n);j=1;A=88;break b}else{j=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);j=1;A=88;break b}}t=f+64|0;c[n+24>>2]=c[t>>2];c[t>>2]=n;t=f+42|0;j=b[t>>1]|0;if(j<<16>>16>0){u=f+4|0;g=f+36|0;m=0;s=0;k=c[u>>2]|0;do{if(!(a[k+(s<<4)+15>>0]&4))r=47328;else{r=c[k+(s<<4)>>2]|0;r=r+(As(r)|0)+1|0}q=(As(r)|0)&1073741823;c:do if(!q)A=85;else{n=0;d:while(1){h=r+n|0;do if(h|0){D=d[h>>0]|0;o=17324+D|0;do if((D|32|0)==104){o=h+1|0;D=d[o>>0]|0;p=17324+D|0;if((D|32|0)==105){o=o+1|0;D=d[o>>0]|0;p=17324+D|0;if((D|32|0)==100){o=o+1|0;D=d[o>>0]|0;p=17324+D|0;if((D|32|0)==100){o=o+1|0;p=d[o>>0]|0;if((p|32|0)!=101){x=17324+p|0;y=101;A=74;break}o=d[o+1>>0]|0;if((o|32|0)!=110){x=17324+o|0;y=110;A=74}}else{x=p;y=100;A=74}}else{x=p;y=100;A=74}}else{x=p;y=105;A=74}}else{x=o;y=104;A=74}while(0);if((A|0)==74?(A=0,y<<24>>24!=(a[x>>0]|0)):0)break;if(n|0?(a[r+(n+-1)>>0]|0)!=32:0)break;o=a[r+(n+6)>>0]|0;switch(o<<24>>24){case 32:case 0:break d;default:{}}}while(0);n=n+1|0;if((n|0)>=(q|0)){A=85;break c}}o=o<<24>>24?7:6;j=n+o|0;if((j|0)<=(q|0)){m=q+1-o|0;k=n;while(1){a[r+k>>0]=a[r+j>>0]|0;j=k+1|0;if((j|0)==(m|0))break;else{k=j;j=j+o|0}}}if((n|0)>0&(a[h>>0]|0)==0)a[r+(n+-1)>>0]=0;k=c[u>>2]|0;m=k+(s<<4)+15|0;a[m>>0]=a[m>>0]|2;m=-128;j=b[t>>1]|0}while(0);if((A|0)==85){A=0;c[g>>2]=c[g>>2]|m&255}s=s+1|0}while((s|0)<(j<<16>>16|0));if(!e)j=0;else{j=0;A=88}}else{j=0;A=88}}else{j=0;A=88}break}default:A=39}while(0);do if((A|0)==39){k=c[t>>2]|0;do if(k){c[v>>2]=k;c[i>>2]=Ff(e,17859,v)|0;k=c[t>>2]|0;if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{D=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[u>>2]=B;c[i>>2]=Ff(e,29098,u)|0}while(0);if(c[e+464>>2]|0){Lc(e,n);A=88;break}D=n;if(D>>>0>=(c[e+296>>2]|0)>>>0?D>>>0<(c[e+300>>2]|0)>>>0:0){A=e+292|0;c[n>>2]=c[A>>2];c[A>>2]=n;A=88;break}if(!(c[2]|0)){pb[c[56>>2]&255](n);A=88;break}else{A=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);A=88;break}}while(0);if((A|0)==88){if(c[e+464>>2]|0){Lc(e,B);D=j;l=C;return D|0}D=B;if(D>>>0>=(c[e+296>>2]|0)>>>0?D>>>0<(c[e+300>>2]|0)>>>0:0){D=e+292|0;c[B>>2]=c[D>>2];c[D>>2]=B;D=j;l=C;return D|0}}if(!(c[2]|0)){pb[c[56>>2]&255](B);D=j;l=C;return D|0}else{D=jb[c[64>>2]&255](B)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](B);D=j;l=C;return D|0}return 0}function Kj(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;if(!b)return;d=c[b>>2]|0;if((d|0)<=0)return;h=a+40|0;f=0;g=b+8|0;while(1){e=g+44|0;if((c[e>>2]|0)>-1){d=8;break}i=c[h>>2]|0;c[h>>2]=i+1;c[e>>2]=i;e=c[g+20>>2]|0;if(e){Kj(a,c[e+28>>2]|0);d=c[b>>2]|0}f=f+1|0;if((f|0)>=(d|0)){d=8;break}else g=g+72|0}if((d|0)==8)return}function Lj(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;k=c[d>>2]|0;g=k+28|0;h=c[g>>2]|0;c[g>>2]=h&-69|64;Rj(d,f,0);if(!(c[d+36>>2]|0))j=f;else{k=0;return k|0}while(1){f=c[j+48>>2]|0;if(!f)break;else j=f}c[g>>2]=h;do if(!k){if(!(c[2]|0)){f=jb[c[52>>2]&255](80)|0;i=24;break}f=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){l=c[11822]|0;h=Gt(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&l>>>0>=h>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){l=0;return l|0}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}else{if(c[k+264>>2]|0){if(a[k+73>>0]|0){l=0;return l|0}}else{if((e[k+268>>1]|0)>=80){g=k+292|0;f=c[g>>2]|0;if(f|0){c[g>>2]=c[f>>2];i=k+276|0;c[i>>2]=(c[i>>2]|0)+1;i=24;break}g=k+288|0;f=c[g>>2]|0;if(!f)f=2;else{c[g>>2]=c[f>>2];i=k+276|0;c[i>>2]=(c[i>>2]|0)+1;i=24;break}}else f=1;l=k+276+(f<<2)|0;c[l>>2]=(c[l>>2]|0)+1}f=Ec(k,80,0)|0;i=24}while(0);if((i|0)==24)if(!f){l=0;return l|0}g=f+4|0;h=g+76|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));g=f+32|0;c[g>>2]=1;c[f>>2]=0;b[f+44>>1]=200;Mj(c[d>>2]|0,c[j>>2]|0,f+42|0,f+4|0);Nj(d,f,j);b[f+40>>1]=-1;if(!(a[k+73>>0]|0)){l=f;return l|0}if(!f){l=0;return l|0}if((c[k+464>>2]|0)==0?(l=(c[g>>2]|0)+-1|0,c[g>>2]=l,l|0):0){l=0;return l|0}Tf(k,f);l=0;return l|0}function Mj(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;M=l;l=l+48|0;J=M+8|0;I=M;H=M+40|0;L=M+24|0;c[L>>2]=0;c[L+4>>2]=0;c[L+8>>2]=0;c[L+12>>2]=0;do if(g){o=c[g>>2]|0;n=o<<4;do if(!f){F=Ft(n|0,0,-1,-1)|0;E=z;if(!(E>>>0>0|(E|0)==0&F>>>0>2147483390)){if(!(c[2]|0)){j=jb[c[52>>2]&255](n)|0;K=25;break}j=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){E=c[11822]|0;F=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;D=z;c[11616]=(0>(D|0)|0==(D|0)&E>>>0>=F>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(j){k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0){c[11831]=k;K=26}else K=26}else F=0}else F=0}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0){F=0;break}}else{if(!(0<0|(0==0?(e[f+268>>1]|0)>>>0>>0:0))){k=f+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];K=f+276|0;c[K>>2]=(c[K>>2]|0)+1;K=25;break}k=f+288|0;j=c[k>>2]|0;if(!j)j=2;else{c[k>>2]=c[j>>2];K=f+276|0;c[K>>2]=(c[K>>2]|0)+1;K=25;break}}else j=1;K=f+276+(j<<2)|0;c[K>>2]=(c[K>>2]|0)+1}j=Ec(f,n,0)|0;K=25}while(0);if((K|0)==25)if(!j)F=0;else K=26;if((K|0)==26){Vt(j|0,0,n|0)|0;F=j}if((o|0)<32767){b[h>>1]=o;c[i>>2]=F;k=f+73|0;if((o|0)>0)E=k;else{j=F;m=F;K=30;break}}else{b[h>>1]=32767;c[i>>2]=F;o=32767;E=f+73|0}C=L+12|0;D=L+8|0;B=L+4|0;w=f+74|0;x=f+172|0;y=f+256|0;A=f+264|0;m=0;v=F;while(1){if(a[E>>0]|0)break;j=c[g+4+(m*20|0)+4>>2]|0;do if(!j){j=c[g+4+(m*20|0)>>2]|0;a:do if(!j)j=0;else while(1){k=c[j+4>>2]|0;if(!(k&4096))break a;if(!(k&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){j=0;break}}while(0);b:while(1){switch(a[j>>0]|0){case -109:case -111:{K=42;break b}case 59:{K=47;break b}case 122:break;default:{K=48;break b}}j=c[j+16>>2]|0}if((K|0)==42){K=0;k=c[j+44>>2]|0;if(!k)K=48;else{j=b[j+32>>1]|0;if(j<<16>>16<0)j=b[k+40>>1]|0;else j=j<<16>>16;if((j|0)<=-1){j=24823;K=50;break}j=(c[k+4>>2]|0)+(j<<4)|0}}else if((K|0)==47){K=0;j=j+8|0}if((K|0)==48){K=0;j=g+4+(m*20|0)+8|0}j=c[j>>2]|0;if(!j){c[I>>2]=m+1;j=Ff(f,27540,I)|0}else K=50}else K=50;while(0);if((K|0)==50){K=0;j=kg(f,j)|0}c[H>>2]=0;c:do if(j){t=c[C>>2]|0;u=(t|0)==0;while(1){if(u){n=B;k=D}else{n=a[j>>0]|0;if(!(n<<24>>24))k=0;else{k=0;p=j;do{p=p+1|0;k=O((d[17324+(n&255)>>0]|0)+k|0,-1640531535)|0;n=a[p>>0]|0}while(n<<24>>24!=0)}k=(k>>>0)%((c[L>>2]|0)>>>0)|0;n=t+(k<<3)|0;k=t+(k<<3)+4|0}n=c[n>>2]|0;d:do if(!n)k=46688;else{s=d[17324+(d[j>>0]|0)>>0]|0;while(1){k=c[k>>2]|0;n=n+-1|0;q=c[k+12>>2]|0;r=a[q>>0]|0;p=(d[17324+(r&255)>>0]|0)-s|0;if(!(r<<24>>24==0|(p|0)!=0)){r=j;do{q=q+1|0;r=r+1|0;N=a[q>>0]|0;p=(d[17324+(N&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(N<<24>>24==0|(p|0)!=0))}if(!p)break d;if(!n){k=46688;break}}}while(0);if(!(c[k+8>>2]|0))break;if((j|0)!=0?(G=(As(j)|0)&1073741823,(G|0)!=0):0){k=G;do{N=k;k=k+-1|0;n=a[j+k>>0]|0;if((N|0)<=1)break}while(((n&255)+-48|0)>>>0<10);k=n<<24>>24==58?k:G}else k=0;N=(c[H>>2]|0)+1|0;c[H>>2]=N;c[J>>2]=k;c[J+4>>2]=j;c[J+8>>2]=N;j=Ff(f,27549,J)|0;if((c[H>>2]|0)>>>0>3)zd(4,H);if(!j){K=79;break c}}c[v>>2]=j;if(((_f(L,j,v)|0)==(v|0)?(a[E>>0]|0)==0:0)?(a[w>>0]|0)==0:0){a[E>>0]=1;if((c[x>>2]|0)>0)c[y>>2]=1;c[A>>2]=(c[A>>2]|0)+1}}else K=79;while(0);if((K|0)==79){K=0;c[v>>2]=0}m=m+1|0;if((m|0)<(o|0))v=v+16|0;else break}j=c[D>>2]|0;k=c[C>>2]|0;c[D>>2]=0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{N=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);c[C>>2]=0;c[L>>2]=0;if(!j){s=m;r=F;j=E;m=F}else{do{k=j;j=c[j>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{N=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}}while((j|0)!=0);s=m;r=F;j=E;m=F}}else{b[h>>1]=0;c[i>>2]=0;j=0;k=f+73|0;m=0;K=30}while(0);if((K|0)==30){c[L+8>>2]=0;c[L+12>>2]=0;c[L>>2]=0;s=0;r=j;j=k}c[L+4>>2]=0;if(!(a[j>>0]|0)){l=M;return}e:do if((s|0)>0){k=f+464|0;n=f+296|0;o=f+300|0;p=f+292|0;if(!f){j=0;while(1){k=c[r+(j<<4)>>2]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{N=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);j=j+1|0;if((j|0)==(s|0))break e}}else j=0;do{q=c[r+(j<<4)>>2]|0;do if(q|0){if(c[k>>2]|0){Lc(f,q);break}N=q;if(N>>>0>=(c[n>>2]|0)>>>0?N>>>0<(c[o>>2]|0)>>>0:0){c[q>>2]=c[p>>2];c[p>>2]=q;break}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{N=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);j=j+1|0}while((j|0)!=(s|0))}while(0);do if(m|0){if(f|0){if(c[f+464>>2]|0){Lc(f,m);break}N=m;if(N>>>0>=(c[f+296>>2]|0)>>>0?N>>>0<(c[f+300>>2]|0)>>>0:0){N=f+292|0;c[m>>2]=c[N>>2];c[N>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[i>>2]=0;b[h>>1]=0;l=M;return}function Nj(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;A=l;l=l+32|0;x=A;y=c[d>>2]|0;if(a[y+73>>0]|0){l=A;return};c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;c[x+16>>2]=0;c[x+20>>2]=0;c[x+24>>2]=0;c[x+28>>2]=0;c[x+4>>2]=c[f+28>>2];q=c[f>>2]|0;r=e+42|0;if((b[r>>1]|0)>0){s=(y|0)==0;t=y+464|0;u=y+296|0;v=y+300|0;w=y+292|0;o=0;p=c[e+4>>2]|0;while(1){m=c[q+4+(o*20|0)>>2]|0;k=Oj(x,m)|0;f=Pj(m)|0;n=p+13|0;a[n>>0]=f;if(k){i=(As(k)|0)&1073741823;f=c[p>>2]|0;g=(f|0)==0;if(g)h=0;else h=(As(f)|0)&1073741823;j=Mc(y,f,i+2+h|0,0)|0;do if(!(g|(j|0)!=0)){if(!s){if(c[t>>2]|0){Lc(y,f);break}g=f;if(g>>>0>=(c[u>>2]|0)>>>0?g>>>0<(c[v>>2]|0)>>>0:0){c[f>>2]=c[w>>2];c[w>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{g=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[p>>2]=j;f=p+15|0;if(j|0){Tt(j+(h+1)|0,k|0,i+1|0)|0;a[f>>0]=a[f>>0]|4}f=a[n>>0]|0}if(!(f<<24>>24))a[n>>0]=65;f=Qj(d,m)|0;if(f|0?(z=p+8|0,(c[z>>2]|0)==0):0)c[z>>2]=kg(y,c[f>>2]|0)|0;o=o+1|0;if((o|0)>=(b[r>>1]|0))break;else p=p+16|0}}b[e+46>>1]=1;l=A;return}function Oj(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+32|0;n=p;switch(a[e>>0]|0){case -111:case -109:{k=b[e+32>>1]|0;o=k<<16>>16;if(!d){o=0;l=p;return o|0}j=e+28|0;a:while(1){i=d;b:while(1){h=c[i+4>>2]|0;e=c[h>>2]|0;if((e|0)>0){f=c[j>>2]|0;d=0;do{if((c[h+8+(d*72|0)+44>>2]|0)==(f|0))break b;d=d+1|0}while((d|0)<(e|0))}d=c[i+16>>2]|0;if(!d){d=0;m=20;break a}else i=d}f=c[h+8+(d*72|0)+16>>2]|0;g=(f|0)==0;if(g&(i|0)!=0)d=i;else break}if((m|0)==20){l=p;return d|0}e=c[h+8+(d*72|0)+20>>2]|0;if(g){o=0;l=p;return o|0}if(!e){if(k<<16>>16<0){o=27532;l=p;return o|0}d=c[f+4>>2]|0;if(!(a[d+(o<<4)+15>>0]&4)){o=0;l=p;return o|0}o=c[d+(o<<4)>>2]|0;o=o+(As(o)|0)+1|0;l=p;return o|0}else{if(k<<16>>16<=-1){o=0;l=p;return o|0}d=c[e>>2]|0;if((o|0)>=(c[d>>2]|0)){o=0;l=p;return o|0}o=c[d+4+(o*20|0)>>2]|0;c[n+4>>2]=c[e+28>>2];c[n+16>>2]=i;c[n>>2]=c[i>>2];o=Oj(n,o)|0;l=p;return o|0}}case 119:{m=c[e+20>>2]|0;o=c[(c[m>>2]|0)+4>>2]|0;c[n+4>>2]=c[m+28>>2];c[n+16>>2]=d;c[n>>2]=c[d>>2];o=Oj(n,o)|0;l=p;return o|0}default:{o=0;l=p;return o|0}}return 0}function Pj(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;while(1){f=c[e+4>>2]|0;if(f&4096)do{if(!(f&262144))e=e+12|0;else e=(c[e+20>>2]|0)+4|0;e=c[e>>2]|0;f=c[e+4>>2]|0}while((f&4096|0)!=0);if(f&512|0){g=0;i=33;break}f=a[e>>0]|0;if(f<<24>>24==119)e=(c[c[e+20>>2]>>2]|0)+4|0;else{if(f<<24>>24==-106)f=d[e+38>>0]|0;else f=f&255;if((f|0)==36){i=14;break}if((f|2|0)==147?(h=c[e+44>>2]|0,h|0):0){i=28;break}if((f|0)!=152){i=32;break}e=(c[c[(c[e+12>>2]|0)+20>>2]>>2]|0)+4+((b[e+32>>1]|0)*20|0)|0}e=c[e>>2]|0}if((i|0)==14){e=c[e+8>>2]|0;f=a[e>>0]|0;if(!(f<<24>>24)){k=67;return k|0}else{h=0;g=67}while(1){f=d[17324+(f&255)>>0]|h<<8;e=e+1|0;a:do if((f|0)<1685026146){if((f|0)<1667785074){switch(f|0){case 1651273570:break;default:{i=25;break a}}switch(g&7){case 5:case 3:{j=65;k=1651273570;break a}default:{i=24;break a}}}if((f|0)<1668050786)switch(f|0){case 1667785074:{j=66;k=1667785074;break a}default:{i=25;break a}}switch(f|0){case 1668050786:break;default:{i=25;break a}}j=66;k=f}else{if((f|0)>=1919246700)if((f|0)<1952807028){switch(f|0){case 1919246700:break;default:{i=25;break a}}if(g<<24>>24==67){j=69;k=1919246700;break}else{i=24;break}}else{switch(f|0){case 1952807028:break;default:{i=25;break a}}j=66;k=f;break}if((f|0)<1718382433){switch(f|0){case 1685026146:break;default:{i=25;break a}}if(g<<24>>24==67){j=69;k=1685026146;break}}else{switch(f|0){case 1718382433:break;default:{i=25;break a}}if(g<<24>>24==67){j=69;k=1718382433;break}}j=g;k=f}while(0);if((i|0)==24){i=0;j=g;k=f}else if((i|0)==25){i=0;if((f&16777215|0)==6909556){g=68;i=33;break}else{j=g;k=f}}f=a[e>>0]|0;if(!(f<<24>>24)){g=j;i=33;break}else{h=k;g=j}}if((i|0)==33)return g|0}else if((i|0)==28){e=b[e+32>>1]|0;if(e<<16>>16<=-1){k=68;return k|0}k=a[(c[h+4>>2]|0)+(e<<16>>16<<4)+13>>0]|0;return k|0}else if((i|0)==32){k=a[e+1>>0]|0;return k|0}else if((i|0)==33)return g|0;return 0}function Qj(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=c[d>>2]|0;a:do if((e|0)!=0?(f=c[e+4>>2]|0,(f&512|0)==0):0){b:while(1){switch(a[e>>0]|0){case 94:{h=6;break b}case 36:case -107:{e=c[e+12>>2]|0;h=20;break}case -106:{if((a[e+38>>0]|0)==94){h=6;break b}else h=7;break}case 75:case -111:case -109:{h=7;break}default:h=13}if((h|0)==7){g=c[e+44>>2]|0;if(!g)h=13;else{h=8;break}}c:do if((h|0)==13){h=0;if(!(f&256)){e=0;break a}g=c[e+12>>2]|0;if(g|0?c[g+4>>2]&256|0:0){e=g;break}h=c[e+16>>2]|0;g=c[e+20>>2]|0;if((f&2048|0)==0&(g|0)!=0?(i=c[g>>2]|0,(i|0)>0):0){f=0;while(1){e=c[g+4+(f*20|0)>>2]|0;f=f+1|0;if(c[e+4>>2]&256|0){h=20;break c}if((f|0)>=(i|0)){e=h;h=20;break}}}else{e=h;h=20}}while(0);if((h|0)==20)if(!e){e=0;break a}f=c[e+4>>2]|0;if(f&512|0){e=0;break a}}if((h|0)==6)e=Qi(d,a[j+70>>0]|0,0,c[e+8>>2]|0)|0;else if((h|0)==8){e=b[e+32>>1]|0;if(e<<16>>16<=-1){e=0;break}e=c[(c[g+4>>2]|0)+(e<<16>>16<<4)+8>>2]|0;f=a[j+70>>0]|0;if(!e)e=j+8|0;else e=($f(j+372|0,e,0)|0)+8|0;e=c[e>>2]|0;if(!e){e=0;break}else e=e+(((f&255)+-1|0)*20|0)|0}if(e){if((c[e+12>>2]|0)==0?(Qi(d,a[(c[d>>2]|0)+70>>0]|0,e,c[e>>2]|0)|0)==0:0){d=0;return d|0}}else e=0}else e=0;while(0);d=e;return d|0}function Rj(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=l;l=l+32|0;h=i;if(a[(c[b>>2]|0)+73>>0]|0){l=i;return}if(c[d+8>>2]&128|0){l=i;return}c[h+4>>2]=192;c[h>>2]=b;f=h+8|0;if(!(a[b+22>>0]|0))g=h+12|0;else{c[f>>2]=193;g=h+12|0;c[g>>2]=0;Uj(h,d)|0}c[f>>2]=194;c[g>>2]=133;Uj(h,d)|0;f=b+36|0;if(c[f>>2]|0){l=i;return}if(a[(c[b>>2]|0)+73>>0]|0){l=i;return}c[h+4>>2]=184;c[h+8>>2]=185;c[h+12>>2]=0;c[h>>2]=b;c[h+24>>2]=e;Uj(h,d)|0;if(c[f>>2]|0){l=i;return}if(a[(c[b>>2]|0)+73>>0]|0){l=i;return}c[h+8>>2]=195;c[h+12>>2]=134;c[h+4>>2]=192;c[h>>2]=b;Uj(h,d)|0;l=i;return}function Sj(a,b){a=a|0;b=b|0;return 0}function Tj(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+16|0;n=p;o=d+48|0;if(!(c[o>>2]|0)){o=0;l=p;return o|0}j=c[d+44>>2]|0;if(!j){o=0;l=p;return o|0}else f=d;a:while(1){switch(a[f+4>>0]|0){case 119:case 116:break;default:break a}f=c[f+48>>2]|0;if(!f){i=0;k=34;break}}if((k|0)==34){l=p;return i|0}f=c[j>>2]|0;do{if((f|0)<=0){i=0;k=34;break}f=f+-1|0}while(!(c[(c[j+4+(f*20|0)>>2]|0)+4>>2]&256|0));if((k|0)==34){l=p;return i|0}j=c[b>>2]|0;m=c[j>>2]|0;do if(!m){if(!(c[2]|0)){g=jb[c[52>>2]&255](64)|0;k=29;break}f=jb[c[68>>2]&255](64)|0;if((c[11829]|0)>>>0<64)c[11829]=64;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){q=c[11822]|0;b=Gt(h|0,i|0,f|0,((f|0)<0)<<31>>31|0)|0;i=z;c[11616]=(0>(i|0)|0==(i|0)&q>>>0>=b>>>0)&1}h=jb[c[52>>2]&255](f)|0;if(!h){q=2;l=p;return q|0}f=jb[c[64>>2]&255](h)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f}else{if(c[m+264>>2]|0){if(a[m+73>>0]|0){q=2;l=p;return q|0}}else{if((e[m+268>>1]|0)>=64){f=m+292|0;g=c[f>>2]|0;if(g|0){c[f>>2]=c[g>>2];k=m+276|0;c[k>>2]=(c[k>>2]|0)+1;k=29;break}f=m+288|0;g=c[f>>2]|0;if(!g)f=2;else{c[f>>2]=c[g>>2];k=m+276|0;c[k>>2]=(c[k>>2]|0)+1;k=29;break}}else f=1;q=m+276+(f<<2)|0;c[q>>2]=(c[q>>2]|0)+1}g=Ec(m,64,0)|0;k=29}while(0);if((k|0)==29)if(!g){q=2;l=p;return q|0}else h=g;f=h;i=f+64|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(i|0));f=c[j>>2]|0;b=Wi(f,0,0,0)|0;if(b|0){f=(c[b>>2]|0)+-1|0;c[b+8+(f*72|0)+20>>2]=h;c[b+8+(f*72|0)+48>>2]=0;c[b+8+(f*72|0)+52>>2]=0;f=h;g=d;i=f+64|0;do{c[f>>2]=c[g>>2];f=f+4|0;g=g+4|0}while((f|0)<(i|0));c[d+28>>2]=b;c[n>>2]=0;c[n+4>>2]=0;q=Yi(m,154,n,0)|0;c[d>>2]=Mi(c[j>>2]|0,0,q)|0;a[d+4>>0]=119;c[d+32>>2]=0;c[h+36>>2]=0;c[h+40>>2]=0;c[h+44>>2]=0;c[o>>2]=0;c[d+52>>2]=0;c[d+60>>2]=0;q=d+8|0;c[q>>2]=c[q>>2]&-65793|65536;c[(c[h+48>>2]|0)+52>>2]=h;c[h+56>>2]=0;q=0;l=p;return q|0}if(!h){q=2;l=p;return q|0}Sf(f,h,1);q=2;l=p;return q|0}function Uj(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;if(!d){m=0;return m|0}l=b+8|0;e=c[l>>2]|0;if(!e){m=0;return m|0}m=b+12|0;e=kb[e&255](b,d)|0;a:do if(!e){b:while(1){if(hk(b,d)|0){e=2;d=22;break}e=c[d+28>>2]|0;f=c[e>>2]|0;if((f|0)>0){i=e+8|0;while(1){e=c[i+20>>2]|0;if(e|0?Uj(b,e)|0:0){e=2;d=22;break b}if((a[i+37>>0]&4?(j=c[i+64>>2]|0,j|0):0)?(k=c[j>>2]|0,(k|0)>0):0){e=j+4|0;g=k;while(1){h=c[e>>2]|0;if(h|0?$j(b,h)|0:0){e=2;d=22;break b}if((g|0)>1){e=e+20|0;g=g+-1|0}else break}}if((f|0)>1){i=i+72|0;f=f+-1|0}else break}}e=c[m>>2]|0;if(e|0)qb[e&255](b,d);d=c[d+48>>2]|0;if(!d){e=0;d=22;break}e=kb[c[l>>2]&255](b,d)|0;if(e|0)break a}if((d|0)==22)return e|0}while(0);m=e&2;return m|0}function Vj(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0;pa=l;l=l+176|0;oa=pa+160|0;ka=pa+152|0;ja=pa+144|0;ia=pa+128|0;ha=pa+120|0;ga=pa+112|0;fa=pa+104|0;_=pa+96|0;Z=pa+88|0;Y=pa+80|0;X=pa+72|0;W=pa+64|0;Q=pa+56|0;P=pa+48|0;O=pa+40|0;S=pa+24|0;R=pa+16|0;N=pa+8|0;M=pa;da=pa+168|0;la=c[f>>2]|0;ma=c[la>>2]|0;na=g+8|0;h=c[na>>2]|0;c[na>>2]=h|64;ea=ma+73|0;if(a[ea>>0]|0){oa=2;l=pa;return oa|0}if(h&64|0){oa=1;l=pa;return oa|0}I=g+28|0;ba=c[I>>2]|0;ca=c[g>>2]|0;h=c[g+60>>2]|0;if(h|0){aa=la+464|0;c[h+4>>2]=c[aa>>2];c[aa>>2]=h}Kj(la,ba);aa=ba+8|0;h=c[ba>>2]|0;a:do if((h|0)>0){C=(ma|0)==0;D=ma+264|0;E=ma+268|0;F=ma+292|0;G=ma+288|0;H=ma+276|0;A=0;B=aa;b:while(1){y=B+37|0;s=a[y>>0]|0;if(!(s&32)){w=c[f>>2]|0;t=c[w>>2]|0;x=w+464|0;i=c[x>>2]|0;h=B+4|0;c:do if((c[h>>2]|0)==0?(L=c[B+8>>2]|0,!((i|0)==0|(L|0)==0)):0){d:while(1){q=c[i>>2]|0;e:do if((q|0)>0){U=a[L>>0]|0;r=a[17324+(U&255)>>0]|0;if(!(U<<24>>24)){j=0;while(1){k=i+8+(j<<4)|0;m=c[k>>2]|0;j=j+1|0;if(r<<24>>24==(a[17324+(d[m>>0]|0)>>0]|0)){o=k;k=m;break d}if((j|0)>=(q|0))break e}}else n=0;do{o=i+8+(n<<4)|0;k=c[o>>2]|0;if(r<<24>>24==(a[17324+(d[k>>0]|0)>>0]|0)){j=k;m=L;do{m=m+1|0;j=j+1|0;U=a[m>>0]|0;p=(d[17324+(U&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(p|0)!=0));if(!p)break d}n=n+1|0}while((n|0)<(q|0))}while(0);i=c[i+4>>2]|0;if(!i)break c}v=o+12|0;j=c[v>>2]|0;if(j|0){$=20;break b}if(s&4){$=22;break b}f:do if(!t){if(!(c[2]|0)){j=jb[c[52>>2]&255](80)|0;$=44;break}j=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){T=c[11822]|0;U=Gt(k|0,m|0,j|0,((j|0)<0)<<31>>31|0)|0;u=z;c[11616]=(0>(u|0)|0==(u|0)&T>>>0>=U>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(!j){$=45;break b}k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0<=(c[11831]|0)>>>0)break;c[11831]=k}else{if(c[t+264>>2]|0){if(a[t+73>>0]|0){$=45;break b}}else{do if((e[t+268>>1]|0)<80)j=1;else{k=t+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];$=t+276|0;c[$>>2]=(c[$>>2]|0)+1;$=44;break f}k=t+288|0;j=c[k>>2]|0;if(!j){j=2;break}c[k>>2]=c[j>>2];$=t+276|0;c[$>>2]=(c[$>>2]|0)+1;$=44;break f}while(0);$=t+276+(j<<2)|0;c[$>>2]=(c[$>>2]|0)+1}j=Ec(t,80,0)|0;$=44}while(0);if(($|0)==44){$=0;if(!j){$=45;break b}}T=j;U=T+80|0;do{a[T>>0]=0;T=T+1|0}while((T|0)<(U|0));c[B+16>>2]=j;s=j+32|0;c[s>>2]=1;c[j>>2]=kg(t,c[o>>2]|0)|0;b[j+40>>1]=-1;b[j+44>>1]=200;u=j+36|0;c[u>>2]=c[u>>2]|66;u=Ti(t,c[o+8>>2]|0,0)|0;c[B+20>>2]=u;if(a[t+73>>0]|0){h=2;$=424;break b}t=((a[u+4>>0]|0)+-115&255)<2;if(t?(J=c[u+28>>2]|0,K=c[J>>2]|0,(K|0)>0):0){r=u+8|0;q=0;k=K;do{do if(!(c[J+8+(q*72|0)+4>>2]|0)){n=c[J+8+(q*72|0)+8>>2]|0;if(!n)break;p=c[o>>2]|0;U=a[n>>0]|0;m=(d[17324+(U&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0;if(!(U<<24>>24==0|(m|0)!=0))do{n=n+1|0;p=p+1|0;U=a[n>>0]|0;m=(d[17324+(U&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(m|0)!=0));if(m|0)break;c[J+8+(q*72|0)+16>>2]=j;k=J+8+(q*72|0)+37|0;a[k>>0]=a[k>>0]|32;c[s>>2]=(c[s>>2]|0)+1;c[r>>2]=c[r>>2]|8192;k=c[J>>2]|0}while(0);q=q+1|0}while((q|0)<(k|0))}if((c[s>>2]|0)>>>0>2){$=58;break b}c[v>>2]=28623;n=c[x>>2]|0;c[x>>2]=i;if(t){T=c[u+48>>2]|0;U=T+60|0;c[U>>2]=c[u+60>>2];Uj(f,T)|0;c[U>>2]=0}else Uj(f,u)|0;c[x>>2]=i;i=u;while(1){k=c[i+48>>2]|0;if(!k)break;else i=k}i=c[i>>2]|0;m=c[o+4>>2]|0;do if(m){if(!i){i=m;break}i=c[i>>2]|0;k=c[m>>2]|0;if((i|0)==(k|0))i=m;else{$=67;break b}}while(0);Mj(c[w>>2]|0,i,j+42|0,j+4|0);if(t){c[v>>2]=c[u+8>>2]&8192|0?28684:28718;Uj(f,u)|0}c[v>>2]=0;c[x>>2]=n}while(0);n=B+16|0;do if(!(c[n>>2]|0)){m=B+8|0;k=c[m>>2]|0;if(k|0){j=c[B>>2]|0;if(j){i=c[(c[la>>2]|0)+16>>2]|0;h=0;while(1)if((c[i+(h<<4)+12>>2]|0)==(j|0))break;else h=h+1|0;h=i+(h<<4)|0}h=oj(la,0,k,c[h>>2]|0)|0;c[n>>2]=h;if(!h){h=2;$=424;break b}i=h+32|0;j=c[i>>2]|0;if(j>>>0>65534){$=109;break b}c[i>>2]=j+1;if(!(c[h+56>>2]|0)){if(a[y>>0]&4){$=112;break b}if(!(c[h+12>>2]|0))break}if(Aj(la,h)|0){h=2;$=424;break b}y=Ti(ma,c[h+12>>2]|0,0)|0;c[B+20>>2]=y;U=h+42|0;T=b[U>>1]|0;b[U>>1]=-1;Uj(f,y)|0;b[U>>1]=T;break}i=c[B+20>>2]|0;if(Uj(f,i)|0){h=2;$=424;break b}g:do if(C){if(!(c[2]|0)){h=jb[c[52>>2]&255](80)|0;$=95;break}h=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){T=c[11822]|0;U=Gt(j|0,k|0,h|0,((h|0)<0)<<31>>31|0)|0;y=z;c[11616]=(0>(y|0)|0==(y|0)&T>>>0>=U>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h){$=96;break b}j=jb[c[64>>2]&255](h)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0)break;c[11831]=j}else{if(c[D>>2]|0){if(a[ea>>0]|0){$=96;break b}}else{do if((e[E>>1]|0)<80)h=1;else{h=c[F>>2]|0;if(h|0){c[F>>2]=c[h>>2];c[H>>2]=(c[H>>2]|0)+1;$=95;break g}h=c[G>>2]|0;if(!h){h=2;break}c[G>>2]=c[h>>2];c[H>>2]=(c[H>>2]|0)+1;$=95;break g}while(0);$=ma+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1}h=Ec(ma,80,0)|0;$=95}while(0);if(($|0)==95){$=0;if(!h){$=96;break b}}T=h;U=T+80|0;do{a[T>>0]=0;T=T+1|0}while((T|0)<(U|0));c[n>>2]=h;c[h+32>>2]=1;j=c[B+12>>2]|0;if(!j){c[O>>2]=h;j=Ff(ma,28756,O)|0}else j=kg(ma,j)|0;c[h>>2]=j;while(1){j=c[i+48>>2]|0;if(!j)break;else i=j}Mj(c[la>>2]|0,c[i>>2]|0,h+42|0,h+4|0);b[h+40>>1]=-1;b[h+44>>1]=200;U=h+36|0;c[U>>2]=c[U>>2]|2}while(0);if(pj(la,B)|0){h=2;$=424;break}h=c[ba>>2]|0}A=A+1|0;if((A|0)>=(h|0))break a;else B=B+72|0}if(($|0)==20){c[M>>2]=k;hg(w,j,M);oa=2;l=pa;return oa|0}else if(($|0)==22){c[N>>2]=L;hg(w,28557,N);oa=2;l=pa;return oa|0}else if(($|0)==45){c[B+16>>2]=0;oa=2;l=pa;return oa|0}else if(($|0)==58){c[R>>2]=c[o>>2];hg(w,28580,R);oa=2;l=pa;return oa|0}else if(($|0)==67){c[S>>2]=c[o>>2];c[S+4>>2]=i;c[S+8>>2]=k;hg(w,28646,S);c[x>>2]=n;oa=2;l=pa;return oa|0}else if(($|0)==96){c[n>>2]=0;oa=2;l=pa;return oa|0}else if(($|0)==109){c[P>>2]=c[h>>2];hg(la,28768,P);c[n>>2]=0;oa=2;l=pa;return oa|0}else if(($|0)==112){c[Q>>2]=c[m>>2];hg(la,28557,Q);oa=2;l=pa;return oa|0}else if(($|0)==424){l=pa;return h|0}}while(0);if(a[ea>>0]|0){oa=2;l=pa;return oa|0}f=c[I>>2]|0;h:do if((c[f>>2]|0)>1){J=g+32|0;G=0;H=f+8|0;I=f+80|0;i:while(1){E=c[I+16>>2]|0;if(!((E|0)==0|(c[H+16>>2]|0)==0)){U=d[I+36>>0]|0;F=U&32;C=(F|0)==0;F=F>>>5;D=I+48|0;if(U&4){if(c[D>>2]|0){$=129;break}i=I+52|0;if(c[i>>2]|0){$=129;break}v=E+42|0;h=b[v>>1]|0;if(h<<16>>16>0){w=E+4|0;A=G+1|0;x=f+8+(A*72|0)+16|0;y=f+8+(A*72|0)+44|0;A=f+8+(A*72|0)+56|0;B=(F|0)==0;u=0;do{q=c[(c[w>>2]|0)+(u<<4)>>2]|0;s=0;j:while(1){t=f+8+(s*72|0)+16|0;j=c[t>>2]|0;k=b[j+42>>1]|0;k:do if(k<<16>>16>0){o=c[j+4>>2]|0;p=d[17324+(d[q>>0]|0)>>0]|0;n=k<<16>>16;r=0;while(1){k=c[o+(r<<4)>>2]|0;U=a[k>>0]|0;j=(d[17324+(U&255)>>0]|0)-p|0;if(!(U<<24>>24==0|(j|0)!=0)){m=q;do{k=k+1|0;m=m+1|0;U=a[k>>0]|0;j=(d[17324+(U&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(j|0)!=0))}if(!j)break;j=r+1|0;if((j|0)<(n|0))r=j;else break k}if((r|0)>-1){$=139;break j}}while(0);if((s|0)<(G|0))s=s+1|0;else break}if(($|0)==139){$=0;q=c[la>>2]|0;k=q+264|0;l:do if(c[k>>2]|0)if(!(a[q+73>>0]|0))$=147;else{p=1;o=0}else{do if((e[q+268>>1]|0)<48)h=1;else{h=q+292|0;j=c[h>>2]|0;if(j|0){c[h>>2]=c[j>>2];$=q+276|0;c[$>>2]=(c[$>>2]|0)+1;$=148;break l}h=q+288|0;j=c[h>>2]|0;if(!j){h=2;break}c[h>>2]=c[j>>2];$=q+276|0;c[$>>2]=(c[$>>2]|0)+1;$=148;break l}while(0);$=q+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=147}while(0);if(($|0)==147){j=Ec(q,48,0)|0;$=148}do if(($|0)==148){$=0;if(j){T=j;U=T+44|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[j>>0]=-111;b[j+34>>1]=-1;c[j+24>>2]=1;U=c[t>>2]|0;c[j+44>>2]=U;c[j+28>>2]=c[f+8+(s*72|0)+44>>2];if((b[U+40>>1]|0)==(r|0)){b[j+32>>1]=-1;p=0;o=j;break}else{b[j+32>>1]=r;U=Rt(1,0,((r|0)<63?r:63)|0)|0;p=f+8+(s*72|0)+56|0;T=p;o=c[T+4>>2]|z;c[p>>2]=c[T>>2]|U;c[p+4>>2]=o;p=0;o=j;break}}else{p=1;o=0}}while(0);m:do if(c[k>>2]|0)if(!(a[q+73>>0]|0))$=160;else{n=1;j=0}else{do if((e[q+268>>1]|0)<48)h=1;else{h=q+292|0;j=c[h>>2]|0;if(j|0){c[h>>2]=c[j>>2];$=q+276|0;c[$>>2]=(c[$>>2]|0)+1;$=161;break m}h=q+288|0;j=c[h>>2]|0;if(!j){h=2;break}c[h>>2]=c[j>>2];$=q+276|0;c[$>>2]=(c[$>>2]|0)+1;$=161;break m}while(0);$=q+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=160}while(0);if(($|0)==160){j=Ec(q,48,0)|0;$=161}do if(($|0)==161){if(!j){n=1;j=0;break}T=j;U=T+44|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[j>>0]=-111;b[j+34>>1]=-1;c[j+24>>2]=1;$=c[x>>2]|0;c[j+44>>2]=$;c[j+28>>2]=c[y>>2];if((b[$+40>>1]|0)==(u|0)){b[j+32>>1]=-1;n=0;break}else{b[j+32>>1]=u;U=Rt(1,0,((u|0)<63?u:63)|0)|0;T=A;$=c[T+4>>2]|z;n=A;c[n>>2]=c[T>>2]|U;c[n+4>>2]=$;n=0;break}}while(0);m=c[la>>2]|0;n:do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))$=173;else{h=m;$=177}else{do if((e[m+268>>1]|0)<48)h=1;else{k=m+292|0;h=c[k>>2]|0;if(h|0){c[k>>2]=c[h>>2];$=m+276|0;c[$>>2]=(c[$>>2]|0)+1;$=174;break n}k=m+288|0;h=c[k>>2]|0;if(!h){h=2;break}c[k>>2]=c[h>>2];$=m+276|0;c[$>>2]=(c[$>>2]|0)+1;$=174;break n}while(0);$=m+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=173}while(0);if(($|0)==173){h=Ec(m,48,0)|0;$=174}do if(($|0)==174){$=0;if(!h){h=c[la>>2]|0;$=177;break}T=h;U=T+48|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[h>>0]=53;b[h+34>>1]=-1;if(n)k=0;else{c[h+16>>2]=j;k=c[j+4>>2]&2097412;c[h+4>>2]=k}if(!p){c[h+12>>2]=o;c[h+4>>2]=c[o+4>>2]&2097412|k}Ji(h);k=c[(c[la>>2]|0)+112>>2]|0;if((k|0)<(c[h+24>>2]|0)){c[X>>2]=k;hg(la,24905,X)}if(B)break;U=h+4|0;c[U>>2]=c[U>>2]|1;b[h+36>>1]=c[j+28>>2]}while(0);do if(($|0)==177){$=0;if(!p)Qf(h,o);if(n){h=0;break}Qf(h,j);h=0}while(0);c[J>>2]=mk(q,c[J>>2]|0,h)|0;h=b[v>>1]|0}u=u+1|0}while((u|0)<(h<<16>>16|0))}}else i=I+52|0;h=c[D>>2]|0;if(h|0){if(c[i>>2]|0){$=192;break}if(!C){nk(h,c[I+44>>2]|0);h=c[D>>2]|0}c[J>>2]=mk(c[la>>2]|0,c[J>>2]|0,h)|0;c[D>>2]=0}A=c[i>>2]|0;if(A|0?(V=A+4|0,(c[V>>2]|0)>0):0){B=E+42|0;v=E+4|0;y=G+1|0;w=f+8+(y*72|0)+16|0;x=f+8+(y*72|0)+44|0;y=f+8+(y*72|0)+56|0;u=(F|0)==0;t=0;do{p=c[(c[A>>2]|0)+(t<<3)>>2]|0;h=b[B>>1]|0;if(h<<16>>16<=0){$=264;break i}m=c[v>>2]|0;q=d[17324+(d[p>>0]|0)>>0]|0;k=h<<16>>16;s=0;while(1){i=c[m+(s<<4)>>2]|0;U=a[i>>0]|0;h=(d[17324+(U&255)>>0]|0)-q|0;if(!(U<<24>>24==0|(h|0)!=0)){j=p;do{i=i+1|0;j=j+1|0;U=a[i>>0]|0;h=(d[17324+(U&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(h|0)!=0))}if(!h)break;h=s+1|0;if((h|0)<(k|0))s=h;else{$=264;break i}}if((s|G|0)<0){$=264;break i}else o=0;o:while(1){r=f+8+(o*72|0)+16|0;h=c[r>>2]|0;i=b[h+42>>1]|0;p:do if(i<<16>>16>0){m=c[h+4>>2]|0;k=i<<16>>16;n=0;while(1){i=c[m+(n<<4)>>2]|0;U=a[i>>0]|0;h=(d[17324+(U&255)>>0]|0)-q|0;if(!(U<<24>>24==0|(h|0)!=0)){j=p;do{i=i+1|0;j=j+1|0;U=a[i>>0]|0;h=(d[17324+(U&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(h|0)!=0))}if(!h)break;h=n+1|0;if((h|0)<(k|0))n=h;else break p}if((n|0)>-1)break o}while(0);if((o|0)<(G|0))o=o+1|0;else{$=264;break i}}p=c[la>>2]|0;j=p+264|0;q:do if(c[j>>2]|0)if(!(a[p+73>>0]|0))$=222;else{o=1;n=0}else{do if((e[p+268>>1]|0)<48)h=1;else{h=p+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];$=p+276|0;c[$>>2]=(c[$>>2]|0)+1;$=223;break q}h=p+288|0;i=c[h>>2]|0;if(!i){h=2;break}c[h>>2]=c[i>>2];$=p+276|0;c[$>>2]=(c[$>>2]|0)+1;$=223;break q}while(0);$=p+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=222}while(0);if(($|0)==222){i=Ec(p,48,0)|0;$=223}do if(($|0)==223){$=0;if(i){T=i;U=T+44|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[i>>0]=-111;b[i+34>>1]=-1;c[i+24>>2]=1;U=c[r>>2]|0;c[i+44>>2]=U;c[i+28>>2]=c[f+8+(o*72|0)+44>>2];if((b[U+40>>1]|0)==(n|0)){b[i+32>>1]=-1;o=0;n=i;break}else{b[i+32>>1]=n;U=Rt(1,0,((n|0)<63?n:63)|0)|0;o=f+8+(o*72|0)+56|0;T=o;n=c[T+4>>2]|z;c[o>>2]=c[T>>2]|U;c[o+4>>2]=n;o=0;n=i;break}}else{o=1;n=0}}while(0);r:do if(c[j>>2]|0)if(!(a[p+73>>0]|0))$=235;else{k=1;m=0}else{do if((e[p+268>>1]|0)<48)h=1;else{h=p+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];$=p+276|0;c[$>>2]=(c[$>>2]|0)+1;$=236;break r}h=p+288|0;i=c[h>>2]|0;if(!i){h=2;break}c[h>>2]=c[i>>2];$=p+276|0;c[$>>2]=(c[$>>2]|0)+1;$=236;break r}while(0);$=p+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=235}while(0);if(($|0)==235){i=Ec(p,48,0)|0;$=236}do if(($|0)==236){if(!i){k=1;m=0;break}T=i;U=T+44|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[i>>0]=-111;b[i+34>>1]=-1;c[i+24>>2]=1;$=c[w>>2]|0;c[i+44>>2]=$;c[i+28>>2]=c[x>>2];if((b[$+40>>1]|0)==(s|0)){b[i+32>>1]=-1;k=0;m=i;break}else{b[i+32>>1]=s;$=Rt(1,0,((s|0)<63?s:63)|0)|0;U=y;m=c[U+4>>2]|z;k=y;c[k>>2]=c[U>>2]|$;c[k+4>>2]=m;k=0;m=i;break}}while(0);j=c[la>>2]|0;s:do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))$=248;else{h=j;$=252}else{do if((e[j+268>>1]|0)<48)h=1;else{i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];$=j+276|0;c[$>>2]=(c[$>>2]|0)+1;$=249;break s}i=j+288|0;h=c[i>>2]|0;if(!h){h=2;break}c[i>>2]=c[h>>2];$=j+276|0;c[$>>2]=(c[$>>2]|0)+1;$=249;break s}while(0);$=j+276+(h<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=248}while(0);if(($|0)==248){h=Ec(j,48,0)|0;$=249}do if(($|0)==249){$=0;if(!h){h=c[la>>2]|0;$=252;break}T=h;U=T+48|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[h>>0]=53;b[h+34>>1]=-1;if(k)i=0;else{c[h+16>>2]=m;i=c[m+4>>2]&2097412;c[h+4>>2]=i}if(!o){c[h+12>>2]=n;c[h+4>>2]=c[n+4>>2]&2097412|i}Ji(h);i=c[(c[la>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Z>>2]=i;hg(la,24905,Z)}if(u)break;U=h+4|0;c[U>>2]=c[U>>2]|1;b[h+36>>1]=c[m+28>>2]}while(0);do if(($|0)==252){$=0;if(!o)Qf(h,n);if(k){h=0;break}Qf(h,m);h=0}while(0);c[J>>2]=mk(p,c[J>>2]|0,h)|0;t=t+1|0}while((t|0)<(c[V>>2]|0))}}G=G+1|0;if((G|0)>=((c[f>>2]|0)+-1|0))break h;else{H=H+72|0;I=I+72|0}}if(($|0)==129){c[W>>2]=0;hg(la,28807,W);oa=2;l=pa;return oa|0}else if(($|0)==192){hg(la,28857,Y);oa=2;l=pa;return oa|0}else if(($|0)==264){c[_>>2]=p;hg(la,28912,_);oa=2;l=pa;return oa|0}}while(0);k=c[ca>>2]|0;t:do if((k|0)>0){j=0;h=0;u:while(1){i=c[ca+4+(j*20|0)>>2]|0;switch(a[i>>0]|0){case -102:break u;case 122:{if((a[c[i+16>>2]>>0]|0)==-102)break u;break}default:{}}h=c[i+4>>2]|h;j=j+1|0;if((j|0)>=(k|0)){$=418;break t}}M=(c[(c[la>>2]|0)+28>>2]&68|0)==4;N=ma+16|0;O=da+4|0;P=da+4|0;Q=da+4|0;R=(ma|0)==0;S=ma+464|0;V=ma+296|0;W=ma+300|0;X=ma+292|0;i=0;L=0;do{k=ca+4+(L*20|0)|0;j=c[k>>2]|0;h=c[j+4>>2]|h;switch(a[j>>0]|0){case 122:{if((a[c[j+16>>2]>>0]|0)==-102){K=c[(c[j+12>>2]|0)+8>>2]|0;$=277}else $=273;break}case -102:{K=0;$=277;break}default:$=273}do if(($|0)==273){$=0;i=Mi(c[la>>2]|0,i,j)|0;if(i|0){Z=ca+4+(L*20|0)+4|0;c[i+4+(((c[i>>2]|0)+-1|0)*20|0)+4>>2]=c[Z>>2];_=ca+4+(L*20|0)+8|0;c[i+4+(((c[i>>2]|0)+-1|0)*20|0)+8>>2]=c[_>>2];c[Z>>2]=0;c[_>>2]=0}c[k>>2]=0}else if(($|0)==277){$=0;if((c[ba>>2]|0)>0){f=(K|0)==0;J=(K|0)!=0;j=0;H=0;I=aa;while(1){o=c[I+16>>2]|0;m=c[I+20>>2]|0;k=c[I+12>>2]|0;if(!k)G=c[o>>2]|0;else G=k;if(a[ea>>0]|0)break;if((m|0)!=0?(c[m+8>>2]&2048|0)!=0:0){F=0;$=293}else $=284;do if(($|0)==284){$=0;if(!f){_=a[K>>0]|0;k=(d[17324+(_&255)>>0]|0)-(d[17324+(d[G>>0]|0)>>0]|0)|0;if(!(_<<24>>24==0|(k|0)!=0)){m=G;n=K;do{n=n+1|0;m=m+1|0;_=a[n>>0]|0;k=(d[17324+(_&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(_<<24>>24==0|(k|0)!=0))}if(k|0)break}m=c[o+72>>2]|0;if(m){n=c[N>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0))break;else k=k+1|0;if((k|0)>-1){F=c[n+(k<<4)>>2]|0;m=0;$=293}else{F=28976;m=0;$=293}}else{F=28976;m=0;$=293}}while(0);if(($|0)==293){$=0;E=o+42|0;if((b[E>>1]|0)>0){v=o+4|0;w=(m|0)!=0;C=J&w;D=f&(H|0)>0;x=I+36|0;y=I+52|0;A=(G|0)==0;B=(F|0)==0;u=0;do{s=c[v>>2]|0;t=c[s+(u<<4)>>2]|0;v:do if(C){n=c[(c[m>>2]|0)+4+(u*20|0)+8>>2]|0;k=0;w:while(1){switch(a[n+k>>0]|0){case 46:case 0:break w;default:{}}k=k+1|0}k=n+(k+1)|0;r=0;x:while(1){switch(a[k+r>>0]|0){case 46:case 0:break x;default:{}}r=r+1|0}y:do if((r|0)>0){q=K;o=r;while(1){n=a[k>>0]|0;if(!(n<<24>>24)){$=304;break}n=a[17324+(n&255)>>0]|0;p=a[17324+(d[q>>0]|0)>>0]|0;if(n<<24>>24!=p<<24>>24){k=p;break}if((o|0)>1){k=k+1|0;q=q+1|0;o=o+-1|0}else break y}if(($|0)==304){$=0;n=0;k=a[17324+(d[q>>0]|0)>>0]|0}if(n<<24>>24!=k<<24>>24)break v}while(0);if(!(a[K+r>>0]|0))$=309}else $=309;while(0);z:do if(($|0)==309){$=0;if((c[na>>2]&131072|0)==0?a[s+(u<<4)+15>>0]&2:0)break;A:do if(D){if(a[x>>0]&4){s=0;do{j=c[ba+8+(s*72|0)+16>>2]|0;k=b[j+42>>1]|0;B:do if(k<<16>>16>0){q=c[j+4>>2]|0;r=d[17324+(d[t>>0]|0)>>0]|0;p=k<<16>>16;j=0;while(1){n=c[q+(j<<4)>>2]|0;_=a[n>>0]|0;k=(d[17324+(_&255)>>0]|0)-r|0;if(!(_<<24>>24==0|(k|0)!=0)){o=t;do{n=n+1|0;o=o+1|0;_=a[n>>0]|0;k=(d[17324+(_&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(_<<24>>24==0|(k|0)!=0))}if(!k)break;j=j+1|0;if((j|0)>=(p|0))break B}if((j|0)>-1){j=1;break z}}while(0);s=s+1|0}while((s|0)<(H|0))}j=c[y>>2]|0;if(!j)break;r=c[j+4>>2]|0;if((r|0)<=0)break;p=c[j>>2]|0;q=d[17324+(d[t>>0]|0)>>0]|0;j=0;while(1){n=c[p+(j<<3)>>2]|0;_=a[n>>0]|0;k=(d[17324+(_&255)>>0]|0)-q|0;if(!(_<<24>>24==0|(k|0)!=0)){o=t;do{n=n+1|0;o=o+1|0;_=a[n>>0]|0;k=(d[17324+(_&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(_<<24>>24==0|(k|0)!=0))}if(!k)break;j=j+1|0;if((j|0)>=(r|0))break A}if((j|0)>-1){j=1;break z}}while(0);c[da>>2]=t;if(!t)j=0;else j=(As(t)|0)&1073741823;c[O>>2]=j;p=Yi(ma,59,da,0)|0;if(!M?(c[ba>>2]|0)<=1:0){s=0;r=t;j=p}else $=333;do if(($|0)==333){c[da>>2]=G;if(A)j=0;else j=(As(G)|0)&1073741823;c[P>>2]=j;o=Yi(ma,59,da,0)|0;n=c[la>>2]|0;C:do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))$=343;else{j=n;$=347}else{do if((e[n+268>>1]|0)<48)j=1;else{j=n+292|0;k=c[j>>2]|0;if(k|0){c[j>>2]=c[k>>2];$=n+276|0;c[$>>2]=(c[$>>2]|0)+1;$=344;break C}j=n+288|0;k=c[j>>2]|0;if(!k){j=2;break}c[j>>2]=c[k>>2];$=n+276|0;c[$>>2]=(c[$>>2]|0)+1;$=344;break C}while(0);$=n+276+(j<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=343}while(0);if(($|0)==343){k=Ec(n,48,0)|0;$=344}do if(($|0)==344){$=0;if(!k){j=c[la>>2]|0;$=347;break}T=k;U=T+48|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[k>>0]=122;b[k+34>>1]=-1;if(!p)j=0;else{c[k+16>>2]=p;j=c[p+4>>2]&2097412;c[k+4>>2]=j}if(o|0){c[k+12>>2]=o;c[k+4>>2]=j|c[o+4>>2]&2097412}Ji(k);j=c[(c[la>>2]|0)+112>>2]|0;if((j|0)>=(c[k+24>>2]|0)){p=0;break}c[fa>>2]=j;hg(la,24905,fa);p=0}while(0);do if(($|0)==347){$=0;if(o|0)Qf(j,o);if(!p){k=0;p=1;break}Qf(j,p);k=0;p=1}while(0);D:do if(B)j=k;else{c[da>>2]=F;c[Q>>2]=(As(F)|0)&1073741823;q=Yi(ma,59,da,0)|0;o=c[la>>2]|0;E:do if(c[o+264>>2]|0)if(!(a[o+73>>0]|0))$=365;else j=o;else{do if((e[o+268>>1]|0)<48)j=1;else{n=o+292|0;j=c[n>>2]|0;if(j|0){c[n>>2]=c[j>>2];$=o+276|0;c[$>>2]=(c[$>>2]|0)+1;$=366;break E}n=o+288|0;j=c[n>>2]|0;if(!j){j=2;break}c[n>>2]=c[j>>2];$=o+276|0;c[$>>2]=(c[$>>2]|0)+1;$=366;break E}while(0);$=o+276+(j<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=365}while(0);if(($|0)==365){j=Ec(o,48,0)|0;$=366}do if(($|0)==366){$=0;if(!j){j=c[la>>2]|0;break}T=j;U=T+48|0;do{c[T>>2]=0;T=T+4|0}while((T|0)<(U|0));a[j>>0]=122;b[j+34>>1]=-1;if(p)k=0;else{c[j+16>>2]=k;k=c[k+4>>2]&2097412;c[j+4>>2]=k}if(q|0){c[j+12>>2]=q;c[j+4>>2]=k|c[q+4>>2]&2097412}Ji(j);k=c[(c[la>>2]|0)+112>>2]|0;if((k|0)>=(c[j+24>>2]|0))break D;c[ga>>2]=k;hg(la,24905,ga);break D}while(0);if(q|0)Qf(j,q);if(p){j=0;break}Qf(j,k);j=0}while(0);if(!M){s=0;r=t;break}c[ha>>2]=G;c[ha+4>>2]=t;r=Ff(ma,28518,ha)|0;s=r}while(0);i=Mi(c[la>>2]|0,i,j)|0;j=(r|0)==0;if(j)p=0;else p=(As(r)|0)&1073741823;do if(i|0){q=(c[i>>2]|0)+-1|0;o=c[la>>2]|0;F:do if(j)j=0;else{n=p+1|0;G:do if(c[o+264>>2]|0)if(!(a[o+73>>0]|0))$=392;else{j=0;break F}else{do if(0<0|(0==0?(e[o+268>>1]|0)>>>0>>0:0))j=1;else{k=o+292|0;j=c[k>>2]|0;if(j|0){c[k>>2]=c[j>>2];_=o+276|0;c[_>>2]=(c[_>>2]|0)+1;break G}k=o+288|0;j=c[k>>2]|0;if(!j){j=2;break}c[k>>2]=c[j>>2];_=o+276|0;c[_>>2]=(c[_>>2]|0)+1;break G}while(0);$=o+276+(j<<2)|0;c[$>>2]=(c[$>>2]|0)+1;$=392}while(0);if(($|0)==392){$=0;j=Ec(o,n,0)|0}if(!j){j=0;break}Tt(j|0,r|0,p|0)|0;a[j+p>>0]=0}while(0);c[i+4+(q*20|0)+4>>2]=j;if(!(c[na>>2]&2048))break;k=(c[i>>2]|0)+-1|0;if(w)j=kg(ma,c[(c[m>>2]|0)+4+(u*20|0)+8>>2]|0)|0;else{c[ia>>2]=F;c[ia+4>>2]=G;c[ia+8>>2]=r;j=Ff(ma,28978,ia)|0}c[i+4+(k*20|0)+8>>2]=j;_=i+4+(k*20|0)+13|0;a[_>>0]=a[_>>0]|2}while(0);if(!s){j=1;break}do if(!R){if(c[S>>2]|0){Lc(ma,s);j=1;break z}j=s;if(j>>>0<(c[V>>2]|0)>>>0)break;if(j>>>0>=(c[W>>2]|0)>>>0)break;c[s>>2]=c[X>>2];c[X>>2]=s;j=1;break z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);j=1;break}else{j=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);j=1;break}}while(0);u=u+1|0}while((u|0)<(b[E>>1]|0))}}H=H+1|0;if((H|0)>=(c[ba>>2]|0))break;else I=I+72|0}if(j)break}if(!K){hg(la,29005,ka);break}else{c[ja>>2]=K;hg(la,28987,ja);break}}while(0);L=L+1|0}while((L|0)<(c[ca>>2]|0));Rf(ma,ca);c[g>>2]=i}else{h=0;$=418}while(0);if(($|0)==418)i=c[g>>2]|0;if(!i){oa=0;l=pa;return oa|0}if((c[i>>2]|0)>(c[ma+108>>2]|0)){hg(la,29025,oa);oa=2;l=pa;return oa|0}if(!(h&2097156)){oa=0;l=pa;return oa|0}c[na>>2]=c[na>>2]|262144;oa=0;l=pa;return oa|0}function Wj(a,b){a=a|0;b=b|0;var d=0;d=(c[a>>2]|0)+464|0;if(!(c[d>>2]|0))return;if(!(c[b+48>>2]|0))a=b;else return;while(1){b=c[a+52>>2]|0;if(!b)break;else a=b}a=c[a+60>>2]|0;if(!a)return;c[d>>2]=c[a+4>>2];return}function Xj(f,g){f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0.0,ia=0;ga=l;l=l+192|0;q=ga+176|0;k=ga+168|0;o=ga+160|0;t=ga+152|0;p=ga+144|0;E=ga+136|0;C=ga+128|0;B=ga+120|0;y=ga+112|0;x=ga+104|0;v=ga+96|0;$=ga+88|0;_=ga+72|0;ba=ga+56|0;aa=ga+48|0;Y=ga+40|0;j=ga+32|0;G=ga;H=ga+180|0;i=c[f+24>>2]|0;fa=c[i>>2]|0;n=a[g>>0]|0;switch(n<<24>>24){case 57:case 54:case 55:case 56:case 52:case 53:case 48:case 45:case -113:{if(!(a[(c[fa>>2]|0)+73>>0]|0)){j=c[g+12>>2]|0;i=a[j>>0]|0;if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;ea=234;break}case 119:{i=c[j+20>>2]|0;ea=234;break}default:m=1}if((ea|0)==234)m=c[c[i>>2]>>2]|0;if(n<<24>>24==48){k=c[g+20>>2]|0;j=c[k+4>>2]|0;i=a[j>>0]|0;if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;ea=241;break}case 119:{i=c[j+20>>2]|0;ea=241;break}default:i=1}if((ea|0)==241)i=c[c[i>>2]>>2]|0;if((i|0)==(m|0)){i=k+24|0;ea=245}}else{i=g+16|0;ea=245}a:do if((ea|0)==245){j=c[i>>2]|0;i=a[j>>0]|0;if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;break}case 119:{i=c[j+20>>2]|0;break}default:{i=1;break a}}i=c[c[i>>2]>>2]|0}while(0);if((m|0)!=(i|0)){hg(fa,28127,q);ea=253}else ea=253}else ea=253;break}case -112:{F=g+20|0;u=c[F>>2]|0;r=(u|0)==0;if(r)n=0;else n=c[u>>2]|0;j=c[fa>>2]|0;k=a[j+70>>0]|0;s=c[g+8>>2]|0;if(!s)q=0;else q=(As(s)|0)&1073741823;o=kk(j,s,n,k,0)|0;do if(!o){if(kk(c[fa>>2]|0,s,-2,k,0)|0){c[t>>2]=q;c[t+4>>2]=s;hg(fa,28451,t);ea=194;break}if(!(a[(c[fa>>2]|0)+157>>0]|0)){c[p>>2]=q;c[p+4>>2]=s;hg(fa,28428,p);ea=194}}else{p=(c[o+16>>2]|0)==0;D=o+2|0;do if(b[D>>1]&1024){da=g+4|0;c[da>>2]=c[da>>2]|266240;if((n|0)!=2){c[g+28>>2]=(a[c[o+20>>2]>>0]|0)==117?8388608:125829120;break}j=c[u+24>>2]|0;h[G>>3]=-1.0;if((a[j>>0]|0)==-124){k=c[j+8>>2]|0;if(!k)j=0;else j=(As(k)|0)&1073741823;df(k,G,j,1)|0;ha=+h[G>>3];j=~~(ha*134217728.0);if(!(ha>1.0)){c[g+28>>2]=j;if((j|0)>=0)break}else ea=170}else ea=170;if((ea|0)==170)c[g+28>>2]=-1;hg(fa,28212,v);da=i+24|0;c[da>>2]=(c[da>>2]|0)+1}while(0);n=o+20|0;j=c[n>>2]|0;k=c[fa>>2]|0;b:do if(((a[k+157>>0]|0)==0?(a[fa+400>>0]|0)==0:0)?(w=c[k+304>>2]|0,w|0):0){switch(ob[w&255](c[k+308>>2]|0,31,0,j,0,c[fa+440>>2]|0)|0){case 0:break b;case 1:{hg(fa,24761,x);j=23;ea=180;break}case 2:break;default:{hg(fa,24776,y);j=1;ea=180}}if((ea|0)==180){c[fa+12>>2]=j;c[B>>2]=c[n>>2];hg(fa,28283,B);fa=i+24|0;c[fa>>2]=(c[fa>>2]|0)+1}a[g>>0]=101;fa=1;l=ga;return fa|0}while(0);j=e[D>>1]|0;if(j&10240|0){da=g+4|0;c[da>>2]=c[da>>2]|524288}if((j&2048|0)==0?(A=e[i+28>>1]|0,A&34|0):0){c[C>>2]=28364;c[C+4>>2]=(A&32|0)==0?((A&4|0)==0?28318:28346):28052;hg(fa,28015,C)}if(!p){t=i+28|0;j=b[t>>1]|0;if(!(j&1)){c[E>>2]=q;c[E+4>>2]=s;hg(fa,28392,E);ea=194;break}b[t>>1]=j&-2;if(!r?(m=c[u>>2]|0,(m|0)>0):0){j=u+4|0;while(1){k=c[j>>2]|0;if(k|0?$j(f,k)|0:0)break;if((m|0)>1){m=m+-1|0;j=j+20|0}else break}a[g>>0]=-110;j=g+38|0;a[j>>0]=0;if(i|0)ea=203}else{a[g>>0]=-110;j=g+38|0;a[j>>0]=0;ea=203}c:do if((ea|0)==203){o=G+4|0;p=G+8|0;q=G+24|0;r=H+4|0;s=H+8|0;while(1){fa=c[i+4>>2]|0;m=c[F>>2]|0;c[o>>2]=196;c[p>>2]=0;c[q>>2]=H;c[H>>2]=fa;c[r>>2]=0;c[s>>2]=0;if(!m){ea=210;break}k=c[m>>2]|0;if((k|0)<=0){ea=210;break}m=m+4|0;while(1){n=c[m>>2]|0;if(n|0?$j(G,n)|0:0)break;if((k|0)>1){k=k+-1|0;m=m+20|0}else break}if((c[s>>2]|0)==0|(c[r>>2]|0)>0)break;a[j>>0]=(a[j>>0]|0)+1<<24>>24;i=c[i+16>>2]|0;if(!i)break c}fa=i+28|0;b[fa>>1]=b[D>>1]&4096|b[fa>>1]|16}while(0);b[t>>1]=b[t>>1]|1;fa=1;l=ga;return fa|0}}while(0);if((ea|0)==194){fa=i+24|0;c[fa>>2]=(c[fa>>2]|0)+1}if(r){fa=1;l=ga;return fa|0}i=c[u>>2]|0;if((i|0)<=0){fa=1;l=ga;return fa|0}j=u+4|0;while(1){k=c[j>>2]|0;if(k|0?$j(f,k)|0:0){i=1;ea=255;break}if((i|0)>1){i=i+-1|0;j=j+20|0}else{i=1;ea=255;break}}if((ea|0)==255){l=ga;return i|0}break}case 49:case 20:case 119:{k=g+4|0;if(c[k>>2]&2048){m=i+20|0;n=c[m>>2]|0;i=i+28|0;j=e[i>>1]|0;if(j&38|0){c[o>>2]=28496;c[o+4>>2]=(j&32|0)==0?((j&4|0)==0?28318:28346):28052;hg(fa,28015,o)}Uj(f,c[g+20>>2]|0)|0;if((n|0)!=(c[m>>2]|0)){c[k>>2]=c[k>>2]|32;b[i>>1]=b[i>>1]|64;ea=253}else ea=253}else ea=253;break}case -121:{i=e[i+28>>1]|0;if(!(i&38))ea=253;else{c[k>>2]=28507;c[k+4>>2]=(i&32|0)==0?((i&4|0)==0?28318:28346):28052;hg(fa,28015,k);ea=253}break}case 59:{T=0;k=0;j=g;break}case 122:{if(b[i+28>>1]&32){c[j>>2]=28035;c[j+4>>2]=28052;hg(fa,28015,j)}j=c[g+16>>2]|0;k=c[(c[g+12>>2]|0)+8>>2]|0;if((a[j>>0]|0)==59){T=k;k=0}else{T=c[(c[j+12>>2]|0)+8>>2]|0;j=c[j+16>>2]|0}break}default:ea=253}if((ea|0)==253){if(c[fa+36>>2]|0){fa=2;l=ga;return fa|0}fa=a[(c[fa>>2]|0)+73>>0]|0?2:0;l=ga;return fa|0}S=c[j+8>>2]|0;V=c[fa>>2]|0;X=g+28|0;c[X>>2]=-1;R=g+44|0;c[R>>2]=0;d:do if((k|0)!=0?(b[i+28>>1]&6)==0:0){p=c[V+20>>2]|0;if((p|0)>0){r=c[V+16>>2]|0;q=d[17324+(d[k>>0]|0)>>0]|0;j=0;while(1){n=c[r+(j<<4)>>2]|0;W=a[n>>0]|0;m=(d[17324+(W&255)>>0]|0)-q|0;if(!(W<<24>>24==0|(m|0)!=0)){o=k;do{n=n+1|0;o=o+1|0;W=a[n>>0]|0;m=(d[17324+(W&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(W<<24>>24==0|(m|0)!=0))}if(!m)break;j=j+1|0;if((j|0)>=(p|0)){m=0;break d}}m=c[r+(j<<4)+12>>2]|0}else m=0}else{k=0;m=0}while(0);P=(k|0)==0;Q=(T|0)!=0;N=Q&P;j=fa+124|0;I=fa+144|0;J=g+1|0;W=g+32|0;K=fa+140|0;L=fa+136|0;M=(T|0)==0;U=g+4|0;p=i;r=0;o=0;s=0;O=0;e:while(1){n=c[p+4>>2]|0;if(n){H=c[n>>2]|0;if((H|0)>0){f=n+8|0;G=0;q=0;n=s;while(1){F=c[f+16>>2]|0;s=c[f+20>>2]|0;if((s|0)!=0?(c[s+8>>2]&2048|0)!=0:0){u=c[s>>2]|0;v=c[u>>2]|0;if((v|0)>0){t=0;s=0;do{if(ik(c[u+4+(t*20|0)+8>>2]|0,S,T,k)|0){b[W>>1]=t;s=1;q=q+1|0;r=2;n=f}t=t+1|0}while((t|0)!=(v|0))}else s=0;if(Q&(s|0)==0)ea=26}else ea=26;f:do if((ea|0)==26){ea=0;if(!P?(c[F+72>>2]|0)!=(m|0):0)break;if(!M){t=f+12|0;t=c[(c[t>>2]|0?t:F)>>2]|0;E=a[t>>0]|0;s=(d[17324+(E&255)>>0]|0)-(d[17324+(d[T>>0]|0)>>0]|0)|0;if(!(E<<24>>24==0|(s|0)!=0)){u=T;do{t=t+1|0;u=u+1|0;E=a[t>>0]|0;s=(d[17324+(E&255)>>0]|0)-(d[17324+(d[u>>0]|0)>>0]|0)|0}while(!(E<<24>>24==0|(s|0)!=0))}if(s|0)break}E=r+1|0;D=(r|0)==0?f:n;r=c[F+4>>2]|0;n=b[F+42>>1]|0;if(n<<16>>16>0){C=d[17324+(d[S>>0]|0)>>0]|0;y=f+36|0;A=f+52|0;B=n<<16>>16;g:do if((q|0)==1){n=0;while(1){t=c[r>>2]|0;x=a[t>>0]|0;s=(d[17324+(x&255)>>0]|0)-C|0;if(!(x<<24>>24==0|(s|0)!=0)){u=S;do{t=t+1|0;u=u+1|0;x=a[t>>0]|0;s=(d[17324+(x&255)>>0]|0)-(d[17324+(d[u>>0]|0)>>0]|0)|0}while(!(x<<24>>24==0|(s|0)!=0))}h:do if((s|0)==0?(a[y>>0]&4)==0:0){s=c[A>>2]|0;if(!s)break g;x=c[s+4>>2]|0;if((x|0)<=0)break g;w=c[s>>2]|0;v=0;while(1){t=c[w+(v<<3)>>2]|0;u=a[t>>0]|0;s=(d[17324+(u&255)>>0]|0)-C|0;if(!(u<<24>>24==0|(s|0)!=0)){u=S;do{t=t+1|0;u=u+1|0;ia=a[t>>0]|0;s=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[u>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(s|0)!=0))}v=v+1|0;if(!s)break h;if((v|0)>=(x|0))break g}}while(0);n=n+1|0;if((n|0)>=(B|0)){q=1;r=E;n=D;break f}else r=r+16|0}}else{u=r;n=0;while(1){s=c[u>>2]|0;ia=a[s>>0]|0;r=(d[17324+(ia&255)>>0]|0)-C|0;if(!(ia<<24>>24==0|(r|0)!=0)){t=S;do{s=s+1|0;t=t+1|0;ia=a[s>>0]|0;r=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[t>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(r|0)!=0))}if(!r)break g;n=n+1|0;if((n|0)>=(B|0)){r=E;n=D;break f}else u=u+16|0}}while(0);b[W>>1]=(n|0)==(b[F+40>>1]|0)?-1:n&65535;q=q+1|0;r=E;n=f}else{r=E;n=D}}while(0);G=G+1|0;if((G|0)==(H|0))break;else f=f+72|0}}else{q=0;n=s}if(!n)A=0;else{c[X>>2]=c[n+44>>2];m=c[n+16>>2]|0;c[R>>2]=m;if(a[n+36>>0]&8)c[U>>2]=c[U>>2]|1048576;m=c[m+72>>2]|0;A=n}}else{q=0;A=s}i:do if(N&(r|0)==0){y=c[j>>2]|0;if(y){t=a[I>>0]|0;s=a[T>>0]|0;j:do if(t<<24>>24!=109){switch(s<<24>>24){case 78:case 110:{n=T;r=28070;do{r=r+1|0;n=n+1|0;ia=a[r>>0]|0;u=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(u|0)!=0));if(!u){x=1;break j}break}default:{}}if(t<<24>>24==108){r=0;break i}else ea=63}else ea=63;while(0);if((ea|0)==63){ea=0;switch(s<<24>>24){case 79:case 111:{n=T;r=28074;break}default:{r=0;break i}}do{r=r+1|0;n=n+1|0;ia=a[r>>0]|0;s=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(s|0)!=0));if(!s)x=0;else{r=0;break}}c[X>>2]=x;m=c[y+72>>2]|0;r=b[y+42>>1]|0;k:do if(r<<16>>16>0){v=d[17324+(d[S>>0]|0)>>0]|0;w=r<<16>>16;n=0;u=c[y+4>>2]|0;while(1){s=c[u>>2]|0;ia=a[s>>0]|0;r=(d[17324+(ia&255)>>0]|0)-v|0;if(!(ia<<24>>24==0|(r|0)!=0)){t=S;do{s=s+1|0;t=t+1|0;ia=a[s>>0]|0;r=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[t>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(r|0)!=0))}if(!r)break;n=n+1|0;if((n|0)<(w|0))u=u+16|0;else break k}n=(n|0)==(b[y+40>>1]|0)?-1:n}else{n=0;w=r<<16>>16}while(0);do if((n|0)>=(w|0)){v=a[S>>0]|0;u=d[17324+(v&255)>>0]|0;r=u+-95|0;v=v<<24>>24==0;if(!(v|(r|0)!=0)){s=28078;t=S;do{t=t+1|0;s=s+1|0;ia=a[t>>0]|0;r=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[s>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(r|0)!=0))}if(r|0){r=u+-114|0;if(!(v|(r|0)!=0)){s=28086;t=S;do{t=t+1|0;s=s+1|0;ia=a[t>>0]|0;r=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[s>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(r|0)!=0))}if(r|0){r=u+-111|0;if(!(v|(r|0)!=0)){s=28092;t=S;do{t=t+1|0;s=s+1|0;ia=a[t>>0]|0;r=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[s>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(r|0)!=0))}if(r|0)break}}n=(c[y+36>>2]&64|0)==0?-1:n}while(0);if((n|0)<(w|0)){if((n|0)<0)a[J>>0]=68;else{ia=(x|0)==0?L:K;c[ia>>2]=c[ia>>2]|((n|0)>31?-1:1<>1]=n;c[R>>2]=y;o=1;r=1;q=q+1|0;ea=90}else{r=1;ea=90}}else r=0}else ea=90;while(0);do if((ea|0)==90){ea=0;if((A|0)!=0&((r|0)==1&(q|0)==0))if(!(b[p+28>>1]&32)){t=a[S>>0]|0;s=d[17324+(t&255)>>0]|0;n=s+-95|0;t=t<<24>>24==0;if(!(t|(n|0)!=0)){q=28078;r=S;do{r=r+1|0;q=q+1|0;ia=a[r>>0]|0;n=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(n|0)!=0))}if(n|0){n=s+-114|0;if(!(t|(n|0)!=0)){q=28086;r=S;do{r=r+1|0;q=q+1|0;ia=a[r>>0]|0;n=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(n|0)!=0))}if(n|0){n=s+-111|0;if(!(t|(n|0)!=0)){q=28092;r=S;do{r=r+1|0;q=q+1|0;ia=a[r>>0]|0;n=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(n|0)!=0))}if(n|0){q=0;r=1;break}}}if(!(c[(c[A+16>>2]|0)+36>>2]&64)){ea=102;break e}else{q=0;r=1}}else{q=0;r=1}}while(0);w=c[p+8>>2]|0;if((q|0)==0&(M&(w|0)!=0)){t=c[w>>2]|0;if((t|0)>0){v=0;while(1){u=c[w+4+(v*20|0)+4>>2]|0;if(u|0){ia=a[u>>0]|0;n=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[S>>0]|0)>>0]|0)|0;if(!(ia<<24>>24==0|(n|0)!=0)){q=S;s=u;do{s=s+1|0;q=q+1|0;ia=a[s>>0]|0;n=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(n|0)!=0))}if(!n){ea=109;break e}}n=v+1|0;if((n|0)<(t|0))v=n;else break}}}else switch(q|0){case 1:{q=1;ea=132;break e}case 0:break;default:{n=28160;ea=126;break e}}p=c[p+16>>2]|0;if(!p){ea=123;break}else{s=A;O=O+1|0}}if((ea|0)==102){b[W>>1]=-1;a[J>>0]=68;q=1;ea=132}else if((ea|0)==109){n=c[w+4+(v*20|0)>>2]|0;if((b[p+28>>1]&1)==0?c[n+4>>2]&2|0:0){c[Y>>2]=u;hg(fa,28096,Y);ia=2;l=ga;return ia|0}k=a[n>>0]|0;if(k<<24>>24==-106)k=a[n+38>>0]|0;switch(k<<24>>24){case -105:{Z=n+20|0;ea=117;break}case 119:{Z=c[n+20>>2]|0;ea=117;break}default:{}}if((ea|0)==117?(c[c[Z>>2]>>2]|0)!=1:0){hg(fa,28127,aa);ia=2;l=ga;return ia|0}fk(fa,w,v,g,47328,O);k=c[U>>2]|0}else if((ea|0)==123)if(M?(c[U>>2]&64|0)!=0:0){a[g>>0]=97;c[R>>2]=0;ia=1;l=ga;return ia|0}else{p=0;q=0;n=28145;ea=126}if((ea|0)==126){do if(P)if(Q){c[_>>2]=n;c[_+4>>2]=T;c[_+8>>2]=S;hg(fa,28195,_);break}else{c[$>>2]=n;c[$+4>>2]=S;hg(fa,28205,$);break}else{c[ba>>2]=n;c[ba+4>>2]=k;c[ba+8>>2]=T;c[ba+12>>2]=S;hg(fa,28182,ba)}while(0);a[fa+17>>0]=1;ea=i+24|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=132}if((ea|0)==132){ia=b[W>>1]|0;k=ia<<16>>16;n=A+56|0;if((A|0)!=0&ia<<16>>16>-1){aa=Rt(1,0,((k|0)<63?k:63)|0)|0;$=n;ba=c[$+4>>2]|z;ia=n;c[ia>>2]=c[$>>2]|aa;c[ia+4>>2]=ba}k=g+12|0;n=c[k>>2]|0;if(n|0)Qf(V,n);c[k>>2]=0;k=g+16|0;n=c[k>>2]|0;if(n|0)Qf(V,n);c[k>>2]=0;a[g>>0]=o|0?75:-111;k=c[U>>2]|8388608;c[U>>2]=k;if((q|0)!=1){ia=2;l=ga;return ia|0}}l:do if((k&4194304|0)==0?(da=c[p+4>>2]|0,ca=c[fa>>2]|0,!((m|0)==0|(c[ca+304>>2]|0)==0)):0){k=c[ca+16>>2]|0;n=0;while(1)if((c[k+(n<<4)+12>>2]|0)==(m|0))break;else n=n+1|0;if((n|0)>=0){if((a[g>>0]|0)!=75){m=c[da>>2]|0;if((m|0)<=0)break;k=c[X>>2]|0;j=0;while(1){if((k|0)==(c[da+8+(j*72|0)+44>>2]|0))break;j=j+1|0;if((j|0)>=(m|0))break l}j=da+8+(j*72|0)+16|0}k=c[j>>2]|0;j=b[W>>1]|0;if(k|0){if(j<<16>>16<=-1){j=b[k+40>>1]|0;if(j<<16>>16>-1){j=j<<16>>16;ea=154}else j=28086}else{j=j<<16>>16;ea=154}if((ea|0)==154)j=c[(c[k+4>>2]|0)+(j<<4)>>2]|0;if((jk(fa,c[k>>2]|0,j,n)|0)==2)a[g>>0]=101}}}while(0);ia=i+20|0;c[ia>>2]=(c[ia>>2]|0)+1;if((p|0)==(i|0)){ia=1;l=ga;return ia|0}do{i=c[i+16>>2]|0;ia=i+20|0;c[ia>>2]=(c[ia>>2]|0)+1}while((i|0)!=(p|0));i=1;l=ga;return i|0}function Yj(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0;Ma=l;l=l+224|0;La=Ma+104|0;Ia=Ma+96|0;Ha=Ma+80|0;za=Ma+72|0;ya=Ma+64|0;ua=Ma+56|0;ta=Ma+48|0;sa=Ma+40|0;xa=Ma+32|0;wa=Ma+24|0;va=Ma+16|0;ra=Ma+8|0;qa=Ma;Ba=Ma+184|0;Ca=Ma+152|0;Da=Ma+144|0;fa=Ma+112|0;g=c[f+8>>2]|0;if(g&4|0){La=1;l=Ma;return La|0}ba=c[e+24>>2]|0;Ka=c[e>>2]|0;e=c[Ka>>2]|0;if(!(g&64)){Rj(Ka,f,ba);if(c[Ka+36>>2]|0){La=2;l=Ma;return La|0}La=a[e+73>>0]|0?2:1;l=Ma;return La|0}da=(c[f+48>>2]|0)!=0;V=da&1;W=Ka+440|0;X=(ba|0)==0;Y=Ba+4|0;Z=Ba+8|0;_=Ba+12|0;$=Ba+24|0;aa=Ka+36|0;s=e+73|0;t=fa+28|0;u=fa+4|0;v=fa+16|0;w=fa+8|0;x=Ba+4|0;y=Ba+8|0;z=Ba+12|0;A=Ba+24|0;B=fa+24|0;C=Ba+4|0;D=Ba+8|0;E=Ba+12|0;F=Ba+24|0;G=Ba+4|0;H=Ba+8|0;I=Ba+12|0;J=Ba+24|0;K=Ba+4|0;L=Ba+8|0;M=Ba+12|0;N=Ba+24|0;O=Ba+4|0;P=Ba+8|0;Q=Ba+12|0;R=Ba+24|0;S=fa+4|0;T=Ka;U=Ka+408|0;q=f;r=0;e=g;a:while(1){p=q+8|0;c[p>>2]=e|4;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;c[S+12>>2]=0;c[S+16>>2]=0;c[S+20>>2]=0;c[S+24>>2]=0;c[fa>>2]=Ka;e=c[q+56>>2]|0;if(e){b[t>>1]=0;c[Ba>>2]=T;c[O>>2]=184;c[P>>2]=185;c[Q>>2]=0;c[R>>2]=fa;g=e+24|0;o=(c[U>>2]|0)+(c[g>>2]|0)|0;c[U>>2]=o;pa=c[(c[Ka>>2]|0)+112>>2]|0;if((pa|0)<(o|0)){J=9;break}$j(Ba,e)|0;h=c[Ba>>2]|0;o=h+408|0;c[o>>2]=(c[o>>2]|0)-(c[g>>2]|0);if(b[t>>1]&16){o=e+4|0;c[o>>2]=c[o>>2]|2}if((c[B>>2]|0)>0){J=13;break}if((c[h+36>>2]|0)>0){Ja=2;J=175;break}}o=q+28|0;e=c[o>>2]|0;if(c[p>>2]&65536|0){n=q+44|0;c[(c[e+28>>2]|0)+44>>2]=c[n>>2];c[n>>2]=0}b:do if((c[e>>2]|0)>0){if(X){j=0;while(1){g=c[e+8+(j*72|0)+20>>2]|0;if(g){h=c[W>>2]|0;i=c[e+8+(j*72|0)+8>>2]|0;if(i|0)c[W>>2]=i;c[Y>>2]=184;c[Z>>2]=185;c[_>>2]=0;c[Ba>>2]=Ka;c[$>>2]=0;Uj(Ba,g)|0;c[W>>2]=h;if(c[aa>>2]|0){Ja=2;J=175;break a}if(a[s>>0]|0){Ja=2;J=175;break a}e=e+8+(j*72|0)+37|0;a[e>>0]=a[e>>0]&-9;e=c[o>>2]|0}j=j+1|0;if((j|0)>=(c[e>>2]|0))break b}}else k=0;do{i=c[e+8+(k*72|0)+20>>2]|0;if(i){j=c[W>>2]|0;g=0;h=ba;do{g=(c[h+20>>2]|0)+g|0;h=c[h+16>>2]|0}while((h|0)!=0);h=c[e+8+(k*72|0)+8>>2]|0;if(h|0)c[W>>2]=h;c[Y>>2]=184;c[Z>>2]=185;c[_>>2]=0;c[Ba>>2]=Ka;c[$>>2]=ba;Uj(Ba,i)|0;c[W>>2]=j;if(c[aa>>2]|0){Ja=2;J=175;break a}if(!(a[s>>0]|0))h=ba;else{Ja=2;J=175;break a}do{g=g-(c[h+20>>2]|0)|0;h=c[h+16>>2]|0}while((h|0)!=0);e=e+8+(k*72|0)+37|0;a[e>>0]=a[e>>0]&-9|((g|0)!=0&1)<<3&255;e=c[o>>2]|0}k=k+1|0}while((k|0)<(c[e>>2]|0))}while(0);b[t>>1]=1;c[u>>2]=e;c[v>>2]=ba;k=c[q>>2]|0;if((k|0)!=0?(c[k>>2]|0)>0:0){j=0;e=1;do{h=c[k+4+(j*20|0)>>2]|0;if(h){g=e&65535;b[t>>1]=g&61423;ga=c[fa>>2]|0;c[Ba>>2]=ga;c[K>>2]=184;c[L>>2]=185;c[M>>2]=0;c[N>>2]=fa;e=h+24|0;ha=ga+408|0;n=(c[ha>>2]|0)+(c[e>>2]|0)|0;c[ha>>2]=n;ha=c[(c[ga>>2]|0)+112>>2]|0;if((ha|0)<(n|0)){J=42;break a}$j(Ba,h)|0;i=c[Ba>>2]|0;n=i+408|0;c[n>>2]=(c[n>>2]|0)-(c[e>>2]|0);e=b[t>>1]|0;if(e&16){n=h+4|0;c[n>>2]=c[n>>2]|2}e=(e&65535|g&4112)&65535;b[t>>1]=e;if((c[B>>2]|0)>0){J=46;break a}if((c[i+36>>2]|0)>0){Ja=2;J=175;break a}}j=j+1|0}while((j|0)<(c[k>>2]|0))}else e=1;n=c[q+36>>2]|0;m=(n|0)!=0;if(!m?(ca=e&65535,(ca&16|0)==0):0){e=ca&65534;b[t>>1]=e}else c[p>>2]=(e&4096|8)&65535|c[p>>2];i=c[q+40>>2]|0;g=(i|0)==0;if(!(m|g)){J=53;break}c[w>>2]=c[q>>2];if(!g){g=e&65535;b[t>>1]=g&61423;ia=c[fa>>2]|0;c[Ba>>2]=ia;c[G>>2]=184;c[H>>2]=185;c[I>>2]=0;c[J>>2]=fa;e=i+24|0;ja=ia+408|0;k=(c[ja>>2]|0)+(c[e>>2]|0)|0;c[ja>>2]=k;ja=c[(c[ia>>2]|0)+112>>2]|0;if((ja|0)<(k|0)){J=57;break}$j(Ba,i)|0;h=c[Ba>>2]|0;k=h+408|0;c[k>>2]=(c[k>>2]|0)-(c[e>>2]|0);e=b[t>>1]|0;if(e&16){k=i+4|0;c[k>>2]=c[k>>2]|2}e=(e&65535|g&4112)&65535;b[t>>1]=e;if((c[B>>2]|0)>0){J=61;break}if((c[h+36>>2]|0)>0){Ja=2;J=175;break}}h=c[q+32>>2]|0;if(h){g=e&65535;b[t>>1]=g&61423;ka=c[fa>>2]|0;c[Ba>>2]=ka;c[C>>2]=184;c[D>>2]=185;c[E>>2]=0;c[F>>2]=fa;e=h+24|0;la=ka+408|0;k=(c[la>>2]|0)+(c[e>>2]|0)|0;c[la>>2]=k;la=c[(c[ka>>2]|0)+112>>2]|0;if((la|0)<(k|0)){J=66;break}$j(Ba,h)|0;i=c[Ba>>2]|0;k=i+408|0;c[k>>2]=(c[k>>2]|0)-(c[e>>2]|0);e=b[t>>1]|0;if(e&16){k=h+4|0;c[k>>2]=c[k>>2]|2}e=(e&65535|g&4112)&65535;b[t>>1]=e;if((c[B>>2]|0)>0){J=70;break}if((c[i+36>>2]|0)>0){Ja=2;J=175;break}}g=c[o>>2]|0;if((c[g>>2]|0)>0){k=0;do{if(((a[g+8+(k*72|0)+37>>0]&4)!=0?(ea=c[g+8+(k*72|0)+64>>2]|0,(ea|0)!=0):0)?(c[ea>>2]|0)>0:0){j=0;do{h=c[ea+4+(j*20|0)>>2]|0;if(h){g=e&65535;b[t>>1]=g&61423;ma=c[fa>>2]|0;c[Ba>>2]=ma;c[x>>2]=184;c[y>>2]=185;c[z>>2]=0;c[A>>2]=fa;e=h+24|0;na=ma+408|0;i=(c[na>>2]|0)+(c[e>>2]|0)|0;c[na>>2]=i;na=c[(c[ma>>2]|0)+112>>2]|0;if((na|0)<(i|0)){J=80;break a}$j(Ba,h)|0;i=c[Ba>>2]|0;Na=i+408|0;c[Na>>2]=(c[Na>>2]|0)-(c[e>>2]|0);e=b[t>>1]|0;if(e&16){Na=h+4|0;c[Na>>2]=c[Na>>2]|2}e=(e&65535|g&4112)&65535;b[t>>1]=e;if((c[B>>2]|0)>0){J=84;break a}if((c[i+36>>2]|0)>0){Ja=2;J=175;break a}}j=j+1|0}while((j|0)<(c[ea>>2]|0));g=c[o>>2]|0}k=k+1|0}while((k|0)<(c[g>>2]|0))}c[v>>2]=0;b[t>>1]=e|1;if(c[p>>2]&65536|0){Na=(c[g+28>>2]|0)+44|0;c[q+44>>2]=c[Na>>2];c[Na>>2]=0}if((V|0)<=(r|0)?ak(fa,q,c[q+44>>2]|0,27601)|0:0){Ja=2;J=175;break}if(a[s>>0]|0){Ja=2;J=175;break}if(m){if(ak(fa,q,n,27607)|0){Ja=2;J=175;break}if(a[s>>0]|0){Ja=2;J=175;break}h=c[n>>2]|0;if((h|0)>0){e=n+4|0;g=0;while(1){if(c[(c[e>>2]|0)+4>>2]&2|0){J=99;break a}g=g+1|0;if((g|0)>=(h|0))break;else e=e+20|0}}}oa=c[q+52>>2]|0;if(oa|0?(c[c[q>>2]>>2]|0)!=(c[c[oa>>2]>>2]|0):0){J=103;break}e=c[q+48>>2]|0;if(!e){J=112;break}q=e;r=r+1|0;e=c[e+8>>2]|0}switch(J|0){case 9:{c[qa>>2]=pa;hg(Ka,24905,qa);Na=2;l=Ma;return Na|0}case 13:{Na=2;l=Ma;return Na|0}case 42:{c[ra>>2]=ha;hg(ga,24905,ra);Na=2;l=Ma;return Na|0}case 46:{Na=2;l=Ma;return Na|0}case 53:{hg(Ka,27557,va);Na=2;l=Ma;return Na|0}case 57:{c[wa>>2]=ja;hg(ia,24905,wa);Na=2;l=Ma;return Na|0}case 61:{Na=2;l=Ma;return Na|0}case 66:{c[xa>>2]=la;hg(ka,24905,xa);Na=2;l=Ma;return Na|0}case 70:{Na=2;l=Ma;return Na|0}case 80:{c[sa>>2]=na;hg(ma,24905,sa);Na=2;l=Ma;return Na|0}case 84:{Na=2;l=Ma;return Na|0}case 99:{hg(Ka,27613,ta);Na=2;l=Ma;return Na|0}case 103:{if(c[oa+8>>2]&512|0){hg(Ka,27672,ua);Na=2;l=Ma;return Na|0}switch(a[oa+4>>0]|0){case 116:{e=27741;break}case 118:{e=27731;break}case 117:{e=27724;break}default:e=27718}c[ya>>2]=e;hg(Ka,27751,ya);Na=2;l=Ma;return Na|0}case 112:{if(!da){Na=1;l=Ma;return Na|0}I=c[f+44>>2]|0;if(!I){Na=1;l=Ma;return Na|0}H=c[Ka>>2]|0;g=c[I>>2]|0;if((g|0)>(c[H+108>>2]|0)){hg(Ka,27833,za);Na=2;l=Ma;return Na|0}if((g|0)>0){e=0;do{g=I+4+(e*20|0)+13|0;a[g>>0]=a[g>>0]&-2;e=e+1|0;g=c[I>>2]|0}while((e|0)<(g|0))}e=0;while(1){c[f+52>>2]=e;e=c[f+48>>2]|0;if(!e)break;else{Na=f;f=e;e=Na}}c:do if(f){t=I+4|0;u=H+73|0;v=Ca+12|0;w=Ca+4|0;x=Ca+8|0;y=Ca+28|0;z=Ca+24|0;A=Ka;B=Ba+4|0;C=Ba+8|0;D=Ba+12|0;E=Ba+24|0;F=Ka+408|0;G=Ba+4|0;d:while(1){s=c[f>>2]|0;if((g|0)<=0)break c;r=f+28|0;q=t;e=0;h=0;while(1){c[Da>>2]=-1;p=q+13|0;if(!(a[p>>0]&1)){g=c[q>>2]|0;e:do if(!g)g=0;else while(1){i=c[g+4>>2]|0;if(!(i&4096))break e;if(!(i&262144))g=g+12|0;else g=(c[g+20>>2]|0)+4|0;g=c[g>>2]|0;if(!g){g=0;break}}while(0);f:do if(bk(g,Da)|0){i=c[Da>>2]|0;Ea=c[s>>2]|0;if((i|0)<1|(i|0)>(Ea|0)){J=134;break d}}else{g:do if((a[g>>0]|0)==59?(Fa=c[g+8>>2]|0,Ga=c[s>>2]|0,(Ga|0)>0):0){i=0;while(1){k=c[s+4+(i*20|0)+4>>2]|0;if(k|0){Na=a[k>>0]|0;j=(d[17324+(Na&255)>>0]|0)-(d[17324+(d[Fa>>0]|0)>>0]|0)|0;if(!(Na<<24>>24==0|(j|0)!=0)){m=Fa;do{k=k+1|0;m=m+1|0;Na=a[k>>0]|0;j=(d[17324+(Na&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(Na<<24>>24==0|(j|0)!=0))}if(!j)break}i=i+1|0;if((i|0)>=(Ga|0)){J=142;break g}}i=i+1|0;c[Da>>2]=i;if(i|0)break f}else J=142;while(0);if((J|0)==142){J=0;c[Da>>2]=0}if(!g)o=0;else o=sj(H,g,0,0)|0;if(!(a[u>>0]|0)){n=c[f>>2]|0;c[v>>2]=0;c[v+4>>2]=0;c[v+8>>2]=0;c[v+12>>2]=0;c[v+16>>2]=0;c[Ca>>2]=Ka;c[w>>2]=c[r>>2];c[x>>2]=n;b[y>>1]=1;c[z>>2]=0;i=c[Ka>>2]|0;j=i+77|0;k=a[j>>0]|0;a[j>>0]=1;do if(o){b[y>>1]=1;c[Ba>>2]=A;c[B>>2]=184;c[C>>2]=185;c[D>>2]=0;c[E>>2]=Ca;m=o+24|0;Na=(c[F>>2]|0)+(c[m>>2]|0)|0;c[F>>2]=Na;i=c[i+112>>2]|0;if((i|0)<(Na|0)){c[Ia>>2]=i;hg(Ka,24905,Ia);a[j>>0]=k;Aa=0;break}$j(Ba,o)|0;i=c[Ba>>2]|0;Na=i+408|0;c[Na>>2]=(c[Na>>2]|0)-(c[m>>2]|0);if(b[y>>1]&16){Na=o+4|0;c[Na>>2]=c[Na>>2]|2}if((c[z>>2]|0)<=0){Na=(c[i+36>>2]|0)>0;a[j>>0]=k;if(Na){Aa=0;break}else{J=156;break}}else{a[j>>0]=k;Aa=0;break}}else{a[j>>0]=k;J=156}while(0);h:do if((J|0)==156){J=0;i=0;while(1){if((i|0)>=(c[n>>2]|0)){Aa=0;break h}j=i+1|0;if((ck(0,c[n+4+(i*20|0)>>2]|0,o,-1)|0)<2){Aa=j;break}else i=j}}while(0);c[Da>>2]=Aa;i=Aa}else i=0;if(!o)break;Qf(H,o)}while(0);if((i|0)>0){c[Ba>>2]=0;c[G>>2]=0;m=Yi(H,134,Ba,0)|0;if(!m)break d;j=m+4|0;c[j>>2]=c[j>>2]|1024;c[m+8>>2]=i;j=c[q>>2]|0;if((j|0)==(g|0))j=q;else{k=j;do{j=k+12|0;k=c[j>>2]|0}while((a[k>>0]|0)==94)}c[j>>2]=m;if(g|0)Qf(H,g);b[q+16>>1]=i;a[p>>0]=a[p>>0]|1}else e=1}h=h+1|0;g=c[I>>2]|0;if((h|0)<(g|0))q=q+20|0;else break}f=c[f+52>>2]|0;if(!((e|0)!=0&(f|0)!=0))break c}if((J|0)==134){c[Ha>>2]=h+1;c[Ha+4>>2]=27601;c[Ha+8>>2]=Ea;hg(Ka,27867,Ha)}Na=2;l=Ma;return Na|0}while(0);e=0;do{if((e|0)>=(g|0)){Ja=1;J=175;break}Na=e;e=e+1|0}while((a[I+4+(Na*20|0)+13>>0]&1)!=0);if((J|0)==175){l=Ma;return Ja|0}c[La>>2]=e;hg(Ka,27923,La);Na=2;l=Ma;return Na|0}case 175:{l=Ma;return Ja|0}}return 0}function Zj(a,b){a=a|0;b=b|0;return 0}function _j(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;h=b+8|0;c[h>>2]=c[h>>2]|128;h=c[a>>2]|0;g=c[b+28>>2]|0;a=c[g>>2]|0;if((a|0)<=0)return;e=0;f=g+8|0;while(1){d=c[f+16>>2]|0;if((c[d+36>>2]&2|0)!=0?(i=c[f+20>>2]|0,(i|0)!=0):0){a=i;while(1){b=c[a+48>>2]|0;if(!b)break;else a=b}Nj(h,d,a);a=c[g>>2]|0}e=e+1|0;if((e|0)>=(a|0))break;else f=f+72|0}return}function $j(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;h=b+4|0;while(1){f=kb[c[h>>2]&255](b,d)|0;if(f|0){j=3;break}i=d+4|0;if(c[i>>2]&8404992|0)break;e=c[d+12>>2]|0;if(e|0?$j(b,e)|0:0){g=2;j=37;break}e=c[d+16>>2]|0;if(!e){j=8;break}else d=e}a:do if((j|0)==3){b=f&2;return b|0}else if((j|0)==8){if(!(c[i>>2]&2048)){d=c[d+20>>2]|0;if(!d)break;e=c[d>>2]|0;if((e|0)<=0)break;f=d+4|0;d=e;while(1){e=c[f>>2]|0;if(e|0?$j(b,e)|0:0){g=2;break}if((d|0)>1){f=f+20|0;d=d+-1|0}else break a}return g|0}e=c[d+20>>2]|0;if(e|0?(m=b+8|0,k=c[m>>2]|0,k|0):0){j=b+12|0;d=kb[k&255](b,e)|0;b:do if(!d){c:while(1){if(hk(b,e)|0){g=2;j=37;break}d=c[e+28>>2]|0;f=c[d>>2]|0;if((f|0)>0){i=d+8|0;while(1){d=c[i+20>>2]|0;if(d|0?Uj(b,d)|0:0){g=2;j=37;break c}if((a[i+37>>0]&4?(n=c[i+64>>2]|0,n|0):0)?(o=c[n>>2]|0,(o|0)>0):0){d=n+4|0;g=o;while(1){h=c[d>>2]|0;if(h|0?$j(b,h)|0:0){g=2;j=37;break c}if((g|0)>1){d=d+20|0;g=g+-1|0}else break}}if((f|0)>1){i=i+72|0;f=f+-1|0}else break}}d=c[j>>2]|0;if(d|0)qb[d&255](b,e);e=c[e+48>>2]|0;if(!e)break a;d=kb[c[m>>2]&255](b,e)|0;if(d|0){l=d;break b}}if((j|0)==37)return g|0}else l=d;while(0);if(l&2|0){b=2;return b|0}}}else if((j|0)==37)return g|0;while(0);b=0;return b|0}function ak(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;E=l;l=l+48|0;D=E+24|0;z=E+16|0;y=E;w=E+36|0;if(!g){D=0;l=E;return D|0}x=c[c[f>>2]>>2]|0;C=c[e>>2]|0;k=g+4|0;j=c[g>>2]|0;a:do if((j|0)>0){m=0;t=k;b:while(1){s=c[t>>2]|0;c:do if(!s)j=0;else{j=s;while(1){n=c[j+4>>2]|0;if(!(n&4096))break c;if(!(n&262144))j=j+12|0;else j=(c[j+20>>2]|0)+4|0;j=c[j>>2]|0;if(!j){j=0;break}}}while(0);d:do if((a[h>>0]|0)==71)p=19;else{r=c[f>>2]|0;e:do if((a[j>>0]|0)==59?(u=c[j+8>>2]|0,v=c[r>>2]|0,(v|0)>0):0){n=0;while(1){p=c[r+4+(n*20|0)+4>>2]|0;if(p|0){q=a[p>>0]|0;o=(d[17324+(q&255)>>0]|0)-(d[17324+(d[u>>0]|0)>>0]|0)|0;if(!(q<<24>>24==0|(o|0)!=0)){q=u;do{p=p+1|0;q=q+1|0;F=a[p>>0]|0;o=(d[17324+(F&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(F<<24>>24==0|(o|0)!=0))}if(!o)break}n=n+1|0;if((n|0)>=(v|0))break e}o=n+1|0;c[w>>2]=o;if((n|0)>-1){i=o;p=27;break d}else{p=19;break d}}while(0);c[w>>2]=0;p=19}while(0);do if((p|0)==19){p=0;if(bk(j,w)|0){i=c[w>>2]|0;if((i+-1|0)>>>0>65534)break b;else{p=27;break}}o=t+16|0;b[o>>1]=0;if(ek(e,s)|0){A=1;p=39;break b}j=c[f>>2]|0;if((c[j>>2]|0)>0){n=0;do{F=n;n=n+1|0;if(!(ck(0,s,c[j+4+(F*20|0)>>2]|0,-1)|0))b[o>>1]=n;j=c[f>>2]|0}while((n|0)<(c[j>>2]|0))}}while(0);if((p|0)==27){p=0;b[t+16>>1]=i}m=m+1|0;j=c[g>>2]|0;if((m|0)<(j|0))t=t+20|0;else break a}if((p|0)==39){l=E;return A|0}c[y>>2]=m+1;c[y+4>>2]=h;c[y+8>>2]=x;hg(C,27867,y);F=1;l=E;return F|0}while(0);i=c[C>>2]|0;if(a[i+73>>0]|0){F=0;l=E;return F|0}if((j|0)>(c[i+108>>2]|0)){c[z>>2]=h;hg(C,27984,z);F=1;l=E;return F|0}n=c[f>>2]|0;if((j|0)<=0){F=0;l=E;return F|0}m=0;while(1){i=b[k+16>>1]|0;if(i<<16>>16){i=i&65535;B=c[n>>2]|0;if((i|0)>(B|0))break;fk(C,n,i+-1|0,c[k>>2]|0,h,0);j=c[g>>2]|0}i=m+1|0;if((i|0)<(j|0)){m=i;k=k+20|0}else{A=0;p=39;break}}if((p|0)==39){l=E;return A|0}c[D>>2]=m+1;c[D+4>>2]=h;c[D+8>>2]=B;hg(C,27867,D);F=1;l=E;return F|0}function bk(b,d){b=b|0;d=d|0;var e=0,f=0;f=l;l=l+16|0;e=f;a:do if(!b)b=0;else{if(c[b+4>>2]&1024|0){c[d>>2]=c[b+8>>2];b=1;break}switch(a[b>>0]|0){case -107:{b=bk(c[b+12>>2]|0,d)|0;break a}case -108:break;default:{b=0;break a}}if(!(bk(c[b+12>>2]|0,e)|0))b=0;else{c[d>>2]=0-(c[e>>2]|0);b=1}}while(0);l=f;return b|0}function ck(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;i=q;if((f|0)==0|(g|0)==0){h=(g|0)==(f|0)?0:2;l=q;return h|0}do if(e|0?(a[f>>0]|0)==-121:0){c[i>>2]=0;Dj(c[e>>2]|0,g,1,65,i)|0;k=c[i>>2]|0;if(!k)break;o=b[f+32>>1]|0;m=o<<16>>16;p=(c[e+8>>2]|0)+204|0;c[p>>2]=(o<<16>>16>31?-2147483648:1<>2];m=dk(c[e+424>>2]|0,m)|0;if(!m)i=0;else{i=b[m+8>>1]|0;do if((i&15|16)<<16>>16==18){i=i&65535;if((i&514|0)==514){if(!((i&1|0)==0&(a[m+10>>0]|0)!=1))break}else if(i&1|0)break;Jc(m,1)|0}while(0);i=(jf(m,k,0)|0)==0&1}if(!((b[k+8>>1]&9312)==0?!(c[k+24>>2]|0):0))af(k);j=c[k+32>>2]|0;do if(j){if(c[j+464>>2]|0){Lc(j,k);break}p=k;if(p>>>0>=(c[j+296>>2]|0)>>>0?p>>>0<(c[j+300>>2]|0)>>>0:0){p=j+292|0;c[k>>2]=c[p>>2];c[p>>2]=k}else n=22}else n=22;while(0);do if((n|0)==22)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{p=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);Yf(m);if(i|0){h=0;l=q;return h|0}}while(0);n=c[f+4>>2]|0;o=c[g+4>>2]|0;p=o|n;if(p&1024|0){if(n&1024&o|0?(c[f+8>>2]|0)==(c[g+8>>2]|0):0){h=0;l=q;return h|0}h=2;l=q;return h|0}m=a[f>>0]|0;i=a[g>>0]|0;if(m<<24>>24!=i<<24>>24){do if(m<<24>>24==94)if((ck(e,c[f+12>>2]|0,g,h)|0)<2){h=1;l=q;return h|0}else{i=a[g>>0]|0;break}while(0);if(i<<24>>24==94?(ck(e,f,c[g+12>>2]|0,h)|0)<2:0){h=1;l=q;return h|0}h=2;l=q;return h|0}a:do switch(m<<24>>24){case -109:case -111:break;default:{j=c[f+8>>2]|0;if(j|0){k=c[g+8>>2]|0;if(m<<24>>24!=-112){if(!(Ls(j,k)|0))break a;h=m<<24>>24==94?1:2;l=q;return h|0}m=a[j>>0]|0;i=(d[17324+(m&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(m<<24>>24==0|(i|0)!=0))do{j=j+1|0;k=k+1|0;m=a[j>>0]|0;i=(d[17324+(m&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(m<<24>>24==0|(i|0)!=0));if(i|0){h=2;l=q;return h|0}}}}while(0);if((o^n)&16|0){h=2;l=q;return h|0}if(!(p&16384)){if(p&2048|0){h=2;l=q;return h|0}if(ck(e,c[f+12>>2]|0,c[g+12>>2]|0,h)|0){h=2;l=q;return h|0}if(ck(e,c[f+16>>2]|0,c[g+16>>2]|0,h)|0){h=2;l=q;return h|0}k=c[f+20>>2]|0;m=c[g+20>>2]|0;i=(k|0)==0;j=(m|0)==0;b:do if(!(i&j)){if(i|j){h=2;l=q;return h|0}i=c[k>>2]|0;if((i|0)!=(c[m>>2]|0)){h=2;l=q;return h|0}if((i|0)>0){i=0;while(1){if((a[k+4+(i*20|0)+12>>0]|0)!=(a[m+4+(i*20|0)+12>>0]|0)){i=2;n=64;break}if(ck(0,c[k+4+(i*20|0)>>2]|0,c[m+4+(i*20|0)>>2]|0,h)|0){i=2;n=64;break}i=i+1|0;if((i|0)>=(c[k>>2]|0))break b}if((n|0)==64){l=q;return i|0}}}while(0);if((p&8192|0)==0?(a[f>>0]|0)!=97:0){if((b[f+32>>1]|0)!=(b[g+32>>1]|0)){h=2;l=q;return h|0}f=c[f+28>>2]|0;g=c[g+28>>2]|0;if((f|0)!=(g|0)?(f|0)!=(h|0)|(g|0)>-1:0){h=2;l=q;return h|0}}}h=0;l=q;return h|0}function dk(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if(!d){k=0;return k|0}h=c[d+116>>2]|0;k=f+-1|0;i=h+(k*40|0)|0;k=h+(k*40|0)+8|0;if(b[k>>1]&1){k=0;return k|0}h=c[d>>2]|0;do if(!h){if(!(c[2]|0)){f=jb[c[52>>2]&255](40)|0;j=24;break}f=jb[c[68>>2]&255](40)|0;if((c[11829]|0)>>>0<40)c[11829]=40;g=46456;d=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&d>>>0>0){l=c[11822]|0;g=Gt(d|0,g|0,f|0,((f|0)<0)<<31>>31|0)|0;d=z;c[11616]=(0>(d|0)|0==(d|0)&l>>>0>=g>>>0)&1}d=jb[c[52>>2]&255](f)|0;if(!d){l=0;return l|0}f=jb[c[64>>2]&255](d)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f}else{if(c[h+264>>2]|0){if(a[h+73>>0]|0){l=0;return l|0}}else{if((e[h+268>>1]|0)>=40){d=h+292|0;f=c[d>>2]|0;if(f|0){c[d>>2]=c[f>>2];j=h+276|0;c[j>>2]=(c[j>>2]|0)+1;j=24;break}d=h+288|0;f=c[d>>2]|0;if(!f)f=2;else{c[d>>2]=c[f>>2];j=h+276|0;c[j>>2]=(c[j>>2]|0)+1;j=24;break}}else f=1;l=h+276+(f<<2)|0;c[l>>2]=(c[l>>2]|0)+1}f=Ec(h,40,0)|0;j=24}while(0);if((j|0)==24)if(!f){l=0;return l|0}else d=f;f=d;g=f+40|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(g|0));g=d+8|0;b[g>>1]=1;c[d+32>>2]=h;c[d>>2]=c[i>>2];c[d+4>>2]=c[i+4>>2];c[d+8>>2]=c[i+8>>2];c[d+12>>2]=c[i+12>>2];c[d+16>>2]=c[i+16>>2];f=b[g>>1]&-1025;b[g>>1]=f;f=f&65535;if(!(f&18)){l=d;return l|0}if(b[k>>1]&2048){l=d;return l|0}b[g>>1]=f|4096;if(f&16384){f=d+12|0;l=(c[d>>2]|0)+(c[f>>2]|0)|0;if(_e(d,(l|0)>1?l:1,1)|0){l=d;return l|0}Vt((c[d+16>>2]|0)+(c[f>>2]|0)|0,0,c[d>>2]|0)|0;c[f>>2]=(c[f>>2]|0)+(c[d>>2]|0);f=b[g>>1]&-16897;b[g>>1]=f;if(!((c[d+24>>2]|0)!=0?(c[d+16>>2]|0)==(c[d+20>>2]|0):0))j=31}else j=31;do if((j|0)==31)if(!(bf(d)|0)){f=b[g>>1]|0;break}else{l=d;return l|0}while(0);b[g>>1]=f&-4097;l=d;return l|0}function ek(a,d){a=a|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;n=l;l=l+32|0;i=n;g=n+4|0;if(!d){m=0;l=n;return m|0}k=a+28|0;m=e[k>>1]|0;b[k>>1]=m&61423;f=c[a>>2]|0;c[g>>2]=f;c[g+4>>2]=184;c[g+8>>2]=185;c[g+12>>2]=0;c[g+24>>2]=a;j=d+24|0;h=f+408|0;o=(c[h>>2]|0)+(c[j>>2]|0)|0;c[h>>2]=o;h=c[(c[f>>2]|0)+112>>2]|0;if((h|0)<(o|0)){c[i>>2]=h;hg(f,24905,i);o=1;l=n;return o|0}$j(g,d)|0;g=c[g>>2]|0;f=g+408|0;c[f>>2]=(c[f>>2]|0)-(c[j>>2]|0);f=b[k>>1]|0;if(f&16){o=d+4|0;c[o>>2]=c[o>>2]|2}b[k>>1]=f&65535|m&4112;if((c[a+24>>2]|0)>0)f=1;else f=(c[g+36>>2]|0)>0;o=f&1;l=n;return o|0}function fk(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+32|0;j=o;d=c[d+4+(e*20|0)>>2]|0;k=c[b>>2]|0;if(!d){l=o;return}d=sj(k,d,0,0)|0;if(!d){l=o;return}if((h|0)>0&(a[g>>0]|0)!=71){c[j>>2]=0;c[j+4>>2]=0;c[j+8>>2]=0;c[j+12>>2]=0;c[j+16>>2]=0;c[j+20>>2]=0;c[j+4>>2]=197;c[j+24>>2]=h;$j(j,d)|0}if((a[f>>0]|0)==94){e=c[f+8>>2]|0;c[j>>2]=e;if(e){h=(As(e)|0)&1073741823;c[j+4>>2]=h;if((h|0)!=0?(i=Yi(c[b>>2]|0,94,j,0)|0,(i|0)!=0):0){c[i+12>>2]=d;d=i+4|0;c[d>>2]=c[d>>2]|4352;d=i}}else c[j+4>>2]=0}e=d+4|0;c[e>>2]=c[e>>2]|4194304;e=f+4|0;c[e>>2]=c[e>>2]|32768;if(f|0)Qf(k,f);g=f;h=d;b=g+48|0;do{c[g>>2]=c[h>>2];g=g+4|0;h=h+4|0}while((g|0)<(b|0));if((c[e>>2]&1024|0)==0?(m=f+8|0,n=c[m>>2]|0,n|0):0){c[m>>2]=kg(k,n)|0;c[e>>2]=c[e>>2]|65536}if(k|0){if(c[k+464>>2]|0){Lc(k,d);l=o;return}n=d;if(n>>>0>=(c[k+296>>2]|0)>>>0?n>>>0<(c[k+300>>2]|0)>>>0:0){n=k+292|0;c[d>>2]=c[n>>2];c[n>>2]=d;l=o;return}}if(!(c[2]|0)){pb[c[56>>2]&255](d);l=o;return}else{n=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);l=o;return}}function gk(b,e){b=b|0;e=e|0;if((a[e>>0]|0)!=-110)return 0;e=e+38|0;a[e>>0]=(d[e>>0]|0)+(c[b+24>>2]|0);return 0}function hk(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0;d=c[b>>2]|0;a:do if(d|0?(e=c[d>>2]|0,(e|0)>0):0){f=d+4|0;d=e;while(1){e=c[f>>2]|0;if(e|0?$j(a,e)|0:0){d=2;break}if((d|0)>1){f=f+20|0;d=d+-1|0}else break a}return d|0}while(0);d=c[b+32>>2]|0;if(d|0?$j(a,d)|0:0){a=2;return a|0}d=c[b+36>>2]|0;b:do if(d|0?(g=c[d>>2]|0,(g|0)>0):0){f=d+4|0;d=g;while(1){e=c[f>>2]|0;if(e|0?$j(a,e)|0:0){d=2;break}if((d|0)>1){f=f+20|0;d=d+-1|0}else break b}return d|0}while(0);d=c[b+40>>2]|0;if(d|0?$j(a,d)|0:0){a=2;return a|0}d=c[b+44>>2]|0;c:do if(d|0?(h=c[d>>2]|0,(h|0)>0):0){f=d+4|0;d=h;while(1){e=c[f>>2]|0;if(e|0?$j(a,e)|0:0){d=2;break}if((d|0)>1){f=f+20|0;d=d+-1|0}else break c}return d|0}while(0);d=c[b+56>>2]|0;if(!d){a=0;return a|0}a=($j(a,d)|0)==0;a=a?0:2;return a|0}function ik(b,c,e,f){b=b|0;c=c|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0;l=0;a:while(1){switch(a[b+l>>0]|0){case 46:case 0:break a;default:{}}l=l+1|0}if(f|0){b:do if((l|0)>0){i=b;k=f;j=l;while(1){g=a[i>>0]|0;if(!(g<<24>>24)){m=7;break}h=a[17324+(g&255)>>0]|0;g=a[17324+(d[k>>0]|0)>>0]|0;if(h<<24>>24!=g<<24>>24)break;if((j|0)>1){i=i+1|0;k=k+1|0;j=j+-1|0}else break b}if((m|0)==7){h=0;g=a[17324+(d[k>>0]|0)>>0]|0}if(h<<24>>24!=g<<24>>24){m=0;return m|0}}while(0);if(a[f+l>>0]|0){m=0;return m|0}}b=b+(l+1)|0;l=0;c:while(1){switch(a[b+l>>0]|0){case 46:case 0:break c;default:{}}l=l+1|0}if(e|0){d:do if((l|0)>0){i=b;k=e;j=l;while(1){g=a[i>>0]|0;if(!(g<<24>>24)){m=18;break}h=a[17324+(g&255)>>0]|0;g=a[17324+(d[k>>0]|0)>>0]|0;if(h<<24>>24!=g<<24>>24)break;if((j|0)>1){i=i+1|0;k=k+1|0;j=j+-1|0}else break d}if((m|0)==18){h=0;g=a[17324+(d[k>>0]|0)>>0]|0}if(h<<24>>24!=g<<24>>24){m=0;return m|0}}while(0);if(a[e+l>>0]|0){m=0;return m|0}}if(c|0){h=b+(l+1)|0;m=a[h>>0]|0;g=(d[17324+(m&255)>>0]|0)-(d[17324+(d[c>>0]|0)>>0]|0)|0;if(!(m<<24>>24==0|(g|0)!=0))do{h=h+1|0;c=c+1|0;m=a[h>>0]|0;g=(d[17324+(m&255)>>0]|0)-(d[17324+(d[c>>0]|0)>>0]|0)|0}while(!(m<<24>>24==0|(g|0)!=0));if(g|0){m=0;return m|0}}m=1;return m|0}function jk(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+32|0;m=n+16|0;k=n+8|0;h=n;i=c[b>>2]|0;j=c[(c[i+16>>2]|0)+(f<<4)>>2]|0;if(a[i+157>>0]|0){m=0;l=n;return m|0}g=ob[c[i+304>>2]&255](c[i+308>>2]|0,20,d,e,j,c[b+440>>2]|0)|0;switch(g|0){case 1:{c[h>>2]=d;c[h+4>>2]=e;d=xd(28518,h)|0;if(f|0?1:(c[i+20>>2]|0)>2){c[k>>2]=j;c[k+4>>2]=d;d=xd(28524,k)|0}c[m>>2]=d;hg(b,28530,m);c[b+12>>2]=23;m=1;l=n;return m|0}case 0:case 2:{m=g;l=n;return m|0}default:{hg(b,24776,n+24|0);c[b+12>>2]=1;m=g;l=n;return m|0}}return 0}function kk(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;if(!g)u=0;else u=(As(g)|0)&1073741823;v=f+356|0;k=c[($f(v,g,0)|0)+8>>2]|0;a:do if(!k){l=0;k=0}else{p=i&255;if((h|0)==-2){l=0;m=0;while(1){o=(c[k+12>>2]|0)==0?0:6;p=(o|0)>(m|0);m=p?o:m;l=p?k:l;k=c[k+8>>2]|0;if(!k){k=m;break a}}}else{l=0;o=0}while(1){n=a[k>>0]|0;m=n<<24>>24;do if(!(n<<24>>24>-1&(m|0)!=(h|0))){m=(m|0)==(h|0)?4:1;n=e[k+2>>1]|0;if((p|0)==(n&3|0)){m=m|2;break}else{m=((n&p)>>>1&1)+m|0;break}}else m=0;while(0);n=(m|0)>(o|0);m=n?m:o;l=n?k:l;k=c[k+8>>2]|0;if(!k){k=m;break}else o=m}}while(0);b:do if(!(j<<24>>24)){if(l|0?(c[f+24>>2]&2|0)==0:0){r=l;s=0;o=68;break}p=d[17324+(d[g>>0]|0)>>0]|0;k=c[46476+((((p+u|0)>>>0)%23|0)<<2)>>2]|0;if(k){while(1){n=c[k+20>>2]|0;o=a[n>>0]|0;m=(d[17324+(o&255)>>0]|0)-p|0;if(!(o<<24>>24==0|(m|0)!=0)){o=g;do{n=n+1|0;o=o+1|0;w=a[n>>0]|0;m=(d[17324+(w&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(w<<24>>24==0|(m|0)!=0))}if(!m)break;k=c[k+24>>2]|0;if(!k){k=0;o=27;break b}}if(!k){k=0;o=27}else{p=i&255;if((h|0)==-2){m=0;while(1){p=(c[k+12>>2]|0)==0?0:6;w=(p|0)>(m|0);m=w?p:m;l=w?k:l;k=c[k+8>>2]|0;if(!k){k=m;o=27;break b}}}else o=0;while(1){w=a[k>>0]|0;m=w<<24>>24;do if(!(w<<24>>24>-1&(m|0)!=(h|0))){m=(m|0)==(h|0)?4:1;n=e[k+2>>1]|0;if((p|0)==(n&3|0)){m=m|2;break}else{m=((n&p)>>>1&1)+m|0;break}}else m=0;while(0);w=(m|0)>(o|0);m=w?m:o;l=w?k:l;k=c[k+8>>2]|0;if(!k){k=m;o=27;break}else o=m}}}else{q=l;t=0;o=67}}else o=27;while(0);c:do if((o|0)==27){m=j<<24>>24!=0;if(m&(k|0)<6){n=u+29|0;p=(f|0)==0;do if(p){if((u+28|0)>>>0>2147483390)break c;if(!(c[2]|0)){l=jb[c[52>>2]&255](n)|0;o=50;break}k=jb[c[68>>2]&255](n)|0;if((c[11829]|0)>>>0>>0)c[11829]=n;m=46456;l=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&l>>>0>0){j=c[11822]|0;w=Gt(l|0,m|0,k|0,((k|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&j>>>0>=w>>>0)&1}l=jb[c[52>>2]&255](k)|0;if(!l)break c;k=jb[c[64>>2]&255](l)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0)break c}else{if(!(0<0|(0==0?(e[f+268>>1]|0)>>>0>>0:0))){k=f+292|0;l=c[k>>2]|0;if(l|0){c[k>>2]=c[l>>2];o=f+276|0;c[o>>2]=(c[o>>2]|0)+1;o=50;break}k=f+288|0;l=c[k>>2]|0;if(!l)k=2;else{c[k>>2]=c[l>>2];o=f+276|0;c[o>>2]=(c[o>>2]|0)+1;o=50;break}}else k=1;w=f+276+(k<<2)|0;c[w>>2]=(c[w>>2]|0)+1}l=Ec(f,n,0)|0;o=50}while(0);if((o|0)==50)if(!l)break;Vt(l|0,0,n|0)|0;k=l+28|0;c[l+20>>2]=k;a[l>>0]=h;b[l+2>>1]=i&255;Tt(k|0,g|0,u+1|0)|0;k=_f(v,k,l)|0;if((k|0)!=(l|0)){c[l+8>>2]=k;w=l;return w|0}do if(!p){if(c[f+464>>2]|0){Lc(f,l);break}w=l;if(w>>>0>=(c[f+296>>2]|0)>>>0?w>>>0<(c[f+300>>2]|0)>>>0:0){w=f+292|0;c[l>>2]=c[w>>2];c[w>>2]=l}else o=58}else o=58;while(0);do if((o|0)==58)if(!(c[2]|0)){pb[c[56>>2]&255](l);break}else{w=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);break}while(0);k=f+73|0;if(a[k>>0]|0){w=0;return w|0}if(a[f+74>>0]|0){w=0;return w|0}a[k>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;w=f+264|0;c[w>>2]=(c[w>>2]|0)+1;w=0;return w|0}else{q=l;t=m;o=67}}while(0);if((o|0)==67?q|0:0){r=q;s=t;o=68}if((o|0)==68?s|(c[r+12>>2]|0)!=0:0){w=r;return w|0}w=0;return w|0}function lk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;switch(a[d>>0]|0){case -109:case -111:break;default:return 0}e=c[b+24>>2]|0;f=c[e>>2]|0;a:do if((f|0)!=0?(g=c[f>>2]|0,(g|0)>0):0){d=c[d+28>>2]|0;b=0;while(1){if((d|0)==(c[f+8+(b*72|0)+44>>2]|0))break;b=b+1|0;if((b|0)>=(g|0)){h=7;break a}}b=e+4|0}else h=7;while(0);if((h|0)==7)b=e+8|0;c[b>>2]=(c[b>>2]|0)+1;return 0}function mk(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;h=n;if(!f){m=g;l=n;return m|0}if(!g){m=f;l=n;return m|0}c[h>>2]=0;m=f+4|0;if((c[m>>2]&1|0)==0?(bk(f,h)|0)!=0:0){if(c[h>>2]|0)j=7}else j=7;do if((j|0)==7){c[h>>2]=0;k=g+4|0;if((c[k>>2]&1|0)==0?(bk(g,h)|0)!=0:0){if(!(c[h>>2]|0))break}else j=9;do if(c[d+264>>2]|0){if(!(a[d+73>>0]|0))j=20}else{if((e[d+268>>1]|0)>=48){h=d+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];j=d+276|0;c[j>>2]=(c[j>>2]|0)+1;j=21;break}h=d+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];j=d+276|0;c[j>>2]=(c[j>>2]|0)+1;j=21;break}}else h=1;j=d+276+(h<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=20}while(0);if((j|0)==20){i=Ec(d,48,0)|0;j=21}if((j|0)==21?i|0:0){h=i;j=h+48|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(j|0));a[i>>0]=44;b[i+34>>1]=-1;c[i+24>>2]=1;c[i+16>>2]=g;k=c[k>>2]&2097412;g=i+4|0;c[g>>2]=k;c[i+12>>2]=f;c[g>>2]=k|c[m>>2]&2097412;Ji(i);m=i;l=n;return m|0}Qf(d,f);Qf(d,g);m=0;l=n;return m|0}while(0);Qf(d,f);Qf(d,g);m=Yi(d,134,4920,0)|0;l=n;return m|0}function nk(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(!d)return;j=e&65535;do{g=d+4|0;c[g>>2]=c[g>>2]|1;b[d+36>>1]=j;if(((a[d>>0]|0)==-112?(h=d+20|0,i=c[h>>2]|0,i|0):0)?(c[i>>2]|0)>0:0){f=0;g=i;do{nk(c[g+4+(f*20|0)>>2]|0,e);f=f+1|0;g=c[h>>2]|0}while((f|0)<(c[g>>2]|0))}nk(c[d+12>>2]|0,e);d=c[d+16>>2]|0}while((d|0)!=0);return}function ok(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=l;l=l+96|0;s=B+64|0;n=B+48|0;m=B+32|0;k=B+16|0;r=B;w=B+80|0;A=B+92|0;u=c[e>>2]|0;j=c[e+8>>2]|0;if(!j){if((c[e+120>>2]|0)==0?(b[u+68>>1]&8)==0:0)a[e+23>>0]=1;j=yi(e)|0;if(!j){l=B;return}else{x=j;o=A;p=w}}else{x=j;o=A;p=w}t=(c[u+16>>2]|0)+(f<<4)|0;q=e+100|0;y=x+136|0;v=x+12|0;z=x+88|0;if(h){j=jj(u,29259,c[t>>2]|0)|0;if(!j){c[k>>2]=c[t>>2];c[k+4>>2]=29259;c[k+8>>2]=29295;ij(e,29272,k);j=16;k=c[q>>2]|0}else{k=c[j+28>>2]|0;qk(e,f,k,1,29259);c[m>>2]=c[t>>2];c[m+4>>2]=29259;c[m+8>>2]=i;c[m+12>>2]=h;ij(e,25422,m);j=0}c[w>>2]=k;a[A>>0]=j;j=jj(u,29308,c[t>>2]|0)|0;if(j|0){r=c[j+28>>2]|0;c[w+4>>2]=r;a[A+1>>0]=0;qk(e,f,r,1,29308);c[n>>2]=c[t>>2];c[n+4>>2]=29308;c[n+8>>2]=i;c[n+12>>2]=h;ij(e,25422,n)}j=jj(u,29321,c[t>>2]|0)|0;if(j){u=c[j+28>>2]|0;c[w+8>>2]=u;a[A+2>>0]=0;qk(e,f,u,1,29321);c[s>>2]=c[t>>2];c[s+4>>2]=29321;c[s+8>>2]=i;c[s+12>>2]=h;ij(e,25422,s)}}else{n=0;a:while(1){k=c[5076+(n<<3)>>2]|0;j=jj(u,k,c[t>>2]|0)|0;do if(!j){if(!n){c[r>>2]=c[t>>2];c[r+4>>2]=k;c[r+8>>2]=29295;ij(e,29272,r);c[w>>2]=c[q>>2];a[A>>0]=16;n=1;continue a}}else{m=c[j+28>>2]|0;c[w+(n<<2)>>2]=m;a[A+n>>0]=0;qk(e,f,m,1,k);j=c[y>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(j|0)){c[y>>2]=j+1;s=c[z>>2]|0;a[s+(j*20|0)>>0]=-123;b[s+(j*20|0)+2>>1]=0;c[s+(j*20|0)+4>>2]=m;c[s+(j*20|0)+8>>2]=f;c[s+(j*20|0)+12>>2]=0;c[s+(j*20|0)+16>>2]=0;a[s+(j*20|0)+1>>0]=0;break}else{zi(x,133,m,f,0)|0;break}}while(0);n=n+1|0;if((n|0)==3)break}k=c[w>>2]|0}j=c[y>>2]|0;if((c[(c[v>>2]|0)+48>>2]|0)>(j|0)){c[y>>2]=j+1;w=c[z>>2]|0;a[w+(j*20|0)>>0]=105;b[w+(j*20|0)+2>>1]=0;c[w+(j*20|0)+4>>2]=g;c[w+(j*20|0)+8>>2]=k;c[w+(j*20|0)+12>>2]=f;c[w+(j*20|0)+16>>2]=0;a[w+(j*20|0)+1>>0]=0}else j=zi(x,105,g,k,f)|0;if(!(a[(c[x>>2]|0)+73>>0]|0)){g=c[z>>2]|0;a[g+(j*20|0)+1>>0]=-3;c[g+(j*20|0)+16>>2]=3}j=c[y>>2]|0;if((j|0)<=0){l=B;return}b[(c[z>>2]|0)+((j+-1|0)*20|0)+2>>1]=d[A>>0]|0;l=B;return}function pk(d,f,g,h,i,j){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;ba=l;l=l+16|0;t=ba+8|0;s=ba;V=c[d>>2]|0;W=i+1|0;X=i+2|0;aa=i+3|0;_=i+4|0;Z=i+5|0;Y=i+6|0;S=i+7|0;T=d+44|0;U=c[T>>2]|0;c[T>>2]=(U|0)>(S|0)?U:S;U=d+8|0;k=c[U>>2]|0;if(!k){if((c[d+120>>2]|0)==0?(b[V+68>>1]&8)==0:0)a[d+23>>0]=1;$=yi(d)|0}else $=k;if((f|0)==0|($|0)==0){l=ba;return}q=f+28|0;m=c[q>>2]|0;if(!m){l=ba;return}k=c[f>>2]|0;if(!(We(29206,k,18832,0)|0)){l=ba;return}o=c[f+72>>2]|0;p=c[V+16>>2]|0;if(!o)n=-1e6;else{n=0;while(1)if((c[p+(n<<4)+12>>2]|0)==(o|0))break;else n=n+1|0}o=c[p+(n<<4)>>2]|0;p=c[d>>2]|0;a:do if(((a[p+157>>0]|0)==0?(a[d+400>>0]|0)==0:0)?(r=c[p+304>>2]|0,(r|0)!=0):0)switch(ob[r&255](c[p+308>>2]|0,28,k,0,o,c[d+440>>2]|0)|0){case 1:{hg(d,24761,s);c[d+12>>2]=23;l=ba;return}case 0:{m=c[q>>2]|0;k=c[f>>2]|0;break a}case 2:{l=ba;return}default:{hg(d,24776,t);c[d+12>>2]=1;l=ba;return}}while(0);qk(d,n,m,0,k);O=j+1|0;P=j+2|0;m=d+40|0;k=c[m>>2]|0;c[m>>2]=(k|0)>(P|0)?k:P;Bi(d,j,n,f,104);m=c[f>>2]|0;P=$+136|0;k=c[P>>2]|0;Q=$+12|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){c[P>>2]=k+1;N=c[$+88>>2]|0;a[N+(k*20|0)>>0]=97;b[N+(k*20|0)+2>>1]=0;c[N+(k*20|0)+4>>2]=0;c[N+(k*20|0)+8>>2]=_;c[N+(k*20|0)+12>>2]=0;c[N+(k*20|0)+16>>2]=0;a[N+(k*20|0)+1>>0]=0}else k=zi($,97,0,_,0)|0;if(!(a[(c[$>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[P>>2]|0)+-1|0;Ai($,(c[$+88>>2]|0)+(k*20|0)|0,m,0)}m=c[f+8>>2]|0;N=(g|0)==0;if(!m)k=1;else{B=f+36|0;C=$+88|0;D=V+264|0;E=V+268|0;F=V+292|0;G=V+288|0;H=V+276|0;I=(V|0)==0;J=V+464|0;K=V+296|0;L=V+300|0;M=V+73|0;k=1;do{b:do if(N|(m|0)==(g|0)){k=(c[m+36>>2]|0)==0?0:k;o=a[m+55>>0]|0;if(!((c[B>>2]&32|0)!=0&(o&3)==2)){q=e[m+52>>1]|0;p=c[m>>2]|0;if(!(o&8))s=q;else s=e[m+50>>1]|0}else{q=e[m+50>>1]|0;s=q;p=c[f>>2]|0}A=s+-1|0;o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;z=c[C>>2]|0;a[z+(o*20|0)>>0]=97;b[z+(o*20|0)+2>>1]=0;c[z+(o*20|0)+4>>2]=0;c[z+(o*20|0)+8>>2]=Z;c[z+(o*20|0)+12>>2]=0;c[z+(o*20|0)+16>>2]=0;a[z+(o*20|0)+1>>0]=0}else o=zi($,97,0,Z,0)|0;if(!(a[(c[$>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[P>>2]|0)+-1|0;Ai($,(c[C>>2]|0)+(o*20|0)|0,p,0)}p=c[T>>2]|0;o=A+S|0;c[T>>2]=(p|0)>(o|0)?p:o;o=c[m+44>>2]|0;p=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(p|0)){c[P>>2]=p+1;z=c[C>>2]|0;a[z+(p*20|0)>>0]=104;b[z+(p*20|0)+2>>1]=0;c[z+(p*20|0)+4>>2]=O;c[z+(p*20|0)+8>>2]=o;c[z+(p*20|0)+12>>2]=n;c[z+(p*20|0)+16>>2]=0;a[z+(p*20|0)+1>>0]=0}else zi($,104,O,o,n)|0;o=c[U>>2]|0;r=rk(d,m)|0;c:do if(r|0){p=c[o>>2]|0;if(!(a[p+73>>0]|0)){y=c[o+88>>2]|0;z=(c[o+136>>2]|0)+-1|0;a[y+(z*20|0)+1>>0]=-9;c[y+(z*20|0)+16>>2]=r;break}if(c[p+464>>2]|0)break;z=(c[r>>2]|0)+-1|0;c[r>>2]=z;if(z|0)break;o=c[r+12>>2]|0;do if(o|0){if(c[o+464>>2]|0){Lc(o,r);break c}p=r;if(p>>>0<(c[o+296>>2]|0)>>>0)break;if(p>>>0>=(c[o+300>>2]|0)>>>0)break;z=o+292|0;c[r>>2]=c[z>>2];c[z>>2]=r;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{z=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){p=o+1|0;c[P>>2]=p;z=c[C>>2]|0;a[z+(o*20|0)>>0]=67;b[z+(o*20|0)+2>>1]=0;c[z+(o*20|0)+4>>2]=q;c[z+(o*20|0)+8>>2]=X;c[z+(o*20|0)+12>>2]=0;c[z+(o*20|0)+16>>2]=0;a[z+(o*20|0)+1>>0]=0}else{zi($,67,q,X,0)|0;p=c[P>>2]|0}t=m+50|0;o=e[t>>1]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(p|0)){z=p+1|0;c[P>>2]=z;y=c[C>>2]|0;a[y+(p*20|0)>>0]=67;b[y+(p*20|0)+2>>1]=0;c[y+(p*20|0)+4>>2]=o;c[y+(p*20|0)+8>>2]=aa;c[y+(p*20|0)+12>>2]=0;c[y+(p*20|0)+16>>2]=0;a[y+(p*20|0)+1>>0]=0;o=z}else{zi($,67,o,aa,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;z=c[C>>2]|0;a[z+(o*20|0)>>0]=-94;b[z+(o*20|0)+2>>1]=0;c[z+(o*20|0)+4>>2]=0;c[z+(o*20|0)+8>>2]=X;c[z+(o*20|0)+12>>2]=W;c[z+(o*20|0)+16>>2]=0;a[z+(o*20|0)+1>>0]=0}else o=zi($,162,0,X,W)|0;do if(!(a[(c[$>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[P>>2]|0)+-1|0;p=c[C>>2]|0;q=p+(o*20|0)+1|0;if(!(a[q>>0]|0)){c[p+(o*20|0)+16>>2]=4992;a[q>>0]=-8;break}else{Ai($,p+(o*20|0)|0,4992,-8);break}}while(0);o=c[P>>2]|0;if((o|0)>0)b[(c[C>>2]|0)+((o+-1|0)*20|0)+2>>1]=2;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){y=o+1|0;c[P>>2]=y;z=c[C>>2]|0;a[z+(o*20|0)>>0]=37;b[z+(o*20|0)+2>>1]=0;c[z+(o*20|0)+4>>2]=O;c[z+(o*20|0)+8>>2]=0;c[z+(o*20|0)+12>>2]=0;c[z+(o*20|0)+16>>2]=0;a[z+(o*20|0)+1>>0]=0;z=o;o=y}else{z=zi($,37,O,0,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){y=o+1|0;c[P>>2]=y;x=c[C>>2]|0;a[x+(o*20|0)>>0]=67;b[x+(o*20|0)+2>>1]=0;c[x+(o*20|0)+4>>2]=0;c[x+(o*20|0)+8>>2]=X;c[x+(o*20|0)+12>>2]=0;c[x+(o*20|0)+16>>2]=0;a[x+(o*20|0)+1>>0]=0;o=y}else{zi($,67,0,X,0)|0;o=c[P>>2]|0}d:do if(s>>>0>1){o=c[Q>>2]|0;s=o+68|0;y=c[s>>2]|0;c[s>>2]=y+1;s=o+72|0;if(!(y+-1&y)){p=c[o>>2]|0;q=c[s>>2]|0;o=Mc(p,q,y<<3|4,0)|0;e:do if(!((q|0)==0|(o|0)!=0)){do if(p|0){if(c[p+464>>2]|0){Lc(p,q);break e}r=q;if(r>>>0<(c[p+296>>2]|0)>>>0)break;if(r>>>0>=(c[p+300>>2]|0)>>>0)break;x=p+292|0;c[q>>2]=c[x>>2];c[x>>2]=q;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{x=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[s>>2]=o}else o=c[s>>2]|0;if(o|0)c[o+(y<<2)>>2]=-1;w=~y;p=A<<2;f:do if(c[D>>2]|0)if(!(a[M>>0]|0))R=103;else break b;else{do if(0<0|(0==0?(e[E>>1]|0)>>>0

    >>0:0))o=1;else{o=c[F>>2]|0;if(o|0){c[F>>2]=c[o>>2];c[H>>2]=(c[H>>2]|0)+1;x=o;break f}o=c[G>>2]|0;if(!o){o=2;break}c[G>>2]=c[o>>2];c[H>>2]=(c[H>>2]|0)+1;x=o;break f}while(0);R=V+276+(o<<2)|0;c[R>>2]=(c[R>>2]|0)+1;R=103}while(0);if((R|0)==103){R=0;x=Ec(V,p,0)|0}if(!x)break b;o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;p=c[C>>2]|0;a[p+(o*20|0)>>0]=13;o=p+(o*20|0)+1|0;p=o+19|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0))}else zi($,13,0,0,0)|0;r=c[P>>2]|0;do if((A|0)==1){if((b[t>>1]|0)!=1)break;if(!(a[m+54>>0]|0))break;if((c[(c[Q>>2]|0)+48>>2]|0)>(r|0)){c[P>>2]=r+1;v=c[C>>2]|0;a[v+(r*20|0)>>0]=51;b[v+(r*20|0)+2>>1]=0;c[v+(r*20|0)+4>>2]=S;c[v+(r*20|0)+8>>2]=w;c[v+(r*20|0)+12>>2]=0;c[v+(r*20|0)+16>>2]=0;a[v+(r*20|0)+1>>0]=0;break}else{zi($,51,S,w,0)|0;break}}while(0);v=m+32|0;u=0;do{o=c[(c[v>>2]|0)+(u<<2)>>2]|0;q=c[d>>2]|0;p=a[q+70>>0]|0;t=a[q+157>>0]|0;q=Pi(q,p,o,t&255)|0;do if(!(t<<24>>24)){if(q|0?c[q+12>>2]|0:0)break;q=Qi(d,p,q,o)|0}while(0);o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){t=o+1|0;c[P>>2]=t;s=c[C>>2]|0;a[s+(o*20|0)>>0]=67;b[s+(o*20|0)+2>>1]=0;c[s+(o*20|0)+4>>2]=u;c[s+(o*20|0)+8>>2]=X;c[s+(o*20|0)+12>>2]=0;c[s+(o*20|0)+16>>2]=0;a[s+(o*20|0)+1>>0]=0;o=t}else{zi($,67,u,X,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){p=o+1|0;c[P>>2]=p;t=c[C>>2]|0;a[t+(o*20|0)>>0]=96;b[t+(o*20|0)+2>>1]=0;c[t+(o*20|0)+4>>2]=O;c[t+(o*20|0)+8>>2]=u;c[t+(o*20|0)+12>>2]=aa;c[t+(o*20|0)+16>>2]=0;a[t+(o*20|0)+1>>0]=0}else{zi($,96,O,u,aa)|0;p=c[P>>2]|0}o=u+S|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(p|0)){c[P>>2]=p+1;t=c[C>>2]|0;a[t+(p*20|0)>>0]=52;b[t+(p*20|0)+2>>1]=0;c[t+(p*20|0)+4>>2]=aa;c[t+(p*20|0)+8>>2]=0;c[t+(p*20|0)+12>>2]=o;c[t+(p*20|0)+16>>2]=0;a[t+(p*20|0)+1>>0]=0}else p=zi($,52,aa,0,o)|0;do if(!(a[(c[$>>2]|0)+73>>0]|0)){if((p|0)<0)o=(c[P>>2]|0)+-1|0;else o=p;s=c[C>>2]|0;t=s+(o*20|0)+1|0;if(a[t>>0]|0){Ai($,s+(o*20|0)|0,q,-2);break}if(!q)break;c[s+(o*20|0)+16>>2]=q;a[t>>0]=-2}while(0);c[x+(u<<2)>>2]=p;o=c[P>>2]|0;if((o|0)>0)b[(c[C>>2]|0)+((o+-1|0)*20|0)+2>>1]=128;u=u+1|0}while((u|0)<(A|0));if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){v=o+1|0;c[P>>2]=v;u=c[C>>2]|0;a[u+(o*20|0)>>0]=67;b[u+(o*20|0)+2>>1]=0;c[u+(o*20|0)+4>>2]=A;c[u+(o*20|0)+8>>2]=X;c[u+(o*20|0)+12>>2]=0;c[u+(o*20|0)+16>>2]=0;a[u+(o*20|0)+1>>0]=0;o=v}else{zi($,67,A,X,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){q=o+1|0;c[P>>2]=q;v=c[C>>2]|0;a[v+(o*20|0)>>0]=13;b[v+(o*20|0)+2>>1]=0;c[v+(o*20|0)+4>>2]=0;c[v+(o*20|0)+8>>2]=w;c[v+(o*20|0)+12>>2]=0;c[v+(o*20|0)+16>>2]=0;a[v+(o*20|0)+1>>0]=0}else{zi($,13,0,w,0)|0;q=c[P>>2]|0}p=a[(c[$>>2]|0)+73>>0]|0;if(!(p<<24>>24))o=(c[C>>2]|0)+((((r|0)<1?q:r)+-1|0)*20|0)|0;else o=46708;c[o+8>>2]=q;o=0;s=q;while(1){q=c[x+(o<<2)>>2]|0;if(!(p<<24>>24))p=(c[C>>2]|0)+(((q|0)<0?s+-1|0:q)*20|0)|0;else p=46708;c[p+8>>2]=s;p=o+S|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(s|0)){c[P>>2]=s+1;w=c[C>>2]|0;a[w+(s*20|0)>>0]=96;b[w+(s*20|0)+2>>1]=0;c[w+(s*20|0)+4>>2]=O;c[w+(s*20|0)+8>>2]=o;c[w+(s*20|0)+12>>2]=p;c[w+(s*20|0)+16>>2]=0;a[w+(s*20|0)+1>>0]=0}else zi($,96,O,o,p)|0;o=o+1|0;if((o|0)>=(A|0))break;p=a[(c[$>>2]|0)+73>>0]|0;s=c[P>>2]|0}o=c[(c[Q>>2]|0)+72>>2]|0;if(o|0)c[o+(y<<2)>>2]=c[P>>2];do if(!I){if(c[J>>2]|0){Lc(V,x);break d}o=x;if(o>>>0<(c[K>>2]|0)>>>0)break;if(o>>>0>=(c[L>>2]|0)>>>0)break;c[x>>2]=c[F>>2];c[F>>2]=x;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](x);break}else{A=jb[c[64>>2]&255](x)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](x);break}}else r=o;while(0);o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;A=c[C>>2]|0;a[A+(o*20|0)>>0]=-94;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=1;c[A+(o*20|0)+8>>2]=W;c[A+(o*20|0)+12>>2]=aa;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0}else o=zi($,162,1,W,aa)|0;do if(!(a[(c[$>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[P>>2]|0)+-1|0;p=c[C>>2]|0;q=p+(o*20|0)+1|0;if(!(a[q>>0]|0)){c[p+(o*20|0)+16>>2]=5020;a[q>>0]=-8;break}else{Ai($,p+(o*20|0)|0,5020,-8);break}}while(0);o=c[P>>2]|0;if((o|0)>0)b[(c[C>>2]|0)+((o+-1|0)*20|0)+2>>1]=2;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){A=o+1|0;c[P>>2]=A;y=c[C>>2]|0;a[y+(o*20|0)>>0]=7;b[y+(o*20|0)+2>>1]=0;c[y+(o*20|0)+4>>2]=O;c[y+(o*20|0)+8>>2]=r;c[y+(o*20|0)+12>>2]=0;c[y+(o*20|0)+16>>2]=0;a[y+(o*20|0)+1>>0]=0;o=A}else{zi($,7,O,r,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;A=c[C>>2]|0;a[A+(o*20|0)>>0]=-94;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=0;c[A+(o*20|0)+8>>2]=W;c[A+(o*20|0)+12>>2]=Y;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0}else o=zi($,162,0,W,Y)|0;do if(!(a[(c[$>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[P>>2]|0)+-1|0;p=c[C>>2]|0;q=p+(o*20|0)+1|0;if(!(a[q>>0]|0)){c[p+(o*20|0)+16>>2]=5048;a[q>>0]=-8;break}else{Ai($,p+(o*20|0)|0,5048,-8);break}}while(0);o=c[P>>2]|0;if((o|0)>0)b[(c[C>>2]|0)+((o+-1|0)*20|0)+2>>1]=1;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){c[P>>2]=o+1;A=c[C>>2]|0;a[A+(o*20|0)>>0]=99;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=_;c[A+(o*20|0)+8>>2]=3;c[A+(o*20|0)+12>>2]=aa;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0}else o=zi($,99,_,3,aa)|0;if(!(a[(c[$>>2]|0)+73>>0]|0)){if((o|0)<0)o=(c[P>>2]|0)+-1|0;Ai($,(c[C>>2]|0)+(o*20|0)|0,29215,0)}o=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){A=o+1|0;c[P>>2]=A;y=c[C>>2]|0;a[y+(o*20|0)>>0]=115;b[y+(o*20|0)+2>>1]=0;c[y+(o*20|0)+4>>2]=h;c[y+(o*20|0)+8>>2]=i;c[y+(o*20|0)+12>>2]=0;c[y+(o*20|0)+16>>2]=0;a[y+(o*20|0)+1>>0]=0;o=A}else{zi($,115,h,i,0)|0;o=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(o|0)){p=o+1|0;c[P>>2]=p;A=c[C>>2]|0;a[A+(o*20|0)>>0]=116;b[A+(o*20|0)+2>>1]=0;c[A+(o*20|0)+4>>2]=h;c[A+(o*20|0)+8>>2]=aa;c[A+(o*20|0)+12>>2]=i;c[A+(o*20|0)+16>>2]=0;a[A+(o*20|0)+1>>0]=0}else{zi($,116,h,aa,i)|0;p=c[P>>2]|0}if((p|0)>0)b[(c[C>>2]|0)+((p+-1|0)*20|0)+2>>1]=8;if(!(a[(c[$>>2]|0)+73>>0]|0))o=(c[C>>2]|0)+(((z|0)<0?p+-1|0:z)*20|0)|0;else o=46708;c[o+8>>2]=p}while(0);m=c[m+20>>2]|0}while((m|0)!=0)}if(k<<24>>24==0|N^1){l=ba;return}k=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){X=k+1|0;c[P>>2]=X;W=c[$+88>>2]|0;a[W+(k*20|0)>>0]=100;b[W+(k*20|0)+2>>1]=0;c[W+(k*20|0)+4>>2]=j;c[W+(k*20|0)+8>>2]=Y;c[W+(k*20|0)+12>>2]=0;c[W+(k*20|0)+16>>2]=0;a[W+(k*20|0)+1>>0]=0;k=X}else{zi($,100,j,Y,0)|0;k=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){j=k+1|0;c[P>>2]=j;n=c[$+88>>2]|0;a[n+(k*20|0)>>0]=22;b[n+(k*20|0)+2>>1]=0;c[n+(k*20|0)+4>>2]=Y;c[n+(k*20|0)+8>>2]=0;c[n+(k*20|0)+12>>2]=0;c[n+(k*20|0)+16>>2]=0;a[n+(k*20|0)+1>>0]=0;n=k;k=j}else{n=zi($,22,Y,0,0)|0;k=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){Y=k+1|0;c[P>>2]=Y;j=c[$+88>>2]|0;a[j+(k*20|0)>>0]=70;b[j+(k*20|0)+2>>1]=0;c[j+(k*20|0)+4>>2]=0;c[j+(k*20|0)+8>>2]=Z;c[j+(k*20|0)+12>>2]=0;c[j+(k*20|0)+16>>2]=0;a[j+(k*20|0)+1>>0]=0;k=Y}else{zi($,70,0,Z,0)|0;k=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){c[P>>2]=k+1;Z=c[$+88>>2]|0;a[Z+(k*20|0)>>0]=99;b[Z+(k*20|0)+2>>1]=0;c[Z+(k*20|0)+4>>2]=_;c[Z+(k*20|0)+8>>2]=3;c[Z+(k*20|0)+12>>2]=aa;c[Z+(k*20|0)+16>>2]=0;a[Z+(k*20|0)+1>>0]=0}else k=zi($,99,_,3,aa)|0;if(!(a[(c[$>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[P>>2]|0)+-1|0;Ai($,(c[$+88>>2]|0)+(k*20|0)|0,29215,0)}k=c[P>>2]|0;if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){_=k+1|0;c[P>>2]=_;Z=c[$+88>>2]|0;a[Z+(k*20|0)>>0]=115;b[Z+(k*20|0)+2>>1]=0;c[Z+(k*20|0)+4>>2]=h;c[Z+(k*20|0)+8>>2]=i;c[Z+(k*20|0)+12>>2]=0;c[Z+(k*20|0)+16>>2]=0;a[Z+(k*20|0)+1>>0]=0;k=_}else{zi($,115,h,i,0)|0;k=c[P>>2]|0}if((c[(c[Q>>2]|0)+48>>2]|0)>(k|0)){m=k+1|0;c[P>>2]=m;_=c[$+88>>2]|0;a[_+(k*20|0)>>0]=116;b[_+(k*20|0)+2>>1]=0;c[_+(k*20|0)+4>>2]=h;c[_+(k*20|0)+8>>2]=aa;c[_+(k*20|0)+12>>2]=i;c[_+(k*20|0)+16>>2]=0;a[_+(k*20|0)+1>>0]=0}else{zi($,116,h,aa,i)|0;m=c[P>>2]|0}if((m|0)>0)b[(c[$+88>>2]|0)+((m+-1|0)*20|0)+2>>1]=8;if(!(a[(c[$>>2]|0)+73>>0]|0))k=(c[$+88>>2]|0)+(((n|0)<0?m+-1|0:n)*20|0)|0;else k=46708;c[k+8>>2]=m;l=ba;return}function qk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;l=c[b+120>>2]|0;l=(l|0)==0?b:l;if((d|0)==1)return;if(!(a[(c[(c[(c[b>>2]|0)+16>>2]|0)+(d<<4)+4>>2]|0)+9>>0]|0))return;i=l+108|0;h=c[i>>2]|0;j=l+112|0;k=c[j>>2]|0;a:do if((h|0)>0){b=0;while(1){if((c[k+(b<<4)>>2]|0)==(d|0)?(c[k+(b<<4)+4>>2]|0)==(e|0):0)break;b=b+1|0;if((b|0)>=(h|0))break a}g=k+(b<<4)+8|0;a[g>>0]=(a[g>>0]|f)<<24>>24!=0&1;return}while(0);h=(h<<4)+16|0;b=c[l>>2]|0;h=Mc(b,k,h,((h|0)<0)<<31>>31)|0;do if(!((k|0)==0|(h|0)!=0)){if(b|0){if(c[b+464>>2]|0){Lc(b,k);break}m=k;if(m>>>0>=(c[b+296>>2]|0)>>>0?m>>>0<(c[b+300>>2]|0)>>>0:0){m=b+292|0;c[k>>2]=c[m>>2];c[m>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{m=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[j>>2]=h;if(h|0){m=c[i>>2]|0;c[i>>2]=m+1;c[h+(m<<4)>>2]=d;c[h+(m<<4)+4>>2]=e;a[h+(m<<4)+8>>0]=f;c[h+(m<<4)+12>>2]=g;return}c[i>>2]=0;b=c[l>>2]|0;h=b+73|0;if(a[h>>0]|0)return;if(a[b+74>>0]|0)return;a[h>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;m=b+264|0;c[m>>2]=(c[m>>2]|0)+1;return}function rk(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;i=b[f+52>>1]|0;n=i&65535;h=e[f+50>>1]|0;o=d+36|0;if(c[o>>2]|0){o=0;return o|0}g=c[d>>2]|0;if(!(a[f+55>>0]&8))m=wk(g,n,0)|0;else m=wk(g,h,n-h|0)|0;if(!m){o=0;return o|0}if(i<<16>>16){l=f+32|0;j=f+28|0;k=m+16|0;f=0;do{h=c[(c[l>>2]|0)+(f<<2)>>2]|0;do if((h|0)!=22091){g=c[d>>2]|0;i=a[g+70>>0]|0;p=a[g+157>>0]|0;g=Pi(g,i,h,p&255)|0;if(!(p<<24>>24)){if(g|0?c[g+12>>2]|0:0)break;g=Qi(d,i,g,h)|0}}else g=0;while(0);c[m+20+(f<<2)>>2]=g;a[(c[k>>2]|0)+f>>0]=a[(c[j>>2]|0)+f>>0]|0;f=f+1|0}while((f|0)!=(n|0))}if(!(c[o>>2]|0)){p=m;return p|0}p=(c[m>>2]|0)+-1|0;c[m>>2]=p;if(p|0){p=0;return p|0}g=c[m+12>>2]|0;if(g|0){if(c[g+464>>2]|0){Lc(g,m);p=0;return p|0}p=m;if(p>>>0>=(c[g+296>>2]|0)>>>0?p>>>0<(c[g+300>>2]|0)>>>0:0){p=g+292|0;c[m>>2]=c[p>>2];c[p>>2]=m;p=0;return p|0}}if(!(c[2]|0)){pb[c[56>>2]&255](m);p=0;return p|0}else{p=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);p=0;return p|0}return 0}function sk(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;n=o+8|0;i=o;k=ff(c[f>>2]|0)|0;m=k+12|0;h=((c[m>>2]|0)*25|0)+25|0;g=Ft(h|0,((h|0)<0)<<31>>31|0,-1,-1)|0;f=z;do if(!(f>>>0>0|(f|0)==0&g>>>0>2147483390)){if(!(c[2]|0)){e=jb[c[52>>2]&255](h)|0;if(!e)break;else j=12}else{e=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){p=c[11822]|0;g=Gt(f|0,g|0,e|0,((e|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&p>>>0>=g>>>0)&1}e=jb[c[52>>2]&255](e)|0;if(!e)break;f=jb[c[64>>2]&255](e)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;Vt(e|0,0,h|0)|0}else j=12}if((j|0)==12)Vt(e|0,0,h|0)|0;p=i;c[p>>2]=c[k>>2];c[p+4>>2]=0;wd(24,e,29228,i)|0;if((c[m>>2]|0)>0){i=k+24|0;g=0;h=e+((As(e)|0)&1073741823)|0;while(1){j=(c[(c[i>>2]|0)+(g<<2)>>2]|0)+1|0;p=c[k>>2]|0;f=Ft(j|0,0,-1,-1)|0;p=Ft(f|0,z|0,p|0,0)|0;j=Nt(p|0,z|0,j|0,0)|0;p=n;c[p>>2]=j;c[p+4>>2]=z;wd(24,h,29233,n)|0;if(!h)f=0;else f=(As(h)|0)&1073741823;g=g+1|0;if((g|0)>=(c[m>>2]|0))break;else h=h+f|0}}if((Ve(c[d>>2]|0,e,-1,1,148)|0)!=18){l=o;return}c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;l=o;return}while(0);e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else{Ye(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;e=c[e+32>>2]|0;f=e+73|0;if(a[f>>0]|0){l=o;return}if(a[e+74>>0]|0){l=o;return}a[f>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;p=e+264|0;c[p>>2]=(c[p>>2]|0)+1;l=o;return}function tk(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,i=0,j=0;j=ff(c[f>>2]|0)|0;b=c[f+4>>2]|0;d=e[b+8>>1]|0;do if(!(d&4)){if(d&8|0){i=Gc(+h[b>>3])|0;break}if(!(d&18))i=0;else i=Hc(a[b+10>>0]|0,c[b+12>>2]|0,c[b+16>>2]|0)|0}else i=c[b>>2]|0;while(0);if(!(c[j>>2]|0)){d=j+8|0;if((c[d>>2]|0)<=0){i=c[j>>2]|0;i=i+1|0;c[j>>2]=i;return}f=c[j+20>>2]|0;b=0;do{c[f+(b<<2)>>2]=1;b=b+1|0}while((b|0)<(c[d>>2]|0));i=c[j>>2]|0;i=i+1|0;c[j>>2]=i;return}if((i|0)>0){d=c[j+20>>2]|0;b=0;do{g=d+(b<<2)|0;c[g>>2]=(c[g>>2]|0)+1;b=b+1|0}while((b|0)!=(i|0))}d=j+8|0;if((i|0)>=(c[d>>2]|0)){i=c[j>>2]|0;i=i+1|0;c[j>>2]=i;return}f=c[j+24>>2]|0;g=c[j+20>>2]|0;b=i;do{i=f+(b<<2)|0;c[i>>2]=(c[i>>2]|0)+1;c[g+(b<<2)>>2]=1;b=b+1|0}while((b|0)<(c[d>>2]|0));i=c[j>>2]|0;i=i+1|0;c[j>>2]=i;return}function uk(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;f=c[g>>2]|0;i=e[f+8>>1]|0;do if(!(i&4)){if(i&8|0){o=Gc(+h[f>>3])|0;break}if(!(i&18))o=0;else o=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0}else o=c[f>>2]|0;while(0);p=o+1&-2;f=c[g+4>>2]|0;i=e[f+8>>1]|0;do if(!(i&4)){if(i&8|0){l=Gc(+h[f>>3])|0;break}if(!(i&18))l=0;else l=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0}else l=c[f>>2]|0;while(0);m=(p<<3)+60|0;n=c[(c[d>>2]|0)+32>>2]|0;g=((m|0)<0)<<31>>31;do if(!n){g=Ft(m|0,g|0,-1,-1)|0;i=z;if(!(i>>>0>0|(i|0)==0&g>>>0>2147483390)){if(!(c[2]|0)){j=jb[c[52>>2]&255](m)|0;k=35;break}g=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;i=46456;f=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&f>>>0>0){q=c[11822]|0;i=Gt(f|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&q>>>0>=i>>>0)&1}f=jb[c[52>>2]&255](g)|0;if(f|0){i=jb[c[64>>2]&255](f)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;k=44}else k=44}}}else{if(c[n+264>>2]|0){if(a[n+73>>0]|0)break}else{if(!(0>>0|(0==(g|0)?(e[n+268>>1]|0)>>>0>>0:0))){f=n+292|0;i=c[f>>2]|0;if(i|0){c[f>>2]=c[i>>2];j=n+276|0;c[j>>2]=(c[j>>2]|0)+1;j=i;k=35;break}f=n+288|0;i=c[f>>2]|0;if(!i)f=2;else{c[f>>2]=c[i>>2];j=n+276|0;c[j>>2]=(c[j>>2]|0)+1;j=i;k=35;break}}else f=1;q=n+276+(f<<2)|0;c[q>>2]=(c[q>>2]|0)+1}j=Ec(n,m,g)|0;k=35}while(0);if((k|0)==35?j|0:0){f=j;k=44}if((k|0)==44){Vt(f|0,0,m|0)|0;c[f+56>>2]=n;c[f>>2]=0;c[f+8>>2]=o;c[f+12>>2]=l;q=f+60|0;c[f+24>>2]=q;c[f+20>>2]=q+(p<<2);if((Ve(c[d>>2]|0,f,60,0,150)|0)!=18)return;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;return}f=c[d>>2]|0;i=f+8|0;if(!(b[i>>1]&9312))b[i>>1]=1;else{Ye(f);f=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;f=c[f+32>>2]|0;i=f+73|0;if(a[i>>0]|0)return;if(a[f+74>>0]|0)return;a[i>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;q=f+264|0;c[q>>2]=(c[q>>2]|0)+1;return}function vk(a){a=a|0;var b=0,d=0;b=c[a+56>>2]|0;if(!a)return;if(b|0){if(c[b+464>>2]|0){Lc(b,a);return}d=a;if(d>>>0>=(c[b+296>>2]|0)>>>0?d>>>0<(c[b+300>>2]|0)>>>0:0){d=b+292|0;c[a>>2]=c[d>>2];c[d>>2]=a;return}}if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function wk(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;j=g+f|0;k=j*5|0;i=k+20|0;m=d+264|0;do if(c[m>>2]|0)if(!(a[d+73>>0]|0))l=9;else{d=0;return d|0}else{if(!(0<0|(0==0?(e[d+268>>1]|0)>>>0>>0:0))){g=d+292|0;h=c[g>>2]|0;if(h|0){c[g>>2]=c[h>>2];i=d+276|0;c[i>>2]=(c[i>>2]|0)+1;break}g=d+288|0;h=c[g>>2]|0;if(!h)g=2;else{c[g>>2]=c[h>>2];i=d+276|0;c[i>>2]=(c[i>>2]|0)+1;break}}else g=1;l=d+276+(g<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=9}while(0);if((l|0)==9)h=Ec(d,i,0)|0;if(h|0){c[h+16>>2]=h+20+(j<<2);b[h+6>>1]=f;b[h+8>>1]=j;a[h+4>>0]=a[d+70>>0]|0;c[h+12>>2]=d;c[h>>2]=1;Vt(h+24|0,0,k+-4|0)|0;d=h;return d|0}g=d+73|0;if(a[g>>0]|0){d=h;return d|0}if(a[d+74>>0]|0){d=h;return d|0}a[g>>0]=1;if((c[d+172>>2]|0)>0)c[d+256>>2]=1;c[m>>2]=(c[m>>2]|0)+1;d=h;return d|0}function xk(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=l;l=l+16|0;d=h+4|0;f=c[b>>2]|0;g=f+16|0;if(c[(c[g>>2]|0)+20>>2]|0){g=0;l=h;return g|0}if(a[b+399>>0]|0){g=0;l=h;return g|0}e=fg(c[f>>2]|0,0,f,d,0,542)|0;if(e|0){hg(b,21111,h);c[b+12>>2]=e;g=1;l=h;return g|0}e=c[d>>2]|0;c[(c[g>>2]|0)+20>>2]=e;if((yk(e,c[f+84>>2]|0,-1,0)|0)==7){zk(f);g=1;l=h;return g|0}else{g=0;l=h;return g|0}return 0}function yk(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=c[a+4>>2]|0;c[h+4>>2]=c[a>>2];g=h+22|0;if(b[g>>1]&2){h=8;return h|0}if((e|0)<0)e=(c[h+32>>2]|0)-(c[h+36>>2]|0)|0;if((d+-512|0)>>>0<65025?(d+-1&d|0)==0:0){c[h+32>>2]=d;Ak(h)}d=h+32|0;a=gg(c[h>>2]|0,d,e)|0;c[h+36>>2]=(c[d>>2]|0)-(e&65535);if(!f){h=a;return h|0}b[g>>1]=b[g>>1]|2;h=a;return h|0}function zk(b){b=b|0;var d=0;d=b+73|0;if(a[d>>0]|0)return;if(a[b+74>>0]|0)return;a[d>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;d=b+264|0;c[d>>2]=(c[d>>2]|0)+1;return}function Ak(a){a=a|0;var b=0,d=0;b=a+80|0;a=c[b>>2]|0;if(!a)return;a=a+-4|0;c[b>>2]=a;d=a;do if(!(d>>>0>=(c[11662]|0)>>>0&d>>>0<(c[11663]|0)>>>0)){d=jb[c[64>>2]&255](a)|0;c[11824]=(c[11824]|0)-d;if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}else{c[11823]=(c[11823]|0)+-1;c[a>>2]=c[11665];c[11665]=a;d=(c[11666]|0)+1|0;c[11666]=d;c[11667]=(d|0)<(c[11661]|0)&1}while(0);c[b>>2]=0;return}function Bk(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;E=d+8|0;G=c[E>>2]|0;if(i|0){q=e+36|0;if(c[q>>2]|0){l=c[G+12>>2]|0;o=l+68|0;p=c[o>>2]|0;c[o>>2]=p+1;o=l+72|0;if(!(p+-1&p)){m=c[l>>2]|0;n=c[o>>2]|0;l=Mc(m,n,p<<3|4,0)|0;do if(!((n|0)==0|(l|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}D=n;if(D>>>0>=(c[m+296>>2]|0)>>>0?D>>>0<(c[m+300>>2]|0)>>>0:0){D=m+292|0;c[n>>2]=c[D>>2];c[D>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{D=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-D;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=l}else l=c[o>>2]|0;if(l|0)c[l+(p<<2)>>2]=-1;c[i>>2]=~p;o=d+56|0;c[o>>2]=f+1;l=d+60|0;c[l>>2]=(c[l>>2]|0)+1;l=c[q>>2]|0;m=c[i>>2]|0;n=c[d>>2]|0;if(!l)i=0;else i=sj(n,l,0,0)|0;if(!(a[n+73>>0]|0))Dk(d,i,m,16);if(!i)i=o;else{Qf(n,i);i=o}}c[i>>2]=0}if((h|0)!=0?(a[e+55>>0]&8)!=0:0)i=e+50|0;else i=e+52|0;o=b[i>>1]|0;D=o&65535;t=o<<16>>16==1;do if(t){i=d+19|0;l=a[i>>0]|0;if(!(l<<24>>24)){s=d+44|0;C=(c[s>>2]|0)+1|0;c[s>>2]=C;break}else{C=l+-1<<24>>24;a[i>>0]=C;C=c[d+348+((C&255)<<2)>>2]|0;break}}else{i=d+32|0;l=c[i>>2]|0;m=d+28|0;n=c[m>>2]|0;if((n|0)<(D|0)){s=d+44|0;C=c[s>>2]|0;c[s>>2]=C+D;C=C+1|0;break}else{c[i>>2]=l+D;c[m>>2]=n-D;C=l;break}}while(0);do if(!j)i=0;else{if((C|0)==(k|0)?(c[j+36>>2]|0)==0:0){i=j;break}i=0}while(0);a:do if(o<<16>>16){p=e+4|0;q=f+1|0;h=d+56|0;j=e+40|0;k=G+136|0;r=G+88|0;s=e+12|0;o=i+4|0;if(!i){n=0;while(1){m=n+C|0;i=b[(c[p>>2]|0)+(n<<1)>>1]|0;if(i<<16>>16==-2){c[h>>2]=q;i=c[(c[j>>2]|0)+4+(n*20|0)>>2]|0;l=c[d>>2]|0;if(!i)i=0;else i=sj(l,i,0,0)|0;if(!(a[l+73>>0]|0))Di(d,i,m);if(i|0)Qf(l,i);c[h>>2]=0}else Ek(c[E>>2]|0,c[s>>2]|0,f,i<<16>>16,m);i=c[k>>2]|0;if(((i|0)>0?(u=c[r>>2]|0,v=i+-1|0,w=u+(v*20|0)|0,(a[w>>0]|0)==81):0)?(x=c[G>>2]|0,(a[x+73>>0]|0)==0):0){A=u+(v*20|0)+1|0;B=u+(v*20|0)+16|0;Wf(x,a[A>>0]|0,c[B>>2]|0);a[A>>0]=0;c[B>>2]=0;a[w>>0]=-90}n=n+1|0;if((n|0)==(D|0))break a}}else n=0;do{x=b[(c[o>>2]|0)+(n<<1)>>1]|0;i=b[(c[p>>2]|0)+(n<<1)>>1]|0;if(x<<16>>16==-2?1:x<<16>>16!=i<<16>>16){m=n+C|0;if(i<<16>>16==-2){c[h>>2]=q;i=c[(c[j>>2]|0)+4+(n*20|0)>>2]|0;l=c[d>>2]|0;if(!i)i=0;else i=sj(l,i,0,0)|0;if(!(a[l+73>>0]|0))Di(d,i,m);if(i|0)Qf(l,i);c[h>>2]=0}else Ek(c[E>>2]|0,c[s>>2]|0,f,i<<16>>16,m);i=c[k>>2]|0;if(((i|0)>0?(y=c[r>>2]|0,z=i+-1|0,A=y+(z*20|0)|0,(a[A>>0]|0)==81):0)?(B=c[G>>2]|0,(a[B+73>>0]|0)==0):0){w=y+(z*20|0)+1|0;x=y+(z*20|0)+16|0;Wf(B,a[w>>0]|0,c[x>>2]|0);a[w>>0]=0;c[x>>2]=0;a[A>>0]=-90}}n=n+1|0}while((n|0)!=(D|0))}while(0);if(g|0){i=G+136|0;l=c[i>>2]|0;if((c[(c[G+12>>2]|0)+48>>2]|0)>(l|0)){c[i>>2]=l+1;E=c[G+88>>2]|0;a[E+(l*20|0)>>0]=99;b[E+(l*20|0)+2>>1]=0;c[E+(l*20|0)+4>>2]=C;c[E+(l*20|0)+8>>2]=D;c[E+(l*20|0)+12>>2]=g;c[E+(l*20|0)+16>>2]=0;a[E+(l*20|0)+1>>0]=0}else zi(G,99,C,D,g)|0;if(c[(c[e+12>>2]|0)+12>>2]|0?(F=Fk(c[d>>2]|0,e)|0,(a[(c[G>>2]|0)+73>>0]|0)==0):0)Ai(G,(c[G+88>>2]|0)+(((c[i>>2]|0)+-1|0)*20|0)|0,F,0)}if(t){if(!C)return C|0;n=d+19|0;o=a[n>>0]|0;if((o&255)>=8)return C|0;i=a[d+25>>0]|0;b:do if(i<<24>>24){m=i&255;i=0;l=d+148|0;while(1){if((c[l+12>>2]|0)==(C|0))break;i=i+1|0;if((i|0)>=(m|0))break b;else l=l+20|0}a[l+6>>0]=1;return C|0}while(0);a[n>>0]=o+1<<24>>24;c[d+348+((o&255)<<2)>>2]=C;return C|0}q=d+25|0;i=a[q>>0]|0;c:do if(i<<24>>24){h=C+D|0;j=d+19|0;p=0;do{m=d+148+(p*20|0)+12|0;n=d+148+(p*20|0)|0;o=d+148+(p*20|0)+6|0;while(1){l=c[m>>2]|0;if(!((l|0)>=(C|0)&(l|0)<(h|0)))break;if(a[o>>0]|0?(H=a[j>>0]|0,(H&255)<8):0){a[j>>0]=H+1<<24>>24;c[d+348+((H&255)<<2)>>2]=l}i=i+-1<<24>>24;a[q>>0]=i;l=i&255;if((l|0)>(p|0)){i=d+148+(l*20|0)|0;c[n>>2]=c[i>>2];c[n+4>>2]=c[i+4>>2];c[n+8>>2]=c[i+8>>2];c[n+12>>2]=c[i+12>>2];c[n+16>>2]=c[i+16>>2];i=a[q>>0]|0}if((p|0)>=(i&255|0))break c}p=p+1|0}while((p|0)<(i&255|0))}while(0);i=d+28|0;if((c[i>>2]|0)>=(D|0))return C|0;c[i>>2]=D;c[d+32>>2]=C;return C|0}function Ck(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+32|0;h=y;v=y+8|0;r=c[g+12>>2]|0;s=c[d>>2]|0;w=v+4|0;c[w>>2]=0;c[v>>2]=s;s=v+8|0;c[s>>2]=0;x=v+12|0;c[x>>2]=200;t=v+16|0;c[t>>2]=0;a[v+20>>0]=0;u=v+21|0;a[u>>0]=0;if(!(c[g+40>>2]|0)){n=g+50|0;if(b[n>>1]|0){o=r+4|0;p=g+4|0;m=0;do{q=c[(c[o>>2]|0)+(b[(c[p>>2]|0)+(m<<1)>>1]<<4)>>2]|0;do if(m|0){h=c[t>>2]|0;i=h+2|0;if(i>>>0<(c[s>>2]|0)>>>0){c[t>>2]=i;k=(c[w>>2]|0)+h|0;a[k>>0]=44;a[k+1>>0]=32;break}else{Fc(v,29345,2);break}}while(0);i=c[r>>2]|0;if(!i)h=0;else h=(As(i)|0)&1073741823;j=c[t>>2]|0;k=j+h|0;if(k>>>0<(c[s>>2]|0)>>>0){if(h|0){c[t>>2]=k;Tt((c[w>>2]|0)+j|0,i|0,h|0)|0}}else Fc(v,i,h);h=c[t>>2]|0;i=h+1|0;if(i>>>0<(c[s>>2]|0)>>>0){c[t>>2]=i;a[(c[w>>2]|0)+h>>0]=46}else Fc(v,17318,1);if(!q)h=0;else h=(As(q)|0)&1073741823;i=c[t>>2]|0;j=i+h|0;if(j>>>0<(c[s>>2]|0)>>>0){if(h|0){c[t>>2]=j;Tt((c[w>>2]|0)+i|0,q|0,h|0)|0}}else Fc(v,q,h);m=m+1|0}while((m|0)<(e[n>>1]|0))}}else{c[h>>2]=c[g>>2];mf(v,29334,h)}h=c[w>>2]|0;if(((h|0)!=0?(a[h+(c[t>>2]|0)>>0]=0,(c[x>>2]|0)!=0):0)?(a[u>>0]&4)==0:0)n=Dc(v)|0;else n=c[w>>2]|0;i=(a[g+55>>0]&3)==2?1555:2067;h=c[d+8>>2]|0;if(!h){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;m=yi(d)|0}else m=h;if((f|0)==2){g=c[d+120>>2]|0;a[((g|0)==0?d:g)+21>>0]=1}k=m+136|0;h=c[k>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;d=c[m+88>>2]|0;a[d+(h*20|0)>>0]=66;b[d+(h*20|0)+2>>1]=0;c[d+(h*20|0)+4>>2]=i;c[d+(h*20|0)+8>>2]=f;c[d+(h*20|0)+12>>2]=0;c[d+(h*20|0)+16>>2]=0;a[d+(h*20|0)+1>>0]=0}else h=zi(m,66,i,f,0)|0;i=c[m>>2]|0;do if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[k>>2]|0)+-1|0;i=c[m+88>>2]|0;j=i+(h*20|0)+1|0;if(a[j>>0]|0){Ai(m,i+(h*20|0)|0,n,-7);break}if(n|0){c[i+(h*20|0)+16>>2]=n;a[j>>0]=-7}}else if(n|0){if(i|0){if(c[i+464>>2]|0){Lc(i,n);break}f=n;if(f>>>0>=(c[i+296>>2]|0)>>>0?f>>>0<(c[i+300>>2]|0)>>>0:0){f=i+292|0;c[n>>2]=c[f>>2];c[f>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{f=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);h=c[k>>2]|0;if((h|0)<=0){l=y;return}b[(c[m+88>>2]|0)+((h+-1|0)*20|0)+2>>1]=2;l=y;return}function Dk(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;n=x+8|0;t=x+4|0;w=x;r=c[d+8>>2]|0;c[t>>2]=0;c[w>>2]=0;if((e|0)==0|(r|0)==0){l=x;return}h=a[e>>0]|0;j=h^1;k=j&255;a:do switch(h<<24>>24){case 44:{Dk(d,c[e+12>>2]|0,f,g);o=d+60|0;c[o>>2]=(c[o>>2]|0)+1;Dk(d,c[e+16>>2]|0,f,g);g=(c[o>>2]|0)+-1|0;c[o>>2]=g;e=d+25|0;h=a[e>>0]|0;if(h<<24>>24){f=d+19|0;n=0;do{i=d+148+(n*20|0)+8|0;j=d+148+(n*20|0)|0;k=d+148+(n*20|0)+6|0;m=d+148+(n*20|0)+12|0;if((c[i>>2]|0)>(g|0))do{if(a[k>>0]|0?(p=a[f>>0]|0,(p&255)<8):0){r=c[m>>2]|0;a[f>>0]=p+1<<24>>24;c[d+348+((p&255)<<2)>>2]=r}h=h+-1<<24>>24;a[e>>0]=h;g=h&255;if((g|0)>(n|0)){h=d+148+(g*20|0)|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];c[j+16>>2]=c[h+16>>2];h=a[e>>0]|0}if((n|0)>=(h&255|0))break a;g=c[o>>2]|0}while((c[i>>2]|0)>(g|0));n=n+1|0}while((n|0)<(h&255|0))}break}case 43:{m=r+12|0;h=c[m>>2]|0;k=h+68|0;n=c[k>>2]|0;c[k>>2]=n+1;k=h+72|0;if(!(n+-1&n)){i=c[h>>2]|0;j=c[k>>2]|0;h=Mc(i,j,n<<3|4,0)|0;do if(!((j|0)==0|(h|0)!=0)){if(i|0){if(c[i+464>>2]|0){Lc(i,j);break}p=j;if(p>>>0>=(c[i+296>>2]|0)>>>0?p>>>0<(c[i+300>>2]|0)>>>0:0){p=i+292|0;c[j>>2]=c[p>>2];c[p>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{p=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[k>>2]=h}else h=c[k>>2]|0;if(h|0)c[h+(n<<2)>>2]=-1;Gk(d,c[e+12>>2]|0,~n,g^16);o=d+60|0;c[o>>2]=(c[o>>2]|0)+1;Dk(d,c[e+16>>2]|0,f,g);h=c[(c[m>>2]|0)+72>>2]|0;if(h|0)c[h+(n<<2)>>2]=c[r+136>>2];h=(c[o>>2]|0)+-1|0;c[o>>2]=h;e=d+25|0;g=a[e>>0]|0;if(g<<24>>24){f=d+19|0;n=0;do{i=d+148+(n*20|0)+8|0;j=d+148+(n*20|0)|0;k=d+148+(n*20|0)+6|0;m=d+148+(n*20|0)+12|0;if((c[i>>2]|0)>(h|0))do{if(a[k>>0]|0?(q=a[f>>0]|0,(q&255)<8):0){r=c[m>>2]|0;a[f>>0]=q+1<<24>>24;c[d+348+((q&255)<<2)>>2]=r}g=g+-1<<24>>24;a[e>>0]=g;h=g&255;if((h|0)>(n|0)){g=d+148+(h*20|0)|0;c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[j+16>>2]=c[g+16>>2];g=a[e>>0]|0}if((n|0)>=(g&255|0))break a;h=c[o>>2]|0}while((c[i>>2]|0)>(h|0));n=n+1|0}while((n|0)<(g&255|0))}break}case 19:{Gk(d,c[e+12>>2]|0,f,g);break}case -113:case 45:{g=128;i=h<<24>>24==45?52:53;s=44;break}case 53:case 52:case 57:case 54:case 55:case 56:{i=k;s=44;break}case 51:case 50:{h=Hk(d,c[e+12>>2]|0,t)|0;g=r+136|0;i=c[g>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(i|0)){c[g>>2]=i+1;r=c[r+88>>2]|0;a[r+(i*20|0)>>0]=j;b[r+(i*20|0)+2>>1]=0;c[r+(i*20|0)+4>>2]=h;c[r+(i*20|0)+8>>2]=f;c[r+(i*20|0)+12>>2]=0;c[r+(i*20|0)+16>>2]=0;a[r+(i*20|0)+1>>0]=0;break a}else{zi(r,k,h,f,0)|0;break a}}case 48:{Jk(d,e,f,133,g);break}case 49:{if(g|0){Kk(d,e,f,f);break a}k=r+12|0;h=c[k>>2]|0;j=h+68|0;m=c[j>>2]|0;c[j>>2]=m+1;j=h+72|0;if(!(m+-1&m)){g=c[h>>2]|0;i=c[j>>2]|0;h=Mc(g,i,m<<3|4,0)|0;do if(!((i|0)==0|(h|0)!=0)){if(g|0){if(c[g+464>>2]|0){Lc(g,i);break}q=i;if(q>>>0>=(c[g+296>>2]|0)>>>0?q>>>0<(c[g+300>>2]|0)>>>0:0){q=g+292|0;c[i>>2]=c[q>>2];c[q>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{q=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[j>>2]=h}else h=c[j>>2]|0;if(h|0)c[h+(m<<2)>>2]=-1;Kk(d,e,f,~m);h=c[(c[k>>2]|0)+72>>2]|0;if(h|0)c[h+(m<<2)>>2]=c[r+136>>2];break}default:s=74}while(0);do if((s|0)==44){j=e+12|0;k=c[j>>2]|0;h=a[k>>0]|0;if(h<<24>>24==-106)h=a[k+38>>0]|0;switch(h<<24>>24){case -105:{m=k+20|0;s=49;break}case 119:{m=c[k+20>>2]|0;s=49;break}default:{}}if((s|0)==49?(c[c[m>>2]>>2]|0)>1:0){s=74;break}q=Hk(d,k,t)|0;p=e+16|0;r=Hk(d,c[p>>2]|0,w)|0;Ik(d,c[j>>2]|0,c[p>>2]|0,i,q,r,f,g)}while(0);do if((s|0)==74){c[n>>2]=0;h=e+4|0;if((c[h>>2]&1|0)==0?(bk(e,n)|0)!=0:0){if(!(c[n>>2]|0)){h=r+136|0;g=c[h>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(g|0)){c[h>>2]=g+1;s=c[r+88>>2]|0;a[s+(g*20|0)>>0]=13;b[s+(g*20|0)+2>>1]=0;c[s+(g*20|0)+4>>2]=0;c[s+(g*20|0)+8>>2]=f;c[s+(g*20|0)+12>>2]=0;c[s+(g*20|0)+16>>2]=0;a[s+(g*20|0)+1>>0]=0;break}else{zi(r,13,0,f,0)|0;break}}}else s=76;c[n>>2]=0;if((c[h>>2]&1|0)==0?(bk(e,n)|0)!=0:0){if(c[n>>2]|0)break}else s=83;j=Hk(d,e,t)|0;h=(g|0)!=0&1;g=r+136|0;i=c[g>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(i|0)){c[g>>2]=i+1;s=c[r+88>>2]|0;a[s+(i*20|0)>>0]=22;b[s+(i*20|0)+2>>1]=0;c[s+(i*20|0)+4>>2]=j;c[s+(i*20|0)+8>>2]=f;c[s+(i*20|0)+12>>2]=h;c[s+(i*20|0)+16>>2]=0;a[s+(i*20|0)+1>>0]=0;break}else{zi(r,22,j,f,h)|0;break}}while(0);j=c[t>>2]|0;b:do if(j|0?(u=d+19|0,v=a[u>>0]|0,(v&255)<8):0){h=a[d+25>>0]|0;c:do if(h<<24>>24){i=h&255;h=0;g=d+148|0;while(1){if((c[g+12>>2]|0)==(j|0))break;h=h+1|0;if((h|0)>=(i|0))break c;else g=g+20|0}a[g+6>>0]=1;break b}while(0);a[u>>0]=v+1<<24>>24;c[d+348+((v&255)<<2)>>2]=j}while(0);j=c[w>>2]|0;if(!j){l=x;return}k=d+19|0;m=a[k>>0]|0;if((m&255)>=8){l=x;return}h=a[d+25>>0]|0;d:do if(h<<24>>24){i=h&255;h=0;g=d+148|0;while(1){if((c[g+12>>2]|0)==(j|0))break;h=h+1|0;if((h|0)>=(i|0))break d;else g=g+20|0}a[g+6>>0]=1;l=x;return}while(0);a[k>>0]=m+1<<24>>24;c[d+348+((m&255)<<2)>>2]=j;l=x;return}function Ek(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;p=r;if(!e){i=d+136|0;j=c[i>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;d=c[d+88>>2]|0;a[d+(j*20|0)>>0]=96;b[d+(j*20|0)+2>>1]=0;c[d+(j*20|0)+4>>2]=f;c[d+(j*20|0)+8>>2]=g;c[d+(j*20|0)+12>>2]=h;c[d+(j*20|0)+16>>2]=0;a[d+(j*20|0)+1>>0]=0;l=r;return}else{zi(d,96,f,g,h)|0;l=r;return}}do if((g|0)>=0?(b[e+40>>1]|0)!=(g|0):0){m=(c[e+56>>2]|0)!=0;n=m?157:96;if(m|(c[e+36>>2]&32|0)==0)i=g;else{i=c[e+8>>2]|0;a:do if(!i)i=0;else while(1){if((a[i+55>>0]&3)==2)break a;i=c[i+20>>2]|0;if(!i){i=0;break}}while(0);m=g&65535;j=b[i+52>>1]|0;b:do if(!(j<<16>>16))i=-1;else{k=c[i+4>>2]|0;j=j&65535;i=0;while(1){if((b[k+(i<<1)>>1]|0)==m<<16>>16)break b;i=i+1|0;if((i|0)>=(j|0)){i=-1;break}}}while(0);i=i<<16>>16}j=d+136|0;k=c[j>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;m=c[d+88>>2]|0;a[m+(k*20|0)>>0]=n;b[m+(k*20|0)+2>>1]=0;c[m+(k*20|0)+4>>2]=f;c[m+(k*20|0)+8>>2]=i;c[m+(k*20|0)+12>>2]=h;c[m+(k*20|0)+16>>2]=0;a[m+(k*20|0)+1>>0]=0;break}else{zi(d,n,f,i,h)|0;break}}else o=7;while(0);do if((o|0)==7){i=d+136|0;j=c[i>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;o=c[d+88>>2]|0;a[o+(j*20|0)>>0]=123;b[o+(j*20|0)+2>>1]=0;c[o+(j*20|0)+4>>2]=f;c[o+(j*20|0)+8>>2]=h;c[o+(j*20|0)+12>>2]=0;c[o+(j*20|0)+16>>2]=0;a[o+(j*20|0)+1>>0]=0;break}else{zi(d,123,f,h,0)|0;break}}while(0);if((g|0)<=-1){l=r;return}if(!(c[e+12>>2]|0)){c[p>>2]=0;m=c[d>>2]|0;i=e+4|0;k=c[i>>2]|0;j=c[k+(g<<4)+4>>2]|0;do if(j|0?(Dj(m,j,a[m+70>>0]|0,a[k+(g<<4)+13>>0]|0,p)|0,q=c[p>>2]|0,q|0):0){j=c[d>>2]|0;if(!(a[j+73>>0]|0)){f=c[d+88>>2]|0;p=(c[d+136>>2]|0)+-1|0;a[f+(p*20|0)+1>>0]=-11;c[f+(p*20|0)+16>>2]=q;break}if(c[j+464>>2]|0){Zf(j,q);break}if(!((b[q+8>>1]&9312)==0?!(c[q+24>>2]|0):0))af(q);j=c[q+32>>2]|0;if(j|0){if(c[j+464>>2]|0){Lc(j,q);break}p=q;if(p>>>0>=(c[j+296>>2]|0)>>>0?p>>>0<(c[j+300>>2]|0)>>>0:0){p=j+292|0;c[q>>2]=c[p>>2];c[p>>2]=q;break}}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{p=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0)}else i=e+4|0;if((a[(c[i>>2]|0)+(g<<4)+13>>0]|0)!=69){l=r;return}i=d+136|0;j=c[i>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;d=c[d+88>>2]|0;a[d+(j*20|0)>>0]=81;b[d+(j*20|0)+2>>1]=0;c[d+(j*20|0)+4>>2]=h;c[d+(j*20|0)+8>>2]=0;c[d+(j*20|0)+12>>2]=0;c[d+(j*20|0)+16>>2]=0;a[d+(j*20|0)+1>>0]=0;l=r;return}else{zi(d,81,h,0,0)|0;l=r;return}}function Fk(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;m=f+16|0;g=c[m>>2]|0;if(g|0){m=g;return m|0}k=c[f+12>>2]|0;l=f+52|0;g=(e[l>>1]|0)+1|0;do if(!(c[2]|0)){g=jb[c[52>>2]&255](g)|0;c[m>>2]=g;if(!g)j=17}else{i=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){n=c[11822]|0;h=Gt(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&n>>>0>=h>>>0)&1}g=jb[c[52>>2]&255](i)|0;if(!g){c[m>>2]=0;j=17;break}h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h;c[m>>2]=g}while(0);if((j|0)==17){g=d+73|0;if(a[g>>0]|0){n=0;return n|0}if(a[d+74>>0]|0){n=0;return n|0}a[g>>0]=1;if((c[d+172>>2]|0)>0)c[d+256>>2]=1;n=d+264|0;c[n>>2]=(c[n>>2]|0)+1;n=0;return n|0}if(!(b[l>>1]|0))h=0;else{j=f+4|0;d=k+4|0;i=f+40|0;h=0;do{g=b[(c[j>>2]|0)+(h<<1)>>1]|0;if(g<<16>>16<=-1)if(g<<16>>16==-1)g=68;else{g=Pj(c[(c[i>>2]|0)+4+(h*20|0)>>2]|0)|0;g=g<<24>>24==0?65:g}else g=a[(c[d>>2]|0)+(g<<16>>16<<4)+13>>0]|0;a[(c[m>>2]|0)+h>>0]=g;h=h+1|0}while((h|0)<(e[l>>1]|0));g=c[m>>2]|0}a[g+h>>0]=0;n=c[m>>2]|0;return n|0}function Gk(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;n=x+8|0;t=x+4|0;w=x;r=c[d+8>>2]|0;c[t>>2]=0;c[w>>2]=0;if((e|0)==0|(r|0)==0){l=x;return}j=a[e>>0]|0;k=j&255;a:do switch(j<<24>>24){case 44:{m=r+12|0;h=c[m>>2]|0;k=h+68|0;n=c[k>>2]|0;c[k>>2]=n+1;k=h+72|0;if(!(n+-1&n)){i=c[h>>2]|0;j=c[k>>2]|0;h=Mc(i,j,n<<3|4,0)|0;do if(!((j|0)==0|(h|0)!=0)){if(i|0){if(c[i+464>>2]|0){Lc(i,j);break}p=j;if(p>>>0>=(c[i+296>>2]|0)>>>0?p>>>0<(c[i+300>>2]|0)>>>0:0){p=i+292|0;c[j>>2]=c[p>>2];c[p>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{p=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[k>>2]=h}else h=c[k>>2]|0;if(h|0)c[h+(n<<2)>>2]=-1;Dk(d,c[e+12>>2]|0,~n,g^16);o=d+60|0;c[o>>2]=(c[o>>2]|0)+1;Gk(d,c[e+16>>2]|0,f,g);h=c[(c[m>>2]|0)+72>>2]|0;if(h|0)c[h+(n<<2)>>2]=c[r+136>>2];g=(c[o>>2]|0)+-1|0;c[o>>2]=g;e=d+25|0;h=a[e>>0]|0;if(h<<24>>24){f=d+19|0;n=0;do{i=d+148+(n*20|0)+8|0;j=d+148+(n*20|0)|0;k=d+148+(n*20|0)+6|0;m=d+148+(n*20|0)+12|0;if((c[i>>2]|0)>(g|0))do{if(a[k>>0]|0?(q=a[f>>0]|0,(q&255)<8):0){r=c[m>>2]|0;a[f>>0]=q+1<<24>>24;c[d+348+((q&255)<<2)>>2]=r}h=h+-1<<24>>24;a[e>>0]=h;g=h&255;if((g|0)>(n|0)){h=d+148+(g*20|0)|0;c[j>>2]=c[h>>2];c[j+4>>2]=c[h+4>>2];c[j+8>>2]=c[h+8>>2];c[j+12>>2]=c[h+12>>2];c[j+16>>2]=c[h+16>>2];h=a[e>>0]|0}if((n|0)>=(h&255|0))break a;g=c[o>>2]|0}while((c[i>>2]|0)>(g|0));n=n+1|0}while((n|0)<(h&255|0))}break}case 43:{Gk(d,c[e+12>>2]|0,f,g);o=d+60|0;c[o>>2]=(c[o>>2]|0)+1;Gk(d,c[e+16>>2]|0,f,g);h=(c[o>>2]|0)+-1|0;c[o>>2]=h;e=d+25|0;g=a[e>>0]|0;if(g<<24>>24){f=d+19|0;n=0;do{i=d+148+(n*20|0)+8|0;j=d+148+(n*20|0)|0;k=d+148+(n*20|0)+6|0;m=d+148+(n*20|0)+12|0;if((c[i>>2]|0)>(h|0))do{if(a[k>>0]|0?(p=a[f>>0]|0,(p&255)<8):0){r=c[m>>2]|0;a[f>>0]=p+1<<24>>24;c[d+348+((p&255)<<2)>>2]=r}g=g+-1<<24>>24;a[e>>0]=g;h=g&255;if((h|0)>(n|0)){g=d+148+(h*20|0)|0;c[j>>2]=c[g>>2];c[j+4>>2]=c[g+4>>2];c[j+8>>2]=c[g+8>>2];c[j+12>>2]=c[g+12>>2];c[j+16>>2]=c[g+16>>2];g=a[e>>0]|0}if((n|0)>=(g&255|0))break a;h=c[o>>2]|0}while((c[i>>2]|0)>(h|0));n=n+1|0}while((n|0)<(g&255|0))}break}case 19:{Dk(d,c[e+12>>2]|0,f,g);break}case -113:case 45:{g=128;i=j<<24>>24==45?53:52;s=44;break}case 53:case 52:case 57:case 54:case 55:case 56:{i=k;s=44;break}case 51:case 50:{h=Hk(d,c[e+12>>2]|0,t)|0;g=r+136|0;i=c[g>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(i|0)){c[g>>2]=i+1;r=c[r+88>>2]|0;a[r+(i*20|0)>>0]=j;b[r+(i*20|0)+2>>1]=0;c[r+(i*20|0)+4>>2]=h;c[r+(i*20|0)+8>>2]=f;c[r+(i*20|0)+12>>2]=0;c[r+(i*20|0)+16>>2]=0;a[r+(i*20|0)+1>>0]=0;break a}else{zi(r,k,h,f,0)|0;break a}}case 48:{Jk(d,e,f,134,g);break}case 49:{m=r+12|0;h=c[m>>2]|0;k=h+68|0;n=c[k>>2]|0;c[k>>2]=n+1;k=h+72|0;if(!(n+-1&n)){i=c[h>>2]|0;j=c[k>>2]|0;h=Mc(i,j,n<<3|4,0)|0;do if(!((j|0)==0|(h|0)!=0)){if(i|0){if(c[i+464>>2]|0){Lc(i,j);break}q=j;if(q>>>0>=(c[i+296>>2]|0)>>>0?q>>>0<(c[i+300>>2]|0)>>>0:0){q=i+292|0;c[j>>2]=c[q>>2];c[q>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{q=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[k>>2]=h}else h=c[k>>2]|0;if(h|0)c[h+(n<<2)>>2]=-1;h=~n;Kk(d,e,h,g|0?f:h);g=r+136|0;h=c[g>>2]|0;if((c[(c[m>>2]|0)+48>>2]|0)>(h|0)){c[g>>2]=h+1;r=c[r+88>>2]|0;a[r+(h*20|0)>>0]=13;b[r+(h*20|0)+2>>1]=0;c[r+(h*20|0)+4>>2]=0;c[r+(h*20|0)+8>>2]=f;c[r+(h*20|0)+12>>2]=0;c[r+(h*20|0)+16>>2]=0;a[r+(h*20|0)+1>>0]=0}else zi(r,13,0,f,0)|0;h=c[(c[m>>2]|0)+72>>2]|0;if(h|0)c[h+(n<<2)>>2]=c[g>>2];break}default:s=75}while(0);do if((s|0)==44){j=e+12|0;k=c[j>>2]|0;h=a[k>>0]|0;if(h<<24>>24==-106)h=a[k+38>>0]|0;switch(h<<24>>24){case -105:{m=k+20|0;s=49;break}case 119:{m=c[k+20>>2]|0;s=49;break}default:{}}if((s|0)==49?(c[c[m>>2]>>2]|0)>1:0){s=75;break}q=Hk(d,k,t)|0;p=e+16|0;r=Hk(d,c[p>>2]|0,w)|0;Ik(d,c[j>>2]|0,c[p>>2]|0,i,q,r,f,g)}while(0);do if((s|0)==75){c[n>>2]=0;h=e+4|0;if((c[h>>2]&1|0)==0?(bk(e,n)|0)!=0:0){if(c[n>>2]|0){h=r+136|0;g=c[h>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(g|0)){c[h>>2]=g+1;s=c[r+88>>2]|0;a[s+(g*20|0)>>0]=13;b[s+(g*20|0)+2>>1]=0;c[s+(g*20|0)+4>>2]=0;c[s+(g*20|0)+8>>2]=f;c[s+(g*20|0)+12>>2]=0;c[s+(g*20|0)+16>>2]=0;a[s+(g*20|0)+1>>0]=0;break}else{zi(r,13,0,f,0)|0;break}}}else s=77;c[n>>2]=0;if((c[h>>2]&1|0)==0?(bk(e,n)|0)!=0:0){if(!(c[n>>2]|0))break}else s=84;j=Hk(d,e,t)|0;h=(g|0)!=0&1;g=r+136|0;i=c[g>>2]|0;if((c[(c[r+12>>2]|0)+48>>2]|0)>(i|0)){c[g>>2]=i+1;s=c[r+88>>2]|0;a[s+(i*20|0)>>0]=21;b[s+(i*20|0)+2>>1]=0;c[s+(i*20|0)+4>>2]=j;c[s+(i*20|0)+8>>2]=f;c[s+(i*20|0)+12>>2]=h;c[s+(i*20|0)+16>>2]=0;a[s+(i*20|0)+1>>0]=0;break}else{zi(r,21,j,f,h)|0;break}}while(0);j=c[t>>2]|0;b:do if(j|0?(u=d+19|0,v=a[u>>0]|0,(v&255)<8):0){h=a[d+25>>0]|0;c:do if(h<<24>>24){i=h&255;h=0;g=d+148|0;while(1){if((c[g+12>>2]|0)==(j|0))break;h=h+1|0;if((h|0)>=(i|0))break c;else g=g+20|0}a[g+6>>0]=1;break b}while(0);a[u>>0]=v+1<<24>>24;c[d+348+((v&255)<<2)>>2]=j}while(0);j=c[w>>2]|0;if(!j){l=x;return}k=d+19|0;m=a[k>>0]|0;if((m&255)>=8){l=x;return}h=a[d+25>>0]|0;d:do if(h<<24>>24){i=h&255;h=0;g=d+148|0;while(1){if((c[g+12>>2]|0)==(j|0))break;h=h+1|0;if((h|0)>=(i|0))break d;else g=g+20|0}a[g+6>>0]=1;l=x;return}while(0);a[k>>0]=m+1<<24>>24;c[d+348+((m&255)<<2)>>2]=j;l=x;return}function Hk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;g=m;a:do if(!d)f=0;else while(1){f=c[d+4>>2]|0;if(!(f&4096)){f=d;break a}if(!(f&262144))d=d+12|0;else d=(c[d+20>>2]|0)+4|0;d=c[d>>2]|0;if(!d){f=0;break}}while(0);if((a[b+23>>0]|0?(a[f>>0]|0)!=-106:0)?(j=g+20|0,a[j>>0]=2,c[g+4>>2]=186,c[g+8>>2]=187,c[g+24>>2]=0,$j(g,f)|0,a[j>>0]|0):0){c[e>>2]=0;e=Qk(b,f,-1)|0;l=m;return e|0}j=b+19|0;d=a[j>>0]|0;if(!(d<<24>>24)){i=b+44|0;d=(c[i>>2]|0)+1|0;c[i>>2]=d}else{d=d+-1<<24>>24;a[j>>0]=d;d=c[b+348+((d&255)<<2)>>2]|0}i=Rk(b,f,d)|0;b:do if((i|0)!=(d|0))if((d|0)!=0?(k=a[j>>0]|0,(k&255)<8):0){f=a[b+25>>0]|0;c:do if(f<<24>>24){h=f&255;f=0;g=b+148|0;while(1){if((c[g+12>>2]|0)==(d|0))break;f=f+1|0;if((f|0)>=(h|0))break c;else g=g+20|0}a[g+6>>0]=1;d=0;break b}while(0);a[j>>0]=k+1<<24>>24;c[b+348+((k&255)<<2)>>2]=d;d=0}else d=0;while(0);c[e>>2]=d;e=i;l=m;return e|0}function Ik(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0;do if(!(c[e+4>>2]&256)){if(f|0?c[f+4>>2]&256|0:0){n=Qj(d,f)|0;break}l=Qj(d,e)|0;if(!l)n=Qj(d,f)|0;else n=l}else n=Qj(d,e)|0;while(0);f=Pj(f)|0;l=Pj(e)|0;if(f<<24>>24==0|l<<24>>24==0)l=(l|f)<<24>>24==0?65:(l&255)+(f&255)|0;else l=f<<24>>24>66|l<<24>>24>66?67:65;m=l|k;k=d+8|0;d=c[k>>2]|0;f=d+136|0;l=c[f>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(l|0)){c[f>>2]=l+1;e=c[d+88>>2]|0;a[e+(l*20|0)>>0]=g;b[e+(l*20|0)+2>>1]=0;c[e+(l*20|0)+4>>2]=i;c[e+(l*20|0)+8>>2]=j;c[e+(l*20|0)+12>>2]=h;c[e+(l*20|0)+16>>2]=0;a[e+(l*20|0)+1>>0]=0}else l=zi(d,g,i,j,h)|0;do if(!(a[(c[d>>2]|0)+73>>0]|0)){if((l|0)<0)l=(c[f>>2]|0)+-1|0;f=c[d+88>>2]|0;e=f+(l*20|0)+1|0;if(a[e>>0]|0){Ai(d,f+(l*20|0)|0,n,-2);break}if(n|0){c[f+(l*20|0)+16>>2]=n;a[e>>0]=-2}}while(0);l=c[k>>2]|0;f=c[l+136>>2]|0;if((f|0)<=0)return;b[(c[l+88>>2]|0)+((f+-1|0)*20|0)+2>>1]=m&255;return}function Jk(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+240|0;u=y+200|0;x=y+152|0;h=y+104|0;i=y+56|0;v=y+8|0;w=y;c[w>>2]=0;j=h;m=j+48|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(m|0));j=i;m=j+48|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(m|0));j=x;m=j+48|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(m|0));j=v;k=c[d+12>>2]|0;m=j+48|0;do{c[j>>2]=c[k>>2];j=j+4|0;k=k+4|0}while((j|0)<(m|0));a[x>>0]=44;c[x+12>>2]=h;c[x+16>>2]=i;a[h>>0]=57;c[h+12>>2]=v;s=c[d+20>>2]|0;c[h+16>>2]=c[s+4>>2];a[i>>0]=55;c[i+12>>2]=v;c[i+16>>2]=c[s+24>>2];h=a[v>>0]|0;s=v+38|0;switch((h<<24>>24==-106?a[s>>0]|0:h)<<24>>24){case -105:{d=v+20|0;t=4;break}case 119:{d=c[v+20>>2]|0;t=4;break}default:t=5}do if((t|0)==4){r=c[c[d>>2]>>2]|0;if((r|0)!=1){c[w>>2]=0;if(h<<24>>24==119){d=Nk(b,v,0,0)|0;break}q=b+44|0;p=c[q>>2]|0;d=p+1|0;c[q>>2]=p+r;if((r|0)>0){i=v+20|0;j=b+23|0;k=u+20|0;m=u+4|0;n=u+8|0;o=u+24|0;h=0;do{p=c[(c[i>>2]|0)+4+(h*20|0)>>2]|0;q=h+d|0;do if(!(a[j>>0]|0))t=15;else{a[k>>0]=1;c[m>>2]=186;c[n>>2]=187;c[o>>2]=0;if(p){$j(u,p)|0;if(!(a[k>>0]|0)){t=15;break}}Qk(b,p,q)|0}while(0);if((t|0)==15){t=0;Di(b,p,q)}h=h+1|0}while((h|0)!=(r|0))}}else t=5}while(0);if((t|0)==5)d=Hk(b,v,w)|0;a[s>>0]=a[v>>0]|0;a[v>>0]=-106;c[v+28>>2]=d;d=v+4|0;h=c[d>>2]&-4097;c[d>>2]=h;if(!f){c[d>>2]=h|1;Rk(b,x,e)|0}else sb[f&255](b,x,e,g);j=c[w>>2]|0;if(!j){l=y;return}k=b+19|0;m=a[k>>0]|0;if((m&255)>=8){l=y;return}d=a[b+25>>0]|0;a:do if(d<<24>>24){i=d&255;d=0;h=b+148|0;while(1){if((c[h+12>>2]|0)==(j|0))break;d=d+1|0;if((d|0)>=(i|0))break a;else h=h+20|0}a[h+6>>0]=1;l=y;return}while(0);a[k>>0]=m+1<<24>>24;c[b+348+((m&255)<<2)>>2]=j;l=y;return}function Kk(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;S=l;l=l+64|0;m=S+16|0;k=S+8|0;n=S;D=S+28|0;x=S+24|0;o=S+20|0;c[x>>2]=0;w=f+12|0;I=c[w>>2]|0;i=a[I>>0]|0;if(i<<24>>24==-106)i=a[I+38>>0]|0;switch(i<<24>>24){case -105:{i=I+20|0;H=6;break}case 119:{i=c[I+20>>2]|0;H=6;break}default:j=1}if((H|0)==6)j=c[c[i>>2]>>2]|0;if(!(c[f+4>>2]&2048)){if((j|0)!=1)if(!(c[I+4>>2]&2048)){hg(d,28127,m);l=S;return}else{c[k>>2]=c[c[c[I+20>>2]>>2]>>2];c[k+4>>2]=1;hg(d,29348,k);l=S;return}}else{i=c[c[c[f+20>>2]>>2]>>2]|0;if((j|0)!=(i|0)){c[n>>2]=i;c[n+4>>2]=j;hg(d,29348,n);l=S;return}}Q=Lk(d,f)|0;j=c[w>>2]|0;i=a[j>>0]|0;if(i<<24>>24==-106)i=a[j+38>>0]|0;switch(i<<24>>24){case -105:{i=j+20|0;H=19;break}case 119:{i=c[j+20>>2]|0;H=19;break}default:G=1}if((H|0)==19)G=c[c[i>>2]>>2]|0;k=c[d>>2]|0;m=(G*5|0)+1|0;do if(!k){N=Ft(m|0,0,-1,-1)|0;M=z;if(!(M>>>0>0|(M|0)==0&N>>>0>2147483390)){if(!(c[2]|0)){i=jb[c[52>>2]&255](m)|0;H=42;break}j=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;i=46456;k=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&k>>>0>0){M=c[11822]|0;N=Gt(k|0,i|0,j|0,((j|0)<0)<<31>>31|0)|0;L=z;c[11616]=(0>(L|0)|0==(L|0)&M>>>0>=N>>>0)&1}i=jb[c[52>>2]&255](j)|0;if(i){j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;H=43}else H=43}else N=0}else N=0}else{if(c[k+264>>2]|0){if(a[k+73>>0]|0){N=0;break}}else{if(!(0<0|(0==0?(e[k+268>>1]|0)>>>0>>0:0))){j=k+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];H=k+276|0;c[H>>2]=(c[H>>2]|0)+1;H=42;break}j=k+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];H=k+276|0;c[H>>2]=(c[H>>2]|0)+1;H=42;break}}else i=1;N=k+276+(i<<2)|0;c[N>>2]=(c[N>>2]|0)+1}i=Ec(k,m,0)|0;H=42}while(0);if((H|0)==42)if(!i)N=0;else H=43;if((H|0)==43){Vt(i|0,0,m|0)|0;N=i}i=c[d>>2]|0;if(!(a[i+73>>0]|0)){L=c[d+8>>2]|0;v=(g|0)==(h|0);u=Mk(d,f,3,v?0:x,N)|0;M=d+60|0;c[M>>2]=(c[M>>2]|0)+1;j=a[I>>0]|0;if(j<<24>>24==-106)i=a[I+38>>0]|0;else i=j;switch(i<<24>>24){case -105:{i=I+20|0;H=50;break}case 119:{i=c[I+20>>2]|0;H=50;break}default:H=51}do if((H|0)==50){t=c[c[i>>2]>>2]|0;if((t|0)!=1){c[o>>2]=0;if(j<<24>>24==119){K=Nk(d,I,0,0)|0;break}K=d+44|0;J=c[K>>2]|0;j=J+1|0;c[K>>2]=J+t;if((t|0)>0){k=I+20|0;m=d+23|0;n=D+20|0;o=D+4|0;p=D+8|0;q=D+24|0;i=0;do{r=c[(c[k>>2]|0)+4+(i*20|0)>>2]|0;s=i+j|0;do if(!(a[m>>0]|0))H=61;else{a[n>>0]=1;c[o>>2]=186;c[p>>2]=187;c[q>>2]=0;if(r){$j(D,r)|0;if(!(a[n>>0]|0)){H=61;break}}Qk(d,r,s)|0}while(0);if((H|0)==61){H=0;Di(d,r,s)}i=i+1|0}while((i|0)!=(t|0));K=j}else K=j}else H=51}while(0);if((H|0)==51)K=Hk(d,I,o)|0;s=(G|0)>0;a:do if(s){i=0;do{if((c[N+(i<<2)>>2]|0)!=(i|0))break a;i=i+1|0}while((i|0)<(G|0))}else i=0;while(0);if((i|0)!=(G|0)){do if((G|0)==1){i=d+19|0;j=a[i>>0]|0;if(!(j<<24>>24)){J=d+44|0;j=(c[J>>2]|0)+1|0;c[J>>2]=j;break}else{j=j+-1<<24>>24;a[i>>0]=j;j=c[d+348+((j&255)<<2)>>2]|0;break}}else{i=d+32|0;j=c[i>>2]|0;k=d+28|0;m=c[k>>2]|0;if((m|0)<(G|0)){J=d+44|0;j=c[J>>2]|0;c[J>>2]=j+G;j=j+1|0;break}else{c[i>>2]=j+G;c[k>>2]=m-G;break}}while(0);if(s){k=L+136|0;m=L+12|0;n=L+88|0;i=0;do{o=i+K|0;p=(c[N+(i<<2)>>2]|0)+j|0;q=c[k>>2]|0;if((c[(c[m>>2]|0)+48>>2]|0)>(q|0)){c[k>>2]=q+1;J=c[n>>2]|0;a[J+(q*20|0)>>0]=75;b[J+(q*20|0)+2>>1]=0;c[J+(q*20|0)+4>>2]=o;c[J+(q*20|0)+8>>2]=p;c[J+(q*20|0)+12>>2]=0;c[J+(q*20|0)+16>>2]=0;a[J+(q*20|0)+1>>0]=0}else zi(L,75,o,p,0)|0;i=i+1|0}while((i|0)!=(G|0));J=j}else J=j}else J=K;b:do if((u|0)==5){A=c[f+20>>2]|0;y=Qj(d,c[w>>2]|0)|0;B=L+12|0;i=c[B>>2]|0;m=i+68|0;C=c[m>>2]|0;c[m>>2]=C+1;m=i+72|0;if(!(C+-1&C)){j=c[i>>2]|0;k=c[m>>2]|0;i=Mc(j,k,C<<3|4,0)|0;do if(!((k|0)==0|(i|0)!=0)){if(j|0){if(c[j+464>>2]|0){Lc(j,k);break}I=k;if(I>>>0>=(c[j+296>>2]|0)>>>0?I>>>0<(c[j+300>>2]|0)>>>0:0){I=j+292|0;c[k>>2]=c[I>>2];c[I>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{I=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[m>>2]=i}else i=c[m>>2]|0;if(i|0)c[i+(C<<2)>>2]=-1;w=~C;x=(h|0)!=(g|0);do if(x){i=d+19|0;j=a[i>>0]|0;if(!(j<<24>>24)){I=d+44|0;i=(c[I>>2]|0)+1|0;c[I>>2]=i}else{I=j+-1<<24>>24;a[i>>0]=I;i=c[d+348+((I&255)<<2)>>2]|0}j=L+136|0;k=c[j>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;f=c[L+88>>2]|0;a[f+(k*20|0)>>0]=84;b[f+(k*20|0)+2>>1]=0;c[f+(k*20|0)+4>>2]=J;c[f+(k*20|0)+8>>2]=J;c[f+(k*20|0)+12>>2]=i;c[f+(k*20|0)+16>>2]=0;a[f+(k*20|0)+1>>0]=0;f=i;break}else{zi(L,84,J,J,i)|0;f=i;break}}else f=0;while(0);if((c[A>>2]|0)>0){p=(f|0)==0;q=L+136|0;r=L+88|0;s=(y|0)==0;t=d+19|0;u=d+25|0;v=d+148|0;o=0;do{i=A+4+(o*20|0)|0;k=Hk(d,c[i>>2]|0,D)|0;c:do if(!p){i=c[i>>2]|0;j=a[i>>0]|0;if((j|1)<<24>>24==-107)do{i=c[i+12>>2]|0;j=a[i>>0]|0}while((j|1)<<24>>24==-107);if(j<<24>>24==-106)j=a[i+38>>0]|0;d:do switch(j<<24>>24){case -123:case -124:case 97:case -122:break c;case -111:{if(c[i+4>>2]&1048576|0)break d;j=c[i+44>>2]|0;if(!j)break d;i=b[i+32>>1]|0;if(i<<16>>16<=-1)break c;if(a[(c[j+4>>2]|0)+(i<<16>>16<<4)+12>>0]|0)break c;break}default:{}}while(0);i=c[q>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){c[q>>2]=i+1;I=c[r>>2]|0;a[I+(i*20|0)>>0]=84;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=f;c[I+(i*20|0)+8>>2]=k;c[I+(i*20|0)+12>>2]=f;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0;break}else{zi(L,84,f,k,f)|0;break}}while(0);i=c[q>>2]|0;j=(c[(c[B>>2]|0)+48>>2]|0)>(i|0);do if(x|(o|0)<((c[A>>2]|0)+-1|0)){if(j){c[q>>2]=i+1;I=c[r>>2]|0;a[I+(i*20|0)>>0]=53;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=J;c[I+(i*20|0)+8>>2]=w;c[I+(i*20|0)+12>>2]=k;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0}else i=zi(L,53,J,w,k)|0;do if(!(a[(c[L>>2]|0)+73>>0]|0)){if((i|0)<0)i=(c[q>>2]|0)+-1|0;j=c[r>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(L,j+(i*20|0)|0,y,-2);break}if(s)break;c[j+(i*20|0)+16>>2]=y;a[k>>0]=-2}while(0);i=c[q>>2]|0;if((i|0)<=0)break;b[(c[r>>2]|0)+((i+-1|0)*20|0)+2>>1]=a[Q>>0]|0}else{if(j){c[q>>2]=i+1;I=c[r>>2]|0;a[I+(i*20|0)>>0]=52;b[I+(i*20|0)+2>>1]=0;c[I+(i*20|0)+4>>2]=J;c[I+(i*20|0)+8>>2]=g;c[I+(i*20|0)+12>>2]=k;c[I+(i*20|0)+16>>2]=0;a[I+(i*20|0)+1>>0]=0}else i=zi(L,52,J,g,k)|0;do if(!(a[(c[L>>2]|0)+73>>0]|0)){if((i|0)<0)i=(c[q>>2]|0)+-1|0;j=c[r>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(L,j+(i*20|0)|0,y,-2);break}if(s)break;c[j+(i*20|0)+16>>2]=y;a[k>>0]=-2}while(0);i=c[q>>2]|0;if((i|0)<=0)break;b[(c[r>>2]|0)+((i+-1|0)*20|0)+2>>1]=a[Q>>0]|16}while(0);m=c[D>>2]|0;e:do if(m|0){n=a[t>>0]|0;if((n&255)>=8)break;i=a[u>>0]|0;f:do if(i<<24>>24){k=i&255;i=0;j=v;while(1){if((c[j+12>>2]|0)==(m|0))break;i=i+1|0;if((i|0)>=(k|0))break f;else j=j+20|0}a[j+6>>0]=1;break e}while(0);a[t>>0]=n+1<<24>>24;c[d+348+((n&255)<<2)>>2]=m}while(0);o=o+1|0}while((o|0)<(c[A>>2]|0))}k=(f|0)==0;do if(!k){j=L+136|0;i=c[j>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){I=i+1|0;c[j>>2]=I;H=c[L+88>>2]|0;a[H+(i*20|0)>>0]=50;b[H+(i*20|0)+2>>1]=0;c[H+(i*20|0)+4>>2]=f;c[H+(i*20|0)+8>>2]=h;c[H+(i*20|0)+12>>2]=0;c[H+(i*20|0)+16>>2]=0;a[H+(i*20|0)+1>>0]=0;i=I}else{zi(L,50,f,h,0)|0;i=c[j>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){c[j>>2]=i+1;h=c[L+88>>2]|0;a[h+(i*20|0)>>0]=13;b[h+(i*20|0)+2>>1]=0;c[h+(i*20|0)+4>>2]=0;c[h+(i*20|0)+8>>2]=g;c[h+(i*20|0)+12>>2]=0;c[h+(i*20|0)+16>>2]=0;a[h+(i*20|0)+1>>0]=0;break}else{zi(L,13,0,g,0)|0;break}}while(0);i=c[(c[B>>2]|0)+72>>2]|0;if(i|0)c[i+(C<<2)>>2]=c[L+136>>2];g:do if(!k?(E=d+19|0,F=a[E>>0]|0,(F&255)<8):0){i=a[d+25>>0]|0;h:do if(i<<24>>24){k=i&255;i=0;j=d+148|0;while(1){if((c[j+12>>2]|0)==(f|0))break;i=i+1|0;if((i|0)>=(k|0))break h;else j=j+20|0}a[j+6>>0]=1;break g}while(0);a[E>>0]=F+1<<24>>24;c[d+348+((F&255)<<2)>>2]=f}while(0)}else{if(v){m=g;r=0}else{i=c[L+12>>2]|0;n=i+68|0;o=c[n>>2]|0;c[n>>2]=o+1;n=i+72|0;if(!(o+-1&o)){j=c[i>>2]|0;k=c[n>>2]|0;i=Mc(j,k,o<<3|4,0)|0;i:do if(!((k|0)==0|(i|0)!=0)){do if(j|0){if(c[j+464>>2]|0){Lc(j,k);break i}m=k;if(m>>>0<(c[j+296>>2]|0)>>>0)break;if(m>>>0>=(c[j+300>>2]|0)>>>0)break;F=j+292|0;c[k>>2]=c[F>>2];c[F>>2]=k;break i}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{F=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[n>>2]=i}else i=c[n>>2]|0;if(i|0)c[i+(o<<2)>>2]=-1;r=~o;m=r}j:do if(s){o=L+136|0;p=L+12|0;q=L+88|0;n=0;while(1){i=c[w>>2]|0;j=a[i>>0]|0;if(j<<24>>24==-106)k=a[i+38>>0]|0;else k=j;switch(k<<24>>24){case -105:{k=i+20|0;H=194;break}case 119:{k=c[i+20>>2]|0;H=194;break}default:{}}if((H|0)==194){H=0;if((c[c[k>>2]>>2]|0)>1){do if(j<<24>>24==119)H=197;else{if((a[i+38>>0]|0)==119){H=197;break}i=i+20|0}while(0);if((H|0)==197){H=0;i=c[i+20>>2]|0}j=c[(c[i>>2]|0)+4+(n*20|0)>>2]|0;i=j;j=a[j>>0]|0}}if((j|1)<<24>>24==-107)do{i=c[i+12>>2]|0;j=a[i>>0]|0}while((j|1)<<24>>24==-107);if(j<<24>>24==-106)j=a[i+38>>0]|0;k:do switch(j<<24>>24){case -123:case -124:case 97:case -122:break;case -111:{if(!(c[i+4>>2]&1048576)){j=c[i+44>>2]|0;if(!j){H=209;break k}i=b[i+32>>1]|0;if(i<<16>>16<=-1)break k;if(!(a[(c[j+4>>2]|0)+(i<<16>>16<<4)+12>>0]|0))H=209}else H=209;break}default:H=209}while(0);do if((H|0)==209){H=0;i=n+J|0;j=c[o>>2]|0;if((c[(c[p>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;F=c[q>>2]|0;a[F+(j*20|0)>>0]=50;b[F+(j*20|0)+2>>1]=0;c[F+(j*20|0)+4>>2]=i;c[F+(j*20|0)+8>>2]=m;c[F+(j*20|0)+12>>2]=0;c[F+(j*20|0)+16>>2]=0;a[F+(j*20|0)+1>>0]=0;break}else{zi(L,50,i,m,0)|0;break}}while(0);n=n+1|0;if((n|0)==(G|0))break j}}while(0);do if((u|0)==1){i=c[f+28>>2]|0;k=L+136|0;j=c[k>>2]|0;m=L+12|0;if((c[(c[m>>2]|0)+48>>2]|0)>(j|0)){F=j+1|0;c[k>>2]=F;E=c[L+88>>2]|0;a[E+(j*20|0)>>0]=31;b[E+(j*20|0)+2>>1]=0;c[E+(j*20|0)+4>>2]=i;c[E+(j*20|0)+8>>2]=g;c[E+(j*20|0)+12>>2]=J;c[E+(j*20|0)+16>>2]=0;a[E+(j*20|0)+1>>0]=0;i=F}else{zi(L,31,i,g,J)|0;i=c[k>>2]|0}if((c[(c[m>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;j=c[L+88>>2]|0;a[j+(i*20|0)>>0]=13;j=j+(i*20|0)+1|0;k=j+19|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(k|0));break}else{i=zi(L,13,0,0,0)|0;break}}else{o=L+136|0;i=c[o>>2]|0;n=L+12|0;if((c[(c[n>>2]|0)+48>>2]|0)>(i|0)){c[o>>2]=i+1;F=c[L+88>>2]|0;a[F+(i*20|0)>>0]=98;b[F+(i*20|0)+2>>1]=0;c[F+(i*20|0)+4>>2]=J;c[F+(i*20|0)+8>>2]=G;c[F+(i*20|0)+12>>2]=0;c[F+(i*20|0)+16>>2]=0;a[F+(i*20|0)+1>>0]=0}else i=zi(L,98,J,G,0)|0;j=c[L>>2]|0;l:do if(a[j+73>>0]|0){if((G|0)!=-12)Wf(j,G,Q)}else{if((i|0)<0)i=(c[o>>2]|0)+-1|0;j=c[L+88>>2]|0;k=j+(i*20|0)|0;do if((G|0)<=-1){m=j+(i*20|0)+1|0;if(a[m>>0]|0)break;if((G|0)==-3){c[j+(i*20|0)+16>>2]=Q;a[m>>0]=-3;break l}if(!Q)break l;c[j+(i*20|0)+16>>2]=Q;a[m>>0]=G;if((G|0)!=-12)break l;F=Q+12|0;c[F>>2]=(c[F>>2]|0)+1;break l}while(0);Ai(L,k,Q,G)}while(0);k=c[f+28>>2]|0;i=c[o>>2]|0;j=(c[(c[n>>2]|0)+48>>2]|0)>(i|0);if(v){if(j){c[o>>2]=i+1;h=c[L+88>>2]|0;a[h+(i*20|0)>>0]=29;b[h+(i*20|0)+2>>1]=0;c[h+(i*20|0)+4>>2]=k;c[h+(i*20|0)+8>>2]=g;c[h+(i*20|0)+12>>2]=J;c[h+(i*20|0)+16>>2]=0;a[h+(i*20|0)+1>>0]=0}else i=zi(L,29,k,g,J)|0;if(a[(c[L>>2]|0)+73>>0]|0)break b;g=c[L+88>>2]|0;a[g+(i*20|0)+1>>0]=-3;c[g+(i*20|0)+16>>2]=G;break b}else{if(j){c[o>>2]=i+1;F=c[L+88>>2]|0;a[F+(i*20|0)>>0]=30;b[F+(i*20|0)+2>>1]=0;c[F+(i*20|0)+4>>2]=k;c[F+(i*20|0)+8>>2]=0;c[F+(i*20|0)+12>>2]=J;c[F+(i*20|0)+16>>2]=0;a[F+(i*20|0)+1>>0]=0}else i=zi(L,30,k,0,J)|0;if(a[(c[L>>2]|0)+73>>0]|0)break;F=c[L+88>>2]|0;a[F+(i*20|0)+1>>0]=-3;c[F+(i*20|0)+16>>2]=G;break}}while(0);j=c[x>>2]|0;do if((G|0)==1&(j|0)!=0){k=L+136|0;m=c[k>>2]|0;if((c[(c[L+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;F=c[L+88>>2]|0;a[F+(m*20|0)>>0]=51;b[F+(m*20|0)+2>>1]=0;c[F+(m*20|0)+4>>2]=j;c[F+(m*20|0)+8>>2]=g;c[F+(m*20|0)+12>>2]=0;c[F+(m*20|0)+16>>2]=0;a[F+(m*20|0)+1>>0]=0;break}else{zi(L,51,j,g,0)|0;break}}while(0);do if(v){j=L+136|0;k=c[j>>2]|0;if((c[(c[L+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;F=c[L+88>>2]|0;a[F+(k*20|0)>>0]=13;b[F+(k*20|0)+2>>1]=0;c[F+(k*20|0)+4>>2]=0;c[F+(k*20|0)+8>>2]=g;c[F+(k*20|0)+12>>2]=0;c[F+(k*20|0)+16>>2]=0;a[F+(k*20|0)+1>>0]=0;break}else{zi(L,13,0,g,0)|0;break}}while(0);D=L+12|0;m=c[D>>2]|0;if(r|0?(y=c[m+72>>2]|0,y|0):0)c[y+(~r<<2)>>2]=c[L+136>>2];B=f+28|0;j=c[B>>2]|0;C=L+136|0;k=c[C>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[C>>2]=k+1;F=c[L+88>>2]|0;a[F+(k*20|0)>>0]=37;b[F+(k*20|0)+2>>1]=0;c[F+(k*20|0)+4>>2]=j;c[F+(k*20|0)+8>>2]=g;c[F+(k*20|0)+12>>2]=0;c[F+(k*20|0)+16>>2]=0;a[F+(k*20|0)+1>>0]=0}else k=zi(L,37,j,g,0)|0;A=(G|0)>1;if(A){j=c[D>>2]|0;p=j+68|0;q=c[p>>2]|0;c[p>>2]=q+1;p=j+72|0;if(!(q+-1&q)){m=c[j>>2]|0;n=c[p>>2]|0;j=Mc(m,n,q<<3|4,0)|0;m:do if(!((n|0)==0|(j|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,n);break m}o=n;if(o>>>0<(c[m+296>>2]|0)>>>0)break;if(o>>>0>=(c[m+300>>2]|0)>>>0)break;F=m+292|0;c[n>>2]=c[F>>2];c[F>>2]=n;break m}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{F=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[p>>2]=j}else j=c[p>>2]|0;if(j|0)c[j+(q<<2)>>2]=-1;y=~q}else y=g;n:do if(s){r=d+19|0;s=d+44|0;t=I+38|0;u=L+88|0;v=d+25|0;w=d+148|0;x=I+20|0;f=I+20|0;q=0;while(1){j=a[r>>0]|0;if(!(j<<24>>24)){p=(c[s>>2]|0)+1|0;c[s>>2]=p}else{p=j+-1<<24>>24;a[r>>0]=p;p=c[d+348+((p&255)<<2)>>2]|0}m=a[I>>0]|0;if(m<<24>>24==-106)j=a[t>>0]|0;else j=m;switch(j<<24>>24){case -105:{j=x;H=287;break}case 119:{j=c[f>>2]|0;H=287;break}default:j=I}do if((H|0)==287){H=0;if((c[c[j>>2]>>2]|0)<=1){j=I;break}if(m<<24>>24!=119?(a[t>>0]|0)!=119:0)j=x;else j=c[f>>2]|0;j=c[(c[j>>2]|0)+4+(q*20|0)>>2]|0}while(0);o=Qj(d,j)|0;j=c[B>>2]|0;m=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(m|0)){F=m+1|0;c[C>>2]=F;E=c[u>>2]|0;a[E+(m*20|0)>>0]=96;b[E+(m*20|0)+2>>1]=0;c[E+(m*20|0)+4>>2]=j;c[E+(m*20|0)+8>>2]=q;c[E+(m*20|0)+12>>2]=p;c[E+(m*20|0)+16>>2]=0;a[E+(m*20|0)+1>>0]=0;j=F}else{zi(L,96,j,q,p)|0;j=c[C>>2]|0}m=q+J|0;if((c[(c[D>>2]|0)+48>>2]|0)>(j|0)){c[C>>2]=j+1;F=c[u>>2]|0;a[F+(j*20|0)>>0]=52;b[F+(j*20|0)+2>>1]=0;c[F+(j*20|0)+4>>2]=m;c[F+(j*20|0)+8>>2]=y;c[F+(j*20|0)+12>>2]=p;c[F+(j*20|0)+16>>2]=0;a[F+(j*20|0)+1>>0]=0}else j=zi(L,52,m,y,p)|0;do if(!(a[(c[L>>2]|0)+73>>0]|0)){if((j|0)<0)j=(c[C>>2]|0)+-1|0;m=c[u>>2]|0;n=m+(j*20|0)+1|0;if(a[n>>0]|0){Ai(L,m+(j*20|0)|0,o,-2);break}if(!o)break;c[m+(j*20|0)+16>>2]=o;a[n>>0]=-2}while(0);o:do if(p|0){o=a[r>>0]|0;if((o&255)>=8)break;j=a[v>>0]|0;p:do if(j<<24>>24){n=j&255;j=0;m=w;while(1){if((c[m+12>>2]|0)==(p|0))break;j=j+1|0;if((j|0)>=(n|0))break p;else m=m+20|0}a[m+6>>0]=1;break o}while(0);a[r>>0]=o+1<<24>>24;c[d+348+((o&255)<<2)>>2]=p}while(0);q=q+1|0;if((q|0)==(G|0))break n}}while(0);j=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(j|0)){c[C>>2]=j+1;I=c[L+88>>2]|0;a[I+(j*20|0)>>0]=13;b[I+(j*20|0)+2>>1]=0;c[I+(j*20|0)+4>>2]=0;c[I+(j*20|0)+8>>2]=h;c[I+(j*20|0)+12>>2]=0;c[I+(j*20|0)+16>>2]=0;a[I+(j*20|0)+1>>0]=0}else zi(L,13,0,h,0)|0;do if(A){n=c[D>>2]|0;j=c[n+72>>2]|0;if(j|0)c[j+(~y<<2)>>2]=c[C>>2];m=c[B>>2]|0;j=k+1|0;k=c[C>>2]|0;if((c[n+48>>2]|0)>(k|0)){h=k+1|0;c[C>>2]=h;I=c[L+88>>2]|0;a[I+(k*20|0)>>0]=7;b[I+(k*20|0)+2>>1]=0;c[I+(k*20|0)+4>>2]=m;c[I+(k*20|0)+8>>2]=j;c[I+(k*20|0)+12>>2]=0;c[I+(k*20|0)+16>>2]=0;a[I+(k*20|0)+1>>0]=0;j=h}else{zi(L,7,m,j,0)|0;j=c[C>>2]|0}if((c[(c[D>>2]|0)+48>>2]|0)>(j|0)){c[C>>2]=j+1;h=c[L+88>>2]|0;a[h+(j*20|0)>>0]=13;b[h+(j*20|0)+2>>1]=0;c[h+(j*20|0)+4>>2]=0;c[h+(j*20|0)+8>>2]=g;c[h+(j*20|0)+12>>2]=0;c[h+(j*20|0)+16>>2]=0;a[h+(j*20|0)+1>>0]=0;break}else{zi(L,13,0,g,0)|0;break}}while(0);j=c[C>>2]|0;if(!(a[(c[L>>2]|0)+73>>0]|0))i=(c[L+88>>2]|0)+(((i|0)<0?j+-1|0:i)*20|0)|0;else i=46708;c[i+8>>2]=j}while(0);q:do if(!((J|0)==(K|0)|(J|0)==0)?(O=d+19|0,P=a[O>>0]|0,(P&255)<8):0){i=a[d+25>>0]|0;r:do if(i<<24>>24){k=i&255;i=0;j=d+148|0;while(1){if((c[j+12>>2]|0)==(J|0))break;i=i+1|0;if((i|0)>=(k|0))break r;else j=j+20|0}a[j+6>>0]=1;break q}while(0);a[O>>0]=P+1<<24>>24;c[d+348+((P&255)<<2)>>2]=J}while(0);i=(c[M>>2]|0)+-1|0;c[M>>2]=i;q=d+25|0;j=a[q>>0]|0;s:do if(j<<24>>24){r=d+19|0;p=0;do{k=d+148+(p*20|0)+8|0;m=d+148+(p*20|0)|0;n=d+148+(p*20|0)+6|0;o=d+148+(p*20|0)+12|0;if((c[k>>2]|0)>(i|0))do{if(a[n>>0]|0?(R=a[r>>0]|0,(R&255)<8):0){P=c[o>>2]|0;a[r>>0]=R+1<<24>>24;c[d+348+((R&255)<<2)>>2]=P}j=j+-1<<24>>24;a[q>>0]=j;i=j&255;if((i|0)>(p|0)){j=d+148+(i*20|0)|0;c[m>>2]=c[j>>2];c[m+4>>2]=c[j+4>>2];c[m+8>>2]=c[j+8>>2];c[m+12>>2]=c[j+12>>2];c[m+16>>2]=c[j+16>>2];j=a[q>>0]|0}if((p|0)>=(j&255|0))break s;i=c[M>>2]|0}while((c[k>>2]|0)>(i|0));p=p+1|0}while((p|0)<(j&255|0))}while(0);i=c[d>>2]|0}do if(N|0){if(i|0){if(c[i+464>>2]|0){Lc(i,N);break}R=N;if(R>>>0>=(c[i+296>>2]|0)>>>0?R>>>0<(c[i+300>>2]|0)>>>0:0){R=i+292|0;c[N>>2]=c[R>>2];c[R>>2]=N;break}}if(!(c[2]|0)){pb[c[56>>2]&255](N);break}else{R=jb[c[64>>2]&255](N)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](N);break}}while(0);i=c[d>>2]|0;if(!Q){l=S;return}if(i|0){if(c[i+464>>2]|0){Lc(i,Q);l=S;return}d=Q;if(d>>>0>=(c[i+296>>2]|0)>>>0?d>>>0<(c[i+300>>2]|0)>>>0:0){d=i+292|0;c[Q>>2]=c[d>>2];c[d>>2]=Q;l=S;return}}if(!(c[2]|0)){pb[c[56>>2]&255](Q);l=S;return}else{d=jb[c[64>>2]&255](Q)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](Q);l=S;return}}function Lk(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;n=c[d+12>>2]|0;f=a[n>>0]|0;if(f<<24>>24==-106)f=a[n+38>>0]|0;switch(f<<24>>24){case -105:{f=n+20|0;l=6;break}case 119:{f=c[n+20>>2]|0;l=6;break}default:m=1}if((l|0)==6)m=c[c[f>>2]>>2]|0;if(!(c[d+4>>2]&2048))k=0;else k=c[d+20>>2]|0;b=c[b>>2]|0;h=m+1|0;g=((h|0)<0)<<31>>31;do if(!b){j=Ft(h|0,g|0,-1,-1)|0;i=z;if(i>>>0>0|(i|0)==0&j>>>0>2147483390){n=0;return n|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](h)|0;l=31;break}b=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;d=46456;f=c[d>>2]|0;d=c[d+4>>2]|0;if((d|0)>0|(d|0)==0&f>>>0>0){i=c[11822]|0;j=Gt(f|0,d|0,b|0,((b|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&i>>>0>=j>>>0)&1}f=jb[c[52>>2]&255](b)|0;if(!f){n=0;return n|0}d=jb[c[64>>2]&255](f)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}else{if(c[b+264>>2]|0){if(a[b+73>>0]|0){n=0;return n|0}}else{if(!(0>>0|(0==(g|0)?(e[b+268>>1]|0)>>>0>>0:0))){d=b+292|0;f=c[d>>2]|0;if(f|0){c[d>>2]=c[f>>2];l=b+276|0;c[l>>2]=(c[l>>2]|0)+1;l=31;break}d=b+288|0;f=c[d>>2]|0;if(!f)f=2;else{c[d>>2]=c[f>>2];l=b+276|0;c[l>>2]=(c[l>>2]|0)+1;l=31;break}}else f=1;l=b+276+(f<<2)|0;c[l>>2]=(c[l>>2]|0)+1}f=Ec(b,h,g)|0;l=31}while(0);if((l|0)==31)if(!f){n=0;return n|0}a:do if((m|0)>0){h=n+38|0;i=n+20|0;j=n+20|0;if(!k){g=0;while(1){b=a[n>>0]|0;if(b<<24>>24==-106)d=a[h>>0]|0;else d=b;switch(d<<24>>24){case -105:{d=i;l=38;break}case 119:{d=c[j>>2]|0;l=38;break}default:d=n}if((l|0)==38){l=0;if((c[c[d>>2]>>2]|0)>1){if(b<<24>>24!=119?(a[h>>0]|0)!=119:0)d=i;else d=c[j>>2]|0;d=c[(c[d>>2]|0)+4+(g*20|0)>>2]|0}else d=n}a[f+g>>0]=Pj(d)|0;g=g+1|0;if((g|0)==(m|0))break a}}else g=0;while(1){b=a[n>>0]|0;if(b<<24>>24==-106)d=a[h>>0]|0;else d=b;switch(d<<24>>24){case -105:{d=i;l=48;break}case 119:{d=c[j>>2]|0;l=48;break}default:d=n}if((l|0)==48){l=0;if((c[c[d>>2]>>2]|0)>1){if(b<<24>>24!=119?(a[h>>0]|0)!=119:0)d=i;else d=c[j>>2]|0;d=c[(c[d>>2]|0)+4+(g*20|0)>>2]|0}else d=n}d=Pj(d)|0;b=Pj(c[(c[k>>2]|0)+4+(g*20|0)>>2]|0)|0;if(d<<24>>24==0|b<<24>>24==0)d=(b|d)<<24>>24==0?65:(b&255)+(d&255)&255;else d=d<<24>>24>66|b<<24>>24>66?67:65;a[f+g>>0]=d;g=g+1|0;if((g|0)==(m|0))break a}}while(0);a[f+m>>0]=0;n=f;return n|0}function Mk(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;V=l;l=l+48|0;P=V+8|0;t=V;N=V+12|0;S=f+40|0;U=c[S>>2]|0;c[S>>2]=U+1;S=f+8|0;k=c[S>>2]|0;if(!k){if((c[f+120>>2]|0)==0?(b[(c[f>>2]|0)+68>>1]&8)==0:0)a[f+23>>0]=1;T=yi(f)|0}else T=k;O=(h&4|0)!=0;if(i)if(!(c[g+4>>2]&2048))Q=i;else{o=c[c[g+20>>2]>>2]|0;p=c[o>>2]|0;a:do if((p|0)>0){k=0;while(1){m=c[o+4+(k*20|0)>>2]|0;n=a[m>>0]|0;if((n|1)<<24>>24==-107)do{m=c[m+12>>2]|0;n=a[m>>0]|0}while((n|1)<<24>>24==-107);if(n<<24>>24==-106)n=a[m+38>>0]|0;switch(n<<24>>24){case -123:case -124:case 97:case -122:break;case -111:{if(c[m+4>>2]&1048576|0)break a;n=c[m+44>>2]|0;if(!n)break a;Q=b[m+32>>1]|0;if(Q<<16>>16>-1?(a[(c[n+4>>2]|0)+(Q<<16>>16<<4)+12>>0]|0)==0:0)break a;break}default:break a}k=k+1|0;if((k|0)>=(p|0))break a}}else k=0;while(0);Q=(k|0)==(p|0)?0:i}else Q=0;b:do if(((((((((c[f+36>>2]|0)==0?(c[g+4>>2]&2080|0)==2048:0)?(r=c[g+20>>2]|0,(c[r+48>>2]|0)==0):0)?(c[r+8>>2]&9|0)==0:0)?(c[r+56>>2]|0)==0:0)?(c[r+32>>2]|0)==0:0)?(q=c[r+28>>2]|0,(c[q>>2]|0)==1):0)?(c[q+28>>2]|0)==0:0)?(w=c[q+24>>2]|0,(c[w+56>>2]|0)==0):0){I=c[r>>2]|0;J=c[I>>2]|0;K=(J|0)>0;if(K){k=0;do{if((a[c[I+4+(k*20|0)>>2]>>0]|0)!=-111){R=187;break b}k=k+1|0}while((k|0)<(J|0));if(!r){R=187;break}}L=c[f>>2]|0;m=c[w+72>>2]|0;if(!m)k=-1e6;else{n=c[L+16>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0))break;else k=k+1|0}M=k<<16>>16;o=c[f+120>>2]|0;o=(o|0)==0?f:o;k=o+92|0;m=c[k>>2]|0;n=1<>2]=n|m,(M|0)==1):0)?(u=c[o>>2]|0,s=u+16|0,(c[(c[s>>2]|0)+20>>2]|0)==0):0)?(a[o+399>>0]|0)==0:0){k=fg(c[u>>2]|0,0,u,N,0,542)|0;if(k|0){hg(o,21111,t);c[o+12>>2]=k;break}H=c[N>>2]|0;c[(c[s>>2]|0)+20>>2]=H;k=c[u+84>>2]|0;n=c[H+4>>2]|0;c[n+4>>2]=c[H>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;p=n+36|0;i=(c[o>>2]|0)-(c[p>>2]|0)|0;do if((k+-512|0)>>>0<65025){if(k+-1&k|0)break;c[o>>2]=k;m=n+80|0;k=c[m>>2]|0;if(!k)break;k=k+-4|0;c[m>>2]=k;H=k;do if(!(H>>>0>=(c[11662]|0)>>>0&H>>>0<(c[11663]|0)>>>0)){H=jb[c[64>>2]&255](k)|0;c[11824]=(c[11824]|0)-H;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{H=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else{c[11823]=(c[11823]|0)+-1;c[k>>2]=c[11665];c[11665]=k;H=(c[11666]|0)+1|0;c[11666]=H;c[11667]=(H|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);H=gg(c[n>>2]|0,o,i)|0;c[p>>2]=(c[o>>2]|0)-(i&65535);if((H|0)!=7)break;k=u+73|0;do if(!(a[k>>0]|0)){if(a[u+74>>0]|0)break;a[k>>0]=1;if((c[u+172>>2]|0)>0)c[u+256>>2]=1;H=u+264|0;c[H>>2]=(c[H>>2]|0)+1}while(0);break c}while(0)}while(0);qk(f,M,c[w+28>>2]|0,0,c[w>>2]|0);H=(J|0)==1;if(H?(b[(c[I+4>>2]|0)+32>>1]|0)<0:0){m=T+136|0;k=c[m>>2]|0;if((c[(c[T+12>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;n=c[T+88>>2]|0;a[n+(k*20|0)>>0]=20;n=n+(k*20|0)+1|0;p=n+19|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0))}else k=zi(T,20,0,0,0)|0;Bi(f,U,M,w,104);m=c[m>>2]|0;if(!(a[(c[T>>2]|0)+73>>0]|0))k=(c[T+88>>2]|0)+(((k|0)<0?m+-1|0:k)*20|0)|0;else k=46708;c[k+8>>2]=m;k=1;R=198;break}if(K){r=c[g+12>>2]|0;i=a[r>>0]|0;q=r+38|0;s=w+4|0;t=r+20|0;u=i<<24>>24==119;v=r+20|0;d:do if(i<<24>>24==-106){p=1;i=0;n=a[q>>0]|0;while(1){switch(n<<24>>24){case -105:{k=t;R=66;break}case 119:{k=c[v>>2]|0;R=66;break}default:o=r}do if((R|0)==66){R=0;if((c[c[k>>2]>>2]|0)<=1){o=r;break}if(!u)if(n<<24>>24==119){k=119;R=69}else{m=t;k=n}else{k=n;R=69}if((R|0)==69){R=0;m=c[v>>2]|0}o=c[(c[m>>2]|0)+4+(i*20|0)>>2]|0;n=k}while(0);k=b[(c[I+4+(i*20|0)>>2]|0)+32>>1]|0;if(k<<16>>16>-1)m=a[(c[s>>2]|0)+(k<<16>>16<<4)+13>>0]|0;else m=68;k=Pj(o)|0;if(m<<24>>24==0|k<<24>>24==0)k=(k|m)<<24>>24==0?65:(k&255)+(m&255)|0;else k=m<<24>>24>66|k<<24>>24>66?67:65;p=((k<<24>>24)+-65|0)>>>0<2?p:m<<24>>24>66&1;i=i+1|0;k=(p|0)!=0;if(!((i|0)<(J|0)&k))break d}}else{o=1;p=0;while(1){switch(i<<24>>24){case -105:{k=t;R=86;break}case 119:{k=c[v>>2]|0;R=86;break}default:m=r}do if((R|0)==86){R=0;if((c[c[k>>2]>>2]|0)<=1){m=r;break}if(!u?(a[q>>0]|0)!=119:0)k=t;else k=c[v>>2]|0;m=c[(c[k>>2]|0)+4+(p*20|0)>>2]|0}while(0);k=b[(c[I+4+(p*20|0)>>2]|0)+32>>1]|0;if(k<<16>>16>-1)n=a[(c[s>>2]|0)+(k<<16>>16<<4)+13>>0]|0;else n=68;k=Pj(m)|0;if(n<<24>>24==0|k<<24>>24==0)k=(k|n)<<24>>24==0?65:(k&255)+(n&255)|0;else k=n<<24>>24>66|k<<24>>24>66?67:65;o=((k<<24>>24)+-65|0)>>>0<2?o:n<<24>>24>66&1;p=p+1|0;k=(o|0)!=0;if(!((p|0)<(J|0)&k))break d}}while(0);if(!k){R=187;break}}k=c[w+8>>2]|0;if(k){w=Rt(1,0,J|0)|0;w=Ft(w|0,z|0,-1,-1)|0;x=z;E=T+136|0;B=T+12|0;G=T+88|0;D=(Q|0)==0;F=f+44|0;y=g+12|0;A=(j|0)==0;C=k;e:while(1){v=b[C+52>>1]|0;k=v&65535;f:do if(!((v&65535)>62|(k|0)<(J|0))){do if(O){if((e[C+50>>1]|0)>(J|0))break f;if((k|0)<=(J|0))break;if(!(a[C+54>>0]|0))break f}while(0);g:do if(K){u=C+4|0;v=C+32|0;t=0;m=0;k=0;while(1){n=c[y>>2]|0;p=a[n>>0]|0;if(p<<24>>24==-106)o=a[n+38>>0]|0;else o=p;switch(o<<24>>24){case -105:{o=n+20|0;R=112;break}case 119:{o=c[n+20>>2]|0;R=112;break}default:{}}do if((R|0)==112){R=0;if((c[c[o>>2]>>2]|0)<=1)break;do if(p<<24>>24==119)R=115;else{if((a[n+38>>0]|0)==119){R=115;break}n=n+20|0}while(0);if((R|0)==115)n=c[n+20>>2]|0;n=c[(c[n>>2]|0)+4+(t*20|0)>>2]|0}while(0);o=c[I+4+(t*20|0)>>2]|0;h:do if(!(c[n+4>>2]&256)){do if(o|0){if(!(c[o+4>>2]&256))break;n=Qj(f,o)|0;R=126;break h}while(0);n=Qj(f,n)|0;if(!n){n=Qj(f,o)|0;R=126;break}else{s=c[u>>2]|0;r=b[o+32>>1]|0;R=127;break}}else{n=Qj(f,n)|0;R=126}while(0);i:do if((R|0)==126){R=0;p=c[u>>2]|0;o=b[o+32>>1]|0;if(!n)n=0;else{s=p;r=o;R=127;break}do{if((b[p+(n<<1)>>1]|0)==o<<16>>16)break i;n=n+1|0}while((n|0)<(J|0))}while(0);j:do if((R|0)==127){R=0;o=0;while(1){if((b[s+(o<<1)>>1]|0)==r<<16>>16){i=c[n>>2]|0;q=c[(c[v>>2]|0)+(o<<2)>>2]|0;W=a[i>>0]|0;p=(d[17324+(W&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0;if(!(W<<24>>24==0|(p|0)!=0))do{i=i+1|0;q=q+1|0;W=a[i>>0]|0;p=(d[17324+(W&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(W<<24>>24==0|(p|0)!=0));if(!p){n=o;break j}}o=o+1|0;if((o|0)>=(J|0)){n=o;break}}}while(0);if((n|0)==(J|0))break g;o=Rt(1,0,n|0)|0;p=z;if(!((o&m|0)==0&(p&k|0)==0))break g;m=o|m;k=p|k;if(!A)c[j+(t<<2)>>2]=n;t=t+1|0;if((t|0)>=(J|0))break g}}else{m=0;k=0}while(0);if((m|0)==(w|0)&(k|0)==(x|0))break e}while(0);k=c[C+20>>2]|0;if(!k){R=187;break b}else C=k}k=c[E>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[E>>2]=k+1;n=c[G>>2]|0;a[n+(k*20|0)>>0]=20;n=n+(k*20|0)+1|0;p=n+19|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0));i=k}else i=zi(T,20,0,0,0)|0;c[P>>2]=c[C>>2];o=Ff(L,29599,P)|0;k=c[E>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[E>>2]=k+1;n=c[G>>2]|0;a[n+(k*20|0)>>0]=-89;n=n+(k*20|0)+1|0;p=n+19|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0))}else k=zi(T,167,0,0,0)|0;m=c[T>>2]|0;k:do if(a[m+73>>0]|0){if(!o)break;do if(m|0){if(c[m+464>>2]|0){Lc(m,o);break k}k=o;if(k>>>0<(c[m+296>>2]|0)>>>0)break;if(k>>>0>=(c[m+300>>2]|0)>>>0)break;W=m+292|0;c[o>>2]=c[W>>2];c[W>>2]=o;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{W=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-W;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}else{if((k|0)<0)k=(c[E>>2]|0)+-1|0;m=c[G>>2]|0;n=m+(k*20|0)+1|0;if(a[n>>0]|0){Ai(T,m+(k*20|0)|0,o,-7);break}if(!o)break;c[m+(k*20|0)+16>>2]=o;a[n>>0]=-7}while(0);k=c[C+44>>2]|0;m=c[E>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){c[E>>2]=m+1;W=c[G>>2]|0;a[W+(m*20|0)>>0]=104;b[W+(m*20|0)+2>>1]=0;c[W+(m*20|0)+4>>2]=U;c[W+(m*20|0)+8>>2]=k;c[W+(m*20|0)+12>>2]=M;c[W+(m*20|0)+16>>2]=0;a[W+(m*20|0)+1>>0]=0}else zi(T,104,U,k,M)|0;m=c[S>>2]|0;n=rk(f,C)|0;l:do if(n|0){k=c[m>>2]|0;if(!(a[k+73>>0]|0)){f=c[m+88>>2]|0;W=(c[m+136>>2]|0)+-1|0;a[f+(W*20|0)+1>>0]=-9;c[f+(W*20|0)+16>>2]=n;break}if(c[k+464>>2]|0)break;W=(c[n>>2]|0)+-1|0;c[n>>2]=W;if(W|0)break;k=c[n+12>>2]|0;do if(k|0){if(c[k+464>>2]|0){Lc(k,n);break l}m=n;if(m>>>0<(c[k+296>>2]|0)>>>0)break;if(m>>>0>=(c[k+300>>2]|0)>>>0)break;W=k+292|0;c[n>>2]=c[W>>2];c[W>>2]=n;break l}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{W=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-W;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);k=(d[c[C+28>>2]>>0]|0)+3|0;do if(!D){m=(c[F>>2]|0)+1|0;c[F>>2]=m;c[Q>>2]=m;if(!H)break;Sk(T,U,m)}while(0);n=c[E>>2]|0;if(!(a[(c[T>>2]|0)+73>>0]|0))m=(c[G>>2]|0)+(((i|0)<0?n+-1|0:i)*20|0)|0;else m=46708;c[m+8>>2]=n;R=198}else R=187}else R=187;while(0);do if((R|0)==187){if(h&1|0?(c[g+4>>2]&2048|0)==0:0){T=g+12|0;S=c[T>>2]|0;c[T>>2]=0;W=N+20|0;a[W>>0]=1;c[N+4>>2]=186;c[N+8>>2]=187;c[N+24>>2]=0;$j(N,g)|0;W=a[W>>0]|0;c[T>>2]=S;if(!(W<<24>>24)){k=5;R=198;break}if((c[c[g+20>>2]>>2]|0)<3){k=5;R=198;break}}n=f+132|0;o=c[n>>2]|0;if(O){c[n>>2]=0;if((b[(c[g+12>>2]|0)+32>>1]|0)<0){k=0;m=((c[g+4>>2]|0)>>>11&1)+1|0}else{k=0;m=2}}else if(!Q){k=0;m=2}else{m=f+44|0;k=(c[m>>2]|0)+1|0;c[m>>2]=k;c[Q>>2]=k;m=2}Nk(f,g,k,(m|0)==1&1)|0;c[n>>2]=o;n=m}while(0);if((R|0)==198){c[g+28>>2]=U;n=k}if(!((j|0)!=0&(n+-3|0)>>>0>1)){l=V;return n|0}m=c[g+12>>2]|0;k=a[m>>0]|0;if(k<<24>>24==-106)k=a[m+38>>0]|0;switch(k<<24>>24){case -105:{k=m+20|0;R=205;break}case 119:{k=c[m+20>>2]|0;R=205;break}default:k=1}if((R|0)==205){k=c[c[k>>2]>>2]|0;if((k|0)<=0){l=V;return n|0}}m=0;do{c[j+(m<<2)>>2]=m;m=m+1|0}while((m|0)!=(k|0));l=V;return n|0}function Nk(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=l;l=l+64|0;r=P+16|0;k=P;L=P+24|0;F=P+52|0;G=P+20|0;i=c[d+8>>2]|0;if(!i){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;i=yi(d)|0;if(!i){O=0;l=P;return O|0}else M=i}else M=i;N=d+60|0;c[N>>2]=(c[N>>2]|0)+1;o=f+4|0;do if(!(c[o>>2]&32)){i=M+136|0;j=c[i>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;m=c[M+88>>2]|0;a[m+(j*20|0)>>0]=20;m=m+(j*20|0)+1|0;n=m+19|0;do{a[m>>0]=0;m=m+1|0}while((m|0)<(n|0));break}else{j=zi(M,20,0,0,0)|0;break}}else j=-1;while(0);do if((a[d+399>>0]|0)==2){n=c[d>>2]|0;i=(a[f>>0]|0)==49?29404:29409;m=c[d+416>>2]|0;c[k>>2]=(j|0)>-1?47328:29392;c[k+4>>2]=i;c[k+8>>2]=m;n=Ff(n,29416,k)|0;k=c[d+412>>2]|0;m=M+136|0;i=c[m>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(i|0)){c[m>>2]=i+1;J=c[M+88>>2]|0;a[J+(i*20|0)>>0]=-89;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=k;c[J+(i*20|0)+8>>2]=0;c[J+(i*20|0)+12>>2]=0;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(M,167,k,0,0)|0;k=c[M>>2]|0;if(!(a[k+73>>0]|0)){if((i|0)<0)i=(c[m>>2]|0)+-1|0;k=c[M+88>>2]|0;m=k+(i*20|0)+1|0;if(a[m>>0]|0){Ai(M,k+(i*20|0)|0,n,-7);i=f;break}if(!n){i=f;break}c[k+(i*20|0)+16>>2]=n;a[m>>0]=-7;i=f;break}if(n){if(k|0){if(c[k+464>>2]|0){Lc(k,n);i=f;break}J=n;if(J>>>0>=(c[k+296>>2]|0)>>>0?J>>>0<(c[k+300>>2]|0)>>>0:0){i=k+292|0;c[n>>2]=c[i>>2];c[i>>2]=n;i=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);i=f;break}else{i=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);i=f;break}}else i=f}else i=f;while(0);i=a[i>>0]|0;do if(i<<24>>24==49){n=f+12|0;s=c[n>>2]|0;i=a[s>>0]|0;if(i<<24>>24==-106)i=a[s+38>>0]|0;switch(i<<24>>24){case -105:{i=s+20|0;t=38;break}case 119:{i=c[s+20>>2]|0;t=38;break}default:r=1}if((t|0)==38)r=c[c[i>>2]>>2]|0;E=d+40|0;m=c[E>>2]|0;c[E>>2]=m+1;E=f+28|0;c[E>>2]=m;A=(h|0)!=0;k=A?0:r;H=M+136|0;i=c[H>>2]|0;B=M+12|0;if((c[(c[B>>2]|0)+48>>2]|0)>(i|0)){c[H>>2]=i+1;J=c[M+88>>2]|0;a[J+(i*20|0)>>0]=108;b[J+(i*20|0)+2>>1]=0;c[J+(i*20|0)+4>>2]=m;c[J+(i*20|0)+8>>2]=k;c[J+(i*20|0)+12>>2]=0;c[J+(i*20|0)+16>>2]=0;a[J+(i*20|0)+1>>0]=0}else i=zi(M,108,m,k,0)|0;if(A)J=0;else J=wk(c[d>>2]|0,r,1)|0;if(!(c[o>>2]&2048)){h=c[f+20>>2]|0;if(h){D=Pj(s)|0;a[F>>0]=D<<24>>24?D:65;if(J|0)c[J+20>>2]=Qj(d,c[n>>2]|0)|0;D=d+19|0;m=a[D>>0]|0;if(m<<24>>24){C=m+-1<<24>>24;a[D>>0]=C;k=c[d+348+((C&255)<<2)>>2]|0;if(!(C<<24>>24))t=94;else{C=m+-2<<24>>24;a[D>>0]=C;C=c[d+348+((C&255)<<2)>>2]|0;z=k}}else{t=d+44|0;k=(c[t>>2]|0)+1|0;c[t>>2]=k;t=94}if((t|0)==94){z=d+44|0;C=(c[z>>2]|0)+1|0;c[z>>2]=C;z=k}do if(A){k=c[H>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[H>>2]=k+1;y=c[M+88>>2]|0;a[y+(k*20|0)>>0]=72;b[y+(k*20|0)+2>>1]=0;c[y+(k*20|0)+4>>2]=0;c[y+(k*20|0)+8>>2]=C;c[y+(k*20|0)+12>>2]=0;c[y+(k*20|0)+16>>2]=0;a[y+(k*20|0)+1>>0]=0}else k=zi(M,72,0,C,0)|0;if(!(a[(c[M>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[H>>2]|0)+-1|0;m=c[M+88>>2]|0;n=m+(k*20|0)+1|0;if(!(a[n>>0]|0)){c[m+(k*20|0)+16>>2]=47328;a[n>>0]=-1;break}else{Ai(M,m+(k*20|0)|0,47328,-1);break}}}while(0);k=c[h>>2]|0;if((k|0)>0){t=L+20|0;u=L+4|0;v=L+8|0;w=L+24|0;x=M+88|0;y=d+25|0;s=h+4|0;while(1){n=c[s>>2]|0;do if((j|0)>-1){a[t>>0]=1;c[u>>2]=186;c[v>>2]=187;c[w>>2]=0;if(!n)break;$j(L,n)|0;if(a[t>>0]|0)break;m=c[M>>2]|0;if(a[m+73>>0]|0){j=-1;break}r=c[x>>2]|0;p=r+(j*20|0)+1|0;q=r+(j*20|0)+16|0;Wf(m,a[p>>0]|0,c[q>>2]|0);a[p>>0]=0;c[q>>2]=0;a[r+(j*20|0)>>0]=-90;j=-1}while(0);do if(A){if(bk(n,G)|0){m=c[E>>2]|0;n=c[G>>2]|0;h=c[H>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(h|0)){c[H>>2]=h+1;r=c[x>>2]|0;a[r+(h*20|0)>>0]=117;b[r+(h*20|0)+2>>1]=0;c[r+(h*20|0)+4>>2]=m;c[r+(h*20|0)+8>>2]=C;c[r+(h*20|0)+12>>2]=n;c[r+(h*20|0)+16>>2]=0;a[r+(h*20|0)+1>>0]=0;break}else{zi(M,117,m,C,n)|0;break}}h=Rk(d,n,z)|0;m=c[H>>2]|0;n=m+2|0;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){r=m+1|0;c[H>>2]=r;q=c[x>>2]|0;a[q+(m*20|0)>>0]=17;b[q+(m*20|0)+2>>1]=0;c[q+(m*20|0)+4>>2]=h;c[q+(m*20|0)+8>>2]=n;c[q+(m*20|0)+12>>2]=0;c[q+(m*20|0)+16>>2]=0;a[q+(m*20|0)+1>>0]=0;n=r}else{zi(M,17,h,n,0)|0;n=c[H>>2]|0}m=c[E>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(n|0)){c[H>>2]=n+1;r=c[x>>2]|0;a[r+(n*20|0)>>0]=116;b[r+(n*20|0)+2>>1]=0;c[r+(n*20|0)+4>>2]=m;c[r+(n*20|0)+8>>2]=C;c[r+(n*20|0)+12>>2]=h;c[r+(n*20|0)+16>>2]=0;a[r+(n*20|0)+1>>0]=0;break}else{zi(M,116,m,C,h)|0;break}}else{r=Rk(d,n,z)|0;m=c[H>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;q=c[x>>2]|0;a[q+(m*20|0)>>0]=99;b[q+(m*20|0)+2>>1]=0;c[q+(m*20|0)+4>>2]=r;c[q+(m*20|0)+8>>2]=1;c[q+(m*20|0)+12>>2]=C;c[q+(m*20|0)+16>>2]=0;a[q+(m*20|0)+1>>0]=0}else m=zi(M,99,r,1,C)|0;if(!(a[(c[M>>2]|0)+73>>0]|0)){if((m|0)<0)m=(c[H>>2]|0)+-1|0;Ai(M,(c[x>>2]|0)+(m*20|0)|0,F,1)}m=a[y>>0]|0;a:do if(m<<24>>24){q=0;do{h=d+148+(q*20|0)+12|0;o=d+148+(q*20|0)|0;p=d+148+(q*20|0)+6|0;while(1){if((c[h>>2]|0)!=(r|0))break;do if(a[p>>0]|0){n=a[D>>0]|0;if((n&255)>=8)break;a[D>>0]=n+1<<24>>24;c[d+348+((n&255)<<2)>>2]=r}while(0);m=m+-1<<24>>24;a[y>>0]=m;n=m&255;if((n|0)>(q|0)){m=d+148+(n*20|0)|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];c[o+16>>2]=c[m+16>>2];m=a[y>>0]|0}if((q|0)>=(m&255|0))break a}q=q+1|0}while((q|0)<(m&255|0))}while(0);n=c[E>>2]|0;m=c[H>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;q=c[x>>2]|0;a[q+(m*20|0)>>0]=127;b[q+(m*20|0)+2>>1]=0;c[q+(m*20|0)+4>>2]=n;c[q+(m*20|0)+8>>2]=C;c[q+(m*20|0)+12>>2]=r;c[q+(m*20|0)+16>>2]=0;a[q+(m*20|0)+1>>0]=0}else m=zi(M,127,n,C,r)|0;if(a[(c[M>>2]|0)+73>>0]|0)break;r=c[x>>2]|0;a[r+(m*20|0)+1>>0]=-3;c[r+(m*20|0)+16>>2]=1}while(0);if((k|0)>1){k=k+-1|0;s=s+20|0}else break}}b:do if(z|0?(I=a[D>>0]|0,(I&255)<8):0){k=a[d+25>>0]|0;c:do if(k<<24>>24){n=k&255;k=0;m=d+148|0;while(1){if((c[m+12>>2]|0)==(z|0))break;k=k+1|0;if((k|0)>=(n|0))break c;else m=m+20|0}a[m+6>>0]=1;break b}while(0);a[D>>0]=I+1<<24>>24;c[d+348+((I&255)<<2)>>2]=z}while(0);d:do if(C|0?(K=a[D>>0]|0,(K&255)<8):0){k=a[d+25>>0]|0;e:do if(k<<24>>24){n=k&255;k=0;m=d+148|0;while(1){if((c[m+12>>2]|0)==(C|0))break;k=k+1|0;if((k|0)>=(n|0))break e;else m=m+20|0}a[m+6>>0]=1;break d}while(0);a[D>>0]=K+1<<24>>24;c[d+348+((K&255)<<2)>>2]=C}while(0)}}else{k=c[f+20>>2]|0;q=c[k>>2]|0;if((c[q>>2]|0)==(r|0)){n=c[E>>2]|0;a[L>>0]=11;c[L+4>>2]=n;n=L+16|0;c[L+8>>2]=0;c[L+12>>2]=0;c[n>>2]=Lk(d,f)|0;c[k+12>>2]=0;k=(Vi(d,k,L)|0)==0;m=c[d>>2]|0;n=c[n>>2]|0;do if(n|0){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}L=n;if(L>>>0>=(c[m+296>>2]|0)>>>0?L>>>0<(c[m+300>>2]|0)>>>0:0){L=m+292|0;c[n>>2]=c[L>>2];c[L>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{L=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);if(!k){f:do if(J|0?(O=(c[J>>2]|0)+-1|0,c[J>>2]=O,(O|0)==0):0){i=c[J+12>>2]|0;do if(i|0){if(c[i+464>>2]|0){Lc(i,J);break f}j=J;if(j>>>0<(c[i+296>>2]|0)>>>0)break;if(j>>>0>=(c[i+300>>2]|0)>>>0)break;O=i+292|0;c[J>>2]=c[O>>2];c[O>>2]=J;break f}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](J);break}else{O=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);break}}while(0);O=0;l=P;return O|0}g:do if((r|0)>0){h=s+38|0;o=s+20|0;p=s+20|0;n=0;while(1){m=a[s>>0]|0;if(m<<24>>24==-106)k=a[h>>0]|0;else k=m;switch(k<<24>>24){case -105:{k=o;t=74;break}case 119:{k=c[p>>2]|0;t=74;break}default:k=s}if((t|0)==74){t=0;if((c[c[k>>2]>>2]|0)>1){if(m<<24>>24!=119?(a[h>>0]|0)!=119:0)k=o;else k=c[p>>2]|0;k=c[(c[k>>2]|0)+4+(n*20|0)>>2]|0}else k=s}m=c[q+4+(n*20|0)>>2]|0;h:do if(!(c[k+4>>2]&256)){do if(m|0){if(!(c[m+4>>2]&256))break;k=Qj(d,m)|0;break h}while(0);k=Qj(d,k)|0;if(k|0)break;k=Qj(d,m)|0}else k=Qj(d,k)|0;while(0);c[J+20+(n<<2)>>2]=k;n=n+1|0;if((n|0)==(r|0))break g}}while(0)}}if(J){k=c[M>>2]|0;if(!(a[k+73>>0]|0)){if((i|0)<0)i=(c[H>>2]|0)+-1|0;k=c[M+88>>2]|0;m=k+(i*20|0)+1|0;if(!(a[m>>0]|0)){c[k+(i*20|0)+16>>2]=J;a[m>>0]=-9;i=0;break}else{Ai(M,k+(i*20|0)|0,J,-9);i=0;break}}if((c[k+464>>2]|0)==0?(L=(c[J>>2]|0)+-1|0,c[J>>2]=L,(L|0)==0):0){i=c[J+12>>2]|0;if(i|0){if(c[i+464>>2]|0){Lc(i,J);i=0;break}L=J;if(L>>>0>=(c[i+296>>2]|0)>>>0?L>>>0<(c[i+300>>2]|0)>>>0:0){i=i+292|0;c[J>>2]=c[i>>2];c[i>>2]=J;i=0;break}}if(!(c[2]|0)){pb[c[56>>2]&255](J);i=0;break}else{i=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);i=0;break}}else i=0}else i=0}else{q=c[f+20>>2]|0;i=i<<24>>24==119;if(i)h=c[c[q>>2]>>2]|0;else h=1;K=d+44|0;k=c[K>>2]|0;o=k+1|0;a[L>>0]=0;p=L+4|0;c[p>>2]=o;c[L+16>>2]=0;m=L+8|0;c[m>>2]=0;n=L+12|0;c[n>>2]=0;c[K>>2]=k+h;do if(i){a[L>>0]=10;c[m>>2]=o;c[n>>2]=h;i=h+k|0;k=M+136|0;m=c[k>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;K=c[M+88>>2]|0;a[K+(m*20|0)>>0]=70;b[K+(m*20|0)+2>>1]=0;c[K+(m*20|0)+4>>2]=0;c[K+(m*20|0)+8>>2]=o;c[K+(m*20|0)+12>>2]=i;c[K+(m*20|0)+16>>2]=0;a[K+(m*20|0)+1>>0]=0;break}else{zi(M,70,0,o,i)|0;break}}else{a[L>>0]=3;i=M+136|0;k=c[i>>2]|0;if((c[(c[M+12>>2]|0)+48>>2]|0)>(k|0)){c[i>>2]=k+1;K=c[M+88>>2]|0;a[K+(k*20|0)>>0]=67;b[K+(k*20|0)+2>>1]=0;c[K+(k*20|0)+4>>2]=0;c[K+(k*20|0)+8>>2]=o;c[K+(k*20|0)+12>>2]=0;c[K+(k*20|0)+16>>2]=0;a[K+(k*20|0)+1>>0]=0;break}else{zi(M,67,0,o,0)|0;break}}while(0);h=Yi(c[d>>2]|0,134,4928,0)|0;o=q+56|0;i=c[o>>2]|0;m=c[d>>2]|0;if(!i){do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))t=205;else t=208;else{if((e[m+268>>1]|0)>=48){k=m+292|0;i=c[k>>2]|0;if(i|0){c[k>>2]=c[i>>2];t=m+276|0;c[t>>2]=(c[t>>2]|0)+1;t=206;break}k=m+288|0;i=c[k>>2]|0;if(!i)i=2;else{c[k>>2]=c[i>>2];t=m+276|0;c[t>>2]=(c[t>>2]|0)+1;t=206;break}}else i=1;t=m+276+(i<<2)|0;c[t>>2]=(c[t>>2]|0)+1;t=205}while(0);if((t|0)==205){i=Ec(m,48,0)|0;t=206}if((t|0)==206)if(i){m=i;n=m+48|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));a[i>>0]=-127;b[i+34>>1]=-1;if(h|0){c[i+12>>2]=h;c[i+4>>2]=c[h+4>>2]&2097412}Ji(i);k=c[(c[d>>2]|0)+112>>2]|0;if((k|0)<(c[i+24>>2]|0)){c[r>>2]=k;hg(d,24905,r)}}else t=208;if((t|0)==208)if(!h)i=0;else{Qf(c[d>>2]|0,h);i=0}c[o>>2]=i}else{k=c[i+12>>2]|0;if(k){Qf(m,k);i=c[o>>2]|0}c[i+12>>2]=h}c[q+12>>2]=0;K=q+8|0;c[K>>2]=c[K>>2]&-1025;L=(Vi(d,q,L)|0)==0;if(L)i=c[p>>2]|0;else{O=0;l=P;return O|0}}while(0);if(g|0)Sk(M,c[f+28>>2]|0,g);if((j|0)>-1){if(!(a[(c[M>>2]|0)+73>>0]|0))j=(c[M+88>>2]|0)+(j*20|0)|0;else j=46708;c[j+8>>2]=c[M+136>>2]}j=(c[N>>2]|0)+-1|0;c[N>>2]=j;q=d+25|0;k=a[q>>0]|0;if(!(k<<24>>24)){O=i;l=P;return O|0}r=d+19|0;p=0;i:while(1){m=d+148+(p*20|0)+8|0;n=d+148+(p*20|0)|0;h=d+148+(p*20|0)+6|0;o=d+148+(p*20|0)+12|0;if((c[m>>2]|0)>(j|0))do{if(a[h>>0]|0?(O=a[r>>0]|0,(O&255)<8):0){g=c[o>>2]|0;a[r>>0]=O+1<<24>>24;c[d+348+((O&255)<<2)>>2]=g}k=k+-1<<24>>24;a[q>>0]=k;j=k&255;if((j|0)>(p|0)){k=d+148+(j*20|0)|0;c[n>>2]=c[k>>2];c[n+4>>2]=c[k+4>>2];c[n+8>>2]=c[k+8>>2];c[n+12>>2]=c[k+12>>2];c[n+16>>2]=c[k+16>>2];k=a[q>>0]|0}if((p|0)>=(k&255|0)){t=232;break i}j=c[N>>2]|0}while((c[m>>2]|0)>(j|0));p=p+1|0;if((p|0)>=(k&255|0)){t=232;break}}if((t|0)==232){l=P;return i|0}return 0}function Ok(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;e=b+20|0;f=a[e>>0]|0;if(f<<24>>24==2?(c[d+4>>2]&1|0)!=0:0){a[e>>0]=0;b=2}else g=4;a:do if((g|0)==4){switch(a[d>>0]|0){case -112:{if((f&255)>3){b=0;break a}if(c[d+4>>2]&524288|0){b=0;break a}a[e>>0]=0;b=2;break a}case -109:case -110:case -111:case 59:{if(f<<24>>24==3?(c[d+28>>2]|0)==(c[b+24>>2]|0):0){b=0;break a}break}case -103:break;case -121:switch(f<<24>>24){case 5:{a[d>>0]=101;b=0;break a}case 4:{a[e>>0]=0;b=2;break a}default:{b=0;break a}}default:{b=0;break a}}a[e>>0]=0;b=2}while(0);return b|0}function Pk(b,c){b=b|0;c=c|0;a[b+20>>0]=0;return 2}function Qk(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;j=b+76|0;h=c[j>>2]|0;i=(e|0)<0;a:do if(i&(h|0)!=0?(f=c[h>>2]|0,(f|0)>0):0){g=h+4|0;while(1){if(a[g+13>>0]&4?(ck(0,c[g>>2]|0,d,-1)|0)==0:0)break;if((f|0)>1){f=f+-1|0;g=g+20|0}else break a}j=c[g+16>>2]|0;return j|0}while(0);if(!d)f=0;else f=sj(c[b>>2]|0,d,0,0)|0;g=Mi(c[b>>2]|0,h,f)|0;if(g){f=(c[g>>2]|0)+-1|0;h=g+4+(f*20|0)+13|0;a[h>>0]=a[h>>0]&-5|e>>>29&4;if(i){i=b+44|0;e=(c[i>>2]|0)+1|0;c[i>>2]=e}c[g+4+(f*20|0)+16>>2]=e}c[j>>2]=g;j=e;return j|0}function Rk(f,g,i){f=f|0;g=g|0;i=i|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0.0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0;ga=l;l=l+192|0;n=ga+80|0;m=ga+72|0;u=ga+64|0;o=ga+56|0;v=ga+48|0;p=ga+40|0;A=ga+32|0;$=ga;_=ga+144|0;aa=ga+140|0;da=ga+136|0;C=ga+88|0;fa=c[f+8>>2]|0;c[aa>>2]=0;c[da>>2]=0;if(!fa){fa=0;l=ga;return fa|0}q=(g|0)==0;if(q)x=101;else x=d[g>>0]|0;w=x&255;a:do switch(w<<24>>24){case -109:{k=c[g+40>>2]|0;m=c[k+28>>2]|0;n=b[g+34>>1]|0;if(!(a[k>>0]|0)){fa=c[m+(n*24|0)+16>>2]|0;l=ga;return fa|0}if(a[k+1>>0]|0){o=c[k+8>>2]|0;k=c[m+(n*24|0)+12>>2]|0;m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[fa+88>>2]|0;a[fa+(n*20|0)>>0]=96;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=o;c[fa+(n*20|0)+8>>2]=k;c[fa+(n*20|0)+12>>2]=i;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0;fa=i;l=ga;return fa|0}else{zi(fa,96,o,k,i)|0;fa=i;l=ga;return fa|0}}else ea=11;break}case -111:{ea=11;break}case -122:{Uk(f,g,0,i);fa=i;l=ga;return fa|0}case -124:{k=c[g+8>>2]|0;if(!k){fa=i;l=ga;return fa|0}df(k,$,(As(k)|0)&1073741823,1)|0;n=c[fa>>2]|0;do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))ea=38;else{k=0;p=1}else{if((e[n+268>>1]|0)>=8){m=n+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];ea=n+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=39;break}m=n+288|0;k=c[m>>2]|0;if(!k)k=2;else{c[m>>2]=c[k>>2];ea=n+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=39;break}}else k=1;ea=n+276+(k<<2)|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=38}while(0);if((ea|0)==38){k=Ec(n,8,0)|0;ea=39}if((ea|0)==39)if(!k){k=0;p=1}else{f=$;da=c[f>>2]|0;f=c[f+4>>2]|0;p=k;ea=p;a[ea>>0]=da;a[ea+1>>0]=da>>8;a[ea+2>>0]=da>>16;a[ea+3>>0]=da>>24;p=p+4|0;a[p>>0]=f;a[p+1>>0]=f>>8;a[p+2>>0]=f>>16;a[p+3>>0]=f>>24;p=0}o=fa+136|0;m=c[o>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(m|0)){c[o>>2]=m+1;f=c[fa+88>>2]|0;a[f+(m*20|0)>>0]=-124;b[f+(m*20|0)+2>>1]=0;c[f+(m*20|0)+4>>2]=0;c[f+(m*20|0)+8>>2]=i;c[f+(m*20|0)+12>>2]=0;c[f+(m*20|0)+16>>2]=0;a[f+(m*20|0)+1>>0]=0}else m=zi(fa,132,0,i,0)|0;n=c[fa>>2]|0;do if(!(a[n+73>>0]|0)){if((m|0)<0)m=(c[o>>2]|0)+-1|0;n=c[fa+88>>2]|0;o=n+(m*20|0)+1|0;if(a[o>>0]|0){Ai(fa,n+(m*20|0)|0,k,-13);break}if(!p){c[n+(m*20|0)+16>>2]=k;a[o>>0]=-13}}else if(!p){if(n|0){if(c[n+464>>2]|0){Lc(n,k);break}fa=k;if(fa>>>0>=(c[n+296>>2]|0)>>>0?fa>>>0<(c[n+300>>2]|0)>>>0:0){fa=n+292|0;c[k>>2]=c[fa>>2];c[fa>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{fa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);fa=i;l=ga;return fa|0}case 97:{n=c[g+8>>2]|0;m=fa+136|0;k=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;f=c[fa+88>>2]|0;a[f+(k*20|0)>>0]=97;b[f+(k*20|0)+2>>1]=0;c[f+(k*20|0)+4>>2]=0;c[f+(k*20|0)+8>>2]=i;c[f+(k*20|0)+12>>2]=0;c[f+(k*20|0)+16>>2]=0;a[f+(k*20|0)+1>>0]=0}else k=zi(fa,97,0,i,0)|0;if(a[(c[fa>>2]|0)+73>>0]|0){fa=i;l=ga;return fa|0}if((k|0)<0)k=(c[m>>2]|0)+-1|0;Ai(fa,(c[fa+88>>2]|0)+(k*20|0)|0,n,0);fa=i;l=ga;return fa|0}case 101:{k=fa+136|0;m=c[k>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;fa=c[fa+88>>2]|0;a[fa+(m*20|0)>>0]=70;b[fa+(m*20|0)+2>>1]=0;c[fa+(m*20|0)+4>>2]=0;c[fa+(m*20|0)+8>>2]=i;c[fa+(m*20|0)+12>>2]=0;c[fa+(m*20|0)+16>>2]=0;a[fa+(m*20|0)+1>>0]=0;fa=i;l=ga;return fa|0}else{zi(fa,70,0,i,0)|0;fa=i;l=ga;return fa|0}}case -123:{s=(c[g+8>>2]|0)+2|0;q=(As(s)|0)&1073741823;t=q+-1|0;m=c[fa>>2]|0;u=(t|0)/2|0;o=u+1|0;p=((o|0)<0)<<31>>31;do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))ea=80;else{o=0;p=1}else{if(!(0

    >>0|(0==(p|0)?(e[m+268>>1]|0)>>>0>>0:0))){k=m+292|0;n=c[k>>2]|0;if(n|0){c[k>>2]=c[n>>2];ea=m+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=81;break}k=m+288|0;n=c[k>>2]|0;if(!n)k=2;else{c[k>>2]=c[n>>2];ea=m+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=81;break}}else k=1;ea=m+276+(k<<2)|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=80}while(0);if((ea|0)==80){n=Ec(m,o,p)|0;ea=81}if((ea|0)==81){m=q+-2|0;if(!n){o=0;p=1}else{if((t|0)>1){k=0;do{f=a[s+k>>0]|0;ea=a[s+(k|1)>>0]|0;a[n+((k|0)/2|0)>>0]=(0-(ea>>>6&1)&9)+ea&15|(0-(f>>>6&1)&9)+f<<4;k=k+2|0}while((k|0)<(m|0));k=(t&-2|0)/2|0}else k=0;a[n+k>>0]=0;o=n;p=0}}n=fa+136|0;k=c[n>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;f=c[fa+88>>2]|0;a[f+(k*20|0)>>0]=72;b[f+(k*20|0)+2>>1]=0;c[f+(k*20|0)+4>>2]=u;c[f+(k*20|0)+8>>2]=i;c[f+(k*20|0)+12>>2]=0;c[f+(k*20|0)+16>>2]=0;a[f+(k*20|0)+1>>0]=0}else k=zi(fa,72,u,i,0)|0;m=c[fa>>2]|0;if(!(a[m+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;m=c[fa+88>>2]|0;n=m+(k*20|0)+1|0;if(a[n>>0]|0){Ai(fa,m+(k*20|0)|0,o,-7);fa=i;l=ga;return fa|0}if(p){fa=i;l=ga;return fa|0}c[m+(k*20|0)+16>>2]=o;a[n>>0]=-7;fa=i;l=ga;return fa|0}if(p){fa=i;l=ga;return fa|0}if(m|0){if(c[m+464>>2]|0){Lc(m,o);fa=i;l=ga;return fa|0}fa=o;if(fa>>>0>=(c[m+296>>2]|0)>>>0?fa>>>0<(c[m+300>>2]|0)>>>0:0){fa=m+292|0;c[o>>2]=c[fa>>2];c[fa>>2]=o;fa=i;l=ga;return fa|0}}if(!(c[2]|0)){pb[c[56>>2]&255](o);fa=i;l=ga;return fa|0}else{fa=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);fa=i;l=ga;return fa|0}}case -121:{n=g+32|0;k=b[n>>1]|0;p=fa+136|0;m=c[p>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(m|0)){c[p>>2]=m+1;ea=c[fa+88>>2]|0;a[ea+(m*20|0)>>0]=73;b[ea+(m*20|0)+2>>1]=0;c[ea+(m*20|0)+4>>2]=k;c[ea+(m*20|0)+8>>2]=i;c[ea+(m*20|0)+12>>2]=0;c[ea+(m*20|0)+16>>2]=0;a[ea+(m*20|0)+1>>0]=0}else zi(fa,73,k,i,0)|0;if(!(a[(c[g+8>>2]|0)+1>>0]|0)){fa=i;l=ga;return fa|0}o=c[f+420>>2]|0;m=b[n>>1]|0;b:do if(!o)k=0;else{n=c[o+4>>2]|0;k=2;while(1){if((c[o+(k<<2)>>2]|0)==(m|0))break;k=(c[o+(k+1<<2)>>2]|0)+k|0;if((k|0)>=(n|0)){k=0;break b}}k=o+(k+2<<2)|0}while(0);c[o>>2]=0;if(a[(c[fa>>2]|0)+73>>0]|0){fa=i;l=ga;return fa|0}f=c[fa+88>>2]|0;fa=(c[p>>2]|0)+-1|0;a[f+(fa*20|0)+1>>0]=-1;c[f+(fa*20|0)+16>>2]=k;fa=i;l=ga;return fa|0}case -106:{fa=c[g+28>>2]|0;l=ga;return fa|0}case 36:{k=Rk(f,c[g+12>>2]|0,i)|0;do if((k|0)!=(i|0)){m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;da=c[fa+88>>2]|0;a[da+(n*20|0)>>0]=76;b[da+(n*20|0)+2>>1]=0;c[da+(n*20|0)+4>>2]=k;c[da+(n*20|0)+8>>2]=i;c[da+(n*20|0)+12>>2]=0;c[da+(n*20|0)+16>>2]=0;a[da+(n*20|0)+1>>0]=0;break}else{zi(fa,76,k,i,0)|0;break}}while(0);k=c[g+8>>2]|0;n=a[k>>0]|0;c:do if(!(n<<24>>24))k=67;else{m=0;o=k;k=67;do{m=d[17324+(n&255)>>0]|m<<8;o=o+1|0;d:do if((m|0)<1685026146){if((m|0)<1667785074){switch(m|0){case 1651273570:break;default:{ea=133;break d}}switch(k&7){case 5:case 3:{k=65;m=1651273570;break d}default:{ea=132;break d}}}if((m|0)<1668050786)switch(m|0){case 1667785074:{k=66;m=1667785074;break d}default:{ea=133;break d}}switch(m|0){case 1668050786:break;default:{ea=133;break d}}k=66}else{if((m|0)>=1919246700)if((m|0)<1952807028){switch(m|0){case 1919246700:break;default:{ea=133;break d}}if(k<<24>>24==67){k=69;m=1919246700;break}else{ea=132;break}}else{switch(m|0){case 1952807028:break;default:{ea=133;break d}}k=66;break}if((m|0)<1718382433){switch(m|0){case 1685026146:break;default:{ea=133;break d}}if(k<<24>>24==67){k=69;m=1685026146;break}}else{switch(m|0){case 1718382433:break;default:{ea=133;break d}}if(k<<24>>24==67){k=69;m=1718382433;break}}}while(0);if((ea|0)==132)ea=0;else if((ea|0)==133){ea=0;if((m&16777215|0)==6909556){k=68;break c}}n=a[o>>0]|0}while(n<<24>>24!=0)}while(0);k=k<<24>>24;m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[fa+88>>2]|0;a[fa+(n*20|0)>>0]=82;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=i;c[fa+(n*20|0)+8>>2]=k;c[fa+(n*20|0)+12>>2]=0;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0}else zi(fa,82,i,k,0)|0;s=f+25|0;k=a[s>>0]|0;if(!(k<<24>>24)){fa=i;l=ga;return fa|0}t=f+19|0;q=0;e:while(1){n=f+148+(q*20|0)+12|0;o=f+148+(q*20|0)|0;p=f+148+(q*20|0)+6|0;while(1){if((c[n>>2]|0)!=(i|0))break;if(a[p>>0]|0?(B=a[t>>0]|0,(B&255)<8):0){a[t>>0]=B+1<<24>>24;c[f+348+((B&255)<<2)>>2]=i}k=k+-1<<24>>24;a[s>>0]=k;m=k&255;if((m|0)>(q|0)){k=f+148+(m*20|0)|0;c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];c[o+8>>2]=c[k+8>>2];c[o+12>>2]=c[k+12>>2];c[o+16>>2]=c[k+16>>2];k=a[s>>0]|0}if((q|0)>=(k&255|0)){ea=727;break e}}q=q+1|0;if((q|0)>=(k&255|0)){ea=727;break}}if((ea|0)==727){l=ga;return i|0}break}case -113:case 45:{o=128;n=(x|0)==45?53:52;ea=149;break}case 53:case 52:case 57:case 54:case 55:case 56:{o=0;n=x;ea=149;break}case 93:case 87:case 86:case 91:case 85:case 84:case 92:case 89:case 90:case 88:case 43:case 44:{o=Hk(f,c[g+12>>2]|0,aa)|0;k=Hk(f,c[g+16>>2]|0,da)|0;m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[fa+88>>2]|0;a[fa+(n*20|0)>>0]=w;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=k;c[fa+(n*20|0)+8>>2]=o;c[fa+(n*20|0)+12>>2]=i;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0;break a}else{zi(fa,x,k,o,i)|0;break a}}case -108:{m=g+12|0;k=c[m>>2]|0;switch(a[k>>0]|0){case -122:{Uk(f,k,1,i);fa=i;l=ga;return fa|0}case -124:{k=c[k+8>>2]|0;if(!k){fa=i;l=ga;return fa|0}df(k,$,(As(k)|0)&1073741823,1)|0;r=-+h[$>>3];h[$>>3]=r;n=c[fa>>2]|0;do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))ea=270;else{k=0;p=1}else{if((e[n+268>>1]|0)>=8){m=n+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];ea=n+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=271;break}m=n+288|0;k=c[m>>2]|0;if(!k)k=2;else{c[m>>2]=c[k>>2];ea=n+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=271;break}}else k=1;ea=n+276+(k<<2)|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=270}while(0);if((ea|0)==270){k=Ec(n,8,0)|0;ea=271}if((ea|0)==271)if(!k){k=0;p=1}else{h[j>>3]=r;a[k>>0]=a[j>>0];a[k+1>>0]=a[j+1>>0];a[k+2>>0]=a[j+2>>0];a[k+3>>0]=a[j+3>>0];a[k+4>>0]=a[j+4>>0];a[k+5>>0]=a[j+5>>0];a[k+6>>0]=a[j+6>>0];a[k+7>>0]=a[j+7>>0];p=0}o=fa+136|0;m=c[o>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(m|0)){c[o>>2]=m+1;f=c[fa+88>>2]|0;a[f+(m*20|0)>>0]=-124;b[f+(m*20|0)+2>>1]=0;c[f+(m*20|0)+4>>2]=0;c[f+(m*20|0)+8>>2]=i;c[f+(m*20|0)+12>>2]=0;c[f+(m*20|0)+16>>2]=0;a[f+(m*20|0)+1>>0]=0}else m=zi(fa,132,0,i,0)|0;n=c[fa>>2]|0;do if(!(a[n+73>>0]|0)){if((m|0)<0)m=(c[o>>2]|0)+-1|0;n=c[fa+88>>2]|0;o=n+(m*20|0)+1|0;if(a[o>>0]|0){Ai(fa,n+(m*20|0)|0,k,-13);break}if(!p){c[n+(m*20|0)+16>>2]=k;a[o>>0]=-13}}else if(!p){if(n|0){if(c[n+464>>2]|0){Lc(n,k);break}fa=k;if(fa>>>0>=(c[n+296>>2]|0)>>>0?fa>>>0<(c[n+300>>2]|0)>>>0:0){fa=n+292|0;c[k>>2]=c[fa>>2];c[fa>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{fa=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);fa=i;l=ga;return fa|0}default:{a[C>>0]=-122;c[C+4>>2]=17408;c[C+8>>2]=0;o=Hk(f,C,aa)|0;k=Hk(f,c[m>>2]|0,da)|0;m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[fa+88>>2]|0;a[fa+(n*20|0)>>0]=89;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=k;c[fa+(n*20|0)+8>>2]=o;c[fa+(n*20|0)+12>>2]=i;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0;break a}else{zi(fa,89,k,o,i)|0;break a}}}}case 19:case 95:{k=Hk(f,c[g+12>>2]|0,aa)|0;m=fa+136|0;n=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;fa=c[fa+88>>2]|0;a[fa+(n*20|0)>>0]=w;b[fa+(n*20|0)+2>>1]=0;c[fa+(n*20|0)+4>>2]=k;c[fa+(n*20|0)+8>>2]=i;c[fa+(n*20|0)+12>>2]=0;c[fa+(n*20|0)+16>>2]=0;a[fa+(n*20|0)+1>>0]=0;break a}else{zi(fa,x,k,i,0)|0;break a}}case 51:case 50:{m=fa+136|0;k=c[m>>2]|0;o=fa+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;$=c[fa+88>>2]|0;a[$+(k*20|0)>>0]=67;b[$+(k*20|0)+2>>1]=0;c[$+(k*20|0)+4>>2]=1;c[$+(k*20|0)+8>>2]=i;c[$+(k*20|0)+12>>2]=0;c[$+(k*20|0)+16>>2]=0;a[$+(k*20|0)+1>>0]=0}else zi(fa,67,1,i,0)|0;k=Hk(f,c[g+12>>2]|0,aa)|0;n=c[m>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(n|0)){$=n+1|0;c[m>>2]=$;_=c[fa+88>>2]|0;a[_+(n*20|0)>>0]=w;b[_+(n*20|0)+2>>1]=0;c[_+(n*20|0)+4>>2]=k;c[_+(n*20|0)+8>>2]=0;c[_+(n*20|0)+12>>2]=0;c[_+(n*20|0)+16>>2]=0;a[_+(n*20|0)+1>>0]=0;k=$}else{n=zi(fa,x,k,0,0)|0;k=c[m>>2]|0}if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){$=k+1|0;c[m>>2]=$;m=c[fa+88>>2]|0;a[m+(k*20|0)>>0]=67;b[m+(k*20|0)+2>>1]=0;c[m+(k*20|0)+4>>2]=0;c[m+(k*20|0)+8>>2]=i;c[m+(k*20|0)+12>>2]=0;c[m+(k*20|0)+16>>2]=0;a[m+(k*20|0)+1>>0]=0;m=$}else{zi(fa,67,0,i,0)|0;m=c[m>>2]|0}if(!(a[(c[fa>>2]|0)+73>>0]|0))k=(c[fa+88>>2]|0)+(((n|0)<0?m+-1|0:n)*20|0)|0;else k=46708;c[k+8>>2]=m;break}case -110:{k=c[g+40>>2]|0;if(!k){c[p>>2]=c[g+8>>2];hg(f,29441,p);break a}fa=c[(c[k+40>>2]|0)+(b[g+34>>1]<<4)+8>>2]|0;l=ga;return fa|0}case -112:{C=c[f>>2]|0;m=a[C+70>>0]|0;do if(a[f+23>>0]|0){k=$+20|0;a[k>>0]=2;c[$+4>>2]=186;c[$+8>>2]=187;c[$+24>>2]=0;if(!q){$j($,g)|0;if(!(a[k>>0]|0))break}fa=Qk(f,g,-1)|0;l=ga;return fa|0}while(0);y=g+4|0;if((c[y>>2]&16384|0)==0?(s=c[g+20>>2]|0,(s|0)!=0):0){E=s;F=c[s>>2]|0;u=1}else{E=0;F=0;u=0}k=c[g+8>>2]|0;A=kk(C,k,F,m,0)|0;if(A|0?(c[A+16>>2]|0)==0:0){v=A+2|0;k=e[v>>1]|0;if(k&512|0){B=fa+12|0;k=c[B>>2]|0;o=k+68|0;C=c[o>>2]|0;c[o>>2]=C+1;o=k+72|0;if(!(C+-1&C)){m=c[k>>2]|0;n=c[o>>2]|0;k=Mc(m,n,C<<3|4,0)|0;do if(!((n|0)==0|(k|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}$=n;if($>>>0>=(c[m+296>>2]|0)>>>0?$>>>0<(c[m+300>>2]|0)>>>0:0){$=m+292|0;c[n>>2]=c[$>>2];c[$>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{$=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=k}else k=c[o>>2]|0;if(k|0)c[k+(C<<2)>>2]=-1;u=~C;Di(f,c[E+4>>2]|0,i);if((F|0)>1){v=fa+136|0;w=fa+88|0;x=f+25|0;y=f+60|0;A=f+19|0;t=1;do{k=c[v>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[v>>2]=k+1;$=c[w>>2]|0;a[$+(k*20|0)>>0]=51;b[$+(k*20|0)+2>>1]=0;c[$+(k*20|0)+4>>2]=i;c[$+(k*20|0)+8>>2]=u;c[$+(k*20|0)+12>>2]=0;c[$+(k*20|0)+16>>2]=0;a[$+(k*20|0)+1>>0]=0}else zi(fa,51,i,u,0)|0;k=a[x>>0]|0;f:do if(k<<24>>24){q=0;do{n=f+148+(q*20|0)+12|0;o=f+148+(q*20|0)|0;p=f+148+(q*20|0)+6|0;while(1){if((c[n>>2]|0)!=(i|0))break;do if(a[p>>0]|0){m=a[A>>0]|0;if((m&255)>=8)break;a[A>>0]=m+1<<24>>24;c[f+348+((m&255)<<2)>>2]=i}while(0);k=k+-1<<24>>24;a[x>>0]=k;m=k&255;if((m|0)>(q|0)){k=f+148+(m*20|0)|0;c[o>>2]=c[k>>2];c[o+4>>2]=c[k+4>>2];c[o+8>>2]=c[k+8>>2];c[o+12>>2]=c[k+12>>2];c[o+16>>2]=c[k+16>>2];k=a[x>>0]|0}if((q|0)>=(k&255|0))break f}q=q+1|0}while((q|0)<(k&255|0))}while(0);c[y>>2]=(c[y>>2]|0)+1;Di(f,c[E+4+(t*20|0)>>2]|0,i);k=(c[y>>2]|0)+-1|0;c[y>>2]=k;m=a[x>>0]|0;g:do if(m<<24>>24){s=0;do{n=f+148+(s*20|0)+8|0;o=f+148+(s*20|0)|0;p=f+148+(s*20|0)+6|0;q=f+148+(s*20|0)+12|0;if((c[n>>2]|0)>(k|0))do{do if(a[p>>0]|0){k=a[A>>0]|0;if((k&255)>=8)break;$=c[q>>2]|0;a[A>>0]=k+1<<24>>24;c[f+348+((k&255)<<2)>>2]=$}while(0);m=m+-1<<24>>24;a[x>>0]=m;k=m&255;if((k|0)>(s|0)){m=f+148+(k*20|0)|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];c[o+16>>2]=c[m+16>>2];m=a[x>>0]|0}if((s|0)>=(m&255|0))break g;k=c[y>>2]|0}while((c[n>>2]|0)>(k|0));s=s+1|0}while((s|0)<(m&255|0))}while(0);t=t+1|0}while((t|0)!=(F|0))}k=c[(c[B>>2]|0)+72>>2]|0;if(!k)break a;c[k+(C<<2)>>2]=c[fa+136>>2];break a}if(k&1024|0){fa=Rk(f,c[E+4>>2]|0,i)|0;l=ga;return fa|0}if((F|0)>0){o=$+20|0;p=$+4|0;s=$+8|0;t=$+24|0;k=0;q=0;n=0;do{if((n|0)<32){m=c[E+4+(n*20|0)>>2]|0;a[o>>0]=1;c[p>>2]=186;c[s>>2]=187;c[t>>2]=0;if(!m)m=1;else{$j($,m)|0;m=a[o>>0]|0}k=(m<<24>>24==0?0:1<>1]&32)==0))q=Qj(f,c[E+4+(n*20|0)>>2]|0)|0;n=n+1|0}while((n|0)!=(F|0));B=k}else{B=0;q=0}h:do if(u){do if(!B)if((F|0)==1){k=f+19|0;m=a[k>>0]|0;if(!(m<<24>>24)){da=f+44|0;x=(c[da>>2]|0)+1|0;c[da>>2]=x;break}else{x=m+-1<<24>>24;a[k>>0]=x;x=c[f+348+((x&255)<<2)>>2]|0;break}}else{k=f+32|0;m=c[k>>2]|0;n=f+28|0;o=c[n>>2]|0;if((o|0)<(F|0)){da=f+44|0;x=c[da>>2]|0;c[da>>2]=x+F;x=x+1|0;break}else{c[k>>2]=m+F;c[n>>2]=o-F;x=m;break}}else{da=f+44|0;x=c[da>>2]|0;c[da>>2]=x+F;x=x+1|0}while(0);k=b[v>>1]&192;i:do if(k<<16>>16){m=c[E+4>>2]|0;switch(a[m>>0]|0){case -109:case -111:break;default:break i}a[m+38>>0]=k}while(0);u=f+60|0;c[u>>2]=(c[u>>2]|0)+1;Vk(f,E,x,0,3)|0;k=(c[u>>2]|0)+-1|0;c[u>>2]=k;v=f+25|0;m=a[v>>0]|0;if(m<<24>>24){w=f+19|0;t=0;do{n=f+148+(t*20|0)+8|0;o=f+148+(t*20|0)|0;p=f+148+(t*20|0)+6|0;s=f+148+(t*20|0)+12|0;if((c[n>>2]|0)>(k|0))do{do if(a[p>>0]|0){k=a[w>>0]|0;if((k&255)>=8)break;da=c[s>>2]|0;a[w>>0]=k+1<<24>>24;c[f+348+((k&255)<<2)>>2]=da}while(0);m=m+-1<<24>>24;a[v>>0]=m;k=m&255;if((k|0)>(t|0)){m=f+148+(k*20|0)|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];c[o+16>>2]=c[m+16>>2];m=a[v>>0]|0}if((t|0)>=(m&255|0))break h;k=c[u>>2]|0}while((c[n>>2]|0)>(k|0));t=t+1|0}while((t|0)<(m&255|0))}}else x=0;while(0);if((F|0)<=1)if((F|0)==1){k=0;ea=408}else k=A;else{k=(c[y>>2]|0)>>>7&1;ea=408}if((ea|0)==408){k=c[E+4+(k*20|0)>>2]|0;c[$>>2]=0;c[_>>2]=0;j:do if((((k|0)!=0?(a[k>>0]|0)==-111:0)?(D=c[k+44>>2]|0,(D|0)!=0):0)?(c[D+56>>2]|0)!=0:0){k=D+64|0;while(1){k=c[k>>2]|0;if((c[k>>2]|0)==(C|0))break;else k=k+24|0}n=c[k+8>>2]|0;o=(c[n>>2]|0)+72|0;if(c[o>>2]|0){s=A+20|0;p=kg(C,c[s>>2]|0)|0;if(!p){k=A;break}k=a[p>>0]|0;if(k<<24>>24){m=p;do{a[m>>0]=a[17324+(k&255)>>0]|0;m=m+1|0;k=a[m>>0]|0}while(k<<24>>24!=0)}k=nb[c[o>>2]&255](n,F,p,$,_)|0;n=(C|0)==0;do if(n)ea=424;else{if(c[C+464>>2]|0){Lc(C,p);break}m=p;if(m>>>0<(c[C+296>>2]|0)>>>0){ea=424;break}if(m>>>0>=(c[C+300>>2]|0)>>>0){ea=424;break}da=C+292|0;c[p>>2]=c[da>>2];c[da>>2]=p}while(0);do if((ea|0)==424)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{da=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-da;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);if(!k){k=A;break}k=c[s>>2]|0;if(!k)p=29;else p=((As(k)|0)&1073741823)+29|0;k:do if(n){da=Ft(p|0,0,-1,-1)|0;ca=z;if(ca>>>0>0|(ca|0)==0&da>>>0>2147483390){k=A;break j}if(!(c[2]|0)){k=jb[c[52>>2]&255](p)|0;ea=452;break}k=jb[c[68>>2]&255](p)|0;if((c[11829]|0)>>>0

    >>0)c[11829]=p;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){ca=c[11822]|0;da=Gt(m|0,n|0,k|0,((k|0)<0)<<31>>31|0)|0;ba=z;c[11616]=(0>(ba|0)|0==(ba|0)&ca>>>0>=da>>>0)&1}k=jb[c[52>>2]&255](k)|0;if(!k){k=A;break j}m=jb[c[64>>2]&255](k)|0;m=(c[11822]|0)+m|0;c[11822]=m;if(m>>>0>(c[11826]|0)>>>0)c[11826]=m;m=(c[11825]|0)+1|0;c[11825]=m;if(m>>>0<=(c[11831]|0)>>>0)break;c[11831]=m}else{if(c[C+264>>2]|0){if(a[C+73>>0]|0){k=A;break j}}else{do if(0<0|(0==0?(e[C+268>>1]|0)>>>0

    >>0:0))k=1;else{m=C+292|0;k=c[m>>2]|0;if(k|0){c[m>>2]=c[k>>2];ea=C+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=452;break k}m=C+288|0;k=c[m>>2]|0;if(!k){k=2;break}c[m>>2]=c[k>>2];ea=C+276|0;c[ea>>2]=(c[ea>>2]|0)+1;ea=452;break k}while(0);ea=C+276+(k<<2)|0;c[ea>>2]=(c[ea>>2]|0)+1}k=Ec(C,p,0)|0;ea=452}while(0);if((ea|0)==452)if(!k){k=A;break}o=k+28|0;Vt(o|0,0,p+-28|0)|0;c[k>>2]=c[A>>2];c[k+4>>2]=c[A+4>>2];c[k+8>>2]=c[A+8>>2];c[k+12>>2]=c[A+12>>2];c[k+16>>2]=c[A+16>>2];c[k+20>>2]=c[A+20>>2];c[k+24>>2]=c[A+24>>2];c[k+20>>2]=o;n=c[s>>2]|0;if(!n)m=1;else m=((As(n)|0)&1073741823)+1|0;Tt(o|0,n|0,m|0)|0;c[k+12>>2]=c[$>>2];c[k+4>>2]=c[_>>2];ea=k+2|0;b[ea>>1]=b[ea>>1]|16}else k=A}else k=A;while(0)}do if(b[k+2>>1]&32){if(!q)q=c[C+8>>2]|0;s=fa+136|0;m=c[s>>2]|0;o=fa+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){c[s>>2]=m+1;p=c[fa+88>>2]|0;a[p+(m*20|0)>>0]=79;p=p+(m*20|0)+1|0;n=p+19|0;do{a[p>>0]=0;p=p+1|0}while((p|0)<(n|0))}else m=zi(fa,79,0,0,0)|0;if(!(a[(c[fa>>2]|0)+73>>0]|0)){if((m|0)<0)m=(c[s>>2]|0)+-1|0;n=c[fa+88>>2]|0;p=n+(m*20|0)+1|0;if(a[p>>0]|0){Ai(fa,n+(m*20|0)|0,q,-2);p=s;break}if(!q){p=s;break}c[n+(m*20|0)+16>>2]=q;a[p>>0]=-2;p=s}else p=s}else{o=fa+12|0;p=fa+136|0}while(0);n=c[f+56>>2]|0?161:162;m=c[p>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(m|0)){c[p>>2]=m+1;ea=c[fa+88>>2]|0;a[ea+(m*20|0)>>0]=n;b[ea+(m*20|0)+2>>1]=0;c[ea+(m*20|0)+4>>2]=B;c[ea+(m*20|0)+8>>2]=x;c[ea+(m*20|0)+12>>2]=i;c[ea+(m*20|0)+16>>2]=0;a[ea+(m*20|0)+1>>0]=0}else m=zi(fa,n,B,x,i)|0;n=c[fa>>2]|0;l:do if(!(a[n+73>>0]|0)){if((m|0)<0)m=(c[p>>2]|0)+-1|0;n=c[fa+88>>2]|0;o=n+(m*20|0)+1|0;if(a[o>>0]|0){Ai(fa,n+(m*20|0)|0,k,-8);break}if(k|0){c[n+(m*20|0)+16>>2]=k;a[o>>0]=-8}}else if(b[k+2>>1]&16){do if(n|0){if(c[n+464>>2]|0){Lc(n,k);break l}m=k;if(m>>>0<(c[n+296>>2]|0)>>>0)break;if(m>>>0>=(c[n+300>>2]|0)>>>0)break;ea=n+292|0;c[k>>2]=c[ea>>2];c[ea>>2]=k;break l}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ea=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);k=c[p>>2]|0;if((k|0)>0)b[(c[fa+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=F&255;if(!((F|0)!=0&(B|0)==0)){fa=i;l=ga;return fa|0}if((F|0)==1){if(!x){fa=i;l=ga;return fa|0}o=f+19|0;p=a[o>>0]|0;if((p&255)>=8){fa=i;l=ga;return fa|0}k=a[f+25>>0]|0;m:do if(k<<24>>24){n=k&255;k=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(x|0))break;k=k+1|0;if((k|0)>=(n|0))break m;else m=m+20|0}a[m+6>>0]=1;fa=i;l=ga;return fa|0}while(0);a[o>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=x;fa=i;l=ga;return fa|0}t=f+25|0;k=a[t>>0]|0;n:do if(k<<24>>24){u=x+F|0;v=f+19|0;s=0;do{o=f+148+(s*20|0)+12|0;p=f+148+(s*20|0)|0;q=f+148+(s*20|0)+6|0;while(1){m=c[o>>2]|0;if(!((m|0)>=(x|0)&(m|0)<(u|0)))break;do if(a[q>>0]|0){n=a[v>>0]|0;if((n&255)>=8)break;a[v>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=m}while(0);k=k+-1<<24>>24;a[t>>0]=k;m=k&255;if((m|0)>(s|0)){k=f+148+(m*20|0)|0;c[p>>2]=c[k>>2];c[p+4>>2]=c[k+4>>2];c[p+8>>2]=c[k+8>>2];c[p+12>>2]=c[k+12>>2];c[p+16>>2]=c[k+16>>2];k=a[t>>0]|0}if((s|0)>=(k&255|0))break n}s=s+1|0}while((s|0)<(k&255|0))}while(0);k=f+28|0;if((c[k>>2]|0)>=(F|0)){fa=i;l=ga;return fa|0}c[k>>2]=F;c[f+32>>2]=x;fa=i;l=ga;return fa|0}c[v>>2]=k;hg(f,29467,v);break}case 119:case 20:{if((x|0)==119?(k=c[c[c[g+20>>2]>>2]>>2]|0,(k|0)!=1):0){c[o>>2]=k;c[o+4>>2]=1;hg(f,29348,o);break a}fa=Nk(f,g,0,0)|0;l=ga;return fa|0}case -104:{n=g+12|0;i=c[n>>2]|0;if(!(c[i+28>>2]|0)){fa=Nk(f,i,0,0)|0;i=c[n>>2]|0;c[i+28>>2]=fa}m=c[g+28>>2]|0;if(m){k=a[i>>0]|0;if(k<<24>>24==-106)k=a[i+38>>0]|0;switch(k<<24>>24){case -105:{k=i+20|0;ea=528;break}case 119:{k=c[i+20>>2]|0;ea=528;break}default:k=1}if((ea|0)==528)k=c[c[k>>2]>>2]|0;if((m|0)!=(k|0)){c[u>>2]=m;c[u+4>>2]=k;hg(f,29490,u);i=c[n>>2]|0}}fa=(b[g+32>>1]|0)+(c[i+28>>2]|0)|0;l=ga;return fa|0}case 49:{t=fa+12|0;k=c[t>>2]|0;o=k+68|0;s=c[o>>2]|0;c[o>>2]=s+1;o=k+72|0;if(!(s+-1&s)){m=c[k>>2]|0;n=c[o>>2]|0;k=Mc(m,n,s<<3|4,0)|0;do if(!((n|0)==0|(k|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}ea=n;if(ea>>>0>=(c[m+296>>2]|0)>>>0?ea>>>0<(c[m+300>>2]|0)>>>0:0){ea=m+292|0;c[n>>2]=c[ea>>2];c[ea>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{ea=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=k}else k=c[o>>2]|0;if(k|0)c[k+(s<<2)>>2]=-1;p=~s;k=c[t>>2]|0;o=k+68|0;q=c[o>>2]|0;c[o>>2]=q+1;o=k+72|0;if(!(q+-1&q)){m=c[k>>2]|0;n=c[o>>2]|0;k=Mc(m,n,q<<3|4,0)|0;do if(!((n|0)==0|(k|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}ea=n;if(ea>>>0>=(c[m+296>>2]|0)>>>0?ea>>>0<(c[m+300>>2]|0)>>>0:0){ea=m+292|0;c[n>>2]=c[ea>>2];c[ea>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{ea=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=k}else k=c[o>>2]|0;if(k|0)c[k+(q<<2)>>2]=-1;n=fa+136|0;k=c[n>>2]|0;if((c[(c[t>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;ea=c[fa+88>>2]|0;a[ea+(k*20|0)>>0]=70;b[ea+(k*20|0)+2>>1]=0;c[ea+(k*20|0)+4>>2]=0;c[ea+(k*20|0)+8>>2]=i;c[ea+(k*20|0)+12>>2]=0;c[ea+(k*20|0)+16>>2]=0;a[ea+(k*20|0)+1>>0]=0}else zi(fa,70,0,i,0)|0;Kk(f,g,p,~q);k=c[n>>2]|0;if((c[(c[t>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;f=c[fa+88>>2]|0;a[f+(k*20|0)>>0]=67;b[f+(k*20|0)+2>>1]=0;c[f+(k*20|0)+4>>2]=1;c[f+(k*20|0)+8>>2]=i;c[f+(k*20|0)+12>>2]=0;c[f+(k*20|0)+16>>2]=0;a[f+(k*20|0)+1>>0]=0}else zi(fa,67,1,i,0)|0;m=c[t>>2]|0;k=c[m+72>>2]|0;if(k|0)c[k+(s<<2)>>2]=c[n>>2];k=c[n>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[n>>2]=k+1;fa=c[fa+88>>2]|0;a[fa+(k*20|0)>>0]=80;b[fa+(k*20|0)+2>>1]=0;c[fa+(k*20|0)+4>>2]=i;c[fa+(k*20|0)+8>>2]=0;c[fa+(k*20|0)+12>>2]=0;c[fa+(k*20|0)+16>>2]=0;a[fa+(k*20|0)+1>>0]=0}else zi(fa,80,i,0,0)|0;k=c[(c[t>>2]|0)+72>>2]|0;if(!k){fa=i;l=ga;return fa|0}c[k+(q<<2)>>2]=c[n>>2];fa=i;l=ga;return fa|0}case 48:{Jk(f,g,i,0,0);fa=i;l=ga;return fa|0}case -107:case 94:case -101:{fa=Rk(f,c[g+12>>2]|0,i)|0;l=ga;return fa|0}case 75:{p=c[g+44>>2]|0;n=O((b[p+42>>1]|0)+1|0,c[g+28>>2]|0)|0;m=g+32|0;k=b[m>>1]|0;n=(k<<16>>16)+1+n|0;q=fa+136|0;o=c[q>>2]|0;s=fa+12|0;if((c[(c[s>>2]|0)+48>>2]|0)>(o|0)){c[q>>2]=o+1;$=c[fa+88>>2]|0;a[$+(o*20|0)>>0]=-112;b[$+(o*20|0)+2>>1]=0;c[$+(o*20|0)+4>>2]=n;c[$+(o*20|0)+8>>2]=i;c[$+(o*20|0)+12>>2]=0;c[$+(o*20|0)+16>>2]=0;a[$+(o*20|0)+1>>0]=0}else{zi(fa,144,n,i,0)|0;k=b[m>>1]|0}if(k<<16>>16>-1?(a[(c[p+4>>2]|0)+(k<<16>>16<<4)+13>>0]|0)==69:0){k=c[q>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(k|0)){c[q>>2]=k+1;fa=c[fa+88>>2]|0;a[fa+(k*20|0)>>0]=81;b[fa+(k*20|0)+2>>1]=0;c[fa+(k*20|0)+4>>2]=i;c[fa+(k*20|0)+8>>2]=0;c[fa+(k*20|0)+12>>2]=0;c[fa+(k*20|0)+16>>2]=0;a[fa+(k*20|0)+1>>0]=0;break a}else{zi(fa,81,i,0,0)|0;break a}}break}case -105:{hg(f,28127,m);break}case -103:{k=c[g+28>>2]|0;x=fa+136|0;m=c[x>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(m|0)){c[x>>2]=m+1;$=c[fa+88>>2]|0;a[$+(m*20|0)>>0]=23;b[$+(m*20|0)+2>>1]=0;c[$+(m*20|0)+4>>2]=k;c[$+(m*20|0)+8>>2]=0;c[$+(m*20|0)+12>>2]=0;c[$+(m*20|0)+16>>2]=0;a[$+(m*20|0)+1>>0]=0}else m=zi(fa,23,k,0,0)|0;w=f+60|0;c[w>>2]=(c[w>>2]|0)+1;i=Rk(f,c[g+12>>2]|0,i)|0;k=(c[w>>2]|0)+-1|0;c[w>>2]=k;u=f+25|0;n=a[u>>0]|0;o:do if(n<<24>>24){v=f+19|0;t=0;do{o=f+148+(t*20|0)+8|0;p=f+148+(t*20|0)|0;q=f+148+(t*20|0)+6|0;s=f+148+(t*20|0)+12|0;if((c[o>>2]|0)>(k|0))do{if(a[q>>0]|0?(y=a[v>>0]|0,(y&255)<8):0){$=c[s>>2]|0;a[v>>0]=y+1<<24>>24;c[f+348+((y&255)<<2)>>2]=$}n=n+-1<<24>>24;a[u>>0]=n;k=n&255;if((k|0)>(t|0)){n=f+148+(k*20|0)|0;c[p>>2]=c[n>>2];c[p+4>>2]=c[n+4>>2];c[p+8>>2]=c[n+8>>2];c[p+12>>2]=c[n+12>>2];c[p+16>>2]=c[n+16>>2];n=a[u>>0]|0}if((t|0)>=(n&255|0))break o;k=c[w>>2]|0}while((c[o>>2]|0)>(k|0));t=t+1|0}while((t|0)<(n&255|0))}while(0);k=c[x>>2]|0;if(!(a[(c[fa>>2]|0)+73>>0]|0)){c[(c[fa+88>>2]|0)+(((m|0)<0?k+-1|0:m)*20|0)+8>>2]=k;k=(c[fa+88>>2]|0)+(((m|0)<0?k+-1|0:m)*20|0)|0}else{c[11679]=k;k=46708}c[k+12>>2]=i;break}case 70:{if(!(c[f+124>>2]|0)){hg(f,29520,n);fa=0;l=ga;return fa|0}k=a[g+1>>0]|0;switch(k<<24>>24){case 2:{o=c[f+120>>2]|0;a[((o|0)==0?f:o)+21>>0]=1;o=c[g+8>>2]|0;m=c[f+120>>2]|0;a[((m|0)==0?f:m)+21>>0]=1;m=2;break}case 4:{n=c[g+8>>2]|0;m=fa+136|0;k=c[m>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;$=c[fa+88>>2]|0;a[$+(k*20|0)>>0]=66;b[$+(k*20|0)+2>>1]=0;c[$+(k*20|0)+4>>2]=0;c[$+(k*20|0)+8>>2]=4;c[$+(k*20|0)+12>>2]=0;c[$+(k*20|0)+16>>2]=0;a[$+(k*20|0)+1>>0]=0}else k=zi(fa,66,0,4,0)|0;if(a[(c[fa>>2]|0)+73>>0]|0)break a;if((k|0)<0)k=(c[m>>2]|0)+-1|0;Ai(fa,(c[fa+88>>2]|0)+(k*20|0)|0,n,0);break a}default:{m=k<<24>>24;o=c[g+8>>2]|0}}n=fa+136|0;k=c[n>>2]|0;if((c[(c[fa+12>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;$=c[fa+88>>2]|0;a[$+(k*20|0)>>0]=66;b[$+(k*20|0)+2>>1]=0;c[$+(k*20|0)+4>>2]=1811;c[$+(k*20|0)+8>>2]=m;c[$+(k*20|0)+12>>2]=0;c[$+(k*20|0)+16>>2]=0;a[$+(k*20|0)+1>>0]=0}else k=zi(fa,66,1811,m,0)|0;if(!(a[(c[fa>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;Ai(fa,(c[fa+88>>2]|0)+(k*20|0)|0,o,0)}k=c[n>>2]|0;if((k|0)>0)b[(c[fa+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=0;break}default:{H=c[g+20>>2]|0;G=c[H>>2]|0;I=fa+12|0;k=c[I>>2]|0;o=k+68|0;J=c[o>>2]|0;c[o>>2]=J+1;o=k+72|0;if(!(J+-1&J)){m=c[k>>2]|0;n=c[o>>2]|0;k=Mc(m,n,J<<3|4,0)|0;do if(!((n|0)==0|(k|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}Z=n;if(Z>>>0>=(c[m+296>>2]|0)>>>0?Z>>>0<(c[m+300>>2]|0)>>>0:0){Z=m+292|0;c[n>>2]=c[Z>>2];c[Z>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{Z=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-Z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=k}else k=c[o>>2]|0;if(k|0)c[k+(J<<2)>>2]=-1;F=~J;k=c[g+12>>2]|0;E=(k|0)!=0;if(E){p=C;n=p+48|0;do{c[p>>2]=c[k>>2];p=p+4|0;k=k+4|0}while((p|0)<(n|0));m=a[C>>0]|0;x=C+38|0;switch((m<<24>>24==-106?a[x>>0]|0:m)<<24>>24){case -105:{k=C+20|0;ea=623;break}case 119:{k=c[C+20>>2]|0;ea=623;break}default:ea=624}do if((ea|0)==623){w=c[c[k>>2]>>2]|0;if((w|0)!=1){c[aa>>2]=0;if(m<<24>>24==119){k=Nk(f,C,0,0)|0;break}Z=f+44|0;Y=c[Z>>2]|0;k=Y+1|0;c[Z>>2]=Y+w;if((w|0)>0){n=C+20|0;o=f+23|0;p=$+20|0;q=$+4|0;s=$+8|0;t=$+24|0;m=0;do{u=c[(c[n>>2]|0)+4+(m*20|0)>>2]|0;v=m+k|0;do if(!(a[o>>0]|0))ea=634;else{a[p>>0]=1;c[q>>2]=186;c[s>>2]=187;c[t>>2]=0;if(u){$j($,u)|0;if(!(a[p>>0]|0)){ea=634;break}}Qk(f,u,v)|0}while(0);if((ea|0)==634){ea=0;Di(f,u,v)}m=m+1|0}while((m|0)!=(w|0))}}else ea=624}while(0);if((ea|0)==624)k=Hk(f,C,aa)|0;a[x>>0]=a[C>>0]|0;a[C>>0]=-106;c[C+28>>2]=k;p=C+4|0;c[p>>2]=c[p>>2]&-4097;p=_;n=p+48|0;do{c[p>>2]=0;p=p+4|0}while((p|0)<(n|0));a[_>>0]=53;c[_+12>>2]=C;c[aa>>2]=0;k=_}else k=0;D=G+-1|0;if((G|0)>1){C=f+60|0;w=_+16|0;x=fa+136|0;y=fa+88|0;A=f+25|0;B=f+19|0;v=0;do{c[C>>2]=(c[C>>2]|0)+1;m=c[H+4+(v*20|0)>>2]|0;if(E)c[w>>2]=m;else k=m;m=c[I>>2]|0;p=m+68|0;u=c[p>>2]|0;c[p>>2]=u+1;p=m+72|0;if(!(u+-1&u)){n=c[m>>2]|0;o=c[p>>2]|0;m=Mc(n,o,u<<3|4,0)|0;do if(!((o|0)==0|(m|0)!=0)){if(n|0){if(c[n+464>>2]|0){Lc(n,o);break}$=o;if($>>>0>=(c[n+296>>2]|0)>>>0?$>>>0<(c[n+300>>2]|0)>>>0:0){$=n+292|0;c[o>>2]=c[$>>2];c[$>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{$=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[p>>2]=m}else m=c[p>>2]|0;if(m|0)c[m+(u<<2)>>2]=-1;Dk(f,k,~u,16);Di(f,c[H+4+((v|1)*20|0)>>2]|0,i);m=c[x>>2]|0;if((c[(c[I>>2]|0)+48>>2]|0)>(m|0)){c[x>>2]=m+1;$=c[y>>2]|0;a[$+(m*20|0)>>0]=13;b[$+(m*20|0)+2>>1]=0;c[$+(m*20|0)+4>>2]=0;c[$+(m*20|0)+8>>2]=F;c[$+(m*20|0)+12>>2]=0;c[$+(m*20|0)+16>>2]=0;a[$+(m*20|0)+1>>0]=0}else zi(fa,13,0,F,0)|0;m=(c[C>>2]|0)+-1|0;c[C>>2]=m;n=a[A>>0]|0;p:do if(n<<24>>24){t=0;do{o=f+148+(t*20|0)+8|0;p=f+148+(t*20|0)|0;q=f+148+(t*20|0)+6|0;s=f+148+(t*20|0)+12|0;if((c[o>>2]|0)>(m|0))do{do if(a[q>>0]|0){m=a[B>>0]|0;if((m&255)>=8)break;$=c[s>>2]|0;a[B>>0]=m+1<<24>>24;c[f+348+((m&255)<<2)>>2]=$}while(0);n=n+-1<<24>>24;a[A>>0]=n;m=n&255;if((m|0)>(t|0)){n=f+148+(m*20|0)|0;c[p>>2]=c[n>>2];c[p+4>>2]=c[n+4>>2];c[p+8>>2]=c[n+8>>2];c[p+12>>2]=c[n+12>>2];c[p+16>>2]=c[n+16>>2];n=a[A>>0]|0}if((t|0)>=(n&255|0))break p;m=c[C>>2]|0}while((c[o>>2]|0)>(m|0));t=t+1|0}while((t|0)<(n&255|0))}while(0);m=c[(c[I>>2]|0)+72>>2]|0;if(m|0)c[m+(u<<2)>>2]=c[x>>2];v=v+2|0}while((v|0)<(D|0))}q:do if(!(G&1)){k=fa+136|0;m=c[k>>2]|0;if((c[(c[I>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;$=c[fa+88>>2]|0;a[$+(m*20|0)>>0]=70;b[$+(m*20|0)+2>>1]=0;c[$+(m*20|0)+4>>2]=0;c[$+(m*20|0)+8>>2]=i;c[$+(m*20|0)+12>>2]=0;c[$+(m*20|0)+16>>2]=0;a[$+(m*20|0)+1>>0]=0;break}else{zi(fa,70,0,i,0)|0;break}}else{v=f+60|0;c[v>>2]=(c[v>>2]|0)+1;Di(f,c[H+4+(D*20|0)>>2]|0,i);k=(c[v>>2]|0)+-1|0;c[v>>2]=k;t=f+25|0;m=a[t>>0]|0;if(m<<24>>24){u=f+19|0;s=0;do{n=f+148+(s*20|0)+8|0;o=f+148+(s*20|0)|0;p=f+148+(s*20|0)+6|0;q=f+148+(s*20|0)+12|0;if((c[n>>2]|0)>(k|0))do{if(a[p>>0]|0?(K=a[u>>0]|0,(K&255)<8):0){$=c[q>>2]|0;a[u>>0]=K+1<<24>>24;c[f+348+((K&255)<<2)>>2]=$}m=m+-1<<24>>24;a[t>>0]=m;k=m&255;if((k|0)>(s|0)){m=f+148+(k*20|0)|0;c[o>>2]=c[m>>2];c[o+4>>2]=c[m+4>>2];c[o+8>>2]=c[m+8>>2];c[o+12>>2]=c[m+12>>2];c[o+16>>2]=c[m+16>>2];m=a[t>>0]|0}if((s|0)>=(m&255|0))break q;k=c[v>>2]|0}while((c[n>>2]|0)>(k|0));s=s+1|0}while((s|0)<(m&255|0))}}while(0);k=c[(c[I>>2]|0)+72>>2]|0;if(k|0)c[k+(J<<2)>>2]=c[fa+136>>2]}}while(0);if((ea|0)==11){k=c[g+28>>2]|0;do if((k|0)<0){k=c[f+56>>2]|0;if((k|0)>=0){o=k+-1|0;break}fa=(b[g+32>>1]|0)-k|0;l=ga;return fa|0}else o=k;while(0);p=c[g+44>>2]|0;q=b[g+32>>1]|0;s=q<<16>>16;t=a[g+38>>0]|0;k=f+148|0;m=a[f+25>>0]|0;r:do if(m<<24>>24){u=m&255;m=0;n=k;while(1){if((c[n>>2]|0)==(o|0)?(b[n+4>>1]|0)==q<<16>>16:0)break;m=m+1|0;if((m|0)>=(u|0))break r;else n=n+20|0}m=f+64|0;i=c[m>>2]|0;c[m>>2]=i+1;c[n+16>>2]=i;i=c[n+12>>2]|0;m=0;while(1){if((c[k+12>>2]|0)==(i|0))a[k+6>>0]=0;m=m+1|0;if((m|0)==(u|0))break;else k=k+20|0}l=ga;return i|0}while(0);Ek(fa,p,o,s,i);if(!(t<<24>>24)){Tk(f,o,s,i);fa=i;l=ga;return fa|0}k=c[fa+136>>2]|0;if((k|0)<=0){fa=i;l=ga;return fa|0}b[(c[fa+88>>2]|0)+((k+-1|0)*20|0)+2>>1]=t&255;fa=i;l=ga;return fa|0}do if((ea|0)==149){V=c[g+12>>2]|0;k=a[V>>0]|0;p=k<<24>>24==-106;if(p)m=a[V+38>>0]|0;else m=k;switch(m<<24>>24){case -105:{t=V+20|0;ea=154;break}case 119:{t=c[V+20>>2]|0;ea=154;break}default:{}}if((ea|0)==154?(c[c[t>>2]>>2]|0)>1:0){U=n&255;q=o&255;T=c[g+16>>2]|0;if(p)k=a[V+38>>0]|0;switch(k<<24>>24){case -105:{k=V+20|0;ea=160;break}case 119:{k=c[V+20>>2]|0;ea=160;break}default:p=1}if((ea|0)==160)p=c[c[k>>2]>>2]|0;R=fa+12|0;k=c[R>>2]|0;o=k+68|0;S=c[o>>2]|0;c[o>>2]=S+1;o=k+72|0;if(!(S+-1&S)){m=c[k>>2]|0;n=c[o>>2]|0;k=Mc(m,n,S<<3|4,0)|0;do if(!((n|0)==0|(k|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}Q=n;if(Q>>>0>=(c[m+296>>2]|0)>>>0?Q>>>0<(c[m+300>>2]|0)>>>0:0){Q=m+292|0;c[n>>2]=c[Q>>2];c[Q>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{Q=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-Q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=k}else k=c[o>>2]|0;if(k|0)c[k+(S<<2)>>2]=-1;Q=~S;m=a[T>>0]|0;if(m<<24>>24==-106)k=a[T+38>>0]|0;else k=m;switch(k<<24>>24){case -105:{k=T+20|0;ea=181;break}case 119:{k=c[T+20>>2]|0;ea=181;break}default:k=1}if((ea|0)==181)k=c[c[k>>2]>>2]|0;if((p|0)!=(k|0)){hg(f,28127,A);break}n=U<<24>>24==55?56:U;if((a[V>>0]|0)==119){P=Nk(f,V,0,0)|0;k=a[T>>0]|0}else{P=0;k=m}if(k<<24>>24==119)A=Nk(f,T,0,0)|0;else A=0;B=f+60|0;C=V+38|0;D=V+28|0;E=V+20|0;F=V+20|0;G=T+38|0;H=T+28|0;I=T+20|0;J=T+20|0;g=f+25|0;K=f+19|0;L=p+-1|0;N=fa+136|0;M=fa+88|0;x=p+-2|0;y=f+148|0;k=q|32;w=0;m=n<<24>>24==57?54:n;while(1){c[$>>2]=0;c[_>>2]=0;s=(w|0)>0;if(s)c[B>>2]=(c[B>>2]|0)+1;switch(a[V>>0]|0){case -106:{o=a[C>>0]|0;switch(o<<24>>24){case -105:{n=E;ea=194;break}case 119:{n=c[F>>2]|0;ea=194;break}default:n=V}if((ea|0)==194){ea=0;if((c[c[n>>2]>>2]|0)>1){if(o<<24>>24==119)n=c[F>>2]|0;else n=E;n=c[(c[n>>2]|0)+4+(w*20|0)>>2]|0}else n=V}q=(c[D>>2]|0)+w|0;break}case 119:{q=w+P|0;n=c[(c[c[F>>2]>>2]|0)+4+(w*20|0)>>2]|0;break}default:{n=c[(c[F>>2]|0)+4+(w*20|0)>>2]|0;q=Hk(f,n,$)|0}}switch(a[T>>0]|0){case -106:{p=a[G>>0]|0;switch(p<<24>>24){case -105:{o=I;ea=204;break}case 119:{o=c[J>>2]|0;ea=204;break}default:o=T}if((ea|0)==204){ea=0;if((c[c[o>>2]>>2]|0)>1){if(p<<24>>24==119)o=c[J>>2]|0;else o=I;o=c[(c[o>>2]|0)+4+(w*20|0)>>2]|0}else o=T}p=(c[H>>2]|0)+w|0;break}case 119:{p=w+A|0;o=c[(c[c[J>>2]>>2]|0)+4+(w*20|0)>>2]|0;break}default:{o=c[(c[J>>2]|0)+4+(w*20|0)>>2]|0;p=Hk(f,o,_)|0}}v=k&255;Ik(f,n,o,m&255,q,p,i,v);q=c[$>>2]|0;s:do if(q|0?(W=a[K>>0]|0,(W&255)<8):0){n=a[g>>0]|0;t:do if(n<<24>>24){p=n&255;n=0;o=y;while(1){if((c[o+12>>2]|0)==(q|0))break;n=n+1|0;if((n|0)>=(p|0))break t;else o=o+20|0}a[o+6>>0]=1;break s}while(0);a[K>>0]=W+1<<24>>24;c[f+348+((W&255)<<2)>>2]=q}while(0);q=c[_>>2]|0;u:do if(q|0?(X=a[K>>0]|0,(X&255)<8):0){n=a[g>>0]|0;v:do if(n<<24>>24){p=n&255;n=0;o=y;while(1){if((c[o+12>>2]|0)==(q|0))break;n=n+1|0;if((n|0)>=(p|0))break v;else o=o+20|0}a[o+6>>0]=1;break u}while(0);a[K>>0]=X+1<<24>>24;c[f+348+((X&255)<<2)>>2]=q}while(0);w:do if(s?(Y=(c[B>>2]|0)+-1|0,c[B>>2]=Y,Z=a[g>>0]|0,Z<<24>>24):0){u=0;n=Z;o=Y;do{p=f+148+(u*20|0)+8|0;q=f+148+(u*20|0)|0;s=f+148+(u*20|0)+6|0;t=f+148+(u*20|0)+12|0;if((c[p>>2]|0)>(o|0))do{do if(a[s>>0]|0){o=a[K>>0]|0;if((o&255)>=8)break;ha=c[t>>2]|0;a[K>>0]=o+1<<24>>24;c[f+348+((o&255)<<2)>>2]=ha}while(0);n=n+-1<<24>>24;a[g>>0]=n;o=n&255;if((o|0)>(u|0)){n=f+148+(o*20|0)|0;c[q>>2]=c[n>>2];c[q+4>>2]=c[n+4>>2];c[q+8>>2]=c[n+8>>2];c[q+12>>2]=c[n+12>>2];c[q+16>>2]=c[n+16>>2];n=a[g>>0]|0}if((u|0)>=(n&255|0))break w;o=c[B>>2]|0}while((c[p>>2]|0)>(o|0));u=u+1|0}while((u|0)<(n&255|0))}while(0);if((w|0)==(L|0))break;switch(m<<24>>24){case 53:{k=c[N>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(k|0)){c[N>>2]=k+1;ha=c[M>>2]|0;a[ha+(k*20|0)>>0]=22;b[ha+(k*20|0)+2>>1]=0;c[ha+(k*20|0)+4>>2]=i;c[ha+(k*20|0)+8>>2]=Q;c[ha+(k*20|0)+12>>2]=0;c[ha+(k*20|0)+16>>2]=0;a[ha+(k*20|0)+1>>0]=0}else zi(fa,22,i,Q,0)|0;k=(v|8)&255;m=53;break}case 52:{k=c[N>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(k|0)){c[N>>2]=k+1;ha=c[M>>2]|0;a[ha+(k*20|0)>>0]=21;b[ha+(k*20|0)+2>>1]=0;c[ha+(k*20|0)+4>>2]=i;c[ha+(k*20|0)+8>>2]=Q;c[ha+(k*20|0)+12>>2]=0;c[ha+(k*20|0)+16>>2]=0;a[ha+(k*20|0)+1>>0]=0}else zi(fa,21,i,Q,0)|0;k=(v|8)&255;m=52;break}default:{n=c[N>>2]|0;if((c[(c[R>>2]|0)+48>>2]|0)>(n|0)){c[N>>2]=n+1;ha=c[M>>2]|0;a[ha+(n*20|0)>>0]=58;b[ha+(n*20|0)+2>>1]=0;c[ha+(n*20|0)+4>>2]=0;c[ha+(n*20|0)+8>>2]=Q;c[ha+(n*20|0)+12>>2]=0;c[ha+(n*20|0)+16>>2]=0;a[ha+(n*20|0)+1>>0]=0}else zi(fa,58,0,Q,0)|0;m=(w|0)==(x|0)?U:m}}w=w+1|0}k=c[(c[R>>2]|0)+72>>2]|0;if(!k)break;c[k+(S<<2)>>2]=c[N>>2];break}fa=Hk(f,V,aa)|0;ea=g+16|0;ha=Hk(f,c[ea>>2]|0,da)|0;Ik(f,V,c[ea>>2]|0,n,fa,ha,i,o|32)}while(0);o=c[aa>>2]|0;x:do if(o|0?(ba=f+19|0,ca=a[ba>>0]|0,(ca&255)<8):0){k=a[f+25>>0]|0;y:do if(k<<24>>24){n=k&255;k=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(o|0))break;k=k+1|0;if((k|0)>=(n|0))break y;else m=m+20|0}a[m+6>>0]=1;break x}while(0);a[ba>>0]=ca+1<<24>>24;c[f+348+((ca&255)<<2)>>2]=o}while(0);o=c[da>>2]|0;if(!o){ha=i;l=ga;return ha|0}p=f+19|0;q=a[p>>0]|0;if((q&255)>=8){ha=i;l=ga;return ha|0}k=a[f+25>>0]|0;z:do if(k<<24>>24){n=k&255;k=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(o|0))break;k=k+1|0;if((k|0)>=(n|0))break z;else m=m+20|0}a[m+6>>0]=1;ha=i;l=ga;return ha|0}while(0);a[p>>0]=q+1<<24>>24;c[f+348+((q&255)<<2)>>2]=o;ha=i;l=ga;return ha|0}function Sk(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;i=d+136|0;g=c[i>>2]|0;j=d+12|0;if((c[(c[j>>2]|0)+48>>2]|0)>(g|0)){h=g+1|0;c[i>>2]=h;k=c[d+88>>2]|0;a[k+(g*20|0)>>0]=67;b[k+(g*20|0)+2>>1]=0;c[k+(g*20|0)+4>>2]=0;c[k+(g*20|0)+8>>2]=f;c[k+(g*20|0)+12>>2]=0;c[k+(g*20|0)+16>>2]=0;a[k+(g*20|0)+1>>0]=0;g=h}else{zi(d,67,0,f,0)|0;g=c[i>>2]|0}if((c[(c[j>>2]|0)+48>>2]|0)>(g|0)){k=g+1|0;c[i>>2]=k;h=c[d+88>>2]|0;a[h+(g*20|0)>>0]=37;b[h+(g*20|0)+2>>1]=0;c[h+(g*20|0)+4>>2]=e;c[h+(g*20|0)+8>>2]=0;c[h+(g*20|0)+12>>2]=0;c[h+(g*20|0)+16>>2]=0;a[h+(g*20|0)+1>>0]=0;h=g;g=k}else{h=zi(d,37,e,0,0)|0;g=c[i>>2]|0}if((c[(c[j>>2]|0)+48>>2]|0)>(g|0)){k=g+1|0;c[i>>2]=k;j=c[d+88>>2]|0;a[j+(g*20|0)>>0]=96;b[j+(g*20|0)+2>>1]=0;c[j+(g*20|0)+4>>2]=e;c[j+(g*20|0)+8>>2]=0;c[j+(g*20|0)+12>>2]=f;c[j+(g*20|0)+16>>2]=0;a[j+(g*20|0)+1>>0]=0;g=k}else{zi(d,96,e,0,f)|0;g=c[i>>2]|0}if((g|0)>0)b[(c[d+88>>2]|0)+((g+-1|0)*20|0)+2>>1]=128;if(a[(c[d>>2]|0)+73>>0]|0){k=46708;k=k+8|0;c[k>>2]=g;return}k=(c[d+88>>2]|0)+(((h|0)<0?g+-1|0:h)*20|0)|0;k=k+8|0;c[k>>2]=g;return}function Tk(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;if(b[(c[d>>2]|0)+68>>1]&2)return;i=d+25|0;h=a[i>>0]|0;if((h&255)>9){h=c[d+164>>2]|0;q=c[d+184>>2]|0;i=(q|0)<(h|0);q=i?q:h;r=c[d+204>>2]|0;j=(r|0)<(q|0);q=j?r:q;r=c[d+224>>2]|0;k=(r|0)<(q|0);q=k?r:q;r=c[d+244>>2]|0;l=(r|0)<(q|0);q=l?r:q;r=c[d+264>>2]|0;m=(r|0)<(q|0);q=m?r:q;r=c[d+284>>2]|0;n=(r|0)<(q|0);q=n?r:q;r=c[d+304>>2]|0;o=(r|0)<(q|0);q=o?r:q;r=c[d+324>>2]|0;p=(r|0)<(q|0);h=(c[d+344>>2]|0)<((p?r:q)|0)?9:p?8:o?7:n?6:m?5:l?4:k?3:j?2:i?1:((h|0)==2147483647)<<31>>31}else{a[i>>0]=h+1<<24>>24;h=h&255}c[d+148+(h*20|0)+8>>2]=c[d+60>>2];c[d+148+(h*20|0)>>2]=e;b[d+148+(h*20|0)+4>>1]=f;c[d+148+(h*20|0)+12>>2]=g;a[d+148+(h*20|0)+6>>0]=0;q=d+64|0;r=c[q>>2]|0;c[q>>2]=r+1;c[d+148+(h*20|0)+16>>2]=r;return}function Uk(f,g,i,j){f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+32|0;u=x+16|0;v=x+8|0;n=x;w=c[f+8>>2]|0;if(c[g+4>>2]&1024|0){g=c[g+8>>2]|0;g=(i|0)==0?g:0-g|0;k=w+136|0;m=c[k>>2]|0;if((c[(c[w+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;w=c[w+88>>2]|0;a[w+(m*20|0)>>0]=67;b[w+(m*20|0)+2>>1]=0;c[w+(m*20|0)+4>>2]=g;c[w+(m*20|0)+8>>2]=j;c[w+(m*20|0)+12>>2]=0;c[w+(m*20|0)+16>>2]=0;a[w+(m*20|0)+1>>0]=0;l=x;return}else{zi(w,67,g,j,0)|0;l=x;return}}r=c[g+8>>2]|0;g=Wk(r,n)|0;s=(i|0)!=0;do if(!((g|0)==2|(s|(g|0)!=3)^1)?(o=n,m=c[o>>2]|0,o=c[o+4>>2]|0,!(s&((m|0)==0&(o|0)==-2147483648))):0){if(s){g=(g|0)==3;p=Gt(0,0,m|0,o|0)|0;p=g?0:p;o=g?-2147483648:z;c[n>>2]=p;c[n+4>>2]=o}else p=m;n=c[w>>2]|0;do if(c[n+264>>2]|0)if(!(a[n+73>>0]|0))q=59;else{g=0;p=1}else{if((e[n+268>>1]|0)>=8){m=n+292|0;g=c[m>>2]|0;if(g|0){c[m>>2]=c[g>>2];q=n+276|0;c[q>>2]=(c[q>>2]|0)+1;q=60;break}m=n+288|0;g=c[m>>2]|0;if(!g)g=2;else{c[m>>2]=c[g>>2];q=n+276|0;c[q>>2]=(c[q>>2]|0)+1;q=60;break}}else g=1;q=n+276+(g<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=59}while(0);if((q|0)==59){g=Ec(n,8,0)|0;q=60}if((q|0)==60)if(!g){g=0;p=1}else{n=g;m=n;a[m>>0]=p;a[m+1>>0]=p>>8;a[m+2>>0]=p>>16;a[m+3>>0]=p>>24;p=n+4|0;a[p>>0]=o;a[p+1>>0]=o>>8;a[p+2>>0]=o>>16;a[p+3>>0]=o>>24;p=0}o=w+136|0;m=c[o>>2]|0;if((c[(c[w+12>>2]|0)+48>>2]|0)>(m|0)){c[o>>2]=m+1;n=c[w+88>>2]|0;a[n+(m*20|0)>>0]=68;b[n+(m*20|0)+2>>1]=0;c[n+(m*20|0)+4>>2]=0;c[n+(m*20|0)+8>>2]=j;c[n+(m*20|0)+12>>2]=0;c[n+(m*20|0)+16>>2]=0;a[n+(m*20|0)+1>>0]=0}else m=zi(w,68,0,j,0)|0;n=c[w>>2]|0;if(!(a[n+73>>0]|0)){if((m|0)<0)m=(c[o>>2]|0)+-1|0;n=c[w+88>>2]|0;o=n+(m*20|0)+1|0;if(a[o>>0]|0){Ai(w,n+(m*20|0)|0,g,-14);break}if(p)break;c[n+(m*20|0)+16>>2]=g;a[o>>0]=-14;break}if(!p){if(n|0){if(c[n+464>>2]|0){Lc(n,g);break}p=g;if(p>>>0>=(c[n+296>>2]|0)>>>0?p>>>0<(c[n+300>>2]|0)>>>0:0){p=n+292|0;c[g>>2]=c[p>>2];c[p>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}else q=7;while(0);do if((q|0)==7?r|0:0){m=a[r>>0]|0;do if(!(m<<24>>24)){g=29570;q=9}else{g=m&255;if(m<<24>>24==48){g=a[r+1>>0]|0;if(!(g<<24>>24)){g=29571;q=9;break}g=g&255;if((g|32|0)==120)break;else k=120}else k=48;t=a[17324+g>>0]|0;q=13}while(0);if((q|0)==9){t=0;k=a[17324+(d[g>>0]|0)>>0]|0;q=13}if((q|0)==13?t<<24>>24!=k<<24>>24:0){df(r,v,(As(r)|0)&1073741823,1)|0;if(i|0)h[v>>3]=-+h[v>>3];m=c[w>>2]|0;do if(c[m+264>>2]|0)if(!(a[m+73>>0]|0))q=25;else{g=0;o=1}else{if((e[m+268>>1]|0)>=8){k=m+292|0;g=c[k>>2]|0;if(g|0){c[k>>2]=c[g>>2];q=m+276|0;c[q>>2]=(c[q>>2]|0)+1;q=26;break}k=m+288|0;g=c[k>>2]|0;if(!g)g=2;else{c[k>>2]=c[g>>2];q=m+276|0;c[q>>2]=(c[q>>2]|0)+1;q=26;break}}else g=1;q=m+276+(g<<2)|0;c[q>>2]=(c[q>>2]|0)+1;q=25}while(0);if((q|0)==25){g=Ec(m,8,0)|0;q=26}if((q|0)==26)if(!g){g=0;o=1}else{i=c[v>>2]|0;v=c[v+4>>2]|0;o=g;u=o;a[u>>0]=i;a[u+1>>0]=i>>8;a[u+2>>0]=i>>16;a[u+3>>0]=i>>24;o=o+4|0;a[o>>0]=v;a[o+1>>0]=v>>8;a[o+2>>0]=v>>16;a[o+3>>0]=v>>24;o=0}n=w+136|0;k=c[n>>2]|0;if((c[(c[w+12>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;v=c[w+88>>2]|0;a[v+(k*20|0)>>0]=-124;b[v+(k*20|0)+2>>1]=0;c[v+(k*20|0)+4>>2]=0;c[v+(k*20|0)+8>>2]=j;c[v+(k*20|0)+12>>2]=0;c[v+(k*20|0)+16>>2]=0;a[v+(k*20|0)+1>>0]=0}else k=zi(w,132,0,j,0)|0;m=c[w>>2]|0;do if(!(a[m+73>>0]|0)){if((k|0)<0)k=(c[n>>2]|0)+-1|0;m=c[w+88>>2]|0;n=m+(k*20|0)+1|0;if(a[n>>0]|0){Ai(w,m+(k*20|0)|0,g,-13);break}if(!o){c[m+(k*20|0)+16>>2]=g;a[n>>0]=-13}}else if(!o){if(m|0){if(c[m+464>>2]|0){Lc(m,g);break}w=g;if(w>>>0>=(c[m+296>>2]|0)>>>0?w>>>0<(c[m+300>>2]|0)>>>0:0){w=m+292|0;c[g>>2]=c[w>>2];c[w>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{w=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);break}c[u>>2]=s?22100:47328;c[u+4>>2]=r;hg(f,29573,u)}while(0);l=x;return}function Vk(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;H=l;l=l+32|0;B=H;j=h&255;E=76-(j&1)|0;z=c[d+8>>2]|0;i=c[e>>2]|0;if((i|0)<=0){G=i;l=H;return G|0}y=((a[d+23>>0]|0)==0?j&253:h)&255;n=(y&4|0)==0;o=(y&2|0)==0;p=(E|0)==75;q=z+136|0;r=z+88|0;s=z+12|0;t=E&255;u=B+20|0;v=B+4|0;w=B+8|0;x=B+24|0;y=(y&8|0)==0;m=g+-1|0;k=e+4|0;h=0;while(1){j=c[k>>2]|0;do if(!n?(e=b[k+16>>1]|0,A=e&65535,e<<16>>16!=0):0){if(!y){h=h+-1|0;i=i+-1|0;break}j=m+A|0;g=h+f|0;e=c[q>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(e|0)){c[q>>2]=e+1;I=c[r>>2]|0;a[I+(e*20|0)>>0]=t;b[I+(e*20|0)+2>>1]=0;c[I+(e*20|0)+4>>2]=j;c[I+(e*20|0)+8>>2]=g;c[I+(e*20|0)+12>>2]=0;c[I+(e*20|0)+16>>2]=0;a[I+(e*20|0)+1>>0]=0;break}else{zi(z,E,j,g,0)|0;break}}else G=10;while(0);a:do if((G|0)==10){G=0;e=h+f|0;do if(!o){a[u>>0]=1;c[v>>2]=186;c[w>>2]=187;c[x>>2]=0;if(j){$j(B,j)|0;if(!(a[u>>0]|0))break}Qk(d,j,e)|0;break a}while(0);g=Rk(d,j,e)|0;if((g|0)!=(e|0)){if(p){if(!(a[(c[z>>2]|0)+73>>0]|0))j=(c[r>>2]|0)+(((c[q>>2]|0)+-1|0)*20|0)|0;else j=46708;if(((a[j>>0]|0)==75?(C=j+12|0,D=c[C>>2]|0,((c[j+4>>2]|0)+1+D|0)==(g|0)):0)?(F=D+1|0,(F+(c[j+8>>2]|0)|0)==(e|0)):0){c[C>>2]=F;break}}j=c[q>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(j|0)){c[q>>2]=j+1;I=c[r>>2]|0;a[I+(j*20|0)>>0]=t;b[I+(j*20|0)+2>>1]=0;c[I+(j*20|0)+4>>2]=g;c[I+(j*20|0)+8>>2]=e;c[I+(j*20|0)+12>>2]=0;c[I+(j*20|0)+16>>2]=0;a[I+(j*20|0)+1>>0]=0;break}else{zi(z,E,g,e,0)|0;break}}}while(0);h=h+1|0;if((h|0)>=(i|0))break;else k=k+20|0}l=H;return i|0}function Wk(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if((a[b>>0]|0)!=48){j=As(b)|0;j=j&1073741823;d=ef(b,d,j,1)|0;return d|0}switch(a[b+1>>0]|0){case 88:case 120:{j=2;break}default:{j=As(b)|0;j=j&1073741823;d=ef(b,d,j,1)|0;return d|0}}while(1){e=b+j|0;g=a[e>>0]|0;if(g<<24>>24==48)j=j+1|0;else break}if(!(a[18220+(g&255)>>0]&8)){h=j;g=e;f=0;e=0}else{h=j;f=0;e=0;i=g;do{f=Rt(f|0,e|0,4)|0;e=z;g=i<<24>>24;f=(0-(g>>>6&1)&9)+g&15|f;h=h+1|0;g=b+h|0;i=a[g>>0]|0}while((a[18220+(i&255)>>0]&8)!=0)}c[d>>2]=f;c[d+4>>2]=e;return ((h-j|0)<17&(a[g>>0]|0)==0?0:2)|0} +function vn(d,e,f,g,h,i,j,k){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;var l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0;x=d+8|0;J=c[x>>2]|0;H=J+136|0;I=c[H>>2]|0;F=J+12|0;l=c[F>>2]|0;o=l+68|0;G=c[o>>2]|0;c[o>>2]=G+1;o=l+72|0;if(!(G+-1&G)){m=c[l>>2]|0;n=c[o>>2]|0;l=Mc(m,n,G<<3|4,0)|0;do if(!((n|0)==0|(l|0)!=0)){if(m|0){if(c[m+464>>2]|0){Lc(m,n);break}u=n;if(u>>>0>=(c[m+296>>2]|0)>>>0?u>>>0<(c[m+300>>2]|0)>>>0:0){u=m+292|0;c[n>>2]=c[u>>2];c[u>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{u=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[o>>2]=l}else l=c[o>>2]|0;if(l|0)c[l+(G<<2)>>2]=-1;u=~G;do if(i|0){l=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[H>>2]=l+1;t=c[J+88>>2]|0;a[t+(l*20|0)>>0]=22;b[t+(l*20|0)+2>>1]=0;c[t+(l*20|0)+4>>2]=i;c[t+(l*20|0)+8>>2]=0;c[t+(l*20|0)+12>>2]=0;c[t+(l*20|0)+16>>2]=0;a[t+(l*20|0)+1>>0]=0}else l=zi(J,22,i,0,0)|0;r=f+8|0;m=c[r>>2]|0;t=i+1|0;s=f+12|0;n=c[s>>2]|0;q=(j|0)==0;if(!q)c[j>>2]=(c[j>>2]|0)+1;o=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(o|0)){c[H>>2]=o+1;p=c[J+88>>2]|0;a[p+(o*20|0)>>0]=94;b[p+(o*20|0)+2>>1]=0;c[p+(o*20|0)+4>>2]=m;c[p+(o*20|0)+8>>2]=t;c[p+(o*20|0)+12>>2]=n;c[p+(o*20|0)+16>>2]=0;a[p+(o*20|0)+1>>0]=0}else o=zi(J,94,m,t,n)|0;m=c[J>>2]|0;do if(!(a[m+73>>0]|0)){if((o|0)<0)m=(c[H>>2]|0)+-1|0;else m=o;n=c[J+88>>2]|0;p=n+(m*20|0)+1|0;if(a[p>>0]|0){Ai(J,n+(m*20|0)|0,j,-9);break}if(!q){c[n+(m*20|0)+16>>2]=j;a[p>>0]=-9}}else if(!(q|(c[m+464>>2]|0)!=0)?(q=(c[j>>2]|0)+-1|0,c[j>>2]=q,(q|0)==0):0){m=c[j+12>>2]|0;if(m|0){if(c[m+464>>2]|0){Lc(m,j);break}q=j;if(q>>>0>=(c[m+296>>2]|0)>>>0?q>>>0<(c[m+300>>2]|0)>>>0:0){q=m+292|0;c[j>>2]=c[q>>2];c[q>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{q=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);m=o+2|0;n=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(n|0)){j=n+1|0;c[H>>2]=j;q=c[J+88>>2]|0;a[q+(n*20|0)>>0]=18;b[q+(n*20|0)+2>>1]=0;c[q+(n*20|0)+4>>2]=m;c[q+(n*20|0)+8>>2]=u;c[q+(n*20|0)+12>>2]=m;c[q+(n*20|0)+16>>2]=0;a[q+(n*20|0)+1>>0]=0;n=j}else{zi(J,18,m,u,m)|0;n=c[H>>2]|0}if(!(a[(c[J>>2]|0)+73>>0]|0))l=(c[J+88>>2]|0)+(((l|0)<0?n+-1|0:l)*20|0)|0;else l=46708;c[l+8>>2]=n;m=c[r>>2]|0;l=(c[s>>2]|0)+-1|0;if((c[(c[F>>2]|0)+48>>2]|0)>(n|0)){j=n+1|0;c[H>>2]=j;s=c[J+88>>2]|0;a[s+(n*20|0)>>0]=75;b[s+(n*20|0)+2>>1]=0;c[s+(n*20|0)+4>>2]=m;c[s+(n*20|0)+8>>2]=t;c[s+(n*20|0)+12>>2]=l;c[s+(n*20|0)+16>>2]=0;a[s+(n*20|0)+1>>0]=0;l=j}else{zi(J,75,m,t,l)|0;l=c[H>>2]|0}if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[H>>2]=l+1;j=c[J+88>>2]|0;a[j+(l*20|0)>>0]=67;b[j+(l*20|0)+2>>1]=0;c[j+(l*20|0)+4>>2]=1;c[j+(l*20|0)+8>>2]=i;c[j+(l*20|0)+12>>2]=0;c[j+(l*20|0)+16>>2]=0;a[j+(l*20|0)+1>>0]=0;break}else{zi(J,67,1,i,0)|0;break}}while(0);if(a[(c[d>>2]|0)+73>>0]|0){J=0;return J|0}l=c[e+16>>2]|0;do if((l|0)>0){m=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;i=c[J+88>>2]|0;a[i+(m*20|0)>>0]=48;b[i+(m*20|0)+2>>1]=0;c[i+(m*20|0)+4>>2]=l;c[i+(m*20|0)+8>>2]=u;c[i+(m*20|0)+12>>2]=1;c[i+(m*20|0)+16>>2]=0;a[i+(m*20|0)+1>>0]=0;break}else{zi(J,48,l,u,1)|0;break}}while(0);a:do switch(a[g>>0]|0){case 12:{q=d+19|0;m=a[q>>0]|0;if(m<<24>>24){E=m+-1<<24>>24;a[q>>0]=E;l=c[d+348+((E&255)<<2)>>2]|0;if(!(E<<24>>24))v=63;else{o=m+-2<<24>>24;a[q>>0]=o;p=l;o=c[d+348+((o&255)<<2)>>2]|0}}else{v=d+44|0;l=(c[v>>2]|0)+1|0;c[v>>2]=l;v=63}if((v|0)==63){p=d+44|0;o=(c[p>>2]|0)+1|0;c[p>>2]=o;p=l}n=c[f+8>>2]|0;l=c[f+12>>2]|0;m=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){E=m+1|0;c[H>>2]=E;D=c[J+88>>2]|0;a[D+(m*20|0)>>0]=99;b[D+(m*20|0)+2>>1]=0;c[D+(m*20|0)+4>>2]=n;c[D+(m*20|0)+8>>2]=l;c[D+(m*20|0)+12>>2]=p;c[D+(m*20|0)+16>>2]=0;a[D+(m*20|0)+1>>0]=0;n=E}else{zi(J,99,n,l,p)|0;n=c[H>>2]|0}m=g+4|0;l=c[m>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(n|0)){g=n+1|0;c[H>>2]=g;E=c[J+88>>2]|0;a[E+(n*20|0)>>0]=115;b[E+(n*20|0)+2>>1]=0;c[E+(n*20|0)+4>>2]=l;c[E+(n*20|0)+8>>2]=o;c[E+(n*20|0)+12>>2]=0;c[E+(n*20|0)+16>>2]=0;a[E+(n*20|0)+1>>0]=0;n=g}else{zi(J,115,l,o,0)|0;n=c[H>>2]|0;l=c[m>>2]|0}if((c[(c[F>>2]|0)+48>>2]|0)>(n|0)){g=n+1|0;c[H>>2]=g;E=c[J+88>>2]|0;a[E+(n*20|0)>>0]=116;b[E+(n*20|0)+2>>1]=0;c[E+(n*20|0)+4>>2]=l;c[E+(n*20|0)+8>>2]=p;c[E+(n*20|0)+12>>2]=o;c[E+(n*20|0)+16>>2]=0;a[E+(n*20|0)+1>>0]=0;l=g}else{zi(J,116,l,p,o)|0;l=c[H>>2]|0}if((l|0)>0)b[(c[J+88>>2]|0)+((l+-1|0)*20|0)+2>>1]=8;b:do if(o|0?(z=a[q>>0]|0,(z&255)<8):0){l=a[d+25>>0]|0;c:do if(l<<24>>24){n=l&255;l=0;m=d+148|0;while(1){if((c[m+12>>2]|0)==(o|0))break;l=l+1|0;if((l|0)>=(n|0))break c;else m=m+20|0}a[m+6>>0]=1;break b}while(0);a[q>>0]=z+1<<24>>24;c[d+348+((z&255)<<2)>>2]=o}while(0);if(p|0?(B=a[q>>0]|0,(B&255)<8):0){l=a[d+25>>0]|0;d:do if(l<<24>>24){n=l&255;l=0;m=d+148|0;while(1){if((c[m+12>>2]|0)==(p|0))break;l=l+1|0;if((l|0)>=(n|0))break d;else m=m+20|0}a[m+6>>0]=1;break a}while(0);a[q>>0]=B+1<<24>>24;c[d+348+((B&255)<<2)>>2]=p}break}case 11:{v=d+19|0;l=a[v>>0]|0;if(!(l<<24>>24)){D=d+44|0;i=(c[D>>2]|0)+1|0;c[D>>2]=i}else{i=l+-1<<24>>24;a[v>>0]=i;i=c[d+348+((i&255)<<2)>>2]|0}j=f+8|0;m=c[j>>2]|0;u=f+12|0;o=c[u>>2]|0;p=c[g+16>>2]|0;l=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[H>>2]=l+1;D=c[J+88>>2]|0;a[D+(l*20|0)>>0]=99;b[D+(l*20|0)+2>>1]=0;c[D+(l*20|0)+4>>2]=m;c[D+(l*20|0)+8>>2]=o;c[D+(l*20|0)+12>>2]=i;c[D+(l*20|0)+16>>2]=0;a[D+(l*20|0)+1>>0]=0}else l=zi(J,99,m,o,i)|0;m=c[J>>2]|0;do if(a[m+73>>0]|0){if((o|0)!=-12)Wf(m,o,p)}else{if((l|0)<0)l=(c[H>>2]|0)+-1|0;m=c[J+88>>2]|0;n=m+(l*20|0)|0;if((o|0)<=-1?(w=m+(l*20|0)+1|0,(a[w>>0]|0)==0):0){if((o|0)==-3){c[m+(l*20|0)+16>>2]=p;a[w>>0]=-3;break}if(!p)break;c[m+(l*20|0)+16>>2]=p;a[w>>0]=o;if((o|0)!=-12)break;D=p+12|0;c[D>>2]=(c[D>>2]|0)+1;break}Ai(J,n,p,o)}while(0);r=c[j>>2]|0;t=d+25|0;l=a[t>>0]|0;e:do if(l<<24>>24){s=(c[u>>2]|0)+r|0;q=0;do{n=d+148+(q*20|0)+12|0;o=d+148+(q*20|0)|0;p=d+148+(q*20|0)+6|0;while(1){m=c[n>>2]|0;if(!((m|0)>=(r|0)&(m|0)<(s|0)))break;if(a[p>>0]|0?(C=a[v>>0]|0,(C&255)<8):0){a[v>>0]=C+1<<24>>24;c[d+348+((C&255)<<2)>>2]=m}l=l+-1<<24>>24;a[t>>0]=l;m=l&255;if((m|0)>(q|0)){l=d+148+(m*20|0)|0;c[o>>2]=c[l>>2];c[o+4>>2]=c[l+4>>2];c[o+8>>2]=c[l+8>>2];c[o+12>>2]=c[l+12>>2];c[o+16>>2]=c[l+16>>2];l=a[t>>0]|0}if((q|0)>=(l&255|0))break e}q=q+1|0}while((q|0)<(l&255|0))}while(0);o=c[g+4>>2]|0;m=c[j>>2]|0;n=c[u>>2]|0;l=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(l|0)){c[H>>2]=l+1;g=c[J+88>>2]|0;a[g+(l*20|0)>>0]=127;b[g+(l*20|0)+2>>1]=0;c[g+(l*20|0)+4>>2]=o;c[g+(l*20|0)+8>>2]=i;c[g+(l*20|0)+12>>2]=m;c[g+(l*20|0)+16>>2]=0;a[g+(l*20|0)+1>>0]=0}else l=zi(J,127,o,i,m)|0;if(!(a[(c[J>>2]|0)+73>>0]|0)){g=c[J+88>>2]|0;a[g+(l*20|0)+1>>0]=-3;c[g+(l*20|0)+16>>2]=n}if(i|0?(E=a[v>>0]|0,(E&255)<8):0){l=a[t>>0]|0;f:do if(l<<24>>24){n=l&255;l=0;m=d+148|0;while(1){if((c[m+12>>2]|0)==(i|0))break;l=l+1|0;if((l|0)>=(n|0))break f;else m=m+20|0}a[m+6>>0]=1;break a}while(0);a[v>>0]=E+1<<24>>24;c[d+348+((E&255)<<2)>>2]=i}break}case 10:{t=c[f+8>>2]|0;o=c[g+4>>2]|0;l=c[x>>2]|0;m=l+136|0;n=c[m>>2]|0;if((c[(c[l+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;g=c[l+88>>2]|0;a[g+(n*20|0)>>0]=74;b[g+(n*20|0)+2>>1]=0;c[g+(n*20|0)+4>>2]=t;c[g+(n*20|0)+8>>2]=o;c[g+(n*20|0)+12>>2]=1;c[g+(n*20|0)+16>>2]=0;a[g+(n*20|0)+1>>0]=0}else zi(l,74,t,o,1)|0;r=d+25|0;l=a[r>>0]|0;if(l<<24>>24){s=d+19|0;q=0;do{n=d+148+(q*20|0)+12|0;o=d+148+(q*20|0)|0;p=d+148+(q*20|0)+6|0;while(1){if((c[n>>2]|0)!=(t|0))break;if(a[p>>0]|0?(y=a[s>>0]|0,(y&255)<8):0){a[s>>0]=y+1<<24>>24;c[d+348+((y&255)<<2)>>2]=t}l=l+-1<<24>>24;a[r>>0]=l;m=l&255;if((m|0)>(q|0)){l=d+148+(m*20|0)|0;c[o>>2]=c[l>>2];c[o+4>>2]=c[l+4>>2];c[o+8>>2]=c[l+8>>2];c[o+12>>2]=c[l+12>>2];c[o+16>>2]=c[l+16>>2];l=a[r>>0]|0}if((q|0)>=(l&255|0))break a}q=q+1|0}while((q|0)<(l&255|0))}break}case 13:{q=g+8|0;l=c[q>>2]|0;r=f+12|0;if(!l){p=c[r>>2]|0;do if((p|0)==1){l=d+19|0;m=a[l>>0]|0;if(!(m<<24>>24)){E=d+44|0;l=(c[E>>2]|0)+1|0;c[E>>2]=l;break}else{E=m+-1<<24>>24;a[l>>0]=E;l=c[d+348+((E&255)<<2)>>2]|0;break}}else{m=d+32|0;l=c[m>>2]|0;n=d+28|0;o=c[n>>2]|0;if((o|0)<(p|0)){E=d+44|0;l=c[E>>2]|0;c[E>>2]=l+p;l=l+1|0;break}else{c[m>>2]=l+p;c[n>>2]=o-p;break}}while(0);c[q>>2]=l;c[g+12>>2]=p}j=c[f+8>>2]|0;p=c[r>>2]|0;m=c[x>>2]|0;n=m+136|0;o=c[n>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;E=c[m+88>>2]|0;a[E+(o*20|0)>>0]=74;b[E+(o*20|0)+2>>1]=0;c[E+(o*20|0)+4>>2]=j;c[E+(o*20|0)+8>>2]=l;c[E+(o*20|0)+12>>2]=p;c[E+(o*20|0)+16>>2]=0;a[E+(o*20|0)+1>>0]=0}else zi(m,74,j,l,p)|0;t=d+25|0;l=a[t>>0]|0;g:do if(l<<24>>24){r=p+j|0;s=d+19|0;q=0;do{n=d+148+(q*20|0)+12|0;o=d+148+(q*20|0)|0;p=d+148+(q*20|0)+6|0;while(1){m=c[n>>2]|0;if(!((m|0)>=(j|0)&(m|0)<(r|0)))break;if(a[p>>0]|0?(D=a[s>>0]|0,(D&255)<8):0){a[s>>0]=D+1<<24>>24;c[d+348+((D&255)<<2)>>2]=m}l=l+-1<<24>>24;a[t>>0]=l;m=l&255;if((m|0)>(q|0)){l=d+148+(m*20|0)|0;c[o>>2]=c[l>>2];c[o+4>>2]=c[l+4>>2];c[o+8>>2]=c[l+8>>2];c[o+12>>2]=c[l+12>>2];c[o+16>>2]=c[l+16>>2];l=a[t>>0]|0}if((q|0)>=(l&255|0))break g}q=q+1|0}while((q|0)<(l&255|0))}while(0);l=c[g+4>>2]|0;m=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;d=c[J+88>>2]|0;a[d+(m*20|0)>>0]=16;b[d+(m*20|0)+2>>1]=0;c[d+(m*20|0)+4>>2]=l;c[d+(m*20|0)+8>>2]=0;c[d+(m*20|0)+12>>2]=0;c[d+(m*20|0)+16>>2]=0;a[d+(m*20|0)+1>>0]=0;break a}else{zi(J,16,l,0,0)|0;break a}}default:{n=f+8|0;o=c[n>>2]|0;p=f+12|0;l=c[p>>2]|0;m=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;g=c[J+88>>2]|0;a[g+(m*20|0)>>0]=78;b[g+(m*20|0)+2>>1]=0;c[g+(m*20|0)+4>>2]=o;c[g+(m*20|0)+8>>2]=l;c[g+(m*20|0)+12>>2]=0;c[g+(m*20|0)+16>>2]=0;a[g+(m*20|0)+1>>0]=0}else{zi(J,78,o,l,0)|0;o=c[n>>2]|0}j=d+25|0;l=a[j>>0]|0;if(l<<24>>24){s=(c[p>>2]|0)+o|0;t=d+19|0;r=0;do{n=d+148+(r*20|0)+12|0;p=d+148+(r*20|0)|0;q=d+148+(r*20|0)+6|0;while(1){m=c[n>>2]|0;if(!((m|0)>=(o|0)&(m|0)<(s|0)))break;if(a[q>>0]|0?(A=a[t>>0]|0,(A&255)<8):0){a[t>>0]=A+1<<24>>24;c[d+348+((A&255)<<2)>>2]=m}l=l+-1<<24>>24;a[j>>0]=l;m=l&255;if((m|0)>(r|0)){l=d+148+(m*20|0)|0;c[p>>2]=c[l>>2];c[p+4>>2]=c[l+4>>2];c[p+8>>2]=c[l+8>>2];c[p+12>>2]=c[l+12>>2];c[p+16>>2]=c[l+16>>2];l=a[j>>0]|0}if((r|0)>=(l&255|0))break a}r=r+1|0}while((r|0)<(l&255|0))}}}while(0);l=c[e+12>>2]|0;do if(l|0){m=c[H>>2]|0;if((c[(c[F>>2]|0)+48>>2]|0)>(m|0)){c[H>>2]=m+1;e=c[J+88>>2]|0;a[e+(m*20|0)>>0]=59;b[e+(m*20|0)+2>>1]=0;c[e+(m*20|0)+4>>2]=l;c[e+(m*20|0)+8>>2]=k;c[e+(m*20|0)+12>>2]=0;c[e+(m*20|0)+16>>2]=0;a[e+(m*20|0)+1>>0]=0;break}else{zi(J,59,l,k,0)|0;break}}while(0);m=c[F>>2]|0;l=c[m+72>>2]|0;if(l|0)c[l+(G<<2)>>2]=c[H>>2];l=c[H>>2]|0;if((c[m+48>>2]|0)>(l|0)){c[H>>2]=l+1;J=c[J+88>>2]|0;a[J+(l*20|0)>>0]=63;b[J+(l*20|0)+2>>1]=0;c[J+(l*20|0)+4>>2]=h;c[J+(l*20|0)+8>>2]=0;c[J+(l*20|0)+12>>2]=0;c[J+(l*20|0)+16>>2]=0;a[J+(l*20|0)+1>>0]=0;J=I;return J|0}else{zi(J,63,h,0,0)|0;J=I;return J|0}return 0}function wn(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0;if(!d){f=0;return f|0}i=c[d>>2]|0;h=(i|0)>0;i=(i*72|0)+8|0;j=h?i:80;i=h?((i|0)<0)<<31>>31:0;do if(c[b+264>>2]|0)if(!(a[b+73>>0]|0))k=10;else{f=0;return f|0}else{if(!(0>>0|(0==(i|0)?(e[b+268>>1]|0)>>>0>>0:0))){h=b+292|0;g=c[h>>2]|0;if(g|0){c[h>>2]=c[g>>2];j=b+276|0;c[j>>2]=(c[j>>2]|0)+1;break}h=b+288|0;g=c[h>>2]|0;if(!g)g=2;else{c[h>>2]=c[g>>2];j=b+276|0;c[j>>2]=(c[j>>2]|0)+1;break}}else g=1;k=b+276+(g<<2)|0;c[k>>2]=(c[k>>2]|0)+1;k=10}while(0);if((k|0)==10)g=Ec(b,j,i)|0;if(!g){f=0;return f|0}k=c[d>>2]|0;c[g+4>>2]=k;c[g>>2]=k;if((c[d>>2]|0)<=0){f=g;return f|0}k=g+8|0;j=0;do{c[k+(j*72|0)>>2]=c[d+8+(j*72|0)>>2];c[k+(j*72|0)+4>>2]=kg(b,c[d+8+(j*72|0)+4>>2]|0)|0;c[k+(j*72|0)+8>>2]=kg(b,c[d+8+(j*72|0)+8>>2]|0)|0;c[k+(j*72|0)+12>>2]=kg(b,c[d+8+(j*72|0)+12>>2]|0)|0;c[k+(j*72|0)+36>>2]=c[d+8+(j*72|0)+36>>2];c[k+(j*72|0)+44>>2]=c[d+8+(j*72|0)+44>>2];c[k+(j*72|0)+24>>2]=c[d+8+(j*72|0)+24>>2];c[k+(j*72|0)+28>>2]=c[d+8+(j*72|0)+28>>2];i=k+(j*72|0)+37|0;h=a[i>>0]|0;if(h&2){c[k+(j*72|0)+64>>2]=kg(b,c[d+8+(j*72|0)+64>>2]|0)|0;h=a[i>>0]|0}c[k+(j*72|0)+68>>2]=c[d+8+(j*72|0)+68>>2];if(h&4)c[k+(j*72|0)+64>>2]=Ui(b,c[d+8+(j*72|0)+64>>2]|0,f)|0;h=c[d+8+(j*72|0)+16>>2]|0;c[k+(j*72|0)+16>>2]=h;if(h|0){i=h+32|0;c[i>>2]=(c[i>>2]|0)+1}c[k+(j*72|0)+20>>2]=Ti(b,c[d+8+(j*72|0)+20>>2]|0,f)|0;h=c[d+8+(j*72|0)+48>>2]|0;if(!h)h=0;else h=sj(b,h,f,0)|0;c[k+(j*72|0)+48>>2]=h;c[k+(j*72|0)+52>>2]=tj(b,c[d+8+(j*72|0)+52>>2]|0)|0;l=d+8+(j*72|0)+56|0;h=c[l+4>>2]|0;i=k+(j*72|0)+56|0;c[i>>2]=c[l>>2];c[i+4>>2]=h;j=j+1|0}while((j|0)<(c[d>>2]|0));return g|0}function xn(a){a=a|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=c[(c[a+12>>2]|0)+4>>2]|0;f=b[a+52>>1]|0;if(!(f<<16>>16)){k=0;a=a+48|0;b[a>>1]=k;return}k=c[a+4>>2]|0;i=f&65535;g=0;h=0;do{f=b[k+(g<<1)>>1]|0;if(f<<16>>16<0)f=1;else f=d[j+(f<<16>>16<<4)+14>>0]|0;h=f+h|0;g=g+1|0}while((g|0)<(i|0));f=h<<2;if(f>>>0>=8){if(f>>>0>255){h=40;g=0;do{h=(h&65535)+40|0;k=f;f=Qt(f|0,g|0,4)|0;j=g;g=z}while(j>>>0>0|(j|0)==0&k>>>0>4095);h=h&65535}else{h=40;g=0}if(g>>>0>0|(g|0)==0&f>>>0>15)while(1){h=(h&65535)+10&65535;k=f;f=Qt(f|0,g|0,1)|0;if(!(g>>>0>0|(g|0)==0&k>>>0>31))break;else g=z}}else{if(f>>>0<2){k=0;a=a+48|0;b[a>>1]=k;return}else{h=40;g=0}do{h=(h&65535)+65526|0;f=Rt(f|0,g|0,1)|0;g=z}while(g>>>0<0|(g|0)==0&f>>>0<8);h=h&65535}k=(h&65535)+65526+(e[14834+((f&7)<<1)>>1]|0)&65535;a=a+48|0;b[a>>1]=k;return}function yn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;h=c[d>>2]|0;i=a[e>>0]|0;a:do if(!(i<<24>>24)){f=0;g=0}else{f=0;g=i;while(1){if(!(g<<24>>24==95?1:(a[18220+(g&255)>>0]&6)!=0))break a;f=f+1|0;g=a[e+f>>0]|0;if(!(g<<24>>24)){g=0;break}}}while(0);if((((i&255)+-48|0)>>>0>=10?(zn(e,f)|0)==59:0)?!((f|0)==0|g<<24>>24!=0):0)m=0;else{a[b+h>>0]=34;h=h+1|0;m=1;i=a[e>>0]|0}f=h+1|0;g=b+h|0;if(i<<24>>24){l=0;j=e;while(1){a[g>>0]=i;if((a[j>>0]|0)==34){a[b+f>>0]=34;f=h+2|0}l=l+1|0;j=e+l|0;i=a[j>>0]|0;k=f+1|0;g=b+f|0;if(!(i<<24>>24)){h=f;f=k;break}else{h=f;f=k}}}if(!m){e=h;b=b+e|0;a[b>>0]=0;c[d>>2]=e;return}a[g>>0]=34;e=f;b=b+e|0;a[b>>0]=0;c[d>>2]=e;return}function zn(b,c){b=b|0;c=c|0;var f=0,g=0,h=0,i=0;if((c|0)<=1){i=59;return i|0}f=a[19974+((d[17324+(d[b>>0]|0)>>0]<<2^c^(d[17324+(d[b+(c+-1)>>0]|0)>>0]|0)*3|0)%127|0)>>0]|0;if(!(f<<24>>24)){i=59;return i|0}f=f&255;a:while(1){g=f+-1|0;b:do if((d[20101+g>>0]|0)==(c|0)){h=20225+(e[8976+(g<<1)>>1]|0)|0;f=0;while(1){if((a[b+f>>0]&-33|0)!=(a[h+f>>0]|0))break b;f=f+1|0;if((f|0)>=(c|0))break a}}while(0);f=a[20778+g>>0]|0;if(!(f<<24>>24)){f=59;i=10;break}else f=f&255}if((i|0)==10)return f|0;i=d[20902+g>>0]|0;return i|0}function An(a){a=a|0;var c=0;c=a+8|0;if(!(b[c>>1]&9312)){b[c>>1]=1;b[c>>1]=4;return a|0}else{Ye(a);b[c>>1]=4;return a|0}return 0}function Bn(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;f=a+8|0;do Ye(a);while((b[f>>1]&9312)!=0);c[a>>2]=c[d>>2];c[a+4>>2]=c[d+4>>2];c[a+8>>2]=c[d+8>>2];c[a+12>>2]=c[d+12>>2];c[a+16>>2]=c[d+16>>2];if(b[d+8>>1]&2048)return;b[f>>1]=b[f>>1]&-7169&65535|e;return}function Cn(b){b=b|0;var d=0,e=0,f=0;d=b+16|0;e=b+12|0;f=b+10|0;if(!(df(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0)){f=0;return f|0}f=(ef(c[d>>2]|0,b,c[e>>2]|0,a[f>>0]|0)|0)==0;f=f?4:8;return f|0}function Dn(b){b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+16|0;f=g;d=g+12|0;e=b+64|0;e=Qm(c[b+40>>2]|0,0,c[e>>2]|0,c[e+4>>2]|0,0,d)|0;if(e|0){f=e;l=g;return f|0}if(!(c[d>>2]|0)){a[b+3>>0]=0;c[b+28>>2]=0;f=0;l=g;return f|0}else{c[f>>2]=21258;c[f+4>>2]=75651;c[f+8>>2]=17052;Bc(11,17e3,f);f=11;l=g;return f|0}return 0}function En(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;i=l;l=l+16|0;f=i;g=c[b+40>>2]|0;d=a[g>>0]|0;a:do if((d&255)>2){do if(d<<24>>24==4)d=c[g+64>>2]|0;else{a[g>>0]=0;e=g+56|0;d=g+48|0;d=Om(g,c[e>>2]|0,c[d>>2]|0,c[d+4>>2]|0,0,f)|0;if(d|0)break;d=c[e>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{h=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[e>>2]=0;d=g+64|0;h=c[d>>2]|c[f>>2];c[d>>2]=h;d=a[g>>0]|0;if((h|0)!=0&d<<24>>24==1){a[g>>0]=2;d=2}h=13;break a}while(0);c[b+28>>2]=0}else h=13;while(0);if((h|0)==13){c[b+28>>2]=0;if(d<<24>>24==1){b=0;l=i;return b|0}else d=0}a[b+2>>0]=1;b=d;l=i;return b|0}function Fn(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;j=g+8|0;b[j>>1]=1;h=f+1|0;k=g+24|0;do if((c[k>>2]|0)<(h|0)){h=_e(g,h,0)|0;if(!h){h=g+16|0;i=h;h=c[h>>2]|0;break}else{k=h;return k|0}}else{h=c[g+20>>2]|0;i=g+16|0;c[i>>2]=h;b[j>>1]=1}while(0);h=Bh(d,e,f,h,0)|0;if(!h){a[(c[i>>2]|0)+f>>0]=0;b[j>>1]=16;c[g+12>>2]=f;k=0;return k|0}if((b[j>>1]&9312)==0?(c[k>>2]|0)==0:0){k=h;return k|0}af(g);k=h;return k|0}function Gn(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+16|0;g=h;if(d>>>0>16777215|(d|0)==16777215&c>>>0>4294967295){a[b+8>>0]=c;g=Qt(c|0,d|0,8)|0;a[b+7>>0]=g&255|-128;g=Qt(c|0,d|0,15)|0;a[b+6>>0]=g&255|-128;g=Qt(c|0,d|0,22)|0;a[b+5>>0]=g&255|-128;g=Qt(c|0,d|0,29)|0;a[b+4>>0]=g&255|-128;g=Qt(c|0,d|0,36)|0;a[b+3>>0]=g&255|-128;g=Qt(c|0,d|0,43)|0;a[b+2>>0]=g&255|-128;g=Qt(c|0,d|0,50)|0;a[b+1>>0]=g&255|-128;g=Qt(c|0,d|0,57)|0;a[b>>0]=g&255|-128;g=9;l=h;return g|0}else{e=0;f=c}while(1){c=e+1|0;a[g+e>>0]=f&255|-128;f=Qt(f|0,d|0,7)|0;d=z;if((f|0)==0&(d|0)==0)break;else e=c}a[g>>0]=a[g>>0]&127;if((e|0)>-1)d=0;else{g=c;l=h;return g|0}while(1){a[b+d>>0]=a[g+e>>0]|0;if((e|0)>0){e=e+-1|0;d=d+1|0}else break}l=h;return c|0}function Hn(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+16|0;i=p;if((d|0)<1){c[i>>2]=21258;c[i+4>>2]=64353;c[i+8>>2]=17052;Bc(11,17e3,i);g=11;l=p;return g|0}o=c[b+4>>2]|0;c[o+4>>2]=c[b>>2];m=(e|0)!=0;if(m?(n=o+80|0,(c[n>>2]|0)==0):0){k=c[o+32>>2]|0;if((c[11659]|0)>=(k|0)?(h=c[11665]|0,(h|0)!=0):0){c[11665]=c[h>>2];e=c[11666]|0;c[11666]=e+-1;c[11667]=(e|0)<=(c[11661]|0)&1;if((c[11830]|0)>>>0>>0)c[11830]=k;i=(c[11823]|0)+1|0;c[11823]=i;if(i>>>0>(c[11827]|0)>>>0)c[11827]=i}else j=11;a:do if((j|0)==11){j=Ft(k|0,((k|0)<0)<<31>>31|0,-1,-1)|0;e=z;do if(!(e>>>0>0|(e|0)==0&j>>>0>2147483390)){if(!(c[2]|0)){h=jb[c[52>>2]&255](k)|0;if(!h)break}else{h=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;e=46456;i=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&i>>>0>0){q=c[11822]|0;j=Gt(i|0,e|0,h|0,((h|0)<0)<<31>>31|0)|0;e=z;c[11616]=(0>(e|0)|0==(e|0)&q>>>0>=j>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h)break;i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}i=jb[c[64>>2]&255](h)|0;if((c[11830]|0)>>>0>>0)c[11830]=k;i=(c[11824]|0)+i|0;c[11824]=i;if(i>>>0<=(c[11828]|0)>>>0)break a;c[11828]=i;break a}while(0);c[n>>2]=0;q=7;l=p;return q|0}while(0);c[n>>2]=h;q=h;k=q;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;q=q+4|0;a[q>>0]=0;a[q+1>>0]=0;a[q+2>>0]=0;a[q+3>>0]=0;c[n>>2]=(c[n>>2]|0)+4}if((d|0)==1)d=(c[o+44>>2]|0)!=0&1;c[g+60>>2]=d;a[g+68>>0]=-1;c[g+112>>2]=f;c[g+8>>2]=b;c[g+12>>2]=o;j=g+1|0;a[j>>0]=m&1;a[g+2>>0]=m?0:2;i=o+8|0;h=c[i>>2]|0;e=h;if(h|0)do{if((c[h+60>>2]|0)==(d|0)){q=h+1|0;a[q>>0]=a[q>>0]|32;a[j>>0]=a[j>>0]|32}h=c[h+16>>2]|0}while((h|0)!=0);c[g+16>>2]=e;c[i>>2]=g;a[g>>0]=0;q=0;l=p;return q|0}function In(e,f,g){e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+48|0;q=z;s=z+36|0;t=z+32|0;x=z+28|0;y=z+24|0;k=z+20|0;n=z+16|0;o=z+40|0;p=z+12|0;i=c[e>>2]|0;v=e+4|0;u=c[v>>2]|0;j=u+4|0;c[j>>2]=i;a:do if(!(a[u+17>>0]|0)){h=wh(u,t,x,1,0)|0;c[y>>2]=h;if(!h){h=c[t>>2]|0;break}else{y=h;l=z;return y|0}}else{m=u+8|0;h=c[m>>2]|0;if(h|0)do{w=h+1|0;a[w>>0]=a[w>>0]&-5;h=c[h+16>>2]|0}while((h|0)!=0);c[j>>2]=i;r=c[(c[u+12>>2]|0)+56>>2]|0;r=d[r+53>>0]<<16|d[r+52>>0]<<24|d[r+54>>0]<<8|d[r+55>>0];c[x>>2]=r;i=1073741824/((c[u+32>>2]|0)>>>0)|0;j=u+36|0;while(1){w=r+1|0;if(w>>>0<2)h=0;else{h=r+-1|0;h=h-((h>>>0)%(((((c[j>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;h=((h+1|0)==(i|0)?3:2)+h|0}if((r|0)==(i|0)|(w|0)==(h|0))r=w;else break}c[x>>2]=w;h=wh(u,n,k,w,1)|0;c[y>>2]=h;b:do if(!h){k=c[k>>2]|0;c:do if((k|0)==(w|0)){m=c[n>>2]|0;c[t>>2]=m}else{a[o>>0]=0;c[p>>2]=0;h=c[m>>2]|0;if(!h)h=0;else h=th(h,0,0)|0;c[y>>2]=h;i=c[n>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{n=c[i+20>>2]|0;m=n+120|0;c[m>>2]=(c[m>>2]|0)+-1;n=n+136|0;c[i+16>>2]=c[n>>2];c[n>>2]=i;break}}while(0);do if(!h){h=c[u>>2]|0;h=mb[c[h+200>>2]&255](h,w,s,0)|0;if(h|0){c[y>>2]=h;break}h=c[s>>2]|0;j=c[h+8>>2]|0;i=j+4|0;if((c[i>>2]|0)!=(w|0)){c[j+56>>2]=c[h+4>>2];c[j+72>>2]=h;c[j+52>>2]=u;c[i>>2]=w;a[j+9>>0]=(r|0)==0?100:0}c[t>>2]=j;c[y>>2]=0;h=vh(u,w,o,p)|0;c[y>>2]=h;i=a[o>>0]|0;if((i+-1&255)>=2){if(!h){h=xh(u,j,i,c[p>>2]|0,k,0)|0;c[y>>2]=h;do if(j){i=c[j+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=c[y>>2]|0;break}else{q=c[i+20>>2]|0;p=q+120|0;c[p>>2]=(c[p>>2]|0)+-1;q=q+136|0;c[i+16>>2]=c[q>>2];c[q>>2]=i;break}}while(0);if(h|0)break;h=c[u>>2]|0;h=mb[c[h+200>>2]&255](h,w,s,0)|0;if(h|0){c[y>>2]=h;break}h=c[s>>2]|0;m=c[h+8>>2]|0;i=m+4|0;if((c[i>>2]|0)==(w|0))j=c[m+72>>2]|0;else{c[m+56>>2]=c[h+4>>2];c[m+72>>2]=h;c[m+52>>2]=u;c[i>>2]=w;a[m+9>>0]=(r|0)==0?100:0;j=h}c[t>>2]=m;c[y>>2]=0;i=c[j+20>>2]|0;do if(b[j+28>>1]&4){if((c[i+24>>2]|0)>>>0<(c[j+24>>2]|0)>>>0){n=43;break}if(!(c[i+96>>2]|0)){c[y>>2]=0;n=53;break}else{h=Mg(j)|0;n=48;break}}else n=43;while(0);do if((n|0)==43){h=c[i+40>>2]|0;if(h|0){c[y>>2]=h;break}if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){h=Ng(j)|0;n=48;break}else{h=Og(j)|0;n=48;break}}while(0);if((n|0)==48){c[y>>2]=h;if(!h)n=53}if((n|0)==53)break c;i=c[m+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=c[y>>2]|0;break}else{y=c[i+20>>2]|0;x=y+120|0;c[x>>2]=(c[x>>2]|0)+-1;y=y+136|0;c[i+16>>2]=c[y>>2];c[y>>2]=i;break}}}else{c[q>>2]=21258;c[q+4>>2]=68663;c[q+8>>2]=17052;Bc(11,17e3,q);c[y>>2]=11;h=11}if(j){i=c[j+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=c[y>>2]|0;break}else{y=c[i+20>>2]|0;x=y+120|0;c[x>>2]=(c[x>>2]|0)+-1;y=y+136|0;c[i+16>>2]=c[y>>2];c[y>>2]=i;break}}}while(0);break b}while(0);zh(u,w,1,0,y);h=c[y>>2]|0;if(h|0){if(!m)break;i=c[m+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=c[y>>2]|0;break}else{y=c[i+20>>2]|0;x=y+120|0;c[x>>2]=(c[x>>2]|0)+-1;y=y+136|0;c[i+16>>2]=c[y>>2];c[y>>2]=i;break}}i=c[v>>2]|0;c[i+4>>2]=c[e>>2];i=c[i+12>>2]|0;k=c[i+56>>2]|0;i=c[i+72>>2]|0;j=c[i+20>>2]|0;if((b[i+28>>1]&4)!=0?(c[j+24>>2]|0)>>>0>=(c[i+24>>2]|0)>>>0:0)if(!(c[j+96>>2]|0))n=74;else{h=Mg(i)|0;n=68}else n=64;do if((n|0)==64){h=c[j+40>>2]|0;if(!h)if((c[j+148>>2]|0)>>>0>(c[j+152>>2]|0)>>>0){h=Ng(i)|0;n=68;break}else{h=Og(i)|0;n=68;break}}while(0);if((n|0)==68)if(!h)n=74;if((n|0)==74){a[k+52>>0]=w>>>24;a[k+53>>0]=w>>>16;a[k+54>>0]=w>>>8;a[k+55>>0]=w;c[y>>2]=0;h=m;break a}c[y>>2]=h;if(m){i=c[m+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);h=c[y>>2]|0;break}else{y=c[i+20>>2]|0;x=y+120|0;c[x>>2]=(c[x>>2]|0)+-1;y=y+136|0;c[i+16>>2]=c[y>>2];c[y>>2]=i;break}}}while(0);y=h;l=z;return y|0}while(0);Fh(h,(g&1|0)==0?10:13);h=c[h+72>>2]|0;do if(h|0)if(!(b[h+28>>1]&32)){Kg(h);break}else{y=c[h+20>>2]|0;g=y+120|0;c[g>>2]=(c[g>>2]|0)+-1;y=y+136|0;c[h+16>>2]=c[y>>2];c[y>>2]=h;break}while(0);c[f>>2]=c[x>>2];y=0;l=z;return y|0}function Jn(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;w=l;l=l+16|0;u=w;if((a[f>>0]|0)==1?a[f+1>>0]&8:0){v=0;l=w;return v|0}h=Ym(f)|0;switch(h|0){case 0:{c[g>>2]=0;s=f+116|0;n=f+70|0;o=f+68|0;p=f+12|0;q=f+42|0;t=f+1|0;r=f+2|0;do{g=c[s>>2]|0;if(a[g+8>>0]|0){v=9;break}m=(c[g+56>>2]|0)+((d[g+9>>0]|0)+8)|0;i=a[m>>0]|0;j=a[m+1>>0]|0;k=a[m+2>>0]|0;m=a[m+3>>0]|0;g=b[g+22>>1]|0;b[n>>1]=g;h=a[o>>0]|0;if(h<<24>>24>18){v=7;break}x=c[p>>2]|0;b[q>>1]=0;a[t>>0]=a[t>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=g;c[f+120+(a[o>>0]<<2)>>2]=c[s>>2];b[n>>1]=0;a[o>>0]=(a[o>>0]|0)+1<<24>>24;g=Pm(x,(j&255)<<16|(i&255)<<24|(k&255)<<8|m&255,s,f,d[r>>0]|0)|0}while(!(g|0));if((v|0)==7){c[u>>2]=21258;c[u+4>>2]=64947;c[u+8>>2]=17052;Bc(11,17e3,u);g=11}else if((v|0)==9){b[n>>1]=(e[g+22>>1]|0)+65535;g=0}x=d[t>>0]|0;a[t>>0]=(g|0)==0?x|8:x&247;x=g;l=w;return x|0}case 16:{c[g>>2]=1;x=0;l=w;return x|0}default:{x=h;l=w;return x|0}}return 0}function Kn(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=l;l=l+64|0;K=P+24|0;J=P;C=P+48|0;D=P+44|0;O=P+40|0;F=P+36|0;c[F>>2]=i;p=c[f+8>>2]|0;r=p+4|0;I=c[r>>2]|0;if((a[f>>0]|0)==4){f=c[f+64>>2]|0;l=P;return f|0}L=f+1|0;m=a[L>>0]|0;a:do if(m&32){n=c[f+60>>2]|0;j=c[I+8>>2]|0;b:do if(!j)N=13;else{c:do if(n){do{if((j|0)!=(f|0)?(c[j+60>>2]|0)==(n|0):0)break c;j=c[j+16>>2]|0}while((j|0)!=0);if(!f)break b;else{N=13;break b}}else{k=f+16|0;while(1){if((j|0)!=(f|0))break c;j=c[k>>2]|0;if(!j){N=13;break b}}}while(0);j=th(j,n,f)|0;c[O>>2]=j;if(!j)break a;l=P;return j|0}while(0);if((N|0)==13)a[L>>0]=m&-33;c[O>>2]=0}while(0);M=f+112|0;E=c[M>>2]|0;k=E;do if(!E){m=c[f+60>>2]|0;o=g+8|0;n=c[o>>2]|0;o=c[o+4>>2]|0;k=p+11|0;if(a[k>>0]|0?(a[k>>0]=0,q=c[(c[r>>2]|0)+8>>2]|0,q|0):0){j=q;do{if((a[j+1>>0]&16?(a[k>>0]=1,(c[j+60>>2]|0)==(m|0)):0)?(E=j+24|0,(c[E>>2]|0)==(n|0)?(c[E+4>>2]|0)==(o|0):0):0)a[j>>0]=0;j=c[j+16>>2]|0}while((j|0)!=0)}if(a[L>>0]&2?(E=f+24|0,(n|0)==(c[E>>2]|0)?(o|0)==(c[E+4>>2]|0):0):0){c[F>>2]=0;break}if((i|0)==0?(s=Qm(f,0,n,o,(h|0)!=0&1,F)|0,c[O>>2]=s,s|0):0){f=s;l=P;return f|0}}else if(!(h&2|i)){j=b[g+24>>1]|0;if(!(j<<16>>16)){j=g+8|0;j=Om(f,c[g>>2]|0,c[j>>2]|0,c[j+4>>2]|0,(h|0)!=0&1,F)|0;c[O>>2]=j}else{c[J>>2]=k;c[J+4>>2]=c[g+20>>2];b[J+8>>1]=j;j=J+10|0;b[j>>1]=0;b[j+2>>1]=0;a[j+4>>0]=0;j=Qm(f,J,0,0,(h|0)!=0&1,F)|0;c[O>>2]=j}if(j|0){f=j;l=P;return f|0}}while(0);E=f+116|0;A=c[E>>2]|0;B=c[I+80>>2]|0;p=d[A+10>>0]|0;if(!(a[A+2>>0]|0)){n=c[g+8>>2]|0;m=c[g>>2]|0;if(n>>>0<128){a[B+p>>0]=n;j=1}else{j=B+p|0;k=((n|0)<0)<<31>>31;if(n>>>0<16384){y=Qt(n|0,k|0,7)|0;a[j>>0]=y&255|-128;a[j+1>>0]=n&127;j=2}else j=Gn(j,n,k)|0;j=j&255}i=n;o=j+p|0;r=n}else{r=c[g+28>>2]|0;o=(c[g+32>>2]|0)+r|0;q=c[g+16>>2]|0;if(o>>>0<128){a[B+p>>0]=o;j=1}else{j=B+p|0;k=((o|0)<0)<<31>>31;if(o>>>0<16384){y=Qt(o|0,k|0,7)|0;a[j>>0]=y&255|-128;a[j+1>>0]=o&127;j=2}else j=Gn(j,o,k)|0;j=j&255}n=j+p|0;j=B+n|0;m=g+8|0;k=c[m>>2]|0;m=c[m+4>>2]|0;do if(!(m>>>0<0|(m|0)==0&k>>>0<128))if(m>>>0<0|(m|0)==0&k>>>0<16384){y=Qt(k|0,m|0,7)|0;a[j>>0]=y&255|-128;a[j+1>>0]=k&127;j=2;break}else{j=Gn(j,k,m)|0;break}else{a[j>>0]=k&127;j=1}while(0);i=o;o=j+n|0;m=q}k=B+o|0;j=e[A+14>>1]|0;d:do if((i|0)>(j|0)){t=e[A+16>>1]|0;x=c[A+52>>2]|0;y=x+36|0;p=(((i-t|0)>>>0)%(((c[y>>2]|0)+-4|0)>>>0)|0)+t|0;p=(p|0)>(j|0)?t:p;t=p+o|0;j=t+4|0;c[C>>2]=0;u=x+17|0;v=x+32|0;t=B+t|0;w=0;o=i;q=0;e:while(1){n=p;i=o;s=m;while(1){m=(i|0)>(n|0)?n:i;do if((r|0)<(m|0))if((r|0)>0){Tt(k|0,s|0,r|0)|0;m=r;break}else{Vt(k|0,0,m|0)|0;break}else Tt(k|0,s|0,m|0)|0;while(0);i=i-m|0;if((i|0)<1){N=88;break e}s=s+m|0;r=r-m|0;n=n-m|0;if(!n)break;else k=k+m|0}c[D>>2]=0;if(!(a[u>>0]|0))k=q;else{n=1073741824/((c[v>>2]|0)>>>0)|0;k=q;do{o=k;k=k+1|0;if(k>>>0<2)m=0;else{m=o+-1|0;m=m-((m>>>0)%(((((c[y>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;m=((m+1|0)==(n|0)?3:2)+m|0}}while((o|0)==(n|0)|(m|0)==(k|0));c[C>>2]=k}m=wh(x,D,C,k,0)|0;c[J>>2]=m;k=(m|0)==0;if(k&(a[u>>0]|0)!=0){k=c[C>>2]|0;zh(x,k,q|0?4:3,q,J);m=c[J>>2]|0;if(!m)n=k;else{N=73;break}}else{if(!k)break;n=c[C>>2]|0}a[t>>0]=n>>>24;a[t+1>>0]=n>>>16;a[t+2>>0]=n>>>8;a[t+3>>0]=n;do if(w|0){k=c[w+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);break}else{w=c[k+20>>2]|0;t=w+120|0;c[t>>2]=(c[t>>2]|0)+-1;w=w+136|0;c[k+16>>2]=c[w>>2];c[w>>2]=k;break}}while(0);w=c[D>>2]|0;k=w+56|0;t=c[k>>2]|0;a[t>>0]=0;a[t+1>>0]=0;a[t+2>>0]=0;a[t+3>>0]=0;k=(c[k>>2]|0)+4|0;p=(c[y>>2]|0)+-4|0;o=i;m=s;q=n}do if((N|0)==73){k=c[D>>2]|0;if(k){k=c[k+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);break}else{D=c[k+20>>2]|0;C=D+120|0;c[C>>2]=(c[C>>2]|0)+-1;D=D+136|0;c[k+16>>2]=c[D>>2];c[D>>2]=k;break}}}else if((N|0)==88){if(!w){N=92;break d}k=c[w+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);N=92;break d}else{N=c[k+20>>2]|0;D=N+120|0;c[D>>2]=(c[D>>2]|0)+-1;N=N+136|0;c[k+16>>2]=c[N>>2];c[N>>2]=k;N=92;break d}}while(0);do if(w|0){k=c[w+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);break}else{D=c[k+20>>2]|0;C=D+120|0;c[C>>2]=(c[C>>2]|0)+-1;D=D+136|0;c[k+16>>2]=c[D>>2];c[D>>2]=k;break}}while(0);c[O>>2]=m;if(!m)o=j;else{f=m;l=P;return f|0}}else{j=i+o|0;Tt(k|0,m|0,r|0)|0;Vt(k+r|0,0,i-r|0)|0;j=(j|0)>4?j:4;N=92}while(0);if((N|0)==92){c[O>>2]=0;o=j}k=f+70|0;m=b[k>>1]|0;n=m&65535;j=c[F>>2]|0;if(!j){k=c[A+72>>2]|0;m=c[k+20>>2]|0;do if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0)if(!(c[m+96>>2]|0)){c[O>>2]=0;break}else{H=Mg(k)|0;N=105;break}else N=100;while(0);do if((N|0)==100){j=c[m+40>>2]|0;if(j|0){c[O>>2]=j;N=116;break}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){H=Ng(k)|0;N=105;break}else{H=Og(k)|0;N=105;break}}while(0);if((N|0)==105?(c[O>>2]=H,H|0):0){j=H;N=116}if((N|0)==116){f=j;l=P;return f|0}j=(c[A+64>>2]|0)+(n<<1)|0;j=(c[A+56>>2]|0)+((d[j>>0]<<8|d[j+1>>0])&e[A+24>>1])|0;if(!(a[A+8>>0]|0)){H=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[B>>0]=H;a[B+1>>0]=H>>8;a[B+2>>0]=H>>16;a[B+3>>0]=H>>24}c[O>>2]=eo(A,j,J)|0;k=e[J+18>>1]|0;do if((k|0)==(o|0)?(e[J+16>>1]|0)==(c[J+12>>2]|0):0){if(a[I+17>>0]|0?(o|0)>=(e[A+16>>1]|0):0)break;if((j+o|0)>>>0>(c[A+60>>2]|0)>>>0){c[K>>2]=21258;c[K+4>>2]=68321;c[K+8>>2]=17052;Bc(11,17e3,K);j=11}else{Tt(j|0,B|0,o|0)|0;j=0}f=j;l=P;return f|0}while(0);oo(A,n,k,O);j=c[O>>2]|0;if(!j)j=n;else{f=j;l=P;return f|0}}else if((j|0)<0?(G=m+1<<16>>16,(b[A+22>>1]|0)!=0):0){b[k>>1]=G;a[L>>0]=a[L>>0]&-3;j=G&65535}else j=n;po(A,j,B,o,0,0,O);b[f+42>>1]=0;if(!(a[A+12>>0]|0)){f=c[O>>2]|0;l=P;return f|0}a[L>>0]=a[L>>0]&-3;k=qo(f)|0;c[O>>2]=k;j=c[E>>2]|0;a[j+12>>0]=0;a[f>>0]=0;if(!((h&2|0)!=0&(k|0)==0)){f=k;l=P;return f|0}n=f+68|0;k=a[n>>0]|0;if(k<<24>>24>-1){if(k<<24>>24){m=0;j=k;do{k=c[(c[f+120+(m<<2)>>2]|0)+72>>2]|0;if(!(b[k+28>>1]&32)){Kg(k);j=a[n>>0]|0}else{h=c[k+20>>2]|0;L=h+120|0;c[L>>2]=(c[L>>2]|0)+-1;h=h+136|0;c[k+16>>2]=c[h>>2];c[h>>2]=k}m=m+1|0}while((m|0)<(j<<24>>24|0));j=c[E>>2]|0}j=c[j+72>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{h=c[j+20>>2]|0;L=h+120|0;c[L>>2]=(c[L>>2]|0)+-1;h=h+136|0;c[j+16>>2]=c[h>>2];c[h>>2]=j}a[n>>0]=-1}n=g+8|0;f:do if(!(c[M>>2]|0))j=0;else{M=n;j=c[M>>2]|0;M=Ft(j|0,c[M+4>>2]|0,-1,-1)|0;h=z;do if(h>>>0>0|(h|0)==0&M>>>0>2147483390)N=147;else{if(!(c[2]|0)){j=jb[c[52>>2]&255](j)|0;c[f+56>>2]=j;if(!j)break}else{m=jb[c[68>>2]&255](j)|0;if((c[11829]|0)>>>0>>0)c[11829]=j;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){M=c[11822]|0;N=Gt(j|0,k|0,m|0,((m|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&M>>>0>=N>>>0)&1}j=jb[c[52>>2]&255](m)|0;if(!j){N=147;break}k=jb[c[64>>2]&255](j)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k;c[f+56>>2]=j}Tt(j|0,c[g>>2]|0,c[n>>2]|0)|0;j=0;break f}while(0);if((N|0)==147)c[f+56>>2]=0;c[O>>2]=7;j=7}while(0);a[f>>0]=3;O=n;g=c[O+4>>2]|0;f=f+48|0;c[f>>2]=c[O>>2];c[f+4>>2]=g;f=j;l=P;return f|0}function Ln(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=l;l=l+48|0;B=O+24|0;N=O+36|0;v=O;o=c[f+8>>2]|0;p=o+4|0;C=c[p>>2]|0;M=f+68|0;G=a[M>>0]|0;A=G<<24>>24;J=f+70|0;K=b[J>>1]|0;F=K&65535;L=f+116|0;H=c[L>>2]|0;w=(c[H+64>>2]|0)+(F<<1)|0;w=(c[H+56>>2]|0)+((d[w>>0]<<8|d[w+1>>0])&e[H+24>>1])|0;I=(g&2)!=0;x=H+8|0;do if(I){if(a[x>>0]|0){k=e[H+20>>1]|0;j=w+(d[H+10>>0]|0)|0;y=a[j>>0]|0;g=y&255;if(y<<24>>24<0){i=0;g=g&127;do{i=i+1|0;h=j+i|0;y=a[h>>0]|0;g=y&127|g<<7}while(y<<24>>24<0&(i|0)<8);i=g}else{h=j;i=g}if(!(a[H+2>>0]|0))g=h+1|0;else{g=1;do{y=g;g=g+1|0}while((a[h+y>>0]|0)<0&(g|0)<10);g=h+g|0}h=e[H+14>>1]|0;g=g-w|0;if(i>>>0>h>>>0){j=e[H+16>>1]|0;y=(((i-j|0)>>>0)%(((c[(c[H+52>>2]|0)+36>>2]|0)+-4|0)>>>0)|0)+j|0;g=(g&65535)+4+(y>>>0>h>>>0?j:y)|0}else{g=g+i|0;g=g>>>0>4?g:4}if((k+2+(g&65535)|0)>>>0<=((c[C+36>>2]<<1>>>0)/3|0)>>>0){y=1;break}}y=(a[f+69>>0]|0)==0;Ah(f);a:do if(y){g=c[f+36>>2]|0;j=f+48|0;y=j;c[y>>2]=g;c[y+4>>2]=0;y=Ft(g|0,0,-1,-1)|0;k=z;do if(!(k>>>0>0|(k|0)==0&y>>>0>2147483390)){if(!(c[2]|0)){g=jb[c[52>>2]&255](g)|0;if(!g){g=7;break}else h=g}else{i=jb[c[68>>2]&255](g)|0;if((c[11829]|0)>>>0>>0)c[11829]=g;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){k=c[11822]|0;y=Gt(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&k>>>0>=y>>>0)&1}h=jb[c[52>>2]&255](i)|0;if(!h){g=7;break}g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}g=Bh(f,0,c[j>>2]|0,h,0)|0;if(!g){c[f+56>>2]=h;break a}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{f=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else g=7;while(0);c[N>>2]=g;N=g;l=O;return N|0}else{j=f+24|0;k=c[j+4>>2]|0;y=f+48|0;c[y>>2]=c[j>>2];c[y+4>>2]=k}while(0);c[N>>2]=0;y=0}else y=0;while(0);k=f+1|0;do if(!(a[x>>0]|0)){a[k>>0]=a[k>>0]&-15;b[f+42>>1]=0;if(((a[f>>0]|0)==1?(m=b[J>>1]|0,m<<16>>16):0)?a[(c[L>>2]|0)+8>>0]|0:0){b[J>>1]=m+-1<<16>>16;c[N>>2]=0;break}g=Nm(f)|0;c[N>>2]=g;if(g|0){N=g;l=O;return N|0}}while(0);i=a[k>>0]|0;b:do if(i&32){j=c[f+60>>2]|0;g=c[C+8>>2]|0;c:do if(!g)D=50;else{d:do if(j){do{if((g|0)!=(f|0)?(c[g+60>>2]|0)==(j|0):0)break d;g=c[g+16>>2]|0}while((g|0)!=0);if(!f)break c;else{D=50;break c}}else{h=f+16|0;while(1){if((g|0)!=(f|0))break d;g=c[h>>2]|0;if(!g){D=50;break c}}}while(0);g=th(g,j,f)|0;c[N>>2]=g;if(!g)break b;l=O;return g|0}while(0);if((D|0)==50)a[k>>0]=i&-33;c[N>>2]=0}while(0);if(((c[f+112>>2]|0)==0?(q=c[f+60>>2]|0,s=f+24|0,r=c[s>>2]|0,s=c[s+4>>2]|0,t=o+11|0,a[t>>0]|0):0)?(a[t>>0]=0,n=c[(c[p>>2]|0)+8>>2]|0,n|0):0){g=n;do{if((a[g+1>>0]&16?(a[t>>0]=1,(c[g+60>>2]|0)==(q|0)):0)?(p=g+24|0,(c[p>>2]|0)==(r|0)?(c[p+4>>2]|0)==(s|0):0):0)a[g>>0]=0;g=c[g+16>>2]|0}while((g|0)!=0)}h=c[H+72>>2]|0;i=c[h+20>>2]|0;do if((b[h+28>>1]&4)!=0?(c[i+24>>2]|0)>>>0>=(c[h+24>>2]|0)>>>0:0)if(!(c[i+96>>2]|0)){c[N>>2]=0;break}else{u=Mg(h)|0;D=71;break}else D=66;while(0);do if((D|0)==66){g=c[i+40>>2]|0;if(g|0){c[N>>2]=g;N=g;l=O;return N|0}if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){u=Ng(h)|0;D=71;break}else{u=Og(h)|0;D=71;break}}while(0);if((D|0)==71?(c[N>>2]=u,u|0):0){N=u;l=O;return N|0}c[N>>2]=eo(H,w,v)|0;oo(H,F,e[v+18>>1]|0,N);g=c[N>>2]|0;if(g|0){N=g;l=O;return N|0}if(!(a[x>>0]|0)){p=c[L>>2]|0;if((A|0)<((a[M>>0]|0)+-1|0))g=c[f+120+(A+1<<2)>>2]|0;else g=p;m=c[g+4>>2]|0;n=p+22|0;D=(c[p+64>>2]|0)+((e[n>>1]<<1)+-2)|0;D=(d[D>>0]<<8|d[D+1>>0])&e[p+24>>1];o=(c[p+56>>2]|0)+D|0;if(D>>>0<4){c[B>>2]=21258;c[B+4>>2]=68509;c[B+8>>2]=17052;Bc(11,17e3,B);N=11;l=O;return N|0}k=(kb[c[p+76>>2]&255](p,o)|0)&65535;g=c[C+80>>2]|0;h=c[p+72>>2]|0;i=c[h+20>>2]|0;do if((b[h+28>>1]&4)!=0?(c[i+24>>2]|0)>>>0>=(c[h+24>>2]|0)>>>0:0)if(!(c[i+96>>2]|0)){c[N>>2]=0;D=89;break}else{E=Mg(h)|0;D=88;break}else D=83;while(0);do if((D|0)==83){j=c[i+40>>2]|0;if(j|0){c[N>>2]=j;break}if((c[i+148>>2]|0)>>>0>(c[i+152>>2]|0)>>>0){E=Ng(h)|0;D=88;break}else{E=Og(h)|0;D=88;break}}while(0);if((D|0)==88?(c[N>>2]=E,(E|0)==0):0)D=89;if((D|0)==89)po(H,F,o+-4|0,k+4|0,g,m,N);oo(p,(e[n>>1]|0)+-1|0,k,N);g=c[N>>2]|0;if(g|0){N=g;l=O;return N|0}}g=qo(f)|0;c[N>>2]=g;if(g|0){N=g;l=O;return N|0}g=a[M>>0]|0;if(g<<24>>24>G<<24>>24){h=c[(c[L>>2]|0)+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);g=a[M>>0]|0}else{F=c[h+20>>2]|0;E=F+120|0;c[E>>2]=(c[E>>2]|0)+-1;F=F+136|0;c[h+16>>2]=c[F>>2];c[F>>2]=h}h=g+-1<<24>>24;a[M>>0]=h;g=h<<24>>24;if(h<<24>>24>G<<24>>24)do{h=h+-1<<24>>24;a[M>>0]=h;g=c[f+120+(g<<2)>>2]|0;do if(g){g=c[g+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);h=a[M>>0]|0;break}else{F=c[g+20>>2]|0;E=F+120|0;c[E>>2]=(c[E>>2]|0)+-1;F=F+136|0;c[g+16>>2]=c[F>>2];c[F>>2]=g;break}}while(0);g=h<<24>>24}while(h<<24>>24>G<<24>>24);c[L>>2]=c[f+120+(g<<2)>>2];g=qo(f)|0;c[N>>2]=g;if(g|0){N=g;l=O;return N|0}}if(y|0){a[f>>0]=2;h=b[H+22>>1]|0;g=f+64|0;if((K&65535)<(h&65535)){c[g>>2]=1;N=0;l=O;return N|0}else{c[g>>2]=-1;b[J>>1]=(h&65535)+65535;N=0;l=O;return N|0}}g=Ym(f)|0;c[N>>2]=g;if(I){h=a[M>>0]|0;if(h<<24>>24>-1){if(h<<24>>24){i=0;g=h;do{h=c[(c[f+120+(i<<2)>>2]|0)+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);g=a[M>>0]|0}else{K=c[h+20>>2]|0;J=K+120|0;c[J>>2]=(c[J>>2]|0)+-1;K=K+136|0;c[h+16>>2]=c[K>>2];c[K>>2]=h}i=i+1|0}while((i|0)<(g<<24>>24|0))}g=c[(c[L>>2]|0)+72>>2]|0;if(!(b[g+28>>1]&32))Kg(g);else{L=c[g+20>>2]|0;K=L+120|0;c[K>>2]=(c[K>>2]|0)+-1;L=L+136|0;c[g+16>>2]=c[L>>2];c[L>>2]=g}a[M>>0]=-1;g=c[N>>2]|0}a[f>>0]=3}if((g|0)!=16){N=g;l=O;return N|0}c[N>>2]=0;N=0;l=O;return N|0}function Mn(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+16|0;r=s;h=Ym(f)|0;switch(h|0){case 0:{c[g>>2]=0;j=f+116|0;k=f+70|0;m=f+68|0;n=f+12|0;o=f+42|0;p=f+1|0;q=f+2|0;while(1){g=c[j>>2]|0;if(a[g+8>>0]|0){g=0;h=8;break}i=b[k>>1]|0;h=(c[g+64>>2]|0)+((i&65535)<<1)|0;g=(c[g+56>>2]|0)+((d[h>>0]<<8|d[h+1>>0])&e[g+24>>1])|0;h=a[m>>0]|0;if(h<<24>>24>18){h=5;break}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];t=c[n>>2]|0;b[o>>1]=0;a[p>>0]=a[p>>0]&-7;b[f+72+(h<<24>>24<<1)>>1]=i;c[f+120+(a[m>>0]<<2)>>2]=c[j>>2];b[k>>1]=0;a[m>>0]=(a[m>>0]|0)+1<<24>>24;g=Pm(t,g,j,f,d[q>>0]|0)|0;if(g|0){h=8;break}}if((h|0)==5){c[r>>2]=21258;c[r+4>>2]=64947;c[r+8>>2]=17052;Bc(11,17e3,r);t=11;l=s;return t|0}else if((h|0)==8){l=s;return g|0}break}case 16:{c[g>>2]=1;t=0;l=s;return t|0}default:{t=h;l=s;return t|0}}return 0}function Nn(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+16|0;t=w+4|0;u=w;v=e+12|0;h=e+8|0;g=c[h>>2]|0;do if(!(c[v>>2]|0)){g=Rm(c[g+28>>2]|0)|0;c[v>>2]=g;if(!g){v=7;l=w;return v|0}else{s=c[h>>2]|0;b[g+8>>1]=b[(c[s+28>>2]|0)+6>>1]|0;a[g+11>>0]=0;g=s;break}}while(0);k=c[f>>2]|0;r=a[g+60>>0]|0;s=e+32|0;c[s>>2]=r<<24>>24==1?141:r<<24>>24==2?140:139;if(!(c[2]|0)){g=jb[c[52>>2]&255](256)|0;if(!g){v=7;l=w;return v|0}else n=14}else{g=jb[c[68>>2]&255](256)|0;if((c[11829]|0)>>>0<256)c[11829]=256;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){q=c[11822]|0;r=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;p=z;c[11616]=(0>(p|0)|0==(p|0)&q>>>0>=r>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){v=7;l=w;return v|0}h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;Vt(g|0,0,256)|0;r=0}else n=14}if((n|0)==14){Vt(g|0,0,256)|0;r=(g|0)==0}if(k|0){q=f+4|0;j=k;i=k;while(1){h=c[q>>2]|0;if(h)if((i|0)==(h|0)){p=0;i=0}else{i=h+(c[j+4>>2]|0)|0;p=i}else{i=c[j+4>>2]|0;p=i}c[j+4>>2]=0;h=c[g>>2]|0;if(!h)h=g;else{o=0;m=h;h=g;do{c[t>>2]=0;c[u>>2]=0;k=t;a:while(1){n=m+8|0;while(1){if((ob[c[s>>2]&255](e,u,j+8|0,c[j>>2]|0,n,c[m>>2]|0)|0)>=1)break;c[k>>2]=j;k=j+4|0;j=c[k>>2]|0;if(!j){n=28;break a}}c[k>>2]=m;k=m+4|0;m=c[k>>2]|0;c[u>>2]=0;if(!m){n=30;break}}if((n|0)==28)c[k>>2]=m;else if((n|0)==30)c[k>>2]=j;j=c[t>>2]|0;c[h>>2]=0;o=o+1|0;h=g+(o<<2)|0;m=c[h>>2]|0}while((m|0)!=0)}c[h>>2]=j;if(!p)break;else j=p}}m=0;h=0;do{j=c[g+(m<<2)>>2]|0;if(j)if(!h)h=j;else{c[t>>2]=0;c[u>>2]=0;i=t;b:while(1){k=j+8|0;while(1){if((ob[c[s>>2]&255](e,u,h+8|0,c[h>>2]|0,k,c[j>>2]|0)|0)>=1)break;c[i>>2]=h;i=h+4|0;h=c[i>>2]|0;if(!h){n=39;break b}}c[i>>2]=j;i=j+4|0;j=c[i>>2]|0;c[u>>2]=0;if(!j){n=41;break}}if((n|0)==39)c[i>>2]=j;else if((n|0)==41)c[i>>2]=h;h=c[t>>2]|0}m=m+1|0}while((m|0)!=64);c[f>>2]=h;do if(!r)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);v=d[(c[v>>2]|0)+11>>0]|0;l=w;return v|0}function On(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+16|0;u=y;a[b+56>>0]=1;e=b+64|0;x=b+36|0;g=b+72|0;f=b+104|0;if((c[f>>2]|0)==0?(d=ko(c[(c[g>>2]|0)+24>>2]|0,f)|0,d|0):0){x=d;l=y;return x|0}d=Nn(e,x)|0;if(d|0){x=d;l=y;return x|0}k=c[f>>2]|0;j=c[(c[g>>2]|0)+12>>2]|0;w=b+112|0;h=w;g=c[h>>2]|0;h=c[h+4>>2]|0;i=((j|0)<0)<<31>>31;t=Ft(j|0,i|0,-1,-1)|0;s=z;do if(s>>>0>0|(s|0)==0&t>>>0>2147483390){d=7;t=0;r=0;i=0;s=0;f=0;e=0}else{if(!(c[2]|0)){d=jb[c[52>>2]&255](j)|0;if(!d){d=7;t=0;r=0;i=0;s=0;f=0;e=0;break}else e=d}else{d=jb[c[68>>2]&255](j)|0;if((c[11829]|0)>>>0>>0)c[11829]=j;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){s=c[11822]|0;t=Gt(e|0,f|0,d|0,((d|0)<0)<<31>>31|0)|0;r=z;c[11616]=(0>(r|0)|0==(r|0)&s>>>0>=t>>>0)&1}e=jb[c[52>>2]&255](d)|0;if(!e){d=7;t=0;r=0;i=0;s=0;f=0;e=0;break}d=jb[c[64>>2]&255](e)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}i=Mt(g|0,h|0,j|0,i|0)|0;f=Gt(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;d=0;t=e;r=j;s=k;e=z}while(0);g=b+92|0;c[g>>2]=(c[g>>2]|0)+1;g=c[b+44>>2]|0;h=((g|0)<0)<<31>>31;do if(g>>>0>=128)if(g>>>0>=16384){g=Gn(u,g,h)|0;if((g|0)>0){v=22;break}else{h=i;g=i;break}}else{v=Qt(g|0,h|0,7)|0;a[u>>0]=v&255|-128;a[u+1>>0]=g&127;g=2;v=22;break}else{a[u>>0]=g&127;g=1;v=22}while(0);a:do if((v|0)==22){m=((r|0)<0)<<31>>31;k=g;h=i;while(1){if(d|0){g=i;break a}j=r-i|0;j=(k|0)>(j|0)?j:k;Tt(t+i|0,u+(g-k)|0,j|0)|0;i=j+i|0;if((i|0)==(r|0)){i=Ft(h|0,((h|0)<0)<<31>>31|0,f|0,e|0)|0;d=z;f=Ft(f|0,e|0,r|0,m|0)|0;e=z;d=nb[c[(c[s>>2]|0)+12>>2]&255](s,t+h|0,r-h|0,i,d)|0;h=0;i=0}else d=0;k=k-j|0;if((k|0)<=0){g=i;break}}}while(0);i=c[x>>2]|0;if(i){q=((r|0)<0)<<31>>31;o=b+40|0;p=u+1|0;do{n=i;i=c[i+4>>2]|0;m=c[n>>2]|0;j=((m|0)<0)<<31>>31;do if(m>>>0>=128)if(m>>>0>=16384){j=Gn(u,m,j)|0;if((j|0)>0){v=34;break}else break}else{j=Qt(m|0,j|0,7)|0;a[u>>0]=j&255|-128;j=2;k=p;v=33;break}else{j=1;k=u;v=33}while(0);if((v|0)==33){a[k>>0]=m&127;v=34}b:do if((v|0)==34){v=0;m=j;do{if(d|0)break b;k=r-g|0;k=(m|0)>(k|0)?k:m;Tt(t+g|0,u+(j-m)|0,k|0)|0;g=k+g|0;if((g|0)==(r|0)){g=Ft(h|0,((h|0)<0)<<31>>31|0,f|0,e|0)|0;d=z;f=Ft(f|0,e|0,r|0,q|0)|0;e=z;d=nb[c[(c[s>>2]|0)+12>>2]&255](s,t+h|0,r-h|0,g,d)|0;h=0;g=0}else d=0;m=m-k|0}while((m|0)>0)}while(0);m=n+8|0;b=c[n>>2]|0;c:do if((b|0)>0){k=b;do{if(d|0)break c;j=r-g|0;j=(k|0)>(j|0)?j:k;Tt(t+g|0,m+(b-k)|0,j|0)|0;g=j+g|0;if((g|0)==(r|0)){g=Ft(h|0,((h|0)<0)<<31>>31|0,f|0,e|0)|0;d=z;f=Ft(f|0,e|0,r|0,q|0)|0;e=z;d=nb[c[(c[s>>2]|0)+12>>2]&255](s,t+h|0,r-h|0,g,d)|0;h=0;g=0}else d=0;k=k-j|0}while((k|0)>0)}while(0);do if(!((n|0)==0|(c[o>>2]|0)!=0))if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{b=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}while(0)}while((i|0)!=0)}c[x>>2]=0;if(d){v=Ft(g|0,((g|0)<0)<<31>>31|0,f|0,e|0)|0;x=w;c[x>>2]=v;c[x+4>>2]=z;if(!t){x=d;l=y;return x|0}}else{if(!t){v=Ft(g|0,((g|0)<0)<<31>>31|0,f|0,e|0)|0;x=w;c[x>>2]=v;c[x+4>>2]=z;x=0;l=y;return x|0}if((g|0)>(h|0)){d=Ft(h|0,((h|0)<0)<<31>>31|0,f|0,e|0)|0;d=nb[c[(c[s>>2]|0)+12>>2]&255](s,t+h|0,g-h|0,d,z)|0}else d=0;v=Ft(g|0,((g|0)<0)<<31>>31|0,f|0,e|0)|0;x=w;c[x>>2]=v;c[x+4>>2]=z}if(!(c[2]|0)){pb[c[56>>2]&255](t);x=d;l=y;return x|0}else{x=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);x=d;l=y;return x|0}return 0}function Pn(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;q=t;f=d;o=c[f>>2]|0;f=c[f+4>>2]|0;k=2;while(1)if((k|0)<(b|0))k=k<<1;else break;g=c[67]|0;if((g|0)!=0?(jb[g&255](100)|0)!=0:0)s=17;else s=5;a:do if((s|0)==5){j=(k*60|0)+16|0;r=Ft(j|0,((j|0)<0)<<31>>31|0,-1,-1)|0;p=z;if(!(p>>>0>0|(p|0)==0&r>>>0>2147483390)){if(!(c[2]|0)){g=jb[c[52>>2]&255](j)|0;if(!g){s=17;break}else r=g}else{g=jb[c[68>>2]&255](j)|0;if((c[11829]|0)>>>0>>0)c[11829]=j;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){p=c[11822]|0;r=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&p>>>0>=r>>>0)&1}h=jb[c[52>>2]&255](g)|0;if(!h){s=17;break}g=jb[c[64>>2]&255](h)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0){c[11831]=g;r=h}else r=h}Vt(r|0,0,j|0)|0;p=r+16|0;c[r>>2]=k;c[r+4>>2]=0;c[r+12>>2]=p;c[r+8>>2]=p+(k*56|0);c[e>>2]=r;p=(r|0)==0;g=p?7:0;i=p^1;b:do if((b|0)>0&i){m=r+12|0;n=a+40|0;j=0;g=o;while(1){i=c[m>>2]|0;k=i+(j*56|0)|0;h=ho(a,k,n,g,f)|0;if(h|0){s=21;break}h=q;c[h>>2]=0;c[h+4>>2]=0;h=io(k,q)|0;g=k;f=q;g=Ft(c[f>>2]|0,c[f+4>>2]|0,c[g>>2]|0,c[g+4>>2]|0)|0;f=i+(j*56|0)+8|0;o=f;c[o>>2]=g;c[o+4>>2]=z;if(h|0)break;h=fo(k)|0;g=c[f>>2]|0;f=c[f+4>>2]|0;j=j+1|0;i=(h|0)==0;if(!((j|0)<(b|0)&i)){s=25;break b}}if((s|0)==21)f=i+(j*56|0)+8|0;g=c[f>>2]|0;f=c[f+4>>2]|0;if(p)break a;else n=h}else{h=g;g=o;s=25}while(0);do if((s|0)==25)if(!i)if(p)break a;else{n=h;break}else{e=h;q=g;s=f;r=d;c[r>>2]=q;d=d+4|0;c[d>>2]=s;l=t;return e|0}while(0);if((c[r>>2]|0)>0){m=r+12|0;k=0;do{j=c[m>>2]|0;h=j+(k*56|0)|0;i=c[j+(k*56|0)+28>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{q=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);i=c[j+(k*56|0)+36>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{q=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);$h(c[j+(k*56|0)+48>>2]|0);i=h+56|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));k=k+1|0}while((k|0)<(c[r>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](r);h=n;break}else{h=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);h=n;break}}else s=17}while(0);if((s|0)==17){c[e>>2]=0;h=7;g=o}c[e>>2]=0;e=h;q=g;s=f;r=d;c[r>>2]=q;d=d+4|0;c[d>>2]=s;l=t;return e|0}function Qn(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;p=r;n=c[b>>2]|0;q=b+4|0;c[q>>2]=a;a:do if((n|0)>0){o=b+12|0;m=0;while(1){j=c[o>>2]|0;k=j+(m*56|0)|0;j=c[j+(m*56|0)+48>>2]|0;if(j|0){f=c[j>>2]|0;g=c[(c[f+8>>2]|0)+24>>2]|0;e=Qn(f,c[j+4>>2]|0)|0;if(e|0){f=22;break}i=c[j+16>>2]|0;h=f+56|0;e=c[h>>2]|0;if(!e){f=f+64|0;e=ko(g,h)|0;g=f;c[g>>2]=0;c[g+4>>2]=0;if(e|0){f=22;break}e=c[h>>2]|0;g=0;h=0}else{f=f+64|0;h=f;g=c[h>>2]|0;h=c[h+4>>2]|0}c[j+48>>2]=e;j=j+8|0;c[j>>2]=g;c[j+4>>2]=h;j=Ft(g|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;e=f;c[e>>2]=j;c[e+4>>2]=z;e=fo(k)|0;if(e|0){f=22;break}}m=m+1|0;if((m|0)>=(n|0)){f=11;break}}if((f|0)==11){e=c[b>>2]|0;if((e|0)<=1)break;i=b+12|0;j=b+8|0;f=e;while(1){h=f+-1|0;e=(e|0)/2|0;if((f|0)>(e|0)){f=h-e<<1;e=f;f=f|1}else{o=c[j>>2]|0;f=h<<1;e=c[o+(f<<2)>>2]|0;f=c[o+((f|1)<<2)>>2]|0}g=c[i>>2]|0;if(c[g+(e*56|0)+24>>2]|0){if(c[g+(f*56|0)+24>>2]|0){o=c[q>>2]|0;c[p>>2]=0;o=(ob[c[o+32>>2]&255](o,p,c[g+(e*56|0)+32>>2]|0,c[g+(e*56|0)+20>>2]|0,c[g+(f*56|0)+32>>2]|0,c[g+(f*56|0)+20>>2]|0)|0)<1;e=o?e:f}}else e=f;c[(c[j>>2]|0)+(h<<2)>>2]=e;if((h|0)<=1)break a;f=h;e=c[b>>2]|0}}else if((f|0)==22){l=r;return e|0}}while(0);q=d[(c[a+12>>2]|0)+11>>0]|0;l=r;return q|0}function Rn(a,b){a=a|0;b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;v=l;l=l+16|0;p=v;q=a+8|0;f=c[(c[q>>2]|0)+4>>2]|0;u=c[a+4>>2]|0;s=a+12|0;e=fo((c[s>>2]|0)+(f*56|0)|0)|0;if(e|0){u=e;l=v;return u|0}c[p>>2]=0;e=c[s>>2]|0;a=(c[a>>2]|0)+f|0;a:do if((a|0)>1){o=u+32|0;g=e+((f|1)*56|0)|0;m=e+((f&65534)*56|0)|0;while(1){h=m+24|0;i=m;j=m+32|0;k=m+20|0;f=g;g=a;while(1){n=(g|0)/2|0;if(!(c[h>>2]|0))break;if((c[f+24>>2]|0?(r=ob[c[o>>2]&255](u,p,c[j>>2]|0,c[k>>2]|0,c[f+32>>2]|0,c[f+20>>2]|0)|0,(r|0)>=0):0)?!(m>>>0>>0&(r|0)==0):0){t=11;break}e=c[s>>2]|0;a=c[q>>2]|0;c[a+(n<<2)>>2]=(i-e|0)/56|0;f=e+((c[a+((n^1)<<2)>>2]|0)*56|0)|0;c[p>>2]=0;if((g|0)>3)g=n;else break a}if((t|0)==11?(t=0,c[h>>2]|0):0)c[p>>2]=0;e=c[s>>2]|0;a=c[q>>2]|0;c[a+(n<<2)>>2]=(f-e|0)/56|0;if((g|0)>3){g=f;m=e+((c[a+((n^1)<<2)>>2]|0)*56|0)|0;a=n}else break}}else a=c[q>>2]|0;while(0);c[b>>2]=(c[e+((c[a+4>>2]|0)*56|0)+24>>2]|0)==0&1;u=d[(c[u+12>>2]|0)+11>>0]|0;l=v;return u|0}function Sn(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+64|0;n=y+40|0;k=y+24|0;m=y+52|0;s=y;if((c[f+44>>2]|0)>>>0>>0){c[k>>2]=21258;c[k+4>>2]=68753;c[k+8>>2]=17052;Bc(11,17e3,k);x=11;l=y;return x|0}g=Pm(f,g,m,0,0)|0;if(g|0){x=g;l=y;return x|0}w=c[m>>2]|0;v=w+1|0;a:do if(!(a[v>>0]|0)){a[v>>0]=1;u=d[w+9>>0]|0;q=w+22|0;g=b[q>>1]|0;r=w+8|0;k=(a[r>>0]|0)!=0;b:do if(!(g<<16>>16)){g=g&65535;x=12}else{n=w+56|0;o=w+24|0;p=w+64|0;m=0;while(1){g=(c[p>>2]|0)+(m<<1)|0;g=(c[n>>2]|0)+((d[g>>0]<<8|d[g+1>>0])&e[o>>1])|0;if(!k?(t=Sn(f,d[g+1>>0]<<16|d[g>>0]<<24|d[g+2>>0]<<8|d[g+3>>0],1,i)|0,t|0):0){j=t;break b}g=eo(w,g,s)|0;m=m+1|0;if(g|0){j=g;break b}g=e[q>>1]|0;k=(a[r>>0]|0)!=0;if((m|0)>=(g|0)){x=12;break}}}while(0);c:do if((x|0)==12){if(k){if(i|0)c[i>>2]=(c[i>>2]|0)+g}else{g=(c[w+56>>2]|0)+(u+8)|0;g=Sn(f,d[g+1>>0]<<16|d[g>>0]<<24|d[g+2>>0]<<8|d[g+3>>0],1,i)|0;if(g|0){j=g;break}}if(h|0){j=Tn(c[w+52>>2]|0,w,c[w+4>>2]|0)|0;break}g=c[w+72>>2]|0;k=c[g+20>>2]|0;if((b[g+28>>1]&4)!=0?(c[k+24>>2]|0)>>>0>=(c[g+24>>2]|0)>>>0:0){if(c[k+96>>2]|0){j=Mg(g)|0;x=26}}else x=22;do if((x|0)==22){j=c[k+40>>2]|0;if(j|0)break c;if((c[k+148>>2]|0)>>>0>(c[k+152>>2]|0)>>>0){j=Ng(g)|0;x=26;break}else{j=Og(g)|0;x=26;break}}while(0);if((x|0)==26?j|0:0){x=29;break a}Fh(w,(a[(c[w+56>>2]|0)+u>>0]|8)&255);j=0}while(0);a[v>>0]=0;g=j}else{c[n>>2]=21258;c[n+4>>2]=68758;c[n+8>>2]=17052;Bc(11,17e3,n);j=11;x=29}while(0);if((x|0)==29){a[v>>0]=0;if(!w){x=j;l=y;return x|0}else g=j}j=c[w+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);x=g;l=y;return x|0}else{x=c[j+20>>2]|0;w=x+120|0;c[w>>2]=(c[w>>2]|0)+-1;x=x+136|0;c[j+16>>2]=c[x>>2];c[x>>2]=j;x=g;l=y;return x|0}return 0}function Tn(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0;C=l;l=l+48|0;s=C+16|0;j=C;t=C+32|0;B=C+28|0;n=c[f+12>>2]|0;if(h>>>0<2){c[j>>2]=21258;c[j+4>>2]=66090;c[j+8>>2]=17052;Bc(11,17e3,j);B=11;l=C;return B|0}do if(!g){g=(c[f>>2]|0)+208|0;k=lb[c[148>>2]&255](c[(c[g>>2]|0)+44>>2]|0,h,0)|0;if(k){g=c[g>>2]|0;j=c[k+4>>2]|0;if(!(c[j>>2]|0)){g=Ig(g,h,k)|0;if(!g){g=0;break}else j=g}else{A=g+12|0;c[A>>2]=(c[A>>2]|0)+1;A=j+30|0;b[A>>1]=(b[A>>1]|0)+1<<16>>16}g=c[j+8>>2]|0;k=g+4|0;if((c[k>>2]|0)!=(h|0)){c[g+56>>2]=c[j+4>>2];c[g+72>>2]=j;c[g+52>>2]=f;c[k>>2]=h;a[g+9>>0]=0}}else g=0}else{A=c[g+72>>2]|0;r=A+30|0;b[r>>1]=(b[r>>1]|0)+1<<16>>16;A=(c[A+12>>2]|0)+12|0;c[A>>2]=(c[A>>2]|0)+1}while(0);k=c[n+72>>2]|0;m=c[k+20>>2]|0;do if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0)if(!(c[m+96>>2]|0)){c[B>>2]=0;A=22;break}else{j=Mg(k)|0;A=21;break}else A=16;while(0);do if((A|0)==16){j=c[m+40>>2]|0;if(j|0){c[B>>2]=j;i=0;A=105;break}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){j=Ng(k)|0;A=21;break}else{j=Og(k)|0;A=21;break}}while(0);if((A|0)==21){c[B>>2]=j;if(!j)A=22;else{i=0;A=105}}a:do if((A|0)==22){r=n+56|0;p=c[r>>2]|0;j=p+36|0;k=p+37|0;n=p+38|0;p=p+39|0;m=d[k>>0]<<16|d[j>>0]<<24|d[n>>0]<<8|d[p>>0];q=m+1|0;a[j>>0]=q>>>24;a[k>>0]=q>>>16;a[n>>0]=q>>>8;a[p>>0]=q;p=f+22|0;if(b[p>>1]&4){if(!g){g=c[f>>2]|0;g=mb[c[g+200>>2]&255](g,h,t,0)|0;if(g|0){c[B>>2]=g;break}i=c[t>>2]|0;g=c[i+8>>2]|0;j=g+4|0;if((c[j>>2]|0)!=(h|0)){c[g+56>>2]=c[i+4>>2];c[g+72>>2]=i;c[g+52>>2]=f;c[j>>2]=h;a[g+9>>0]=(h|0)==1?100:0}c[B>>2]=0}j=c[g+72>>2]|0;k=c[j+20>>2]|0;do if((b[j+28>>1]&4)!=0?(c[k+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[k+96>>2]|0)){c[B>>2]=0;break}else{o=Mg(j)|0;A=39;break}else A=34;while(0);do if((A|0)==34){i=c[k+40>>2]|0;if(i|0){c[B>>2]=i;i=0;A=105;break a}if((c[k+148>>2]|0)>>>0>(c[k+152>>2]|0)>>>0){o=Ng(j)|0;A=39;break}else{o=Og(j)|0;A=39;break}}while(0);if((A|0)==39?(c[B>>2]=o,o|0):0){i=0;A=105;break}Vt(c[g+56>>2]|0,0,c[(c[g+52>>2]|0)+32>>2]|0)|0}if(a[f+17>>0]|0?(zh(f,h,2,0,B),c[B>>2]|0):0){i=0;A=105;break}if(m){n=c[r>>2]|0;n=d[n+33>>0]<<16|d[n+32>>0]<<24|d[n+34>>0]<<8|d[n+35>>0];i=c[f>>2]|0;i=mb[c[i+200>>2]&255](i,n,t,0)|0;if(i|0){c[B>>2]=i;i=0;A=105;break}i=c[t>>2]|0;q=c[i+8>>2]|0;j=q+4|0;if((c[j>>2]|0)==(n|0)){i=q+56|0;m=i;i=c[i>>2]|0}else{o=c[i+4>>2]|0;m=q+56|0;c[m>>2]=o;c[q+72>>2]=i;c[q+52>>2]=f;c[j>>2]=n;a[q+9>>0]=(n|0)==1?100:0;i=o}c[B>>2]=0;o=d[i+5>>0]<<16|d[i+4>>0]<<24|d[i+6>>0]<<8|d[i+7>>0];j=(c[f+36>>2]|0)>>>2;if(o>>>0>(j+-2|0)>>>0){c[s>>2]=21258;c[s+4>>2]=66143;c[s+8>>2]=17052;Bc(11,17e3,s);c[B>>2]=11;i=q;A=105;break}if(o>>>0<(j+-8|0)>>>0){j=c[q+72>>2]|0;k=c[j+20>>2]|0;do if((b[j+28>>1]&4)!=0?(c[k+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[k+96>>2]|0)){c[B>>2]=0;break}else{i=Mg(j)|0;A=62;break}else A=57;while(0);do if((A|0)==57){i=c[k+40>>2]|0;if(i|0){c[B>>2]=i;i=q;A=105;break a}if((c[k+148>>2]|0)>>>0>(c[k+152>>2]|0)>>>0){i=Ng(j)|0;A=62;break}else{i=Og(j)|0;A=62;break}}while(0);if((A|0)==62){c[B>>2]=i;if(i|0){i=q;A=105;break}i=c[m>>2]|0}y=o+1|0;a[i+4>>0]=y>>>24;a[i+5>>0]=y>>>16;a[i+6>>0]=y>>>8;a[i+7>>0]=y;y=(c[m>>2]|0)+((o<<2)+8)|0;a[y>>0]=h>>>24;a[y+1>>0]=h>>>16;a[y+2>>0]=h>>>8;a[y+3>>0]=h;if((((g|0?(b[p>>1]&4)==0:0)?(u=c[g+72>>2]|0,v=c[u+20>>2]|0,(a[v+12>>0]|0)==0):0)?(w=u+28|0,x=e[w>>1]|0,x&2|0):0)?(c[v+96>>2]|0)==0:0)b[w>>1]=x&65515|16;n=f+60|0;i=c[n>>2]|0;do if(!i){m=c[f+44>>2]|0;do if(!(c[2]|0)){i=jb[c[52>>2]&255](512)|0;if(!i)A=83;else A=81}else{i=jb[c[68>>2]&255](512)|0;if((c[11829]|0)>>>0<512)c[11829]=512;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){y=c[11822]|0;f=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;x=z;c[11616]=(0>(x|0)|0==(x|0)&y>>>0>=f>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){A=83;break}j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0){A=81;break}c[11831]=j;Vt(i|0,0,512)|0}while(0);if((A|0)==81)Vt(i|0,0,512)|0;else if((A|0)==83){c[n>>2]=0;i=7;break}c[i>>2]=m;c[n>>2]=i;A=85}else A=85;while(0);if((A|0)==85)if((c[i>>2]|0)>>>0>>0)i=0;else i=Hg(i,h)|0;c[B>>2]=i;i=q;A=105;break}else i=q}else{n=0;i=0}if(!g){g=c[f>>2]|0;g=mb[c[g+200>>2]&255](g,h,t,0)|0;if(g|0){c[B>>2]=g;A=111;break}j=c[t>>2]|0;g=c[j+8>>2]|0;k=g+4|0;if((c[k>>2]|0)!=(h|0)){c[g+56>>2]=c[j+4>>2];c[g+72>>2]=j;c[g+52>>2]=f;c[k>>2]=h;a[g+9>>0]=(h|0)==1?100:0}c[B>>2]=0}k=c[g+72>>2]|0;m=c[k+20>>2]|0;do if((b[k+28>>1]&4)!=0?(c[m+24>>2]|0)>>>0>=(c[k+24>>2]|0)>>>0:0)if(!(c[m+96>>2]|0)){c[B>>2]=0;break}else{y=Mg(k)|0;A=104;break}else A=99;while(0);do if((A|0)==99){j=c[m+40>>2]|0;if(j|0){c[B>>2]=j;A=105;break a}if((c[m+148>>2]|0)>>>0>(c[m+152>>2]|0)>>>0){y=Ng(k)|0;A=104;break}else{y=Og(k)|0;A=104;break}}while(0);if((A|0)==104?(c[B>>2]=y,y|0):0){A=105;break}A=g+56|0;f=c[A>>2]|0;a[f>>0]=n>>>24;a[f+1>>0]=n>>>16;a[f+2>>0]=n>>>8;a[f+3>>0]=n;A=(c[A>>2]|0)+4|0;a[A>>0]=0;a[A+1>>0]=0;a[A+2>>0]=0;a[A+3>>0]=0;A=c[r>>2]|0;a[A+32>>0]=h>>>24;a[A+33>>0]=h>>>16;a[A+34>>0]=h>>>8;a[A+35>>0]=h;a[g>>0]=0;if(!g)A=111;else A=108}while(0);if((A|0)==105)if(!g)A=111;else{a[g>>0]=0;A=108}do if((A|0)==108){g=c[g+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);A=111;break}else{A=c[g+20>>2]|0;h=A+120|0;c[h>>2]=(c[h>>2]|0)+-1;A=A+136|0;c[g+16>>2]=c[A>>2];c[A>>2]=g;A=111;break}}while(0);do if((A|0)==111?i|0:0){g=c[i+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);break}else{h=c[g+20>>2]|0;A=h+120|0;c[A>>2]=(c[A>>2]|0)+-1;h=h+136|0;c[g+16>>2]=c[h>>2];c[h>>2]=g;break}}while(0);B=c[B>>2]|0;l=C;return B|0}function Un(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0;P=l;l=l+176|0;L=P+160|0;K=P+136|0;J=P+128|0;I=P+120|0;H=P+112|0;F=P+88|0;E=P+80|0;D=P+72|0;C=P+48|0;B=P+40|0;N=P+32|0;M=P+24|0;G=P+16|0;A=P;v=P+172|0;w=P+168|0;x=P+164|0;if((h|0)<=0){l=P;return}y=e+16|0;z=e+12|0;t=e+8|0;u=e+4|0;r=(f|0)!=0;s=e+24|0;f=g;j=h;while(1){q=j+-1|0;if(!(c[y>>2]|0)){O=55;break}if((f|0)<1){O=5;break}if((c[z>>2]|0)>>>0>>0){O=7;break}i=(c[t>>2]|0)+(f>>>3)|0;k=d[i>>0]|0;m=1<<(f&7);if(k&m|0){O=9;break}a[i>>0]=k|m;p=c[u>>2]|0;if(mb[c[p+200>>2]&255](p,f,x,0)|0){O=11;break}p=c[(c[x>>2]|0)+4>>2]|0;do if(!r){i=c[e>>2]|0;if((j|0)>1&(a[i+17>>0]|0)!=0){k=d[p+1>>0]<<16|d[p>>0]<<24|d[p+2>>0]<<8|d[p+3>>0];i=vh(i,k,v,w)|0;a:do if((i|0)<7){switch(i|0){case 0:break;default:{O=42;break a}}i=a[v>>0]|0;j=c[w>>2]|0;if(!(i<<24>>24==4&(j|0)==(f|0))){c[K>>2]=k;c[K+4>>2]=4;c[K+8>>2]=f;c[K+12>>2]=i&255;c[K+16>>2]=j;Vn(e,36215,K)}}else{if((i|0)<3082)switch(i|0){case 7:break;default:{O=42;break a}}else switch(i|0){case 3082:break;default:{O=42;break a}}c[s>>2]=1;O=42}while(0);if((O|0)==42){O=0;c[J>>2]=k;Vn(e,36186,J)}j=q}else j=q}else{o=d[p+5>>0]<<16|d[p+4>>0]<<24|d[p+6>>0]<<8|d[p+7>>0];i=c[e>>2]|0;if(a[i+17>>0]|0){i=vh(i,f,v,w)|0;b:do if((i|0)<7){switch(i|0){case 0:break;default:{O=16;break b}}i=a[v>>0]|0;k=c[w>>2]|0;if(!(i<<24>>24==2&(k|0)==0)){c[C>>2]=f;c[C+4>>2]=2;c[C+8>>2]=0;c[C+12>>2]=i&255;c[C+16>>2]=k;Vn(e,36215,C)}}else{if((i|0)<3082)switch(i|0){case 7:break;default:{O=16;break b}}else switch(i|0){case 3082:break;default:{O=16;break b}}c[s>>2]=1;O=16}while(0);if((O|0)==16){O=0;c[B>>2]=f;Vn(e,36186,B)}i=c[e>>2]|0}if((o|0)>(((c[i+36>>2]|0)/4|0)+-2|0)){c[D>>2]=f;Vn(e,37564,D);j=j+-2|0;break}c:do if((o|0)>0){f=0;while(1){n=p+((f<<2)+8)|0;m=d[n+3>>0]|0;n=d[n+1>>0]<<16|d[n>>0]<<24|d[n+2>>0]<<8|m;if(a[i+17>>0]|0){i=vh(i,n,v,w)|0;d:do if((i|0)<7){switch(i|0){case 0:break;default:{O=26;break d}}i=a[v>>0]|0;j=c[w>>2]|0;if(!(i<<24>>24==2&(j|0)==0)){c[F>>2]=n;c[F+4>>2]=2;c[F+8>>2]=0;c[F+12>>2]=i&255;c[F+16>>2]=j;Vn(e,36215,F)}}else{if((i|0)<3082)switch(i|0){case 7:break;default:{O=26;break d}}else switch(i|0){case 3082:break;default:{O=26;break d}}c[s>>2]=1;O=26}while(0);if((O|0)==26){O=0;c[E>>2]=n;Vn(e,36186,E)}}do if(n|0){if((c[z>>2]|0)>>>0>>0){c[H>>2]=n;Vn(e,37103,H);break}j=(c[t>>2]|0)+(n>>>3)|0;k=d[j>>0]|0;i=1<<(m&7);if(!(k&i)){a[j>>0]=k|i;break}else{c[I>>2]=n;Vn(e,37126,I);break}}while(0);f=f+1|0;if((f|0)==(o|0))break c;i=c[e>>2]|0}}while(0);j=q-o|0}while(0);f=d[p+1>>0]<<16|d[p>>0]<<24|d[p+2>>0]<<8|d[p+3>>0];i=c[x>>2]|0;do if(i|0)if(!(b[i+28>>1]&32)){Kg(i);break}else{q=c[i+20>>2]|0;p=q+120|0;c[p>>2]=(c[p>>2]|0)+-1;q=q+136|0;c[i+16>>2]=c[q>>2];c[q>>2]=i;break}while(0);if(r?(j|0)<((f|0)!=0|0):0)Vn(e,37603,L);if((j|0)<=0){O=55;break}}if((O|0)==5){c[A>>2]=j;c[A+4>>2]=h;c[A+8>>2]=g;Vn(e,37485,A)}else if((O|0)==7){c[G>>2]=f;Vn(e,37103,G)}else if((O|0)==9){c[M>>2]=f;Vn(e,37126,M)}else if((O|0)==11){c[N>>2]=f;Vn(e,37542,N)}else if((O|0)==55){l=P;return}l=P;return}function Vn(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;j=k;i=k+8|0;f=b+16|0;g=c[f>>2]|0;if(!g){l=k;return}c[f>>2]=g+-1;h=b+20|0;c[h>>2]=(c[h>>2]|0)+1;c[i>>2]=e;h=b+40|0;f=b+56|0;g=c[f>>2]|0;do if(g|0){e=g+1|0;if(e>>>0<(c[b+48>>2]|0)>>>0){c[f>>2]=e;a[(c[b+44>>2]|0)+g>>0]=10;break}else{Fc(h,37483,1);break}}while(0);f=c[b+28>>2]|0;if(f|0){e=c[b+36>>2]|0;c[j>>2]=c[b+32>>2];c[j+4>>2]=e;mf(h,f,j)}Cc(h,d,i);if((a[b+60>>0]|0)!=1){l=k;return}c[b+24>>2]=1;l=k;return}function Wn(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0;na=l;l=l+240|0;ga=na+208|0;da=na+200|0;V=na+192|0;U=na+168|0;T=na+160|0;S=na+136|0;R=na+128|0;Q=na+120|0;P=na+112|0;O=na+96|0;t=na+72|0;r=na+64|0;q=na+56|0;p=na+48|0;o=na+40|0;k=na+32|0;L=na+224|0;M=na+220|0;W=na+24|0;N=na;ha=W;c[ha>>2]=i;c[ha+4>>2]=j;ha=f+28|0;ia=c[ha>>2]|0;ja=f+32|0;ka=c[ja>>2]|0;la=f+36|0;ma=c[la>>2]|0;v=c[f>>2]|0;ea=c[v+36>>2]|0;if(!g){ma=0;l=na;return ma|0}if((c[f+12>>2]|0)>>>0>>0){c[k>>2]=g;Vn(f,37103,k);ma=0;l=na;return ma|0}k=(c[f+8>>2]|0)+(g>>>3)|0;m=d[k>>0]|0;n=1<<(g&7);if(m&n|0){c[o>>2]=g;Vn(f,37126,o);ma=0;l=na;return ma|0}a[k>>0]=m|n;c[ha>>2]=37151;c[ja>>2]=g;k=c[v>>2]|0;k=mb[c[k+200>>2]&255](k,g,L,0)|0;a:do if(!k){k=c[L>>2]|0;ca=c[k+8>>2]|0;m=ca+4|0;if((c[m>>2]|0)!=(g|0)){c[ca+56>>2]=c[k+4>>2];c[ca+72>>2]=k;c[ca+52>>2]=v;c[m>>2]=g;a[ca+9>>0]=(g|0)==1?100:0}K=a[ca>>0]|0;a[ca>>0]=0;k=$g(ca)|0;do if(!k){aa=c[ca+56>>2]|0;ba=d[ca+9>>0]|0;c[ha>>2]=37237;m=aa+(ba+5)|0;m=(d[m>>0]<<8|d[m+1>>0])+65535&65535;I=m+1|0;p=aa+(ba+3)|0;p=d[p>>0]<<8|d[p+1>>0];J=ca+8|0;H=a[J>>0]|0;X=ba+12-((H&255)<<2)|0;s=p+-1|0;q=aa+(X+(s<<1))|0;if(!(H<<24>>24)){o=aa+(ba+8)|0;o=d[o+1>>0]<<16|d[o>>0]<<24|d[o+2>>0]<<8|d[o+3>>0];if(a[v+17>>0]|0){c[ha>>2]=37263;k=vh(c[f>>2]|0,o,L,M)|0;b:do if((k|0)<7){switch(k|0){case 0:break;default:{fa=16;break b}}k=a[L>>0]|0;n=c[M>>2]|0;if(!(k<<24>>24==5&(n|0)==(g|0))){c[t>>2]=o;c[t+4>>2]=5;c[t+8>>2]=g;c[t+12>>2]=k&255;c[t+16>>2]=n;Vn(f,36215,t)}}else{if((k|0)<3082)switch(k|0){case 7:break;default:{fa=16;break b}}else switch(k|0){case 3082:break;default:{fa=16;break b}}c[f+24>>2]=1;fa=16}while(0);if((fa|0)==16){c[r>>2]=o;Vn(f,36186,r)}}k=Wn(f,o,W,i,j)|0;o=0;u=0}else{u=c[f+64>>2]|0;c[u>>2]=0;k=-1;o=1}G=f+16|0;H=(p|0)==0;if(!H){z=ea+-4|0;A=ca+80|0;B=N+18|0;C=ca+2|0;D=N+12|0;E=N+16|0;F=ea+-5|0;x=v+17|0;y=f+24|0;w=s;n=1;v=q;while(1){if(!(c[G>>2]|0))break;c[la>>2]=w;j=d[v>>0]<<8|d[v+1>>0];v=v+-2|0;c:do if(j>>>0>>0|j>>>0>z>>>0){c[O>>2]=j;c[O+4>>2]=I;c[O+8>>2]=z;Vn(f,37291,O);n=0}else{t=aa+j|0;rb[c[A>>2]&255](ca,t,N);if(((e[B>>1]|0)+j|0)>>>0>ea>>>0){Vn(f,37321,P);n=0;break}if(a[C>>0]|0){i=N;p=c[i>>2]|0;i=c[i+4>>2]|0;r=W;q=c[r>>2]|0;r=c[r+4>>2]|0;if(!o)if((i|0)<(r|0)|(i|0)==(r|0)&p>>>0>>0)o=i;else fa=34;else if((i|0)>(r|0)|(i|0)==(r|0)&p>>>0>q>>>0)fa=34;else o=i;if((fa|0)==34){fa=0;o=Q;c[o>>2]=p;c[o+4>>2]=i;Vn(f,37345,Q);o=N;p=c[o>>2]|0;o=c[o+4>>2]|0}i=W;c[i>>2]=p;c[i+4>>2]=o;o=0}p=c[D>>2]|0;q=e[E>>1]|0;if(p>>>0>q>>>0){r=((F+p-q|0)>>>0)/(z>>>0)|0;i=t+((e[B>>1]|0)+-4)|0;i=d[i+1>>0]<<16|d[i>>0]<<24|d[i+2>>0]<<8|d[i+3>>0];if(a[x>>0]|0){p=vh(c[f>>2]|0,i,L,M)|0;d:do if((p|0)<7){switch(p|0){case 0:break;default:{fa=40;break d}}p=a[L>>0]|0;q=c[M>>2]|0;if(p<<24>>24==3&(q|0)==(g|0))break;c[S>>2]=i;c[S+4>>2]=3;c[S+8>>2]=g;c[S+12>>2]=p&255;c[S+16>>2]=q;Vn(f,36215,S)}else{if((p|0)<3082)switch(p|0){case 7:break;default:{fa=40;break d}}else switch(p|0){case 3082:break;default:{fa=40;break d}}c[y>>2]=1;fa=40}while(0);if((fa|0)==40){fa=0;c[R>>2]=i;Vn(f,36186,R)}}Un(f,0,i,r)}if(a[J>>0]|0){q=j+-1+(e[B>>1]|0)|j<<16;p=(c[u>>2]|0)+1|0;c[u>>2]=p;c[u+(p<<2)>>2]=q;r=p>>>1;if(!r)break;i=u+(r<<2)|0;j=c[i>>2]|0;if(j>>>0<=q>>>0)break;while(1){c[i>>2]=q;c[u+(p<<2)>>2]=j;p=r>>>1;if(!p)break c;q=c[i>>2]|0;i=u+(p<<2)|0;j=c[i>>2]|0;if(j>>>0<=q>>>0)break c;else{t=r;r=p;p=t}}}q=d[t+1>>0]<<16|d[t>>0]<<24|d[t+2>>0]<<8|d[t+3>>0];if(a[x>>0]|0){o=vh(c[f>>2]|0,q,L,M)|0;e:do if((o|0)<7){switch(o|0){case 0:break;default:{fa=49;break e}}o=a[L>>0]|0;p=c[M>>2]|0;if(o<<24>>24==5&(p|0)==(g|0))break;c[U>>2]=q;c[U+4>>2]=5;c[U+8>>2]=g;c[U+12>>2]=o&255;c[U+16>>2]=p;Vn(f,36215,U)}else{if((o|0)<3082)switch(o|0){case 7:break;default:{fa=49;break e}}else switch(o|0){case 3082:break;default:{fa=49;break e}}c[y>>2]=1;fa=49}while(0);if((fa|0)==49){fa=0;c[T>>2]=q;Vn(f,36186,T)}}o=W;o=Wn(f,q,W,c[o>>2]|0,c[o+4>>2]|0)|0;if((o|0)==(k|0)){o=0;break}Vn(f,37369,V);k=o;o=0}while(0);if((w|0)<=0)break;else w=w+-1|0}U=W;V=c[U+4>>2]|0;W=h;c[W>>2]=c[U>>2];c[W+4>>2]=V;c[ha>>2]=0;if(!n){a[ca>>0]=K;break}}else{U=W;V=c[U+4>>2]|0;W=h;c[W>>2]=c[U>>2];c[W+4>>2]=V;c[ha>>2]=0}f:do if((c[G>>2]|0)>0){if(!(a[J>>0]|0)){j=c[f+64>>2]|0;c[j>>2]=0;if(H)u=j;else{i=ca+76|0;while(1){o=aa+((s<<1)+X)|0;o=d[o>>0]<<8|d[o+1>>0];o=o+-1+((kb[c[i>>2]&255](ca,aa+o|0)|0)&65535)|o<<16;n=(c[j>>2]|0)+1|0;c[j>>2]=n;c[j+(n<<2)>>2]=o;p=n>>>1;g:do if(p|0?(Y=j+(p<<2)|0,Z=c[Y>>2]|0,Z>>>0>o>>>0):0){q=Y;r=Z;while(1){c[q>>2]=o;c[j+(n<<2)>>2]=r;n=p>>>1;if(!n)break g;o=c[q>>2]|0;q=j+(n<<2)|0;r=c[q>>2]|0;if(r>>>0<=o>>>0)break;else{W=p;p=n;n=W}}}while(0);if((s|0)>0)s=s+-1|0;else{u=j;break}}}}n=aa+(ba+1)|0;n=d[n>>0]<<8|d[n+1>>0];if(n|0)do{p=aa+(n+2)|0;p=n+-1+(d[p>>0]<<8|d[p+1>>0])|n<<16;o=(c[u>>2]|0)+1|0;c[u>>2]=o;c[u+(o<<2)>>2]=p;q=o>>>1;h:do if(q|0?(_=u+(q<<2)|0,$=c[_>>2]|0,$>>>0>p>>>0):0){r=_;s=$;while(1){c[r>>2]=p;c[u+(o<<2)>>2]=s;o=q>>>1;if(!o)break h;p=c[r>>2]|0;r=u+(o<<2)|0;s=c[r>>2]|0;if(s>>>0<=p>>>0)break;else{Z=q;q=o;o=Z}}}while(0);Z=aa+n|0;n=d[Z>>0]<<8|d[Z+1>>0]}while((n|0)!=0);o=c[u>>2]|0;i:do if(o){t=u+4|0;n=0;j=m;while(1){m=c[t>>2]|0;o=u+(o<<2)|0;c[t>>2]=c[o>>2];c[o>>2]=-1;o=(c[u>>2]|0)+-1|0;c[u>>2]=o;j:do if(o>>>0>=2){i=c[t>>2]|0;s=1;p=2;do{q=p|1;r=s;s=(c[u+(p<<2)>>2]|0)>>>0>(c[u+(q<<2)>>2]|0)>>>0?q:p;p=u+(s<<2)|0;q=c[p>>2]|0;if(i>>>0>>0)break j;c[u+(r<<2)>>2]=q;c[p>>2]=i;p=s<<1;o=c[u>>2]|0}while(p>>>0<=o>>>0)}while(0);p=j&65535;q=m>>>16;if(q>>>0<=p>>>0)break;n=((j|-65536)^65535)+n+q|0;if(!o){fa=82;break i}else j=m}c[da>>2]=q;c[da+4>>2]=g;Vn(f,37394,da);if(!(c[u>>2]|0))n=ea+-1+n-p|0;else break f}else{n=0;fa=82}while(0);if((fa|0)==82)n=ea+-1+n-(m&65535)|0;m=d[aa+(ba+7)>>0]|0;if((n|0)!=(m|0)){c[ga>>2]=n;c[ga+4>>2]=m;c[ga+8>>2]=g;Vn(f,37431,ga)}}while(0);if(!ca)break a}else{c[q>>2]=k;Vn(f,37199,q);k=-1}while(0);m=c[ca+72>>2]|0;if(!(b[m+28>>1]&32)){Kg(m);break}else{ga=c[m+20>>2]|0;g=ga+120|0;c[g>>2]=(c[g>>2]|0)+-1;ga=ga+136|0;c[m+16>>2]=c[ga>>2];c[ga>>2]=m;break}}else{c[p>>2]=k;Vn(f,37161,p);k=-1}while(0);c[ha>>2]=ia;c[ja>>2]=ka;c[la>>2]=ma;ma=k+1|0;l=na;return ma|0}function Xn(d){d=d|0;var f=0,g=0,h=0,i=0,j=0;i=c[d+32>>2]|0;j=d+8|0;if(!((b[j>>1]&9312)==0?!(c[d+24>>2]|0):0))af(d);do if(c[i+264>>2]|0)if(!(a[i+73>>0]|0))h=12;else f=0;else{if((e[i+268>>1]|0)>=64){g=i+292|0;f=c[g>>2]|0;if(f|0){c[g>>2]=c[f>>2];g=i+276|0;c[g>>2]=(c[g>>2]|0)+1;break}g=i+288|0;f=c[g>>2]|0;if(!f)f=2;else{c[g>>2]=c[f>>2];g=i+276|0;c[g>>2]=(c[g>>2]|0)+1;break}}else f=1;h=i+276+(f<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=12}while(0);if((h|0)==12)f=Ec(i,64,0)|0;g=d+20|0;c[g>>2]=f;if(a[i+73>>0]|0){b[j>>1]=1;c[d+24>>2]=0;return}h=f;if(h>>>0>=(c[i+296>>2]|0)>>>0?h>>>0<(c[i+300>>2]|0)>>>0:0)h=e[i+268>>1]|0;else{h=jb[c[64>>2]&255](f)|0;f=c[g>>2]|0}c[d+24>>2]=h;c[f>>2]=0;c[f+4>>2]=i;c[f+8>>2]=0;c[f+12>>2]=0;c[f+20>>2]=0;c[f+16>>2]=f+32;b[f+24>>1]=(h+1048544|0)>>>4;b[f+26>>1]=1;c[f+28>>2]=0;c[d>>2]=f;b[j>>1]=32;return}function Yn(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+176|0;n=p;o=p+16|0;Vt(o|0,0,160)|0;if(!a)a=0;else{m=n+8|0;b=0;while(1){k=a+8|0;d=a;a=c[k>>2]|0;c[k>>2]=0;if(!b)b=o;else{k=0;j=o;while(1){e=n;a:while(1){i=b;h=c[i>>2]|0;i=c[i+4>>2]|0;while(1){g=d;f=c[g>>2]|0;g=c[g+4>>2]|0;if(!((i|0)>(g|0)|(i|0)==(g|0)&h>>>0>f>>>0))break;c[e+8>>2]=d;e=c[d+8>>2]|0;if(!e)break a;else{g=d;d=e;e=g}}if((i|0)<(g|0)|(i|0)==(g|0)&h>>>0>>0){c[e+8>>2]=b;e=b}b=c[b+8>>2]|0;if(!b){b=d;d=e;break}}c[d+8>>2]=b;d=c[m>>2]|0;c[j>>2]=0;k=k+1|0;e=o+(k<<2)|0;b=c[e>>2]|0;if(!b){b=e;break}else j=e}}c[b>>2]=d;b=c[o>>2]|0;if(!a){a=b;break}}}j=n+8|0;i=1;do{b=c[o+(i<<2)>>2]|0;if(b)if(!a)a=b;else{d=n;b:while(1){h=a;g=c[h>>2]|0;h=c[h+4>>2]|0;while(1){f=b;e=c[f>>2]|0;f=c[f+4>>2]|0;if(!((h|0)>(f|0)|(h|0)==(f|0)&g>>>0>e>>>0))break;c[d+8>>2]=b;d=c[b+8>>2]|0;if(!d)break b;else{m=b;b=d;d=m}}if((h|0)<(f|0)|(h|0)==(f|0)&g>>>0>>0){c[d+8>>2]=a;d=a}a=c[a+8>>2]|0;if(!a){a=b;b=d;break}}c[b+8>>2]=a;a=c[j>>2]|0}i=i+1|0}while((i|0)!=40);l=p;return a|0}function Zn(a,b){a=a|0;b=b|0;var d=0,e=0;d=c[a>>2]|0;if(!d){a=0;return a|0}if((b|0)<=1){e=d+8|0;c[a>>2]=c[e>>2];c[e>>2]=0;c[d+12>>2]=0;a=d;return a|0}b=b+-1|0;d=Zn(a,b)|0;e=c[a>>2]|0;if(!e){a=d;return a|0}else{c[e+12>>2]=d;d=e+8|0;c[a>>2]=c[d>>2];c[d>>2]=Zn(a,b)|0;return e|0}return 0}function _n(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;g=l;l=l+16|0;e=g;f=c[a+12>>2]|0;if(!f)c[b>>2]=a;else{_n(f,b,e);c[(c[e>>2]|0)+8>>2]=a}e=a+8|0;b=c[e>>2]|0;if(!b){c[d>>2]=a;l=g;return}else{_n(b,e,d);l=g;return}}function $n(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=b+5|0;f=a[k>>0]|0;if(!(a[b+15>>0]|0))j=3;else switch(e|0){case 2:case 4:{j=3;break}default:{}}do if((j|0)==3?(g=f&255,(g|0)!=(e|0)):0){a[k>>0]=e;if(!((e&1|0)==0&((g&5|0)==1&(a[b+4>>0]|0)==0))){if((e|0)!=2)break;e=c[b+64>>2]|0;f=c[e>>2]|0;if(!f)break;jb[c[f+4>>2]&255](e)|0;c[e>>2]=0;break}e=c[b+64>>2]|0;f=c[e>>2]|0;if(f|0){jb[c[f+4>>2]&255](e)|0;c[e>>2]=0}i=b+17|0;if((d[i>>0]|0)>1){j=c[b>>2]|0;lb[c[j+28>>2]&255](j,c[b+172>>2]|0,0)|0;break}e=b+16|0;g=a[e>>0]|0;h=g<<24>>24==0;if(h){f=Gh(b)|0;e=a[e>>0]|0}else{f=0;e=g}a:do if(e<<24>>24==1){e=a[i>>0]|0;switch(e<<24>>24){case 0:case 1:case 5:break;default:{j=19;break a}}if(!(a[b+13>>0]|0)){f=c[b+60>>2]|0;if(kb[c[(c[f>>2]|0)+28>>2]&255](f,2)|0)break;e=a[i>>0]|0}if(e<<24>>24==5)j=19;else{a[i>>0]=2;j=19}}else if(!f)j=19;while(0);if((j|0)==19?(j=c[b>>2]|0,lb[c[j+28>>2]&255](j,c[b+172>>2]|0,0)|0,g<<24>>24==1):0){e=c[b+60>>2]|0;f=c[e>>2]|0;if(!f)break;if(!(a[b+13>>0]|0))kb[c[f+32>>2]&255](e,1)|0;if((a[i>>0]|0)==5)break;a[i>>0]=1;break}if(h)sg(b)}while(0);return d[k>>0]|0}function ao(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+16|0;e=h;d=si(a,d,-1,128,0,e,0)|0;if(d|0){b=d;l=h;return b|0}g=c[e>>2]|0;d=qi(g)|0;a:do if((d|0)==100)do{d=fl(g,0)|0;if(d|0?(f=ao(a,b,d)|0,f|0):0){d=f;break a}d=qi(g)|0}while((d|0)==100);while(0);d=(d|0)==101?0:d;if(d|0){e=gl(a)|0;f=c[b>>2]|0;do if(f|0){if(a|0){if(c[a+464>>2]|0){Lc(a,f);break}i=f;if(i>>>0>=(c[a+296>>2]|0)>>>0?i>>>0<(c[a+300>>2]|0)>>>0:0){i=a+292|0;c[f>>2]=c[i>>2];c[i>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{i=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[b>>2]=kg(a,e)|0}Qh(g)|0;i=d;l=h;return i|0}function bo(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+112|0;m=o+16|0;p=o;c[p>>2]=f;h=c[b+100>>2]|0;j=m+4|0;c[j>>2]=o+40;c[m>>2]=b;c[m+8>>2]=70;g=m+12|0;c[g>>2]=h;h=m+16|0;c[h>>2]=0;k=m+20|0;a[k>>0]=0;i=m+21|0;a[i>>0]=1;Cc(m,e,p);f=c[j>>2]|0;if(((f|0)!=0?(a[f+(c[h>>2]|0)>>0]=0,(c[g>>2]|0)!=0):0)?(a[i>>0]&4)==0:0)g=Dc(m)|0;else g=c[j>>2]|0;if(((a[k>>0]|0)==1?(n=b+73|0,(a[n>>0]|0)==0):0)?(a[b+74>>0]|0)==0:0){a[n>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;p=b+264|0;c[p>>2]=(c[p>>2]|0)+1}if(!g){p=7;l=o;return p|0}f=ao(b,d,g)|0;if(c[b+464>>2]|0){Lc(b,g);p=f;l=o;return p|0}p=g;if(p>>>0>=(c[b+296>>2]|0)>>>0?p>>>0<(c[b+300>>2]|0)>>>0:0){p=b+292|0;c[g>>2]=c[p>>2];c[p>>2]=g;p=f;l=o;return p|0}if(!(c[2]|0)){pb[c[56>>2]&255](g);p=f;l=o;return p|0}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);p=f;l=o;return p|0}return 0}function co(f,g){f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;O=l;l=l+224|0;E=O+80|0;D=O+72|0;G=O+64|0;F=O+56|0;C=O+48|0;B=O+40|0;x=O+116|0;y=O+112|0;L=O+88|0;z=O;i=O+120|0;c[y>>2]=0;A=c[f>>2]|0;K=c[A+100>>2]|0;M=L+4|0;c[M>>2]=i;c[L>>2]=0;H=L+8|0;c[H>>2]=100;J=L+12|0;c[J>>2]=K;K=L+16|0;c[K>>2]=0;I=L+20|0;a[I>>0]=0;N=L+21|0;a[N>>0]=0;a:do if((c[A+172>>2]|0)>1){f=a[g>>0]|0;if(f<<24>>24)while(1){k=g;do{k=k+1|0;if(f<<24>>24==10)break;f=a[k>>0]|0}while(f<<24>>24!=0);f=c[K>>2]|0;i=f+3|0;if(i>>>0<(c[H>>2]|0)>>>0){c[K>>2]=i;G=(c[M>>2]|0)+f|0;a[G>>0]=a[37069]|0;a[G+1>>0]=a[37070]|0;a[G+2>>0]=a[37071]|0}else Fc(L,37069,3);f=k-g|0;i=c[K>>2]|0;j=i+f|0;if(j>>>0<(c[H>>2]|0)>>>0){if(f|0){c[K>>2]=j;Tt((c[M>>2]|0)+i|0,g|0,f|0)|0}}else Fc(L,g,f);f=a[k>>0]|0;if(!(f<<24>>24))break;else g=k}}else{if(!(b[f+16>>1]|0)){if(!g)break;f=(As(g)|0)&1073741823;if(f>>>0>=100){Fc(L,g,f);break}if(!f)break;c[K>>2]=f;Tt(i|0,g|0,f|0)|0;break}if(a[g>>0]|0){p=f+116|0;q=A+70|0;r=z+32|0;s=z+8|0;t=z+12|0;u=z+16|0;v=z+24|0;w=z+10|0;o=f+120|0;n=1;do{f=0;i=g;while(1){j=Ef(i,x)|0;if((c[x>>2]|0)==135){m=j;break}f=j+f|0;i=i+j|0;if(!(a[i>>0]|0)){m=0;break}}i=c[K>>2]|0;j=i+f|0;if(j>>>0<(c[H>>2]|0)>>>0){if(f|0){c[K>>2]=j;Tt((c[M>>2]|0)+i|0,g|0,f|0)|0}}else Fc(L,g,f);g=g+f|0;if(!m)break a;do if((a[g>>0]|0)==63)if((m|0)>1){Pd(g+1|0,y)|0;f=c[y>>2]|0;break}else{c[y>>2]=n;f=n;break}else{j=c[o>>2]|0;b:do if(!j)f=0;else{k=c[j+4>>2]|0;f=2;while(1){i=j+(f+2<<2)|0;if((Ms(i,g,m)|0)==0?(a[i+m>>0]|0)==0:0)break;f=(c[j+(f+1<<2)>>2]|0)+f|0;if((f|0)>=(k|0)){f=0;break b}}f=c[j+(f<<2)>>2]|0}while(0);c[y>>2]=f}while(0);g=g+m|0;n=f+1|0;m=c[p>>2]|0;k=f+-1|0;f=m+(k*40|0)|0;i=e[m+(k*40|0)+8>>1]|0;do if(!(i&1)){if(i&4|0){j=f;k=c[j+4>>2]|0;m=B;c[m>>2]=c[j>>2];c[m+4>>2]=k;mf(L,19366,B);break}if(i&8|0){h[C>>3]=+h[f>>3];mf(L,19085,C);break}if(i&2|0){f=a[q>>0]|0;if(f<<24>>24==1){j=c[m+(k*40|0)+16>>2]|0;c[G>>2]=c[m+(k*40|0)+12>>2];c[G+4>>2]=j;mf(L,37073,G);break}i=z;j=i+40|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));c[r>>2]=A;Ve(z,c[m+(k*40|0)+16>>2]|0,c[m+(k*40|0)+12>>2]|0,f,0)|0;if(!((b[s>>1]&2)==0|(a[w>>0]|0)==1)?(Of(z,1)|0)==7:0){a[I>>0]=1;c[H>>2]=0}m=c[u>>2]|0;c[F>>2]=c[t>>2];c[F+4>>2]=m;mf(L,37073,F);if((b[s>>1]&9312)==0&(c[v>>2]|0)==0)break;af(z);break}if(i&16384|0){c[D>>2]=c[f>>2];mf(L,37080,D);break}f=c[K>>2]|0;i=f+2|0;if(i>>>0<(c[H>>2]|0)>>>0){c[K>>2]=i;j=(c[M>>2]|0)+f|0;a[j>>0]=120;a[j+1>>0]=39}else Fc(L,37093,2);j=c[m+(k*40|0)+12>>2]|0;if((j|0)>0){i=m+(k*40|0)+16|0;f=0;do{c[E>>2]=d[(c[i>>2]|0)+f>>0];mf(L,37096,E);f=f+1|0}while((f|0)!=(j|0))}f=c[K>>2]|0;i=f+1|0;if(i>>>0<(c[H>>2]|0)>>>0){c[K>>2]=i;a[(c[M>>2]|0)+f>>0]=39;break}else{Fc(L,37101,1);break}}else{f=c[K>>2]|0;i=f+4|0;if(i>>>0<(c[H>>2]|0)>>>0){c[K>>2]=i;m=(c[M>>2]|0)+f|0;a[m>>0]=78;a[m+1>>0]=85;a[m+2>>0]=76;a[m+3>>0]=76;break}else{Fc(L,17306,4);break}}while(0)}while((a[g>>0]|0)!=0)}}while(0);if(!(a[I>>0]|0)){f=c[M>>2]|0;if((f|0?(a[f+(c[K>>2]|0)>>0]=0,c[J>>2]|0):0)?(a[N>>0]&4)==0:0){N=Dc(L)|0;l=O;return N|0}}else{if(a[N>>0]&4){f=c[L>>2]|0;i=c[M>>2]|0;do if(i|0){if(f|0){if(c[f+464>>2]|0){Lc(f,i);break}L=i;if(L>>>0>=(c[f+296>>2]|0)>>>0?L>>>0<(c[f+300>>2]|0)>>>0:0){L=f+292|0;c[i>>2]=c[L>>2];c[L>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{L=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);a[N>>0]=a[N>>0]&-5}c[M>>2]=0}N=c[M>>2]|0;l=O;return N|0}function eo(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+64|0;t=u+32|0;s=u+16|0;i=u;p=u+48|0;q=u+44|0;rb[c[f+80>>2]&255](f,g,h);k=e[h+16>>1]|0;j=c[h+12>>2]|0;if((j|0)==(k|0)){t=0;l=u;return t|0}g=g+(e[h+18>>1]|0)|0;if((g+-1|0)>>>0>((c[f+56>>2]|0)+(e[f+24>>1]|0)|0)>>>0){c[i>>2]=21258;c[i+4>>2]=66235;c[i+8>>2]=17052;Bc(11,17e3,i);t=11;l=u;return t|0}i=g+-4|0;o=c[f+52>>2]|0;f=(c[o+36>>2]|0)+-4|0;n=o+44|0;j=((j+~k+f|0)>>>0)/(f>>>0)|0;i=d[i+1>>0]<<16|d[i>>0]<<24|d[i+2>>0]<<8|d[i+3>>0];while(1){if(!j){g=0;m=30;break}j=j+-1|0;c[p>>2]=0;c[q>>2]=0;if(i>>>0<2){m=8;break}if(i>>>0>(c[n>>2]|0)>>>0){m=8;break}if(j){g=Ch(o,i,q,p)|0;if(g|0)break;g=c[q>>2]|0;if(g)m=20;else m=12}else m=12;a:do if((m|0)==12){g=(c[o>>2]|0)+208|0;f=lb[c[148>>2]&255](c[(c[g>>2]|0)+44>>2]|0,i,0)|0;do if(f|0){g=c[g>>2]|0;h=c[f+4>>2]|0;if(!(c[h>>2]|0)){g=Ig(g,i,f)|0;if(!g)break;else h=g}else{m=g+12|0;c[m>>2]=(c[m>>2]|0)+1;m=h+30|0;b[m>>1]=(b[m>>1]|0)+1<<16>>16}g=c[h+8>>2]|0;f=g+4|0;if((c[f>>2]|0)==(i|0)){c[q>>2]=g;if(!g){m=22;break a}else{m=20;break a}}else{c[g+56>>2]=c[h+4>>2];c[g+72>>2]=h;c[g+52>>2]=o;c[f>>2]=i;a[g+9>>0]=0;c[q>>2]=g;m=20;break a}}while(0);c[q>>2]=0;g=0;m=22}while(0);if((m|0)==20){m=0;if((b[(c[g+72>>2]|0)+30>>1]|0)==1)m=22;else{c[t>>2]=21258;c[t+4>>2]=66272;c[t+8>>2]=17052;Bc(11,17e3,t);g=11}}if((m|0)==22){m=0;g=Tn(o,g,i)|0}h=c[q>>2]|0;do if(h|0?(r=c[h+72>>2]|0,r|0):0)if(!(b[r+28>>1]&32)){Kg(r);break}else{k=c[r+20>>2]|0;i=k+120|0;c[i>>2]=(c[i>>2]|0)+-1;k=k+136|0;c[r+16>>2]=c[k>>2];c[k>>2]=r;break}while(0);if(g|0){m=30;break}else i=c[p>>2]|0}if((m|0)==8){c[s>>2]=21258;c[s+4>>2]=66252;c[s+8>>2]=17052;Bc(11,17e3,s);g=11}else if((m|0)==30){l=u;return g|0}t=g;l=u;return t|0}function fo(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;i=l;l=l+16|0;g=i;f=g;c[f>>2]=0;c[f+4>>2]=0;f=a;d=c[f+4>>2]|0;h=a+8|0;e=c[h+4>>2]|0;do if(!((d|0)<(e|0)|((d|0)==(e|0)?(c[f>>2]|0)>>>0<(c[h>>2]|0)>>>0:0))){h=a+48|0;b=c[h>>2]|0;if(b){e=go(b)|0;j=b+32|0;f=b+48|0;c[j>>2]=c[f>>2];c[j+4>>2]=c[f+4>>2];c[j+8>>2]=c[f+8>>2];c[j+12>>2]=c[f+12>>2];j=b+40|0;f=b+8|0;d=c[f>>2]|0;f=c[f+4>>2]|0;if((c[j>>2]|0)==(d|0)?(c[j+4>>2]|0)==(f|0):0)c[b+20>>2]=1;if(!e)if(!(c[b+20>>2]|0)){b=ho(c[b>>2]|0,a,b+32|0,d,f)|0;if(!b)break;l=i;return b|0}else e=0}else e=0;b=c[a+28>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{j=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+36>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{j=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);$h(c[h>>2]|0);b=a;d=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));j=e;l=i;return j|0}while(0);b=io(a,g)|0;if(b|0){j=b;l=i;return j|0}j=c[g>>2]|0;c[a+20>>2]=j;j=jo(a,j,a+32|0)|0;l=i;return j|0}function go(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+16|0;y=G+4|0;B=G;D=b+8|0;C=c[D>>2]|0;D=c[D+4>>2]|0;A=b+4|0;j=c[A>>2]|0;i=c[b+48>>2]|0;h=c[(c[(c[b>>2]|0)+8>>2]|0)+12>>2]|0;g=((h|0)<0)<<31>>31;E=Ft(h|0,g|0,-1,-1)|0;x=z;do if(x>>>0>0|(x|0)==0&E>>>0>2147483390){d=7;E=0;w=0;e=0;x=0;h=0;f=0}else{if(!(c[2]|0)){d=jb[c[52>>2]&255](h)|0;if(!d){d=7;E=0;w=0;e=0;x=0;h=0;f=0;break}else e=d}else{d=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){x=c[11822]|0;E=Gt(e|0,f|0,d|0,((d|0)<0)<<31>>31|0)|0;w=z;c[11616]=(0>(w|0)|0==(w|0)&x>>>0>=E>>>0)&1}e=jb[c[52>>2]&255](d)|0;if(!e){d=7;E=0;w=0;e=0;x=0;h=0;f=0;break}d=jb[c[64>>2]&255](e)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}x=Mt(C|0,D|0,h|0,g|0)|0;f=Gt(C|0,D|0,x|0,((x|0)<0)<<31>>31|0)|0;d=0;E=e;w=h;e=x;x=i;h=f;f=z}while(0);v=j+12|0;r=j+8|0;s=b+16|0;t=((w|0)<0)<<31>>31;u=y+1|0;j=e;i=e;while(1){o=c[v>>2]|0;p=c[(c[r>>2]|0)+4>>2]|0;q=c[o+(p*56|0)+20>>2]|0;if(!(c[o+(p*56|0)+24>>2]|0)){F=34;break}g=((i|0)<0)<<31>>31;k=((q|0)<0)<<31>>31;e=1;m=q;n=k;while(1){m=Qt(m|0,n|0,7)|0;n=z;if((m|0)==0&(n|0)==0)break;else e=e+1|0}m=Ft(i|0,g|0,h|0,f|0)|0;m=Ft(m|0,z|0,q|0,k|0)|0;m=Ft(m|0,z|0,e|0,((e|0)<0)<<31>>31|0)|0;e=z;n=c[s>>2]|0;n=Ft(n|0,((n|0)<0)<<31>>31|0,C|0,D|0)|0;g=z;if((e|0)>(g|0)|(e|0)==(g|0)&m>>>0>n>>>0){F=34;break}do if(q>>>0>=128)if(q>>>0>=16384){e=Gn(y,q,k)|0;if((e|0)>0){F=24;break}else break}else{e=Qt(q|0,k|0,7)|0;a[y>>0]=e&255|-128;e=2;g=u;F=23;break}else{e=1;g=y;F=23}while(0);if((F|0)==23){a[g>>0]=q&127;F=24}a:do if((F|0)==24){F=0;k=e;do{if(d|0)break a;g=w-i|0;g=(k|0)>(g|0)?g:k;Tt(E+i|0,y+(e-k)|0,g|0)|0;i=g+i|0;if((i|0)==(w|0)){m=Ft(h|0,f|0,w|0,t|0)|0;n=z;d=Ft(j|0,((j|0)<0)<<31>>31|0,h|0,f|0)|0;d=nb[c[(c[x>>2]|0)+12>>2]&255](x,E+j|0,w-j|0,d,z)|0;j=0;i=0;h=m;f=n}else d=0;k=k-g|0}while((k|0)>0)}while(0);k=c[o+(p*56|0)+32>>2]|0;b:do if((q|0)>0){g=q;do{if(d|0)break b;e=w-i|0;e=(g|0)>(e|0)?e:g;Tt(E+i|0,k+(q-g)|0,e|0)|0;i=e+i|0;if((i|0)==(w|0)){o=Ft(h|0,f|0,w|0,t|0)|0;p=z;d=Ft(j|0,((j|0)<0)<<31>>31|0,h|0,f|0)|0;d=nb[c[(c[x>>2]|0)+12>>2]&255](x,E+j|0,w-j|0,d,z)|0;j=0;i=0;h=o;f=p}else d=0;g=g-e|0}while((g|0)>0)}while(0);e=Rn(c[A>>2]|0,B)|0;if(e){k=e;g=0;break}}if((F|0)==34){k=0;g=1}e=b+56|0;if(d){b=Ft(i|0,((i|0)<0)<<31>>31|0,h|0,f|0)|0;F=e;c[F>>2]=b;c[F+4>>2]=z;if(!E){F=d;F=g?F:k;l=G;return F|0}}else{if(!E){b=Ft(i|0,((i|0)<0)<<31>>31|0,h|0,f|0)|0;F=e;c[F>>2]=b;c[F+4>>2]=z;F=0;F=g?F:k;l=G;return F|0}if((i|0)>(j|0)){d=Ft(h|0,f|0,j|0,((j|0)<0)<<31>>31|0)|0;d=nb[c[(c[x>>2]|0)+12>>2]&255](x,E+j|0,i-j|0,d,z)|0}else d=0;b=Ft(i|0,((i|0)<0)<<31>>31|0,h|0,f|0)|0;F=e;c[F>>2]=b;c[F+4>>2]=z}if(!(c[2]|0)){pb[c[56>>2]&255](E);F=d;F=g?F:k;l=G;return F|0}else{F=jb[c[64>>2]&255](E)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](E);F=d;F=g?F:k;l=G;return F|0}return 0}function ho(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;g=c[67]|0;if(g|0?jb[g&255](201)|0:0){b=266;return b|0}h=b+44|0;if(c[h>>2]|0)c[h>>2]=0;n=b;c[n>>2]=e;c[n+4>>2]=f;n=d+8|0;l=c[n>>2]|0;n=c[n+4>>2]|0;k=b+8|0;i=k;c[i>>2]=l;c[i+4>>2]=n;i=c[d>>2]|0;j=b+24|0;c[j>>2]=i;d=a+8|0;g=c[d>>2]|0;a=c[(c[g+24>>2]|0)+148>>2]|0;m=((a|0)<0)<<31>>31;if(!((n|0)>(m|0)|(n|0)==(m|0)&l>>>0>a>>>0)?(c[c[i>>2]>>2]|0)>2:0){c[h>>2]=0;g=c[d>>2]|0}i=c[g+12>>2]|0;d=((i|0)<0)<<31>>31;e=Mt(e|0,f|0,i|0,d|0)|0;h=b+36|0;g=c[h>>2]|0;if(!g){n=Ft(i|0,d|0,-1,-1)|0;m=z;do if(!(m>>>0>0|(m|0)==0&n>>>0>2147483390)){if(!(c[2]|0)){g=jb[c[52>>2]&255](i)|0;break}g=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;a=46456;d=c[a>>2]|0;a=c[a+4>>2]|0;if((a|0)>0|(a|0)==0&d>>>0>0){m=c[11822]|0;n=Gt(d|0,a|0,g|0,((g|0)<0)<<31>>31|0)|0;l=z;c[11616]=(0>(l|0)|0==(l|0)&m>>>0>=n>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){d=jb[c[64>>2]&255](g)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}else g=0}else g=0;while(0);c[h>>2]=g;c[b+40>>2]=i;d=(g|0)==0?7:0}else d=0;if(!((e|0)!=0&(d|0)==0)){n=d;return n|0}l=i-e|0;n=b;m=c[n>>2]|0;n=c[n+4>>2]|0;i=Ft(m|0,n|0,l|0,((l|0)<0)<<31>>31|0)|0;h=z;f=k;k=c[f>>2]|0;f=c[f+4>>2]|0;b=Gt(k|0,f|0,m|0,n|0)|0;j=c[j>>2]|0;n=nb[c[(c[j>>2]|0)+8>>2]&255](j,g+e|0,(h|0)>(f|0)|(h|0)==(f|0)&i>>>0>k>>>0?b:l,m,n)|0;return n|0}function io(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+32|0;i=j+8|0;h=j;e=c[b+44>>2]|0;f=b;g=c[f>>2]|0;do if(!e){k=c[b+40>>2]|0;e=Mt(g|0,c[f+4>>2]|0,k|0,((k|0)<0)<<31>>31|0)|0;if((e|0)!=0&(k-e|0)>8){e=(c[b+36>>2]|0)+e|0;break}e=0;while(1){g=jo(b,1,h)|0;if(g|0){f=9;break}k=a[c[h>>2]>>0]|0;a[i+(e&15)>>0]=k;if(k<<24>>24<0)e=e+1|0;else{f=8;break}}if((f|0)==8){gh(i,d)|0;k=0;l=j;return k|0}else if((f|0)==9){k=g;l=j;return k|0}}else e=e+g|0;while(0);d=(gh(e,d)|0)&255;k=b;d=Ft(c[k>>2]|0,c[k+4>>2]|0,d|0,0)|0;k=b;c[k>>2]=d;c[k+4>>2]=z;k=0;l=j;return k|0}function jo(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;n=l;l=l+16|0;m=n;e=c[a+44>>2]|0;g=a;h=c[g>>2]|0;g=c[g+4>>2]|0;if(e|0){c[d>>2]=e+h;d=Ft(h|0,g|0,b|0,((b|0)<0)<<31>>31|0)|0;m=a;c[m>>2]=d;c[m+4>>2]=z;m=0;l=n;return m|0}k=a+40|0;e=c[k>>2]|0;f=((e|0)<0)<<31>>31;j=Mt(h|0,g|0,e|0,f|0)|0;do if(!j){i=a+8|0;i=Gt(c[i>>2]|0,c[i+4>>2]|0,h|0,g|0)|0;o=z;p=c[a+24>>2]|0;e=nb[c[(c[p>>2]|0)+8>>2]&255](p,c[a+36>>2]|0,(o|0)>(f|0)|(o|0)==(f|0)&i>>>0>e>>>0?e:i,h,g)|0;if(!e){e=c[k>>2]|0;break}else{p=e;l=n;return p|0}}while(0);i=e-j|0;if((i|0)>=(b|0)){c[d>>2]=(c[a+36>>2]|0)+j;o=a;o=Ft(c[o>>2]|0,c[o+4>>2]|0,b|0,((b|0)<0)<<31>>31|0)|0;p=a;c[p>>2]=o;c[p+4>>2]=z;p=0;l=n;return p|0}h=a+16|0;e=c[h>>2]|0;do if((e|0)<(b|0)){f=e<<1;f=(f|0)>128?f:128;while(1)if((f|0)<(b|0))f=f<<1;else break;g=a+28|0;e=Oc(c[g>>2]|0,f,((f|0)<0)<<31>>31)|0;if(!e){p=7;l=n;return p|0}else{c[h>>2]=f;c[g>>2]=e;h=g;break}}else{e=a+28|0;h=e;e=c[e>>2]|0}while(0);Tt(e|0,(c[a+36>>2]|0)+j|0,i|0)|0;p=a;p=Ft(c[p>>2]|0,c[p+4>>2]|0,i|0,((i|0)<0)<<31>>31|0)|0;e=a;c[e>>2]=p;c[e+4>>2]=z;e=b-i|0;a:do if((e|0)>0){while(1){f=c[k>>2]|0;f=(e|0)>(f|0)?f:e;g=jo(a,f,m)|0;if(g|0)break;Tt((c[h>>2]|0)+(b-e)|0,c[m>>2]|0,f|0)|0;e=e-f|0;if((e|0)<=0)break a}p=g;l=n;return p|0}while(0);c[d>>2]=c[h>>2];p=0;l=n;return p|0}function ko(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;k=l;l=l+16|0;j=k+8|0;i=k;d=c[67]|0;if(d|0?jb[d&255](202)|0:0){j=3338;l=k;return j|0}g=c[a>>2]|0;f=c[g+4>>2]|0;e=Ft(f|0,((f|0)<0)<<31>>31|0,-1,-1)|0;d=z;do if(!(d>>>0>0|(d|0)==0&e>>>0>2147483390)){if(!(c[2]|0)){a=jb[c[52>>2]&255](f)|0;if(!a){a=7;break}else h=14}else{a=jb[c[68>>2]&255](f)|0;if((c[11829]|0)>>>0>>0)c[11829]=f;e=46456;d=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&d>>>0>0){m=c[11822]|0;e=Gt(d|0,e|0,a|0,((a|0)<0)<<31>>31|0)|0;d=z;c[11616]=(0>(d|0)|0==(d|0)&m>>>0>=e>>>0)&1}a=jb[c[52>>2]&255](a)|0;if(!a){a=7;break}d=jb[c[64>>2]&255](a)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0){c[11831]=d;Vt(a|0,0,f|0)|0;d=a}else h=14}if((h|0)==14){Vt(a|0,0,f|0)|0;d=a}a=nb[c[g+24>>2]&255](g,0,d,4126,j)|0;if(!a){c[b>>2]=d;c[j>>2]=0;m=i;c[m>>2]=0;c[m+4>>2]=0;lb[c[(c[d>>2]|0)+40>>2]&255](d,18,i)|0;m=c[j>>2]|0;l=k;return m|0}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{m=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}else a=7;while(0);c[j>>2]=a;m=a;l=k;return m|0}function lo(b,f,g,h,i,j){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;q=t;s=g+(d[g>>0]|0)|0;r=i+(d[i>>0]|0)|0;k=g+1|0;p=a[k>>0]|0;m=p&255;do if(p<<24>>24<=-1){n=d[g+2>>0]|0;if(!(n&128)){p=n|m<<7&16256;break}o=d[g+3>>0]|0;if(!(o&128)){p=(o|m<<14)&2080895|n<<7&16256;break}else{gh(k,q)|0;o=q;p=c[o>>2]|0;p=((p|0)==(p|0)?0==(c[o+4>>2]|0):0)?p:-1;break}}else p=m;while(0);m=i+1|0;o=a[m>>0]|0;k=o&255;do if(o<<24>>24<=-1){n=d[i+2>>0]|0;if(!(n&128)){k=n|k<<7&16256;break}o=d[i+3>>0]|0;if(!(o&128)){k=(o|k<<14)&2080895|n<<7&16256;break}else{gh(m,q)|0;k=c[q>>2]|0;k=((k|0)==(k|0)?0==(c[q+4>>2]|0):0)?k:-1;break}}while(0);m=Bs(s,r,(((p|0)<(k|0)?p:k)+-13|0)/2|0)|0;n=p-k|0;if(!m){k=c[(c[b+8>>2]|0)+28>>2]|0;if(!n){if((e[k+6>>1]|0)<=1){j=0;l=t;return j|0}m=c[b+12>>2]|0;if(!(c[f>>2]|0)){Sm(k,j,i,m);c[f>>2]=1}j=Zm(h,g,m,1)|0;l=t;return j|0}else m=n}else k=c[(c[b+8>>2]|0)+28>>2]|0;j=(a[c[k+16>>2]>>0]|0)==0?m:0-m|0;l=t;return j|0}function mo(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=c[a+12>>2]|0;if(!(c[b>>2]|0)){Sm(c[(c[a+8>>2]|0)+28>>2]|0,g,f,h);c[b>>2]=1}return Zm(e,d,h,0)|0}function no(b,f,g,h,i,j){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=a[g+1>>0]|0;o=k&255;l=a[i+1>>0]|0;p=g+(d[g>>0]|0)|0;q=i+(d[i>>0]|0)|0;a:do if(k<<24>>24!=l<<24>>24){m=(k&255)>7;n=(l&255)>7;k=o-(l&255)|0;do if(!(m&n)){k=n?1:m?-1:k;if((k|0)<=0)if((a[q>>0]|0)<0){k=1;r=11;break a}else break;else{k=(a[p>>0]|0)<0?-1:k;break}}while(0);l=c[(c[b+8>>2]|0)+28>>2]|0;if(k){j=k;i=l;i=i+16|0;i=c[i>>2]|0;i=a[i>>0]|0;i=i<<24>>24==0;r=0-j|0;r=i?j:r;return r|0}}else{m=d[37642+o>>0]|0;b:do if((o+-1|0)>>>0<6){k=0;while(1){l=(d[p+k>>0]|0)-(d[q+k>>0]|0)|0;k=k+1|0;if(l|0)break;if((k|0)>=(m|0))break b}k=a[p>>0]|0;k=(a[q>>0]^k)<<24>>24<0?(k<<24>>24<0?-1:1):l;r=11;break a}while(0);l=c[(c[b+8>>2]|0)+28>>2]|0}while(0);if((r|0)==11){j=k;i=c[(c[b+8>>2]|0)+28>>2]|0;i=i+16|0;i=c[i>>2]|0;i=a[i>>0]|0;i=i<<24>>24==0;r=0-j|0;r=i?j:r;return r|0}if((e[l+6>>1]|0)<=1){r=0;return r|0}k=c[b+12>>2]|0;if(!(c[f>>2]|0)){Sm(l,j,i,k);c[f>>2]=1}r=Zm(h,g,k,1)|0;return r|0}function oo(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;k=r;if(c[i>>2]|0){l=r;return}q=c[f+56>>2]|0;m=(c[f+64>>2]|0)+(g<<1)|0;j=(d[m>>0]|0)<<8|(d[m+1>>0]|0);n=f+9|0;o=d[n>>0]|0;p=f+52|0;if((j+h|0)>>>0>(c[(c[p>>2]|0)+36>>2]|0)>>>0){c[k>>2]=21258;c[k+4>>2]=66507;c[k+8>>2]=17052;Bc(11,17e3,k);c[i>>2]=11;l=r;return}j=wo(f,j&65535,h&65535)|0;if(j|0){c[i>>2]=j;l=r;return}j=f+22|0;h=(b[j>>1]|0)+-1<<16>>16;b[j>>1]=h;if(!(h<<16>>16)){m=q+(o+1)|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[q+(o+7)>>0]=0;q=q+(o+5)|0;a[q>>0]=(c[(c[p>>2]|0)+36>>2]|0)>>>8;a[q+1>>0]=c[(c[p>>2]|0)+36>>2];b[f+20>>1]=(c[(c[p>>2]|0)+36>>2]|0)+65528-(d[n>>0]|0)-(d[f+10>>0]|0);l=r;return}else{Ut(m|0,m+2|0,(h&65535)-g<<1|0)|0;q=q+(o+3)|0;a[q>>0]=(e[j>>1]|0)>>>8;a[q+1>>0]=b[j>>1];q=f+20|0;b[q>>1]=(e[q>>1]|0)+2;l=r;return}}function po(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0;B=l;l=l+48|0;t=B+24|0;A=B;o=f+12|0;if((a[o>>0]|0)==0?(y=i+2|0,z=f+20|0,(y|0)<=(e[z>>1]|0)):0){j=c[f+72>>2]|0;o=c[j+20>>2]|0;if((b[j+28>>1]&4)!=0?(c[o+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0){if(c[o+96>>2]|0){n=Mg(j)|0;x=16}}else x=12;do if((x|0)==12){n=c[o+40>>2]|0;if(!n)if((c[o+148>>2]|0)>>>0>(c[o+152>>2]|0)>>>0){n=Ng(j)|0;x=16;break}else{n=Og(j)|0;x=16;break}else x=17}while(0);if((x|0)==16?n|0:0)x=17;if((x|0)==17){c[m>>2]=n;l=B;return}u=c[f+56>>2]|0;v=f+9|0;o=a[v>>0]|0;p=o&255;c[A>>2]=0;w=f+22|0;q=(e[w>>1]<<1)+(e[f+18>>1]|0)|0;r=u+(p+5)|0;s=r+1|0;n=d[r>>0]<<8|d[s>>0];do if(q>>>0>n>>>0){if((n|0)==0?(c[(c[f+52>>2]|0)+36>>2]|0)==65536:0){j=65536;x=22;break}c[t>>2]=21258;c[t+4>>2]=61641;c[t+8>>2]=17052;Bc(11,17e3,t);n=11}else{j=n;x=22}while(0);a:do if((x|0)==22){if(!(a[u+(p+2)>>0]|0))if((q+2|0)>(j|0)?1:(a[u+(p+1)>>0]|0)==0)x=28;else x=25;else if((q+2|0)>(j|0))x=28;else x=25;do if((x|0)==25){n=uo(o,c[(c[f+52>>2]|0)+36>>2]|0,u,i,A)|0;if(!n){n=c[A>>2]|0;if(!n){x=28;break}else break a}else{j=n-u|0;break}}while(0);if((x|0)==28){if((q+y|0)>(j|0)){n=(e[z>>1]|0)+(-2-i)|0;n=vo(f,(n|0)<4?n:4)|0;c[A>>2]=n;if(n|0)break;n=((d[r>>0]<<8|d[s>>0])+65535&65535)+1|0}else n=j;j=n-i|0;a[r>>0]=j>>>8;a[s>>0]=j}b[z>>1]=(e[z>>1]|0)-y;n=u+j|0;Tt(n|0,h|0,i|0)|0;if(k|0){a[n>>0]=k>>>24;a[n+1>>0]=k>>>16;a[n+2>>0]=k>>>8;a[n+3>>0]=k}k=(c[f+64>>2]|0)+(g<<1)|0;Ut(k+2|0,k|0,(e[w>>1]|0)-g<<1|0)|0;a[k>>0]=j>>>8;a[k+1>>0]=j;b[w>>1]=(b[w>>1]|0)+1<<16>>16;g=u+((d[v>>0]|0)+4)|0;k=(a[g>>0]|0)+1<<24>>24;a[g>>0]=k;if(!(k<<24>>24)){k=u+((d[v>>0]|0)+3)|0;a[k>>0]=(a[k>>0]|0)+1<<24>>24}n=f+52|0;if(!(a[(c[n>>2]|0)+17>>0]|0)){l=B;return}if((c[m>>2]|0)==0?(rb[c[f+80>>2]&255](f,h,A),(e[A+16>>1]|0)>>>0<(c[A+12>>2]|0)>>>0):0){A=h+((e[A+18>>1]|0)+-4)|0;zh(c[n>>2]|0,d[A+1>>0]<<16|d[A>>0]<<24|d[A+2>>0]<<8|d[A+3>>0],3,c[f+4>>2]|0,m)}l=B;return}while(0);c[m>>2]=n;l=B;return}if(!j)n=h;else{Tt(j|0,h|0,i|0)|0;n=j}if(k|0){a[n>>0]=k>>>24;a[n+1>>0]=k>>>16;a[n+2>>0]=k>>>8;a[n+3>>0]=k}m=a[o>>0]|0;a[o>>0]=m+1<<24>>24;m=m&255;c[f+36+(m<<2)>>2]=n;b[f+26+(m<<1)>>1]=g;l=B;return}function qo(f){f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0;Ya=l;l=l+336|0;Va=Ya+120|0;Ua=Ya+104|0;Ta=Ya+88|0;Sa=Ya+72|0;Xa=Ya+56|0;Wa=Ya+40|0;Ra=Ya+24|0;da=Ya;la=Ya+296|0;za=Ya+284|0;La=Ya+264|0;Ma=Ya+256|0;Na=Ya+236|0;Oa=Ya+216|0;Pa=Ya+196|0;Qa=Ya+192|0;ea=Ya+323|0;fa=Ya+172|0;ga=Ya+152|0;ha=Ya+300|0;ia=Ya+136|0;ja=Ya+310|0;ka=f+12|0;ma=(c[(c[ka>>2]|0)+36>>2]<<1>>>0)/3|0;na=f+68|0;qa=f+116|0;ta=f+124|0;ua=f+70|0;va=f+72|0;wa=f+120|0;xa=f+3|0;ya=ia+8|0;Aa=ia+12|0;Ba=ia+4|0;Ca=da+16|0;Da=da+12|0;Ea=da+18|0;Fa=ja+4|0;Ga=ja;Ha=da+16|0;Ja=da+12|0;Ka=da+18|0;g=0;q=c[qa>>2]|0;i=a[na>>0]|0;do{p=q+12|0;h=(a[p>>0]|0)==0;if(!(i<<24>>24)){if(h){h=0;break}c[la>>2]=0;c[za>>2]=0;n=q+52|0;o=c[n>>2]|0;i=c[q+72>>2]|0;j=c[i+20>>2]|0;do if((b[i+28>>1]&4)!=0?(c[j+24>>2]|0)>>>0>=(c[i+24>>2]|0)>>>0:0)if(!(c[j+96>>2]|0)){c[da>>2]=0;Y=15;break}else{h=Mg(i)|0;Y=14;break}else Y=9;while(0);do if((Y|0)==9){h=c[j+40>>2]|0;if(h|0){c[da>>2]=h;Y=23;break}if((c[j+148>>2]|0)>>>0>(c[j+152>>2]|0)>>>0){h=Ng(i)|0;Y=14;break}else{h=Og(i)|0;Y=14;break}}while(0);if((Y|0)==14){c[da>>2]=h;if(!h)Y=15;else Y=23}do if((Y|0)==15){j=q+4|0;h=wh(o,la,za,c[j>>2]|0,0)|0;c[da>>2]=h;k=c[la>>2]|0;m=k;do if(!h){i=c[n>>2]|0;ca=c[q+56>>2]|0;aa=c[k+56>>2]|0;h=d[q+9>>0]|0;ba=(c[k+4>>2]|0)==1?100:0;$=ca+(h+5)|0;$=d[$>>0]<<8|d[$+1>>0];Tt(aa+$|0,ca+$|0,(c[i+36>>2]|0)-$|0)|0;Tt(aa+ba|0,ca+h|0,(e[q+22>>1]<<1)+(e[q+18>>1]|0)|0)|0;a[k>>0]=0;h=$g(k)|0;if(h|0){c[da>>2]=h;break}if(!(a[i+17>>0]|0))h=0;else{h=yh(k)|0;c[da>>2]=h}}while(0);if(a[o+17>>0]|0){zh(o,c[za>>2]|0,5,c[j>>2]|0,da);h=c[da>>2]|0}if(!h){Tt(k+26|0,q+26|0,d[p>>0]<<1|0)|0;Tt(k+36|0,q+36|0,d[p>>0]<<2|0)|0;a[k+12>>0]=a[p>>0]|0;Fh(q,a[c[k+56>>2]>>0]&-9&255);h=(c[q+56>>2]|0)+((d[q+9>>0]|0)+8)|0;ca=c[za>>2]|0;a[h>>0]=ca>>>24;a[h+1>>0]=ca>>>16;a[h+2>>0]=ca>>>8;a[h+3>>0]=ca;c[ta>>2]=m;h=0;break}c[ta>>2]=0;if(k){i=c[k+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{ca=c[i+20>>2]|0;ba=ca+120|0;c[ba>>2]=(c[ba>>2]|0)+-1;ca=ca+136|0;c[i+16>>2]=c[ca>>2];c[ca>>2]=i;break}}}else if((Y|0)==23)c[ta>>2]=0;while(0);if(h|0)break;a[na>>0]=1;b[ua>>1]=0;b[va>>1]=0;c[wa>>2]=q;q=c[ta>>2]|0;c[qa>>2]=q;p=q+12|0;h=(a[p>>0]|0)==0;m=1}else m=i;i=m<<24>>24;if(h?(e[q+20>>1]|0)>>>0<=ma>>>0:0){h=0;break}n=i+-1|0;ca=c[f+120+(n<<2)>>2]|0;n=b[f+72+(n<<1)>>1]|0;o=n&65535;i=c[ca+72>>2]|0;j=c[i+20>>2]|0;if((b[i+28>>1]&4)!=0?(c[j+24>>2]|0)>>>0>=(c[i+24>>2]|0)>>>0:0)if(!(c[j+96>>2]|0))Y=42;else{h=Mg(i)|0;Y=41}else Y=37;do if((Y|0)==37){Y=0;h=c[j+40>>2]|0;if(!h)if((c[j+148>>2]|0)>>>0>(c[j+152>>2]|0)>>>0){h=Ng(i)|0;Y=41;break}else{h=Og(i)|0;Y=41;break}}while(0);if((Y|0)==41){Y=0;if(!h)Y=42}do if((Y|0)==42){Y=0;if((((a[q+3>>0]|0?(a[p>>0]|0)==1:0)?(oa=b[q+26>>1]|0,pa=q+22|0,oa<<16>>16==(b[pa>>1]|0)):0)?(ra=ca+4|0,(c[ra>>2]|0)!=1):0)?(sa=ca+22|0,(b[sa>>1]|0)==n<<16>>16):0){m=c[q+52>>2]|0;do if(oa<<16>>16){h=wh(m,la,La,0,0)|0;c[za>>2]=h;if(!h){i=c[q+36>>2]|0;c[Ma>>2]=i;j=kb[c[q+76>>2]&255](q,i)|0;b[Na>>1]=j;k=c[la>>2]|0;Fh(k,13);h=ro(k,1,Ma,Na)|0;c[za>>2]=h;if(h|0)break;b[k+20>>1]=65534-(j&65535)+(c[m+36>>2]|0)-(e[k+18>>1]|0);if(a[m+17>>0]|0?(zh(m,c[La>>2]|0,5,c[ra>>2]|0,za),(j&65535)>(e[k+16>>1]|0)):0)do if(!(c[za>>2]|0)){rb[c[k+80>>2]&255](k,i,da);if((e[Ha>>1]|0)>>>0>=(c[Ja>>2]|0)>>>0)break;ba=i+((e[Ka>>1]|0)+-4)|0;zh(c[k+52>>2]|0,d[ba+1>>0]<<16|d[ba>>0]<<24|d[ba+2>>0]<<8|d[ba+3>>0],3,c[k+4>>2]|0,za)}while(0);j=(c[q+64>>2]|0)+((e[pa>>1]<<1)+-2)|0;j=(c[q+56>>2]|0)+((d[j>>0]<<8|d[j+1>>0])&e[q+24>>1])|0;c[Ma>>2]=j;h=0;do{i=j+h|0;h=h+1|0}while((h|0)<9&(a[i>>0]|0)<0);j=j+h|0;c[Ma>>2]=j;i=i+10|0;h=Fa;do{c[Ma>>2]=j+1;ba=a[j>>0]|0;aa=h;h=h+1|0;a[aa>>0]=ba;j=c[Ma>>2]|0}while(ba<<24>>24<0&j>>>0>>0);if(!(c[za>>2]|0))po(ca,e[sa>>1]|0,ja,h-Ga|0,0,c[q+4>>2]|0,za);h=(c[ca+56>>2]|0)+((d[ca+9>>0]|0)+8)|0;ca=c[La>>2]|0;a[h>>0]=ca>>>24;a[h+1>>0]=ca>>>16;a[h+2>>0]=ca>>>8;a[h+3>>0]=ca;h=c[la>>2]|0;do if(h|0){h=c[h+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);break}else{ca=c[h+20>>2]|0;ba=ca+120|0;c[ba>>2]=(c[ba>>2]|0)+-1;ca=ca+136|0;c[h+16>>2]=c[ca>>2];c[ca>>2]=h;break}}while(0);h=c[za>>2]|0}}else{c[Ra>>2]=21258;c[Ra+4>>2]=67008;c[Ra+8>>2]=17052;Bc(11,17e3,Ra);h=11}while(0);break}k=c[(c[ka>>2]|0)+32>>2]|0;if((c[11659]|0)>=(k|0)?(Ia=c[11665]|0,(Ia|0)!=0):0){c[11665]=c[Ia>>2];ba=c[11666]|0;c[11666]=ba+-1;c[11667]=(ba|0)<=(c[11661]|0)&1;if((c[11830]|0)>>>0>>0)c[11830]=k;h=(c[11823]|0)+1|0;c[11823]=h;if(h>>>0>(c[11827]|0)>>>0){c[11827]=h;ba=Ia}else ba=Ia}else Y=76;do if((Y|0)==76){ba=Ft(k|0,((k|0)<0)<<31>>31|0,-1,-1)|0;aa=z;if(!(aa>>>0>0|(aa|0)==0&ba>>>0>2147483390)){if(!(c[2]|0)){h=jb[c[52>>2]&255](k)|0;if(!h){ba=0;break}}else{h=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){aa=c[11822]|0;ba=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;$=z;c[11616]=(0>($|0)|0==($|0)&aa>>>0>=ba>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h){ba=0;break}i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}i=jb[c[64>>2]&255](h)|0;if((c[11830]|0)>>>0>>0)c[11830]=k;i=(c[11824]|0)+i|0;c[11824]=i;if(i>>>0>(c[11828]|0)>>>0){c[11828]=i;ba=h}else ba=h}else ba=0}while(0);Z=m<<24>>24==1;F=a[xa>>0]&1;j=F&255;c[la>>2]=0;a[ea>>0]=0;a[ea+1>>0]=0;a[ea+2>>0]=0;a[ea+3>>0]=0;a[ea+4>>0]=0;c[ia>>2]=0;c[ya>>2]=0;$=c[ca+52>>2]|0;if(!ba)h=7;else{B=ca+12|0;k=d[B>>0]|0;_=ca+22|0;m=e[_>>1]|0;h=m+k|0;if(h>>>0<2)Q=0;else{do if(n<<16>>16)if((h|0)==(o|0)){i=(j|-2)+o|0;break}else{i=o+-1|0;break}else i=0;while(0);h=2-j|0;Q=i}aa=h+1|0;i=Q-k+h|0;X=ca+56|0;if((i|0)==(m|0))i=(d[ca+9>>0]|0)+8|0;else{i=(c[ca+64>>2]|0)+(i<<1)|0;i=(d[i>>0]<<8|d[i+1>>0])&e[ca+24>>1]}I=(c[X>>2]|0)+i|0;J=I+1|0;K=I+2|0;L=I+3|0;j=d[J>>0]<<16|d[I>>0]<<24|d[K>>0]<<8|d[L>>0];c[Qa>>2]=j;i=za+(h<<2)|0;Y=Pm($,j,i,0,0)|0;c[la>>2]=Y;a:do if(!Y){t=ca+24|0;u=ca+64|0;P=ca+76|0;v=$+22|0;M=$+36|0;w=ca+26|0;x=ca+36|0;y=0;A=h;while(1){s=c[i>>2]|0;y=y+1+(e[s+22>>1]|0)+(d[s+12>>0]|0)|0;s=A+-1|0;if(!A){Y=116;break}Y=a[B>>0]|0;i=Y&255;r=s+Q|0;if(Y<<24>>24!=0?(r|0)==(e[w>>1]|0):0){Y=c[x>>2]|0;c[Ma+(s<<2)>>2]=Y;j=d[Y+1>>0]<<16|d[Y>>0]<<24|d[Y+2>>0]<<8|d[Y+3>>0];c[Pa+(s<<2)>>2]=(kb[c[P>>2]&255](ca,Y)|0)&65535;a[B>>0]=0}else{i=(c[u>>2]|0)+(r-i<<1)|0;i=(c[X>>2]|0)+((d[i>>0]<<8|d[i+1>>0])&e[t>>1])|0;k=Ma+(s<<2)|0;c[k>>2]=i;j=d[i+1>>0]<<16|d[i>>0]<<24|d[i+2>>0]<<8|d[i+3>>0];m=(kb[c[P>>2]&255](ca,i)|0)&65535;c[Pa+(s<<2)>>2]=m;n=i;if(b[v>>1]&12){o=n-(c[X>>2]|0)|0;if((o+m|0)>(c[M>>2]|0)){Y=113;break}Tt(ba+o|0,i|0,m|0)|0;c[k>>2]=ba+(n-(c[X>>2]|0))}oo(ca,r-(d[B>>0]|0)|0,m,la)}i=za+(s<<2)|0;Y=Pm($,j,i,0,0)|0;c[la>>2]=Y;if(Y|0){Y=104;break}else A=s}if((Y|0)==104){c[Qa>>2]=j;h=s;Y=105;break}else if((Y|0)==113){Y=0;c[Qa>>2]=j;c[Wa>>2]=21258;c[Wa+4>>2]=67349;c[Wa+8>>2]=17052;Bc(11,17e3,Wa);c[la>>2]=11;Vt(za|0,0,A<<2|0)|0;h=0;break}else if((Y|0)==116){Y=0;c[Qa>>2]=j;m=y+3&-4;i=(c[$+32>>2]|0)+(m*6|0)|0;W=Ft(i|0,((i|0)<0)<<31>>31|0,-1,-1)|0;V=z;do if(V>>>0>0|(V|0)==0&W>>>0>2147483390)Y=127;else{if(!(c[2]|0)){i=jb[c[52>>2]&255](i)|0;c[ya>>2]=i;if(!i)break}else{k=jb[c[68>>2]&255](i)|0;if((c[11829]|0)>>>0>>0)c[11829]=i;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){V=c[11822]|0;W=Gt(i|0,j|0,k|0,((k|0)<0)<<31>>31|0)|0;U=z;c[11616]=(0>(U|0)|0==(U|0)&V>>>0>=W>>>0)&1}i=jb[c[52>>2]&255](k)|0;if(!i){Y=127;break}j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0)c[11831]=j;c[ya>>2]=i}k=i+(m<<2)|0;c[Aa>>2]=k;C=k+(m<<1)|0;E=c[za>>2]|0;c[Ba>>2]=E;N=d[E+8>>0]<<2;W=N&65535;O=a[E+3>>0]|0;G=O&255;D=O<<24>>24!=0;H=E+56|0;y=c[H>>2]|0;o=E+18|0;m=e[o>>1]|0;i=0;B=0;A=E;j=y+m|0;r=H;while(1){w=A+22|0;x=b[A+24>>1]|0;v=c[ia>>2]|0;u=A+12|0;Vt(k+(v<<1)|0,0,(d[u>>0]|0)+(e[w>>1]|0)<<1|0)|0;u=a[u>>0]|0;if(!(u<<24>>24))m=v;else{V=b[A+26>>1]|0;t=V&65535;if(!(V<<16>>16))m=v;else{s=x&65535;n=(t<<1)+m|0;m=0;k=v;while(1){c[(c[ya>>2]|0)+(k<<2)>>2]=y+((d[j>>0]<<8|d[j+1>>0])&s);k=k+1|0;c[ia>>2]=k;m=m+1|0;if((m|0)==(t|0))break;else j=j+2|0}j=y+n|0;m=v+t|0}n=u&255;k=0;do{c[(c[ya>>2]|0)+(m<<2)>>2]=c[A+36+(k<<2)>>2];m=m+1|0;k=k+1|0}while((k|0)<(n|0));c[ia>>2]=m}s=j;n=e[o>>1]|0;k=e[w>>1]<<1;u=y+n+k|0;if(j>>>0>>0){o=x&65535;V=y+-1|0;t=(V+(n-s+k)|0)>>>1;n=(V+(k+n-s)|0)>>>1;k=m;do{c[(c[ya>>2]|0)+(k<<2)>>2]=y+((d[j>>0]<<8|d[j+1>>0])&o);j=j+2|0;k=k+1|0;c[ia>>2]=k}while(j>>>0>>0);j=m+1|0;k=j+t|0;j=j+n|0}else{k=m;j=m}c[Oa+(B<<2)>>2]=k;if(!(D|(B|0)>=(h|0))){U=c[Pa+(B<<2)>>2]|0;b[(c[Aa>>2]|0)+(k<<1)>>1]=U;V=C+i|0;k=U&65535;i=k+i|0;Tt(V|0,c[Ma+(B<<2)>>2]|0,k|0)|0;c[(c[ya>>2]|0)+(j<<2)>>2]=V+N;V=(c[Aa>>2]|0)+(j<<1)|0;k=(e[V>>1]|0)-N&65535;b[V>>1]=k;do if(!(a[A+8>>0]|0)){j=c[(c[ya>>2]|0)+(j<<2)>>2]|0;V=(c[r>>2]|0)+8|0;V=d[V>>0]|d[V+1>>0]<<8|d[V+2>>0]<<16|d[V+3>>0]<<24;a[j>>0]=V;a[j+1>>0]=V>>8;a[j+2>>0]=V>>16;a[j+3>>0]=V>>24;j=c[ia>>2]|0}else{if((k&65535)>=4)break;while(1){k=i+1|0;a[C+i>>0]=0;j=c[ia>>2]|0;U=(c[Aa>>2]|0)+(j<<1)|0;V=(b[U>>1]|0)+1<<16>>16;b[U>>1]=V;if((V&65535)<4)i=k;else{i=k;break}}}while(0);c[ia>>2]=j+1}k=B+1|0;if((B|0)>=(h|0))break;j=c[za+(k<<2)>>2]|0;r=j+56|0;n=c[r>>2]|0;o=j+18|0;m=e[o>>1]|0;if((a[n>>0]|0)!=(a[c[H>>2]>>0]|0)){Y=150;break}B=k;A=j;j=n+m|0;k=c[Aa>>2]|0;y=n}if((Y|0)==150){Y=0;c[Xa>>2]=21258;c[Xa+4>>2]=67414;c[Xa+8>>2]=17052;Bc(11,17e3,Xa);c[la>>2]=11;h=0;break a}V=N+-12+(c[M>>2]|0)|0;r=0;k=E;while(1){i=V-(e[k+20>>1]|0)|0;m=Pa+(r<<2)|0;c[m>>2]=i;n=k+12|0;if(a[n>>0]|0){o=k+76|0;j=0;do{i=i+2+((kb[c[o>>2]&255](k,c[k+36+(j<<2)>>2]|0)|0)&65535)|0;c[m>>2]=i;j=j+1|0}while((j|0)<(d[n>>0]|0))}c[Na+(r<<2)>>2]=c[Oa+(r<<2)>>2];i=r+1|0;if((i|0)==(aa|0))break;r=i;k=c[za+(i<<2)>>2]|0}b:do if((h|0)>-1){x=O<<24>>24==0;o=aa;i=0;c:while(1){w=Pa+(i<<2)|0;m=c[w>>2]|0;d:do if((m|0)>(V|0)){r=i+1|0;v=Na+(i<<2)|0;u=Pa+(r<<2)|0;s=i+2|0;t=Na+(r<<2)|0;if((s|0)>5){if((r|0)>=(o|0)){Y=198;break c}j=c[v>>2]|0;if(x)n=j;else while(1){j=j+-1|0;k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;U=(k&65535)+2|0;m=m-U|0;c[w>>2]=m;c[u>>2]=(c[u>>2]|0)+U;c[v>>2]=j;if((m|0)<=(V|0)){t=o;s=v;break d}}while(1){j=n+-1|0;k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;m=m-((k&65535)+2)|0;c[w>>2]=m;if((n|0)<(c[ia>>2]|0)){k=b[(c[Aa>>2]|0)+(n<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,n)|0;k=(k&65535)+2|0}else k=0;c[u>>2]=(c[u>>2]|0)+k;c[v>>2]=j;if((m|0)>(V|0))n=j;else{t=o;s=v;break d}}}if(x)j=o;else{j=o;while(1){if((r|0)<(j|0))n=j;else{c[u>>2]=0;c[t>>2]=c[ia>>2];n=s}j=(c[v>>2]|0)+-1|0;k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;U=(k&65535)+2|0;m=m-U|0;c[w>>2]=m;c[u>>2]=(c[u>>2]|0)+U;c[v>>2]=j;if((m|0)>(V|0))j=n;else{t=n;s=v;break d}}}while(1){if((r|0)<(j|0))o=j;else{c[u>>2]=0;c[t>>2]=c[ia>>2];o=s}n=c[v>>2]|0;j=n+-1|0;k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;m=m+-2-(k&65535)|0;c[w>>2]=m;if((n|0)<(c[ia>>2]|0)){k=b[(c[Aa>>2]|0)+(n<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,n)|0;k=(k&65535)+2|0}else k=0;c[u>>2]=(c[u>>2]|0)+k;c[v>>2]=j;if((m|0)>(V|0))j=o;else{t=o;s=v;break}}}else{j=Na+(i<<2)|0;t=o;s=j;j=c[j>>2]|0}while(0);e:do if((j|0)<(c[ia>>2]|0)){r=Pa+(i+1<<2)|0;if(x)o=m;else while(1){k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;k=(k&65535)+2|0;m=k+m|0;if((m|0)>(V|0))break e;c[w>>2]=m;j=j+1|0;c[s>>2]=j;c[r>>2]=(c[r>>2]|0)-k;if((j|0)>=(c[ia>>2]|0))break e}do{k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,j)|0;o=o+2+(k&65535)|0;if((o|0)>(V|0))break e;c[w>>2]=o;j=j+1|0;c[s>>2]=j;m=c[ia>>2]|0;if((j|0)<(m|0)){k=b[(c[Aa>>2]|0)+(j<<1)>>1]|0;if(!(k<<16>>16)){k=so(ia,j)|0;m=c[ia>>2]|0}n=(k&65535)+2|0;k=m}else{n=0;k=m}c[r>>2]=(c[r>>2]|0)-n}while((j|0)<(k|0))}while(0);if((j|0)>=(c[ia>>2]|0)){Y=208;break}if((i|0)>0)k=c[Na+(i+-1<<2)>>2]|0;else k=0;if((j|0)<=(k|0)){Y=212;break}i=i+1|0;if((i|0)<(t|0))o=t;else{E=t;break b}}if((Y|0)==198){Y=0;c[Sa>>2]=21258;c[Sa+4>>2]=67523;c[Sa+8>>2]=17052;Bc(11,17e3,Sa);c[la>>2]=11;h=0;break a}else if((Y|0)==208){Y=0;E=i+1|0;break}else if((Y|0)==212){Y=0;c[Ta>>2]=21258;c[Ta+4>>2]=67556;c[Ta+8>>2]=17052;Bc(11,17e3,Ta);c[la>>2]=11;h=0;break a}}else E=aa;while(0);C=E+-1|0;D=F<<24>>24==0;B=C;while(1){if((B|0)<=0)break;y=Pa+(B<<2)|0;n=c[y>>2]|0;x=B;B=B+-1|0;A=Pa+(B<<2)|0;k=c[A>>2]|0;w=Na+(B<<2)|0;j=c[w>>2]|0;m=j-G|0;i=c[Aa>>2]|0;if(!(b[i+(m<<1)>>1]|0)){so(ia,m)|0;i=c[Aa>>2]|0}v=(x|0)==(C|0)?0:-2;f:do if(D)while(1){u=j+-1|0;if(!(b[i+(u<<1)>>1]|0)){so(ia,u)|0;i=c[Aa>>2]|0}o=b[i+(m<<1)>>1]|0;if(n){r=o&65535;o=n+2|0;t=b[i+(u<<1)>>1]|0;if((r+o|0)>(k+v-(t&65535)|0)){i=n;break f}else{s=o;n=r;o=t}}else{s=2;n=o&65535;o=b[i+(u<<1)>>1]|0}n=s+n|0;k=k+-2-(o&65535)|0;c[w>>2]=u;if((j|0)>1){m=m+-1|0;j=u}else{i=n;j=u;break}}else{o=j;while(1){j=o+-1|0;if(!(b[i+(j<<1)>>1]|0))so(ia,j)|0;if(n|0){i=n;j=o;break f}i=c[Aa>>2]|0;n=(e[i+(m<<1)>>1]|0)+2|0;k=k+-2-(e[i+(j<<1)>>1]|0)|0;c[w>>2]=j;if((o|0)<=1){i=n;break}else{m=m+-1|0;o=j}}}while(0);c[y>>2]=i;c[A>>2]=k;if((x|0)>1)i=c[Na+(x+-2<<2)>>2]|0;else i=0;if((j|0)<=(i|0)){Y=232;break}}if((Y|0)==232){Y=0;c[Ua>>2]=21258;c[Ua+4>>2]=67598;c[Ua+8>>2]=17052;Bc(11,17e3,Ua);c[la>>2]=11;h=0;break a}A=d[c[H>>2]>>0]|0;g:do if((E|0)>0){o=$+17|0;r=ca+4|0;h:do if(D){i=0;n=0;while(1){i:do if((n|0)>(h|0)){U=wh($,da,Qa,c[Qa>>2]|0,0)|0;c[la>>2]=U;if(U|0){h=i;break h}j=c[da>>2]|0;Fh(j,A);c[La+(n<<2)>>2]=j;i=i+1|0;c[Oa+(n<<2)>>2]=c[ia>>2];if(!(a[o>>0]|0))break;zh($,c[j+4>>2]|0,5,c[r>>2]|0,la);if(c[la>>2]|0){h=i;break h}}else{k=za+(n<<2)|0;j=c[k>>2]|0;c[La+(n<<2)>>2]=j;c[da>>2]=j;c[k>>2]=0;j=c[j+72>>2]|0;k=c[j+20>>2]|0;do if(b[j+28>>1]&4){if((c[k+24>>2]|0)>>>0<(c[j+24>>2]|0)>>>0){Y=257;break}if(!(c[k+96>>2]|0)){c[la>>2]=0;i=i+1|0;break i}else{j=Mg(j)|0;break}}else Y=257;while(0);do if((Y|0)==257){Y=0;m=c[k+40>>2]|0;if(m|0){h=m;Y=258;break h}if((c[k+148>>2]|0)>>>0>(c[k+152>>2]|0)>>>0){j=Ng(j)|0;break}else{j=Og(j)|0;break}}while(0);c[la>>2]=j;i=i+1|0;if(j){h=i;break h}}while(0);n=n+1|0;if((n|0)>=(E|0)){Y=250;break}}}else{i=0;n=0;while(1){j:do if((n|0)>(h|0)){U=wh($,da,Qa,1,0)|0;c[la>>2]=U;if(U|0){h=i;break h}j=c[da>>2]|0;Fh(j,A);c[La+(n<<2)>>2]=j;i=i+1|0;c[Oa+(n<<2)>>2]=c[ia>>2];if(!(a[o>>0]|0))break;zh($,c[j+4>>2]|0,5,c[r>>2]|0,la);if(c[la>>2]|0){h=i;break h}}else{k=za+(n<<2)|0;j=c[k>>2]|0;c[La+(n<<2)>>2]=j;c[da>>2]=j;c[k>>2]=0;j=c[j+72>>2]|0;k=c[j+20>>2]|0;do if(b[j+28>>1]&4){if((c[k+24>>2]|0)>>>0<(c[j+24>>2]|0)>>>0){Y=241;break}if(!(c[k+96>>2]|0)){c[la>>2]=0;i=i+1|0;break j}else{j=Mg(j)|0;break}}else Y=241;while(0);do if((Y|0)==241){Y=0;m=c[k+40>>2]|0;if(m|0){h=m;Y=258;break h}if((c[k+148>>2]|0)>>>0>(c[k+152>>2]|0)>>>0){j=Ng(j)|0;break}else{j=Og(j)|0;break}}while(0);c[la>>2]=j;i=i+1|0;if(j){h=i;break h}}while(0);n=n+1|0;if((n|0)>=(E|0)){Y=250;break}}}while(0);if((Y|0)==250){Y=0;if((i|0)>0)k=0;else{U=0;break}k:do{U=c[La+(k<<2)>>2]|0;m=c[U+4>>2]|0;c[fa+(k<<2)>>2]=m;c[ga+(k<<2)>>2]=m;b[ha+(k<<1)>>1]=b[(c[U+72>>2]|0)+28>>1]|0;if((k|0)>0){j=0;do{if((c[fa+(j<<2)>>2]|0)==(m|0)){Y=272;break k}j=j+1|0}while((j|0)<(k|0))}k=k+1|0}while((k|0)<(i|0));if((Y|0)==272){Y=0;c[Va>>2]=21258;c[Va+4>>2]=67672;c[Va+8>>2]=17052;Bc(11,17e3,Va);c[la>>2]=11;h=i;break a}x=(i|0)==1;y=$+44|0;w=0;while(1){j=c[ga>>2]|0;if(x){k=0;m=j;j=ga}else{k=0;n=1;while(1){k=(c[ga+(n<<2)>>2]|0)>>>0>>0?n:k;n=n+1|0;j=ga+(k<<2)|0;m=c[j>>2]|0;if((n|0)>=(i|0))break;else j=m}}c[Qa>>2]=m;c[j>>2]=-1;if((k|0)!=(w|0)){do if((k|0)>(w|0)){u=c[(c[La+(k<<2)>>2]|0)+72>>2]|0;T=k+1+(c[y>>2]|0)|0;v=u+28|0;b[v>>1]=0;j=u+12|0;U=u+24|0;sb[c[156>>2]&255](c[(c[j>>2]|0)+44>>2]|0,c[u>>2]|0,c[U>>2]|0,T);c[U>>2]=T;v=b[v>>1]|0;if((v&10)!=10)break;r=c[j>>2]|0;t=r+8|0;n=u+36|0;j=c[n>>2]|0;if((c[t>>2]|0)==(u|0))c[t>>2]=j;o=u+32|0;m=c[o>>2]|0;s=r+4|0;c[((m|0)==0?s:m+36|0)>>2]=j;j=c[n>>2]|0;m=c[o>>2]|0;do if(!j){c[r>>2]=m;if(!m){a[r+33>>0]=2;c[n>>2]=0;c[o>>2]=0;j=r;Y=287;break}else{c[n>>2]=0;j=r;Y=286;break}}else{c[j+32>>2]=m;m=c[r>>2]|0;c[n>>2]=0;c[o>>2]=m;if(!m){j=r;Y=287}else{j=r;Y=286}}while(0);do if((Y|0)==286){Y=0;c[m+36>>2]=u}else if((Y|0)==287){Y=0;c[s>>2]=u;if(!(a[r+32>>0]|0))break;a[r+33>>0]=1}while(0);c[j>>2]=u;if(!((v&8)==0&(c[t>>2]|0)==0))break;c[t>>2]=u}while(0);u=La+(w<<2)|0;v=c[(c[u>>2]|0)+72>>2]|0;T=c[Qa>>2]|0;t=v+28|0;b[t>>1]=b[ha+(k<<1)>>1]|0;j=v+12|0;U=v+24|0;sb[c[156>>2]&255](c[(c[j>>2]|0)+44>>2]|0,c[v>>2]|0,c[U>>2]|0,T);c[U>>2]=T;t=b[t>>1]|0;do if((t&10)==10){o=c[j>>2]|0;s=o+8|0;m=v+36|0;j=c[m>>2]|0;if((c[s>>2]|0)==(v|0))c[s>>2]=j;n=v+32|0;k=c[n>>2]|0;r=o+4|0;c[((k|0)==0?r:k+36|0)>>2]=j;j=c[m>>2]|0;k=c[n>>2]|0;do if(!j){c[o>>2]=k;if(!k){a[o+33>>0]=2;c[m>>2]=0;c[n>>2]=0;j=o;Y=300;break}else{c[m>>2]=0;j=o;Y=299;break}}else{c[j+32>>2]=k;k=c[o>>2]|0;c[m>>2]=0;c[n>>2]=k;if(!k){j=o;Y=300}else{j=o;Y=299}}while(0);do if((Y|0)==299){Y=0;c[k+36>>2]=v}else if((Y|0)==300){Y=0;c[r>>2]=v;if(!(a[o+32>>0]|0))break;a[o+33>>0]=1}while(0);c[j>>2]=v;if(!((t&8)==0&(c[s>>2]|0)==0))break;c[s>>2]=v}while(0);c[(c[u>>2]|0)+4>>2]=c[Qa>>2]}w=w+1|0;if((w|0)==(i|0)){U=1;break g}}}else if((Y|0)==258){Y=0;c[la>>2]=h;h=i+1|0}break a}else{i=0;U=0}while(0);y=i+-1|0;j=c[La+(y<<2)>>2]|0;T=c[j+4>>2]|0;a[I>>0]=T>>>24;a[J>>0]=T>>>16;a[K>>0]=T>>>8;a[L>>0]=T;if(!((A&8|0)!=0|(aa|0)==(i|0))){T=(c[j+56>>2]|0)+8|0;S=(c[(c[((i|0)>(aa|0)?La:za)+(h<<2)>>2]|0)+56>>2]|0)+8|0;S=d[S>>0]|d[S+1>>0]<<8|d[S+2>>0]<<16|d[S+3>>0]<<24;a[T>>0]=S;a[T+1>>0]=S>>8;a[T+2>>0]=S>>16;a[T+3>>0]=S>>24}T=$+17|0;do if(a[T>>0]|0){j=c[La>>2]|0;u=c[M>>2]|0;k=c[ia>>2]|0;if((k|0)<=0)break;v=O<<24>>24==0;w=v&1;x=W<<16>>16==0;r=0;m=0;n=(e[j+22>>1]|0)+(d[j+12>>0]|0)|0;o=c[j+56>>2]|0;t=0;do{s=c[(c[ya>>2]|0)+(t<<2)>>2]|0;if((t|0)==(n|0)){r=r+1|0;o=c[((r|0)<(i|0)?La+(r<<2)|0:za+(r<<2)|0)>>2]|0;n=t+w+(e[o+22>>1]|0)+(d[o+12>>0]|0)|0;o=c[o+56>>2]|0}if((t|0)==(c[Na+(m<<2)>>2]|0)){m=m+1|0;j=c[La+(m<<2)>>2]|0;if(!v)Y=323}else Y=323;do if((Y|0)==323){Y=0;if((r|0)<(i|0)?s>>>0<(o+u|0)>>>0&(s>>>0>=o>>>0?(c[j+4>>2]|0)==(c[fa+(r<<2)>>2]|0):0):0)break;if(x)zh($,d[s+1>>0]<<16|d[s>>0]<<24|d[s+2>>0]<<8|d[s+3>>0],5,c[j+4>>2]|0,la);k=b[(c[Aa>>2]|0)+(t<<1)>>1]|0;if(!(k<<16>>16))k=so(ia,t)|0;if((k&65535)>(e[j+16>>1]|0))do if(!(c[la>>2]|0)){rb[c[j+80>>2]&255](j,s,da);if((e[Ca>>1]|0)>>>0>=(c[Da>>2]|0)>>>0)break;S=s+((e[Ea>>1]|0)+-4)|0;zh(c[j+52>>2]|0,d[S+1>>0]<<16|d[S>>0]<<24|d[S+2>>0]<<8|d[S+3>>0],3,c[j+4>>2]|0,la)}while(0);if(c[la>>2]|0){h=i;break a}k=c[ia>>2]|0}while(0);t=t+1|0}while((t|0)<(k|0))}while(0);l:do if((i|0)>1){if(!(O<<24>>24)){n=0;o=0;while(1){r=c[La+(o<<2)>>2]|0;m=c[Na+(o<<2)>>2]|0;j=c[(c[ya>>2]|0)+(m<<2)>>2]|0;m=b[(c[Aa>>2]|0)+(m<<1)>>1]|0;k=(m&65535)+N|0;s=ba+n|0;do if(!(a[r+8>>0]|0)){S=(c[r+56>>2]|0)+8|0;R=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[S>>0]=R;a[S+1>>0]=R>>8;a[S+2>>0]=R>>16;a[S+3>>0]=R>>24}else{j=j+-4|0;if(m<<16>>16!=4)break;k=(kb[c[P>>2]&255](ca,j)|0)&65535}while(0);po(ca,o+Q|0,j,k,s,c[r+4>>2]|0,la);if(c[la>>2]|0){h=i;break a}o=o+1|0;if((o|0)>=(y|0))break l;else n=k+n|0}}else{o=0;r=0}while(1){s=c[La+(r<<2)>>2]|0;k=c[Na+(r<<2)>>2]|0;m=c[ya>>2]|0;j=c[m+(k<<2)>>2]|0;n=ba+o|0;if(!(a[s+8>>0]|0)){k=(e[(c[Aa>>2]|0)+(k<<1)>>1]|0)+N|0;m=(c[s+56>>2]|0)+8|0;S=d[j>>0]|d[j+1>>0]<<8|d[j+2>>0]<<16|d[j+3>>0]<<24;a[m>>0]=S;a[m+1>>0]=S>>8;a[m+2>>0]=S>>16;a[m+3>>0]=S>>24;m=n}else{rb[c[s+80>>2]&255](s,c[m+(k+-1<<2)>>2]|0,da);j=n+4|0;m=da;k=c[m>>2]|0;m=c[m+4>>2]|0;do if(!(m>>>0<0|(m|0)==0&k>>>0<128))if(m>>>0<0|(m|0)==0&k>>>0<16384){S=Qt(k|0,m|0,7)|0;a[j>>0]=S&255|-128;a[j+1>>0]=k&127;j=2;break}else{j=Gn(j,k,m)|0;break}else{a[j>>0]=k&127;j=1}while(0);k=j+4|0;m=0;j=n}po(ca,r+Q|0,j,k,m,c[s+4>>2]|0,la);if(c[la>>2]|0){h=i;break a}r=r+1|0;if((r|0)>=(y|0))break;else o=k+o|0}}while(0);j=1-i|0;if((j|0)<(i|0)){S=O<<24>>24==0&1;do{Q=(j|0)<0?0-j|0:j;R=ea+Q|0;do if(!(a[R>>0]|0)){if((j|0)<=-1?(P=Q+-1|0,(c[Oa+(P<<2)>>2]|0)<(c[Na+(P<<2)>>2]|0)):0)break;if(!Q){P=c[Na>>2]|0;m=0;N=0}else{k=Q+-1|0;if((Q|0)>(h|0))m=c[ia>>2]|0;else m=(c[Oa+(k<<2)>>2]|0)+S|0;N=(c[Na+(k<<2)>>2]|0)+S|0;P=(c[Na+(Q<<2)>>2]|0)-N|0}O=c[La+(Q<<2)>>2]|0;G=O+56|0;J=c[G>>2]|0;H=O+9|0;K=d[H>>0]|0;D=O+64|0;u=(c[D>>2]|0)+(P<<1)|0;L=O+22|0;k=e[L>>1]|0;M=O+12|0;n=k+m+(d[M>>0]|0)|0;I=P+N|0;if((m|0)<(N|0)){F=to(O,m,N-m|0,ia)|0;E=c[D>>2]|0;Ut(E|0,E+(F<<1)|0,k<<1|0)|0;k=k-F|0}if((n|0)>(I|0))o=k-(to(O,I,n-I|0,ia)|0)|0;else o=k;E=J+(K+5)|0;F=E+1|0;k=J+(((d[E>>0]<<8|d[F>>0])+65535&65535)+1)|0;m:do if(k>>>0>>0)Y=401;else{if((N|0)<(m|0)){C=m-N|0;C=(C|0)>(P|0)?P:C;r=c[D>>2]|0;Ut(r+(C<<1)|0,r|0,o<<1|0)|0;n=c[G>>2]|0;x=C+N|0;n:do if((C|0)>0){y=n+1|0;A=n+2|0;B=u;w=O+52|0;v=N;while(1){s=b[(c[Aa>>2]|0)+(v<<1)>>1]|0;if(!(s<<16>>16))s=so(ia,v)|0;t=s&65535;if((a[y>>0]|0)==0?(a[A>>0]|0)==0:0)Y=371;else{s=uo(a[H>>0]|0,c[(c[w>>2]|0)+36>>2]|0,c[G>>2]|0,t,da)|0;if(!s)Y=371}if((Y|0)==371){Y=0;if((k-B|0)<(t|0))break;k=k+(0-t)|0;s=k}Ut(s|0,c[(c[ya>>2]|0)+(v<<2)>>2]|0,t|0)|0;t=s-n|0;a[r>>0]=t>>>8;a[r+1>>0]=t;v=v+1|0;if((v|0)>=(x|0))break n;else r=r+2|0}Y=401;break m}while(0);o=o+C|0}n=a[M>>0]|0;o:do if(n<<24>>24){B=u;A=O+52|0;y=0;while(1){x=(e[O+26+(y<<1)>>1]|0)+m|0;r=x-N|0;if((r|0)>-1&(r|0)<(P|0)){w=(c[D>>2]|0)+(r<<1)|0;Ut(w+2|0,w|0,o-r<<1|0)|0;o=o+1|0;r=c[G>>2]|0;t=k;v=r;n=b[(c[Aa>>2]|0)+(x<<1)>>1]|0;if(!(n<<16>>16))n=so(ia,x)|0;s=n&65535;if((a[r+1>>0]|0)==0?(a[r+2>>0]|0)==0:0)Y=384;else{n=uo(a[H>>0]|0,c[(c[A>>2]|0)+36>>2]|0,c[G>>2]|0,s,da)|0;if(!n)Y=384;else k=t}if((Y|0)==384){Y=0;if((k-B|0)<(s|0))break;k=t+(0-s)|0;n=k}Ut(n|0,c[(c[ya>>2]|0)+(x<<2)>>2]|0,s|0)|0;n=n-v|0;a[w>>0]=n>>>8;a[w+1>>0]=n;n=a[M>>0]|0}y=y+1|0;if((y|0)>=(n&255|0))break o}Y=401;break m}while(0);m=c[G>>2]|0;p:do if((o|0)<(P|0)){v=m+1|0;w=m+2|0;t=m;s=O+52|0;r=(c[D>>2]|0)+(o<<1)|0;o=o+N|0;while(1){m=b[(c[Aa>>2]|0)+(o<<1)>>1]|0;if(!(m<<16>>16))m=so(ia,o)|0;n=m&65535;if((a[v>>0]|0)==0?(a[w>>0]|0)==0:0)Y=396;else{m=uo(a[H>>0]|0,c[(c[s>>2]|0)+36>>2]|0,c[G>>2]|0,n,da)|0;if(!m)Y=396}if((Y|0)==396){Y=0;if((k-u|0)<(n|0))break;k=k+(0-n)|0;m=k}Ut(m|0,c[(c[ya>>2]|0)+(o<<2)>>2]|0,n|0)|0;D=m-t|0;a[r>>0]=D>>>8;a[r+1>>0]=D;o=o+1|0;if((o|0)>=(I|0))break p;else r=r+2|0}Y=401;break m}while(0);b[L>>1]=P;a[M>>0]=0;N=J+(K+3)|0;a[N>>0]=P>>>8;a[N+1>>0]=b[L>>1];P=k-J|0;a[E>>0]=P>>>8;a[F>>0]=P;c[la>>2]=0}while(0);if((Y|0)==401){Y=0;k=c[Aa>>2]|0;if((P|0)>0){m=N;n=P;while(1){if(!(b[k+(m<<1)>>1]|0)){M=c[Ba>>2]|0;M=kb[c[M+76>>2]&255](M,c[(c[ya>>2]|0)+(m<<2)>>2]|0)|0;k=c[Aa>>2]|0;b[k+(m<<1)>>1]=M}if((n|0)>1){m=m+1|0;n=n+-1|0}else break}}P=ro(O,P,(c[ya>>2]|0)+(N<<2)|0,k+(N<<1)|0)|0;c[la>>2]=P;if(P|0){h=i;break a}}a[R>>0]=(a[R>>0]|0)+1<<24>>24;b[O+20>>1]=V-(c[Pa+(Q<<2)>>2]|0)}while(0);j=j+1|0}while((j|0)<(i|0))}do if(Z){if(b[_>>1]|0){Y=421;break}n=c[La>>2]|0;if((d[ca+9>>0]|0)>>>0>(e[n+20>>1]|0)>>>0){Y=421;break}$=vo(n,-1)|0;c[la>>2]=$;if($|0)break;m=n+52|0;k=c[m>>2]|0;$=c[n+56>>2]|0;Z=c[X>>2]|0;j=d[n+9>>0]|0;_=(c[ca+4>>2]|0)==1?100:0;X=$+(j+5)|0;X=d[X>>0]<<8|d[X+1>>0];Tt(Z+X|0,$+X|0,(c[k+36>>2]|0)-X|0)|0;Tt(Z+_|0,$+j|0,(e[n+22>>1]<<1)+(e[n+18>>1]|0)|0)|0;a[ca>>0]=0;j=$g(ca)|0;if(j|0){c[la>>2]=j;break}if(!(a[k+17>>0]|0))j=c[la>>2]|0;else{j=yh(ca)|0;c[la>>2]=j}if(j|0)break;c[la>>2]=Tn(c[m>>2]|0,n,c[n+4>>2]|0)|0}else Y=421;while(0);do if((Y|0)==421){Y=0;if(U&(W<<16>>16==0&(a[T>>0]|0)!=0))j=0;else break;do{ca=c[La+(j<<2)>>2]|0;_=c[ca+56>>2]|0;zh($,d[_+9>>0]<<16|d[_+8>>0]<<24|d[_+10>>0]<<8|d[_+11>>0],5,c[ca+4>>2]|0,la);j=j+1|0}while((j|0)!=(i|0))}while(0);if((i|0)>(h|0)){h=i;break a}m=i;j=c[la>>2]|0;while(1){k=c[za+(m<<2)>>2]|0;if(!j){j=Tn(c[k+52>>2]|0,k,c[k+4>>2]|0)|0;c[la>>2]=j}if((m|0)<(h|0))m=m+1|0;else{h=i;break a}}}while(0);if((Y|0)==127){Y=0;c[ya>>2]=0}c[la>>2]=7;h=0;break}}else Y=105;while(0);if((Y|0)==105){Vt(za|0,0,(h<<2)+4|0)|0;h=0}i=c[ya>>2]|0;do if(i)if(!(c[2]|0)){pb[c[56>>2]&255](i);j=0;break}else{j=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);j=0;break}else j=0;while(0);do{i=c[za+(j<<2)>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{ca=c[i+20>>2]|0;$=ca+120|0;c[$>>2]=(c[$>>2]|0)+-1;ca=ca+136|0;c[i+16>>2]=c[ca>>2];c[ca>>2]=i;break}}while(0);j=j+1|0}while((j|0)!=(aa|0));if((h|0)>0){j=0;do{i=c[La+(j<<2)>>2]|0;do if(i|0){i=c[i+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{ca=c[i+20>>2]|0;aa=ca+120|0;c[aa>>2]=(c[aa>>2]|0)+-1;ca=ca+136|0;c[i+16>>2]=c[ca>>2];c[ca>>2]=i;break}}while(0);j=j+1|0}while((j|0)!=(h|0))}h=c[la>>2]|0}if(g){ca=g;if(ca>>>0>=(c[11662]|0)>>>0&ca>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;g=(c[11666]|0)+1|0;c[11666]=g;c[11667]=(g|0)<(c[11661]|0)&1;g=ba;break}ca=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-ca;if(!(c[2]|0)){pb[c[56>>2]&255](g);g=ba;break}else{ca=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-ca;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);g=ba;break}}else g=ba}while(0);a[p>>0]=0;do if(q|0){i=c[q+72>>2]|0;if(!(b[i+28>>1]&32)){Kg(i);break}else{ca=c[i+20>>2]|0;ba=ca+120|0;c[ba>>2]=(c[ba>>2]|0)+-1;ca=ca+136|0;c[i+16>>2]=c[ca>>2];c[ca>>2]=i;break}}while(0);i=(a[na>>0]|0)+-1<<24>>24;a[na>>0]=i;q=c[f+120+(i<<24>>24<<2)>>2]|0;c[qa>>2]=q}while(!(h|0));if(!g){l=Ya;return h|0}Xa=g;if(Xa>>>0>=(c[11662]|0)>>>0&Xa>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;Xa=(c[11666]|0)+1|0;c[11666]=Xa;c[11667]=(Xa|0)<(c[11661]|0)&1;l=Ya;return h|0}Xa=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-Xa;if(!(c[2]|0)){pb[c[56>>2]&255](g);l=Ya;return h|0}else{Xa=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-Xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);l=Ya;return h|0}return 0}function ro(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;x=l;l=l+16|0;r=x;v=d[f+9>>0]|0;w=c[f+56>>2]|0;q=c[f+52>>2]|0;p=c[q+36>>2]|0;j=w+p|0;k=c[f+64>>2]|0;q=c[(c[q>>2]|0)+204>>2]|0;s=w+(v+5)|0;t=s+1|0;u=(d[s>>0]|0)<<8|(d[t>>0]|0);Tt(q+u|0,w+u|0,p-u|0)|0;u=w;a:do if((g|0)>0){m=j;n=0;while(1){o=c[h+(n<<2)>>2]|0;p=i+(n<<1)|0;m=m+(0-(e[p>>1]|0))|0;y=m-u|0;a[k>>0]=y>>>8;a[k+1>>0]=y;k=k+2|0;if(m>>>0>>0)break;Tt(m|0,(o>>>0>=w>>>0&o>>>0>>0?q+(o-u)|0:o)|0,e[p>>1]|0|0)|0;n=n+1|0;if((n|0)>=(g|0)){j=m;break a}}c[r>>2]=21258;c[r+4>>2]=66718;c[r+8>>2]=17052;Bc(11,17e3,r);y=11;l=x;return y|0}while(0);r=f+22|0;b[r>>1]=g;a[f+12>>0]=0;y=w+(v+1)|0;a[y>>0]=0;a[y+1>>0]=0;y=w+(v+3)|0;a[y>>0]=(e[r>>1]|0)>>>8;a[y+1>>0]=b[r>>1];y=j-u|0;a[s>>0]=y>>>8;a[t>>0]=y;a[w+(v+7)>>0]=0;y=0;l=x;return y|0}function so(a,d){a=a|0;d=d|0;var e=0;e=c[a+4>>2]|0;e=kb[c[e+76>>2]&255](e,c[(c[a+8>>2]|0)+(d<<2)>>2]|0)|0;b[(c[a+12>>2]|0)+(d<<1)>>1]=e;return e|0}function to(a,b,f,g){a=a|0;b=b|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=c[a+56>>2]|0;o=r+(c[(c[a+52>>2]|0)+36>>2]|0)|0;p=r+((d[a+9>>0]|0)+8+(d[a+10>>0]|0))|0;q=f+b|0;if((f|0)<=0){s=0;return s|0}n=g+8|0;l=g+12|0;m=r;k=0;f=0;g=0;while(1){j=c[(c[n>>2]|0)+(b<<2)>>2]|0;if(j>>>0>=p>>>0&j>>>0>>0){h=e[(c[l>>2]|0)+(b<<1)>>1]|0;i=j+h|0;if((g|0)!=(i|0)){if(g|0)wo(a,g-m&65535,f&65535)|0;if(i>>>0>o>>>0){f=0;s=13;break}else f=h}else f=h+f|0;h=k+1|0;g=j}else h=k;b=b+1|0;if((b|0)>=(q|0))break;else k=h}if((s|0)==13)return f|0;if(!g){s=h;return s|0}wo(a,g-r&65535,f&65535)|0;s=h;return s|0}function uo(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+32|0;r=t+16|0;p=t;n=b&255;k=n+1|0;b=f+k|0;m=e+-4|0;b=(d[b>>0]|0)<<8|(d[b+1>>0]|0);while(1){if((b|0)>(m|0)){s=12;break}i=f+(b+2)|0;j=i+1|0;o=(d[i>>0]|0)<<8|(d[j>>0]|0);q=o-g|0;o=o+b|0;if((q|0)>-1)break;i=f+b|0;i=(d[i>>0]|0)<<8|(d[i+1>>0]|0);if((i|0)<(o|0)){b=i;s=12;break}else{k=b;b=i}}if((s|0)==12){if(!b){f=0;l=t;return f|0}c[r>>2]=21258;c[r+4>>2]=61593;c[r+8>>2]=17052;Bc(11,17e3,r);c[h>>2]=11;f=0;l=t;return f|0}if((o|0)>(e|0)){c[p>>2]=21258;c[p+4>>2]=61570;c[p+8>>2]=17052;Bc(11,17e3,p);c[h>>2]=11;f=0;l=t;return f|0}do if((q|0)<4){i=f+(n+7)|0;if((d[i>>0]|0)>57){f=0;l=t;return f|0}else{j=f+k|0;s=f+b|0;s=d[s>>0]|d[s+1>>0]<<8;a[j>>0]=s;a[j+1>>0]=s>>8;j=i;i=(d[i>>0]|0)+q|0;break}}else{a[i>>0]=q>>>8;i=q}while(0);a[j>>0]=i;f=f+(q+b)|0;l=t;return f|0}function vo(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+64|0;F=G+48|0;y=G+32|0;x=G+16|0;j=G;D=c[f+56>>2]|0;E=d[f+9>>0]|0;z=e[f+18>>1]|0;k=b[f+22>>1]|0;u=k&65535;B=(u<<1)+z|0;v=f+52|0;w=c[(c[v>>2]|0)+36>>2]|0;C=D+(E+7)|0;do if((d[C>>0]|0)<=(g|0)?(q=D+(E+1)|0,q=d[q>>0]<<8|d[q+1>>0],(q|0)!=0):0){p=D+q|0;p=d[p>>0]<<8|d[p+1>>0];i=(p|0)==0;if(!i){if(a[D+p>>0]|0){A=16;break}if(a[D+(p+1)>>0]|0){A=16;break}}o=D+B|0;g=D+(q+2)|0;g=d[g>>0]<<8|d[g+1>>0];h=D+(E+5)|0;h=d[h>>0]<<8|d[h+1>>0];if(q>>>0<=h>>>0){c[j>>2]=21258;c[j+4>>2]=61466;c[j+8>>2]=17052;Bc(11,17e3,j);F=11;l=G;return F|0}if(i){m=g;n=0}else{n=D+(p+2)|0;n=d[n>>0]<<8|d[n+1>>0];m=g+q|0;Ut(D+(n+m)|0,D+m|0,p-m|0)|0;m=n+g|0}g=m+h|0;Ut(D+g|0,D+h|0,q-h|0)|0;if(k<<16>>16){i=D+z|0;do{j=i+1|0;k=d[i>>0]<<8|d[j>>0];if(k>>>0>=q>>>0){if(k>>>0

    >>0){h=n;A=14}}else{h=m;A=14}if((A|0)==14){A=0;z=h+k|0;a[i>>0]=z>>>8;a[j>>0]=z}i=i+2|0}while(i>>>0>>0)}}else A=16;while(0);if((A|0)==16){t=w+-4|0;a:do if(k<<16>>16){q=f+76|0;r=D+(E+5)|0;s=r+1|0;p=0;i=0;h=D;j=w;while(1){k=D+((p<<1)+z)|0;m=k+1|0;n=d[k>>0]<<8|d[m>>0];if(n>>>0>>0|(n|0)>(t|0)){A=19;break}o=(kb[c[q>>2]&255](f,h+n|0)|0)&65535;g=j-o|0;if((g|0)<(B|0)|(o+n|0)>(w|0)){A=21;break}a[k>>0]=g>>>8;a[m>>0]=g;if(!i)if((g|0)==(n|0))i=0;else{h=c[(c[c[v>>2]>>2]|0)+204>>2]|0;i=d[r>>0]<<8|d[s>>0];Tt(h+i|0,D+i|0,j-i|0)|0;i=h;A=25}else A=25;if((A|0)==25){A=0;Tt(D+g|0,h+n|0,o|0)|0}p=p+1|0;if((p|0)>=(u|0))break a;else j=g}if((A|0)==19){c[x>>2]=21258;c[x+4>>2]=61500;c[x+8>>2]=17052;Bc(11,17e3,x);F=11;l=G;return F|0}else if((A|0)==21){c[y>>2]=21258;c[y+4>>2]=61506;c[y+8>>2]=17052;Bc(11,17e3,y);F=11;l=G;return F|0}}else g=w;while(0);a[C>>0]=0}h=g-B|0;if((h+(d[C>>0]|0)|0)==(e[f+20>>1]|0)){F=D+(E+5)|0;a[F>>0]=g>>>8;a[F+1>>0]=g;a[D+(E+1)>>0]=0;a[D+(E+2)>>0]=0;Vt(D+B|0,0,h|0)|0;F=0;l=G;return F|0}else{c[F>>2]=21258;c[F+4>>2]=61526;c[F+8>>2]=17052;Bc(11,17e3,F);F=11;l=G;return F|0}return 0}function wo(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0;F=l;l=l+112|0;C=F+96|0;z=F+80|0;w=F+64|0;r=F+48|0;p=F+32|0;m=F+16|0;k=F;x=g&65535;D=h&65535;t=D+x|0;E=c[f+56>>2]|0;A=d[f+9>>0]|0;B=A+1|0;i=B&65535;if((a[E+(A+2)>>0]|0)==0?(a[E+B>>0]|0)==0:0){p=t;n=i;q=0;o=0}else{n=i;u=3}do if((u|0)==3){while(1){v=n&65535;j=E+v|0;q=a[j+1>>0]|0;s=q&255;j=d[j>>0]<<8|s;o=j&65535;if(j>>>0>=x>>>0){u=8;break}if(j>>>0<(v+4|0)>>>0){u=5;break}else{n=o;u=3}}do if((u|0)==5){if(!j){j=0;k=c[(c[f+52>>2]|0)+36>>2]|0;break}c[k>>2]=21258;c[k+4>>2]=61731;c[k+8>>2]=17052;Bc(11,17e3,k);E=11;l=F;return E|0}else if((u|0)==8){i=c[(c[f+52>>2]|0)+36>>2]|0;if(j>>>0>(i+-4|0)>>>0){c[m>>2]=21258;c[m+4>>2]=61736;c[m+8>>2]=17052;Bc(11,17e3,m);E=11;l=F;return E|0}else k=i}while(0);o=(o&65535)>>>8&255;do if((j+-1|0)>>>0<(t+3|0)>>>0){if(t>>>0>j>>>0){c[p>>2]=21258;c[p+4>>2]=61748;c[p+8>>2]=17052;Bc(11,17e3,p);E=11;l=F;return E|0}i=E+(j+2)|0;i=(d[i>>0]<<8|d[i+1>>0])+j|0;if(i>>>0<=k>>>0){o=E+j|0;p=i;h=i-x&65535;i=s-t&255;q=a[o+1>>0]|0;o=a[o>>0]|0;break}c[r>>2]=21258;c[r+4>>2]=61751;c[r+8>>2]=17052;Bc(11,17e3,r);E=11;l=F;return E|0}else{p=t;i=0}while(0);do if(v>>>0>B>>>0?(y=E+(v+2)|0,y=(d[y>>0]<<8|d[y+1>>0])+v|0,(y+3|0)>>>0>=x>>>0):0){if(x>>>0>=y>>>0){g=n;h=p-v&65535;i=(i&255)+x-y&255;break}c[w>>2]=21258;c[w+4>>2]=61764;c[w+8>>2]=17052;Bc(11,17e3,w);E=11;l=F;return E|0}while(0);j=E+(A+7)|0;k=a[j>>0]|0;if((k&255)>=(i&255)){a[j>>0]=(k&255)-(i&255);break}c[z>>2]=21258;c[z+4>>2]=61770;c[z+8>>2]=17052;Bc(11,17e3,z);E=11;l=F;return E|0}while(0);i=A+5|0;k=E+i|0;j=d[k>>0]<<8|d[k+1>>0];m=g&65535;do if(m>>>0>j>>>0){i=n&65535;a[E+i>>0]=(g&65535)>>>8;j=g&255}else{if((n&65535|0)==(B|0)&m>>>0>=j>>>0){j=E+B|0;a[j>>0]=o;a[j+1>>0]=q;a[k>>0]=p>>>8;j=p&255;break}c[C>>2]=21258;c[C+4>>2]=61778;c[C+8>>2]=17052;Bc(11,17e3,C);E=11;l=F;return E|0}while(0);a[E+i+1>>0]=j;i=E+m|0;if(b[(c[f+52>>2]|0)+22>>1]&12)Vt(i|0,0,h&65535|0)|0;a[i>>0]=o;a[E+m+1>>0]=q;E=E+(m+2)|0;a[E>>0]=(h&65535)>>>8;a[E+1>>0]=h;E=f+20|0;b[E>>1]=(e[E>>1]|0)+D;E=0;l=F;return E|0}function xo(a,d){a=a|0;d=d|0;var e=0;e=c[a+8>>2]|0;if(!(b[e+8>>1]&8192)){e=cf(a,d)|0;return e|0}else{e=c[e+16>>2]|0;return e|0}return 0}function yo(a){a=a|0;if(!a){a=0;return a|0}if(!(c[a+104>>2]|0)){a=0;return a|0}a=e[a+140>>1]|0;return a|0}function zo(b,d){b=b|0;d=d|0;var f=0,g=0;if(!b){g=ff(424)|0;return g|0}f=c[b+104>>2]|0;if((f|0)!=0?(e[b+140>>1]|0)>>>0>d>>>0:0){d=f+(d*40|0)|0;f=b}else{d=c[b>>2]|0;c[d+56>>2]=25;dg(d,25);d=424;f=b}g=ff(d)|0;f=c[f>>2]|0;b=b+40|0;d=c[b>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);d=7}else d=c[f+60>>2]&d;c[b>>2]=d;return g|0}function Ao(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0;j=(b|0)==0;do if(j)f=424;else{f=c[b+104>>2]|0;if(f|0?(e[b+140>>1]|0)>>>0>d>>>0:0){f=f+(d*40|0)|0;break}f=c[b>>2]|0;c[f+56>>2]=25;dg(f,25);f=424}while(0);g=e[f+8>>1]|0;if((g&2|0)!=0?(a[f+10>>0]|0)==1:0)h=c[f+12>>2]|0;else i=9;do if((i|0)==9)if(!(g&16)){if(g&1|0){h=0;break}h=Ue(f,1)|0;break}else{d=c[f+12>>2]|0;if(!(g&16384)){h=d;break}h=(c[f>>2]|0)+d|0;break}while(0);if(j)return h|0;f=c[b>>2]|0;g=b+40|0;d=c[g>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);d=7}else d=c[f+60>>2]&d;c[g>>2]=d;return h|0}function Bo(b,d){b=b|0;d=d|0;var f=0,g=0,i=0.0;g=(b|0)==0;do if(g)d=424;else{f=c[b+104>>2]|0;if(f|0?(e[b+140>>1]|0)>>>0>d>>>0:0){d=f+(d*40|0)|0;break}d=c[b>>2]|0;c[d+56>>2]=25;dg(d,25);d=424}while(0);f=e[d+8>>1]|0;do if(!(f&8)){if(f&4|0){f=d;i=+((c[f>>2]|0)>>>0)+4294967296.0*+(c[f+4>>2]|0);break}if(!(f&18))i=0.0;else i=+Ic(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)}else i=+h[d>>3];while(0);if(g)return +i;f=c[b>>2]|0;g=b+40|0;d=c[g>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);d=7}else d=c[f+60>>2]&d;c[g>>2]=d;return +i}function Co(b,d){b=b|0;d=d|0;var f=0,g=0,i=0;g=(b|0)==0;do if(g)d=424;else{f=c[b+104>>2]|0;if(f|0?(e[b+140>>1]|0)>>>0>d>>>0:0){d=f+(d*40|0)|0;break}d=c[b>>2]|0;c[d+56>>2]=25;dg(d,25);d=424}while(0);f=e[d+8>>1]|0;do if(!(f&4)){if(f&8|0){i=Gc(+h[d>>3])|0;break}if(!(f&18))i=0;else i=Hc(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)|0}else i=c[d>>2]|0;while(0);if(g)return i|0;f=c[b>>2]|0;g=b+40|0;d=c[g>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);d=7}else d=c[f+60>>2]&d;c[g>>2]=d;return i|0}function Do(b,d){b=b|0;d=d|0;var f=0,g=0,i=0,j=0;g=(b|0)==0;do if(g)d=424;else{f=c[b+104>>2]|0;if(f|0?(e[b+140>>1]|0)>>>0>d>>>0:0){d=f+(d*40|0)|0;break}d=c[b>>2]|0;c[d+56>>2]=25;dg(d,25);d=424}while(0);f=e[d+8>>1]|0;do if(!(f&4)){if(f&8|0){j=Gc(+h[d>>3])|0;i=z;break}if(!(f&18)){i=0;j=0}else{j=Hc(a[d+10>>0]|0,c[d+12>>2]|0,c[d+16>>2]|0)|0;i=z}}else{j=d;i=c[j+4>>2]|0;j=c[j>>2]|0}while(0);if(g){z=i;return j|0}f=c[b>>2]|0;g=b+40|0;d=c[g>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);d=7}else d=c[f+60>>2]&d;c[g>>2]=d;z=i;return j|0}function Eo(f,g){f=f|0;g=g|0;var h=0,i=0,j=0;i=(f|0)==0;do if(i)g=424;else{h=c[f+104>>2]|0;if(h|0?(e[f+140>>1]|0)>>>0>g>>>0:0){g=h+(g*40|0)|0;break}g=c[f>>2]|0;c[g+56>>2]=25;dg(g,25);g=424}while(0);j=d[19034+(b[g+8>>1]&31)>>0]|0;if(i)return j|0;h=c[f>>2]|0;i=f+40|0;g=c[i>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[i>>2]=g;return j|0}function Fo(b,d){b=b|0;d=d|0;var f=0,g=0,h=0;h=c[b>>2]|0;if(!b){h=0;return h|0}if((e[b+140>>1]|0)>>>0<=d>>>0){h=0;return h|0}g=c[b+100>>2]|0;b=g+(d*40|0)|0;do if(b){f=e[g+(d*40|0)+8>>1]|0;if((f&514|0)==514?(a[g+(d*40|0)+10>>0]|0)==1:0){b=c[g+(d*40|0)+16>>2]|0;break}if(!(f&1))b=Jc(b,1)|0;else b=0}else b=0;while(0);f=h+73|0;if(!(a[f>>0]|0)){h=b;return h|0}if(c[h+172>>2]|0){h=0;return h|0}a[f>>0]=0;c[h+256>>2]=0;h=h+264|0;c[h>>2]=(c[h>>2]|0)+-1;h=0;return h|0}function Go(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0;h=Ho(b,d)|0;if(h|0){switch(g|0){case 0:case -1:{b=h;return b|0}default:{}}pb[g&255](e);b=h;return b|0}if(!e){b=0;return b|0}e=Ve((c[b+116>>2]|0)+((d+-1|0)*40|0)|0,e,f,0,g)|0;if(!e){b=0;return b|0}d=c[b>>2]|0;c[d+56>>2]=e;dg(d,e);d=c[b>>2]|0;if((e|0)==3082|(a[d+73>>0]|0)!=0){Th(d);b=7;return b|0}else{b=c[d+60>>2]&e;return b|0}return 0}function Ho(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+64|0;i=m+40|0;k=m+32|0;j=m+16|0;h=m+8|0;do if(!e)Bc(21,22046,m);else{g=c[e>>2]|0;if(!g){Bc(21,21366,h);break}if((c[e+20>>2]|0)==770837923?(c[e+36>>2]|0)<=-1:0){if((f|0)>=1?(b[e+16>>1]|0)>=(f|0):0){i=f+-1|0;k=c[e+116>>2]|0;f=k+(i*40|0)|0;h=k+(i*40|0)+8|0;if(!((b[h>>1]&9312)==0?(c[k+(i*40|0)+24>>2]|0)==0:0)){af(f);g=c[e>>2]|0}b[h>>1]=1;c[g+56>>2]=0;if(c[g+248>>2]|0)dg(g,0);g=c[e+204>>2]|0;if(!g){e=0;l=m;return e|0}if(!(g&((i|0)>30?-2147483648:1<>0]|d[e+1>>0]<<8|1;a[e>>0]=k;a[e+1>>0]=k>>8;e=0;l=m;return e|0}c[g+56>>2]=25;dg(g,25);e=25;l=m;return e|0}c[g+56>>2]=21;dg(g,21);c[k>>2]=c[e+184>>2];Bc(21,39095,k);c[i>>2]=17025;c[i+4>>2]=78576;c[i+8>>2]=17052;Bc(21,17e3,i);e=21;l=m;return e|0}while(0);c[j>>2]=17025;c[j+4>>2]=78568;c[j+8>>2]=17052;Bc(21,17e3,j);e=21;l=m;return e|0}function Io(a,d,e){a=a|0;d=d|0;e=+e;var f=0,g=0,i=0,j=0,k=0;j=l;l=l+16|0;f=j+8|0;g=j;i=Ho(a,d)|0;if(i|0){l=j;return i|0}k=c[a+116>>2]|0;d=d+-1|0;a=k+(d*40|0)|0;d=k+(d*40|0)+8|0;if(!(b[d>>1]&9312))b[d>>1]=1;else Ye(a);h[f>>3]=e;h[g>>3]=+h[f>>3];if(+h[f>>3]!=+h[g>>3]){l=j;return i|0}h[a>>3]=e;b[d>>1]=8;l=j;return i|0}function Jo(a,d,e){a=a|0;d=d|0;e=e|0;var f=0,g=0,h=0;f=((e|0)<0)<<31>>31;g=Ho(a,d)|0;if(g|0)return g|0;h=c[a+116>>2]|0;d=d+-1|0;a=h+(d*40|0)|0;d=h+(d*40|0)+8|0;if(!(b[d>>1]&9312)){h=a;c[h>>2]=e;c[h+4>>2]=f;b[d>>1]=4;return g|0}else{Xe(a,e,f);return g|0}return 0}function Ko(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return Lo(a,b,c,d,e,1)|0}function Lo(d,e,f,g,h,i){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0;j=Ho(d,e)|0;if(j|0){switch(h|0){case 0:case -1:{d=j;return d|0}default:{}}pb[h&255](f);d=j;return d|0}if(!f){d=0;return d|0}m=c[d+116>>2]|0;k=e+-1|0;l=m+(k*40|0)|0;e=Ve(l,f,g,i,h)|0;do if(!(i<<24>>24==0|(e|0)!=0)){j=a[(c[d>>2]|0)+70>>0]|0;if(!(b[m+(k*40|0)+8>>1]&2)){d=0;return d|0}if((a[m+(k*40|0)+10>>0]|0)==j<<24>>24){d=0;return d|0}else{e=Of(l,j)|0;break}}while(0);if(!e){d=0;return d|0}j=c[d>>2]|0;c[j+56>>2]=e;dg(j,e);j=c[d>>2]|0;if((e|0)==3082|(a[j+73>>0]|0)!=0){Th(j);d=7;return d|0}else{d=c[j+60>>2]&e;return d|0}return 0}function Mo(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,i=0,j=0,k=0.0,m=0,n=0;n=l;l=l+16|0;i=n+8|0;j=n;g=b[f+8>>1]|0;switch(a[19034+(g&31)>>0]|0){case 1:{j=f;i=c[j>>2]|0;j=c[j+4>>2]|0;g=Ho(d,e)|0;if(g|0){e=g;l=n;return e|0}d=c[d+116>>2]|0;f=e+-1|0;g=d+(f*40|0)|0;f=d+(f*40|0)+8|0;if(!(b[f>>1]&9312)){e=g;c[e>>2]=i;c[e+4>>2]=j;b[f>>1]=4;e=0;l=n;return e|0}else{Xe(g,i,j);e=0;l=n;return e|0}}case 2:{k=+h[f>>3];g=Ho(d,e)|0;if(g|0){e=g;l=n;return e|0}d=c[d+116>>2]|0;f=e+-1|0;g=d+(f*40|0)|0;f=d+(f*40|0)+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else Ye(g);h[i>>3]=k;h[j>>3]=+h[i>>3];if(+h[i>>3]!=+h[j>>3]){e=0;l=n;return e|0}h[g>>3]=k;b[f>>1]=8;e=0;l=n;return e|0}case 4:{if(g&16384){m=c[f>>2]|0;g=Ho(d,e)|0;if(g|0){e=g;l=n;return e|0}j=c[d+116>>2]|0;g=e+-1|0;f=j+(g*40|0)|0;i=j+(g*40|0)+8|0;if(!((b[i>>1]&9312)==0?!(c[j+(g*40|0)+24>>2]|0):0))af(f);b[i>>1]=16400;c[j+(g*40|0)+12>>2]=0;c[f>>2]=(m|0)>0?m:0;a[j+(g*40|0)+10>>0]=1;c[j+(g*40|0)+16>>2]=0;e=0;l=n;return e|0}i=c[f+16>>2]|0;g=c[f+12>>2]|0;f=Ho(d,e)|0;if(f|0){e=f;l=n;return e|0}if(!i){e=0;l=n;return e|0}f=Ve((c[d+116>>2]|0)+((e+-1|0)*40|0)|0,i,g,0,-1)|0;if(!f){e=0;l=n;return e|0}g=c[d>>2]|0;c[g+56>>2]=f;dg(g,f);g=c[d>>2]|0;if((f|0)==3082|(a[g+73>>0]|0)!=0){Th(g);e=7;l=n;return e|0}else{e=c[g+60>>2]&f;l=n;return e|0}}case 3:{e=Lo(d,e,c[f+16>>2]|0,c[f+12>>2]|0,-1,a[f+10>>0]|0)|0;l=n;return e|0}default:{e=Ho(d,e)|0;l=n;return e|0}}return 0}function No(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;if(!d){i=0;return i|0}h=(As(d)|0)&1073741823;if(!b){i=0;return i|0}g=c[b+120>>2]|0;if(!g){i=0;return i|0}f=c[g+4>>2]|0;b=2;while(1){e=g+(b+2<<2)|0;if((Ms(e,d,h)|0)==0?(a[e+h>>0]|0)==0:0)break;b=(c[g+(b+1<<2)>>2]|0)+b|0;if((b|0)>=(f|0)){b=0;i=9;break}}if((i|0)==9)return b|0;i=c[g+(b<<2)>>2]|0;return i|0}function Oo(f){f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;k=o+8|0;m=o;n=f+8|0;g=b[n>>1]&31;if((g|16|0)!=18){n=d[19034+g>>0]|0;l=o;return n|0}g=a[f+10>>0]|0;i=f+16|0;j=f+12|0;if(!(df(c[i>>2]|0,k,c[j>>2]|0,g)|0))g=b[n>>1]|0;else{j=(ef(c[i>>2]|0,m,c[j>>2]|0,g)|0)==0;i=e[n>>1]|0;if(j){k=m;m=c[k+4>>2]|0;g=f;c[g>>2]=c[k>>2];c[g+4>>2]=m;g=4}else{h[f>>3]=+h[k>>3];g=8}g=(g|i)&65535;b[n>>1]=g}n=d[19034+(g&31)>>0]|0;l=o;return n|0}function Po(f,g,h,i,j,k,m,n){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0;da=l;l=l+528|0;ca=da+40|0;Y=da+32|0;_=da+24|0;Z=da+16|0;X=da+8|0;W=da;aa=da+520|0;ba=da+48|0;c[aa>>2]=0;c[n>>2]=0;T=(m|0)!=0;U=T&1;$=(f|0)==0;do if($){if(!(c[2]|0)){m=jb[c[52>>2]&255](32)|0;q=22;break}m=jb[c[68>>2]&255](32)|0;if((c[11829]|0)>>>0<32)c[11829]=32;p=46456;o=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&o>>>0>0){R=c[11822]|0;S=Gt(o|0,p|0,m|0,((m|0)<0)<<31>>31|0)|0;Q=z;c[11616]=(0>(Q|0)|0==(Q|0)&R>>>0>=S>>>0)&1}m=jb[c[52>>2]&255](m)|0;if(m){o=jb[c[64>>2]&255](m)|0;o=(c[11822]|0)+o|0;c[11822]=o;if(o>>>0>(c[11826]|0)>>>0)c[11826]=o;o=(c[11825]|0)+1|0;c[11825]=o;if(o>>>0>(c[11831]|0)>>>0){c[11831]=o;q=23}else q=23}else N=0}else{if(c[f+264>>2]|0){if(a[f+73>>0]|0){N=0;break}}else{if((e[f+268>>1]|0)>=32){o=f+292|0;m=c[o>>2]|0;if(m|0){c[o>>2]=c[m>>2];q=f+276|0;c[q>>2]=(c[q>>2]|0)+1;q=22;break}o=f+288|0;m=c[o>>2]|0;if(!m)m=2;else{c[o>>2]=c[m>>2];q=f+276|0;c[q>>2]=(c[q>>2]|0)+1;q=22;break}}else m=1;S=f+276+(m<<2)|0;c[S>>2]=(c[S>>2]|0)+1}m=Ec(f,32,0)|0;q=22}while(0);if((q|0)==22)if(!m)N=0;else q=23;if((q|0)==23){o=m;p=o+32|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(p|0));N=m}L=(N|0)!=0;B=f+20|0;C=f+16|0;D=N+28|0;E=N+24|0;F=f+28|0;M=N+16|0;G=N+8|0;H=N+20|0;O=f+73|0;I=ba+396|0;J=ba+44|0;K=ba+40|0;P=f+464|0;Q=f+296|0;R=f+300|0;S=f+292|0;A=0;o=0;while(1){Vt(ba|0,0,472)|0;if(!L){q=96;break}c[ba>>2]=f;m=c[aa>>2]|0;do if(m|0){if(!$){if(c[P>>2]|0){Lc(f,m);break}y=m;if(y>>>0>=(c[Q>>2]|0)>>>0?y>>>0<(c[R>>2]|0)>>>0:0){c[m>>2]=c[S>>2];c[S>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{y=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[aa>>2]=0;p=c[B>>2]|0;if((p|0)>0){q=c[C>>2]|0;m=0;do{r=c[q+(m<<4)+4>>2]|0;if(r|0)c[(c[r+4>>2]|0)+4>>2]=c[r>>2];m=m+1|0}while((m|0)!=(p|0))}y=oj(ba,0,h,g)|0;if(!y){q=48;break}if(c[y+56>>2]|0){q=43;break}if(c[y+36>>2]&32|0){q=45;break}if(c[y+12>>2]|0){q=47;break}c[D>>2]=y;q=c[C>>2]|0;w=y+72|0;p=c[w>>2]|0;if(!p)m=-1e6;else{m=0;while(1)if((c[q+(m<<4)+12>>2]|0)==(p|0))break;else m=m+1|0}c[E>>2]=c[q+(m<<4)>>2];x=y+42|0;v=b[x>>1]|0;a:do if(v<<16>>16>0){s=c[y+4>>2]|0;t=d[17324+(d[i>>0]|0)>>0]|0;u=v<<16>>16;m=0;while(1){q=c[s+(m<<4)>>2]|0;r=a[q>>0]|0;p=(d[17324+(r&255)>>0]|0)-t|0;if(!(r<<24>>24==0|(p|0)!=0)){r=i;do{q=q+1|0;r=r+1|0;ea=a[q>>0]|0;p=(d[17324+(ea&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(ea<<24>>24==0|(p|0)!=0))}if(!p){u=m;break a}m=m+1|0;if((m|0)>=(u|0)){u=m;break}}}else u=0;while(0);if((u|0)==(v<<16>>16|0)){q=59;break}if(T){if((c[F>>2]&16384|0)!=0?(V=c[y+16>>2]|0,(V|0)!=0):0){r=V;m=0;do{q=c[r+20>>2]|0;if((q|0)>0){p=0;do{m=(c[r+36+(p<<3)>>2]|0)==(u|0)?39243:m;p=p+1|0}while((p|0)<(q|0))}r=c[r+4>>2]|0}while((r|0)!=0);p=m}else p=0;m=c[y+8>>2]|0;if(!m)m=p;else{do{q=b[m+50>>1]|0;if(q<<16>>16){s=c[m+4>>2]|0;r=q&65535;q=0;do{ea=b[s+(q<<1)>>1]|0;p=ea<<16>>16==-2|(ea<<16>>16|0)==(u|0)?39255:p;q=q+1|0}while((q|0)<(r|0))}m=c[m+20>>2]|0}while((m|0)!=0);m=p}if(m|0){q=72;break}}t=yi(ba)|0;c[M>>2]=t;do if(t|0){q=c[w>>2]|0;if(!q)s=-1e6;else{p=c[C>>2]|0;m=0;while(1)if((c[p+(m<<4)+12>>2]|0)==(q|0)){s=m;break}else m=m+1|0}p=c[q>>2]|0;q=c[q+4>>2]|0;r=t+136|0;m=c[r>>2]|0;if((c[(c[t+12>>2]|0)+48>>2]|0)>(m|0)){c[r>>2]=m+1;ea=c[t+88>>2]|0;a[ea+(m*20|0)>>0]=2;b[ea+(m*20|0)+2>>1]=0;c[ea+(m*20|0)+4>>2]=s;c[ea+(m*20|0)+8>>2]=U;c[ea+(m*20|0)+12>>2]=p;c[ea+(m*20|0)+16>>2]=0;a[ea+(m*20|0)+1>>0]=0}else m=zi(t,2,s,U,p)|0;if(!(a[(c[t>>2]|0)+73>>0]|0)){ea=c[t+88>>2]|0;a[ea+(m*20|0)+1>>0]=-3;c[ea+(m*20|0)+16>>2]=q}m=c[r>>2]|0;if((m|0)>0)b[(c[t+88>>2]|0)+((m+-1|0)*20|0)+2>>1]=1;p=Ci(t,6,39297)|0;m=1<>2]=c[ea>>2]|m;do if((s|0)!=1){if(!(a[(c[(c[(c[t>>2]|0)+16>>2]|0)+(s<<4)+4>>2]|0)+9>>0]|0))break;ea=t+152|0;c[ea>>2]=c[ea>>2]|m}while(0);if(a[O>>0]|0)break;c[p+4>>2]=s;m=y+28|0;c[p+8>>2]=c[m>>2];c[p+12>>2]=U;if((a[(c[t>>2]|0)+73>>0]|0)==0?(Ai(t,(c[t+88>>2]|0)+40|0,c[y>>2]|0,0),a[O>>0]|0):0)break;if(T)a[p+20>>0]=105;c[p+28>>2]=c[m>>2];c[p+32>>2]=s;a[p+21>>0]=-3;ea=b[x>>1]|0;c[p+36>>2]=ea+1;c[p+68>>2]=ea;b[I>>1]=0;c[J>>2]=1;c[K>>2]=1;Ei(t,ba)}while(0);b[G>>1]=u;c[H>>2]=f;if(a[O>>0]|0){q=95;break}o=Qo(N,j,k,aa)|0;A=A+1|0;if(!((A|0)<50&(o|0)==17)){q=95;break}else o=17}if((q|0)==43){c[W>>2]=h;hg(ba,39135,W);q=48}else if((q|0)==45){c[X>>2]=h;hg(ba,39165,X);q=48}else if((q|0)==47){c[Z>>2]=h;hg(ba,39201,Z);q=48}else if((q|0)==59){c[_>>2]=i;c[aa>>2]=Ff(f,39222,_)|0;o=1;q=98}else if((q|0)==72){c[Y>>2]=m;c[aa>>2]=Ff(f,39263,Y)|0;o=1;q=98}else if((q|0)==95)if(!o)q=96;else q=98;if((q|0)==48){m=ba+4|0;o=c[m>>2]|0;if(!o){o=1;q=98}else{c[aa>>2]=o;c[m>>2]=0;o=1;q=98}}else if((q|0)==96)if(!(a[O>>0]|0)){c[n>>2]=N;o=0}else{o=0;q=98}do if((q|0)==98)if(L){s=c[M>>2]|0;do if(s|0){t=s+20|0;m=c[t>>2]|0;if((m|0)<832317811)switch(m|0){case 770837923:{q=101;break}default:{}}else switch(m|0){case 832317811:{q=101;break}default:{}}if((q|0)==101)Sh(s)|0;q=c[s>>2]|0;Uf(q,s);r=c[s+4>>2]|0;p=s+8|0;m=c[p>>2]|0;if(!r)c[q+4>>2]=m;else{c[r+8>>2]=m;m=c[p>>2]|0}if(m|0)c[m+4>>2]=r;c[t>>2]=1443283912;c[s>>2]=0;if(q|0){if(c[q+464>>2]|0){Lc(q,s);break}ea=s;if(ea>>>0>=(c[q+296>>2]|0)>>>0?ea>>>0<(c[q+300>>2]|0)>>>0:0){ea=q+292|0;c[s>>2]=c[ea>>2];c[ea>>2]=s;break}}if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{ea=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);if(!$){if(c[P>>2]|0){Lc(f,N);break}ea=N;if(ea>>>0>=(c[Q>>2]|0)>>>0?ea>>>0<(c[R>>2]|0)>>>0:0){c[N>>2]=c[S>>2];c[S>>2]=N;break}}if(!(c[2]|0)){pb[c[56>>2]&255](N);break}else{ea=jb[c[64>>2]&255](N)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](N);break}}while(0);m=c[aa>>2]|0;c[ca>>2]=m;cg(f,o,m|0?17859:0,ca);do if(m|0){if(!$){if(c[P>>2]|0){Lc(f,m);break}ea=m;if(ea>>>0>=(c[Q>>2]|0)>>>0?ea>>>0<(c[R>>2]|0)>>>0:0){c[m>>2]=c[S>>2];c[S>>2]=m;break}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{ea=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ea;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);ig(ba);if((o|0)==3082|(a[O>>0]|0)!=0){Th(f);ea=7;l=da;return ea|0}else{ea=c[f+60>>2]&o;l=da;return ea|0}return 0}function Qo(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+32|0;o=r+16|0;n=r+8|0;p=r;q=f+16|0;m=c[q>>2]|0;j=c[m+92>>2]|0;b[j+48>>1]=4;j=j+40|0;c[j>>2]=g;c[j+4>>2]=h;j=m+36|0;if((c[j>>2]|0)>4){c[j>>2]=4;k=ri(m)|0}else k=qi(m)|0;if((k|0)!=100){j=c[q>>2]|0;if(!j){q=0;f=k;c[i>>2]=q;l=r;return f|0}k=Qh(j)|0;c[q>>2]=0;j=c[f+20>>2]|0;if(!k){q=n;c[q>>2]=g;c[q+4>>2]=h;q=Ff(j,39350,n)|0;f=1;c[i>>2]=q;l=r;return f|0}else{c[o>>2]=gl(j)|0;q=Ff(j,17859,o)|0;f=k;c[i>>2]=q;l=r;return f|0}}m=c[c[m+112>>2]>>2]|0;o=b[f+8>>1]|0;k=o&65535;if((e[m+58>>1]|0)>(o&65535)){j=c[m+88+(k<<2)>>2]|0;if(j>>>0>=12){c[f+4>>2]=c[m+88+((b[m+56>>1]|0)+k<<2)>>2];if(j>>>0>127)j=(j+-12|0)>>>1;else j=d[33340+j>>0]|0;c[f>>2]=j;q=c[m+40>>2]|0;c[f+12>>2]=q;f=q+1|0;a[f>>0]=a[f>>0]|16;a[(c[q+8>>2]|0)+11>>0]=1;q=0;f=0;c[i>>2]=q;l=r;return f|0}}else j=0;f=c[f+20>>2]|0;c[p>>2]=(j|0)==0?19143:(j|0)==7?19128:19120;f=Ff(f,39321,p)|0;Qh(c[q>>2]|0)|0;c[q>>2]=0;q=f;f=1;c[i>>2]=q;l=r;return f|0}function Ro(b,c,d,e){b=b|0;c=c|0;d=d|0;e=e|0;if((a[b>>0]|0)==1){e=Bh(b,c,d,e,0)|0;return e|0}else{e=To(b,c,d,e)|0;return e|0}return 0}function So(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;n=l;l=l+16|0;h=n;if(!b){c[h>>2]=17025;c[h+4>>2]=87176;c[h+8>>2]=17052;Bc(21,17e3,h);m=21;l=n;return m|0}k=c[b+20>>2]|0;i=b+16|0;j=c[i>>2]|0;if((f|e|0)>=0?(o=Ft(f|0,((f|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0,q=z,h=c[b>>2]|0,p=((h|0)<0)<<31>>31,!((q|0)>(p|0)|(q|0)==(p|0)&o>>>0>h>>>0)):0)if(j){h=c[b+12>>2]|0;q=c[h+8>>2]|0;c[(c[q+4>>2]|0)+4>>2]=c[q>>2];h=mb[g&255](h,(c[b+4>>2]|0)+f|0,e,d)|0;if((h|0)==4){g=j+20|0;b=c[g>>2]|0;if((b|0)<832317811)switch(b|0){case 770837923:{m=8;break}default:{}}else switch(b|0){case 832317811:{m=8;break}default:{}}if((m|0)==8)Sh(j)|0;e=c[j>>2]|0;Uf(e,j);f=c[j+4>>2]|0;d=j+8|0;b=c[d>>2]|0;if(!f)c[e+4>>2]=b;else{c[f+8>>2]=b;b=c[d>>2]|0}if(b|0)c[b+4>>2]=f;c[g>>2]=1443283912;c[j>>2]=0;do if(e){if(c[e+464>>2]|0){Lc(e,j);break}q=j;if(q>>>0>=(c[e+296>>2]|0)>>>0?q>>>0<(c[e+300>>2]|0)>>>0:0){q=e+292|0;c[j>>2]=c[q>>2];c[q>>2]=j}else m=20}else m=20;while(0);do if((m|0)==20)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{q=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[i>>2]=0}else c[j+40>>2]=h;c[k+56>>2]=h;if(!h)if(!(c[k+248>>2]|0))h=0;else{h=0;m=28}else m=28}else{h=4;m=25}else{h=1;m=25}if((m|0)==25){c[k+56>>2]=h;m=28}if((m|0)==28)dg(k,h);if((h|0)==3082|(a[k+73>>0]|0)!=0){Th(k);q=7;l=n;return q|0}else{q=c[k+60>>2]&h;l=n;return q|0}return 0}function To(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;i=j;g=a[b>>0]|0;if(!(g<<24>>24)){f=4;l=j;return f|0}if(g<<24>>24==4){g=c[b+64>>2]|0;if(g|0){f=g;l=j;return f|0}}else{a[b>>0]=0;h=b+56|0;g=b+48|0;g=Om(b,c[h>>2]|0,c[g>>2]|0,c[g+4>>2]|0,0,i)|0;if(g|0){f=g;l=j;return f|0}g=c[h>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{k=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[h>>2]=0;h=b+64|0;k=c[h>>2]|c[i>>2];c[h>>2]=k;if(k|0?(a[b>>0]|0)==1:0)a[b>>0]=2}k=Bh(b,d,e,f,0)|0;l=j;return k|0}function Uo(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;k=l;l=l+32|0;j=k+16|0;f=k;h=k+20|0;if(!b){c[f>>2]=17025;c[f+4>>2]=87274;c[f+8>>2]=17052;Bc(21,17e3,f);j=21;l=k;return j|0}i=c[b+20>>2]|0;if(!(c[b+16>>2]|0))f=4;else{f=Qo(b,d,e,h)|0;do if(f|0?(g=c[h>>2]|0,c[j>>2]=g,cg(i,f,g|0?17859:0,j),g|0):0){if(i|0){if(c[i+464>>2]|0){Lc(i,g);break}j=g;if(j>>>0>=(c[i+296>>2]|0)>>>0?j>>>0<(c[i+300>>2]|0)>>>0:0){j=i+292|0;c[g>>2]=c[j>>2];c[j>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0)}if((f|0)==3082|(a[i+73>>0]|0)!=0){Th(i);j=7;l=k;return j|0}else{j=c[i+60>>2]&f;l=k;return j|0}return 0}function Vo(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return si(a,b,c,128,0,d,e)|0}function Wo(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=l;l=l+48|0;f=i+16|0;h=i;g=i+32|0;c[g>>2]=e;do if((d|0)==1){d=c[b+344>>2]|0;if(!d){c[h>>2]=17025;c[h+4>>2]=127963;c[h+8>>2]=17052;Bc(21,17e3,h);break}b=(c[g>>2]|0)+(4-1)&~(4-1);h=c[b>>2]|0;c[g>>2]=b+4;a[(c[d>>2]|0)+16>>0]=h;h=0;l=i;return h|0}else{c[f>>2]=17025;c[f+4>>2]=127971;c[f+8>>2]=17052;Bc(21,17e3,f)}while(0);c[b+56>>2]=21;dg(b,21);h=21;l=i;return h|0}function Xo(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;h=m;c[h>>2]=f;switch(e|0){case 1e3:{j=(c[h>>2]|0)+(4-1)&~(4-1);k=c[j>>2]|0;c[h>>2]=j+4;c[c[b+16>>2]>>2]=k;k=0;l=m;return k|0}case 1001:{f=(c[h>>2]|0)+(4-1)&~(4-1);i=c[f>>2]|0;c[h>>2]=f+4;f=(c[h>>2]|0)+(4-1)&~(4-1);j=c[f>>2]|0;c[h>>2]=f+4;f=(c[h>>2]|0)+(4-1)&~(4-1);k=c[f>>2]|0;c[h>>2]=f+4;k=Yo(b,i,j,k)|0;l=m;return k|0}case 1002:{i=0;break}case 1003:{i=1;break}case 1004:{i=2;break}case 1005:{i=3;break}case 1006:{i=4;break}case 1007:{i=5;break}default:{k=1;l=m;return k|0}}f=(c[h>>2]|0)+(4-1)&~(4-1);e=c[f>>2]|0;c[h>>2]=f+4;f=(c[h>>2]|0)+(4-1)&~(4-1);j=c[f>>2]|0;c[h>>2]=f+4;h=b+28|0;f=c[h>>2]|0;if((e|0)<=0)if(!e){e=f&~c[6336+(i<<3)+4>>2];k=13}else e=f;else{e=c[6336+(i<<3)+4>>2]|f;k=13}if((k|0)==13)c[h>>2]=e;if((f|0)!=(e|0)?(g=c[b+4>>2]|0,g|0):0)do{k=g+145|0;b=d[k>>0]|d[k+1>>0]<<8|1;a[k>>0]=b;a[k+1>>0]=b>>8;g=c[g+8>>2]|0}while((g|0)!=0);if(!j){k=0;l=m;return k|0}c[j>>2]=(c[6336+(i<<3)+4>>2]&c[h>>2]|0)!=0&1;k=0;l=m;return k|0}function Yo(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;q=d+288|0;h=c[q>>2]|0;if(!h)i=0;else{i=0;do{h=c[h>>2]|0;i=i+1|0}while((h|0)!=0)}p=d+292|0;h=c[p>>2]|0;if(!h)h=0;else{j=0;do{h=c[h>>2]|0;j=j+1|0}while((h|0)!=0);h=j}m=d+272|0;if(((c[m>>2]|0)-(h+i)|0)>0){e=5;return e|0}n=d+264|0;o=d+270|0;do if(a[o>>0]|0?(k=c[d+296>>2]|0,k|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{l=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);l=f&-8;k=(l|0)<5?0:l;i=(g|0)>0?g:0;if(!((g|0)<1|(k|0)==0))if(!e){h=O(k,i)|0;g=Ft(h|0,((h|0)<0)<<31>>31|0,-1,-1)|0;f=z;do if(!(f>>>0>0|(f|0)==0&g>>>0>2147483390)){if(!(c[2]|0)){j=jb[c[52>>2]&255](h)|0;break}f=jb[c[68>>2]&255](h)|0;if((c[11829]|0)>>>0>>0)c[11829]=h;j=46456;h=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&h>>>0>0){r=c[11822]|0;g=Gt(h|0,j|0,f|0,((f|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&r>>>0>=g>>>0)&1}j=jb[c[52>>2]&255](f)|0;if(j){h=jb[c[64>>2]&255](j)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h}else j=0}else j=0;while(0);if(!j)h=0;else{h=j;i=(jb[c[64>>2]&255](j)|0)/(l|0)|0}}else h=e;else{h=0;k=0}j=d+296|0;c[j>>2]=h;c[q>>2]=0;c[p>>2]=0;b[d+268>>1]=k;if(!h){c[j>>2]=d;c[d+300>>2]=d;c[n>>2]=1;a[o>>0]=0;c[m>>2]=0;r=0;return r|0}c[m>>2]=i;if((i|0)>0){j=0;while(1){c[h>>2]=j;f=h+k|0;j=h;if((i|0)<=1)break;else{h=f;i=i+-1|0}}c[q>>2]=h;h=f}c[d+300>>2]=h;c[n>>2]=0;a[o>>0]=(e|0)==0&1;r=0;return r|0}function Zo(a){a=a|0;return c[a+92>>2]|0}function _o(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+32|0;q=r+24|0;h=r+8|0;g=r;if(!b){q=0;l=r;return q|0}p=b+88|0;f=c[p>>2]|0;a:do if((f|0)>=-264537850)if((f|0)<1266094736)switch(f|0){case -264537850:break a;default:{i=3;break a}}else switch(f|0){case 1266094736:break a;default:{i=3;break a}}else switch(f|0){case -1607883113:break;default:i=3}while(0);if((i|0)==3){c[g>>2]=22207;Bc(21,22162,g);c[h>>2]=17025;c[h+4>>2]=143548;c[h+8>>2]=17052;Bc(21,17e3,h);q=21;l=r;return q|0}if(a[b+80>>0]&8)mb[c[b+188>>2]&255](8,c[b+192>>2]|0,b,0)|0;n=b+20|0;i=c[n>>2]|0;b:do if((i|0)>0){j=b+16|0;g=c[j>>2]|0;f=0;do{h=c[g+(f<<4)+4>>2]|0;if(h|0)c[(c[h+4>>2]|0)+4>>2]=c[h>>2];f=f+1|0}while((f|0)!=(i|0));f=0;while(1){g=c[g+(f<<4)+12>>2]|0;if((g|0)!=0?(k=c[g+16>>2]|0,(k|0)!=0):0){g=k;do{h=c[g+8>>2]|0;if(c[h+56>>2]|0)$o(b,h);g=c[g>>2]|0}while((g|0)!=0);g=c[n>>2]|0}else g=i;f=f+1|0;if((f|0)>=(g|0))break b;i=g;g=c[j>>2]|0}}while(0);f=c[b+336>>2]|0;if(f|0)do{g=c[(c[f+8>>2]|0)+16>>2]|0;if(g|0)$o(b,g);f=c[f>>2]|0}while((f|0)!=0);m=b+352|0;g=c[m>>2]|0;c[m>>2]=0;if(g|0){f=c[b+4>>2]|0;if(f)do{m=f+145|0;k=d[m>>0]|d[m+1>>0]<<8|1;a[m>>0]=k;a[m+1>>0]=k>>8;f=c[f+8>>2]|0}while((f|0)!=0);do{f=g;g=c[g+24>>2]|0;h=c[f>>2]|0;k=f+12|0;m=(c[k>>2]|0)+-1|0;c[k>>2]=m;do if(!m){i=c[f+8>>2]|0;if(i|0)jb[c[(c[i>>2]|0)+16>>2]&255](i)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,f);break}m=f;if(m>>>0>=(c[h+296>>2]|0)>>>0?m>>>0<(c[h+300>>2]|0)>>>0:0){m=h+292|0;c[f>>2]=c[m>>2];c[m>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{m=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0)}while((g|0)!=0)}f=b+348|0;m=c[f>>2]|0;if(m|0){c[f>>2]=0;k=b+324|0;if((c[k>>2]|0)>0){i=0;do{j=c[m+(i<<2)>>2]|0;g=j+8|0;f=c[g>>2]|0;if(f|0?(o=c[(c[f>>2]|0)+68>>2]|0,o|0):0)jb[o&255](f)|0;c[j+20>>2]=0;h=c[j>>2]|0;s=j+12|0;f=(c[s>>2]|0)+-1|0;c[s>>2]=f;do if(!f){f=c[g>>2]|0;if(f|0)jb[c[(c[f>>2]|0)+16>>2]&255](f)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,j);break}s=j;if(s>>>0>=(c[h+296>>2]|0)>>>0?s>>>0<(c[h+300>>2]|0)>>>0:0){s=h+292|0;c[j>>2]=c[s>>2];c[s>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{s=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);i=i+1|0}while((i|0)<(c[k>>2]|0))}do if(!(c[b+464>>2]|0)){s=m;if(s>>>0>=(c[b+296>>2]|0)>>>0?s>>>0<(c[b+300>>2]|0)>>>0:0){s=b+292|0;c[m>>2]=c[s>>2];c[s>>2]=m;break}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{s=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}else Lc(b,m);while(0);c[k>>2]=0}c:do if(!e){d:do if(!(c[b+4>>2]|0)){g=c[n>>2]|0;if((g|0)<=0)break c;h=c[b+16>>2]|0;f=0;while(1){s=c[h+(f<<4)+4>>2]|0;if(s|0?c[s+16>>2]|0:0)break d;f=f+1|0;if((f|0)>=(g|0))break c}}while(0);cg(b,5,39375,q);s=5;l=r;return s|0}while(0);c[p>>2]=1691352191;Lh(b);s=0;l=r;return s|0}function $o(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;b=b+64|0;while(1){f=c[b>>2]|0;if(!f){e=16;break}d=f+24|0;if((c[f>>2]|0)==(a|0))break;else b=d}if((e|0)==16)return;c[b>>2]=c[d>>2];d=c[f>>2]|0;a=f+12|0;e=(c[a>>2]|0)+-1|0;c[a>>2]=e;if(e|0)return;b=c[f+8>>2]|0;if(b|0)jb[c[(c[b>>2]|0)+16>>2]&255](b)|0;if(d|0){if(c[d+464>>2]|0){Lc(d,f);return}e=f;if(e>>>0>=(c[d+296>>2]|0)>>>0?e>>>0<(c[d+300>>2]|0)>>>0:0){e=d+292|0;c[f>>2]=c[e>>2];c[e>>2]=f;return}}if(!(c[2]|0)){pb[c[56>>2]&255](f);return}else{e=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);return}}function ap(a){a=a|0;return _o(a,1)|0}function bp(b,d,e,f,g,h,i,j){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;d=yl(b,d,e,f,g,h,i,j,0)|0;if((d|0)==3082|(a[b+73>>0]|0)!=0){Th(b);b=7;return b|0}else{b=c[b+60>>2]&d;return b|0}return 0}function cp(b,d,f,g,h,i,j,k,l){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;l=l|0;var m=0,n=0,o=0,p=0,q=0,r=0;do if(l){q=(b|0)==0;do if(q){if(!(c[2]|0)){m=jb[c[52>>2]&255](12)|0;p=24;break}m=jb[c[68>>2]&255](12)|0;if((c[11829]|0)>>>0<12)c[11829]=12;o=46456;n=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)>0|(o|0)==0&n>>>0>0){r=c[11822]|0;o=Gt(n|0,o|0,m|0,((m|0)<0)<<31>>31|0)|0;n=z;c[11616]=(0>(n|0)|0==(n|0)&r>>>0>=o>>>0)&1}n=jb[c[52>>2]&255](m)|0;if(n){m=jb[c[64>>2]&255](n)|0;m=(c[11822]|0)+m|0;c[11822]=m;if(m>>>0>(c[11826]|0)>>>0)c[11826]=m;m=(c[11825]|0)+1|0;c[11825]=m;if(m>>>0>(c[11831]|0)>>>0)c[11831]=m}else p=25}else{if(c[b+264>>2]|0){if(a[b+73>>0]|0){p=25;break}}else{if((e[b+268>>1]|0)>=12){n=b+292|0;m=c[n>>2]|0;if(m|0){c[n>>2]=c[m>>2];p=b+276|0;c[p>>2]=(c[p>>2]|0)+1;p=24;break}n=b+288|0;m=c[n>>2]|0;if(!m)m=2;else{c[n>>2]=c[m>>2];p=b+276|0;c[p>>2]=(c[p>>2]|0)+1;p=24;break}}else m=1;r=b+276+(m<<2)|0;c[r>>2]=(c[r>>2]|0)+1}m=Ec(b,12,0)|0;p=24}while(0);if((p|0)==24)if(!m)p=25;else n=m;if((p|0)==25){pb[l&255](h);m=1;break}a[n>>0]=0;a[n+1>>0]=0;a[n+2>>0]=0;a[n+3>>0]=0;c[n+4>>2]=l;c[n+8>>2]=h;m=yl(b,d,f,g,h,i,j,k,n)|0;if(!(c[n>>2]|0)){pb[l&255](h);if(!q){if(c[b+464>>2]|0){Lc(b,n);break}r=n;if(r>>>0>=(c[b+296>>2]|0)>>>0?r>>>0<(c[b+300>>2]|0)>>>0:0){r=b+292|0;c[n>>2]=c[r>>2];c[r>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{r=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-r;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}}else m=yl(b,d,f,g,h,i,j,k,0)|0;while(0);if((m|0)==3082|(a[b+73>>0]|0)!=0){Th(b);r=7;return r|0}else{r=c[b+60>>2]&m;return r|0}return 0}function dp(b,d,e){b=b|0;d=d|0;e=e|0;e=l;l=l+16|0;d=e;c[d>>2]=c[(c[b+4>>2]|0)+20>>2];d=xd(39443,d)|0;c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,d,-1,1,-1)|0;if(!d){l=e;return}if(!(c[2]|0)){pb[c[56>>2]&255](d);l=e;return}else{b=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);l=e;return}}function ep(a,b){a=a|0;b=b|0;return fp(a,b,6,0)|0}function fp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=l;l=l+192|0;I=K+152|0;H=K+144|0;E=K+128|0;C=K+112|0;B=K+96|0;x=K+80|0;w=K+64|0;v=K+56|0;u=K+48|0;s=K+32|0;r=K+24|0;q=K+16|0;n=K;t=K+176|0;o=K+168|0;J=K+172|0;p=K+164|0;c[o>>2]=e;c[J>>2]=0;c[p>>2]=0;c[d>>2]=0;g=Nc()|0;if(g|0){J=g;l=K;return J|0}if((c[3]|0)!=0&(e&32768|0)==0)j=(e&65536|0)==0?c[4]|0:1;else j=0;if(!(e&262144)){if(c[56]|0){e=e|131072;c[o>>2]=e}}else{e=e&-131073;c[o>>2]=e}m=e&-655129;c[o>>2]=m;if(!(c[2]|0)){g=jb[c[52>>2]&255](472)|0;if(!g){g=0;G=157}else G=18}else{g=jb[c[68>>2]&255](472)|0;if((c[11829]|0)>>>0<472)c[11829]=472;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){F=c[11822]|0;G=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;D=z;c[11616]=(0>(D|0)|0==(D|0)&F>>>0>=G>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;Vt(g|0,0,472)|0;G=20}else G=18}else{g=0;G=157}}if((G|0)==18){Vt(g|0,0,472)|0;G=20}a:do if((G|0)==20){if(j|0)c[g+12>>2]=8;D=g+60|0;c[D>>2]=255;c[g+20>>2]=2;F=g+88|0;c[F>>2]=-264537850;k=g+16|0;c[k>>2]=g+400;h=g+100|0;i=6384;j=h+44|0;do{c[h>>2]=c[i>>2];h=h+4|0;i=i+4|0}while((h|0)<(j|0));c[g+144>>2]=0;a[g+71>>0]=1;a[g+76>>0]=-1;A=192;y=c[A+4>>2]|0;h=g+40|0;c[h>>2]=c[A>>2];c[h+4>>2]=y;c[g+84>>2]=0;c[g+148>>2]=2147483647;h=g+28|0;c[h>>2]=c[h>>2]|295008;h=g+372|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;y=g+328|0;c[y>>2]=0;c[y+4>>2]=0;c[y+8>>2]=0;c[y+12>>2]=0;hp(g,22091,1,0,142,0)|0;hp(g,22091,3,0,142,0)|0;hp(g,22091,2,0,142,0)|0;hp(g,33312,1,0,143,0)|0;hp(g,39494,1,1,142,0)|0;A=g+73|0;b:do if(!(a[A>>0]|0)){c[g+8>>2]=c[($f(h,22091,0)|0)+8>>2];c[g+52>>2]=m;c:do if(!(1<<(e&7)&70)){c[n>>2]=17025;c[n+4>>2]=145444;c[n+8>>2]=17052;Bc(21,17e3,n);h=21}else{h=Zk(f,b,o,g,J,p)|0;switch(h|0){case 0:break;case 7:{if(a[A>>0]|0){h=7;break c}if(a[g+74>>0]|0){h=7;break c}a[A>>0]=1;if((c[g+172>>2]|0)>0)c[g+256>>2]=1;h=g+264|0;c[h>>2]=(c[h>>2]|0)+1;h=7;break c}default:break c}e=fg(c[g>>2]|0,c[J>>2]|0,g,(c[k>>2]|0)+4|0,0,c[o>>2]|256)|0;d:do if((e|0)<3082){switch(e|0){case 0:break;default:{G=36;break d}}e=c[(c[k>>2]|0)+4>>2]|0;c[(c[e+4>>2]|0)+4>>2]=c[e>>2];e=_k(g,e)|0;c[(c[k>>2]|0)+12>>2]=e;if(!(a[A>>0]|0))a[g+70>>0]=a[e+77>>0]|0;p=_k(g,0)|0;q=c[k>>2]|0;c[q+28>>2]=p;c[q>>2]=21341;a[q+8>>0]=3;c[q+16>>2]=39370;a[q+24>>0]=1;c[F>>2]=-1607883113;if(a[A>>0]|0){G=157;break a}k=g+56|0;c[k>>2]=0;if(c[g+248>>2]|0)dg(g,0);if(!(kk(g,39500,2,1,0)|0))e=yl(g,39500,2,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=a[A>>0]|0;if(!(e<<24>>24))G=48;else h=e}else if((c[D>>2]&e|0)==7)G=48;else h=0;if((G|0)==48)if(!(a[g+74>>0]|0)){a[A>>0]=1;if((c[g+172>>2]|0)>0)c[g+256>>2]=1;h=g+264|0;c[h>>2]=(c[h>>2]|0)+1;h=1}else h=0;e=c[F>>2]|0;e:do if((e|0)>=-264537850)if((e|0)<1266094736)switch(e|0){case -264537850:{G=54;break e}default:{G=53;break e}}else switch(e|0){case 1266094736:{G=54;break e}default:{G=53;break e}}else switch(e|0){case -1607883113:{G=54;break}default:G=53}while(0);f:do if((G|0)==53){c[r>>2]=22207;Bc(21,22162,r);c[s>>2]=17025;c[s+4>>2]=144805;c[s+8>>2]=17052;Bc(21,17e3,s);e=21;G=151}else if((G|0)==54)if(!(h<<24>>24)){e=c[D>>2]&c[k>>2];if(e|0){G=151;break}g:do if(0){e=1;j=0;h=0;do{i=c[0+(j<<2)>>2]|0;c[t>>2]=0;if(i){h=lb[i&255](g,t,0)|0;if(h){c[u>>2]=c[t>>2];cg(g,h,39506,u);e=0}h=c[t>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{s=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);if(!e)break g;else h=0}j=j+1|0}while(j>>>0>>0)}while(0);e=c[F>>2]|0;h:do if((e|0)>=-264537850)if((e|0)<1266094736)switch(e|0){case -264537850:break h;default:{G=70;break h}}else switch(e|0){case 1266094736:break h;default:{G=70;break h}}else switch(e|0){case -1607883113:break;default:G=70}while(0);if((G|0)==70){c[v>>2]=22207;Bc(21,22162,v);c[w>>2]=17025;c[w+4>>2]=144805;c[w+8>>2]=17052;Bc(21,17e3,w);break b}if(a[A>>0]|0)break b;if(c[D>>2]&c[k>>2]|0)break b;if(!(c[($f(y,39545,0)|0)+8>>2]|0)){il(g,39545,6432,0,0)|0;e=0}else{c[x>>2]=17025;c[x+4>>2]=126822;c[x+8>>2]=17052;Bc(21,17e3,x);e=21}if(a[A>>0]|0){Th(g);e=7;G=151;break}e=c[D>>2]&e;if(e|0){G=151;break}if(Nc()|0){e=7;G=151;break}do if(!(c[2]|0)){e=jb[c[52>>2]&255](20)|0;if(!e){e=7;G=151;break f}else h=e}else{e=jb[c[68>>2]&255](20)|0;if((c[11829]|0)>>>0<20)c[11829]=20;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){w=c[11822]|0;x=Gt(h|0,i|0,e|0,((e|0)<0)<<31>>31|0)|0;v=z;c[11616]=(0>(v|0)|0==(v|0)&w>>>0>=x>>>0)&1}h=jb[c[52>>2]&255](e)|0;if(!h){e=7;G=151;break f}e=jb[c[64>>2]&255](h)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0<=(c[11831]|0)>>>0)break;c[11831]=e}while(0);a[h>>0]=1;a[h+1>>0]=1;x=h+4|0;c[x>>2]=0;c[x+4>>2]=0;c[x+8>>2]=0;c[x+12>>2]=0;do if(!(jp(h,39553,7,6524)|0)){if(jp(h,39560,7,6552)|0){G=146;break}if(jp(h,39567,10,6580)|0){G=146;break}e=yl(g,39577,1,5,h,228,0,0,0)|0;do if(!((e|0)==3082|(a[A>>0]|0)!=0)){e=c[D>>2]&e;if(e|0)break;e=yl(g,39577,2,5,h,228,0,0,0)|0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(kk(g,39592,-1,1,0)|0))e=yl(g,39592,-1,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(kk(g,39600,1,1,0)|0))e=yl(g,39600,1,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(kk(g,39608,1,1,0)|0))e=yl(g,39608,1,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(kk(g,39608,2,1,0)|0))e=yl(g,39608,2,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(kk(g,31384,1,1,0)|0))e=yl(g,31384,1,1,0,227,0,0,0)|0;else e=0;if((e|0)==3082|(a[A>>0]|0)!=0){Th(g);e=7;break}e=c[D>>2]&e;if(e|0)break;if(!(c[($f(y,39618,0)|0)+8>>2]|0)){il(g,39618,6608,h,152)|0;e=0}else{c[B>>2]=17025;c[B+4>>2]=126822;c[B+8>>2]=17052;Bc(21,17e3,B);e=21}do if(!(a[A>>0]|0)){e=c[D>>2]&e;if(e|0)break;if(!(c[($f(y,39623,0)|0)+8>>2]|0)){il(g,39623,6608,h,0)|0;e=0}else{c[C>>2]=17025;c[C+4>>2]=126822;c[C+8>>2]=17052;Bc(21,17e3,C);e=21}if(a[A>>0]|0){Th(g);e=7;G=151;break f}e=c[D>>2]&e;if(e|0){G=151;break f}if(!(c[($f(y,39628,0)|0)+8>>2]|0)){il(g,39628,6700,h,0)|0;e=0}else{c[E>>2]=17025;c[E+4>>2]=126822;c[E+8>>2]=17052;Bc(21,17e3,E);e=21}if(!(a[A>>0]|0)){e=c[D>>2]&e;if(!e)break f;else{G=151;break f}}else{Th(g);e=7;G=151;break f}}else{Th(g);e=7}while(0);mp(h);if(!(c[2]|0)){pb[c[56>>2]&255](h);G=151;break f}else{G=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);G=151;break f}}else{Th(g);e=7}while(0);mp(h)}else G=146;while(0);if((G|0)==146){mp(h);e=7}if(!(c[2]|0)){pb[c[56>>2]&255](h);G=151;break}else{G=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);G=151;break}}else{e=7;G=151}while(0);if((G|0)==151){c[k>>2]=e;dg(g,e)}Yo(g,0,c[10]|0,c[11]|0)|0;c[g+228>>2]=141;c[g+232>>2]=1e3;break b}else switch(e|0){case 3082:{e=7;break}default:G=36}while(0);c[g+56>>2]=e;dg(g,e);break b}while(0);e=c[p>>2]|0;c[q>>2]=e;cg(g,h,e|0?17859:0,q);if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{G=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);e=c[F>>2]|0;i:do if((e|0)>=-264537850)if((e|0)<1266094736)switch(e|0){case -264537850:{G=155;break i}default:{G=154;break i}}else switch(e|0){case 1266094736:{G=155;break i}default:{G=154;break i}}else switch(e|0){case -1607883113:{G=155;break}default:G=154}while(0);if((G|0)==154){c[H>>2]=22207;Bc(21,22162,H);c[I>>2]=17025;c[I+4>>2]=144805;c[I+8>>2]=17052;Bc(21,17e3,I);e=21}else if((G|0)==155){if(a[A>>0]|0){G=157;break}e=c[D>>2]&c[g+56>>2];switch(e|0){case 7:{G=157;break a}case 0:{e=0;break a}default:{}}}c[F>>2]=1266094736}while(0);if((G|0)==157){_o(g,0)|0;e=7;g=0}c[d>>2]=g;g=c[J>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{J=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);J=e&255;l=K;return J|0}function gp(b,c,d,e,f){b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;var g=0,h=0;h=(c|0)<(e|0)?c:e;g=Bs(d,f,h)|0;if(g|0){e=g;return e|0}a:do if(b|0){d=d+h|0;b=c-h|0;while(1){if((b|0)<=0)break;b=b+-1|0;if((a[d+b>>0]|0)!=32)break a}if(!b){d=f+h|0;b=e-h|0;while(1){if((b|0)<=0)break;b=b+-1|0;if((a[d+b>>0]|0)!=32)break a}if(!b){e=0;return e|0}}}while(0);e=c-e|0;return e|0}function hp(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;q=l;l=l+32|0;m=q+16|0;j=q;p=f&255;switch(f<<24>>24){case 4:case 8:{o=2;break}default:if((p+-1|0)>>>0>2){c[j>>2]=17025;c[j+4>>2]=144862;c[j+8>>2]=17052;Bc(21,17e3,j);p=21;l=q;return p|0}else o=p}n=o&255;if(!e)f=b+8|0;else f=($f(b+372|0,e,0)|0)+8|0;j=c[f>>2]|0;k=o+-1|0;if(!((j|0)==0|(j+(k*20|0)|0)==0)?c[j+(k*20|0)+12>>2]|0:0){if(c[b+160>>2]|0){cg(b,5,44466,m);p=5;l=q;return p|0}f=c[b+4>>2]|0;if(f|0)do{m=f+145|0;r=d[m>>0]|d[m+1>>0]<<8|1;a[m>>0]=r;a[m+1>>0]=r>>8;f=c[f+8>>2]|0}while((f|0)!=0);k=j+(k*20|0)+4|0;if((a[k>>0]&-9&255|0)==(o|0)){m=c[($f(b+372|0,e,0)|0)+8>>2]|0;f=a[m+4>>0]|0;j=a[k>>0]|0;if(f<<24>>24==j<<24>>24){j=c[m+16>>2]|0;if(j){pb[j&255](c[m+8>>2]|0);f=a[k>>0]|0}c[m+12>>2]=0}else f=j;if((a[m+24>>0]|0)==f<<24>>24){j=c[m+36>>2]|0;if(j){pb[j&255](c[m+28>>2]|0);f=a[k>>0]|0}c[m+32>>2]=0}if((a[m+44>>0]|0)==f<<24>>24){f=c[m+56>>2]|0;if(f|0)pb[f&255](c[m+48>>2]|0);c[m+52>>2]=0}}}f=Pi(b,n,e,1)|0;if(!f){r=7;l=q;return r|0}c[f+12>>2]=h;c[f+8>>2]=g;c[f+16>>2]=i;a[f+4>>0]=o|p&8;c[b+56>>2]=0;if(!(c[b+248>>2]|0)){r=0;l=q;return r|0}dg(b,0);r=0;l=q;return r|0}function ip(b,c,e,f,g){b=b|0;c=c|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;b=(c|0)<(f|0)?c:f;a:do if(e)if(g)if((b|0)>0){i=g;h=b;while(1){b=a[e>>0]|0;if(!(b<<24>>24)){j=6;break}g=a[17324+(b&255)>>0]|0;b=a[17324+(d[i>>0]|0)>>0]|0;if(g<<24>>24!=b<<24>>24){e=g;break}if((h|0)>1){e=e+1|0;i=i+1|0;h=h+-1|0}else{b=0;break a}}if((j|0)==6){e=0;b=a[17324+(d[i>>0]|0)>>0]|0}b=(e&255)-(b&255)|0}else b=0;else b=1;else b=((g|0)!=0)<<31>>31;while(0);return ((b|0)==0?c-f|0:b)|0}function jp(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;p=kb[(a[b>>0]<<24>>24==1?206:205)&255](d,e)|0;q=b+12|0;n=(c[q>>2]|0)+-1&p;r=b+16|0;h=c[r>>2]|0;a:do if(h|0?(i=c[h+(n<<3)>>2]|0,j=(a[b>>0]|0)==1?144:143,g=c[h+(n<<3)+4>>2]|0,(i|0)!=0&(g|0)!=0):0){l=g;h=i;while(1){h=h+-1|0;k=l+12|0;if(!(mb[j&255](c[k>>2]|0,c[l+16>>2]|0,d,e)|0))break;g=c[l>>2]|0;if(!((h|0)!=0&(g|0)!=0))break a;else l=g}g=l+8|0;j=c[g>>2]|0;if(f|0){c[g>>2]=f;f=j;return f|0}g=l+4|0;i=c[g>>2]|0;c[((i|0)==0?b+8|0:i)>>2]=c[l>>2];i=c[l>>2]|0;if(i|0)c[i+4>>2]=c[g>>2];g=c[r>>2]|0;h=g+(n<<3)+4|0;if((c[h>>2]|0)==(l|0))c[h>>2]=i;r=g+(n<<3)|0;f=c[r>>2]|0;c[r>>2]=f+-1;if((f|0)<2)c[h>>2]=0;do if(a[b+1>>0]|0?(o=c[k>>2]|0,o|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{f=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](l);else{f=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l)}r=b+4|0;f=c[r>>2]|0;c[r>>2]=f+-1;if((f|0)>=2){f=j;return f|0}mp(b);f=j;return f|0}while(0);if(!f){f=0;return f|0}g=c[q>>2]|0;do if(!g)if(!(Nr(b,8)|0)){h=c[q>>2]|0;m=28;break}else{g=b+4|0;break}else{h=g;m=28}while(0);do if((m|0)==28){g=b+4|0;if((c[g>>2]|0)>=(h|0)?Nr(b,h<<1)|0:0)break;if(Nc()|0)return f|0;do if(!(c[2]|0)){h=jb[c[52>>2]&255](20)|0;if(!h)return f|0;else{i=h;j=i+20|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0));l=h;break}}else{j=jb[c[68>>2]&255](20)|0;if((c[11829]|0)>>>0<20)c[11829]=20;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){n=c[11822]|0;o=Gt(h|0,i|0,j|0,((j|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&n>>>0>=o>>>0)&1}k=jb[c[52>>2]&255](j)|0;if(!k)return f|0;h=jb[c[64>>2]&255](k)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h;i=k;j=i+20|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0));l=k}while(0);do if((d|0)!=0&(a[b+1>>0]|0)!=0){h=Fd(e)|0;if(h|0){Vt(h|0,0,e|0)|0;c[l+12>>2]=h;Tt(h|0,d|0,e|0)|0;break}c[l+12>>2]=0;if(!(c[2]|0)){pb[c[56>>2]&255](l);return f|0}else{b=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);return f|0}}else c[l+12>>2]=d;while(0);c[l+16>>2]=e;c[g>>2]=(c[g>>2]|0)+1;k=(c[q>>2]|0)+-1&p;i=c[r>>2]|0;j=i+(k<<3)+4|0;g=c[j>>2]|0;if(!g){g=b+8|0;h=c[g>>2]|0;c[l>>2]=h;if(h|0)c[h+4>>2]=l;c[l+4>>2]=0}else{c[l>>2]=g;g=g+4|0;c[l+4>>2]=c[g>>2];r=c[g>>2]|0;c[((r|0)==0?b+8|0:r)>>2]=l}c[g>>2]=l;b=i+(k<<3)|0;c[b>>2]=(c[b>>2]|0)+1;c[j>>2]=l;c[l+8>>2]=f;f=0;return f|0}while(0);c[g>>2]=0;return f|0}function kp(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+32|0;u=y+8|0;q=y;o=y+16|0;x=y+12|0;c[x>>2]=0;v=c[(c[b+4>>2]|0)+4>>2]|0;j=c[f>>2]|0;i=e[j+8>>1]|0;if((i&514|0)==514?(a[j+10>>0]|0)==1:0)w=c[j+16>>2]|0;else if(!(i&1)){w=Jc(j,1)|0;j=c[f>>2]|0}else w=0;k=e[j+8>>1]|0;if((k&2|0)!=0?(a[j+10>>0]|0)==1:0)i=c[j+12>>2]|0;else r=9;do if((r|0)==9)if(!(k&16)){if(k&1|0){i=0;break}i=Ue(j,1)|0;break}else{i=c[j+12>>2]|0;if(!(k&16384))break;i=(c[j>>2]|0)+i|0;break}while(0);k=i+1|0;a:do if((d|0)!=2){b:do if(w|0){c:do if(((v|0?(p=v+16|0,c[p>>2]|0):0)?(m=kb[(a[v>>0]<<24>>24==1?206:205)&255](w,k)|0,m=(c[v+12>>2]|0)+-1&m,n=c[p>>2]|0,n|0):0)?(h=c[n+(m<<3)>>2]|0,t=(a[v>>0]|0)==1?144:143,g=c[n+(m<<3)+4>>2]|0,(h|0)!=0&(g|0)!=0):0){while(1){h=h+-1|0;if(!(mb[t&255](c[g+12>>2]|0,c[g+16>>2]|0,w,k)|0))break;g=c[g>>2]|0;if(!((h|0)!=0&(g|0)!=0))break c}v=c[g+8>>2]|0;c[x>>2]=v;if(!v)break b;g=b;break a}while(0);c[x>>2]=0}while(0);c[u>>2]=w;g=xd(39692,u)|0;c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,g,-1,1,-1)|0;if(!g){l=y;return}if(!(c[2]|0)){pb[c[56>>2]&255](g);l=y;return}else{b=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);l=y;return}}else{u=c[(c[b>>2]|0)+32>>2]|0;c[o>>2]=0;c[q>>2]=-1;c[q+4>>2]=o;Xo(u,1004,q)|0;if(!(c[o>>2]|0)){c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,44063,-1,1,-1)|0;l=y;return}h=f+4|0;i=c[h>>2]|0;j=e[i+8>>1]|0;if((j&2|0)!=0?(a[i+10>>0]|0)==1:0){s=c[i+12>>2]|0;r=24}else r=19;do if((r|0)==19)if(!(j&16)){if(j&1|0)break;s=Ue(i,1)|0;r=24;break}else{g=c[i+12>>2]|0;if(!(j&16384)){s=g;r=24;break}s=(c[i>>2]|0)+g|0;r=24;break}while(0);if((r|0)==24?!((w|0)==0|(s|0)!=4):0){u=c[(ff(c[h>>2]|0)|0)>>2]|0;c[x>>2]=u;w=jp(v,w,k,u)|0;if((w|0)!=(c[x>>2]|0)){g=b;break}c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,21647,-1,1,-1)|0;g=b;break}c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,44040,-1,1,-1)|0;l=y;return}while(0);if((Ve(c[g>>2]|0,x,4,0,-1)|0)!=18){l=y;return}c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[g>>2]|0,18992,-1,1,0)|0;l=y;return}function lp(a){a=a|0;var b=0;mp(a);if(!a)return;if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function mp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;e=b+8|0;d=c[e>>2]|0;c[e>>2]=0;e=b+16|0;f=c[e>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[e>>2]=0;c[b+12>>2]=0;if(!d){h=b+4|0;c[h>>2]=0;return}f=b+1|0;do{e=d;d=c[d>>2]|0;do if(a[f>>0]|0?(g=c[e+12>>2]|0,g|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{h=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](e);else{h=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}}while((d|0)!=0);h=b+4|0;c[h>>2]=0;return}function np(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0;B=l;l=l+16|0;y=B;A=B+4|0;c[A>>2]=0;b=ul(b,39641)|0;if(b|0){A=b;l=B;return A|0}w=e+-3|0;s=f+12|0;a:do if(w){k=(e|0)>3;if(k){f=0;b=0;do{b=b+1+(As(c[s+(f<<2)>>2]|0)|0)|0;f=f+1|0}while((f|0)!=(w|0))}else b=0;r=Fd(b+(w<<2)|0)|0;b=(r|0)==0;b:do if(b|k^1){if(b){f=7;j=0;b=0;n=41;break a}}else{o=r+(w<<2)|0;p=0;while(1){b=s+(p<<2)|0;q=As(c[b>>2]|0)|0;c[r+(p<<2)>>2]=o;q=q+1|0;Tt(o|0,c[b>>2]|0,q|0)|0;b=a[o>>0]|0;switch(b<<24>>24){case 34:case 39:case 91:case 96:{n=b<<24>>24==91?93:b;f=a[o+1>>0]|0;c:do if(!(f<<24>>24))b=0;else{k=1;b=0;do{m=k+1|0;if(f<<24>>24==n<<24>>24){if((a[o+m>>0]|0)!=n<<24>>24)break c;a[o+b>>0]=n;k=k+2|0}else{a[o+b>>0]=f;k=m}b=b+1|0;f=a[o+k>>0]|0}while(f<<24>>24!=0)}while(0);a[o+b>>0]=0;break}default:{}}p=p+1|0;if((p|0)==(w|0))break b;else o=o+q|0}}while(0);if((w|0)<1){k=39553;m=r;b=r;n=19}else{k=c[r>>2]|0;m=r;b=r;n=19}}else{k=39553;m=0;b=0;n=19}while(0);d:do if((n|0)==19){f=(As(k)|0)+1|0;e:do if(((d|0?(t=d+16|0,c[t>>2]|0):0)?(u=kb[(a[d>>0]<<24>>24==1?206:205)&255](k,f)|0,u=(c[d+12>>2]|0)+-1&u,v=c[t>>2]|0,v|0):0)?(j=c[v+(u<<3)>>2]|0,x=(a[d>>0]|0)==1?144:143,i=c[v+(u<<3)+4>>2]|0,(j|0)!=0&(i|0)!=0):0){while(1){j=j+-1|0;if(!(mb[x&255](c[i+12>>2]|0,c[i+16>>2]|0,k,f)|0))break;i=c[i>>2]|0;if(!((j|0)!=0&(i|0)!=0))break e}i=c[i+8>>2]|0;if(i|0){j=i;i=lb[c[i+4>>2]&255]((w|0)>1?e+-4|0:0,m+4|0,A)|0;if(i|0){f=i;n=41;break d}if(Nc()|0){f=7;n=41;break d}if(!(c[2]|0)){i=jb[c[52>>2]&255](20)|0;if(!i){f=7;n=41;break d}}else{i=jb[c[68>>2]&255](20)|0;if((c[11829]|0)>>>0<20)c[11829]=20;k=46456;f=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&f>>>0>0){y=c[11822]|0;e=Gt(f|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&y>>>0>=e>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){f=7;n=41;break d}f=jb[c[64>>2]&255](i)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f};c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=j;c[i+16>>2]=c[A>>2];c[g>>2]=i;i=0;break d}}while(0);c[y>>2]=k;Bp(h,39692,y);f=1;j=0;n=41}while(0);if((n|0)==41){i=c[A>>2]|0;if(!i)i=f;else{jb[c[j+8>>2]&255](i)|0;i=f}}if(!b){A=i;l=B;return A|0}if(!(c[2]|0)){pb[c[56>>2]&255](b);A=i;l=B;return A|0}else{A=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);A=i;l=B;return A|0}return 0}function op(b,d){b=b|0;d=d|0;var e=0,f=0;e=c[d>>2]|0;a:do if((e|0)>0){f=c[d+4>>2]|0;b=0;while(1){if((a[f+(b*12|0)+5>>0]|0?(c[f+(b*12|0)>>2]|0)==0:0)?(a[f+(b*12|0)+4>>0]|0)==2:0)break;b=b+1|0;if((b|0)>=(e|0))break a}c[d+20>>2]=1;f=c[d+16>>2]|0;c[f+(b<<3)>>2]=1;a[f+(b<<3)+4>>0]=1;h[d+40>>3]=1.0;return 0}while(0);c[d+20>>2]=0;return 0}function pp(a){a=a|0;var b=0;jb[c[(c[a+12>>2]|0)+8>>2]&255](c[a+16>>2]|0)|0;if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function qp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(Nc()|0){b=7;return b|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](36)|0;if(!a){b=7;return b|0}}else{e=jb[c[68>>2]&255](36)|0;if((c[11829]|0)>>>0<36)c[11829]=36;d=46456;a=c[d>>2]|0;d=c[d+4>>2]|0;if((d|0)>0|(d|0)==0&a>>>0>0){f=c[11822]|0;d=Gt(a|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&f>>>0>=d>>>0)&1}a=jb[c[52>>2]&255](e)|0;if(!a){f=7;return f|0}d=jb[c[64>>2]&255](a)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}d=a;e=d+36|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b>>2]=a;f=0;return f|0}function rp(a){a=a|0;var b=0,d=0,e=0;b=a+8|0;d=c[b>>2]|0;if(d|0){jb[c[(c[(c[a>>2]|0)+12>>2]|0)+16>>2]&255](d)|0;c[b>>2]=0}d=a+4|0;b=c[d>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);c[d>>2]=0;e=a+12|0;c[e>>2]=0;c[e+4>>2]=0;c[e+8>>2]=0;c[e+12>>2]=0;c[e+16>>2]=0;c[e+20>>2]=0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{e=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function sp(b,d,f,g,h){b=b|0;d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0;k=c[b>>2]|0;n=b+8|0;f=c[n>>2]|0;if(f|0){jb[c[(c[k+12>>2]|0)+16>>2]&255](f)|0;c[n>>2]=0}m=b+4|0;f=c[m>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{l=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[m>>2]=0;l=b+12|0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;if((d|0)!=1){b=1;return b|0}g=c[h>>2]|0;f=e[g+8>>1]|0;if((f&514|0)==514?(a[g+10>>0]|0)==1:0)i=c[g+16>>2]|0;else if(!(f&1)){i=Jc(g,1)|0;g=c[h>>2]|0}else i=0;d=e[g+8>>1]|0;if((d&2|0)!=0?(a[g+10>>0]|0)==1:0)d=c[g+12>>2]|0;else j=16;do if((j|0)==16)if(!(d&16)){if(d&1|0){d=0;break}d=Ue(g,1)|0;break}else{f=c[g+12>>2]|0;if(!(d&16384)){d=f;break}d=(c[g>>2]|0)+f|0;break}while(0);f=Fd(d+1|0)|0;c[m>>2]=f;if(!f){b=7;return b|0}Tt(f|0,i|0,d|0)|0;a[(c[m>>2]|0)+d>>0]=0;g=k+16|0;f=mb[c[(c[k+12>>2]|0)+12>>2]&255](c[g>>2]|0,c[m>>2]|0,d,n)|0;if(f|0){b=f;return b|0}k=c[n>>2]|0;c[k>>2]=c[g>>2];g=c[b>>2]|0;c[l>>2]=(c[l>>2]|0)+1;g=ob[c[(c[g+12>>2]|0)+20>>2]&255](k,b+16|0,b+20|0,b+24|0,b+28|0,b+32|0)|0;if(!g){b=0;return b|0}f=c[n>>2]|0;if(f|0){jb[c[(c[(c[b>>2]|0)+12>>2]|0)+16>>2]&255](f)|0;c[n>>2]=0}f=c[m>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{b=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[m>>2]=0;c[l>>2]=0;c[l+4>>2]=0;c[l+8>>2]=0;c[l+12>>2]=0;c[l+16>>2]=0;c[l+20>>2]=0;b=(g|0)==101?0:g;return b|0}function tp(a){a=a|0;var b=0,d=0,e=0,f=0;e=c[a>>2]|0;f=a+12|0;c[f>>2]=(c[f>>2]|0)+1;d=a+8|0;e=ob[c[(c[e+12>>2]|0)+20>>2]&255](c[d>>2]|0,a+16|0,a+20|0,a+24|0,a+28|0,a+32|0)|0;if(!e)return 0;b=c[d>>2]|0;if(b|0){jb[c[(c[(c[a>>2]|0)+12>>2]|0)+16>>2]&255](b)|0;c[d>>2]=0}a=a+4|0;b=c[a>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);c[a>>2]=0;c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;return ((e|0)==101?0:e)|0}function up(a){a=a|0;return (c[a+16>>2]|0)==0|0}function vp(d,e,f){d=d|0;e=e|0;f=f|0;var g=0;switch(f|0){case 0:{if((Ve(c[e>>2]|0,c[d+4>>2]|0,-1,1,-1)|0)!=18)return 0;c[e+20>>2]=18;a[e+25>>0]=1;Ve(c[e>>2]|0,18992,-1,1,0)|0;return 0}case 1:{if((Ve(c[e>>2]|0,c[d+16>>2]|0,c[d+20>>2]|0,1,-1)|0)!=18)return 0;c[e+20>>2]=18;a[e+25>>0]=1;Ve(c[e>>2]|0,18992,-1,1,0)|0;return 0}case 2:{g=c[d+24>>2]|0;d=c[e>>2]|0;f=((g|0)<0)<<31>>31;e=d+8|0;if(!(b[e>>1]&9312)){c[d>>2]=g;c[d+4>>2]=f;b[e>>1]=4;return 0}else{Xe(d,g,f);return 0}}case 3:{g=c[d+28>>2]|0;d=c[e>>2]|0;f=((g|0)<0)<<31>>31;e=d+8|0;if(!(b[e>>1]&9312)){c[d>>2]=g;c[d+4>>2]=f;b[e>>1]=4;return 0}else{Xe(d,g,f);return 0}}default:{g=c[d+32>>2]|0;d=c[e>>2]|0;f=((g|0)<0)<<31>>31;e=d+8|0;if(!(b[e>>1]&9312)){c[d>>2]=g;c[d+4>>2]=f;b[e>>1]=4;return 0}else{Xe(d,g,f);return 0}}}return 0}function wp(a,b){a=a|0;b=b|0;a=c[a+12>>2]|0;c[b>>2]=a;c[b+4>>2]=((a|0)<0)<<31>>31;return 0}function xp(b,c){b=b|0;c=c|0;var d=0;if((c|0)<1){c=As(b)|0;if((c|0)>0){d=b;b=0}else{d=0;return d|0}}else{d=b;b=0}while(1){b=b<<3^b^a[d>>0];if((c|0)<=1)break;else{d=d+1|0;c=c+-1|0}}d=b&2147483647;return d|0}function yp(b,c){b=b|0;c=c|0;var d=0;if((c|0)>0)d=0;else{d=0;return d|0}while(1){d=d<<3^d^a[b>>0];if((c|0)<=1)break;else{b=b+1|0;c=c+-1|0}}d=d&2147483647;return d|0}function zp(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)==(d|0))a=Ms(a,c,b)|0;else a=1;return a|0}function Ap(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;if((b|0)==(d|0))a=Bs(a,c,b)|0;else a=1;return a|0}function Bp(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;g=l;l=l+16|0;e=g;f=c[a>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[e>>2]=d;c[a>>2]=bg(b,e)|0;l=g;return}function Cp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return vr(1,a,b,c,d,e,f)|0}function Dp(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return vr(0,a,b,c,d,e,f)|0}function Ep(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=d+20|0;c[u>>2]=0;p=d+40|0;h[p>>3]=5.0e6;q=c[d>>2]|0;if((q|0)>0){r=c[d+4>>2]|0;s=b+24|0;n=-1;f=-1;o=0;g=-1;m=-1;e=0;a:while(1){b:do if(!(a[r+(o*12|0)+5>>0]|0))if((a[r+(o*12|0)+4>>0]|0)==64){t=18;break a}else i=f;else{i=c[r+(o*12|0)>>2]|0;if((i|0)<0)l=1;else l=(i|0)==((c[s>>2]|0)+1|0);k=a[r+(o*12|0)+4>>0]|0;j=k<<24>>24==2;if(!((g|0)<0&(l&j))){if(k<<24>>24==64&(i|0)>-1?(i|0)<=(c[s>>2]|0):0){e=i+2|0;c[u>>2]=e;h[p>>3]=2.0;g=o}}else{c[u>>2]=1;h[p>>3]=1.0;g=o;e=1}if(j)f=(i|0)==((c[s>>2]|0)+2|0)?o:f;if(l){l=(k&255)+-4|0;switch(l>>>2|l<<30|0){case 0:case 7:{n=o;i=f;break b}case 3:case 1:{i=f;m=o;break b}default:{i=f;break b}}}else i=f}while(0);o=o+1|0;if((o|0)>=(q|0))break;else f=i}if((t|0)==18){c[u>>2]=0;h[p>>3]=1.e+50;d=d+48|0;c[d>>2]=0;c[d+4>>2]=262144;return 0}if((e|0)==1){e=d+56|0;c[e>>2]=c[e>>2]|1;e=1}if((g|0)>-1){f=c[d+16>>2]|0;c[f+(g<<3)>>2]=1;a[f+(g<<3)+4>>0]=1;f=2}else f=1;if((i|0)>-1){e=e|65536;c[u>>2]=e;c[(c[d+16>>2]|0)+(i<<3)>>2]=f;f=f+1|0}if((n|0)>-1){e=e|131072;c[u>>2]=e;c[(c[d+16>>2]|0)+(n<<3)>>2]=f;f=f+1|0}if((m|0)>-1){c[u>>2]=e|262144;c[(c[d+16>>2]|0)+(m<<3)>>2]=f}}if((c[d+8>>2]|0)!=1)return 0;e=c[d+12>>2]|0;u=c[e>>2]|0;if((u|0)>=0?(u|0)!=((c[b+24>>2]|0)+1|0):0)return 0;c[d+24>>2]=a[e+4>>0]|0?42797:42802;c[d+32>>2]=1;return 0}function Fp(a){a=a|0;var b=0,d=0;Qh(c[a+216>>2]|0)|0;d=a+56|0;b=0;do{Qh(c[d+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=40);b=c[a+244>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+220>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+224>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+40>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+44>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);d=c[a+36>>2]|0;jb[c[(c[d>>2]|0)+8>>2]&255](d)|0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Gp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+48|0;i=m+32|0;h=m+24|0;k=m+16|0;j=m+8|0;g=m;b=m+40|0;c[b>>2]=0;d=c[a+16>>2]|0;e=c[a+12>>2]|0;f=a+20|0;if(!(c[a+40>>2]|0)){n=c[f>>2]|0;c[g>>2]=d;c[g+4>>2]=n;_p(b,e,42912,g)}n=c[f>>2]|0;c[j>>2]=d;c[j+4>>2]=n;_p(b,e,42949,j);n=c[f>>2]|0;c[k>>2]=d;c[k+4>>2]=n;_p(b,e,42987,k);n=c[f>>2]|0;c[h>>2]=d;c[h+4>>2]=n;_p(b,e,43023,h);n=c[f>>2]|0;c[i>>2]=d;c[i+4>>2]=n;_p(b,e,43060,i);b=c[b>>2]|0;if(b|0){n=b;l=m;return n|0}Fp(a)|0;n=0;l=m;return n|0}function Hp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;do if(!(Nc()|0)){if(!(c[2]|0)){a=jb[c[52>>2]&255](96)|0;c[b>>2]=a;if(!a){b=7;return b|0}}else{e=jb[c[68>>2]&255](96)|0;if((c[11829]|0)>>>0<96)c[11829]=96;d=46456;a=c[d>>2]|0;d=c[d+4>>2]|0;if((d|0)>0|(d|0)==0&a>>>0>0){f=c[11822]|0;d=Gt(a|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&f>>>0>=d>>>0)&1}a=jb[c[52>>2]&255](e)|0;if(!a)break;d=jb[c[64>>2]&255](a)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d;c[b>>2]=a}d=a+96|0;do{c[a>>2]=0;a=a+4|0}while((a|0)<(d|0));f=0;return f|0}while(0);c[b>>2]=0;f=7;return f|0}function Ip(a){a=a|0;var b=0;lr(a);if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Jp(f,g,i,j,k){f=f|0;g=g|0;i=i|0;j=j|0;k=k|0;var m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;N=l;l=l+128|0;L=N+104|0;H=N+96|0;I=N+64|0;y=N+56|0;x=N+48|0;C=N+40|0;D=N;E=N+116|0;A=N+112|0;B=N+108|0;K=c[f>>2]|0;t=g&65535;if(!t){j=0;M=0}else{j=1;M=c[k>>2]|0}if(!(g&65536)){v=0;u=0}else{u=c[k+(j<<2)>>2]|0;v=u;j=j+1|0}if(!(g&131072)){G=0;p=0}else{p=c[k+(j<<2)>>2]|0;G=p;j=j+1|0}if(!(g&262144)){F=0;q=0}else{q=c[k+(j<<2)>>2]|0;F=q}lr(f);do if(G){o=G+8|0;j=b[o>>1]|0;w=j&31;k=d[19034+w>>0]|0;if((w|16|0)==18){j=a[G+10>>0]|0;k=G+16|0;n=G+12|0;if(!(df(c[k>>2]|0,C,c[n>>2]|0,j)|0))j=b[o>>1]|0;else{w=(ef(c[k>>2]|0,D,c[n>>2]|0,j)|0)==0;k=e[o>>1]|0;if(w){s=D;w=c[s+4>>2]|0;j=G;c[j>>2]=c[s>>2];c[j+4>>2]=w;j=4}else{h[G>>3]=+h[C>>3];j=8}j=(j|k)&65535;b[o>>1]=j}k=d[19034+(j&31)>>0]|0}if((k|0)==1){j=j&65535;if(j&4|0){k=p;j=c[k>>2]|0;k=c[k+4>>2]|0;break}if(j&8|0){j=Gc(+h[G>>3])|0;k=z;break}if(!(j&18)){j=0;k=0}else{j=Hc(a[G+10>>0]|0,c[G+12>>2]|0,c[G+16>>2]|0)|0;k=z}}else{j=0;k=-2147483648}}else{j=0;k=-2147483648}while(0);w=f+72|0;s=w;c[s>>2]=j;c[s+4>>2]=k;do if(F){o=F+8|0;j=b[o>>1]|0;s=j&31;k=d[19034+s>>0]|0;if((s|16|0)==18){j=a[F+10>>0]|0;k=F+16|0;n=F+12|0;if(!(df(c[k>>2]|0,C,c[n>>2]|0,j)|0))j=b[o>>1]|0;else{s=(ef(c[k>>2]|0,D,c[n>>2]|0,j)|0)==0;k=e[o>>1]|0;if(s){r=D;s=c[r+4>>2]|0;j=F;c[j>>2]=c[r>>2];c[j+4>>2]=s;j=4}else{h[F>>3]=+h[C>>3];j=8}j=(j|k)&65535;b[o>>1]=j}k=d[19034+(j&31)>>0]|0}if((k|0)==1){j=j&65535;if(j&4|0){k=q;j=c[k>>2]|0;k=c[k+4>>2]|0;break}if(j&8|0){j=Gc(+h[F>>3])|0;k=z;break}if(!(j&18)){j=0;k=0}else{j=Hc(a[F+10>>0]|0,c[F+12>>2]|0,c[F+16>>2]|0)|0;k=z}}else{j=-1;k=2147483647}}else{j=-1;k=2147483647}while(0);s=f+80|0;r=s;c[r>>2]=j;c[r+4>>2]=k;if(!i)j=a[K+235>>0]|0;else j=(a[i>>0]|0)==68&1;r=f+52|0;a[r>>0]=j;g=g&65535;b[f+4>>1]=g;do if(t>>>0>1){p=t+-2|0;k=M+8|0;do if(M){j=e[k>>1]|0;if((j&514|0)==514?(a[M+10>>0]|0)==1:0)j=c[M+16>>2]|0;else{if(j&1|0){J=52;break}j=Jc(M,1)|0}if(j){q=j;n=0}else J=52}else J=52;while(0);if((J|0)==52)if(!(-1431655766>>>(b[k>>1]&31)&1)){f=7;l=N;return f|0}else{q=0;n=1}k=f+20|0;c[k>>2]=0;if(!v)j=0;else{j=e[v+8>>1]|0;do if(!(j&4)){if(j&8|0){j=Gc(+h[v>>3])|0;break}if(!(j&18))j=0;else j=Hc(a[v+10>>0]|0,c[v+12>>2]|0,c[v+16>>2]|0)|0}else j=c[u>>2]|0;while(0);c[k>>2]=j}k=c[K+36>>2]|0;t=c[K+28>>2]|0;v=d[K+232>>0]|0;u=c[K+24>>2]|0;i=f+16|0;o=K+8|0;O=D+24|0;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[D>>2]=k;c[D+4>>2]=j;c[D+8>>2]=t;c[D+16>>2]=u;c[D+20>>2]=p;c[D+12>>2]=v;a:do if(n){c[i>>2]=0;j=0}else{j=nr(D,q,As(q)|0,i,C)|0;do if(!j){j=c[i>>2]|0;if(c[D+32>>2]|0){mr(j);c[i>>2]=0;break}if(!j){j=0;break a}j=or(i,12)|0;if(!j){j=c[i>>2]|0;k=pr(j,12)|0;if(!k)break a;else{m=k;J=70}}else{m=j;J=70}}else{m=j;J=70}while(0);b:do if((J|0)==70){mr(c[i>>2]|0);c[i>>2]=0;switch(m|0){case 1:break b;case 18:break;default:{O=m;l=N;return O|0}}c[x>>2]=12;Bp(o,42712,x);O=1;l=N;return O|0}while(0);c[y>>2]=q;Bp(o,42764,y);O=1;l=N;return O|0}while(0);O=c[f>>2]|0;c[C>>2]=0;c[D>>2]=0;c[E>>2]=0;qr(f,j,D,E,C);j=c[D>>2]|0;do if((c[C>>2]|0)==0&(j|0)>1?a[O+232>>0]|0:0){k=Fd((c[E>>2]<<3)+(j*24|0)|0)|0;n=k+((c[D>>2]|0)*24|0)|0;if(!k){c[C>>2]=7;break}c[A>>2]=k;c[B>>2]=n;rr(f,0,c[i>>2]|0,A,B,C);j=((c[A>>2]|0)-k|0)/24|0;c[D>>2]=j;c[E>>2]=(c[B>>2]|0)-n>>2;if((c[C>>2]|0)==0?(O=sr(f,0,k,j)|0,c[C>>2]=O,(O|0)==0&(c[E>>2]|0)>0):0){j=0;do{O=sr(f,c[n+(j<<2)>>2]|0,k,c[D>>2]|0)|0;c[C>>2]=O;j=j+1|0}while((O|0)==0?(j|0)<(c[E>>2]|0):0)}if(!(c[2]|0))pb[c[56>>2]&255](k);else{O=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}}while(0);tr(f,c[i>>2]|0,C);j=c[C>>2]|0;k=K+248|0;n=c[k>>2]|0;do if(n|0){o=c[n+20>>2]|0;Qh(c[n+16>>2]|0)|0;if(o|0){if(c[o+464>>2]|0){Lc(o,n);break}O=n;if(O>>>0>=(c[o+296>>2]|0)>>>0?O>>>0<(c[o+300>>2]|0)>>>0:0){O=o+292|0;c[n>>2]=c[O>>2];c[O>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{O=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[k>>2]=0;if(!j){c[f+40>>2]=c[f+44>>2];O=f+32|0;c[O>>2]=0;c[O+4>>2]=0;break}else{O=j;l=N;return O|0}}while(0);c:do switch(g<<16>>16){case 0:{j=c[K+220>>2]|0;m=a[r>>0]|0?42797:42802;if((G|0)!=0|(F|0)!=0){L=w;J=c[L>>2]|0;L=c[L+4>>2]|0;O=s;M=c[O>>2]|0;O=c[O+4>>2]|0;c[I>>2]=j;j=I+8|0;c[j>>2]=J;c[j+4>>2]=L;j=I+16|0;c[j>>2]=M;c[j+4>>2]=O;c[I+24>>2]=m;j=xd(42806,I)|0}else{c[H>>2]=j;c[H+4>>2]=m;j=xd(42868,H)|0}if(!j){O=7;l=N;return O|0}m=si(c[K+12>>2]|0,j,-1,129,0,f+12|0,0)|0;if(!(c[2]|0)){pb[c[56>>2]&255](j);J=115;break c}else{J=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);J=115;break c}}case 1:{n=f+12|0;m=c[n>>2]|0;if(!m){k=c[f>>2]|0;j=k+216|0;m=c[j>>2]|0;do if(!m){c[L>>2]=c[k+220>>2];j=xd(41111,L)|0;if(!j){O=7;l=N;return O|0}m=si(c[k+12>>2]|0,j,-1,129,0,n,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{O=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}if(!m){m=c[n>>2]|0;break}else{O=m;l=N;return O|0}}else{c[n>>2]=m;c[j>>2]=0}while(0);a[f+8>>0]=1}m=Mo(m,1,M)|0;J=115;break}default:{}}while(0);if((J|0)==115?m|0:0){O=m;l=N;return O|0}O=Kp(f)|0;l=N;return O|0}function Kp(b){b=b|0;var d=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;r=l;l=l+16|0;d=r;if((e[b+4>>1]|0)<2){g=b+12|0;q=(qi(c[g>>2]|0)|0)==100;g=c[g>>2]|0;if(q){q=Do(g,0)|0;b=b+32|0;c[b>>2]=q;c[b+4>>2]=z;b=0;l=r;return b|0}a[b+6>>0]=1;if(!g){b=0;l=r;return b|0}d=c[g>>2]|0;b=g+128|0;q=c[b+4>>2]|0;if((q|0)>0|(q|0)==0&(c[b>>2]|0)>>>0>0)Rh(d,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;b=g+64|0;c[b>>2]=0;c[b+4>>2]=0;if((f|0)==3082|(a[d+73>>0]|0)!=0){Th(d);b=7;l=r;return b|0}else{b=c[d+60>>2]&f;l=r;return b|0}}c[d>>2]=0;f=c[b+16>>2]|0;if(f){g=b+7|0;h=b+12|0;i=f+32|0;j=b+6|0;k=b+88|0;m=f+24|0;p=b+32|0;do{if((a[g>>0]|0)==0?(n=c[h>>2]|0,n|0):0){o=c[n>>2]|0;s=n+128|0;t=c[s+4>>2]|0;if((t|0)>0|(t|0)==0&(c[s>>2]|0)>>>0>0)Rh(o,n);t=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;s=n+64|0;c[s>>2]=0;c[s+4>>2]=0;if((t|0)==3082|(a[o+73>>0]|0)!=0)Th(o)}Rq(b,f,d);t=a[i>>0]|0;a[j>>0]=t;a[g>>0]=1;c[k>>2]=1;u=m;o=c[u+4>>2]|0;s=p;c[s>>2]=c[u>>2];c[s+4>>2]=o;if(t<<24>>24)break}while((Hq(b,d)|0)!=0);d=c[d>>2]|0;if(!d){d=p;q=22}}else{a[b+6>>0]=1;d=b+32|0;q=22}do if((q|0)==22){f=d;d=c[f>>2]|0;f=c[f+4>>2]|0;if(!(a[b+52>>0]|0)){u=b+80|0;t=c[u+4>>2]|0;if(!((f|0)>(t|0)|((f|0)==(t|0)?d>>>0>(c[u>>2]|0)>>>0:0))){d=0;break}}else{u=b+72|0;t=c[u+4>>2]|0;if(!((f|0)<(t|0)|((f|0)==(t|0)?d>>>0<(c[u>>2]|0)>>>0:0))){d=0;break}}a[b+6>>0]=1;d=0}while(0);u=d;l=r;return u|0}function Lp(b){b=b|0;var c=0;c=b+6|0;if(!(a[c>>0]|0)){c=0;return c|0}lr(b);a[c>>0]=1;c=1;return c|0}function Mp(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0;h=c[d>>2]|0;i=c[h+24>>2]|0;switch(g-i|0){case 0:{g=c[f>>2]|0;h=g+8|0;if(!((b[h>>1]&9312)==0?!(c[g+24>>2]|0):0))af(g);c[g>>2]=41137;c[g+16>>2]=d;b[h>>1]=-31231;a[g+11>>0]=112;c[g+36>>2]=153;f=0;return f|0}case 1:{d=d+32|0;i=c[d>>2]|0;d=c[d+4>>2]|0;g=c[f>>2]|0;h=g+8|0;if(!(b[h>>1]&9312)){f=g;c[f>>2]=i;c[f+4>>2]=d;b[h>>1]=4;f=0;return f|0}else{Xe(g,i,d);f=0;return f|0}}case 2:{if(c[d+16>>2]|0){i=c[d+20>>2]|0;d=((i|0)<0)<<31>>31;g=c[f>>2]|0;h=g+8|0;if(!(b[h>>1]&9312)){f=g;c[f>>2]=i;c[f+4>>2]=d;b[h>>1]=4;f=0;return f|0}else{Xe(g,i,d);f=0;return f|0}}if(!(c[h+44>>2]|0)){g=c[f>>2]|0;h=g+8|0;if(!(b[h>>1]&9312)){f=g;c[f>>2]=0;c[f+4>>2]=0;b[h>>1]=4;f=0;return f|0}else{Xe(g,0,0);f=0;return f|0}}break}default:i=g}g=Jq(0,d)|0;if(g|0){f=g;return f|0}k=c[d+12>>2]|0;j=(k|0)==0;if(!j?(c[k+104>>2]|0)!=0:0)g=(e[k+140>>1]|0)+-1|0;else g=-1;if((g|0)<=(i|0)){f=0;return f|0}g=i+1|0;do if(j)d=424;else{h=c[k+104>>2]|0;if(h|0?(e[k+140>>1]|0)>>>0>g>>>0:0){d=h+(g*40|0)|0;break}d=c[k>>2]|0;c[d+56>>2]=25;dg(d,25);d=424}while(0);g=d+8|0;h=e[g>>1]|0;if(h&2048|0)b[g>>1]=h&59391|4096;if(!j){h=c[k>>2]|0;i=k+40|0;g=c[i>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[i>>2]=g}gf(f,d);f=0;return f|0}function Np(a,b){a=a|0;b=b|0;var d=0;d=a+32|0;a=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=a;return 0}function Op(f,g,i,j){f=f|0;g=g|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;aa=l;l=l+160|0;r=aa+48|0;G=aa+40|0;F=aa+32|0;E=aa+24|0;X=aa+16|0;u=aa+8|0;y=aa;Q=aa+136|0;Z=aa+80|0;U=aa+72|0;V=aa+68|0;W=aa+64|0;$=aa+60|0;C=aa+56|0;c[$>>2]=0;c[C>>2]=0;A=(g|0)>1;a:do if(A){Y=f+24|0;g=c[Y>>2]|0;if(-1431655766>>>(b[(c[i>>2]|0)+8>>1]&31)&1|0?(q=c[i+(g+2<<2)>>2]|0,p=q+8|0,k=b[p>>1]|0,(-1431655766>>>(k&31)&1|0)==0):0){do if(q){g=k&65535;if((g&514|0)==514?(a[q+10>>0]|0)==1:0){A=c[q+16>>2]|0;break}if(!(g&1)){A=Jc(q,1)|0;k=b[p>>1]|0}else A=0}else A=0;while(0);k=k&65535;if((k&2|0)!=0?(a[q+10>>0]|0)==1:0)r=c[q+12>>2]|0;else _=14;do if((_|0)==14)if(!(k&16)){if(k&1|0){r=0;break}r=Ue(q,1)|0;break}else{g=c[q+12>>2]|0;if(!(k&16384)){r=g;break}r=(c[q>>2]|0)+g|0;break}while(0);b:do if(!A)k=7;else{c:do switch(r|0){case 8:{g=a[A>>0]|0;d:do if(!(g<<24>>24)){k=31384;_=22}else{Y=g&255;k=17324+Y|0;do if((Y|32|0)==111){k=a[A+1>>0]|0;if(!(k<<24>>24)){k=31385;_=22;break d}Y=k&255;k=17324+Y|0;if((Y|32|0)==112){k=a[A+2>>0]|0;if(!(k<<24>>24)){k=31386;_=22;break d}Y=k&255;k=17324+Y|0;if((Y|32|0)==116){k=a[A+3>>0]|0;if(!(k<<24>>24)){k=31387;_=22;break d}Y=k&255;k=17324+Y|0;if((Y|32|0)==105){k=a[A+4>>0]|0;if(!(k<<24>>24)){k=31388;_=22;break d}k=k&255;if((k|32|0)!=109){o=109;k=17324+k|0;break}k=a[A+5>>0]|0;if(!(k<<24>>24)){k=31389;_=22;break d}k=k&255;if((k|32|0)!=105){o=105;k=17324+k|0;break}k=a[A+6>>0]|0;if(!(k<<24>>24)){k=31390;_=22;break d}k=k&255;if((k|32|0)!=122){o=122;k=17324+k|0;break}k=a[A+7>>0]|0;if(!(k<<24>>24)){k=31391;_=22;break d}k=k&255;if((k|32|0)==101)break d;else{o=101;k=17324+k|0}}else o=105}else o=116}else o=112}else o=111;while(0);x=a[k>>0]|0;_=26}while(0);if((_|0)==22){x=0;o=a[17324+(d[k>>0]|0)>>0]|0;_=26}if((_|0)==26?x<<24>>24!=o<<24>>24:0){o=g;break c}k=Yq(f,0)|0;break b}case 7:{g=a[A>>0]|0;e:do if(!(g<<24>>24)){k=42134;_=29}else{X=g&255;k=17324+X|0;do if((X|32|0)==114){k=a[A+1>>0]|0;if(!(k<<24>>24)){k=42135;_=29;break e}X=k&255;k=17324+X|0;if((X|32|0)==101){k=a[A+2>>0]|0;if(!(k<<24>>24)){k=42136;_=29;break e}X=k&255;k=17324+X|0;if((X|32|0)==98){k=a[A+3>>0]|0;if(!(k<<24>>24)){k=42137;_=29;break e}X=k&255;k=17324+X|0;if((X|32|0)==117){k=a[A+4>>0]|0;if(!(k<<24>>24)){k=42138;_=29;break e}k=k&255;if((k|32|0)!=105){o=105;k=17324+k|0;break}k=a[A+5>>0]|0;if(!(k<<24>>24)){k=42139;_=29;break e}k=k&255;if((k|32|0)!=108){o=108;k=17324+k|0;break}k=a[A+6>>0]|0;if(!(k<<24>>24)){k=42140;_=29;break e}k=k&255;if((k|32|0)==100)break e;else{o=100;k=17324+k|0}}else o=117}else o=98}else o=101}else o=114;while(0);w=a[k>>0]|0;v=o;_=33}while(0);if((_|0)==29){w=0;v=a[17324+(d[k>>0]|0)>>0]|0;_=33}if((_|0)==33?w<<24>>24!=v<<24>>24:0){o=g;break c}k=dr(f,0)|0;c[Q>>2]=k;if(!k){c[Z>>2]=0;c[y>>2]=c[f+220>>2];k=xd(42142,y)|0;do if(k){m=si(c[f+12>>2]|0,k,-1,128,0,Z,0)|0;c[Q>>2]=m;if(!(c[2]|0))pb[c[56>>2]&255](k);else{X=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-X;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}if(!m){k=((c[Y>>2]|0)*12|0)+12|0;n=Fd(k)|0;if(!n){c[Q>>2]=7;o=0;n=0;m=0;k=0;break}else{Vt(n|0,0,k|0)|0;i=(c[Y>>2]|0)+1|0;k=n+(i<<2)|0;B=n;m=k;i=k+(i<<2)|0;k=n;o=1;n=c[Z>>2]|0;_=44;break}}else{o=0;n=0;m=0;k=0}}else{c[Q>>2]=7;B=0;m=0;i=0;k=0;o=0;n=0;_=44}while(0);if((_|0)==44){t=f+44|0;u=f+272|0;v=f+280|0;w=f+284|0;x=f+32|0;y=f+234|0;A=f+264|0;j=f+260|0;f:do if(o?(qi(n)|0)==100:0){o=0;while(1){if(!(c[t>>2]|0))s=0;else s=Co(n,(c[Y>>2]|0)+1|0)|0;q=Do(n,0)|0;r=z;p=u;g=c[p>>2]|0;p=c[p+4>>2]|0;do if(!((p|0)>(r|0)|(p|0)==(r|0)&g>>>0>q>>>0)){if((g|0)==(q|0)&(p|0)==(r|0)?(c[w>>2]|0)==0:0){_=53;break}if((c[v>>2]|0)!=(s|0)){_=53;break}if((c[A>>2]|0)<=(c[j>>2]|0))_=54;else _=53}else _=53;while(0);if((_|0)==53){_=0;g=Zp(f)|0;if(!g)_=54}if((_|0)==54){_=0;g=u;c[g>>2]=q;c[g+4>>2]=r;c[v>>2]=s;c[w>>2]=0;g=0}c[Q>>2]=g;Vt(k|0,0,(c[Y>>2]<<2)+4|0)|0;if(!g){g=0;g:while(1){p=c[Y>>2]|0;while(1){if((g|0)>=(p|0)){g=0;break g}q=g+1|0;if(!(a[(c[x>>2]|0)+g>>0]|0))break;else g=q}g=er(f,s,fl(n,q)|0,g,B+(g<<2)|0)|0;W=Ao(n,q)|0;X=B+(c[Y>>2]<<2)|0;c[X>>2]=(c[X>>2]|0)+W;if(!g)g=q;else break}c[Q>>2]=g}if(a[y>>0]|0){fr(Q,f,B);g=c[Q>>2]|0}if(g|0)break;o=o+1|0;if((c[Y>>2]|0)>=0){g=0;while(1){X=m+(g<<2)|0;c[X>>2]=(c[X>>2]|0)+(c[B+(g<<2)>>2]|0);if((g|0)<(c[Y>>2]|0))g=g+1|0;else break}}if((qi(n)|0)!=100)break f}Qh(n)|0;n=0}else o=0;while(0);c[Z>>2]=n;n=i}if(a[f+232>>0]|0)gr(Q,f,m,n,o);do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{Y=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-Y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);k=c[Z>>2]|0;if(k){k=Qh(k)|0;m=c[Q>>2]|0;if(!m)c[Q>>2]=k;else k=m}else k=c[Q>>2]|0}break b}case 15:{g=A;p=42152;q=15;while(1){k=a[g>>0]|0;if(!(k<<24>>24)){_=82;break}k=a[17324+(k&255)>>0]|0;o=a[17324+(d[p>>0]|0)>>0]|0;if(k<<24>>24!=o<<24>>24){s=k;t=o;_=85;break}if((q|0)>1){g=g+1|0;p=p+1|0;q=q+-1|0}else break}if((_|0)==82){s=0;t=a[17324+(d[p>>0]|0)>>0]|0;_=85}if((_|0)==85?s<<24>>24!=t<<24>>24:0){_=227;break c}m=f+164|0;k=c[m>>2]|0;c[Q>>2]=k;do if(!k){k=c[f+20>>2]|0;c[u>>2]=c[f+16>>2];c[u+4>>2]=k;k=xd(41260,u)|0;if(!k){g=7;o=0;n=0;m=0;k=0;break}g=si(c[f+12>>2]|0,k,-1,129,0,Q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{T=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}k=c[Q>>2]|0;c[m>>2]=k;if(!g)_=94;else{o=0;n=0;m=0;k=0}}else _=94;while(0);if((_|0)==94){P=k;m=c[f+280>>2]|0;n=((m|0)<0)<<31>>31;do if(!(Ho(P,1)|0)){o=c[P+116>>2]|0;g=o+8|0;if(!(b[g>>1]&9312)){T=o;c[T>>2]=m;c[T+4>>2]=n;b[g>>1]=4;break}else{Xe(o,m,n);break}}while(0);T=f+252|0;m=c[T>>2]|0;n=((m|0)<0)<<31>>31;do if(!(Ho(P,2)|0)){g=c[P+116>>2]|0;o=g+40|0;g=g+48|0;if(!(b[g>>1]&9312)){S=o;c[S>>2]=m;c[S+4>>2]=n;b[g>>1]=4;break}else{Xe(o,m,n);break}}while(0);H=Q+12|0;I=Z+12|0;J=Z+48|0;K=Z+52|0;L=Z+40|0;M=Z+44|0;o=0;m=0;h:while(1){do{if((qi(P)|0)!=100){n=0;p=1;S=m;break h}N=Co(P,0)|0}while((c[T>>2]|0)<=0);O=((N|0)<0)<<31>>31;G=0;S=m;do{c[Q>>2]=0;c[Q+4>>2]=0;c[Q+8>>2]=0;c[H>>2]=19;m=Z;n=m+56|0;do{c[m>>2]=0;m=m+4|0}while((m|0)<(n|0));n=aq(f,N,G,-2,0,0,0,1,Z)|0;if(!n){c[I>>2]=Q;n=bq(f,Z,0,0)|0;if(!n){n=cq(f,Z)|0;if((n|0)==100){F=((G|0)<0)<<31>>31;g=0;m=0;do{s=c[J>>2]|0;E=s+(c[K>>2]|0)|0;p=a[s>>0]|0;n=p&255;do if(!(n&128)){q=1;n=p&255;r=0}else{R=d[s+1>>0]<<7;n=R|n&127;if(!(R&16384)){q=2;r=0;break}R=d[s+2>>0]<<14;n=R|n&16383;if(!(R&2097152)){q=3;r=0;break}R=d[s+3>>0]<<21;n=R|n&2097151;if(!(R&268435456)){q=4;r=0;break}p=28;q=s+4|0;n=n&268435455;r=0;do{R=q;q=q+1|0;R=d[R>>0]|0;D=Rt(R&127|0,0,p|0)|0;n=Ft(D|0,z|0,n|0,r|0)|0;r=z;p=p+7|0}while((p|0)<64&((R&128|0)!=0|0!=0));q=q-s|0}while(0);i=c[L>>2]|0;C=c[M>>2]|0;D=(C|0)>0;p=s+q|0;i:while(1){q=Rt(n|0,r|0,3)|0;R=z;B=Ft(n|0,r|0,N|0,O|0)|0;R=Ft(B|0,z|0,q|0,R|0)|0;q=z;B=Rt(R|0,q|0,3)|0;j=z;q=Ft(R|0,q|0,G|0,F|0)|0;j=Ft(q|0,z|0,B|0,j|0)|0;j=Lt(j|0,z|0,9,0)|0;B=z;q=p;p=0;while(1){y=Ft(p|0,((p|0)<0)<<31>>31|0,j|0,B|0)|0;y=Lt(y|0,z|0,9,0)|0;A=z;j:do if(D){s=0;x=0;while(1){w=q;do{if(w>>>0>=E>>>0)break i;q=a[w>>0]|0;p=q&255;do if(!(p&128)){t=1;p=q&255;q=0}else{R=d[w+1>>0]<<7;p=R|p&127;if(!(R&16384)){t=2;q=0;break}R=d[w+2>>0]<<14;p=R|p&16383;if(!(R&2097152)){t=3;q=0;break}R=d[w+3>>0]<<21;p=R|p&2097151;if(!(R&268435456)){t=4;q=0;break}t=28;u=w+4|0;p=p&268435455;q=0;do{R=u;u=u+1|0;R=d[R>>0]|0;v=Rt(R&127|0,0,t|0)|0;p=Ft(v|0,z|0,p|0,q|0)|0;q=z;t=t+7|0}while((t|0)<64&((R&128|0)!=0|0!=0));t=u-w|0}while(0);w=w+t|0}while(w>>>0>=E>>>0);if((p|1|0)==1&(q|0)==0){u=p;break j}s=Ft(s|0,x|0,-2,-1)|0;s=Ft(s|0,z|0,p|0,q|0)|0;t=z;u=Pt(0,s|0,32)|0;u=Ft(u|0,z|0,y|0,A|0)|0;p=0;v=z;do{x=a[i+p>>0]|0;R=Lt(u|0,v|0,9,0)|0;u=Ft(x|0,((x|0)<0)<<31>>31|0,R|0,z|0)|0;v=z;p=p+1|0}while((p|0)!=(C|0));q=w;x=t;g=u^g;m=v^m}}else{p=q;v=0;w=0;while(1){do{if(p>>>0>=E>>>0)break i;s=a[p>>0]|0;q=s&255;do if(!(q&128)){t=1;u=s&255;q=0}else{R=d[p+1>>0]<<7;q=R|q&127;if(!(R&16384)){t=2;u=q;q=0;break}R=d[p+2>>0]<<14;q=R|q&16383;if(!(R&2097152)){t=3;u=q;q=0;break}R=d[p+3>>0]<<21;u=R|q&2097151;if(!(R&268435456)){t=4;q=0;break}s=28;t=p+4|0;u=u&268435455;q=0;do{R=t;t=t+1|0;R=d[R>>0]|0;x=Rt(R&127|0,0,s|0)|0;u=Ft(x|0,z|0,u|0,q|0)|0;q=z;s=s+7|0}while((s|0)<64&((R&128|0)!=0|0!=0));t=t-p|0}while(0);p=p+t|0}while(p>>>0>=E>>>0);if((u|1|0)==1&(q|0)==0){w=p;break j}x=Ft(v|0,w|0,-2,-1)|0;u=Ft(x|0,z|0,u|0,q|0)|0;x=z;R=Pt(0,u|0,32)|0;R=Ft(R|0,z|0,y|0,A|0)|0;v=u;w=x;g=R^g;m=z^m}}while(0);t=a[w>>0]|0;p=t&255;s=(p&128|0)==0;if((u|0)==0&(q|0)==0)break;do if(s)q=1;else{R=d[w+1>>0]<<7;p=R|p&127;if(!(R&16384)){q=2;break}R=d[w+2>>0]<<14;p=R|p&16383;if(!(R&2097152)){q=3;break}R=d[w+3>>0]<<21;p=R|p&2097151;if(!(R&268435456)){q=4;break}s=28;t=w+4|0;p=p&268435455;q=0;while(1){R=t;t=t+1|0;R=d[R>>0]|0;A=Rt(R&127|0,0,s|0)|0;p=Ft(A|0,z|0,p|0,q|0)|0;s=s+7|0;if(!((s|0)<64&((R&128|0)!=0|0!=0)))break;else q=z}q=t-w|0}while(0);q=w+q|0}do if(s){s=1;p=t&255;q=0}else{R=d[w+1>>0]<<7;p=R|p&127;if(!(R&16384)){s=2;q=0;break}R=d[w+2>>0]<<14;p=R|p&16383;if(!(R&2097152)){s=3;q=0;break}R=d[w+3>>0]<<21;p=R|p&2097151;if(!(R&268435456)){s=4;q=0;break}s=28;t=w+4|0;p=p&268435455;q=0;do{R=t;t=t+1|0;R=d[R>>0]|0;B=Rt(R&127|0,0,s|0)|0;p=Ft(B|0,z|0,p|0,q|0)|0;q=z;s=s+7|0}while((s|0)<64&((R&128|0)!=0|0!=0));s=t-w|0}while(0);R=Ft(p|0,q|0,n|0,r|0)|0;p=w+s|0;n=R;r=z}n=cq(f,Z)|0}while((n|0)==100)}else{g=0;m=0}}else{g=0;m=0}}else{g=0;m=0}iq(Z);o=g^o;S=m^S;G=G+1|0}while((G|0)<(c[T>>2]|0));if(!n)m=S;else{p=0;break}}do if(k){k=c[P>>2]|0;R=P+128|0;O=c[R+4>>2]|0;if((O|0)>0|(O|0)==0&(c[R>>2]|0)>>>0>0)Rh(k,P);m=Sh(P)|0;c[P+20>>2]=770837923;c[P+36>>2]=-1;c[P+40>>2]=0;a[P+142>>0]=2;c[P+44>>2]=0;c[P+32>>2]=1;a[P+143>>0]=-1;c[P+48>>2]=0;R=P+64|0;c[R>>2]=0;c[R+4>>2]=0;if((m|0)==3082|(a[k+73>>0]|0)!=0){Th(k);g=7;break}else{g=c[k+60>>2]&m;break}}else g=0;while(0);if(p)if(!g){R=f+36|0;n=c[c[R>>2]>>2]|0;c[Q>>2]=0;c[X>>2]=c[f+220>>2];k=xd(42142,X)|0;k:do if(!k){g=7;n=0;k=0;m=0}else{g=si(c[f+12>>2]|0,k,-1,128,0,Q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{P=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}m=c[Q>>2]|0;if(g|0){n=0;k=0;break}O=f+44|0;P=f+32|0;Q=n+16|0;M=n+20|0;N=f+256|0;if((qi(m)|0)==100){n=0;k=0}else{g=0;n=0;k=0;break}while(1){g=Do(m,0)|0;p=z;if(!(c[O>>2]|0))L=0;else L=Co(m,(c[Y>>2]|0)+1|0)|0;K=Lt(g|0,p|0,9,0)|0;K=Ft(L|0,((L|0)<0)<<31>>31|0,K|0,z|0)|0;J=z;H=Lt(K|0,J|0,81,0)|0;I=z;J=Lt(K|0,J|0,9,0)|0;K=z;p=0;l:while(1){g=c[Y>>2]|0;F=p;while(1){if((F|0)>=(g|0))break l;G=F+1|0;if(!(a[(c[P>>2]|0)+F>>0]|0))break;else F=G}E=fl(m,G)|0;g=Ao(m,G)|0;p=c[R>>2]|0;q=c[p>>2]|0;c[X>>2]=0;g=mb[c[q+12>>2]&255](p,E,g,X)|0;m:do if(!g){c[c[X>>2]>>2]=p;do if((c[q>>2]|0)>0){g=kb[c[q+24>>2]&255](c[X>>2]|0,L)|0;if(!g)break;jb[c[q+16>>2]&255](c[X>>2]|0)|0;c[X>>2]=0;p=0;_=209;break m}while(0);p=c[X>>2]|0;i=p;C=((F|0)<0)<<31>>31;D=Ft(F|0,C|0,H|0,I|0)|0;D=Lt(D|0,z|0,9,0)|0;E=z;do{c[Z>>2]=0;c[U>>2]=0;c[V>>2]=0;c[W>>2]=0;g=ob[c[M>>2]&255](i,X,Z,U,V,W)|0;B=(g|0)==0;do if(B){x=c[X>>2]|0;y=c[Z>>2]|0;A=c[W>>2]|0;j=((A|0)<0)<<31>>31;q=Ft(A|0,j|0,D|0,E|0)|0;r=z;if((y|0)>0){s=0;do{w=a[x+s>>0]|0;q=Lt(q|0,r|0,9,0)|0;q=Ft(w|0,((w|0)<0)<<31>>31|0,q|0,z|0)|0;r=z;s=s+1|0}while((s|0)!=(y|0))}n=q^n;k=r^k;v=c[T>>2]|0;if((v|0)<=1)break;w=c[N>>2]|0;u=1;do{t=c[w+(u*24|0)>>2]|0;if((t|0)<=(y|0)){ba=Ft(u|0,((u|0)<0)<<31>>31|0,J|0,K|0)|0;s=z;q=Rt(ba|0,s|0,3)|0;r=z;s=Ft(ba|0,s|0,F|0,C|0)|0;r=Ft(s|0,z|0,q|0,r|0)|0;r=Lt(r|0,z|0,9,0)|0;r=Ft(r|0,z|0,A|0,j|0)|0;q=z;if((t|0)>0){s=0;do{ba=a[x+s>>0]|0;r=Lt(r|0,q|0,9,0)|0;r=Ft(ba|0,((ba|0)<0)<<31>>31|0,r|0,z|0)|0;q=z;s=s+1|0}while((s|0)!=(t|0))}n=r^n;k=q^k}u=u+1|0}while((u|0)!=(v|0))}while(0)}while(B)}else{p=c[X>>2]|0;_=209}while(0);if((_|0)==209)_=0;if(p|0)jb[c[Q>>2]&255](p)|0;if((g|0)==101)p=G;else break k}if((qi(m)|0)!=100){g=0;break}}}while(0);Qh(m)|0;m=S}else{n=0;m=S;k=0}else{g=n;n=0;m=S;k=0}}k=((o|0)==(n|0)&(m|0)==(k|0)&1|g|0)==0?267:g;break b}default:_=227}while(0);if((_|0)==227){if((r|0)<=6){k=1;break}o=a[A>>0]|0}g=o<<24>>24==0;n:do if(g){k=42168;_=230}else{ba=o&255;k=17324+ba|0;do if((ba|32|0)==109){k=a[A+1>>0]|0;if(!(k<<24>>24)){k=42169;_=230;break n}ba=k&255;k=17324+ba|0;if((ba|32|0)==101){k=a[A+2>>0]|0;if(!(k<<24>>24)){k=42170;_=230;break n}ba=k&255;k=17324+ba|0;if((ba|32|0)==114){k=a[A+3>>0]|0;if(!(k<<24>>24)){k=42171;_=230;break n}ba=k&255;k=17324+ba|0;if((ba|32|0)==103){k=a[A+4>>0]|0;if(!(k<<24>>24)){k=42172;_=230;break n}k=k&255;if((k|32|0)!=101){n=101;k=17324+k|0;break}k=a[A+5>>0]|0;if(!(k<<24>>24)){k=42173;_=230;break n}if(k<<24>>24==61)break n;else{n=61;k=17324+(k&255)|0}}else n=103}else n=114}else n=101}else n=109;while(0);B=a[k>>0]|0;_=234}while(0);if((_|0)==230){B=0;n=a[17324+(d[k>>0]|0)>>0]|0;_=234}if((_|0)==234?B<<24>>24!=n<<24>>24:0){if((r|0)<=10){k=1;break}o:do if(g){k=42252;_=264}else{ba=o&255;k=17324+ba|0;do if((ba|32|0)==97){k=a[A+1>>0]|0;if(!(k<<24>>24)){k=42253;_=264;break o}ba=k&255;k=17324+ba|0;if((ba|32|0)==117){k=a[A+2>>0]|0;if(!(k<<24>>24)){k=42254;_=264;break o}k=k&255;if((k|32|0)!=116){m=116;k=17324+k|0;break}k=a[A+3>>0]|0;if(!(k<<24>>24)){k=42255;_=264;break o}k=k&255;if((k|32|0)!=111){m=111;k=17324+k|0;break}k=a[A+4>>0]|0;if(!(k<<24>>24)){k=42256;_=264;break o}k=k&255;if((k|32|0)!=109){m=109;k=17324+k|0;break}k=a[A+5>>0]|0;if(!(k<<24>>24)){k=42257;_=264;break o}k=k&255;if((k|32|0)!=101){m=101;k=17324+k|0;break}k=a[A+6>>0]|0;if(!(k<<24>>24)){k=42258;_=264;break o}k=k&255;if((k|32|0)!=114){m=114;k=17324+k|0;break}k=a[A+7>>0]|0;if(!(k<<24>>24)){k=42259;_=264;break o}k=k&255;if((k|32|0)!=103){m=103;k=17324+k|0;break}k=a[A+8>>0]|0;if(!(k<<24>>24)){k=42260;_=264;break o}k=k&255;if((k|32|0)!=101){m=101;k=17324+k|0;break}k=a[A+9>>0]|0;if(!(k<<24>>24)){k=42261;_=264;break o}if(k<<24>>24==61)break o;else{m=61;k=17324+(k&255)|0}}else m=117}else m=97;while(0);D=a[k>>0]|0;_=268}while(0);if((_|0)==264){D=0;m=a[17324+(d[k>>0]|0)>>0]|0;_=268}if((_|0)==268?D<<24>>24!=m<<24>>24:0){k=1;break}k=A+10|0;c[Z>>2]=0;m=a[k>>0]|0;p:do if(m<<24>>24>47){o=k;k=0;n=m;m=m<<24>>24;while(1){if(!(n<<24>>24<58&(k|0)<214748363))break p;o=o+1|0;k=m+-48+(k*10|0)|0;m=a[o>>0]|0;if(m<<24>>24<=47)break;else{n=m;m=m<<24>>24}}}else k=0;while(0);o=f+48|0;c[o>>2]=(k|0)==1|(k|0)>16?8:k;m=f+233|0;if(!(a[m>>0]|0)){k=c[f+12>>2]|0;ba=c[f+20>>2]|0;c[F>>2]=c[f+16>>2];c[F+4>>2]=ba;_p(Z,k,42175,F);k=c[Z>>2]|0;if(!k){a[m>>0]=1;_=276}}else _=276;do if((_|0)==276){n=f+148|0;m=c[n>>2]|0;c[Q>>2]=m;if(!m){m=c[f+20>>2]|0;c[G>>2]=c[f+16>>2];c[G+4>>2]=m;m=xd(42096,G)|0;if(!m){c[Z>>2]=7;k=7;break}k=si(c[f+12>>2]|0,m,-1,129,0,Q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{ba=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Q>>2]|0;c[n>>2]=m;c[Z>>2]=k;if(k)break}else c[Z>>2]=0;g=m;do if(!(Ho(g,1)|0)){k=c[g+116>>2]|0;n=k+8|0;if(!(b[n>>1]&9312)){ba=k;c[ba>>2]=2;c[ba+4>>2]=0;b[n>>1]=4;break}else{Xe(k,2,0);break}}while(0);n=c[o>>2]|0;o=((n|0)<0)<<31>>31;if(Ho(g,2)|0){qi(g)|0;if(!m)k=0;else _=294}else{m=c[g+116>>2]|0;k=m+40|0;m=m+48|0;if(!(b[m>>1]&9312)){ba=k;c[ba>>2]=n;c[ba+4>>2]=o;b[m>>1]=4}else Xe(k,n,o);qi(g)|0;_=294}do if((_|0)==294){k=c[g>>2]|0;ba=g+128|0;Y=c[ba+4>>2]|0;if((Y|0)>0|(Y|0)==0&(c[ba>>2]|0)>>>0>0)Rh(k,g);m=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;ba=g+64|0;c[ba>>2]=0;c[ba+4>>2]=0;if((m|0)==3082|(a[k+73>>0]|0)!=0){Th(k);k=7;break}else{k=c[k+60>>2]&m;break}}while(0);c[Z>>2]=k}while(0);break}k=A+6|0;n=a[k>>0]|0;q:do if(n<<24>>24>47){m=0;o=n;n=n<<24>>24;while(1){if(!(o<<24>>24<58&(m|0)<214748363)){_=245;break q}k=k+1|0;m=n+-48+(m*10|0)|0;n=a[k>>0]|0;if(n<<24>>24>47){o=n;n=n<<24>>24}else{_=239;break}}}else{m=0;_=239}while(0);r:do if((_|0)==239){if(n<<24>>24==44){k=k+1|0;o=a[k>>0]|0;if(o<<24>>24<=47){_=245;break}n=0;g=o;o=o<<24>>24;while(1){if(!(g<<24>>24<58&(n|0)<214748363)){_=245;break r}k=k+1|0;n=o+-48+(n*10|0)|0;p=a[k>>0]|0;if(p<<24>>24<=47){o=n;k=p;break}else{g=p;o=p<<24>>24}}}else{o=8;k=n}if(k<<24>>24!=0|(o|0)<2)_=245;else{c[Q>>2]=0;n=f+233|0;if(!(a[n>>0]|0)){k=c[f+12>>2]|0;ba=c[f+20>>2]|0;c[E>>2]=c[f+16>>2];c[E+4>>2]=ba;_p(Q,k,42175,E);k=c[Q>>2]|0;if(!k){a[n>>0]=1;_=249}}else _=249;if((_|0)==249){k=$q(f,m,o)|0;c[Q>>2]=k}m=f+248|0;n=c[m>>2]|0;s:do if(n|0){o=c[n+20>>2]|0;Qh(c[n+16>>2]|0)|0;do if(o|0){if(c[o+464>>2]|0){Lc(o,n);break s}g=n;if(g>>>0<(c[o+296>>2]|0)>>>0)break;if(g>>>0>=(c[o+300>>2]|0)>>>0)break;ba=o+292|0;c[n>>2]=c[ba>>2];c[ba>>2]=n;break s}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{ba=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[m>>2]=0}}while(0);if((_|0)==245){c[Q>>2]=1;k=1}}while(0);c[$>>2]=k;break}k=c[i+(g+4<<2)>>2]|0;m=e[k+8>>1]|0;do if(!(m&4)){if(m&8|0){k=Gc(+h[k>>3])|0;break}if(!(m&18)){t=Y;_=360;break a}k=Hc(a[k+10>>0]|0,c[k+12>>2]|0,c[k+16>>2]|0)|0}else k=c[k>>2]|0;while(0);if((k|0)<0)c[$>>2]=19;else{t=Y;_=360}}else{t=f+24|0;_=360}while(0);do if((_|0)==360){v=Fd((c[t>>2]<<3)+8|0)|0;if(!v){c[$>>2]=7;break}s=(c[t>>2]|0)+1|0;u=v+(s<<2)|0;Vt(v|0,0,s<<3|0)|0;s=f+264|0;t:do if(!(c[s>>2]|0)){n=f+120|0;k=c[n>>2]|0;c[Q>>2]=k;do if(!k){m=c[f+20>>2]|0;c[r>>2]=c[f+16>>2];c[r+4>>2]=m;m=xd(40395,r)|0;if(!m){k=7;break}k=si(c[f+12>>2]|0,m,-1,129,0,Q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{ba=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Q>>2]|0;c[n>>2]=m;if(!k){k=m;_=371}}else _=371;while(0);do if((_|0)==371){n=k;Ho(n,1)|0;qi(n)|0;if(!k){_=377;break t}k=c[n>>2]|0;ba=n+128|0;Z=c[ba+4>>2]|0;if((Z|0)>0|(Z|0)==0&(c[ba>>2]|0)>>>0>0)Rh(k,n);m=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;ba=n+64|0;c[ba>>2]=0;c[ba+4>>2]=0;if(!((m|0)==3082|(a[k+73>>0]|0)!=0)){ba=c[k+60>>2]&m;c[$>>2]=ba;if(!ba){_=379;break t}else break t}else{Th(k);k=7;break}}while(0);c[$>>2]=k}else _=377;while(0);if((_|0)==377){c[$>>2]=0;_=379}u:do if((_|0)==379){do if(A?(c[f+40>>2]|0)==0:0){k=c[i+((c[t>>2]|0)+3<<2)>>2]|0;m=b[k+8>>1]|0;if(-1431655766>>>(m&31)&1){m=c[i+4>>2]|0;k=m;m=b[m+8>>1]|0}o=k+8|0;if(!(-1431655766>>>(m&31)&1)){g=c[i>>2]|0;n=b[g+8>>1]|0;if(!(-1431655766>>>(n&31)&1)){n=n&65535;do if(!(n&4)){if(n&8|0){o=Gc(+h[g>>3])|0;g=z;break}if(!(n&18)){o=0;g=0}else{g=Hc(a[g+10>>0]|0,c[g+12>>2]|0,c[g+16>>2]|0)|0;m=b[o>>1]|0;o=g;g=z}}else{o=c[g>>2]|0;g=c[g+4>>2]|0}while(0);m=m&65535;do if(!(m&4)){if(m&8|0){m=Gc(+h[k>>3])|0;n=z;break}if(!(m&18)){m=0;n=0}else{m=Hc(a[k+10>>0]|0,c[k+12>>2]|0,c[k+16>>2]|0)|0;n=z}}else{n=k;m=c[n>>2]|0;n=c[n+4>>2]|0}while(0);if((o|0)==(m|0)&(g|0)==(n|0)){m=0;break}}if((a[(c[f+12>>2]|0)+78>>0]|0)==5){m=0;k=hr(f,k,C,v)|0}else{m=1;k=ir(f,i,j)|0}c[$>>2]=k;if(k)break u}else m=0}else m=0;while(0);k=c[i>>2]|0;if(!(-1431655766>>>(b[k+8>>1]&31)&1)){k=hr(f,k,C,v)|0;c[$>>2]=k;q=1}else{q=0;k=0}if(A&(k|0)==0){k=c[i+((c[t>>2]|0)+4<<2)>>2]|0;n=e[k+8>>1]|0;do if(!(n&4)){if(n&8|0){r=Gc(+h[k>>3])|0;break}if(!(n&18))r=0;else r=Hc(a[k+10>>0]|0,c[k+12>>2]|0,c[k+16>>2]|0)|0}else r=c[k>>2]|0;while(0);v:do if(!m){ba=ir(f,i,j)|0;c[$>>2]=ba;switch(ba|0){case 0:{_=415;break v}case 19:break;default:break v}if(!(c[f+40>>2]|0))c[$>>2]=267}else _=415;while(0);w:do if((_|0)==415){p=j;g=c[p>>2]|0;p=c[p+4>>2]|0;o=f+272|0;m=o;k=c[m>>2]|0;m=c[m+4>>2]|0;n=(g|0)==(k|0)&(p|0)==(m|0);if(!((q|0)!=0&n)){do if(!((m|0)>(p|0)|(m|0)==(p|0)&k>>>0>g>>>0)){if(n?(c[f+284>>2]|0)==0:0){_=421;break}k=f+280|0;if(!((c[k>>2]|0)==(r|0)?(c[s>>2]|0)<=(c[f+260>>2]|0):0))_=421}else _=421;while(0);do if((_|0)==421){k=Zp(f)|0;if(!k){k=f+280|0;break}else{c[$>>2]=k;break w}}while(0);ba=o;c[ba>>2]=g;c[ba+4>>2]=p;c[k>>2]=r;c[f+284>>2]=0;c[$>>2]=0}k=c[t>>2]|0;x:do if((k|0)>0){p=f+32|0;g=2;while(1){n=g+-2|0;if(!(a[(c[p>>2]|0)+n>>0]|0)){o=i+(g<<2)|0;k=c[o>>2]|0;y:do if(!k)k=0;else{m=e[k+8>>1]|0;do if((m&514|0)==514){if((a[k+10>>0]|0)!=1)break;k=c[k+16>>2]|0;break y}while(0);if(m&1|0){k=0;break}k=Jc(k,1)|0}while(0);k=er(f,r,k,n,u+(n<<2)|0)|0;if(k|0)break x;m=c[o>>2]|0;n=e[m+8>>1]|0;do if(!(n&2))_=438;else{if((a[m+10>>0]|0)!=1){_=438;break}k=c[m+12>>2]|0}while(0);do if((_|0)==438){_=0;if(!(n&16)){if(n&1|0){k=0;break}k=Ue(m,1)|0;break}else{k=c[m+12>>2]|0;if(!(n&16384))break;k=(c[m>>2]|0)+k|0;break}}while(0);ba=u+(c[t>>2]<<2)|0;c[ba>>2]=(c[ba>>2]|0)+k;k=c[t>>2]|0}if((g|0)>(k|0)){k=0;break}else g=g+1|0}}else k=0;while(0);c[$>>2]=k}while(0);if(a[f+234>>0]|0)fr($,f,u);c[C>>2]=(c[C>>2]|0)+1}if(a[f+232>>0]|0)gr($,f,u,v,c[C>>2]|0)}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{ba=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}while(0);k=f+248|0;m=c[k>>2]|0;if(!m){c[k>>2]=0;ba=c[$>>2]|0;l=aa;return ba|0}n=c[m+20>>2]|0;Qh(c[m+16>>2]|0)|0;if(n|0){if(c[n+464>>2]|0){Lc(n,m);c[k>>2]=0;ba=c[$>>2]|0;l=aa;return ba|0}ba=m;if(ba>>>0>=(c[n+296>>2]|0)>>>0?ba>>>0<(c[n+300>>2]|0)>>>0:0){ba=n+292|0;c[m>>2]=c[ba>>2];c[ba>>2]=m;c[k>>2]=0;ba=c[$>>2]|0;l=aa;return ba|0}}if(!(c[2]|0)){pb[c[56>>2]&255](m);c[k>>2]=0;ba=c[$>>2]|0;l=aa;return ba|0}else{ba=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);c[k>>2]=0;ba=c[$>>2]|0;l=aa;return ba|0}return 0}function Pp(b){b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+16|0;d=g;c[b+52>>2]=0;f=b+233|0;if((a[f>>0]|0)!=2){f=0;l=g;return f|0}c[d>>2]=c[b+20>>2];e=xd(39714,d)|0;if(!e){f=7;l=g;return f|0}d=Yp(c[b+12>>2]|0,c[b+16>>2]|0,e,0,0,0,0,0,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{b=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}a[f>>0]=(d|0)==0&1;f=0;l=g;return f|0}function Qp(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;d=p;f=p+8|0;n=b+12|0;m=(c[n>>2]|0)+32|0;o=c[m>>2]|0;m=c[m+4>>2]|0;g=Zp(b)|0;a:do if(!g){j=b+52|0;if((c[j>>2]|0)>>>0>4){k=b+48|0;switch(c[k>>2]|0){case 255:case 0:{g=0;break a}default:{}}h=b+200|0;e=c[h>>2]|0;c[f>>2]=e;do if(!e){g=c[b+20>>2]|0;c[d>>2]=c[b+16>>2];c[d+4>>2]=g;d=xd(41402,d)|0;if(!d){g=7;d=0;break}g=si(c[n>>2]|0,d,-1,129,0,f,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](d);else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d)}d=c[f>>2]|0;c[h>>2]=d;if(!g){e=d;i=12}else d=0}else i=12;while(0);do if((i|0)==12){g=e;if((qi(g)|0)==100)d=Co(g,0)|0;else d=0;if(e){e=c[g>>2]|0;i=g+128|0;h=c[i+4>>2]|0;if((h|0)>0|(h|0)==0&(c[i>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;i=g+64|0;c[i>>2]=0;c[i+4>>2]=0;if((f|0)==3082|(a[e+73>>0]|0)!=0){Th(e);g=7;break}else{g=c[e+60>>2]&f;break}}else g=0}while(0);d=O(c[j>>2]|0,d)|0;d=((d|0)/2|0)+d|0;if((d|0)>64)g=$q(b,d,c[k>>2]|0)|0}else g=0}while(0);d=b+248|0;e=c[d>>2]|0;do if(e|0){f=c[e+20>>2]|0;Qh(c[e+16>>2]|0)|0;if(f|0){if(c[f+464>>2]|0){Lc(f,e);break}b=e;if(b>>>0>=(c[f+296>>2]|0)>>>0?b>>>0<(c[f+300>>2]|0)>>>0:0){b=f+292|0;c[e>>2]=c[b>>2];c[b>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{b=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);c[d>>2]=0;n=(c[n>>2]|0)+32|0;c[n>>2]=o;c[n+4>>2]=m;l=p;return g|0}function Rp(a){a=a|0;return 0}function Sp(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;f=a+252|0;if((c[f>>2]|0)<=0){h=a+264|0;c[h>>2]=0;return 0}g=a+256|0;e=0;do{b=c[g>>2]|0;h=b+(e*24|0)+4|0;b=c[b+(e*24|0)+12>>2]|0;if(b|0)do{d=c[b+8>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);b=c[b>>2]|0}while((b|0)!=0);mp(h);e=e+1|0}while((e|0)<(c[f>>2]|0));i=a+264|0;c[i>>2]=0;return 0}function Tp(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;if(Ls(d,39592)|0)if(Ls(d,39600)|0)if(Ls(d,31384)|0)if(!(Ls(d,39608)|0))a=3;else{e=0;return e|0}else a=2;else a=1;else a=0;c[e>>2]=c[6792+(a<<3)+4>>2];e=1;return e|0}function Up(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+96|0;q=r+72|0;p=r+56|0;m=r+40|0;j=r+24|0;i=r+8|0;e=r;n=r+84|0;g=b+12|0;o=c[g>>2]|0;k=b+233|0;if((a[k>>0]|0)==2){c[e>>2]=c[b+20>>2];f=xd(39714,e)|0;if(!f)e=7;else{e=Yp(c[g>>2]|0,c[b+16>>2]|0,f,0,0,0,0,0,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{h=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}a[k>>0]=(e|0)==0&1;h=7}}else h=7;if((h|0)==7){c[n>>2]=0;e=Zp(b)|0}c[n>>2]=e;if(!(c[b+40>>2]|0)){h=c[b+20>>2]|0;c[i>>2]=c[b+16>>2];c[i+4>>2]=h;c[i+8>>2]=d;_p(n,o,39722,i)}if(a[b+234>>0]|0){i=c[b+20>>2]|0;c[j>>2]=c[b+16>>2];c[j+4>>2]=i;c[j+8>>2]=d;_p(n,o,39775,j)}f=b+16|0;if(!(a[k>>0]|0))e=b+20|0;else{e=b+20|0;k=c[e>>2]|0;c[m>>2]=c[f>>2];c[m+4>>2]=k;c[m+8>>2]=d;_p(n,o,39828,m)}m=c[e>>2]|0;c[p>>2]=c[f>>2];c[p+4>>2]=m;c[p+8>>2]=d;_p(n,o,39875,p);p=c[e>>2]|0;c[q>>2]=c[f>>2];c[q+4>>2]=p;c[q+8>>2]=d;_p(n,o,39929,q);l=r;return c[n>>2]|0}function Vp(b,c){b=b|0;c=c|0;if(a[b+236>>0]|0){c=0;return c|0}c=Qp(b)|0;return c|0}function Wp(a,b){a=a|0;b=b|0;return 0}function Xp(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;f=a+252|0;if((c[f>>2]|0)<=0){a=a+264|0;c[a>>2]=0;return 0}g=a+256|0;e=0;do{b=c[g>>2]|0;h=b+(e*24|0)+4|0;b=c[b+(e*24|0)+12>>2]|0;if(b|0)do{d=c[b+8>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);b=c[b>>2]|0}while((b|0)!=0);mp(h);e=e+1|0}while((e|0)<(c[f>>2]|0));i=a+264|0;c[i>>2]=0;return 0}function Yp(e,f,g,h,i,j,k,m,n){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0;B=l;l=l+16|0;A=B+8|0;y=B;z=B+12|0;c[z>>2]=0;s=e+20|0;o=c[s>>2]|0;t=e+16|0;r=c[t>>2]|0;if((o|0)>0){p=0;do{q=c[r+(p<<4)+4>>2]|0;if(q|0)c[(c[q+4>>2]|0)+4>>2]=c[q>>2];p=p+1|0}while((p|0)!=(o|0))}p=e+24|0;q=(c[p>>2]&1|0)==0;x=c[r+12>>2]|0;a[e+70>>0]=a[x+77>>0]|0;if(!(b[x+78>>1]&1)){o=$k(e,0,z)|0;if(!o){o=c[s>>2]|0;x=8}else x=14}else x=8;a:do if((x|0)==8){if((o|0)>1)do{o=o+-1|0;if((b[(c[(c[t>>2]|0)+(o<<4)+12>>2]|0)+78>>1]&1)==0?(u=$k(e,o,z)|0,u|0):0){o=u;x=14;break a}}while((o|0)>1);if(q)c[p>>2]=c[p>>2]&-2;w=jj(e,g,f)|0;if((w|0)!=0?(c[w+12>>2]|0)==0:0){do if(h){v=b[w+42>>1]|0;b:do if(v<<16>>16>0){f=c[w+4>>2]|0;t=d[17324+(d[h>>0]|0)>>0]|0;u=v<<16>>16;o=0;do{p=f+(o<<4)|0;r=c[p>>2]|0;s=a[r>>0]|0;q=(d[17324+(s&255)>>0]|0)-t|0;if(!(s<<24>>24==0|(q|0)!=0)){s=h;do{r=r+1|0;s=s+1|0;C=a[r>>0]|0;q=(d[17324+(C&255)>>0]|0)-(d[17324+(d[s>>0]|0)>>0]|0)|0}while(!(C<<24>>24==0|(q|0)!=0))}if(!q)break b;o=o+1|0}while((o|0)<(u|0))}else{o=0;p=0}while(0);if((o|0)==(v<<16>>16|0)){if(c[w+36>>2]&32|0){p=0;w=0;v=0;u=0;f=0;s=0;q=0;r=0;break a}s=a[h>>0]|0;r=d[17324+(s&255)>>0]|0;o=r+-95|0;s=s<<24>>24==0;if(!(s|(o|0)!=0)){p=28078;q=h;do{q=q+1|0;p=p+1|0;C=a[q>>0]|0;o=(d[17324+(C&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(C<<24>>24==0|(o|0)!=0))}if(o|0){o=r+-114|0;if(!(s|(o|0)!=0)){p=28086;q=h;do{q=q+1|0;p=p+1|0;C=a[q>>0]|0;o=(d[17324+(C&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(C<<24>>24==0|(o|0)!=0))}if(o|0){o=r+-111|0;if(!(s|(o|0)!=0)){p=28092;q=h;do{q=q+1|0;p=p+1|0;C=a[q>>0]|0;o=(d[17324+(C&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(C<<24>>24==0|(o|0)!=0))}if(o|0){p=0;w=0;v=0;u=0;f=0;s=0;q=0;r=0;break a}}}C=b[w+40>>1]|0;o=C<<16>>16;if(C<<16>>16<=-1){o=0;r=1;f=0;t=0;q=27532;break}q=o;p=(c[w+4>>2]|0)+(o<<4)|0}else q=o;if(p){r=a[p+15>>0]|0;if(!(r&4))s=0;else{s=c[p>>2]|0;s=s+(As(s)|0)+1|0}if((b[w+40>>1]|0)==(q|0))o=(c[w+36>>2]&8|0)!=0;else o=0;o=o&1;r=r&1;f=(a[p+12>>0]|0)!=0&1;t=c[p+8>>2]|0;q=s}else{o=0;r=1;f=0;t=0;q=27532}}else{o=0;r=1;f=0;t=0;q=27532}while(0);p=0;v=o;u=r;s=(t|0)==0?22091:t;r=0}else{p=0;w=0;v=0;u=0;f=0;s=0;q=0;r=0}}while(0);if((x|0)==14){p=o;w=0;v=0;u=0;f=0;s=0;q=0;r=(o|0)!=0}if(i|0)c[i>>2]=q;if(j|0)c[j>>2]=s;if(k|0)c[k>>2]=f;if(m|0)c[m>>2]=u;if(n|0)c[n>>2]=v;o=c[z>>2]|0;if(!(r|(w|0)!=0)){do if(o|0){if(e|0){if(c[e+464>>2]|0){Lc(e,o);break}C=o;if(C>>>0>=(c[e+296>>2]|0)>>>0?C>>>0<(c[e+300>>2]|0)>>>0:0){C=e+292|0;c[o>>2]=c[C>>2];c[C>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{C=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[y>>2]=g;c[y+4>>2]=h;o=Ff(e,40997,y)|0;c[z>>2]=o;p=1}c[A>>2]=o;cg(e,p,o|0?17859:0,A);o=c[z>>2]|0;do if(o|0){if(e|0){if(c[e+464>>2]|0){Lc(e,o);break}C=o;if(C>>>0>=(c[e+296>>2]|0)>>>0?C>>>0<(c[e+300>>2]|0)>>>0:0){C=e+292|0;c[o>>2]=c[C>>2];c[C>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{C=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);if((p|0)==3082|(a[e+73>>0]|0)!=0){Th(e);C=7;l=B;return C|0}else{C=c[e+60>>2]&p;l=B;return C|0}return 0}function Zp(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;k=p;m=p+8|0;n=d+252|0;g=d+280|0;f=0;e=c[n>>2]|0;a:while(1){if((f|0)>=(e|0))break;j=$p(d,c[g>>2]|0,f,-1)|0;e=c[n>>2]|0;switch(j|0){case 0:case 101:break;default:{o=38;break a}}f=f+1|0}if((o|0)==38){if((e|0)>0){h=d+256|0;g=0;do{e=c[h>>2]|0;i=e+(g*24|0)+4|0;e=c[e+(g*24|0)+12>>2]|0;if(e|0)do{f=c[e+8>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{o=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);e=c[e>>2]|0}while((e|0)!=0);mp(i);g=g+1|0}while((g|0)<(c[n>>2]|0))}c[d+264>>2]=0;o=j;l=p;return o|0}if((e|0)>0){h=d+256|0;g=0;do{e=c[h>>2]|0;i=e+(g*24|0)+4|0;e=c[e+(g*24|0)+12>>2]|0;if(e|0)do{f=c[e+8>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{j=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);e=c[e>>2]|0}while((e|0)!=0);mp(i);g=g+1|0}while((g|0)<(c[n>>2]|0))}c[d+264>>2]=0;if(!(a[d+233>>0]|0)){o=0;l=p;return o|0}i=d+48|0;if((c[i>>2]|0)!=255){o=0;l=p;return o|0}if(!(c[d+52>>2]|0)){o=0;l=p;return o|0}g=d+144|0;e=c[g>>2]|0;c[m>>2]=e;if(!e){e=c[d+20>>2]|0;c[k>>2]=c[d+16>>2];c[k+4>>2]=e;e=xd(39981,k)|0;if(!e){o=7;l=p;return o|0}f=si(c[d+12>>2]|0,e,-1,129,0,m,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{d=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[m>>2]|0;c[g>>2]=e;if(!f)g=e;else{o=f;l=p;return o|0}}else g=e;h=g;do if(!(Ho(h,1)|0)){e=c[h+116>>2]|0;f=e+8|0;if(!(b[f>>1]&9312)){d=e;c[d>>2]=2;c[d+4>>2]=0;b[f>>1]=4;break}else{Xe(e,2,0);break}}while(0);switch(qi(h)|0){case 100:{e=Co(h,0)|0;c[i>>2]=e;e=(e|0)==1?8:e;o=31;break}case 101:{e=0;o=31;break}default:{}}if((o|0)==31)c[i>>2]=e;if(!g){o=0;l=p;return o|0}f=c[h>>2]|0;o=h+128|0;d=c[o+4>>2]|0;if((d|0)>0|(d|0)==0&(c[o>>2]|0)>>>0>0)Rh(f,h);e=Sh(h)|0;c[h+20>>2]=770837923;c[h+36>>2]=-1;c[h+40>>2]=0;a[h+142>>0]=2;c[h+44>>2]=0;c[h+32>>2]=1;a[h+143>>0]=-1;c[h+48>>2]=0;o=h+64|0;c[o>>2]=0;c[o+4>>2]=0;if((e|0)==3082|(a[f+73>>0]|0)!=0){Th(f);o=7;l=p;return o|0}else{o=c[f+60>>2]&e;l=p;return o|0}return 0}function _p(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=l;l=l+16|0;f=g;if(c[a>>2]|0){l=g;return}c[f>>2]=e;d=bg(d,f)|0;if(!d){c[a>>2]=7;l=g;return}c[a>>2]=bl(b,d,0,0,0)|0;if(!(c[2]|0)){pb[c[56>>2]&255](d);l=g;return}else{b=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);l=g;return}}function $p(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0;ia=l;l=l+160|0;ba=ia+64|0;$=ia+56|0;_=ia+48|0;Y=ia+40|0;R=ia+32|0;S=ia+24|0;y=ia+16|0;i=ia+8|0;ca=ia+152|0;ea=ia;fa=ia+148|0;ga=ia+144|0;A=ia+128|0;ha=ia+72|0;h=ha;j=h+56|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(j|0));h=aq(d,e,f,g,0,0,1,0,ha)|0;if(h|0){d=h;iq(ha);l=ia;return d|0}P=ha+4|0;if(!(c[P>>2]|0)){d=0;iq(ha);l=ia;return d|0}N=(g|0)!=-1;if(N){j=d+116|0;h=c[j>>2]|0;c[ca>>2]=h;if(!h){h=c[d+20>>2]|0;c[i>>2]=c[d+16>>2];c[i+4>>2]=h;h=xd(40023,i)|0;if(!h){d=7;iq(ha);l=ia;return d|0}i=si(c[d+12>>2]|0,h,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{aa=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[ca>>2]|0;c[j>>2]=h;if(i){d=i;iq(ha);l=ia;return d|0}}n=h;o=d+252|0;i=c[o>>2]|0;p=((e|0)<0)<<31>>31;i=Lt(i|0,((i|0)<0)<<31>>31|0,e|0,p|0)|0;r=((f|0)<0)<<31>>31;i=Ft(i|0,z|0,f|0,r|0)|0;i=Rt(i|0,z|0,10)|0;j=z;do if(!(Ho(n,1)|0)){k=c[n+116>>2]|0;m=k+8|0;if(!(b[m>>1]&9312)){aa=k;c[aa>>2]=i;c[aa+4>>2]=j;b[m>>1]=4;break}else{Xe(k,i,j);break}}while(0);j=c[o>>2]|0;j=Lt(j|0,((j|0)<0)<<31>>31|0,e|0,p|0)|0;j=Ft(j|0,z|0,f|0,r|0)|0;j=Rt(j|0,z|0,10)|0;i=z;j=j|1023;do if(!(Ho(n,2)|0)){m=c[n+116>>2]|0;k=m+40|0;m=m+48|0;if(!(b[m>>1]&9312)){aa=k;c[aa>>2]=j;c[aa+4>>2]=i;b[m>>1]=4;break}else{Xe(k,j,i);break}}while(0);if((qi(n)|0)==100){j=Do(n,0)|0;q=z}else{j=0;q=0}do if(h|0){i=c[n>>2]|0;aa=n+128|0;Z=c[aa+4>>2]|0;if((Z|0)>0|(Z|0)==0&(c[aa>>2]|0)>>>0>0)Rh(i,n);h=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;aa=n+64|0;c[aa>>2]=0;c[aa+4>>2]=0;if((h|0)==3082|(a[i+73>>0]|0)!=0){Th(i);d=7;iq(ha);l=ia;return d|0}else{h=c[i+60>>2]&h;if(!h)break;iq(ha);l=ia;return h|0}}while(0);if((g|0)==-2){if((c[P>>2]|0)==1?(c[(c[c[ha>>2]>>2]|0)+56>>2]|0)==0:0){d=101;iq(ha);l=ia;return d|0};c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;k=0;h=A+12|0;o=1;n=j;m=q;i=q;aa=58}else{v=e;t=p;u=f;s=r;n=j;aa=32}}else{o=d+252|0;v=e;t=((e|0)<0)<<31>>31;u=f;s=((f|0)<0)<<31>>31;q=0;n=0;aa=32}do if((aa|0)==32){w=g+1|0;h=c[o>>2]|0;x=Lt(h|0,((h|0)<0)<<31>>31|0,v|0,t|0)|0;x=Ft(x|0,z|0,u|0,s|0)|0;x=Rt(x|0,z|0,10)|0;r=((w|0)<0)<<31>>31;x=Ft(x|0,z|0,w|0,r|0)|0;i=z;m=d+88|0;j=c[m>>2]|0;c[ca>>2]=j;do if(!j){h=c[d+20>>2]|0;c[y>>2]=c[d+16>>2];c[y+4>>2]=h;h=xd(40089,y)|0;if(!h){d=7;iq(ha);l=ia;return d|0}j=si(c[d+12>>2]|0,h,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{Z=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-Z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}k=c[ca>>2]|0;c[m>>2]=k;if(!j){h=c[o>>2]|0;o=k;break}else{d=j;iq(ha);l=ia;return d|0}}else o=j;while(0);p=o;h=Lt(h|0,((h|0)<0)<<31>>31|0,v|0,t|0)|0;h=Ft(h|0,z|0,u|0,s|0)|0;h=Rt(h|0,z|0,10)|0;h=Ft(h|0,z|0,w|0,r|0)|0;j=z;do if(!(Ho(p,1)|0)){k=c[p+116>>2]|0;m=k+8|0;if(!(b[m>>1]&9312)){Z=k;c[Z>>2]=h;c[Z+4>>2]=j;b[m>>1]=4;break}else{Xe(k,h,j);break}}while(0);if((qi(p)|0)==100)k=Co(p,0)|0;else k=0;do if(o|0){h=c[p>>2]|0;Z=p+128|0;X=c[Z+4>>2]|0;if((X|0)>0|(X|0)==0&(c[Z>>2]|0)>>>0>0)Rh(h,p);j=Sh(p)|0;c[p+20>>2]=770837923;c[p+36>>2]=-1;c[p+40>>2]=0;a[p+142>>0]=2;c[p+44>>2]=0;c[p+32>>2]=1;a[p+143>>0]=-1;c[p+48>>2]=0;Z=p+64|0;c[Z>>2]=0;c[Z+4>>2]=0;if((j|0)==3082|(a[h+73>>0]|0)!=0){Th(h);d=7;iq(ha);l=ia;return d|0}else{h=c[h+60>>2]&j;if(!h)break;iq(ha);l=ia;return h|0}}while(0);if((k|0)<=15){c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;h=A+12|0;if(N&((i|0)>(q|0)|(i|0)==(q|0)&x>>>0>n>>>0)){o=0;m=q;j=x;aa=58;break}else{Z=k;X=i;W=q;V=n;K=0;i=1;break}}h=$p(d,e,f,w)|0;if(!h){c[A>>2]=0;c[A+4>>2]=0;c[A+8>>2]=0;c[A+12>>2]=0;h=A+12|0;if(N&((i|0)>(q|0)|(i|0)==(q|0)&x>>>0>n>>>0)){k=0;o=0;m=q;j=x;aa=58;break}else{Z=0;X=i;W=q;V=n;K=0;i=1;break}}else{d=h;iq(ha);l=ia;return d|0}}while(0);if((aa|0)==58){Z=k;x=j;X=i;W=m;V=n;K=o;i=3}c[h>>2]=i;c[ha+12>>2]=A;h=bq(d,ha,0,0)|0;if(h|0){d=h;iq(ha);l=ia;return d|0}E=ha+40|0;F=ha+44|0;G=ha+48|0;H=ha+52|0;I=d+228|0;J=d+96|0;L=d+16|0;M=d+20|0;O=d+12|0;T=d+92|0;U=d+52|0;k=0;i=0;a:while(1){h=cq(d,ha)|0;switch(h|0){case 0:{aa=147;break a}case 100:break;default:{j=k;aa=245;break a}}C=c[E>>2]|0;D=c[F>>2]|0;A=c[G>>2]|0;B=c[H>>2]|0;if(!k){if(Nc()|0){h=7;aa=257;break}if(!(c[2]|0)){h=jb[c[52>>2]&255](64)|0;if(!h){h=7;aa=257;break}else i=h}else{h=jb[c[68>>2]&255](64)|0;if((c[11829]|0)>>>0<64)c[11829]=64;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){w=c[11822]|0;y=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;v=z;c[11616]=(0>(v|0)|0==(v|0)&w>>>0>=y>>>0)&1}i=jb[c[52>>2]&255](h)|0;if(!i){h=7;aa=257;break}h=jb[c[64>>2]&255](i)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h}h=i;j=h+64|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(j|0));y=Fd(c[I>>2]|0)|0;c[i+48>>2]=y;if(!y){j=i;h=7;aa=245;break}c[i+40>>2]=c[I>>2];h=c[J>>2]|0;c[ca>>2]=h;if(!h){h=c[M>>2]|0;c[S>>2]=c[L>>2];c[S+4>>2]=h;h=xd(40154,S)|0;if(!h){aa=80;break}j=si(c[O>>2]|0,h,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{y=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[ca>>2]|0;c[J>>2]=h;if(j){k=i;break}}k=h;if((qi(k)|0)==100){v=Do(k,0)|0;w=z;y=i+16|0;c[y>>2]=v;c[y+4>>2]=w;y=i+8|0;c[y>>2]=v;c[y+4>>2]=w}if(h){h=c[k>>2]|0;y=k+128|0;w=c[y+4>>2]|0;if((w|0)>0|(w|0)==0&(c[y>>2]|0)>>>0>0)Rh(h,k);j=Sh(k)|0;c[k+20>>2]=770837923;c[k+36>>2]=-1;c[k+40>>2]=0;a[k+142>>0]=2;c[k+44>>2]=0;c[k+32>>2]=1;a[k+143>>0]=-1;c[k+48>>2]=0;y=k+64|0;c[y>>2]=0;c[y+4>>2]=0;if((j|0)==3082|(a[h+73>>0]|0)!=0){aa=91;break}j=c[h+60>>2]&j;if(j){k=i;break}else k=i}else k=i}v=k+44|0;r=c[v>>2]|0;w=k+24|0;j=c[w>>2]|0;y=k+28|0;m=c[y>>2]|0;b:do if((m|0)>0){h=0;while(1){if((a[j+h>>0]|0)!=(a[C+h>>0]|0)){s=h;break b}h=h+1|0;if((h|0)>=(m|0)){s=h;break}}}else s=0;while(0);o=0;h=s;j=((s|0)<0)<<31>>31;do{o=o+1|0;h=Qt(h|0,j|0,7)|0;j=z}while(!((h|0)==0&(j|0)==0));p=D-s|0;n=0;h=p;j=((p|0)<0)<<31>>31;do{n=n+1|0;h=Qt(h|0,j|0,7)|0;j=z}while(!((h|0)==0&(j|0)==0));u=((B|0)<0)<<31>>31;h=0;j=B;m=u;do{h=h+1|0;j=Qt(j|0,m|0,7)|0;m=z}while(!((j|0)==0&(m|0)==0));h=p+B+o+n+h|0;if((r|0)>0?(h+r|0)>(c[I>>2]|0):0){q=k+16|0;p=q;o=c[p>>2]|0;p=c[p+4>>2]|0;h=Ft(o|0,p|0,1,0)|0;c[q>>2]=h;c[q+4>>2]=z;q=c[k+48>>2]|0;h=c[T>>2]|0;c[ca>>2]=h;if(!h){h=c[M>>2]|0;c[R>>2]=c[L>>2];c[R+4>>2]=h;h=xd(40222,R)|0;if(!h){aa=107;break}j=si(c[O>>2]|0,h,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{t=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[ca>>2]|0;c[T>>2]=h;if(j)break}n=h;do if(!(Ho(n,1)|0)){j=c[n+116>>2]|0;m=j+8|0;if(!(b[m>>1]&9312)){t=j;c[t>>2]=o;c[t+4>>2]=p;b[m>>1]=4;break}else{Xe(j,o,p);break}}while(0);if((q|0)==0|(Ho(n,2)|0)!=0){qi(n)|0;if(h|0)aa=122}else{h=Ve((c[n+116>>2]|0)+40|0,q,r,0,0)|0;if(h|0?(Q=c[n>>2]|0,c[Q+56>>2]=h,dg(Q,h),Q=c[n>>2]|0,(h|0)==3082|(a[Q+73>>0]|0)!=0):0)Th(Q);qi(n)|0;aa=122}if((aa|0)==122){aa=0;h=c[n>>2]|0;t=n+128|0;r=c[t+4>>2]|0;if((r|0)>0|(r|0)==0&(c[t>>2]|0)>>>0>0)Rh(h,n);j=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;t=n+64|0;c[t>>2]=0;c[t+4>>2]=0;if((j|0)==3082|(a[h+73>>0]|0)!=0){aa=125;break}j=c[h+60>>2]&j;if(j|0)break}c[U>>2]=(c[U>>2]|0)+1;j=dq(d,k,C,s+1|0)|0;if(j|0)break;c[y>>2]=0;n=0;h=D;j=((D|0)<0)<<31>>31;while(1){h=Qt(h|0,j|0,7)|0;j=z;if((h|0)==0&(j|0)==0){m=0;h=B;j=u;break}else n=n+1|0}do{m=m+1|0;h=Qt(h|0,j|0,7)|0;j=z}while(!((h|0)==0&(j|0)==0));s=0;q=0;m=D+2+B+n+m|0;r=D}else{q=r;m=h;r=p}j=k+56|0;t=j;t=Ft(c[t>>2]|0,c[t+4>>2]|0,m|0,((m|0)<0)<<31>>31|0)|0;c[j>>2]=t;c[j+4>>2]=z;j=k+40|0;t=k+48|0;h=c[t>>2]|0;if((m|0)>(c[j>>2]|0)){if(Nc()|0){j=7;break}h=Oc(h,(m|0)>0?m:0,0)|0;if(!h){j=7;break}c[t>>2]=h;c[j>>2]=m}j=h+q|0;h=j;n=s;p=((s|0)<0)<<31>>31;while(1){m=n&255;o=h+1|0;a[h>>0]=m|-128;n=Qt(n|0,p|0,7)|0;p=z;if((n|0)==0&(p|0)==0)break;else h=o}a[h>>0]=m&127;j=o-j+q|0;m=(c[t>>2]|0)+j|0;h=m;o=r;q=((r|0)<0)<<31>>31;while(1){n=o&255;p=h+1|0;a[h>>0]=n|-128;o=Qt(o|0,q|0,7)|0;q=z;if((o|0)==0&(q|0)==0)break;else h=p}a[h>>0]=n&127;o=p-m+j|0;Tt((c[t>>2]|0)+o|0,C+s|0,r|0)|0;o=o+r|0;p=(c[t>>2]|0)+o|0;n=p;q=B;m=u;while(1){h=q&255;j=n+1|0;a[n>>0]=h|-128;q=Qt(q|0,m|0,7)|0;m=z;if((q|0)==0&(m|0)==0)break;else n=j}a[n>>0]=h&127;j=j-p+o|0;Tt((c[t>>2]|0)+j|0,A|0,B|0)|0;c[v>>2]=j+B;j=k+32|0;if((c[j>>2]|0)<(D|0)){m=k+36|0;h=c[m>>2]|0;n=D<<1;if(Nc()|0){j=7;break}h=Oc(h,(n|0)>0?n:0,0)|0;if(!h){j=7;break}c[j>>2]=n;c[m>>2]=h;c[w>>2]=h}else h=c[w>>2]|0;Tt(h|0,C|0,D|0)|0;c[y>>2]=D}c:do if((aa|0)==80){k=i;j=7}else if((aa|0)==91){Th(h);k=i;j=7}else if((aa|0)==107)j=7;else if((aa|0)==125){Th(h);j=7}else if((aa|0)==147){if(N){u=c[ha>>2]|0;t=c[P>>2]|0;do if((t|0)>0){s=d+124|0;r=0;d:while(1){q=c[u+(r<<2)>>2]|0;n=q+8|0;m=n;h=c[m>>2]|0;m=c[m+4>>2]|0;do if((h|0)==0&(m|0)==0)h=0;else{j=c[s>>2]|0;c[ca>>2]=j;if(!j){j=c[M>>2]|0;c[Y>>2]=c[L>>2];c[Y+4>>2]=j;j=xd(40281,Y)|0;if(!j){aa=154;break d}h=si(c[O>>2]|0,j,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{aa=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}j=c[ca>>2]|0;c[s>>2]=j;if(h|0){j=k;aa=245;break c}m=n;h=c[m>>2]|0;m=c[m+4>>2]|0}p=j;do if(!(Ho(p,1)|0)){n=c[p+116>>2]|0;o=n+8|0;if(!(b[o>>1]&9312)){aa=n;c[aa>>2]=h;c[aa+4>>2]=m;b[o>>1]=4;break}else{Xe(n,h,m);break}}while(0);n=q+24|0;m=c[n>>2]|0;n=c[n+4>>2]|0;if(Ho(p,2)|0){qi(p)|0;if(!j){h=0;break}}else{j=c[p+116>>2]|0;h=j+40|0;j=j+48|0;if(!(b[j>>1]&9312)){aa=h;c[aa>>2]=m;c[aa+4>>2]=n;b[j>>1]=4}else Xe(h,m,n);qi(p)|0}j=c[p>>2]|0;aa=p+128|0;S=c[aa+4>>2]|0;if((S|0)>0|(S|0)==0&(c[aa>>2]|0)>>>0>0)Rh(j,p);h=Sh(p)|0;c[p+20>>2]=770837923;c[p+36>>2]=-1;c[p+40>>2]=0;a[p+142>>0]=2;c[p+44>>2]=0;c[p+32>>2]=1;a[p+143>>0]=-1;c[p+48>>2]=0;aa=p+64|0;c[aa>>2]=0;c[aa+4>>2]=0;if((h|0)==3082|(a[j+73>>0]|0)!=0){aa=173;break d}h=c[j+60>>2]&h}while(0);r=r+1|0;j=(h|0)==0;if(!((r|0)<(t|0)&j)){aa=176;break}}if((aa|0)==154){j=k;h=7;aa=245;break c}else if((aa|0)==173){Th(j);j=k;h=7;aa=245;break c}else if((aa|0)==176)if(j)break;else{j=k;aa=245;break c}}while(0);do if(K){m=d+160|0;h=c[m>>2]|0;c[ca>>2]=h;if(!h){j=c[M>>2]|0;c[_>>2]=c[L>>2];c[_+4>>2]=j;j=xd(40340,_)|0;if(!j){j=k;h=7;aa=245;break c}h=si(c[O>>2]|0,j,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{$=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}j=c[ca>>2]|0;c[m>>2]=j;if(!h)h=j;else{j=k;aa=245;break c}}s=h;j=d+252|0;o=c[j>>2]|0;m=((e|0)<0)<<31>>31;o=Lt(o|0,((o|0)<0)<<31>>31|0,e|0,m|0)|0;n=((f|0)<0)<<31>>31;o=Ft(o|0,z|0,f|0,n|0)|0;o=Rt(o|0,z|0,10)|0;p=z;do if(!(Ho(s,1)|0)){q=c[s+116>>2]|0;r=q+8|0;if(!(b[r>>1]&9312)){$=q;c[$>>2]=o;c[$+4>>2]=p;b[r>>1]=4;break}else{Xe(q,o,p);break}}while(0);o=c[j>>2]|0;o=Lt(o|0,((o|0)<0)<<31>>31|0,e|0,m|0)|0;o=Ft(o|0,z|0,f|0,n|0)|0;o=Rt(o|0,z|0,10)|0;n=z;o=o|1023;if(!(Ho(s,2)|0)){m=c[s+116>>2]|0;j=m+40|0;m=m+48|0;if(!(b[m>>1]&9312)){f=j;c[f>>2]=o;c[f+4>>2]=n;b[m>>1]=4;break}else{Xe(j,o,n);break}}}else{m=d+120|0;h=c[m>>2]|0;c[ca>>2]=h;if(!h){j=c[M>>2]|0;c[$>>2]=c[L>>2];c[$+4>>2]=j;j=xd(40395,$)|0;if(!j){j=k;h=7;aa=245;break c}h=si(c[O>>2]|0,j,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{$=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}j=c[ca>>2]|0;c[m>>2]=j;if(!h)h=j;else{j=k;aa=245;break c}}j=h;n=c[d+252>>2]|0;n=Lt(n|0,((n|0)<0)<<31>>31|0,e|0,((e|0)<0)<<31>>31|0)|0;n=Ft(n|0,z|0,f|0,((f|0)<0)<<31>>31|0)|0;n=Rt(n|0,z|0,10)|0;n=Ft(n|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0;o=z;if(!(Ho(j,1)|0)){j=c[j+116>>2]|0;m=j+8|0;if(!(b[m>>1]&9312)){f=j;c[f>>2]=n;c[f+4>>2]=o;b[m>>1]=4;break}else{Xe(j,n,o);break}}}while(0);m=h;qi(m)|0;do if(h){h=c[m>>2]|0;f=m+128|0;e=c[f+4>>2]|0;if((e|0)>0|(e|0)==0&(c[f>>2]|0)>>>0>0)Rh(h,m);j=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;f=m+64|0;c[f>>2]=0;c[f+4>>2]=0;if((j|0)==3082|(a[h+73>>0]|0)!=0){Th(h);j=k;h=7;aa=245;break c}else{h=c[h+60>>2]&j;break}}else h=0;while(0);if(!((k|0)!=0&(h|0)==0)){j=k;aa=245;break}}else if(!k){d=0;iq(ha);l=ia;return d|0}if(!(c[k>>2]|0)){j=k+56|0;j=fq(d,x,X,Z,0,0,0,0,0,0,c[j>>2]|0,c[j+4>>2]|0,c[k+48>>2]|0,c[k+44>>2]|0)|0}else{q=ea;c[q>>2]=0;c[q+4>>2]=0;c[fa>>2]=0;c[ga>>2]=0;q=k+16|0;s=q;r=c[s>>2]|0;s=c[s+4>>2]|0;p=Ft(r|0,s|0,1,0)|0;o=q;c[o>>2]=p;c[o+4>>2]=z;o=c[k+48>>2]|0;p=c[k+44>>2]|0;h=c[T>>2]|0;c[ca>>2]=h;do if(!h){h=c[M>>2]|0;c[ba>>2]=c[L>>2];c[ba+4>>2]=h;h=xd(40222,ba)|0;if(!h){j=7;break}j=si(c[O>>2]|0,h,-1,129,0,ca,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{ba=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[ca>>2]|0;c[T>>2]=h;if(!j)aa=223}else aa=223;while(0);e:do if((aa|0)==223){n=h;do if(!(Ho(n,1)|0)){j=c[n+116>>2]|0;m=j+8|0;if(!(b[m>>1]&9312)){ca=j;c[ca>>2]=r;c[ca+4>>2]=s;b[m>>1]=4;break}else{Xe(j,r,s);break}}while(0);if((o|0)==0|(Ho(n,2)|0)!=0){qi(n)|0;if(h|0)aa=233}else{h=Ve((c[n+116>>2]|0)+40|0,o,p,0,0)|0;if(h|0?(da=c[n>>2]|0,c[da+56>>2]=h,dg(da,h),da=c[n>>2]|0,(h|0)==3082|(a[da+73>>0]|0)!=0):0)Th(da);qi(n)|0;aa=233}do if((aa|0)==233){h=c[n>>2]|0;da=n+128|0;ca=c[da+4>>2]|0;if((ca|0)>0|(ca|0)==0&(c[da>>2]|0)>>>0>0)Rh(h,n);j=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;da=n+64|0;c[da>>2]=0;c[da+4>>2]=0;if(!((j|0)==3082|(a[h+73>>0]|0)!=0)){j=c[h+60>>2]&j;if(!j)break;else break e}else{Th(h);j=7;break e}}while(0);h=k+8|0;da=h;j=q;j=eq(d,c[k>>2]|0,1,c[da>>2]|0,c[da+4>>2]|0,c[j>>2]|0,c[j+4>>2]|0,ea,fa,ga)|0;if(!j){da=h;j=k+56|0;j=fq(d,x,X,Z,c[da>>2]|0,c[da+4>>2]|0,r,s,c[ea>>2]|0,c[ea+4>>2]|0,c[j>>2]|0,c[j+4>>2]|0,c[fa>>2]|0,c[ga>>2]|0)|0}}while(0)}c[U>>2]=(c[U>>2]|0)+1;if(!j)if((g|0)==-1|((X|0)<(W|0)|(X|0)==(W|0)&x>>>0>>0)){j=k+56|0;j=gq(d,x,X,c[j>>2]|0,c[j+4>>2]|0)|0}else j=0}else if((aa|0)==257){iq(ha);l=ia;return h|0}while(0);if((aa|0)==245)if(!j){d=h;iq(ha);l=ia;return d|0}else{k=j;j=h}h=c[k+48>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{d=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);h=c[k+36>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{d=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);hq(c[k>>2]|0);if(!(c[2]|0)){pb[c[56>>2]&255](i);d=j;iq(ha);l=ia;return d|0}else{d=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);d=j;iq(ha);l=ia;return d|0}return 0}function aq(d,f,g,h,i,j,k,m,n){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=l;l=l+32|0;q=K+24|0;x=K+16|0;J=K+8|0;I=K;do if((h|0)<0){q=c[d+256>>2]|0;a:do if(q){w=(m|k|0)!=0;b:do if(w){q=c[q+(g*24|0)+12>>2]|0;c[J>>2]=q;if(!q){o=0;break a}if(!j){p=0;u=0;o=0;r=0;t=q;q=0;while(1){if((u|0)==(o|0)){q=u+16|0;o=q<<2;if(Nc()|0){r=0;o=7;break b}o=Oc(r,(o|0)>0?o:0,0)|0;if(!o){r=0;o=7;break b}else{s=q;p=o;q=o;r=o}}else s=o;o=u+1|0;c[p+(u<<2)>>2]=t;t=c[c[J>>2]>>2]|0;c[J>>2]=t;if(!t)break;else{u=o;o=s}}}else{p=0;o=0;t=0;v=q;q=0;u=0;while(1){r=v;s=v;if((c[s+16>>2]|0)>=(j|0)?(Bs(c[s+12>>2]|0,i,j)|0)==0:0){if((o|0)==(t|0)){r=o+16|0;q=r<<2;if(Nc()|0){r=0;o=7;break b}s=Oc(u,(q|0)>0?q:0,0)|0;if(!s){r=0;o=7;break b}else{p=s;q=s}}else{r=t;s=u}c[p+(o<<2)>>2]=v;t=r;o=o+1|0;r=c[J>>2]|0}else s=u;v=c[r>>2]|0;c[J>>2]=v;if(!v)break;else u=s}}if((o|0)<=1)if((o|0)==1){o=1;y=28;break}else{r=0;o=0;break}else{Rs(q,o,4,207);y=28;break}}else{r=q+(g*24|0)+20|0;c:do if((c[r>>2]|0?(s=q+(g*24|0)+4|0,t=kb[(a[s>>0]<<24>>24==1?206:205)&255](i,j)|0,t=(c[q+(g*24|0)+16>>2]|0)+-1&t,u=c[r>>2]|0,u|0):0)?(p=c[u+(t<<3)>>2]|0,v=(a[s>>0]|0)==1?144:143,o=c[u+(t<<3)+4>>2]|0,(p|0)!=0&(o|0)!=0):0){while(1){p=p+-1|0;if(!(mb[v&255](c[o+12>>2]|0,c[o+16>>2]|0,i,j)|0))break;o=c[o>>2]|0;if(!((p|0)!=0&(o|0)!=0))break c}c[J>>2]=o;o=1;p=J;y=28;break b}while(0);c[J>>2]=0;r=0;p=0;o=0}while(0);if((y|0)==28){o=o<<2;q=o+100|0;r=Fd(q)|0;if(!r)o=7;else{Vt(r|0,0,q|0)|0;c[r>>2]=2147483647;H=r+96|0;c[r+56>>2]=H;Tt(H|0,p|0,o|0)|0;o=0}}do if(w?p|0:0)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{H=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);if((o|0)==0&(r|0)!=0)o=qq(n,r)|0}else o=0;while(0);if(!((h|0)!=-1&(o|0)==0)){n=0;J=o;j=(J|0)==101;J=j?n:J;l=K;return J|0}r=d+108|0;H=c[r>>2]|0;c[J>>2]=H;p=H;if(!H){q=c[d+20>>2]|0;c[x>>2]=c[d+16>>2];c[x+4>>2]=q;q=xd(40750,x)|0;if(!q){o=7;break}o=si(c[d+12>>2]|0,q,-1,129,0,J,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](q);else{H=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q)}p=c[J>>2]|0;c[r>>2]=p;if(o)break}w=p;o=d+252|0;s=c[o>>2]|0;q=((f|0)<0)<<31>>31;s=Lt(s|0,((s|0)<0)<<31>>31|0,f|0,q|0)|0;r=((g|0)<0)<<31>>31;s=Ft(s|0,z|0,g|0,r|0)|0;s=Rt(s|0,z|0,10)|0;t=z;do if(!(Ho(w,1)|0)){u=c[w+116>>2]|0;v=u+8|0;if(!(b[v>>1]&9312)){H=u;c[H>>2]=s;c[H+4>>2]=t;b[v>>1]=4;break}else{Xe(u,s,t);break}}while(0);s=c[o>>2]|0;s=Lt(s|0,((s|0)<0)<<31>>31|0,f|0,q|0)|0;s=Ft(s|0,z|0,g|0,r|0)|0;s=Rt(s|0,z|0,10)|0;r=z;s=s|1023;if(!(Ho(w,2)|0)){q=c[w+116>>2]|0;o=q+40|0;q=q+48|0;if(!(b[q>>1]&9312)){y=o;c[y>>2]=s;c[y+4>>2]=r;b[q>>1]=4;y=66;break}else{Xe(o,s,r);y=66;break}}else y=66}else{r=d+104|0;H=c[r>>2]|0;c[J>>2]=H;p=H;if(!H){H=c[d+20>>2]|0;c[q>>2]=c[d+16>>2];c[q+4>>2]=H;q=xd(40885,q)|0;if(!q){o=7;break}o=si(c[d+12>>2]|0,q,-1,129,0,J,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](q);else{H=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q)}p=c[J>>2]|0;c[r>>2]=p;if(o)break}o=p;r=c[d+252>>2]|0;r=Lt(r|0,((r|0)<0)<<31>>31|0,f|0,((f|0)<0)<<31>>31|0)|0;r=Ft(r|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0;r=Rt(r|0,z|0,10)|0;r=Ft(r|0,z|0,h|0,((h|0)<0)<<31>>31|0)|0;s=z;if(!(Ho(o,1)|0)){o=c[o+116>>2]|0;q=o+8|0;if(!(b[q>>1]&9312)){y=o;c[y>>2]=r;c[y+4>>2]=s;b[q>>1]=4;y=66;break}else{Xe(o,r,s);y=66;break}}else y=66}while(0);d:do if((y|0)==66){F=p;G=(p|0)==0;H=(i|0)!=0;E=k|0?I:0;k=(m|k|0)==0;m=n+4|0;A=k&1;B=F+104|0;C=F+40|0;D=F+140|0;while(1){o=qi(F)|0;if((o|0)!=100)break d;y=Do(F,1)|0;f=J;c[f>>2]=y;c[f+4>>2]=z;f=Do(F,2)|0;y=I;c[y>>2]=f;c[y+4>>2]=z;y=Do(F,3)|0;f=z;g=Ao(F,4)|0;if(G)r=ff(424)|0;else{o=c[B>>2]|0;if((o|0)!=0?(e[D>>1]|0)>4:0)o=o+160|0;else{o=c[F>>2]|0;c[o+56>>2]=25;dg(o,25);o=424}r=ff(o)|0;o=c[F>>2]|0;q=c[C>>2]|0;if((q|0)==3082|(a[o+73>>0]|0)!=0){Th(o);o=7}else o=c[o+60>>2]&q;c[C>>2]=o}q=J;o=c[q>>2]|0;q=c[q+4>>2]|0;if(H&((o|0)!=0|(q|0)!=0)){o=rq(d,i,j,r,g,J,E)|0;if(o|0)break;q=J;o=c[q>>2]|0;q=c[q+4>>2]|0;if(k){h=I;c[h>>2]=o;c[h+4>>2]=q}}s=c[m>>2]|0;x=I;w=c[x>>2]|0;x=c[x+4>>2]|0;v=(o|0)==0&(q|0)==0?g+20|0:0;h=Fd(v+96|0)|0;if(!h){o=7;break}s=s+1|0;t=h;u=t+96|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(u|0));c[h>>2]=s;a[h+4>>0]=A;u=h+8|0;c[u>>2]=o;c[u+4>>2]=q;u=h+16|0;c[u>>2]=w;c[u+4>>2]=x;x=h+24|0;c[x>>2]=y;c[x+4>>2]=f;if(!v){f=Ft(o|0,q|0,-1,-1)|0;g=h+32|0;c[g>>2]=f;c[g+4>>2]=z}else{t=h+96|0;c[h+40>>2]=t;a[h+5>>0]=1;c[h+44>>2]=g;Tt(t|0,r|0,g|0)|0;t=t+g|0;u=t+20|0;do{a[t>>0]=0;t=t+1|0}while((t|0)<(u|0))}o=qq(n,h)|0;if(o|0)break d}}while(0);r=p;if(!p){n=0;J=o;j=(J|0)==101;J=j?n:J;l=K;return J|0}p=c[r>>2]|0;J=r+128|0;n=c[J+4>>2]|0;if((n|0)>0|(n|0)==0&(c[J>>2]|0)>>>0>0)Rh(p,r);q=Sh(r)|0;c[r+20>>2]=770837923;c[r+36>>2]=-1;c[r+40>>2]=0;a[r+142>>0]=2;c[r+44>>2]=0;c[r+32>>2]=1;a[r+143>>0]=-1;c[r+48>>2]=0;J=r+64|0;c[J>>2]=0;c[J+4>>2]=0;if((q|0)==3082|(a[p+73>>0]|0)!=0){Th(p);n=7;J=o;j=(J|0)==101;J=j?n:J;l=K;return J|0}else{n=c[p+60>>2]&q;J=o;j=(J|0)==101;J=j?n:J;l=K;return J|0}return 0}function bq(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;n=d+4|0;p=c[n>>2]|0;o=d+28|0;g=c[d>>2]|0;a:do if((c[o>>2]|0)==0?(m=(e|0)==0,(p|0)>0):0){l=0;b:while(1){j=c[g+(l<<2)>>2]|0;k=j+40|0;h=j+60|0;i=j+64|0;c:do if(m){g=lq(b,j)|0;if(g|0){h=39;break b}}else{do{g=lq(b,j)|0;if(g|0){h=39;break b}if(!(c[k>>2]|0))break c;q=c[h>>2]|0;g=Bs(c[i>>2]|0,e,(q|0)>(f|0)?f:q)|0;g=(g|0)==0?q-f|0:g}while((g|0)<0);if((g|0)!=0&(a[j+4>>0]|0)!=0){if(!(a[j+5>>0]|0)){g=c[k>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{q=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);g=j+52|0;h=c[g>>2]|0;do if(h|0){i=c[h+20>>2]|0;Qh(c[h+16>>2]|0)|0;if(i|0){if(c[i+464>>2]|0){Lc(i,h);break}q=h;if(q>>>0>=(c[i+296>>2]|0)>>>0?q>>>0<(c[i+300>>2]|0)>>>0:0){q=i+292|0;c[h>>2]=c[q>>2];c[q>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[g>>2]=0}c[k>>2]=0}}while(0);g=c[d>>2]|0;if(c[o>>2]|0){f=g;break a}l=l+1|0;if((l|0)>=(c[n>>2]|0)){f=g;break a}}if((h|0)==39)return g|0}else f=g;while(0);j=p+-1|0;if((p|0)>1)b=j;else{q=0;return q|0}while(1){d=b;b=b+-1|0;d:do if((d|0)<(p|0)){k=b;i=c[f+(b<<2)>>2]|0;do{l=k;k=k+1|0;m=f+(k<<2)|0;e=c[m>>2]|0;g=(c[i+40>>2]|0)==0;h=(c[e+40>>2]|0)==0;if(g|h)g=(g&1)-(h&1)|0;else{o=c[i+60>>2]|0;g=c[e+60>>2]|0;q=o-g|0;g=Bs(c[i+64>>2]|0,c[e+64>>2]|0,(q|0)<0?o:g)|0;g=(g|0)==0?q:g}if(!g)g=(c[e>>2]|0)-(c[i>>2]|0)|0;if((g|0)<0)break d;q=f+(l<<2)|0;i=c[q>>2]|0;c[m>>2]=i;c[q>>2]=e}while((k|0)<(j|0))}while(0);if((d|0)<=1){g=0;break}}return g|0}function cq(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0;da=l;l=l+16|0;K=da+4|0;S=da;X=c[e+12>>2]|0;f=c[X+12>>2]|0;Y=c[e>>2]|0;H=c[e+4>>2]|0;I=b+235|0;J=a[I>>0]|0?209:208;if(!H){ca=0;l=da;return ca|0}ca=e+8|0;L=H+-1|0;M=e+44|0;N=e+40|0;O=(f&16|0)!=0;P=X+4|0;Q=(f&8|0)==0;R=(H|0)>1;T=(f&32|0)==0;U=(f&34|0)!=0;V=(f&4|0)==0;W=(f&2|0)==0;F=(f&1|0)!=0;$=e+20|0;ba=e+16|0;G=X+8|0;f=c[ca>>2]|0;a:while(1){if((f|0)>0){k=0;do{f=c[Y+(k<<2)>>2]|0;if(!(a[f+4>>0]|0)){f=lq(b,f)|0;if(f|0){aa=170;break a}}else{j=f+40|0;if(!(a[f+5>>0]|0)){h=c[j>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{E=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);f=f+52|0;h=c[f>>2]|0;do if(h|0){i=c[h+20>>2]|0;Qh(c[h+16>>2]|0)|0;if(i|0){if(c[i+464>>2]|0){Lc(i,h);break}E=h;if(E>>>0>=(c[i+296>>2]|0)>>>0?E>>>0<(c[i+300>>2]|0)>>>0:0){E=i+292|0;c[h>>2]=c[E>>2];c[E>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{E=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[f>>2]=0}c[j>>2]=0}k=k+1|0;f=c[ca>>2]|0}while((k|0)<(f|0))}f=(((f|0)==(H|0))<<31>>31)+f|0;if((f|0)>0)do{n=f;f=f+-1|0;b:do if((n|0)<(H|0)){k=f;j=c[Y+(f<<2)>>2]|0;do{m=k;k=k+1|0;o=Y+(k<<2)|0;p=c[o>>2]|0;h=(c[j+40>>2]|0)==0;i=(c[p+40>>2]|0)==0;if(h|i)h=(h&1)-(i&1)|0;else{D=c[j+60>>2]|0;h=c[p+60>>2]|0;E=D-h|0;h=Bs(c[j+64>>2]|0,c[p+64>>2]|0,(E|0)<0?D:h)|0;h=(h|0)==0?E:h}if(!h)h=(c[p>>2]|0)-(c[j>>2]|0)|0;if((h|0)<0)break b;E=Y+(m<<2)|0;j=c[E>>2]|0;c[o>>2]=j;c[E>>2]=p}while((k|0)<(L|0))}while(0)}while((n|0)>1);c[ca>>2]=0;f=c[Y>>2]|0;if(!(c[f+40>>2]|0)){f=0;aa=170;break}j=c[f+60>>2]|0;c[M>>2]=j;i=c[f+64>>2]|0;c[N>>2]=i;f=c[X>>2]|0;if(!(O|(f|0)==0)){h=c[P>>2]|0;if((j|0)<(h|0)|Q&(j|0)>(h|0)){f=0;aa=170;break}if(Bs(i,f,h)|0){f=0;aa=170;break}}c:do if(R){f=1;do{h=c[Y+(f<<2)>>2]|0;if(!(c[h+40>>2]|0)){aa=44;break c}if((c[h+60>>2]|0)!=(j|0)){aa=44;break c}if(Bs(i,c[h+64>>2]|0,j)|0){aa=44;break c}f=f+1|0}while((f|0)<(H|0))}else{f=1;aa=44}while(0);if((aa|0)==44){aa=0;if(!(U|(f|0)!=1)?(Z=c[Y>>2]|0,_=(c[Z+56>>2]|0)!=0,(a[I>>0]|0)==0|_^1):0){aa=48;break}}if((f|0)>0){s=0;do{t=c[Y+(s<<2)>>2]|0;if((a[I>>0]|0)!=0?(c[t+56>>2]|0)!=0:0){a[K>>0]=0;D=t+88|0;E=D;c[E>>2]=0;c[E+4>>2]=0;E=t+84|0;c[E>>2]=0;mq(0,c[t+72>>2]|0,c[t+76>>2]|0,t+80|0,D,E,K)}else aa=60;d:do if((aa|0)==60){aa=0;p=t+72|0;m=t+40|0;q=t+52|0;h=c[q>>2]|0;e:do if(h|0){n=(c[p>>2]|0)+10|0;r=t+48|0;o=t+44|0;j=c[r>>2]|0;k=h;while(1){i=c[m>>2]|0;if((n-i|0)<=(j|0))break e;h=(c[o>>2]|0)-j|0;h=(h|0)<4096?h:4096;if(So(k,i+j|0,h,j,145)|0)break d;h=(c[r>>2]|0)+h|0;c[r>>2]=h;h=(c[m>>2]|0)+h|0;i=h+20|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));j=c[r>>2]|0;k=c[q>>2]|0;if((j|0)==(c[o>>2]|0))break;if(!k)break e}f:do if(k|0){h=c[k+20>>2]|0;Qh(c[k+16>>2]|0)|0;do if(h|0){if(c[h+464>>2]|0){Lc(h,k);break f}i=k;if(i>>>0>=(c[h+296>>2]|0)>>>0){if(i>>>0>=(c[h+300>>2]|0)>>>0)break;E=h+292|0;c[k>>2]=c[E>>2];c[E>>2]=k;break f}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{E=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[q>>2]=0;c[r>>2]=0}while(0);n=c[p>>2]|0;m=t+88|0;h=a[n>>0]|0;i=h&255;do if(!(i&128)){E=m;c[E>>2]=h&255;c[E+4>>2]=0;h=1}else{E=d[n+1>>0]<<7;h=E|i&127;if(!(E&16384)){E=m;c[E>>2]=h;c[E+4>>2]=0;h=2;break}E=d[n+2>>0]<<14;h=E|h&16383;if(!(E&2097152)){E=m;c[E>>2]=h;c[E+4>>2]=0;h=3;break}E=d[n+3>>0]<<21;h=E|h&2097151;if(!(E&268435456)){E=m;c[E>>2]=h;c[E+4>>2]=0;h=4;break}j=28;k=n+4|0;h=h&268435455;i=0;do{E=k;k=k+1|0;E=d[E>>0]|0;D=Rt(E&127|0,0,j|0)|0;h=Ft(D|0,z|0,h|0,i|0)|0;i=z;j=j+7|0}while((j|0)<64&((E&128|0)!=0|0!=0));E=m;c[E>>2]=h;c[E+4>>2]=i;h=k-n|0}while(0);c[t+80>>2]=n+h}while(0);s=s+1|0}while((s|0)!=(f|0));h=f+-1|0;p=(f|0)>1;if(p){k=h;while(1){m=k;k=k+-1|0;g:do if((m|0)<(f|0)){i=k;o=c[Y+(k<<2)>>2]|0;do{j=i;i=i+1|0;n=Y+(i<<2)|0;if((kb[J&255](o,c[n>>2]|0)|0)<0)break g;E=Y+(j<<2)|0;D=c[n>>2]|0;o=c[E>>2]|0;c[n>>2]=o;c[E>>2]=D}while((i|0)<(h|0))}while(0);if((m|0)<=1){E=h;break}}}else{E=h;p=0}}else{E=f+-1|0;p=0}if(c[(c[Y>>2]|0)+80>>2]|0){r=0;B=0;C=0;while(1){c[K>>2]=0;c[S>>2]=0;D=c[Y>>2]|0;o=D+88|0;q=c[o>>2]|0;o=c[o+4>>2]|0;nq(b,D,K,S)|0;h:do if(p){h=1;while(1){i=c[Y+(h<<2)>>2]|0;if(!(c[i+80>>2]|0)){D=h;break h}D=i+88|0;if(!((c[D>>2]|0)==(q|0)?(c[D+4>>2]|0)==(o|0):0)){D=h;break h}nq(b,i,0,0)|0;h=h+1|0;if((h|0)>=(f|0)){D=h;break}}}else D=1;while(0);if(V)h=c[S>>2]|0;else{s=c[G>>2]|0;i=c[K>>2]|0;n=c[S>>2]|0;t=i+n|0;j=i;m=0;while(1){i:do if(j>>>0>>0){k=0;h=j;while(1){j=a[h>>0]|0;if(!(j&254|k)){k=h;break i}h=h+1|0;if(h>>>0>>0)k=j&128;else{k=h;break}}}else k=j;while(0);h=k-i|0;if((m|0)==(s|0))break;n=n-h|0;if(!n){i=k;h=0;break}j=k+1|0;i=a[j>>0]|0;h=i&255;do if(!(h&128))i=1;else{A=a[k+2>>0]<<7;h=A|i&127;if(!(A&16384)){i=2;break}A=a[k+3>>0]<<14;h=A|h&16383;if(!(A&2097152)){i=3;break}A=a[k+4>>0]<<21;h=A|h&2097151;if(!(A&268435456)){i=4;break}h=(a[k+5>>0]&7)<<28|h&268435455;i=5}while(0);j=j+i|0;i=k;m=h}c[K>>2]=i;c[S>>2]=h}do if(W|(h|0)>0){i=(r|0)>0&(a[I>>0]|0)!=0;k=Gt(B|0,C|0,q|0,o|0)|0;j=z;A=Gt(q|0,o|0,B|0,C|0)|0;A=i?k:A;j=i?j:z;i=0;k=A;m=j;do{i=i+1|0;k=Qt(k|0,m|0,7)|0;m=z}while(!((k|0)==0&(m|0)==0));i=i+r+(F?h+1|0:0)|0;if((i|0)>(c[$>>2]|0)){i=i<<1;c[$>>2]=i;k=c[ba>>2]|0;if(Nc()|0){aa=168;break a}i=Oc(k,(i|0)>0?i:0,0)|0;if(!i){aa=168;break a}c[ba>>2]=i}else i=c[ba>>2]|0;y=i+r|0;if(T){m=y;k=A;while(1){h=k&255;i=m+1|0;a[m>>0]=h|-128;k=Qt(k|0,j|0,7)|0;j=z;if((k|0)==0&(j|0)==0)break;else m=i}a[m>>0]=h&127;h=i-y+r|0;if(!F){r=h;break}r=c[S>>2]|0;Tt((c[ba>>2]|0)+h|0,c[K>>2]|0,r|0)|0;r=r+h|0;a[(c[ba>>2]|0)+r>>0]=0;r=r+1|0;break}k=c[K>>2]|0;x=k+h|0;m=a[k>>0]|0;switch(m<<24>>24){case 1:{h=0;i=0;break}case 2:{h=y;m=A;s=j;while(1){i=m&255;n=h+1|0;a[h>>0]=i|-128;m=Qt(m|0,s|0,7)|0;s=z;if((m|0)==0&(s|0)==0)break;else h=n}a[h>>0]=i&127;a[n>>0]=2;h=1-y+n|0;i=1;m=a[k>>0]|0;aa=128;break}default:{h=0;i=0;aa=128}}if((aa|0)==128){aa=0;m=m<<24>>24;if(m&254)do{k=k+1|0;w=m;m=a[k>>0]|0}while((m&254|w&128|0)!=0)}if(k>>>0>>0)do{t=k+1|0;n=a[t>>0]|0;m=n&255;do if(!(m&128)){k=1;w=n&255;s=0}else{w=d[k+2>>0]<<7;m=w|m&127;if(!(w&16384)){k=2;w=m;s=0;break}w=d[k+3>>0]<<14;m=w|m&16383;if(!(w&2097152)){k=3;w=m;s=0;break}w=d[k+4>>0]<<21;m=w|m&2097151;if(!(w&268435456)){k=4;w=m;s=0;break}n=28;k=k+5|0;m=m&268435455;s=0;do{w=k;k=k+1|0;w=d[w>>0]|0;v=Rt(w&127|0,0,n|0)|0;m=Ft(v|0,z|0,m|0,s|0)|0;s=z;n=n+7|0}while((n|0)<64&((w&128|0)!=0|0!=0));k=k-t|0;w=m}while(0);k=t+k|0;m=a[k>>0]|0;if(m<<24>>24==2){if(!i){m=y+h|0;i=m;t=A;v=j;while(1){n=t&255;u=i+1|0;a[i>>0]=n|-128;t=Qt(t|0,v|0,7)|0;v=z;if((t|0)==0&(v|0)==0)break;else i=u}a[i>>0]=n&127;h=h-m+u|0;i=1}v=h+1|0;a[y+h>>0]=1;u=y+v|0;t=u;n=w;while(1){h=n&255;m=t+1|0;a[t>>0]=h|-128;n=Qt(n|0,s|0,7)|0;s=z;if((n|0)==0&(s|0)==0)break;else t=m}a[t>>0]=h&127;h=m-u+v|0;a[y+h>>0]=2;h=h+1|0;m=a[k>>0]|0}m=m<<24>>24;if(m&254)do{k=k+1|0;w=m;m=a[k>>0]|0}while((m&254|w&128|0)!=0)}while(k>>>0>>0);if(i){a[y+h>>0]=0;h=h+1|0}A=(h|0)==0;r=h+r|0;q=A?B:q;o=A?C:o}else{q=B;o=C}while(0);h=(((D|0)==(f|0))<<31>>31)+D|0;if((h|0)>0)do{k=h;h=h+-1|0;j:do if((k|0)<(f|0)){i=h;n=c[Y+(h<<2)>>2]|0;do{j=i;i=i+1|0;m=Y+(i<<2)|0;if((kb[J&255](n,c[m>>2]|0)|0)<0)break j;D=Y+(j<<2)|0;C=c[m>>2]|0;n=c[D>>2]|0;c[m>>2]=n;c[D>>2]=C}while((i|0)<(E|0))}while(0)}while((k|0)>1);if(!(c[(c[Y>>2]|0)+80>>2]|0))break;else{B=q;C=o}}if((r|0)>0){aa=167;break}}c[ca>>2]=f}if((aa|0)==48){j=c[Z+76>>2]|0;c[e+52>>2]=j;f=c[Z+72>>2]|0;if(_){if((c[$>>2]|0)<(j|0)){i=j<<1;c[$>>2]=i;h=c[ba>>2]|0;if((Nc()|0)==0?(g=Oc(h,(i|0)>0?i:0,0)|0,(g|0)!=0):0){c[ba>>2]=g;aa=54}else f=7}else{g=c[ba>>2]|0;aa=54}if((aa|0)==54){Tt(g|0,f|0,j|0)|0;f=0}g=f;f=c[ba>>2]|0}else g=0;c[e+48>>2]=f;c[ca>>2]=1;ca=(g|0)==0?100:g;l=da;return ca|0}else if((aa|0)==167){c[e+48>>2]=c[ba>>2];c[e+52>>2]=r;c[ca>>2]=f;ca=100;l=da;return ca|0}else if((aa|0)==168){ca=7;l=da;return ca|0}else if((aa|0)==170){l=da;return f|0}return 0}function dq(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+16|0;r=y+4|0;q=y;v=c[d>>2]|0;p=(v|0)!=0;a:do if(p){u=v+32|0;j=c[u>>2]|0;w=v+16|0;o=c[w>>2]|0;x=v+20|0;h=c[x>>2]|0;b:do if((h|0)>0){g=0;while(1){if((a[o+g>>0]|0)!=(a[e+g>>0]|0)){t=g;break b}g=g+1|0;if((g|0)>=(h|0)){t=g;break}}}else t=0;while(0);k=((t|0)<0)<<31>>31;n=0;g=t;h=k;do{n=n+1|0;g=Qt(g|0,h|0,7)|0;h=z}while(!((g|0)==0&(h|0)==0));s=f-t|0;i=((s|0)<0)<<31>>31;g=0;h=s;m=i;do{g=g+1|0;h=Qt(h|0,m|0,7)|0;m=z}while(!((h|0)==0&(m|0)==0));h=s+j+n+g|0;g=c[b+228>>2]|0;do if((h|0)>(g|0)){if(o|0)break a;d=Fd(h)|0;c[v+36>>2]=d;if(!d){f=7;l=y;return f|0}else{g=c[w>>2]|0;break}}else g=o;while(0);b=v+36|0;if(g){n=(c[b>>2]|0)+j|0;m=n;o=t;while(1){g=o&255;h=m+1|0;a[m>>0]=g|-128;o=Qt(o|0,k|0,7)|0;k=z;if((o|0)==0&(k|0)==0)break;else m=h}a[m>>0]=g&127;j=j-n+h|0}m=(c[b>>2]|0)+j|0;k=m;n=s;while(1){g=n&255;h=k+1|0;a[k>>0]=g|-128;n=Qt(n|0,i|0,7)|0;i=z;if((n|0)==0&(i|0)==0)break;else k=h}a[k>>0]=g&127;j=h-m+j|0;Tt((c[b>>2]|0)+j|0,e+t|0,s|0)|0;c[u>>2]=j+s;j=v+12|0;c[j>>2]=(c[j>>2]|0)+1;j=v+24|0;i=v+28|0;g=c[i>>2]|0;do if((c[j>>2]|0)<(f|0)){h=f<<1;if(Nc()|0){f=7;l=y;return f|0}g=Oc(g,(h|0)>0?h:0,0)|0;if(!g){f=7;l=y;return f|0}else{c[j>>2]=h;c[i>>2]=g;break}}while(0);c[w>>2]=g;Tt(g|0,e|0,f|0)|0;c[x>>2]=f;f=0;l=y;return f|0}else g=c[b+228>>2]|0;while(0);i=Fd(g+40|0)|0;c[r>>2]=i;if(!i){f=7;l=y;return f|0};c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[i+16>>2]=0;c[i+20>>2]=0;c[i+24>>2]=0;c[i+28>>2]=0;c[i+32>>2]=11;c[i+36>>2]=i+40;if(p){c[q>>2]=c[v>>2];h=dq(b,q,e,f)|0;g=c[q>>2]|0;if(!(c[v>>2]|0))c[v>>2]=g;c[v+4>>2]=i;c[i+8>>2]=c[v+8>>2];c[i>>2]=g;f=v+28|0;g=c[r>>2]|0;c[g+28>>2]=c[f>>2];c[g+24>>2]=c[v+24>>2];c[f>>2]=0}else{c[i+8>>2]=i;h=dq(b,r,e,f)|0;g=c[r>>2]|0}c[d>>2]=g;f=h;l=y;return f|0}function eq(d,e,f,g,h,i,j,k,m,n){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0;I=l;l=l+16|0;G=I;y=I+8|0;if(!(c[e>>2]|0)){o=0;p=g;q=h;while(1){p=Qt(p|0,q|0,7)|0;q=z;if((p|0)==0&(q|0)==0)break;else o=o+1|0}s=9-o|0;t=e+36|0;a[(c[t>>2]|0)+s>>0]=f;r=(c[t>>2]|0)+(s+1)|0;q=g;p=h;while(1){o=q&255;a[r>>0]=o|-128;q=Qt(q|0,p|0,7)|0;p=z;if((q|0)==0&(p|0)==0)break;else r=r+1|0}a[r>>0]=o&127;j=Ft(i|0,j|0,-1,-1)|0;c[k>>2]=j;c[k+4>>2]=z;c[n>>2]=(c[e+32>>2]|0)-s;c[m>>2]=(c[t>>2]|0)+s;n=0;l=I;return n|0}o=c[e+8>>2]|0;if(o){B=f&255;C=d+92|0;D=d+16|0;E=d+20|0;F=d+12|0;x=o;p=i;o=j;w=h;while(1){q=0;r=g;s=w;while(1){r=Qt(r|0,s|0,7)|0;s=z;if((r|0)==0&(s|0)==0)break;else q=q+1|0}h=9-q|0;u=x+36|0;a[(c[u>>2]|0)+h>>0]=B;q=(c[u>>2]|0)+(h+1)|0;s=g;t=w;while(1){r=s&255;a[q>>0]=r|-128;s=Qt(s|0,t|0,7)|0;t=z;if((s|0)==0&(t|0)==0)break;else q=q+1|0}a[q>>0]=r&127;v=(c[x+32>>2]|0)-h|0;h=(c[u>>2]|0)+h|0;q=c[C>>2]|0;c[y>>2]=q;do if(!q){q=c[E>>2]|0;c[G>>2]=c[D>>2];c[G+4>>2]=q;q=xd(40222,G)|0;if(!q){r=7;break}r=si(c[F>>2]|0,q,-1,129,0,y,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](q);else{u=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q)}q=c[y>>2]|0;c[C>>2]=q;if(!r)H=20}else H=20;while(0);do if((H|0)==20){H=0;t=q;do if(!(Ho(t,1)|0)){r=c[t+116>>2]|0;s=r+8|0;if(!(b[s>>1]&9312)){u=r;c[u>>2]=p;c[u+4>>2]=o;b[s>>1]=4;break}else{Xe(r,p,o);break}}while(0);if((h|0)==0|(Ho(t,2)|0)!=0){qi(t)|0;if(!q){r=0;break}}else{q=Ve((c[t+116>>2]|0)+40|0,h,v,0,0)|0;if(q|0?(A=c[t>>2]|0,c[A+56>>2]=q,dg(A,q),A=c[t>>2]|0,(q|0)==3082|(a[A+73>>0]|0)!=0):0)Th(A);qi(t)|0}q=c[t>>2]|0;v=t+128|0;u=c[v+4>>2]|0;if((u|0)>0|(u|0)==0&(c[v>>2]|0)>>>0>0)Rh(q,t);r=Sh(t)|0;c[t+20>>2]=770837923;c[t+36>>2]=-1;c[t+40>>2]=0;a[t+142>>0]=2;c[t+44>>2]=0;c[t+32>>2]=1;a[t+143>>0]=-1;c[t+48>>2]=0;v=t+64|0;c[v>>2]=0;c[v+4>>2]=0;if((r|0)==3082|(a[q+73>>0]|0)!=0){Th(q);r=7;break}else{r=c[q+60>>2]&r;break}}while(0);p=Ft(p|0,o|0,1,0)|0;o=z;q=(c[x+12>>2]|0)+1|0;g=Ft(q|0,((q|0)<0)<<31>>31|0,g|0,w|0)|0;x=c[x+4>>2]|0;q=(r|0)==0;if(!(q&(x|0)!=0))break;else w=z}if(!q){n=r;l=I;return n|0}}else{p=i;o=j}n=eq(d,c[e>>2]|0,f+1|0,i,j,p,o,k,m,n)|0;l=I;return n|0}function fq(d,e,f,g,h,i,j,k,m,n,o,p,q,r){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;r=r|0;var s=0,t=0,u=0,v=0,w=0,x=0,y=0;y=l;l=l+32|0;w=y+8|0;t=y;u=y+24|0;v=d+100|0;s=c[v>>2]|0;c[u>>2]=s;if(!s){s=c[d+20>>2]|0;c[t>>2]=c[d+16>>2];c[t+4>>2]=s;s=xd(40674,t)|0;if(!s){x=7;l=y;return x|0}t=si(c[d+12>>2]|0,s,-1,129,0,u,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](s);else{d=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s)}s=c[u>>2]|0;c[v>>2]=s;if(!t)u=s;else{x=t;l=y;return x|0}}else u=s;v=u;do if(!(Ho(v,1)|0)){s=c[v+116>>2]|0;t=s+8|0;if(!(b[t>>1]&9312)){d=s;c[d>>2]=e;c[d+4>>2]=f;b[t>>1]=4;break}else{Xe(s,e,f);break}}while(0);s=((g|0)<0)<<31>>31;do if(!(Ho(v,2)|0)){d=c[v+116>>2]|0;t=d+40|0;d=d+48|0;if(!(b[d>>1]&9312)){f=t;c[f>>2]=g;c[f+4>>2]=s;b[d>>1]=4;break}else{Xe(t,g,s);break}}while(0);do if(!(Ho(v,3)|0)){t=c[v+116>>2]|0;s=t+80|0;t=t+88|0;if(!(b[t>>1]&9312)){g=s;c[g>>2]=h;c[g+4>>2]=i;b[t>>1]=4;break}else{Xe(s,h,i);break}}while(0);do if(!(Ho(v,4)|0)){t=c[v+116>>2]|0;s=t+120|0;t=t+128|0;if(!(b[t>>1]&9312)){i=s;c[i>>2]=j;c[i+4>>2]=k;b[t>>1]=4;break}else{Xe(s,j,k);break}}while(0);do if((o|0)==0&(p|0)==0){if(!(Ho(v,5)|0)){t=c[v+116>>2]|0;s=t+160|0;t=t+168|0;if(!(b[t>>1]&9312)){w=s;c[w>>2]=m;c[w+4>>2]=n;b[t>>1]=4;break}else{Xe(s,m,n);break}}}else{s=w;c[s>>2]=m;c[s+4>>2]=n;s=w+8|0;c[s>>2]=o;c[s+4>>2]=p;s=xd(40722,w)|0;if(!s){x=7;l=y;return x|0}else{Lo(v,5,s,-1,148,1)|0;break}}while(0);if((q|0)==0|(Ho(v,6)|0)!=0){qi(v)|0;if(!u){x=0;l=y;return x|0}}else{s=Ve((c[v+116>>2]|0)+200|0,q,r,0,0)|0;if(s|0?(x=c[v>>2]|0,c[x+56>>2]=s,dg(x,s),x=c[v>>2]|0,(s|0)==3082|(a[x+73>>0]|0)!=0):0)Th(x);qi(v)|0}s=c[v>>2]|0;x=v+128|0;r=c[x+4>>2]|0;if((r|0)>0|(r|0)==0&(c[x>>2]|0)>>>0>0)Rh(s,v);t=Sh(v)|0;c[v+20>>2]=770837923;c[v+36>>2]=-1;c[v+40>>2]=0;a[v+142>>0]=2;c[v+44>>2]=0;c[v+32>>2]=1;a[v+143>>0]=-1;c[v+48>>2]=0;x=v+64|0;c[x>>2]=0;c[x+4>>2]=0;if((t|0)==3082|(a[s+73>>0]|0)!=0){Th(s);x=7;l=y;return x|0}else{x=c[s+60>>2]&t;l=y;return x|0}return 0}function gq(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0;C=l;l=l+32|0;s=C+16|0;r=C+8|0;j=C;t=C+24|0;k=d+204|0;i=c[k>>2]|0;c[t>>2]=i;if(!i){i=c[d+20>>2]|0;c[j>>2]=c[d+16>>2];c[j+4>>2]=i;i=xd(40438,j)|0;if(!i){f=7;l=C;return f|0}j=si(c[d+12>>2]|0,i,-1,129,0,t,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](i);else{A=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}i=c[t>>2]|0;c[k>>2]=i;if(!j)q=i;else{f=j;l=C;return f|0}}else q=i;n=Jt(e|0,f|0,1024,0)|0;n=Rt(n|0,z|0,10)|0;m=z;n=n|1023;o=Lt(g|0,h|0,3,0)|0;o=Jt(o|0,z|0,2,0)|0;p=z;A=q;i=Ft(e|0,f|0,1,0)|0;j=z;do if(!(Ho(A,1)|0)){k=c[A+116>>2]|0;g=k+8|0;if(!(b[g>>1]&9312)){y=k;c[y>>2]=i;c[y+4>>2]=j;b[g>>1]=4;break}else{Xe(k,i,j);break}}while(0);do if(!(Ho(A,2)|0)){j=c[A+116>>2]|0;i=j+40|0;j=j+48|0;if(!(b[j>>1]&9312)){c[i>>2]=n;c[i+4>>2]=m;b[j>>1]=4;i=0;break}else{Xe(i,n,m);i=0;break}}else i=0;while(0);while(1){if((qi(A)|0)!=100){k=i;break}n=fl(A,2)|0;if(!n){k=0;break}if(((a[n>>0]|0)+-48&255)<10){i=0;do i=i+1|0;while(((a[n+i>>0]|0)+-48&255)<10)}else i=0;a:while(1){j=a[n+i>>0]|0;switch(j<<24>>24){case 45:{B=23;break a}case 32:break;default:{h=1;m=0;break a}}i=i+1|0}if((B|0)==23){B=0;j=i+1|0;i=j;h=-1;m=-1;j=a[n+j>>0]|0}if((j+-48&255)<10){g=j;j=0;k=0;do{j=Lt(j|0,k|0,10,0)|0;k=(g&255)+-48|0;j=Ft(k|0,((k|0)<0)<<31>>31|0,j|0,z|0)|0;k=z;i=i+1|0;g=a[n+i>>0]|0}while((g+-48&255)<10);i=k}else{j=0;i=0}y=Lt(j|0,i|0,h|0,m|0)|0;i=z;x=(i|0)<0|(i|0)==0&y>>>0<1;y=(i|0)>(p|0)|(i|0)==(p|0)&y>>>0>o>>>0;i=((x|y)^1)&1;if(x|y){k=i;break}}y=(q|0)==0;do if(y)i=0;else{i=c[A>>2]|0;x=A+128|0;w=c[x+4>>2]|0;if((w|0)>0|(w|0)==0&(c[x>>2]|0)>>>0>0)Rh(i,A);j=Sh(A)|0;c[A+20>>2]=770837923;c[A+36>>2]=-1;c[A+40>>2]=0;a[A+142>>0]=2;c[A+44>>2]=0;c[A+32>>2]=1;a[A+143>>0]=-1;c[A+48>>2]=0;x=A+64|0;c[x>>2]=0;c[x+4>>2]=0;if(!((j|0)==3082|(a[i+73>>0]|0)!=0)){i=c[i+60>>2]&j;break}Th(i);f=7;l=C;return f|0}while(0);if(!((k|0)!=0&(i|0)==0)){f=i;l=C;return f|0}k=d+208|0;i=c[k>>2]|0;c[t>>2]=i;if(!i){i=c[d+20>>2]|0;c[r>>2]=c[d+16>>2];c[r+4>>2]=i;i=xd(40544,r)|0;if(!i){f=7;l=C;return f|0}j=si(c[d+12>>2]|0,i,-1,129,0,t,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](i);else{x=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}i=c[t>>2]|0;c[k>>2]=i;if(!j)g=i;else{f=j;l=C;return f|0}}else g=i;k=d+212|0;i=c[k>>2]|0;c[t>>2]=i;if(!i){i=c[d+20>>2]|0;c[s>>2]=c[d+16>>2];c[s+4>>2]=i;i=xd(40617,s)|0;if(!i){f=7;l=C;return f|0}j=si(c[d+12>>2]|0,i,-1,129,0,t,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](i);else{x=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}i=c[t>>2]|0;c[k>>2]=i;if(!j)x=i;else{f=j;l=C;return f|0}}else x=i;do if(!(Ho(A,1)|0)){i=c[A+116>>2]|0;j=i+8|0;if(!(b[j>>1]&9312)){w=i;c[w>>2]=e;c[w+4>>2]=f;b[j>>1]=4;break}else{Xe(i,e,f);break}}while(0);b:do if((qi(A)|0)==100){m=g;n=m+116|0;o=m+128|0;p=m+20|0;q=m+36|0;r=m+40|0;s=m+142|0;d=m+44|0;t=m+32|0;u=m+143|0;v=m+48|0;w=m+64|0;c:do if(!g){h=0;while(1){i=((h|0)<0)<<31>>31;do if(!(Ho(m,1)|0)){j=c[n>>2]|0;k=j+8|0;if(!(b[k>>1]&9312)){g=j;c[g>>2]=h;c[g+4>>2]=i;b[k>>1]=4;break}else{Xe(j,h,i);break}}while(0);h=h+1|0;i=Co(A,0)|0;j=((i|0)<0)<<31>>31;do if(!(Ho(m,2)|0)){g=c[n>>2]|0;k=g+40|0;g=g+48|0;if(!(b[g>>1]&9312)){c[k>>2]=i;c[k+4>>2]=j;b[g>>1]=4;break}else{Xe(k,i,j);break}}while(0);i=Co(A,1)|0;j=((i|0)<0)<<31>>31;if(!(Ho(m,3)|0)){g=c[n>>2]|0;k=g+80|0;g=g+88|0;if(!(b[g>>1]&9312)){c[k>>2]=i;c[k+4>>2]=j;b[g>>1]=4}else Xe(k,i,j);qi(m)|0;i=c[m>>2]|0;g=o;k=c[g+4>>2]|0;if((k|0)>0|(k|0)==0&(c[g>>2]|0)>>>0>0)Rh(i,m);j=Sh(m)|0;c[p>>2]=770837923;c[q>>2]=-1;c[r>>2]=0;a[s>>0]=2;c[d>>2]=0;c[t>>2]=1;a[u>>0]=-1;c[v>>2]=0;g=w;c[g>>2]=0;c[g+4>>2]=0;if((j|0)==3082|(a[i+73>>0]|0)!=0){B=91;break c}j=c[i+60>>2]&j;if(j|0)break c}else qi(m)|0;if((qi(A)|0)!=100)break b}}else{h=0;while(1){i=((h|0)<0)<<31>>31;do if(!(Ho(m,1)|0)){j=c[n>>2]|0;k=j+8|0;if(!(b[k>>1]&9312)){g=j;c[g>>2]=h;c[g+4>>2]=i;b[k>>1]=4;break}else{Xe(j,h,i);break}}while(0);h=h+1|0;i=Co(A,0)|0;j=((i|0)<0)<<31>>31;do if(!(Ho(m,2)|0)){g=c[n>>2]|0;k=g+40|0;g=g+48|0;if(!(b[g>>1]&9312)){c[k>>2]=i;c[k+4>>2]=j;b[g>>1]=4;break}else{Xe(k,i,j);break}}while(0);i=Co(A,1)|0;j=((i|0)<0)<<31>>31;if(!(Ho(m,3)|0)){g=c[n>>2]|0;k=g+80|0;g=g+88|0;if(!(b[g>>1]&9312)){c[k>>2]=i;c[k+4>>2]=j;b[g>>1]=4}else Xe(k,i,j);qi(m)|0}else qi(m)|0;i=c[m>>2]|0;g=o;k=c[g+4>>2]|0;if((k|0)>0|(k|0)==0&(c[g>>2]|0)>>>0>0)Rh(i,m);j=Sh(m)|0;c[p>>2]=770837923;c[q>>2]=-1;c[r>>2]=0;a[s>>0]=2;c[d>>2]=0;c[t>>2]=1;a[u>>0]=-1;c[v>>2]=0;g=w;c[g>>2]=0;c[g+4>>2]=0;if((j|0)==3082|(a[i+73>>0]|0)!=0){B=91;break c}j=c[i+60>>2]&j;if(j|0)break c;if((qi(A)|0)!=100)break b}}while(0);if((B|0)==91){Th(i);j=7}if(y){f=j;l=C;return f|0}i=c[A>>2]|0;f=A+128|0;e=c[f+4>>2]|0;if((e|0)>0|(e|0)==0&(c[f>>2]|0)>>>0>0)Rh(i,A);f=Sh(A)|0;c[A+20>>2]=770837923;c[A+36>>2]=-1;c[A+40>>2]=0;a[A+142>>0]=2;c[A+44>>2]=0;c[A+32>>2]=1;a[A+143>>0]=-1;c[A+48>>2]=0;e=A+64|0;c[e>>2]=0;c[e+4>>2]=0;if(!((f|0)==3082|(a[i+73>>0]|0)!=0)){f=j;l=C;return f|0}Th(i);f=j;l=C;return f|0}while(0);do if(!y){i=c[A>>2]|0;B=A+128|0;y=c[B+4>>2]|0;if((y|0)>0|(y|0)==0&(c[B>>2]|0)>>>0>0)Rh(i,A);j=Sh(A)|0;c[A+20>>2]=770837923;c[A+36>>2]=-1;c[A+40>>2]=0;a[A+142>>0]=2;c[A+44>>2]=0;c[A+32>>2]=1;a[A+143>>0]=-1;c[A+48>>2]=0;B=A+64|0;c[B>>2]=0;c[B+4>>2]=0;if((j|0)==3082|(a[i+73>>0]|0)!=0){Th(i);f=7;l=C;return f|0}else{i=c[i+60>>2]&j;if(!i)break;l=C;return i|0}}while(0);k=x;if(Ho(k,1)|0){qi(k)|0;if(!x){f=0;l=C;return f|0}}else{i=c[k+116>>2]|0;j=i+8|0;if(!(b[j>>1]&9312)){B=i;c[B>>2]=e;c[B+4>>2]=f;b[j>>1]=4}else Xe(i,e,f);qi(k)|0}i=c[k>>2]|0;f=k+128|0;e=c[f+4>>2]|0;if((e|0)>0|(e|0)==0&(c[f>>2]|0)>>>0>0)Rh(i,k);j=Sh(k)|0;c[k+20>>2]=770837923;c[k+36>>2]=-1;c[k+40>>2]=0;a[k+142>>0]=2;c[k+44>>2]=0;c[k+32>>2]=1;a[k+143>>0]=-1;c[k+48>>2]=0;f=k+64|0;c[f>>2]=0;c[f+4>>2]=0;if((j|0)==3082|(a[i+73>>0]|0)!=0){Th(i);f=7;l=C;return f|0}else{f=c[i+60>>2]&j;l=C;return f|0}return 0}function hq(a){a=a|0;var b=0,d=0,e=0;if(!a)return;a=c[a+8>>2]|0;hq(c[a>>2]|0);if(!a)return;do{d=a;a=c[a+4>>2]|0;b=c[d+36>>2]|0;do if(!((b|0)==(d+40|0)|(b|0)==0))if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[d+28>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{e=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](d);else{e=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d)}}while((a|0)!=0);return}function iq(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0;if(!b)return;j=b+4|0;d=c[b>>2]|0;if((c[j>>2]|0)>0){g=0;do{f=c[d+(g<<2)>>2]|0;do if(f|0){do if((c[f+56>>2]|0)==0?(h=c[f+64>>2]|0,h|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{e=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);do if((a[f+5>>0]|0)==0?(i=c[f+40>>2]|0,i|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{e=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);d=c[f+52>>2]|0;do if(d|0){e=c[d+20>>2]|0;Qh(c[d+16>>2]|0)|0;if(e|0){if(c[e+464>>2]|0){Lc(e,d);break}k=d;if(k>>>0>=(c[e+296>>2]|0)>>>0?k>>>0<(c[e+300>>2]|0)>>>0:0){k=e+292|0;c[d>>2]=c[k>>2];c[k>>2]=d;break}}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{k=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{k=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);g=g+1|0;d=c[b>>2]|0}while((g|0)<(c[j>>2]|0))}do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{k=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);d=b+16|0;e=c[d>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{k=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);c[j>>2]=0;c[b>>2]=0;c[d>>2]=0;return}function jq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=((c[a+80>>2]|0)==0&1)-((c[b+80>>2]|0)==0&1)|0;if(d|0){b=d;return b|0}e=a+88|0;d=c[e>>2]|0;e=c[e+4>>2]|0;g=b+88|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((d|0)==(f|0)&(e|0)==(g|0)){b=(c[b>>2]|0)-(c[a>>2]|0)|0;return b|0}else{b=(e|0)<(g|0)|(e|0)==(g|0)&d>>>0>>0?1:-1;return b|0}return 0}function kq(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;d=((c[a+80>>2]|0)==0&1)-((c[b+80>>2]|0)==0&1)|0;if(d|0){b=d;return b|0}e=a+88|0;d=c[e>>2]|0;e=c[e+4>>2]|0;g=b+88|0;f=c[g>>2]|0;g=c[g+4>>2]|0;if((d|0)==(f|0)&(e|0)==(g|0)){b=(c[b>>2]|0)-(c[a>>2]|0)|0;return b|0}else{b=(e|0)>(g|0)|(e|0)==(g|0)&d>>>0>f>>>0?1:-1;return b|0}return 0}function lq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=d+72|0;e=c[t>>2]|0;if(!e)e=c[d+40>>2]|0;else e=e+(c[d+76>>2]|0)|0;if((e|0)!=0?(f=d+40|0,g=c[f>>2]|0,e>>>0<(g+(c[d+44>>2]|0)|0)>>>0):0){k=e;h=g;q=f}else s=6;do if((s|0)==6){j=d+56|0;e=c[j>>2]|0;if(e|0){f=c[e>>2]|0;i=d+40|0;e=c[i>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);c[i>>2]=0;if(!f){t=0;return t|0}g=c[f+8>>2]|0;h=(c[g>>2]|0)+1|0;c[d+64>>2]=c[f+12>>2];c[d+60>>2]=c[f+16>>2];e=Fd(h)|0;if(!e){t=7;return t|0}Tt(e|0,c[g+4>>2]|0,h|0)|0;c[d+76>>2]=h;c[d+44>>2]=h;c[t>>2]=e;c[i>>2]=e;c[j>>2]=(c[j>>2]|0)+4;t=0;return t|0}i=d+40|0;if(!(a[d+5>>0]|0)){e=c[i>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{q=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);e=d+52|0;f=c[e>>2]|0;do if(f|0){g=c[f+20>>2]|0;Qh(c[f+16>>2]|0)|0;if(g|0){if(c[g+464>>2]|0){Lc(g,f);break}q=f;if(q>>>0>=(c[g+296>>2]|0)>>>0?q>>>0<(c[g+300>>2]|0)>>>0:0){q=g+292|0;c[f>>2]=c[q>>2];c[q>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{q=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[e>>2]=0}c[i>>2]=0;g=d+32|0;f=g;e=c[f>>2]|0;f=c[f+4>>2]|0;q=d+16|0;p=c[q+4>>2]|0;if(!((f|0)<(p|0)|((f|0)==(p|0)?e>>>0<(c[q>>2]|0)>>>0:0))){t=0;return t|0}q=Ft(e|0,f|0,1,0)|0;e=z;p=g;c[p>>2]=q;c[p+4>>2]=e;e=oq(b,q,e,i,d+44|0)|0;if(!e){h=c[i>>2]|0;k=h;q=i;break}else{t=e;return t|0}}while(0);p=d+52|0;g=c[p>>2]|0;a:do if(g){e=h;i=k+20|0;b=d+48|0;j=d+44|0;f=c[b>>2]|0;if((i-e|0)>(f|0)){while(1){h=(c[j>>2]|0)-f|0;h=(h|0)<4096?h:4096;e=So(g,e+f|0,h,f,145)|0;if(e|0){r=e;s=92;break}g=(c[b>>2]|0)+h|0;c[b>>2]=g;g=(c[q>>2]|0)+g|0;h=g+20|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));f=c[b>>2]|0;l=c[p>>2]|0;if((f|0)==(c[j>>2]|0))break;if(!l){i=0;break a}e=c[q>>2]|0;if((i-e|0)<=(f|0)){i=l;break a}else g=l}if((s|0)==92)return r|0;do if(l|0){e=c[l+20>>2]|0;Qh(c[l+16>>2]|0)|0;if(e|0){if(c[e+464>>2]|0){Lc(e,l);break}o=l;if(o>>>0>=(c[e+296>>2]|0)>>>0?o>>>0<(c[e+300>>2]|0)>>>0:0){o=e+292|0;c[l>>2]=c[o>>2];c[o>>2]=l;break}}if(!(c[2]|0)){pb[c[56>>2]&255](l);break}else{o=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);break}}while(0);c[p>>2]=0;c[b>>2]=0;i=0}else i=g}else i=0;while(0);f=a[k>>0]|0;e=f&255;if(e&128){o=a[k+1>>0]<<7;e=o|f&127;if(o&16384){o=a[k+2>>0]<<14;e=o|e&16383;if(o&2097152){o=a[k+3>>0]<<21;e=o|e&2097151;if(!(o&268435456))f=4;else{e=(a[k+4>>0]&7)<<28|e&268435455;f=5}}else f=3}else f=2}else f=1;h=k+f|0;g=a[h>>0]|0;f=g&255;if(f&128){o=a[h+1>>0]<<7;f=o|g&127;if(o&16384){o=a[h+2>>0]<<14;f=o|f&16383;if(o&2097152){o=a[h+3>>0]<<21;f=o|f&2097151;if(!(o&268435456))g=4;else{f=(a[h+4>>0]&7)<<28|f&268435455;g=5}}else g=3}else g=2}else g=1;l=h+g|0;if((e|0)<0|(f|0)<1){t=267;return t|0}n=l+f|0;o=d+44|0;if(n>>>0>((c[q>>2]|0)+(c[o>>2]|0)|0)>>>0){t=267;return t|0}m=f+e|0;j=d+68|0;do if((m|0)>(c[j>>2]|0)){h=m<<1;i=d+64|0;g=c[i>>2]|0;if(Nc()|0){t=7;return t|0}g=Oc(g,(h|0)>0?h:0,0)|0;if(!g){t=7;return t|0}else{c[i>>2]=g;c[j>>2]=h;g=c[p>>2]|0;break}}else g=i;while(0);b:do if(g|0){b=f+10+l|0;k=d+48|0;i=c[k>>2]|0;j=g;while(1){g=c[q>>2]|0;if((b-g|0)<=(i|0))break b;h=(c[o>>2]|0)-i|0;h=(h|0)<4096?h:4096;g=So(j,g+i|0,h,i,145)|0;if(g|0){r=g;s=92;break}g=(c[k>>2]|0)+h|0;c[k>>2]=g;g=(c[q>>2]|0)+g|0;h=g+20|0;do{a[g>>0]=0;g=g+1|0}while((g|0)<(h|0));i=c[k>>2]|0;j=c[p>>2]|0;if((i|0)==(c[o>>2]|0))break;if(!j)break b}if((s|0)==92)return r|0;do if(j|0){g=c[j+20>>2]|0;Qh(c[j+16>>2]|0)|0;if(g|0){if(c[g+464>>2]|0){Lc(g,j);break}s=j;if(s>>>0>=(c[g+296>>2]|0)>>>0?s>>>0<(c[g+300>>2]|0)>>>0:0){s=g+292|0;c[j>>2]=c[s>>2];c[s>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{s=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[p>>2]=0;c[k>>2]=0}while(0);Tt((c[d+64>>2]|0)+e|0,l|0,f|0)|0;c[d+60>>2]=m;e=a[n>>0]|0;f=e&255;g=d+76|0;if(f&128){s=a[n+1>>0]<<7;e=s|e&127;if(s&16384){s=a[n+2>>0]<<14;e=s|e&16383;if(s&2097152){s=a[n+3>>0]<<21;e=s|e&2097151;if(!(s&268435456)){f=e;e=4}else{f=(a[n+4>>0]&7)<<28|e&268435455;e=5}}else{f=e;e=3}}else{f=e;e=2}}else e=1;c[g>>2]=f;e=n+e|0;c[t>>2]=e;c[d+80>>2]=0;if((e+f|0)>>>0>((c[q>>2]|0)+(c[o>>2]|0)|0)>>>0){t=267;return t|0}if((c[d+48>>2]|0)==0?a[e+(f+-1)>>0]|0:0){t=267;return t|0}t=0;return t|0}function mq(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0;k=c[g>>2]|0;if(!k){p=e+f|0;if((f|0)>0){o=b|0?-1:1;j=1;f=0;b=0;while(1){l=a[e>>0]|0;k=l&255;do if(!(k&128)){n=1;m=l&255;l=0}else{n=d[e+1>>0]<<7;k=n|k&127;if(!(n&16384)){n=2;m=k;l=0;break}n=d[e+2>>0]<<14;k=n|k&16383;if(!(n&2097152)){n=3;m=k;l=0;break}n=d[e+3>>0]<<21;k=n|k&2097151;if(!(n&268435456)){n=4;m=k;l=0;break}m=28;n=e+4|0;k=k&268435455;l=0;do{q=n;n=n+1|0;q=d[q>>0]|0;r=Rt(q&127|0,0,m|0)|0;k=Ft(r|0,z|0,k|0,l|0)|0;l=z;m=m+7|0}while((m|0)<64&((q&128|0)!=0|0!=0));n=n-e|0;m=k}while(0);k=e+n|0;m=Lt(m|0,l|0,j|0,((j|0)<0)<<31>>31|0)|0;n=z;e=k;l=0;while(1){j=a[e>>0]|0;e=e+1|0;if(!(j|l<<24>>24))break;else l=j&128}f=Ft(m|0,n|0,f|0,b|0)|0;b=z;a:do if(e>>>0

    >>0)do{if(a[e>>0]|0)break a;e=e+1|0}while(e>>>0

    >>0);while(0);if(e>>>0

    >>0)j=o;else break}}else{k=0;f=0;b=0}c[i>>2]=p-k;c[g>>2]=k;r=h;c[r>>2]=f;c[r+4>>2]=b;return}n=(b|0)!=0;b=k+-2|0;b:do if(b>>>0>>0)o=b;else while(1){if((a[b>>0]|0)>=0){o=b;break b}b=b+-1|0;if(b>>>0>>0){o=b;break}}while(0);m=o+1|0;p=m;b=a[m>>0]|0;f=b&255;do if(!(f&128)){b=b&255;f=0}else{r=d[o+2>>0]<<7;b=r|f&127;if(!(r&16384)){f=0;break}r=d[o+3>>0]<<14;b=r|b&16383;if(!(r&2097152)){f=0;break}r=d[o+4>>0]<<21;b=r|b&2097151;if(!(r&268435456)){f=0;break}k=28;l=o+5|0;b=b&268435455;f=0;while(1){r=d[l>>0]|0;q=Rt(r&127|0,0,k|0)|0;b=Ft(q|0,z|0,b|0,f|0)|0;f=z;k=k+7|0;if(!((k|0)<64&((r&128|0)!=0|0!=0)))break;else l=l+1|0}}while(0);q=Lt(b|0,f|0,(n?-1:1)|0,(n?-1:0)|0)|0;r=h;q=Gt(c[r>>2]|0,c[r+4>>2]|0,q|0,z|0)|0;r=h;c[r>>2]=q;c[r+4>>2]=z;if((m|0)==(e|0)){a[j>>0]=1;b=p}else{b=-1;do{f=o+b|0;if(f>>>0<=e>>>0){f=0;break}b=b+-1|0;f=a[f>>0]|0}while(f<<24>>24==0);c:do if((o+b|0)>>>0>e>>>0){k=f;while(1){f=a[o+b>>0]|0;if(!(f&-128&255|k<<24>>24)){k=43;break c}b=b+-1|0;if((o+b|0)>>>0>e>>>0)k=f;else{k=42;break}}}else k=42;while(0);if((k|0)==42)if(f<<24>>24==0&(b+2|0)<1)k=43;else b=o+b|0;if((k|0)==43)b=o+b+2|0;do{r=b;b=b+1|0}while((a[r>>0]|0)<0);c[i>>2]=p-b}c[g>>2]=b;return}function nq(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+16|0;o=w;i=w+4|0;v=e+80|0;h=c[v>>2]|0;c[o>>2]=h;u=b+235|0;b=h;if(a[u>>0]|0?c[e+56>>2]|0:0){a[i>>0]=0;if(!f)b=e+84|0;else{c[f>>2]=h;b=e+84|0;c[g>>2]=(c[b>>2]|0)+-1}mq(0,c[e+72>>2]|0,c[e+76>>2]|0,o,e+88|0,b,i);c[v>>2]=a[i>>0]|0?0:c[o>>2]|0;v=0;l=w;return v|0}n=(c[e+72>>2]|0)+(c[e+76>>2]|0)|0;r=e+52|0;p=e+40|0;s=e+48|0;q=e+44|0;h=0;while(1){i=a[b>>0]|0;if((i|h)<<24>>24)do{b=b+1|0;h=i&-128;i=a[b>>0]|0}while((i|h)<<24>>24!=0);i=c[r>>2]|0;if(!i)break;j=c[s>>2]|0;k=(c[p>>2]|0)+j|0;if(b>>>0>>0)break;m=(c[q>>2]|0)-j|0;m=(m|0)<4096?m:4096;i=So(i,k,m,j,145)|0;if(i|0){t=61;break}i=(c[s>>2]|0)+m|0;c[s>>2]=i;i=(c[p>>2]|0)+i|0;j=i+20|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0));if((c[s>>2]|0)!=(c[q>>2]|0))continue;i=c[r>>2]|0;do if(i|0){j=c[i+20>>2]|0;Qh(c[i+16>>2]|0)|0;if(j|0){if(c[j+464>>2]|0){Lc(j,i);break}m=i;if(m>>>0>=(c[j+296>>2]|0)>>>0?m>>>0<(c[j+300>>2]|0)>>>0:0){m=j+292|0;c[i>>2]=c[m>>2];c[m>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{m=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[r>>2]=0;c[s>>2]=0}if((t|0)==61){c[o>>2]=b;v=i;l=w;return v|0}b=b+1|0;c[o>>2]=b;if(f|0){c[f>>2]=c[v>>2];c[g>>2]=b+-1-(c[v>>2]|0)}do if(b>>>0>>0){m=b;while(1){if(a[m>>0]|0)break;b=m+1|0;if(b>>>0>>0)m=b;else{t=30;break}}if((t|0)==30){c[o>>2]=b;break}c[o>>2]=m;b=c[r>>2]|0;a:do if(b|0){k=m+10|0;i=c[s>>2]|0;j=b;while(1){h=c[p>>2]|0;if((k-h|0)<=(i|0))break a;b=(c[q>>2]|0)-i|0;b=(b|0)<4096?b:4096;if(So(j,h+i|0,b,i,145)|0){b=0;t=62;break}i=(c[s>>2]|0)+b|0;c[s>>2]=i;i=(c[p>>2]|0)+i|0;j=i+20|0;do{a[i>>0]=0;i=i+1|0}while((i|0)<(j|0));i=c[s>>2]|0;j=c[r>>2]|0;if((i|0)==(c[q>>2]|0))break;if(!j)break a}if((t|0)==62){l=w;return b|0}do if(j|0){b=c[j+20>>2]|0;Qh(c[j+16>>2]|0)|0;if(b|0){if(c[b+464>>2]|0){Lc(b,j);break}t=j;if(t>>>0>=(c[b+296>>2]|0)>>>0?t>>>0<(c[b+300>>2]|0)>>>0:0){t=b+292|0;c[j>>2]=c[t>>2];c[t>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{t=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[r>>2]=0;c[s>>2]=0}while(0);h=a[m>>0]|0;b=h&255;do if(!(b&128)){i=1;b=h&255;h=0}else{t=d[m+1>>0]<<7;b=t|b&127;if(!(t&16384)){i=2;h=0;break}t=d[m+2>>0]<<14;b=t|b&16383;if(!(t&2097152)){i=3;h=0;break}t=d[m+3>>0]<<21;b=t|b&2097151;if(!(t&268435456)){i=4;h=0;break}i=28;j=m+4|0;b=b&268435455;h=0;do{t=j;j=j+1|0;t=d[t>>0]|0;s=Rt(t&127|0,0,i|0)|0;b=Ft(s|0,z|0,b|0,h|0)|0;h=z;i=i+7|0}while((i|0)<64&((t&128|0)!=0|0!=0));i=j-m|0}while(0);c[v>>2]=m+i;t=(a[u>>0]|0)!=0;v=e+88|0;e=v;u=c[e>>2]|0;e=c[e+4>>2]|0;s=Gt(0,0,b|0,h|0)|0;e=Ft((t?s:b)|0,(t?z:h)|0,u|0,e|0)|0;c[v>>2]=e;c[v+4>>2]=z;v=0;l=w;return v|0}while(0);c[v>>2]=0;v=0;l=w;return v|0}function oq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;j=m;k=b+248|0;h=c[k>>2]|0;if(!h){i=b+244|0;h=c[i>>2]|0;if(!h){c[j>>2]=c[b+20>>2];h=xd(40732,j)|0;c[i>>2]=h;if(!h){f=7;l=m;return f|0}}h=Po(c[b+12>>2]|0,c[b+16>>2]|0,h,40744,d,e,0,k)|0}else h=Uo(h,d,e)|0;if(h|0){f=h;l=m;return f|0}h=c[k>>2]|0;if((h|0)!=0?(c[h+16>>2]|0)!=0:0)j=c[h>>2]|0;else j=0;c[g>>2]=j;if(!f){f=0;l=m;return f|0}i=Fd(j+20|0)|0;do if(i){h=So(c[k>>2]|0,i,j,0,145)|0;j=i+j|0;b=j+20|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(b|0));if(h)if(!(c[2]|0)){pb[c[56>>2]&255](i);i=0;break}else{k=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);i=0;break}else h=0}else{i=0;h=7}while(0);c[f>>2]=i;f=h;l=m;return f|0}function pq(a,b){a=a|0;b=b|0;var d=0,e=0;e=c[a>>2]|0;b=c[b>>2]|0;d=c[e+16>>2]|0;a=c[b+16>>2]|0;b=Bs(c[e+12>>2]|0,c[b+12>>2]|0,(d|0)<(a|0)?d:a)|0;return ((b|0)==0?d-a|0:b)|0}function qq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b+4|0;f=c[j>>2]|0;do if(!(f&15)){f=(f<<2)+64|0;g=c[b>>2]|0;if((Nc()|0)==0?(e=Oc(g,(f|0)>0?f:0,0)|0,e|0):0){c[b>>2]=e;f=c[j>>2]|0;break}if(!d){d=7;return d|0}do if((c[d+56>>2]|0)==0?(h=c[d+64>>2]|0,h|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{j=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);do if((a[d+5>>0]|0)==0?(i=c[d+40>>2]|0,i|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{j=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);e=c[d+52>>2]|0;do if(e|0){f=c[e+20>>2]|0;Qh(c[e+16>>2]|0)|0;if(f|0){if(c[f+464>>2]|0){Lc(f,e);break}j=e;if(j>>>0>=(c[f+296>>2]|0)>>>0?j>>>0<(c[f+300>>2]|0)>>>0:0){j=f+292|0;c[e>>2]=c[j>>2];c[j>>2]=e;break}}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{j=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](d);d=7;return d|0}else{j=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);d=7;return d|0}}else e=c[b>>2]|0;while(0);c[j>>2]=f+1;c[e+(f<<2)>>2]=d;d=0;return d|0}function rq(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+16|0;F=G+4|0;D=G;m=a[g>>0]|0;k=m&255;if(k&128){A=a[g+1>>0]<<7;k=A|m&127;if(A&16384){A=a[g+2>>0]<<14;k=A|k&16383;if(A&2097152){A=a[g+3>>0]<<21;k=A|k&2097151;if(!(A&268435456))A=k;else A=(a[g+4>>0]&7)<<28|k&268435455}else A=k}else A=k}else A=k;y=g+h|0;if(m<<24>>24<=-1)if((a[g+1>>0]|0)<=-1)if((a[g+2>>0]|0)<=-1)if((a[g+3>>0]|0)>-1)k=4;else{k=28;h=g+4|0;do{x=h;h=h+1|0;k=k+7|0}while((k|0)<64&(a[x>>0]|0)<0);k=h-g|0}else k=3;else k=2;else k=1;o=g+k|0;h=a[o>>0]|0;k=h&255;do if(!(k&128)){n=1;m=h&255;h=0}else{x=d[o+1>>0]<<7;k=x|k&127;if(!(x&16384)){n=2;m=k;h=0;break}x=d[o+2>>0]<<14;k=x|k&16383;if(!(x&2097152)){n=3;m=k;h=0;break}x=d[o+3>>0]<<21;k=x|k&2097151;if(!(x&268435456)){n=4;m=k;h=0;break}h=28;m=o+4|0;k=k&268435455;g=0;do{x=m;m=m+1|0;x=d[x>>0]|0;w=Rt(x&127|0,0,h|0)|0;k=Ft(w|0,z|0,k|0,g|0)|0;g=z;h=h+7|0}while((h|0)<64&((x&128|0)!=0|0!=0));n=m-o|0;m=k;h=g}while(0);g=o+n|0;if(g>>>0>y>>>0){F=267;l=G;return F|0}x=(i|0)!=0;a:do if(g>>>0>>0){o=i;w=j;n=1;r=0;k=0;v=x;while(1){u=(w|0)!=0;if(!(v|u)){h=0;break a}if(!n){p=a[g>>0]|0;n=p&255;if(n&128){t=a[g+1>>0]<<7;n=t|p&127;if(t&16384){t=a[g+2>>0]<<14;n=t|n&16383;if(t&2097152){t=a[g+3>>0]<<21;n=t|n&2097151;if(!(t&268435456))p=4;else{n=(a[g+4>>0]&7)<<28|n&268435455;p=5}}else p=3}else p=2}else p=1;g=g+p|0}else n=0;q=a[g>>0]|0;p=q&255;if(p&128){t=a[g+1>>0]<<7;p=t|q&127;if(t&16384){t=a[g+2>>0]<<14;p=t|p&16383;if(t&2097152){t=a[g+3>>0]<<21;p=t|p&2097151;if(!(t&268435456))q=4;else{p=(a[g+4>>0]&7)<<28|p&268435455;q=5}}else q=3}else q=2}else q=1;s=g+q|0;g=s+p|0;if(g>>>0>y>>>0){h=267;break a}t=p+n|0;if((t|0)>(r|0)){q=t<<1;if(Nc()|0){h=7;break a}r=Oc(k,(q|0)>0?q:0,0)|0;if(!r){h=7;break a}else k=r}else q=r;Tt(k+n|0,s|0,p|0)|0;p=(t|0)>(f|0);n=Bs(e,k,p?f:t)|0;do if(v){if((n|0)>=0?(n|0)!=0|p^1:0){n=w;break}E=o;c[E>>2]=m;c[E+4>>2]=h;E=47}else E=47;while(0);if((E|0)==47){E=0;if(u&(n|0)<0){o=w;c[o>>2]=m;c[o+4>>2]=h;o=0;n=0}else{o=0;n=w}}m=Ft(m|0,h|0,1,0)|0;h=z;p=(o|0)!=0;if(g>>>0>=y>>>0){g=p;E=50;break}else{w=n;n=0;r=q;v=p}}}else{o=i;n=j;k=0;g=x;E=50}while(0);if((E|0)==50){if(g){y=o;c[y>>2]=m;c[y+4>>2]=h}if(!n)h=0;else{y=n;c[y>>2]=m;c[y+4>>2]=h;h=0}}do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{y=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);if(!((A|0)>1&(h|0)==0)){F=h;l=G;return F|0}c[F>>2]=0;c[D>>2]=0;if(x&(j|0)!=0?(C=i,B=c[C>>2]|0,C=c[C+4>>2]|0,A=j,!((B|0)==(c[A>>2]|0)?(C|0)==(c[A+4>>2]|0):0)):0){k=oq(b,B,C,F,D)|0;if(!k)k=rq(b,e,f,c[F>>2]|0,c[D>>2]|0,i,0)|0;h=c[F>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{i=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[F>>2]=0;if(!k){h=0;k=j;E=69}}else{h=i;k=x?i:j;E=69}do if((E|0)==69){k=oq(b,c[k>>2]|0,c[k+4>>2]|0,F,D)|0;if(!k)k=rq(b,e,f,c[F>>2]|0,c[D>>2]|0,h,j)|0;h=c[F>>2]|0;if(h)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{F=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);F=k;l=G;return F|0}function sq(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0;Aa=l;l=l+176|0;sa=Aa+164|0;ta=Aa+152|0;ua=Aa+128|0;va=Aa+124|0;xa=Aa+120|0;ya=Aa+116|0;za=Aa+112|0;oa=Aa+108|0;pa=Aa+104|0;qa=Aa+100|0;ra=Aa;n=Aa+96|0;if((f|0)>6){c[d+20>>2]=1;a[d+25>>0]=1;Ve(c[d>>2]|0,41334,-1,1,-1)|0;l=Aa;return}if(wq(d,39592,c[g>>2]|0,n)|0){l=Aa;return}a:do switch(f|0){case 6:{f=c[g+20>>2]|0;i=e[f+8>>1]|0;if(i&4|0){j=c[f>>2]|0;ga=11;break a}if(i&8|0){j=Gc(+h[f>>3])|0;ga=11;break a}if(!(i&18)){j=0;ga=11}else{j=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;ga=11}break}case 5:{j=15;ga=11;break}case 4:{k=-1;j=15;ga=17;break}case 3:{m=41382;k=-1;j=15;ga=23;break}case 2:{i=41393;m=41382;k=-1;j=15;ga=29;break}default:{la=41398;ma=41393;na=41382;fa=-1;p=15;ga=35}}while(0);do if((ga|0)==11){f=c[g+16>>2]|0;i=e[f+8>>1]|0;if(i&4|0){k=c[f>>2]|0;ga=17;break}if(i&8|0){k=Gc(+h[f>>3])|0;ga=17;break}if(!(i&18)){k=0;ga=17}else{k=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0;ga=17}}while(0);do if((ga|0)==17){f=c[g+12>>2]|0;if(f){i=e[f+8>>1]|0;if((i&514|0)==514?(a[f+10>>0]|0)==1:0){m=c[f+16>>2]|0;ga=23;break}if(!(i&1)){m=Jc(f,1)|0;ga=23}else{m=0;ga=23}}else{m=0;ga=23}}while(0);do if((ga|0)==23){f=c[g+8>>2]|0;if(f){i=e[f+8>>1]|0;if((i&514|0)==514?(a[f+10>>0]|0)==1:0){i=c[f+16>>2]|0;ga=29;break}if(!(i&1)){i=Jc(f,1)|0;ga=29}else{i=0;ga=29}}else{i=0;ga=29}}while(0);do if((ga|0)==29?(o=c[g+4>>2]|0,o|0):0){f=e[o+8>>1]|0;if((f&514|0)==514?(a[o+10>>0]|0)==1:0){la=c[o+16>>2]|0;ma=i;na=m;fa=k;p=j;ga=35;break}if(!(f&1)){la=Jc(o,1)|0;ma=i;na=m;fa=k;p=j;ga=35}}while(0);if((ga|0)==35?(la|0)!=0&((ma|0)!=0&(na|0)!=0):0){if(!p){if((Ve(c[d>>2]|0,47328,-1,1,0)|0)!=18){l=Aa;return}c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;l=Aa;return}ja=c[n>>2]|0;if(Jq(d,ja)|0){l=Aa;return}ka=c[ja>>2]|0;W=ja+16|0;b:do if(!(c[W>>2]|0)){if((Ve(c[d>>2]|0,47328,0,1,0)|0)==18){c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0}}else{X=(p|0)>-1;Y=p+-1|0;Z=ka+24|0;_=(fa|0)<0;$=ta+4|0;aa=ua+16|0;ba=ua+4|0;ca=ua+8|0;da=ua+12|0;ea=ua+20|0;V=0-p|0;f=0;ia=1;c:while(1){if(X)ha=(Y+ia|0)/(ia|0)|0;else ha=V;U=0;j=0;T=0;i=0;k=0;d:while(1){S=ra+(U*24|0)|0;c[S>>2]=0;c[S+4>>2]=0;c[S+8>>2]=0;c[S+12>>2]=0;c[S+16>>2]=0;c[S+20>>2]=0;e:do if((c[Z>>2]|0)>0){Q=ra+(U*24|0)+4|0;m=ra+(U*24|0)+8|0;R=ra+(U*24|0)+16|0;P=0;O=-1;u=i;f:while(1){do if(_|(P|0)==(fa|0)){c[ua>>2]=0;c[ua+4>>2]=0;c[ua+8>>2]=0;c[ua+12>>2]=0;c[ua+16>>2]=0;c[ua+20>>2]=0;f=$;c[f>>2]=0;c[f+4>>2]=0;c[ta>>2]=ja;f=c[W>>2]|0;c[sa>>2]=0;f=yq(f,sa,155,ta)|0;o=c[$>>2]|0;if(!f){f=o*24|0;i=Fd(f)|0;c[aa>>2]=i;if(!i)f=7;else{Vt(i|0,0,f|0)|0;c[ua>>2]=ja;c[ba>>2]=P;c[ca>>2]=ha;c[da>>2]=o;c[ea>>2]=-1;f=c[W>>2]|0;c[sa>>2]=0;f=yq(f,sa,156,ua)|0;N=(f|0)==0;g:do if(N){if((o|0)>0){n=c[aa>>2]|0;g=0;i=u;do{M=(c[n+(g*24|0)+12>>2]|0)==0;L=Rt(1,0,g|0)|0;i=(M?0:L)|i;k=(M?0:z)|k;g=g+1|0}while((g|0)!=(o|0))}else i=u;g=-1;n=c[ea>>2]|0;I=0;J=0;K=0;L=0;M=0;h:while(1)while(1){i:do if((n|0)<0){c[ea>>2]=0;n=c[da>>2]|0;if((n|0)>0)u=0;else{n=0;s=0;r=0;q=0;p=0;o=0;break}while(1){t=c[aa>>2]|0;s=t+(u*24|0)+12|0;t=t+(u*24|0)+8|0;r=c[ca>>2]|0;p=c[s>>2]|0;if(p){o=c[t>>2]|0;n=p;j:do if((o|0)<(r|0)){n=p;do{q=a[n>>0]|0;if((q&255)<2){o=-1;n=0;break j}p=q&255;do if(!(p&128))q=1;else{ga=a[n+1>>0]<<7;p=ga|q&127;if(!(ga&16384)){q=2;break}ga=a[n+2>>0]<<14;p=ga|p&16383;if(!(ga&2097152)){q=3;break}ga=a[n+3>>0]<<21;p=ga|p&2097151;if(!(ga&268435456)){q=4;break}p=(a[n+4>>0]&7)<<28|p&268435455;q=5}while(0);n=n+q|0;o=o+-2+p|0}while((o|0)<(r|0))}while(0);c[t>>2]=o;c[s>>2]=n;n=c[da>>2]|0}u=u+1|0;if((u|0)>=(n|0)){ga=112;break}}}else{p=c[da>>2]|0;if((p|0)<=0){t=P;s=I;r=J;q=K;p=L;o=M;n=i;break g}q=c[aa>>2]|0;n=2147483647;o=0;while(1){if(!(c[q+(o*24|0)+12>>2]|0))w=n;else{w=c[q+(o*24|0)+8>>2]|0;w=(w|0)<(n|0)?w:n}o=o+1|0;if((o|0)==(p|0))break;else n=w}if((w|0)==2147483647){t=P;s=I;r=J;q=K;p=L;o=M;n=i;break g}v=w-(c[ca>>2]|0)|0;c[ea>>2]=v+1;o=0;while(1){t=q+(o*24|0)+12|0;u=q+(o*24|0)+8|0;n=c[t>>2]|0;if(n|0){p=c[u>>2]|0;k:do if((p|0)<=(w|0))do{s=a[n>>0]|0;if((s&255)<2){p=-1;n=0;break k}r=s&255;do if(!(r&128))s=1;else{ga=a[n+1>>0]<<7;r=ga|s&127;if(!(ga&16384)){s=2;break}ga=a[n+2>>0]<<14;r=ga|r&16383;if(!(ga&2097152)){s=3;break}ga=a[n+3>>0]<<21;r=ga|r&2097151;if(!(ga&268435456)){s=4;break}r=(a[n+4>>0]&7)<<28|r&268435455;s=5}while(0);n=n+s|0;p=p+-2+r|0}while((p|0)<=(w|0));while(0);c[u>>2]=p;c[t>>2]=n}t=q+(o*24|0)+20|0;s=q+(o*24|0)+16|0;n=c[t>>2]|0;if(n|0){p=c[s>>2]|0;l:do if((p|0)<=(v|0))do{r=a[n>>0]|0;if((r&255)<2){p=-1;n=0;break l}q=r&255;do if(!(q&128))r=1;else{ga=a[n+1>>0]<<7;q=ga|r&127;if(!(ga&16384)){r=2;break}ga=a[n+2>>0]<<14;q=ga|q&16383;if(!(ga&2097152)){r=3;break}ga=a[n+3>>0]<<21;q=ga|q&2097151;if(!(ga&268435456)){r=4;break}q=(a[n+4>>0]&7)<<28|q&268435455;r=5}while(0);n=n+r|0;p=p+-2+q|0}while((p|0)<=(v|0));while(0);c[s>>2]=p;c[t>>2]=n}o=o+1|0;n=c[da>>2]|0;if((o|0)>=(n|0)){ga=112;break i}q=c[aa>>2]|0}}while(0);do if((ga|0)==112){ga=0;s=c[ea>>2]|0;if((n|0)<=0){n=0;r=0;q=0;p=0;o=0;break}G=c[aa>>2]|0;H=(c[ca>>2]|0)+s|0;v=0;F=0;p=0;o=0;r=0;q=0;while(1){E=c[G+(F*24|0)+20>>2]|0;u=E;m:do if(!E)t=v;else{t=c[G+(F*24|0)+16>>2]|0;if((t|0)>=(H|0)){t=v;break}D=Rt(1,0,F|0)|0;E=z;C=c[G+(F*24|0)>>2]|0;if((C|0)>0)B=v;else{w=v;while(1){w=(((p|j)&D|0)==0&((o|T)&E|0)==0?1e3:1)+w|0;p=p|D;o=o|E;x=u;v=a[x>>0]|0;if((v&255)<2){t=w;break m}u=v&255;do if(!(u&128))v=1;else{C=a[x+1>>0]<<7;u=C|v&127;if(!(C&16384)){v=2;break}C=a[x+2>>0]<<14;u=C|u&16383;if(!(C&2097152)){v=3;break}C=a[x+3>>0]<<21;u=C|u&2097151;if(!(C&268435456)){v=4;break}u=(a[x+4>>0]&7)<<28|u&268435455;v=5}while(0);t=t+-2+u|0;if((t|0)>=(H|0)){t=w;break m}else u=x+v|0}}while(1){w=Rt(1,0,t-s|0)|0;x=z;y=(p|j)&D;A=(o|T)&E;v=0;do{Ba=Qt(w|0,x|0,v|0)|0;r=Ba|r;q=z|q;v=v+1|0}while((v|0)!=(C|0));x=((y|0)==0&(A|0)==0?1e3:1)+B|0;p=p|D;o=o|E;w=u;v=a[w>>0]|0;if((v&255)<2){t=x;break m}u=v&255;do if(!(u&128))v=1;else{Ba=a[w+1>>0]<<7;u=Ba|v&127;if(!(Ba&16384)){v=2;break}Ba=a[w+2>>0]<<14;u=Ba|u&16383;if(!(Ba&2097152)){v=3;break}Ba=a[w+3>>0]<<21;u=Ba|u&2097151;if(!(Ba&268435456)){v=4;break}u=(a[w+4>>0]&7)<<28|u&268435455;v=5}while(0);t=t+-2+u|0;if((t|0)>=(H|0)){t=x;break}else{B=x;u=w+v|0}}}while(0);F=F+1|0;if((F|0)==(n|0)){n=t;break}else v=t}}while(0);if((n|0)>(g|0)){g=n;n=s;I=s;J=p;K=o;L=r;M=q;continue h}else n=s}}else{g=0;t=0;s=0;r=0;q=0;p=0;o=0;n=u}while(0);i=c[aa>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{Ba=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-Ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);if(!N){i=11;g=O;break}if((g|0)<=(O|0)){i=0;g=O;f=0;break}c[S>>2]=t;c[Q>>2]=s;i=m;c[i>>2]=r;c[i+4>>2]=q;i=R;c[i>>2]=p;c[i+4>>2]=o;i=0;f=0;break}}i=11;g=O;n=u}else{i=10;g=O;n=u}while(0);switch(i&15){case 10:case 0:break;default:break f}P=P+1|0;if((P|0)>=(c[Z>>2]|0)){i=n;ga=145;break e}else{O=g;u=n}}if(!i){m=n;i=T}else break d}else{m=ra+(U*24|0)+8|0;ga=145}while(0);if((ga|0)==145){ga=0;Ba=m;m=i;j=c[Ba>>2]|j;i=c[Ba+4>>2]|T}U=U+1|0;if((U|0)>=(ia|0)){ga=148;break}else{T=i;i=m}}if((ga|0)==148){ga=0;i=(ia|0)==4|(m|0)==(j|0)&(k|0)==(i|0)?2:0}switch(i|0){case 2:{ga=150;break c}case 11:{m=0;break c}case 0:break;default:break b}ia=ia+1|0}n:do if((ga|0)==150)if((ia|0)>0&(f|0)==0){F=ia+-1|0;G=ja+12|0;H=ja+20|0;I=ha+-1|0;E=0;m=0;j=0;r=0;while(1){C=(E|0)==(F|0);i=c[ra+(E*24|0)>>2]|0;n=c[ra+(E*24|0)+4>>2]|0;p=ra+(E*24|0)+16|0;o=c[p>>2]|0;p=c[p+4>>2]|0;f=c[ja>>2]|0;c[ya>>2]=0;i=i+1|0;D=fl(c[G>>2]|0,i)|0;g=c[G>>2]|0;if(!D){if(!g)f=1;else{f=c[g+104>>2]|0;if((f|0)!=0?(e[g+140>>1]|0)>>>0>i>>>0:0){f=f+(i*40|0)|0;i=g}else{f=c[g>>2]|0;c[f+56>>2]=25;dg(f,25);f=424;i=g}f=b[f+8>>1]&31;k=c[i>>2]|0;g=g+40|0;i=c[g>>2]|0;if((i|0)==3082|(a[k+73>>0]|0)!=0){Th(k);i=7}else i=c[k+60>>2]&i;c[g>>2]=i}f=-1431655766>>>f&1|0?0:7;i=r}else{B=Ao(g,i)|0;y=f+36|0;i=c[y>>2]|0;A=c[i>>2]|0;k=c[H>>2]|0;c[sa>>2]=0;f=mb[c[A+12>>2]&255](i,D,B,sa)|0;if(f|0)break;c[c[sa>>2]>>2]=i;if((c[A>>2]|0)>0?(wa=kb[c[A+24>>2]&255](c[sa>>2]|0,k)|0,wa|0):0){ga=167;break}v=c[sa>>2]|0;w=A+20|0;x=(E|0)>0;u=0;q=0;i=r;t=o;s=p;while(1){c[oa>>2]=-1;c[pa>>2]=0;c[qa>>2]=0;f=ob[c[w>>2]&255](v,za,oa,pa,qa,ya)|0;o:do switch(f|0){case 0:{f=c[ya>>2]|0;if((f|0)<(n|0)){r=1;o=u;f=0;g=t;k=s}else{if(!q){o=c[pa>>2]|0;g=B-o|0;p=c[H>>2]|0;o=D+o|0;p:do if((t|0)==0&(s|0)==0){p=0;s=0}else{f=0;while(1){Ba=Rt(1,0,f|0)|0;if((Ba&t|0)==0&(z&s|0)==0)f=f+1|0;else{k=0;break}}while(1){Ba=Rt(1,0,I-k|0)|0;if((Ba&t|0)==0&(z&s|0)==0)k=k+1|0;else break}Ba=f-k|0;q=(Ba|0)/2|0;if((Ba|0)<=1){p=t;break}c[ta>>2]=0;k=c[y>>2]|0;r=c[k>>2]|0;c[sa>>2]=0;f=mb[c[r+12>>2]&255](k,o,g,sa)|0;q:do if(!f){c[c[sa>>2]>>2]=k;do if((c[r>>2]|0)>0){f=kb[c[r+24>>2]&255](c[sa>>2]|0,p)|0;if(!f)break;jb[c[r+16>>2]&255](c[sa>>2]|0)|0;c[sa>>2]=0;ga=186;break q}while(0);o=c[sa>>2]|0;k=q+ha|0;g=r+20|0;while(1){if((c[ta>>2]|0)>=(k|0)){ga=188;break}c[ua>>2]=0;c[va>>2]=0;c[xa>>2]=0;f=ob[c[g>>2]&255](o,sa,ua,va,xa,ta)|0;if(f|0){ga=190;break}}if((ga|0)==188){ga=0;jb[c[r+16>>2]&255](o)|0;f=0}else if((ga|0)==190){ga=0;jb[c[r+16>>2]&255](o)|0;if((f|0)==101)f=1;else break}Ba=f-ha+(c[ta>>2]|0)|0;fa=(Ba|0)>0;p=Qt(t|0,s|0,(fa?Ba:0)|0)|0;n=(fa?Ba:0)+n|0;s=z;break p}else ga=186;while(0);if((ga|0)==186)ga=0;r=1;o=u;q=1;g=t;k=s;break o}while(0);do if(x|(n|0)>0){f=As(na)|0;if((j+1+f|0)>=(i|0)){g=i+100+f|0;if(Nc()|0){r=1;o=u;q=1;f=7;g=p;k=s;break o}k=Oc(m,(g|0)>0?g:0,0)|0;if(!k){r=1;o=u;q=1;f=7;g=p;k=s;break o}else{m=k;i=g}}Tt(m+j|0,na|0,f|0)|0;ga=205}else{f=c[pa>>2]|0;if(!f)break;if((f|0)<0)f=As(D)|0;if((j+1+f|0)>=(i|0)){g=i+100+f|0;if(Nc()|0){r=1;o=u;q=1;f=7;g=p;k=s;break o}k=Oc(m,(g|0)>0?g:0,0)|0;if(!k){r=1;o=u;q=1;f=7;g=p;k=s;break o}else{m=k;i=g}}Tt(m+j|0,D|0,f|0)|0;ga=205}while(0);if((ga|0)==205){ga=0;j=f+j|0;a[m+j>>0]=0}f=c[ya>>2]|0;if((f|0)<(n|0)){r=1;o=u;q=1;f=0;g=p;k=s;break o}else{q=1;t=p}}if((f|0)>=(n+ha|0)){if(!C){r=0;o=u;f=0;g=t;k=s;break o}g=As(na)|0;if((j+1+g|0)>=(i|0)){k=i+100+g|0;if(Nc()|0){r=0;o=u;f=7;g=t;k=s;break o}f=Oc(m,(k|0)>0?k:0,0)|0;if(!f){r=0;o=u;f=7;g=t;k=s;break o}else{m=f;i=k}}Tt(m+j|0,na|0,g|0)|0;j=g+j|0;a[m+j>>0]=0;r=0;o=u;f=0;g=t;k=s;break o}p=Rt(1,0,f-n|0)|0;p=(p&t|0)!=0|(z&s|0)!=0;do if((f|0)>(n|0)){o=D+u|0;f=(c[pa>>2]|0)-u|0;if((f|0)<0)f=As(o)|0;if((j+1+f|0)>=(i|0)){g=i+100+f|0;if(Nc()|0){f=7;break}k=Oc(m,(g|0)>0?g:0,0)|0;if(!k){f=7;break}else{m=k;i=g}}Tt(m+j|0,o|0,f|0)|0;j=f+j|0;a[m+j>>0]=0;ga=220}else ga=220;while(0);do if((ga|0)==220){ga=0;if(p){g=As(la)|0;if((j+1+g|0)>=(i|0)){k=i+100+g|0;if(Nc()|0){f=7;break}f=Oc(m,(k|0)>0?k:0,0)|0;if(!f){f=7;break}else{m=f;i=k}}Tt(m+j|0,la|0,g|0)|0;j=g+j|0;a[m+j>>0]=0}f=c[pa>>2]|0;o=D+f|0;f=(c[qa>>2]|0)-f|0;if((f|0)<0)f=As(o)|0;if((j+1+f|0)>=(i|0)){g=i+100+f|0;if(Nc()|0){f=7;break}k=Oc(m,(g|0)>0?g:0,0)|0;if(!k){f=7;break}else{m=k;i=g}}Tt(m+j|0,o|0,f|0)|0;j=f+j|0;a[m+j>>0]=0;if(!p){f=0;break}g=As(ma)|0;if((j+1+g|0)>=(i|0)){k=i+100+g|0;if(Nc()|0){f=7;break}f=Oc(m,(k|0)>0?k:0,0)|0;if(!f){f=7;break}else{m=f;i=k}}Tt(m+j|0,ma|0,g|0)|0;j=g+j|0;a[m+j>>0]=0;f=0}while(0);r=1;o=c[qa>>2]|0;g=t;k=s}break}case 101:{g=D+u|0;o=As(g)|0;if((j+1+o|0)>=(i|0)){k=i+100+o|0;if(Nc()|0){r=0;o=u;f=7;g=t;k=s;break o}f=Oc(m,(k|0)>0?k:0,0)|0;if(!f){r=0;o=u;f=7;g=t;k=s;break o}else{m=f;i=k}}Tt(m+j|0,g|0,o|0)|0;j=o+j|0;a[m+j>>0]=0;r=0;o=u;f=0;g=t;k=s;break}default:{r=0;o=u;g=t;k=s}}while(0);if(r&(f|0)==0){u=o;t=g;s=k}else break}jb[c[A+16>>2]&255](v)|0}E=E+1|0;if(!((E|0)<(ia|0)&(f|0)==0))break n;else r=i}if((ga|0)==167){jb[c[A+16>>2]&255](c[sa>>2]|0)|0;c[sa>>2]=0;f=wa}}else m=0;while(0);i=ka+248|0;j=c[i>>2]|0;do if(j|0){k=c[j+20>>2]|0;Qh(c[j+16>>2]|0)|0;if(k|0){if(c[k+464>>2]|0){Lc(k,j);break}Ba=j;if(Ba>>>0>=(c[k+296>>2]|0)>>>0?Ba>>>0<(c[k+300>>2]|0)>>>0:0){Ba=k+292|0;c[j>>2]=c[Ba>>2];c[Ba>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{Ba=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-Ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[i>>2]=0;if(!f){if((Ve(c[d>>2]|0,m,-1,1,148)|0)!=18)break;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;break}c[d+20>>2]=f;a[d+25>>0]=1;i=c[d>>2]|0;if(b[i+8>>1]&1){if((f|0)!=516){f=f&255;if(f>>>0<27?(117374971>>>f&1|0)!=0:0)f=c[4068+(f<<2)>>2]|0;else f=21499}else f=21513;Ve(i,f,-1,1,0)|0}if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{Ba=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-Ba;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);l=Aa;return}f=c[d>>2]|0;i=f+8|0;if(!(b[i>>1]&9312))b[i>>1]=1;else{Ye(f);f=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;f=c[f+32>>2]|0;i=f+73|0;if(a[i>>0]|0){l=Aa;return}if(a[f+74>>0]|0){l=Aa;return}a[i>>0]=1;if((c[f+172>>2]|0)>0)c[f+256>>2]=1;Ba=f+264|0;c[Ba>>2]=(c[Ba>>2]|0)+1;l=Aa;return}function tq(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0;R=l;l=l+144|0;L=R+32|0;F=R+80|0;G=R+68|0;O=R;H=R+64|0;I=R+60|0;J=R+56|0;K=R+52|0;f=R+48|0;if(wq(d,39600,c[g>>2]|0,f)|0){l=R;return}g=c[f>>2]|0;if(Jq(d,g)|0){l=R;return}Q=c[g>>2]|0;C=Q+36|0;h=c[c[C>>2]>>2]|0;D=g+16|0;f=c[D>>2]|0;a:do if(!f){if((Ve(c[d>>2]|0,47328,0,1,0)|0)==18){c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0}}else{c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[O+12>>2]=0;c[O+16>>2]=0;c[O+20>>2]=0;c[O+24>>2]=0;c[O+28>>2]=0;k=G+4|0;c[k>>2]=0;c[k+4>>2]=0;c[G>>2]=g;c[F>>2]=0;k=yq(f,F,155,G)|0;B=c[G+8>>2]|0;b:do if(!k){A=Fd(B*12|0)|0;E=O+24|0;c[E>>2]=A;if(A){z=g+32|0;A=c[z+4>>2]|0;x=O+16|0;c[x>>2]=c[z>>2];c[x+4>>2]=A;c[O>>2]=g;x=Q+24|0;if((c[x>>2]|0)>0){y=O+4|0;z=O+8|0;A=g+12|0;t=g+20|0;u=h+20|0;v=(B|0)>0;w=Q+40|0;s=h+16|0;k=0;r=0;j=0;i=0;n=0;while(1){c[H>>2]=0;c[I>>2]=0;c[J>>2]=0;c[K>>2]=0;c[y>>2]=r;c[z>>2]=0;q=c[D>>2]|0;c[F>>2]=0;yq(q,F,157,O)|0;q=r;r=r+1|0;f=fl(c[A>>2]|0,r)|0;m=Ao(c[A>>2]|0,r)|0;if(!f){m=c[A>>2]|0;if(!m)f=1;else{f=c[m+104>>2]|0;if((f|0)!=0?(e[m+140>>1]|0)>>>0>r>>>0:0){f=f+(r*40|0)|0;g=m}else{f=c[m>>2]|0;c[f+56>>2]=25;dg(f,25);f=424;g=m}f=b[f+8>>1]&31;h=c[g>>2]|0;m=m+40|0;g=c[m>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[m>>2]=g}f=(-1431655766>>>f&1|0)!=0;g=f?5:2;k=f?k:7;f=n}else{g=c[C>>2]|0;h=c[t>>2]|0;k=c[g>>2]|0;c[F>>2]=0;f=mb[c[k+12>>2]&255](g,f,m,F)|0;if(f|0)break;c[c[F>>2]>>2]=g;if((c[k>>2]|0)>0?(M=kb[c[k+24>>2]&255](c[F>>2]|0,h)|0,M|0):0){P=25;break}p=c[F>>2]|0;k=ob[c[u>>2]&255](p,G,H,I,J,K)|0;c:do if(v){f=n;d:while(1){while(1){switch(k|0){case 101:break d;case 0:break;default:break c}n=c[E>>2]|0;h=0;k=2147483647;m=0;while(1){g=n+(m*12|0)|0;if(!(c[g>>2]|0))o=k;else{o=(c[n+(m*12|0)+4>>2]|0)-(c[n+(m*12|0)+8>>2]|0)|0;S=(o|0)<(k|0);h=S?g:h;o=S?o:k}m=m+1|0;if((m|0)==(B|0))break;else k=o}if(!h){k=101;continue}m=c[h>>2]|0;k=a[m>>0]|0;if((k&255)<2)c[h>>2]=0;else{n=h+4|0;g=k&255;do if(!(g&128))k=1;else{S=a[m+1>>0]<<7;g=S|k&127;if(!(S&16384)){k=2;break}S=a[m+2>>0]<<14;g=S|g&16383;if(!(S&2097152)){k=3;break}S=a[m+3>>0]<<21;g=S|g&2097151;if(!(S&268435456)){k=4;break}g=(a[m+4>>0]&7)<<28|g&268435455;k=5}while(0);c[h>>2]=m+k;c[n>>2]=g+-2+(c[n>>2]|0)}if((c[K>>2]|0)>=(o|0))break;do{k=ob[c[u>>2]&255](p,G,H,I,J,K)|0;g=(k|0)==0}while(g&(c[K>>2]|0)<(o|0));if(g)break;if((k|0)!=101)continue;k=(c[w>>2]|0)==0?267:101}o=(h-(c[E>>2]|0)|0)/12|0;S=c[I>>2]|0;h=(c[J>>2]|0)-S|0;c[L>>2]=q;c[L+4>>2]=o;c[L+8>>2]=S;c[L+12>>2]=h;wd(64,F,41321,L)|0;h=As(F)|0;if((i+1+h|0)>=(f|0)){g=f+100+h|0;if((Nc()|0)==0?(N=Oc(j,(g|0)>0?g:0,0)|0,(N|0)!=0):0){j=N;f=g;P=52}else k=7}else P=52;if((P|0)==52){P=0;Tt(j+i|0,F|0,h|0)|0;i=h+i|0;a[j+i>>0]=0;k=0}}k=0}else{e:while(1)switch(k|0){case 0:{k=101;break}case 101:break e;default:{f=n;break c}}k=0;f=n}while(0);jb[c[s>>2]&255](p)|0;g=(k|0)==0?0:2}switch(g&7){case 2:{f=E;break b}case 5:case 0:break;default:break a}if((r|0)>=(c[x>>2]|0)){f=E;break b}else n=f}if((P|0)==25){jb[c[k+16>>2]&255](c[F>>2]|0)|0;c[F>>2]=0;f=M}k=f;f=E}else{k=0;f=E;j=0;i=0}}else{k=7;f=E;j=0;i=0}}else{f=O+24|0;j=0;i=0}while(0);f=c[f>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{S=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);f=Q+248|0;g=c[f>>2]|0;do if(g|0){h=c[g+20>>2]|0;Qh(c[g+16>>2]|0)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}S=g;if(S>>>0>=(c[h+296>>2]|0)>>>0?S>>>0<(c[h+300>>2]|0)>>>0:0){S=h+292|0;c[g>>2]=c[S>>2];c[S>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{S=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[f>>2]=0;if(!k){if((Ve(c[d>>2]|0,j,i+-1|0,1,148)|0)!=18)break;c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;break}c[d+20>>2]=k;a[d+25>>0]=1;g=c[d>>2]|0;if(b[g+8>>1]&1){if((k|0)!=516){f=k&255;if(f>>>0<27?(117374971>>>f&1|0)!=0:0)f=c[4068+(f<<2)>>2]|0;else f=21499}else f=21513;Ve(g,f,-1,1,0)|0}if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{S=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);l=R;return}function uq(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0;i=l;l=l+16|0;e=i;if(wq(d,31384,c[f>>2]|0,e)|0){l=i;return}h=c[c[e>>2]>>2]|0;g=h+12|0;e=bl(c[g>>2]|0,41177,0,0,0)|0;a:do if(!e){e=Yq(h,1)|0;f=c[g>>2]|0;switch(e|0){case 0:case 101:{g=bl(f,41192,0,0,0)|0;e=(g|0)==0?e:g;break a}default:{bl(f,41205,0,0,0)|0;bl(c[g>>2]|0,41192,0,0,0)|0;break a}}}while(0);f=h+248|0;g=c[f>>2]|0;do if(g|0){h=c[g+20>>2]|0;Qh(c[g+16>>2]|0)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}j=g;if(j>>>0>=(c[h+296>>2]|0)>>>0?j>>>0<(c[h+300>>2]|0)>>>0:0){j=h+292|0;c[g>>2]=c[j>>2];c[j>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[f>>2]=0;switch(e|0){case 0:{if((Ve(c[d>>2]|0,41222,-1,1,0)|0)!=18){l=i;return}c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;l=i;return}case 101:{if((Ve(c[d>>2]|0,41238,-1,1,0)|0)!=18){l=i;return}c[d+20>>2]=18;a[d+25>>0]=1;Ve(c[d>>2]|0,18992,-1,1,0)|0;l=i;return}default:{c[d+20>>2]=e;a[d+25>>0]=1;f=c[d>>2]|0;if(!(b[f+8>>1]&1)){l=i;return}if((e|0)!=516){e=e&255;if(e>>>0<27?(117374971>>>e&1|0)!=0:0)e=c[4068+(e<<2)>>2]|0;else e=21499}else e=21513;Ve(f,e,-1,1,0)|0;l=i;return}}}function vq(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0;Z=l;l=l+80|0;V=Z+40|0;q=Z+32|0;W=Z+72|0;S=Z+60|0;T=Z+56|0;X=Z+52|0;U=Z;j=Z+48|0;if(wq(f,39608,c[h>>2]|0,j)|0){l=Z;return}do if((g|0)>1?(i=c[h+4>>2]|0,(i|0)!=0):0){g=e[i+8>>1]|0;if((g&514|0)==514?(a[i+10>>0]|0)==1:0){g=c[i+16>>2]|0;break}if(!(g&1))g=Jc(i,1)|0;else g=0}else g=0;while(0);Q=c[j>>2]|0;Y=c[Q>>2]|0;L=(g|0)==0?41025:g;M=Q+16|0;g=c[M>>2]|0;if(!g){if((Ve(c[f>>2]|0,47328,0,0,0)|0)!=18){l=Z;return}c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0;l=Z;return}N=U+8|0;c[N>>2]=0;c[N+4>>2]=0;c[N+8>>2]=0;c[N+12>>2]=0;c[N+16>>2]=0;c[N+20>>2]=0;c[U>>2]=Q;P=U+4|0;c[P>>2]=c[Y+24>>2];R=Q+92|0;h=c[R>>2]|0;if(h)if(!(Ls(c[h+12>>2]|0,L)|0)){k=0;s=40}else{a[h>>0]=0;do if((a[h+1>>0]|0)==0?(a[h+2>>0]|0)==0:0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{K=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-K;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[R>>2]=0;g=c[M>>2]|0;s=20}else s=20;a:do if((s|0)==20){c[S>>2]=0;c[W>>2]=0;yq(g,W,158,S)|0;h=c[S>>2]|0;c[Q+24>>2]=h;c[N>>2]=h;g=a[L>>0]|0;b:do if(!(g<<24>>24))g=0;else{n=c[P>>2]|0;o=O(h*3|0,n)|0;p=O(n,h)|0;j=O((n+31|0)/32|0,h)|0;k=Y+232|0;m=Y+234|0;i=0;h=0;c:while(1){c[W>>2]=0;switch(g<<24>>24){case 98:case 121:case 120:case 115:case 99:case 112:break;case 110:{if(!(a[k>>0]|0)){g=110;break c}break}case 97:{if(!(a[k>>0]|0)){g=97;break c}break}case 108:{if(!(a[m>>0]|0)){g=108;break c}break}default:break c}switch(g<<24>>24|0){case 99:case 112:case 110:{g=1;break}case 115:case 108:case 97:{g=n;break}case 121:{g=p;break}case 98:{g=j;break}default:g=o}h=g+h|0;i=i+1|0;g=a[L+i>>0]|0;if(!(g<<24>>24)){g=h;break b}}c[q>>2]=g<<24>>24;Bp(W,41029,q);g=c[W>>2]|0;c[f+20>>2]=1;a[f+25>>0]=1;Ve(c[f>>2]|0,g,-1,1,-1)|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{f=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);break a}while(0);j=g<<3|4;h=j+20|0;i=As(L)|0;j=Fd(i+21+j|0)|0;if(!j){c[R>>2]=0;c[Q+88>>2]=1;j=0;g=7;i=0;s=247;break}else{Vt(j|0,0,h|0)|0;s=j+16|0;c[s>>2]=20;k=g+1|0;c[s+(k<<2)>>2]=(k<<2)+20;c[j+4>>2]=g;k=j+h|0;c[j+12>>2]=k;Tt(k|0,L|0,i+1|0)|0;a[j>>0]=1;c[R>>2]=j;c[Q+88>>2]=1;k=1;h=j;s=40;break}}while(0);d:do if((s|0)==40){g=h+1|0;do if(a[g>>0]|0){g=h+2|0;j=h+4|0;i=c[j>>2]|0;if(!(a[g>>0]|0)){a[g>>0]=1;K=h+16+(i+2<<2)|0;j=154;break}g=Fd(i<<2)|0;if(!g){j=0;g=7;i=0;s=247;break d}if(!(c[h+8>>2]|0)){K=g;j=148}else{Tt(g|0,h+20|0,c[j>>2]<<2|0)|0;K=g;j=148}}else{a[g>>0]=1;K=h+20|0;j=154}while(0);i=K;E=U+28|0;c[E>>2]=i;F=Q+24|0;c[N>>2]=c[F>>2];c[T>>2]=0;G=c[Q>>2]|0;c[X>>2]=0;H=U+24|0;I=S+4|0;J=(k|0)==0;v=Q+28|0;w=U+16|0;x=Q+32|0;y=G+140|0;A=G+16|0;B=G+20|0;C=G+12|0;D=S+4|0;u=0;k=K;g=0;while(1){t=L+u|0;h=a[t>>0]|0;if(!(h<<24>>24))break;a[H>>0]=h;e:do switch(h<<24>>24|0){case 112:{if(J)m=0;else{c[k>>2]=c[N>>2];m=0}break}case 99:{if(J)m=0;else{c[k>>2]=c[P>>2];m=0}break}case 110:{if(J)m=0;else{g=c[X>>2]|0;if(!g){g=Aq(G,X)|0;if(!g){g=c[X>>2]|0;if(!g){m=ff(424)|0;s=67}else s=58}else k=0}else s=58;if((s|0)==58){h=c[g+104>>2]|0;if((h|0)!=0?(b[g+140>>1]|0)!=0:0)k=g;else{h=c[g>>2]|0;c[h+56>>2]=25;dg(h,25);h=424;k=g}m=ff(h)|0;h=c[k>>2]|0;k=g+40|0;g=c[k>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[k>>2]=g;s=67}if((s|0)==67){s=0;g=a[m>>0]|0;h=g&255;do if(!(h&128)){g=g&255;h=0}else{r=d[m+1>>0]<<7;g=r|h&127;if(!(r&16384)){h=0;break}r=d[m+2>>0]<<14;g=r|g&16383;if(!(r&2097152)){h=0;break}r=d[m+3>>0]<<21;g=r|g&2097151;if(!(r&268435456)){h=0;break}n=28;k=m+4|0;g=g&268435455;h=0;while(1){r=d[k>>0]|0;q=Rt(r&127|0,0,n|0)|0;g=Ft(q|0,z|0,g|0,h|0)|0;h=z;n=n+7|0;if(!((n|0)<64&((r&128|0)!=0|0!=0)))break;else k=k+1|0}}while(0);k=g;g=(g|0)==0&(h|0)==0?267:0}c[T>>2]=g;c[c[E>>2]>>2]=k;m=g}break}case 97:{if(J)m=0;else{g=c[X>>2]|0;if(!g){g=Aq(G,X)|0;if(!g){g=c[X>>2]|0;if(!g){n=ff(424)|0;s=92}else s=83}}else s=83;if((s|0)==83){h=c[g+104>>2]|0;if((h|0)!=0?(b[g+140>>1]|0)!=0:0)k=g;else{h=c[g>>2]|0;c[h+56>>2]=25;dg(h,25);h=424;k=g}m=ff(h)|0;h=c[k>>2]|0;k=g+40|0;g=c[k>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[k>>2]=g;n=m;s=92}if((s|0)==92){s=0;h=a[n>>0]|0;g=h&255;do if(!(g&128)){k=1;g=h&255;h=0}else{r=d[n+1>>0]<<7;g=r|g&127;if(!(r&16384)){k=2;h=0;break}r=d[n+2>>0]<<14;g=r|g&16383;if(!(r&2097152)){k=3;h=0;break}r=d[n+3>>0]<<21;g=r|g&2097151;if(!(r&268435456)){k=4;h=0;break}k=28;m=n+4|0;g=g&268435455;h=0;do{r=m;m=m+1|0;r=d[r>>0]|0;q=Rt(r&127|0,0,k|0)|0;g=Ft(q|0,z|0,g|0,h|0)|0;h=z;k=k+7|0}while((k|0)<64&((r&128|0)!=0|0!=0));k=m-n|0}while(0);if((g|0)==0&(h|0)==0)g=267;else{c[T>>2]=0;if((c[P>>2]|0)<=0){m=0;g=0;break e}q=Qt(g|0,0,1)|0;r=z;p=0;o=n+k|0;while(1){k=a[o>>0]|0;h=k&255;do if(!(h&128)){m=1;h=k&255}else{n=d[o+1>>0]<<7;h=n|h&127;if(!(n&16384)){m=2;break}n=d[o+2>>0]<<14;h=n|h&16383;if(!(n&2097152)){m=3;break}n=d[o+3>>0]<<21;h=n|h&2097151;if(!(n&268435456)){m=4;break}m=28;n=o+4|0;h=h&268435455;k=0;do{_=n;n=n+1|0;_=d[_>>0]|0;$=Rt(_&127|0,0,m|0)|0;h=Ft($|0,z|0,h|0,k|0)|0;k=z;m=m+7|0}while((m|0)<64&((_&128|0)!=0|0!=0));m=n-o|0}while(0);$=Ft(h|0,0,q|0,r|0)|0;$=Nt($|0,z|0,g|0,0)|0;c[(c[E>>2]|0)+(p<<2)>>2]=$;p=p+1|0;if((p|0)>=(c[P>>2]|0)){m=0;g=0;break e}else o=o+m|0}}}c[T>>2]=g;m=g}break}case 108:{n=x;m=c[n>>2]|0;n=c[n+4>>2]|0;$=c[y>>2]|0;c[W>>2]=$;h=$;do if(!$){k=c[B>>2]|0;c[V>>2]=c[A>>2];c[V+4>>2]=k;k=xd(41064,V)|0;if(!k){g=7;s=149;break}g=si(c[C>>2]|0,k,-1,129,0,W,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{$=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}h=c[W>>2]|0;c[y>>2]=h;if(!g)s=127;else s=149}else s=127;while(0);f:do if((s|0)==127){s=0;q=h;do if(!(Ho(q,1)|0)){g=c[q+116>>2]|0;k=g+8|0;if(!(b[k>>1]&9312)){$=g;c[$>>2]=m;c[$+4>>2]=n;b[k>>1]=4;break}else{Xe(g,m,n);break}}while(0);g=(h|0)==0;if((qi(q)|0)==100){if(!g){o=q+104|0;g=c[o>>2]|0;if((g|0)!=0?(b[q+140>>1]|0)!=0:0){k=g;g=q}else{k=c[q>>2]|0;c[k+56>>2]=25;dg(k,25);k=424;g=q}n=b[k+8>>1]&15;k=c[g>>2]|0;p=q+40|0;m=c[p>>2]|0;if((m|0)==3082|(a[k+73>>0]|0)!=0){Th(k);k=7}else k=c[k+60>>2]&m;c[p>>2]=k;if((n|16)<<16>>16==16){c[T>>2]=0;g=c[o>>2]|0;do if(!g)s=153;else{if(!(b[q+140>>1]|0)){s=153;break}k=q}while(0);if((s|0)==153){s=0;g=c[q>>2]|0;c[g+56>>2]=25;dg(g,25);g=424;k=q}m=ff(g)|0;g=c[k>>2]|0;k=c[p>>2]|0;if((k|0)==3082|(a[g+73>>0]|0)!=0){Th(g);g=7}else g=c[g+60>>2]&k;c[p>>2]=g;if((c[P>>2]|0)>0){o=m;p=0}else{g=0;break}while(1){g=d[o>>0]|0;do if(!(g&128))k=1;else{$=d[o+1>>0]<<7;g=$|g&127;if(!($&16384)){k=2;break}$=d[o+2>>0]<<14;g=$|g&16383;if(!($&2097152)){k=3;break}$=d[o+3>>0]<<21;g=$|g&2097151;if(!($&268435456)){k=4;break}m=28;n=o+4|0;g=g&268435455;k=0;while(1){$=n;n=n+1|0;$=d[$>>0]|0;_=Rt($&127|0,0,m|0)|0;g=Ft(_|0,z|0,g|0,k|0)|0;m=m+7|0;if(!((m|0)<64&(($&128|0)!=0|0!=0)))break;else k=z}k=n-o|0}while(0);c[(c[E>>2]|0)+(p<<2)>>2]=g;p=p+1|0;if((p|0)>=(c[P>>2]|0)){g=0;s=166;break f}else o=o+k|0}}else s=143}}else if(!g){g=q;s=143}do if((s|0)==143){g=c[g>>2]|0;$=q+128|0;_=c[$+4>>2]|0;if((_|0)>0|(_|0)==0&(c[$>>2]|0)>>>0>0)Rh(g,q);h=Sh(q)|0;c[q+20>>2]=770837923;c[q+36>>2]=-1;c[q+40>>2]=0;a[q+142>>0]=2;c[q+44>>2]=0;c[q+32>>2]=1;a[q+143>>0]=-1;c[q+48>>2]=0;$=q+64|0;c[$>>2]=0;c[$+4>>2]=0;if(!((h|0)==3082|(a[g+73>>0]|0)!=0)){g=c[g+60>>2]&h;if(!g)break;else{h=0;s=149;break f}}else{Th(g);g=7;h=0;s=149;break f}}while(0);g=267;h=0;s=149}while(0);if((s|0)==149){c[T>>2]=g;s=166}if((s|0)==166){s=0;if(!h){m=g;break e}}k=c[h>>2]|0;$=h+128|0;_=c[$+4>>2]|0;if((_|0)>0|(_|0)==0&(c[$>>2]|0)>>>0>0)Rh(k,h);$=Sh(h)|0;c[h+20>>2]=770837923;c[h+36>>2]=-1;c[h+40>>2]=0;a[h+142>>0]=2;c[h+44>>2]=0;c[h+32>>2]=1;a[h+143>>0]=-1;c[h+48>>2]=0;_=h+64|0;c[_>>2]=0;c[_+4>>2]=0;if(($|0)==3082|(a[k+73>>0]|0)!=0){Th(k);m=g}else m=g;break}case 115:{g=D;c[g>>2]=0;c[g+4>>2]=0;c[S>>2]=Q;g=c[M>>2]|0;c[W>>2]=0;g=yq(g,W,155,S)|0;c[T>>2]=g;if(!g){r=Fd(c[F>>2]<<4)|0;g:do if(r){Vt(r|0,0,c[F>>2]<<4|0)|0;g=c[M>>2]|0;c[W>>2]=0;yq(g,W,159,r)|0;g=c[N>>2]|0;if((g|0)>0){h=0;k=0;do{h=h-(c[(c[(c[r+(k<<4)>>2]|0)+20>>2]|0)+64>>2]|0)|0;c[r+(k<<4)+4>>2]=h;k=k+1|0}while((k|0)!=(g|0))}h:do if((c[P>>2]|0)>0){q=0;while(1){i:do if((g|0)>0){h=0;n=0;do{k=r+(n<<4)|0;m=r+(n<<4)+8|0;g=Dq(Q,c[k>>2]|0,q,m)|0;if(g|0)break g;if(c[m>>2]|0){c[r+(n<<4)+12>>2]=c[r+(n<<4)+4>>2];Eq(k)|0;h=h+1|0}n=n+1|0;k=c[N>>2]|0}while((n|0)<(k|0));if((h|0)>0){g=0;p=k;while(1){if((p|0)>0){m=0;k=0;o=0;do{n=r+(o<<4)|0;if(!(c[r+(o<<4)+8>>2]|0))m=0;else{if(!((k|0)!=0?(c[r+(o<<4)+12>>2]|0)>=(c[k+12>>2]|0):0))k=n;if((m|0)!=0?(c[r+(o<<4)+12>>2]|0)!=(c[n+-16+12>>2]|0):0)m=1;else m=m+1|0;g=(m|0)>(g|0)?m:g}o=o+1|0}while((o|0)!=(p|0))}else k=0;h=(((Eq(k)|0)!=0)<<31>>31)+h|0;if((h|0)<=0)break i;p=c[N>>2]|0}}else g=0}else g=0;while(0);c[(c[E>>2]|0)+(q<<2)>>2]=g;g=q+1|0;if((g|0)>=(c[P>>2]|0))break h;q=g;g=c[N>>2]|0}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);g=0;break}else{g=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);g=0;break}}else g=7;while(0);c[T>>2]=g;m=g}else m=g;break}case 98:{h=O(((c[P>>2]|0)+31|0)/32|0,c[N>>2]|0)|0;s=202;break}case 121:{h=O(c[N>>2]|0,c[P>>2]|0)|0;s=202;break}default:{o=c[M>>2]|0;g=I;c[g>>2]=0;c[g+4>>2]=0;c[S>>2]=Q;c[W>>2]=0;g=yq(o,W,155,S)|0;c[T>>2]=g;if(!g){if(!J){do if(c[v>>2]|0){g=c[X>>2]|0;if(!g){g=Aq(G,X)|0;if(!g){g=c[X>>2]|0;if(!g){m=ff(424)|0;s=218}else s=209}}else s=209;if((s|0)==209){h=c[g+104>>2]|0;if((h|0)!=0?(b[g+140>>1]|0)!=0:0)k=g;else{h=c[g>>2]|0;c[h+56>>2]=25;dg(h,25);h=424;k=g}m=ff(h)|0;h=c[k>>2]|0;k=g+40|0;g=c[k>>2]|0;if((g|0)==3082|(a[h+73>>0]|0)!=0){Th(h);g=7}else g=c[h+60>>2]&g;c[k>>2]=g;s=218}if((s|0)==218){s=0;g=a[m>>0]|0;h=g&255;do if(!(h&128)){g=g&255;h=0}else{$=d[m+1>>0]<<7;g=$|h&127;if(!($&16384)){h=0;break}$=d[m+2>>0]<<14;g=$|g&16383;if(!($&2097152)){h=0;break}$=d[m+3>>0]<<21;g=$|g&2097151;if(!($&268435456)){h=0;break}n=28;k=m+4|0;g=g&268435455;h=0;while(1){$=d[k>>0]|0;_=Rt($&127|0,0,n|0)|0;g=Ft(_|0,z|0,g|0,h|0)|0;h=z;n=n+7|0;if(!((n|0)<64&(($&128|0)!=0|0!=0)))break;else k=k+1|0}}while(0);if((g|0)==0&(h|0)==0)g=267;else{$=w;c[$>>2]=g;c[$+4>>2]=0;c[T>>2]=0;break}}c[T>>2]=g;m=g;break e}while(0);c[W>>2]=0;c[T>>2]=yq(o,W,160,U)|0;Hq(Q,T)|0;g=c[T>>2]|0;if(g|0){m=g;break e}}c[W>>2]=0;yq(o,W,161,U)|0;m=0;g=0}else m=g}}while(0);if((s|0)==202){s=0;Vt(k|0,0,h<<2|0)|0;Fq(c[M>>2]|0,U);m=0}switch(a[t>>0]|0){case 99:case 112:case 110:{h=1;break}case 115:case 108:case 97:{h=c[P>>2]|0;break}case 121:{h=O(c[N>>2]|0,c[P>>2]|0)|0;break}case 98:{h=O(((c[P>>2]|0)+31|0)/32|0,c[N>>2]|0)|0;break}default:h=O((c[P>>2]|0)*3|0,c[N>>2]|0)|0}k=(c[E>>2]|0)+(h<<2)|0;c[E>>2]=k;if(m|0)break;else u=u+1|0}h=c[X>>2]|0;if(h|0){k=c[h>>2]|0;$=h+128|0;_=c[$+4>>2]|0;if((_|0)>0|(_|0)==0&(c[$>>2]|0)>>>0>0)Rh(k,h);$=Sh(h)|0;c[h+20>>2]=770837923;c[h+36>>2]=-1;c[h+40>>2]=0;a[h+142>>0]=2;c[h+44>>2]=0;c[h+32>>2]=1;a[h+143>>0]=-1;c[h+48>>2]=0;_=h+64|0;c[_>>2]=0;c[_+4>>2]=0;if(($|0)==3082|(a[k+73>>0]|0)!=0)Th(k)}if(!J){_=c[R>>2]|0;c[_+8>>2]=1;$=c[_+4>>2]|0;Tt(_+16+($+2<<2)|0,_+20|0,$<<2|0)|0}if(!g){if((Ve(c[f>>2]|0,K,c[(c[R>>2]|0)+4>>2]<<2,0,j)|0)==18){c[f+20>>2]=18;a[f+25>>0]=1;Ve(c[f>>2]|0,18992,-1,1,0)|0}}else s=247}while(0);if((s|0)==247){c[f+20>>2]=g;a[f+25>>0]=1;h=c[f>>2]|0;if(b[h+8>>1]&1){if((g|0)!=516){g=g&255;if(g>>>0<27?(117374971>>>g&1|0)!=0:0)g=c[4068+(g<<2)>>2]|0;else g=21499}else g=21513;Ve(h,g,-1,1,0)|0}if(j|0)pb[j&255](i)}g=Y+248|0;h=c[g>>2]|0;do if(h|0){i=c[h+20>>2]|0;Qh(c[h+16>>2]|0)|0;if(i|0){if(c[i+464>>2]|0){Lc(i,h);break}$=h;if($>>>0>=(c[i+296>>2]|0)>>>0?$>>>0<(c[i+300>>2]|0)>>>0:0){$=i+292|0;c[h>>2]=c[$>>2];c[$>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{$=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[g>>2]=0;l=Z;return}function wq(d,e,f,g){d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0;i=l;l=l+16|0;h=i;if(((b[f+8>>1]&-15361)<<16>>16==-32255?(a[f+11>>0]|0)==112:0)?(Ls(c[f>>2]|0,41137)|0)==0:0){f=c[f+16>>2]|0;c[g>>2]=f;if(f|0){d=0;l=i;return d|0}}else c[g>>2]=0;c[h>>2]=e;e=xd(41148,h)|0;c[d+20>>2]=1;a[d+25>>0]=1;Ve(c[d>>2]|0,e,-1,1,-1)|0;if(!e){d=1;l=i;return d|0}if(!(c[2]|0)){pb[c[56>>2]&255](e);d=1;l=i;return d|0}else{d=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);d=1;l=i;return d|0}return 0}function xq(a,b,d){a=a|0;b=b|0;d=d|0;c[d>>2]=(c[d>>2]|0)+1;c[a+36>>2]=b;return 0}function yq(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;f=c[a>>2]|0;a:do if((f|0)!=5){g=a;while(1){a=yq(c[g+12>>2]|0,b,d,e)|0;if(!((f|0)!=2&(a|0)==0))break;a=c[g+16>>2]|0;f=c[a>>2]|0;if((f|0)==5)break a;else g=a}return a|0}while(0);e=lb[d&255](a,c[b>>2]|0,e)|0;c[b>>2]=(c[b>>2]|0)+1;return e|0}function zq(b){b=b|0;var d=0;d=b+(0-(c[b+-4>>2]|0))|0;if((d+16+4|0)==(b|0))a[d+1>>0]=0;else a[d+2>>0]=0;if(a[d>>0]|0)return;if(a[d+1>>0]|0)return;if(a[d+2>>0]|0)return;if(!(c[2]|0)){pb[c[56>>2]&255](d);return}else{b=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);return}}function Aq(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;f=m;h=m+8|0;i=d+144|0;j=c[i>>2]|0;c[h>>2]=j;g=j;if(!j){j=c[d+20>>2]|0;c[f>>2]=c[d+16>>2];c[f+4>>2]=j;f=xd(39981,f)|0;if(!f){k=7;j=g;c[e>>2]=j;l=m;return k|0}d=si(c[d+12>>2]|0,f,-1,129,0,h,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{j=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}f=c[h>>2]|0;c[i>>2]=f;if(!d)i=f;else{k=d;j=f;c[e>>2]=j;l=m;return k|0}}else i=g;j=i;do if(!(Ho(j,1)|0)){f=c[j+116>>2]|0;d=f+8|0;if(!(b[d>>1]&9312)){h=f;c[h>>2]=0;c[h+4>>2]=0;b[d>>1]=4;break}else{Xe(f,0,0);break}}while(0);if((qi(j)|0)==100)if(i){f=c[j+104>>2]|0;if(!((f|0)!=0?(b[j+140>>1]|0)!=0:0)){f=c[j>>2]|0;c[f+56>>2]=25;dg(f,25);f=424}g=b[f+8>>1]&15;f=c[j>>2]|0;h=j+40|0;d=c[h>>2]|0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);f=7}else f=c[f+60>>2]&d;c[h>>2]=f;if((g|16)<<16>>16==16){k=0;j=i;c[e>>2]=j;l=m;return k|0}else k=22}else f=0;else k=22;do if((k|0)==22)if(i){f=c[j>>2]|0;k=j+128|0;i=c[k+4>>2]|0;if((i|0)>0|(i|0)==0&(c[k>>2]|0)>>>0>0)Rh(f,j);d=Sh(j)|0;c[j+20>>2]=770837923;c[j+36>>2]=-1;c[j+40>>2]=0;a[j+142>>0]=2;c[j+44>>2]=0;c[j+32>>2]=1;a[j+143>>0]=-1;c[j+48>>2]=0;k=j+64|0;c[k>>2]=0;c[k+4>>2]=0;if((d|0)==3082|(a[f+73>>0]|0)!=0){Th(f);f=7;break}else{f=c[f+60>>2]&d;break}}else f=0;while(0);k=(f|0)==0?267:f;j=0;c[e>>2]=j;l=m;return k|0}function Bq(a,b,d){a=a|0;b=b|0;d=d|0;b=c[a+20>>2]|0;a=d+4|0;c[a>>2]=(c[a>>2]|0)+1;d=d+8|0;c[d>>2]=(c[d>>2]|0)+(c[b+64>>2]|0);return 0}function Cq(a,b,d){a=a|0;b=b|0;d=d|0;c[d+(b<<4)>>2]=a;return 0}function Dq(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;K=l;l=l+32|0;J=K+16|0;G=K;p=K+12|0;H=K+20|0;I=K+8|0;E=c[e+20>>2]|0;i=c[b>>2]|0;c[g>>2]=0;F=c[E+68>>2]|0;if(!((F|0)==(f|0)?1:(F|0)>=(c[i+24>>2]|0))){g=0;l=K;return g|0}n=e+24|0;m=c[n>>2]|0;n=c[n+4>>2]|0;h=G;c[h>>2]=m;c[h+4>>2]=n;h=c[E+28>>2]|0;c[J>>2]=h;F=b+32|0;D=F;if(!(((m|0)==(c[D>>2]|0)?(n|0)==(c[D+4>>2]|0):0)?(a[e+32>>0]|0)==0:0))k=4;a:do if((k|0)==4){c[p>>2]=0;C=a[i+235>>0]|0;D=C&255;h=c[e+8>>2]|0;b:do if(h){k=0;i=0;o=e;do{B=c[h>>2]|0;i=(B|0)==4?1:i;o=(B|0)==1?h:o;k=(a[h+32>>0]|0)==0?k:1;h=c[h+8>>2]|0}while((h|0)!=0);if(i){c:do if(c[E+40>>2]|0){j=o+32|0;i=a[j>>0]|0;Qq(b,o,p);h=c[p>>2]|0;if(h|0)break b;e=o+24|0;if(!(i<<24>>24))do{if(a[j>>0]|0){h=0;break c}Rq(b,o,p);B=e;h=c[p>>2]|0}while(((c[B>>2]|0)!=(m|0)?1:(c[B+4>>2]|0)!=(n|0))&(h|0)==0);else while(1){if(a[j>>0]|0){h=0;break c}Rq(b,o,p);h=c[p>>2]|0;if(h|0)break b}}else h=0;while(0);d:do if(!(k<<24>>24!=0&(h|0)==0)){if(h|0)break b;if(!o)k=75;else k=20}else{i=o+32|0;while(1){if(a[i>>0]|0){k=20;break d}Rq(b,o,p);h=c[p>>2]|0;if(h|0)break b}}while(0);if((k|0)==20){y=b+52|0;B=C<<24>>24!=0;A=B?-1:1;B=B?-1:0;x=1;while(1){a[H>>0]=0;if((c[o>>2]|0)==1)h=c[o+16>>2]|0;else h=o;u=c[h+20>>2]|0;v=u+48|0;e=c[v>>2]|0;c[J>>2]=e;w=u+56|0;b=w;j=c[b>>2]|0;b=c[b+4>>2]|0;k=G;c[k>>2]=j;c[k+4>>2]=b;k=u+4|0;t=c[k>>2]|0;h=(t|0)!=0;i=e;e:do if((a[y>>0]|0)==C<<24>>24){if(h)h=i>>>0>=((c[u>>2]|0)+t|0)>>>0;else h=1;h=h&1;a[H>>0]=h;q=h;m=i;n=j;s=b;k=h;i=j;j=b;while(1){if(!m)if(!(q<<24>>24))q=0;else{k=70;break e}else{r=F;r=Gt(n|0,s|0,c[r>>2]|0,c[r+4>>2]|0)|0;Lt(r|0,z|0,A|0,B|0)|0;if(!(k<<24>>24==0&(z|0)<0)){k=70;break e}}b=c[u>>2]|0;f:do if(!m){m=b;i=a[b>>0]|0;e=i&255;do if(!(e&128)){m=i&255;e=G;c[e>>2]=m;c[e+4>>2]=0;e=1;k=0}else{s=d[b+1>>0]<<7;i=s|e&127;if(!(s&16384)){e=G;c[e>>2]=i;c[e+4>>2]=0;e=2;m=i;k=0;break}s=d[b+2>>0]<<14;i=s|i&16383;if(!(s&2097152)){e=G;c[e>>2]=i;c[e+4>>2]=0;e=3;m=i;k=0;break}s=d[b+3>>0]<<21;i=s|i&2097151;if(!(s&268435456)){e=G;c[e>>2]=i;c[e+4>>2]=0;e=4;m=i;k=0;break}e=28;j=b+4|0;i=i&268435455;k=0;do{s=j;j=j+1|0;s=d[s>>0]|0;r=Rt(s&127|0,0,e|0)|0;i=Ft(r|0,z|0,i|0,k|0)|0;k=z;e=e+7|0}while((e|0)<64&((s&128|0)!=0|0!=0));e=G;c[e>>2]=i;c[e+4>>2]=k;e=j-m|0;m=i}while(0);p=b+e|0;i=m;j=k;b=0;n=m;e=k}else{e=0;while(1){k=a[m>>0]|0;m=m+1|0;if(!(k|e<<24>>24))break;else e=k&128}e=m;b=b+t|0;g:do if(m>>>0>>0){r=m;p=e;while(1){k=a[r>>0]|0;if(k<<24>>24)break;e=r+1|0;k=e;if(e>>>0>>0){r=e;p=k}else{h=k;break g}}e=k&255;do if(!(e&128)){m=1;e=k&255;k=0}else{s=d[r+1>>0]<<7;e=s|e&127;if(!(s&16384)){m=2;k=0;break}s=d[r+2>>0]<<14;e=s|e&16383;if(!(s&2097152)){m=3;k=0;break}s=d[r+3>>0]<<21;e=s|e&2097151;if(!(s&268435456)){m=4;k=0;break}m=28;n=r+4|0;e=e&268435455;k=0;do{s=n;n=n+1|0;s=d[s>>0]|0;b=Rt(s&127|0,0,m|0)|0;e=Ft(b|0,z|0,e|0,k|0)|0;k=z;m=m+7|0}while((m|0)<64&((s&128|0)!=0|0!=0));m=n-p|0}while(0);n=Lt(e|0,k|0,A|0,B|0)|0;n=Ft(i|0,j|0,n|0,z|0)|0;e=z;p=G;c[p>>2]=n;c[p+4>>2]=e;p=r+m|0;i=n;j=e;b=0;break f}else h=e;while(0);a[H>>0]=1;q=1;p=h;h=1;b=1;e=s}while(0);c[J>>2]=p;m=p;s=e;k=b;e=p}}else{if(h)if(!e)h=0;else h=i>>>0<=(c[u>>2]|0)>>>0;else h=1;a[H>>0]=h&1;h=i;while(1){if(!h){if(a[H>>0]|0)break}else{j=G;i=c[j>>2]|0;j=c[j+4>>2]|0;t=F;t=Gt(i|0,j|0,c[t>>2]|0,c[t+4>>2]|0)|0;t=Lt(t|0,z|0,A|0,B|0)|0;s=z;h=a[H>>0]|0;if(!(h<<24>>24==0&((s|0)>0|(s|0)==0&t>>>0>0))){k=70;break e}}mq(D,c[u>>2]|0,c[k>>2]|0,J,G,I,H);e=c[J>>2]|0;h=e}x=G;u=c[x>>2]|0;x=c[x+4>>2]|0;c[v>>2]=e;k=w;c[k>>2]=u;c[k+4>>2]=x;k=72}while(0);if((k|0)==70){k=0;c[v>>2]=e;c[w>>2]=i;c[w+4>>2]=j;if(h<<24>>24==0?(w=F,(i|0)==(c[w>>2]|0)?(j|0)==(c[w+4>>2]|0):0):0)h=x;else k=72}if((k|0)==72){k=0;h=0}o=c[o+12>>2]|0;if(!o)break;else x=h}if(!h)h=0;else k=75}if((k|0)==75)h=c[E+48>>2]|0;c[J>>2]=h;break a}else h=0}else h=0;while(0);g=h;l=K;return g|0}while(0);if(!h){g=0;l=K;return g|0}if((a[h>>0]|0)==1){j=h+1|0;c[J>>2]=j;i=a[j>>0]|0;e=i&255;if(e&128){I=a[h+2>>0]<<7;i=I|i&127;if(I&16384){I=a[h+3>>0]<<14;i=I|i&16383;if(I&2097152){I=a[h+4>>0]<<21;i=I|i&2097151;if(!(I&268435456)){h=i;i=4}else{h=(a[h+5>>0]&7)<<28|i&268435455;i=5}}else{h=i;i=3}}else{h=i;i=2}}else{h=e;i=1}I=j+i|0;c[J>>2]=I;i=h;h=I}else i=0;e=a[h>>0]|0;h:do if((i|0)<(f|0)){while(1){i=e<<24>>24;if(i&254)do{h=h+1|0;I=i;i=a[h>>0]|0}while((i&254|I&128|0)!=0);c[J>>2]=h;if(!(a[h>>0]|0)){h=0;break}j=h+1|0;c[J>>2]=j;e=a[j>>0]|0;i=e&255;if(i&128){I=a[h+2>>0]<<7;i=I|e&127;if(I&16384){I=a[h+3>>0]<<14;i=I|i&16383;if(I&2097152){I=a[h+4>>0]<<21;i=I|i&2097151;if(!(I&268435456))h=4;else{i=(a[h+5>>0]&7)<<28|i&268435455;h=5}}else h=3}else h=2}else h=1;h=j+h|0;c[J>>2]=h;e=a[h>>0]|0;if((i|0)>=(f|0))break h}l=K;return h|0}while(0);if(!(e<<24>>24)){c[J>>2]=0;h=0}c[g>>2]=(i|0)==(f|0)?h:0;g=0;l=K;return g|0}function Eq(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;i=b+8|0;j=c[i>>2]|0;f=a[j>>0]|0;e=f&255;do if(!(e&128)){h=1;e=f&255;g=0}else{h=(d[j+1>>0]|0)<<7;e=h|e&127;if(!(h&16384)){h=2;g=0;break}h=(d[j+2>>0]|0)<<14;e=h|e&16383;if(!(h&2097152)){h=3;g=0;break}h=(d[j+3>>0]|0)<<21;e=h|e&2097151;if(!(h&268435456)){h=4;g=0;break}f=28;h=j+4|0;e=e&268435455;g=0;do{k=h;h=h+1|0;k=d[k>>0]|0;l=Rt(k&127|0,0,f|0)|0;e=Ft(l|0,z|0,e|0,g|0)|0;g=z;f=f+7|0}while((f|0)<64&((k&128|0)!=0|0!=0));h=h-j|0}while(0);f=b+12|0;if((e|1|0)==1&(g|0)==0){l=1;k=0;c[i>>2]=k;return l|0}l=Ft(e|0,g|0,-2,0)|0;c[f>>2]=(c[f>>2]|0)+l;l=0;k=j+h|0;c[i>>2]=k;return l|0}function Fq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;if(a[b+32>>0]|0)return;while(1){j=b+24|0;f=c[d>>2]|0;k=f+32|0;if(!((c[j>>2]|0)==(c[k>>2]|0)?(c[j+4>>2]|0)==(c[k+4>>2]|0):0)){e=21;break}e=c[b+12>>2]|0;if(!e){e=6;break}Fq(e,d);b=c[b+16>>2]|0;if(a[b+32>>0]|0){e=21;break}}if((e|0)==6){e=c[b+20>>2]|0;g=a[d+24>>0]|0;j=c[d+4>>2]|0;j=O(g<<24>>24==121?j:(j+31|0)/32|0,c[b+36>>2]|0)|0;k=e+68|0;i=(c[f>>2]|0)+24|0;h=d+28|0;b=0;e=c[e+28>>2]|0;while(1){d=a[e>>0]|0;if(!(d&254))f=0;else{f=0;do{e=e+1|0;l=d&128;f=(l>>>7^1)+f|0;d=a[e>>0]|0}while((d&254|l|0)!=0)}l=c[k>>2]|0;do if((l|0)==(b|0)?1:(l|0)>=(c[i>>2]|0)){if(g<<24>>24==121){c[(c[h>>2]|0)+(b+j<<2)>>2]=f;g=121;break}if(f){l=(c[h>>2]|0)+(((b+1|0)/32|0)+j<<2)|0;c[l>>2]=c[l>>2]|1<<(b&31)}}while(0);if((a[e>>0]|0)!=1)break;d=e+1|0;f=a[d>>0]|0;b=f&255;if(b&128){l=a[e+2>>0]<<7;b=l|f&127;if(l&16384){l=a[e+3>>0]<<14;b=l|b&16383;if(l&2097152){l=a[e+4>>0]<<21;b=l|b&2097151;if(!(l&268435456))e=4;else{b=(a[e+5>>0]&7)<<28|b&268435455;e=5}}else e=3}else e=2}else e=1;e=d+e|0}return}else if((e|0)==21)return}function Gq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0;x=l;l=l+16|0;t=x;v=c[e>>2]|0;w=(c[e+28>>2]|0)+((O(d*3|0,c[e+4>>2]|0)|0)<<2)|0;e=c[v>>2]|0;if(a[b+34>>0]|0?(c[c[b+8>>2]>>2]|0)!=1:0){b=e+24|0;if((c[b>>2]|0)<=0){w=0;l=x;return w|0}e=c[v+64>>2]|0;d=0;do{v=d*3|0;c[w+(v+1<<2)>>2]=e;c[w+(v+2<<2)>>2]=e;d=d+1|0}while((d|0)<(c[b>>2]|0));d=0;l=x;return d|0}c[t>>2]=0;u=b+40|0;if(!(c[u>>2]|0)){p=v+32|0;r=p;q=c[r>>2]|0;r=c[r+4>>2]|0;o=b;while(1){d=c[o+8>>2]|0;if(!d)break;if((c[d>>2]|0)==1)o=d;else break}k=o+24|0;n=k;m=c[n>>2]|0;n=c[n+4>>2]|0;i=o+32|0;j=a[i>>0]|0;b=e+24|0;d=o;do{if((c[d>>2]|0)==5)f=d;else f=c[d+16>>2]|0;e=Fd((c[b>>2]|0)*12|0)|0;c[f+40>>2]=e;if(!e){g=15;break}Vt(e|0,0,(c[b>>2]|0)*12|0)|0;d=c[d+12>>2]|0}while((d|0)!=0);if((g|0)==15){w=7;l=x;return w|0}Qq(v,o,t);h=v+6|0;d=c[t>>2]|0;a:do if((a[h>>0]|0)==0&(d|0)==0){e=v+7|0;f=v+12|0;g=v+88|0;do{do{if((a[e>>0]|0)==0?(s=c[f>>2]|0,s|0):0){d=c[s>>2]|0;y=s+128|0;z=c[y+4>>2]|0;if((z|0)>0|(z|0)==0&(c[y>>2]|0)>>>0>0)Rh(d,s);z=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;y=s+64|0;c[y>>2]=0;c[y+4>>2]=0;if((z|0)==3082|(a[d+73>>0]|0)!=0)Th(d)}Rq(v,o,t);z=a[i>>0]|0;a[h>>0]=z;a[e>>0]=1;c[g>>2]=1;A=k;d=c[A+4>>2]|0;y=p;c[y>>2]=c[A>>2];c[y+4>>2]=d;if(z<<24>>24)break;if((c[o>>2]|0)!=1)break}while((Hq(v,t)|0)!=0);d=c[t>>2]|0;if(d|0)break a;if(a[h>>0]|0){d=0;break a}Sq(o);d=c[t>>2]|0}while((d|0)==0&(a[h>>0]|0)==0)}while(0);a[h>>0]=0;A=p;c[A>>2]=q;c[A+4>>2]=r;if(!(j<<24>>24)){Qq(v,o,t);do{Rq(v,o,t);A=k;d=c[t>>2]|0}while(((c[A>>2]|0)!=(m|0)?1:(c[A+4>>2]|0)!=(n|0))&(d|0)==0)}else a[i>>0]=j;if(d){A=d;l=x;return A|0}}else b=e+24|0;if((c[b>>2]|0)<=0){A=0;l=x;return A|0}e=c[u>>2]|0;d=0;do{A=d*3|0;z=A+1|0;c[w+(z<<2)>>2]=c[e+(z<<2)>>2];A=A+2|0;c[w+(A<<2)>>2]=c[e+(A<<2)>>2];d=d+1|0}while((d|0)<(c[b>>2]|0));d=0;l=x;return d|0}function Hq(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=l;l=l+32|0;y=J+24|0;G=J+20|0;A=J+16|0;B=J+12|0;D=J+8|0;E=J+4|0;I=J;e=c[d>>2]|0;c[I>>2]=e;if(e|0){d=0;I=e;I=(I|0)==0;I=d&I;I=I&1;l=J;return I|0}H=b+28|0;if(c[H>>2]|0?(x=Jq(0,b)|0,c[I>>2]=x,(x|0)==0):0){c[G>>2]=0;a:do if(c[H>>2]|0){e=c[b>>2]|0;t=c[e+36>>2]|0;f=c[t>>2]|0;u=b+12|0;v=Do(c[u>>2]|0,0)|0;w=z;x=e+24|0;g=c[x>>2]|0;if((g|0)>0){q=e+32|0;r=b+20|0;s=f+16|0;p=f+20|0;n=0;f=g;while(1){if(!(a[(c[q>>2]|0)+n>>0]|0)){o=n+1|0;e=fl(c[u>>2]|0,o)|0;f=c[r>>2]|0;g=c[t>>2]|0;c[y>>2]=0;e=mb[c[g+12>>2]&255](t,e,-1,y)|0;do if(!e){c[c[y>>2]>>2]=t;if((c[g>>2]|0)>0?(C=kb[c[g+24>>2]&255](c[y>>2]|0,f)|0,C|0):0){jb[c[g+16>>2]&255](c[y>>2]|0)|0;c[y>>2]=0;e=C;f=0;F=15;break}f=c[y>>2]|0;c[G>>2]=0;k=f;m=((n|0)<0)<<31>>31;do{c[A>>2]=0;c[B>>2]=0;c[D>>2]=0;c[E>>2]=0;e=ob[c[p>>2]&255](k,y,A,B,D,E)|0;c[G>>2]=e;g=c[H>>2]|0;if((e|0)==0&(g|0)!=0){e=0;do{h=c[g>>2]|0;j=c[g+4>>2]|0;do if((j|0)==(n|0)?1:(j|0)>=(c[x>>2]|0)){i=c[E>>2]|0;if(!((c[h+12>>2]|0)==0|(i|0)==0)){h=0;break}j=c[h+4>>2]|0;K=c[A>>2]|0;if((j|0)!=(K|0)?!((j|0)<(K|0)&(c[h+8>>2]|0)!=0):0){h=0;break}if(Bs(c[y>>2]|0,c[h>>2]|0,j)|0){h=0;break}Kq(g+12|0,v,w,n,m,i,((i|0)<0)<<31>>31,G)|0;h=c[G>>2]|0;e=h}else h=0;while(0);g=c[g+8>>2]|0}while((h|0)==0&(g|0)!=0)}}while(!(e|0))}else{f=c[y>>2]|0;F=15}while(0);if((F|0)==15){F=0;c[G>>2]=e}if(f|0)jb[c[s>>2]&255](f)|0;if((e|0)!=101)break a;c[G>>2]=0;e=o;f=c[x>>2]|0}else e=n+1|0;if((e|0)<(f|0))n=e;else break}}e=c[H>>2]|0;if(e){g=e;e=0;do{f=g+12|0;if(!(c[f>>2]|0))f=0;else{e=Lq(f,0,0)|0;c[G>>2]=e;f=e}g=c[g+8>>2]|0}while((f|0)==0&(g|0)!=0)}else e=0}else e=0;while(0);c[I>>2]=e}h=(Mq(b,c[b+16>>2]|0,I)|0)==0;e=c[H>>2]|0;if(e|0)do{f=e+12|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{K=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-K;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;e=c[e+8>>2]|0}while((e|0)!=0);K=c[I>>2]|0;c[d>>2]=K;I=h;K=(K|0)==0;K=I&K;K=K&1;l=J;return K|0}function Iq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;m=o;n=e+4|0;j=c[n>>2]|0;k=O(j,d)|0;if((j|0)<=0){n=0;l=o;return n|0}j=e+28|0;i=0;do{d=Dq(c[e>>2]|0,b,i,m)|0;g=c[m>>2]|0;if(!g)f=0;else{h=a[g>>0]|0;if(!(h&254))f=0;else{f=0;do{g=g+1|0;p=h&128;f=(p>>>7^1)+f|0;h=a[g>>0]|0}while((h&254|p|0)!=0)}c[m>>2]=g}c[(c[j>>2]|0)+((i+k|0)*3<<2)>>2]=f;i=i+1|0}while((d|0)==0?(i|0)<(c[n>>2]|0):0);l=o;return d|0}function Jq(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;i=n;k=e+7|0;if(!(a[k>>0]|0)){d=0;l=n;return d|0}m=e+12|0;f=c[m>>2]|0;do if(!f){h=c[e>>2]|0;g=h+216|0;f=c[g>>2]|0;if(!f){c[i>>2]=c[h+220>>2];f=xd(41111,i)|0;if(!f){h=7;break}h=si(c[h+12>>2]|0,f,-1,129,0,m,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{i=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}if(h|0)break;f=c[m>>2]|0}else{c[m>>2]=f;c[g>>2]=0}a[e+8>>0]=1;j=13}else j=13;while(0);a:do if((j|0)==13){i=e+32|0;h=c[i>>2]|0;i=c[i+4>>2]|0;do if(!(Ho(f,1)|0)){f=c[f+116>>2]|0;g=f+8|0;if(!(b[g>>1]&9312)){j=f;c[j>>2]=h;c[j+4>>2]=i;b[g>>1]=4;break}else{Xe(f,h,i);break}}while(0);a[k>>0]=0;if((qi(c[m>>2]|0)|0)==100){d=0;l=n;return d|0}f=c[m>>2]|0;do if(f|0){g=c[f>>2]|0;m=f+128|0;k=c[m+4>>2]|0;if((k|0)>0|(k|0)==0&(c[m>>2]|0)>>>0>0)Rh(g,f);h=Sh(f)|0;c[f+20>>2]=770837923;c[f+36>>2]=-1;c[f+40>>2]=0;a[f+142>>0]=2;c[f+44>>2]=0;c[f+32>>2]=1;a[f+143>>0]=-1;c[f+48>>2]=0;m=f+64|0;c[m>>2]=0;c[m+4>>2]=0;if(!((h|0)==3082|(a[g+73>>0]|0)!=0)){f=c[g+60>>2]&h;if(!f)break;else{h=f;break a}}else{Th(g);h=7;break a}}while(0);if(!(c[(c[e>>2]|0)+40>>2]|0)){a[e+6>>0]=1;h=267;break}else{d=0;l=n;return d|0}}while(0);if(!((d|0)!=0&(h|0)!=0)){d=h;l=n;return d|0}c[d+20>>2]=h;a[d+25>>0]=1;g=c[d>>2]|0;if(!(b[g+8>>1]&1)){d=h;l=n;return d|0}if((h|0)!=516){f=h&255;if(f>>>0<27?(117374971>>>f&1|0)!=0:0)f=c[4068+(f<<2)>>2]|0;else f=21499}else f=21513;Ve(g,f,-1,1,0)|0;d=h;l=n;return d|0}function Kq(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0;o=l;l=l+16|0;n=o;j=c[a>>2]|0;c[n>>2]=j;if(j){m=j+16|0;k=c[m>>2]|0;m=c[m+4>>2]|0;if((k|0)==(b|0)&(m|0)==(d|0))m=6;else{k=Gt(b|0,d|0,k|0,m|0)|0;c[j>>2]=(c[j>>2]|0)+1;j=k;k=z;m=4}}else{j=b;k=d;m=4}if((m|0)==4){j=Lq(n,j,k)|0;if(!j){j=c[n>>2]|0;m=j+24|0;c[m>>2]=-1;c[m+4>>2]=-1;m=j+32|0;c[m>>2]=0;c[m+4>>2]=0;m=j+16|0;c[m>>2]=b;c[m+4>>2]=d;m=6}}do if((m|0)==6){if((f|0)>0|(f|0)==0&e>>>0>0){d=j+24|0;if(!((c[d>>2]|0)==(e|0)?(c[d+4>>2]|0)==(f|0):0)){j=Lq(n,1,0)|0;if(j|0)break;j=Lq(n,e,f)|0;if(j|0)break;j=c[n>>2]|0;d=j+24|0;c[d>>2]=e;c[d+4>>2]=f;f=j+32|0;c[f>>2]=0;c[f+4>>2]=0}}else if(!((f|0)>-1|(f|0)==-1&e>>>0>4294967295)){j=0;break}f=Ft(g|0,h|0,2,0)|0;j=j+32|0;j=Gt(f|0,z|0,c[j>>2]|0,c[j+4>>2]|0)|0;j=Lq(n,j,z)|0;if(!j){j=(c[n>>2]|0)+32|0;c[j>>2]=g;c[j+4>>2]=h;j=0}}while(0);c[i>>2]=j;j=c[n>>2]|0;if((j|0)==(c[a>>2]|0)){a=0;l=o;return a|0}c[a>>2]=j;a=1;l=o;return a|0}function Lq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;f=c[b>>2]|0;do if(f){g=c[f+8>>2]|0;if(((c[f>>2]|0)+11|0)>(g|0)){g=g<<1;h=g+40|0;if((Nc()|0)==0?(i=Oc(f,(h|0)>0?h:0,0)|0,i|0):0){c[i+8>>2]=g;c[i+4>>2]=i+40;f=i;j=23;break}f=c[b>>2]|0;if(f)if(!(c[2]|0)){pb[c[56>>2]&255](f);g=7;f=0;break}else{g=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);g=7;f=0;break}else{g=7;f=0}}else j=23}else{if(Nc()|0){b=7;return b|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](140)|0;if(!f){b=7;return b|0}}else{f=jb[c[68>>2]&255](140)|0;if((c[11829]|0)>>>0<140)c[11829]=140;h=46456;g=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&g>>>0>0){k=c[11822]|0;l=Gt(g|0,h|0,f|0,((f|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&k>>>0>=l>>>0)&1}f=jb[c[52>>2]&255](f)|0;if(!f){b=7;return b|0}g=jb[c[64>>2]&255](f)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0>(c[11831]|0)>>>0)c[11831]=g}c[f+8>>2]=100;c[f+4>>2]=f+40;c[f>>2]=0;j=23}while(0);if((j|0)==23){k=f+4|0;l=(c[k>>2]|0)+(c[f>>2]|0)|0;j=l;i=e;while(1){g=d&255;h=j+1|0;a[j>>0]=g|-128;d=Qt(d|0,i|0,7)|0;i=z;if((d|0)==0&(i|0)==0)break;else j=h}a[j>>0]=g&127;g=(c[f>>2]|0)+(h-l)|0;c[f>>2]=g;a[(c[k>>2]|0)+g>>0]=0;g=0}c[b>>2]=f;b=g;return b|0}function Mq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;v=l;l=l+16|0;t=v+8|0;u=v+4|0;q=v;if(c[e>>2]|0){u=1;l=v;return u|0}switch(c[d>>2]|0){case 3:case 1:{j=d+12|0;do if((Mq(b,c[j>>2]|0,e)|0)!=0?(k=d+16|0,(Mq(b,c[k>>2]|0,e)|0)!=0):0){if(c[e>>2]|0){u=1;l=v;return u|0}if((c[d>>2]|0)!=1){u=1;l=v;return u|0}s=c[d+8>>2]|0;if(s|0?(c[s>>2]|0)==1:0){u=1;l=v;return u|0}g=c[j>>2]|0;if(!g){g=d;f=0}else{h=d;f=0;while(1){f=(c[(c[(c[h+16>>2]|0)+20>>2]|0)+32>>2]|0)+f|0;h=c[g+12>>2]|0;if(!h)break;else{s=g;g=h;h=s}}}h=g+20|0;i=Fd((c[(c[h>>2]|0)+32>>2]|0)+f<<1)|0;if(!i){c[e>>2]=7;j=0;break}e=c[h>>2]|0;c[t>>2]=c[e+28>>2];c[u>>2]=c[e+64>>2];g=c[g+8>>2]|0;a:do if(!g)f=1;else{f=1;do{if((c[g>>2]|0)!=1)break a;f=Nq(c[g+4>>2]|0,i,t,u,c[(c[g+16>>2]|0)+20>>2]|0)|0;g=c[g+8>>2]|0}while((f|0)!=0&(g|0)!=0)}while(0);g=c[(c[k>>2]|0)+20>>2]|0;c[t>>2]=c[g+28>>2];c[u>>2]=c[g+64>>2];g=c[j>>2]|0;if((f|0)!=0&(g|0)!=0)do{if((c[g>>2]|0)==1)f=c[g+16>>2]|0;else f=g;f=Nq(c[(c[g+8>>2]|0)+4>>2]|0,i,t,u,c[f+20>>2]|0)|0;g=c[g+12>>2]|0}while((f|0)!=0&(g|0)!=0);if(!(c[2]|0))pb[c[56>>2]&255](i);else{u=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}u=(f|0)!=0;f=u&1;if(u){u=f;l=v;return u|0}else j=f}else j=0;while(0);if((c[d>>2]|0)!=1){u=j;l=v;return u|0}u=c[d+8>>2]|0;if(u|0?(c[u>>2]|0)==1:0){u=j;l=v;return u|0}h=c[d+20>>2]|0;i=b+32|0;f=i;g=c[f>>2]|0;f=c[f+4>>2]|0;if(!h){h=d;while(1){d=c[h+16>>2]|0;u=d+24|0;if((c[u>>2]|0)==(g|0)?(c[u+4>>2]|0)==(f|0):0){d=c[d+20>>2]|0;g=d+24|0;f=d+28|0;do if(c[g>>2]|0?(m=c[f>>2]|0,m|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{u=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);c[f>>2]=0;c[d+32>>2]=0;c[g>>2]=0;f=i;g=c[f>>2]|0;f=c[f+4>>2]|0}d=c[h+12>>2]|0;h=c[d+20>>2]|0;if(!h)h=d;else break}}u=d+24|0;if(!((c[u>>2]|0)==(g|0)?(c[u+4>>2]|0)==(f|0):0)){u=j;l=v;return u|0}d=h+24|0;f=h+28|0;do if(c[d>>2]|0?(n=c[f>>2]|0,n|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{u=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}while(0);c[f>>2]=0;c[h+32>>2]=0;c[d>>2]=0;u=j;l=v;return u|0}case 4:{u=Mq(b,c[d+12>>2]|0,e)|0;u=(Mq(b,c[d+16>>2]|0,e)|0|u|0)!=0&1;l=v;return u|0}case 2:{if(!(Mq(b,c[d+12>>2]|0,e)|0))f=0;else f=(Mq(b,c[d+16>>2]|0,e)|0)==0;u=f&1;l=v;return u|0}default:{if(c[b+28>>2]|0?(r=d+24|0,o=r,s=b+32|0,p=s,f=(a[d+34>>0]|0)==0,!(((c[o>>2]|0)!=(c[p>>2]|0)?1:(c[o+4>>2]|0)!=(c[p+4>>2]|0))&f)):0){p=c[d+20>>2]|0;if(!f){d=p+24|0;f=p+28|0;do if(c[d>>2]|0?(g=c[f>>2]|0,g|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;c[p+32>>2]=0;c[d>>2]=0}n=p+64|0;b:do if((c[n>>2]|0)>0){f=p+28|0;o=p+32|0;m=0;b=0;g=0;i=-1;while(1){d=c[p+72+(m*24|0)+16>>2]|0;if(d){g=d+12|0;d=c[g>>2]|0;if(!d){g=61;break}k=Fd(c[d>>2]|0)|0;if(!k){d=7;break b}h=c[g>>2]|0;j=c[h+4>>2]|0;if((a[j>>0]|0)<=-1)if((a[j+1>>0]|0)<=-1)if((a[j+2>>0]|0)<=-1)if((a[j+3>>0]|0)>-1)g=4;else{d=28;g=j+4|0;do{w=g;g=g+1|0;d=d+7|0}while((d|0)<64&(a[w>>0]|0)<0);g=g-j|0}else g=3;else g=2;else g=1;h=(c[h>>2]|0)-g|0;d=k;Tt(k|0,j+g|0,h|0)|0;if(!b){i=m;j=k}else{c[t>>2]=d;c[u>>2]=b;c[q>>2]=d;Oq(t,m-i|0,0,1,u,q)|0;if(!(c[2]|0))pb[c[56>>2]&255](b);else{w=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b)}d=(c[t>>2]|0)-d|0;if(!d){g=80;break}i=m;j=k;h=d}}else{j=b;h=g}m=m+1|0;if((m|0)>=(c[n>>2]|0)){g=85;break}else{b=j;g=h}}if((g|0)==61){do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{w=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);c[f>>2]=0;c[o>>2]=0;d=0;break}else if((g|0)==80){if(!(c[2]|0))pb[c[56>>2]&255](k);else{w=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}c[f>>2]=0;c[o>>2]=0;d=0;break}else if((g|0)==85){if((i|0)<=-1){d=0;break}d=c[p+44>>2]|0;if((d|0)<0){c[f>>2]=j;c[o>>2]=h;u=s;w=c[u+4>>2]|0;d=p+16|0;c[d>>2]=c[u>>2];c[d+4>>2]=w;c[p+24>>2]=1;d=0;break}if((d|0)>(i|0)){c[t>>2]=j;c[u>>2]=c[f>>2];g=d-i|0}else{c[t>>2]=c[f>>2];c[u>>2]=j;g=i-d|0}d=Fd(h+8|0)|0;c[q>>2]=d;if(!d){do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{w=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);d=7;break}c[f>>2]=d;w=(Oq(q,g,0,1,t,u)|0)==0;d=c[q>>2]|0;if(w){do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{w=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[f>>2]=0;d=0}else{c[p+24>>2]=1;d=d-(c[f>>2]|0)|0}c[o>>2]=d;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{w=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);d=0;break}}else{d=0;f=p+28|0}while(0);c[e>>2]=d;w=(c[f>>2]|0)!=0&1;e=s;t=c[e+4>>2]|0;u=r;c[u>>2]=c[e>>2];c[u+4>>2]=t;l=v;return w|0}if(!(a[d+32>>0]|0)){w=d+24|0;f=b+32|0;f=(c[w>>2]|0)==(c[f>>2]|0)?(c[w+4>>2]|0)==(c[f+4>>2]|0):0}else f=0;w=f&1;l=v;return w|0}}return 0}function Nq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;s=l;l=l+32|0;m=s+20|0;k=s+16|0;h=s+12|0;n=s+8|0;i=s+4|0;q=s;r=g+64|0;u=(c[r>>2]|0)+b|0;b=(c[f>>2]|0)+b|0;p=g+28|0;o=c[p>>2]|0;c[q>>2]=o;c[i>>2]=o;c[m>>2]=d;t=c[e>>2]|0;j=d;c[k>>2]=j;Oq(k,u,0,0,e,i)|0;k=c[k>>2]|0;c[h>>2]=k;c[n>>2]=k;c[e>>2]=t;c[i>>2]=o;Oq(h,b,1,0,i,e)|0;b=k;h=c[h>>2]|0;do if((b|0)==(d|0))if((h|0)==(d|0))b=0;else{b=d;h=0;while(1){i=a[b>>0]|0;b=b+1|0;if(!(i|h<<24>>24))break;else h=i&128}u=b-k|0;Tt(o|0,d|0,u|0)|0;c[q>>2]=o+u;c[n>>2]=b;b=1}else{if((h|0)==(b|0)){b=d;h=0}else{Pq(q,m,n);b=1;break}while(1){i=a[b>>0]|0;b=b+1|0;if(!(i|h<<24>>24))break;else h=i&128}u=b-j|0;Tt(o|0,d|0,u|0)|0;c[q>>2]=o+u;c[m>>2]=b;b=1}while(0);if(!b){l=s;return b|0}d=c[p>>2]|0;t=(c[q>>2]|0)-d+-1|0;u=g+32|0;Vt(d+t|0,0,(c[u>>2]|0)-t|0)|0;c[u>>2]=t;c[e>>2]=c[p>>2];c[f>>2]=c[r>>2];l=s;return b|0}function Oq(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;j=c[b>>2]|0;k=c[h>>2]|0;n=c[i>>2]|0;m=k;if((a[m>>0]|0)==1){o=m+1|0;l=a[o>>0]|0;k=l&255;if(k&128){E=a[m+2>>0]<<7;k=E|l&127;if(E&16384){E=a[m+3>>0]<<14;k=E|k&16383;if(E&2097152){E=a[m+4>>0]<<21;k=E|k&2097151;if(!(E&268435456))l=4;else{k=(a[m+5>>0]&7)<<28|k&268435455;l=5}}else l=3}else l=2}else l=1;m=k;k=o+l|0}else m=0;o=n;if((a[o>>0]|0)==1){p=o+1|0;n=a[p>>0]|0;l=n&255;if(l&128){E=a[o+2>>0]<<7;l=E|n&127;if(E&16384){E=a[o+3>>0]<<14;l=E|l&16383;if(E&2097152){E=a[o+4>>0]<<21;l=E|l&2097151;if(!(E&268435456))n=4;else{l=(a[o+5>>0]&7)<<28|l&268435455;n=5}}else n=3}else n=2}else n=1;n=p+n|0}else l=0;E=((e|0)<0)<<31>>31;D=(f|0)!=0;C=(g|0)==0;a:while(1){b:do if((m|0)==(l|0))l=m;else do{while(1){if((m|0)<(l|0))break;l=a[n>>0]|0;o=l<<24>>24;if(o&254)do{n=n+1|0;l=a[n>>0]|0;B=o;o=l<<24>>24}while((o&254|B&128|0)!=0);if(!(l<<24>>24)){l=132;break a}p=n+1|0;o=a[p>>0]|0;l=o&255;if(l&128){B=a[n+2>>0]<<7;l=B|o&127;if(B&16384){B=a[n+3>>0]<<14;l=B|l&16383;if(B&2097152){B=a[n+4>>0]<<21;l=B|l&2097151;if(!(B&268435456))n=4;else{l=(a[n+5>>0]&7)<<28|l&268435455;n=5}}else n=3}else n=2}else n=1;n=p+n|0;if((m|0)==(l|0)){l=m;break b}}m=a[k>>0]|0;o=m<<24>>24;if(o&254)do{k=k+1|0;m=a[k>>0]|0;B=o;o=m<<24>>24}while((o&254|B&128|0)!=0);if(!(m<<24>>24)){l=133;break a}p=k+1|0;o=a[p>>0]|0;m=o&255;if(m&128){B=a[k+2>>0]<<7;m=B|o&127;if(B&16384){B=a[k+3>>0]<<14;m=B|m&16383;if(B&2097152){B=a[k+4>>0]<<21;m=B|m&2097151;if(!(B&268435456))k=4;else{m=(a[k+5>>0]&7)<<28|m&268435455;k=5}}else k=3}else k=2}else k=1;k=p+k|0}while((m|0)!=(l|0));while(0);r=j;if(l){a[r>>0]=1;o=r+1|0;p=l;m=((l|0)<0)<<31>>31;while(1){l=p&255;j=o+1|0;a[o>>0]=l|-128;p=Qt(p|0,m|0,7)|0;m=z;if((p|0)==0&(m|0)==0)break;else o=j}a[o>>0]=l&127}f=k;m=a[f>>0]|0;l=m&255;do if(!(l&128)){k=1;l=m&255;m=0}else{B=d[f+1>>0]<<7;l=B|l&127;if(!(B&16384)){k=2;m=0;break}B=d[f+2>>0]<<14;l=B|l&16383;if(!(B&2097152)){k=3;m=0;break}B=d[f+3>>0]<<21;l=B|l&2097151;if(!(B&268435456)){k=4;m=0;break}o=28;p=f+4|0;l=l&268435455;m=0;do{B=p;p=p+1|0;B=d[B>>0]|0;A=Rt(B&127|0,0,o|0)|0;l=Ft(A|0,z|0,l|0,m|0)|0;m=z;o=o+7|0}while((o|0)<64&((B&128|0)!=0|0!=0));k=p-k|0}while(0);k=f+k|0;g=Ft(l|0,m|0,-2,-1)|0;q=z;f=n;m=a[f>>0]|0;l=m&255;do if(!(l&128)){n=1;l=m&255;m=0}else{B=d[f+1>>0]<<7;l=B|l&127;if(!(B&16384)){n=2;m=0;break}B=d[f+2>>0]<<14;l=B|l&16383;if(!(B&2097152)){n=3;m=0;break}B=d[f+3>>0]<<21;l=B|l&2097151;if(!(B&268435456)){n=4;m=0;break}o=28;p=f+4|0;l=l&268435455;m=0;do{B=p;p=p+1|0;B=d[B>>0]|0;A=Rt(B&127|0,0,o|0)|0;l=Ft(A|0,z|0,l|0,m|0)|0;m=z;o=o+7|0}while((o|0)<64&((B&128|0)!=0|0!=0));n=p-n|0}while(0);p=Ft(l|0,m|0,-2,-1)|0;l=r;n=f+n|0;B=g;A=q;o=0;m=0;f=z;c:while(1){y=k;w=Ft(B|0,A|0,e|0,E|0)|0;x=z;d:do if(C){s=p;t=f;while(1){if(!((s|0)==(w|0)&(t|0)==(x|0))?(t|0)>(x|0)|(t|0)==(x|0)&s>>>0>w>>>0|((t|0)<(A|0)|(t|0)==(A|0)&s>>>0<=B>>>0):0){q=o;r=m}else{q=D?B:s;r=D?A:t;g=j;o=Gt(2,0,o|0,m|0)|0;o=Ft(o|0,z|0,q|0,r|0)|0;l=g;p=z;while(1){m=o&255;f=l+1|0;a[l>>0]=m|-128;o=Qt(o|0,p|0,7)|0;p=z;if((o|0)==0&(p|0)==0)break;else l=f}a[l>>0]=m&127;l=0;j=g+(f-j)|0}if(((t|0)>(A|0)|(t|0)==(A|0)&s>>>0>B>>>0)&(D|((t|0)>(x|0)|(t|0)==(x|0)&s>>>0>w>>>0))){g=t;break d}g=n;o=a[g>>0]|0;if((o&255)<2)break c;m=o&255;do if(!(m&128)){p=1;m=o&255;n=0}else{v=d[g+1>>0]<<7;m=v|m&127;if(!(v&16384)){p=2;n=0;break}v=d[g+2>>0]<<14;m=v|m&16383;if(!(v&2097152)){p=3;n=0;break}v=d[g+3>>0]<<21;m=v|m&2097151;if(!(v&268435456)){p=4;n=0;break}o=28;p=g+4|0;m=m&268435455;f=0;do{v=p;p=p+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,o|0)|0;m=Ft(u|0,z|0,m|0,f|0)|0;f=z;o=o+7|0}while((o|0)<64&((v&128|0)!=0|0!=0));p=p-n|0;n=f}while(0);o=Ft(s|0,t|0,-2,-1)|0;o=Ft(o|0,z|0,m|0,n|0)|0;n=g+p|0;s=o;t=z;o=q;m=r}}else{u=D?B:w;v=D?A:x;s=p;t=f;while(1){if((s|0)==(w|0)&(t|0)==(x|0)){g=j;o=Gt(2,0,o|0,m|0)|0;o=Ft(o|0,z|0,u|0,v|0)|0;l=g;p=z;while(1){m=o&255;f=l+1|0;a[l>>0]=m|-128;o=Qt(o|0,p|0,7)|0;p=z;if((o|0)==0&(p|0)==0)break;else l=f}a[l>>0]=m&127;l=0;j=g+(f-j)|0;q=u;r=v}else{q=o;r=m}if(((t|0)>(A|0)|(t|0)==(A|0)&s>>>0>B>>>0)&(D|((t|0)>(x|0)|(t|0)==(x|0)&s>>>0>w>>>0))){g=t;break d}g=n;o=a[g>>0]|0;if((o&255)<2)break c;m=o&255;do if(!(m&128)){p=1;m=o&255;n=0}else{f=d[g+1>>0]<<7;m=f|m&127;if(!(f&16384)){p=2;n=0;break}f=d[g+2>>0]<<14;m=f|m&16383;if(!(f&2097152)){p=3;n=0;break}f=d[g+3>>0]<<21;m=f|m&2097151;if(!(f&268435456)){p=4;n=0;break}o=28;p=g+4|0;m=m&268435455;f=0;do{F=p;p=p+1|0;F=d[F>>0]|0;G=Rt(F&127|0,0,o|0)|0;m=Ft(G|0,z|0,m|0,f|0)|0;f=z;o=o+7|0}while((o|0)<64&((F&128|0)!=0|0!=0));p=p-n|0;n=f}while(0);o=Ft(s|0,t|0,-2,-1)|0;o=Ft(o|0,z|0,m|0,n|0)|0;n=g+p|0;s=o;t=z;o=q;m=r}}while(0);o=a[k>>0]|0;if((o&255)<2)break;m=o&255;do if(!(m&128)){p=1;m=o&255;o=0}else{G=d[k+1>>0]<<7;m=G|m&127;if(!(G&16384)){p=2;o=0;break}G=d[k+2>>0]<<14;m=G|m&16383;if(!(G&2097152)){p=3;o=0;break}G=d[k+3>>0]<<21;m=G|m&2097151;if(!(G&268435456)){p=4;o=0;break}p=28;f=k+4|0;m=m&268435455;o=0;do{G=f;f=f+1|0;G=d[G>>0]|0;F=Rt(G&127|0,0,p|0)|0;m=Ft(F|0,z|0,m|0,o|0)|0;o=z;p=p+7|0}while((p|0)<64&((G&128|0)!=0|0!=0));p=f-y|0}while(0);f=Ft(B|0,A|0,-2,-1)|0;o=Ft(f|0,z|0,m|0,o|0)|0;k=k+p|0;B=o;A=z;o=q;m=r;p=s;f=g}j=(l|0)==0?j:l;l=a[k>>0]|0;m=l<<24>>24;if(!(m&254))o=l;else{do{k=k+1|0;l=a[k>>0]|0;G=m;m=l<<24>>24}while((m&254|G&128|0)!=0);o=l}l=a[n>>0]|0;m=l<<24>>24;if(m&254)do{n=n+1|0;l=a[n>>0]|0;G=m;m=l<<24>>24}while((m&254|G&128|0)!=0);if(o<<24>>24==0|l<<24>>24==0){l=134;break}o=k+1|0;l=a[o>>0]|0;m=l&255;if(m&128){G=a[k+2>>0]<<7;l=G|l&127;if(G&16384){G=a[k+3>>0]<<14;l=G|l&16383;if(G&2097152){G=a[k+4>>0]<<21;l=G|l&2097151;if(!(G&268435456)){m=l;k=4}else{m=(a[k+5>>0]&7)<<28|l&268435455;k=5}}else{m=l;k=3}}else{m=l;k=2}}else k=1;k=o+k|0;p=n+1|0;o=a[p>>0]|0;l=o&255;if(l&128){G=a[n+2>>0]<<7;l=G|o&127;if(G&16384){G=a[n+3>>0]<<14;l=G|l&16383;if(G&2097152){G=a[n+4>>0]<<21;l=G|l&2097151;if(!(G&268435456))n=4;else{l=(a[n+5>>0]&7)<<28|l&268435455;n=5}}else n=3}else n=2}else n=1;n=p+n|0}l=0;while(1){m=a[n>>0]|0;n=n+1|0;if(!(m|l<<24>>24))break;else l=m&128}l=0;while(1){m=a[k>>0]|0;k=k+1|0;if(!(m|l<<24>>24))break;else l=m&128}c[h>>2]=k;c[i>>2]=n;if((c[b>>2]|0)==(j|0)){G=0;return G|0}a[j>>0]=0;c[b>>2]=j+1;G=1;return G|0}function Pq(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;i=c[f>>2]|0;g=c[e>>2]|0;h=c[b>>2]|0;a:while(1){s=g+1|0;t=g+2|0;u=g+3|0;q=g+4|0;r=g+5|0;p=i;n=h;while(1){h=a[g>>0]|0;switch(h<<24>>24){case 0:{i=p;if(!(a[i>>0]|0))break a;else i=2147483647;break}case 1:{j=a[s>>0]|0;i=j&255;if(i&128){v=a[t>>0]<<7;i=v|j&127;if(v&16384){v=a[u>>0]<<14;i=v|i&16383;if(v&2097152){v=a[q>>0]<<21;i=v|i&2097151;if(v&268435456)i=(a[r>>0]&7)<<28|i&268435455}}}break}default:i=0}o=p;l=a[o>>0]|0;switch(l<<24>>24){case 1:{k=a[o+1>>0]|0;j=k&255;if(j&128){v=a[o+2>>0]<<7;j=v|k&127;if(v&16384){v=a[o+3>>0]<<14;j=v|j&16383;if(v&2097152){v=a[o+4>>0]<<21;j=v|j&2097151;if(v&268435456)j=(a[o+5>>0]&7)<<28|j&268435455}}}break}case 0:{j=2147483647;break}default:j=0}if((i|0)==(j|0))break;if((i|0)<(j|0)){w=103;break}if(!j){i=0;h=l}else{l=n+1|0;k=l;m=j;j=((j|0)<0)<<31>>31;while(1){h=m&255;i=k+1|0;a[k>>0]=h|-128;m=Qt(m|0,j|0,7)|0;j=z;if((m|0)==0&(j|0)==0)break;else k=i}a[k>>0]=h&127;h=i-l+1|0;a[n>>0]=1;i=h;n=n+h|0;h=a[o+h>>0]|0}j=o+i|0;k=j;i=h<<24>>24;if(!(i&254))h=j;else{h=j;do{h=h+1|0;v=i;i=a[h>>0]|0}while((i&254|v&128|0)!=0)}p=h;v=p-k|0;Tt(n|0,j|0,v|0)|0;n=n+v|0}if((w|0)==103){w=0;if(!i)i=0;else{l=n+1|0;k=l;m=i;j=((i|0)<0)<<31>>31;while(1){h=m&255;i=k+1|0;a[k>>0]=h|-128;m=Qt(m|0,j|0,7)|0;j=z;if((m|0)==0&(j|0)==0)break;else k=i}a[k>>0]=h&127;h=i-l+1|0;a[n>>0]=1;i=h;n=n+h|0;h=a[g+h>>0]|0}i=g+i|0;j=i;h=h<<24>>24;if(!(h&254))g=i;else{g=i;do{g=g+1|0;v=h;h=a[g>>0]|0}while((h&254|v&128|0)!=0)}h=g-j|0;v=n;Tt(v|0,i|0,h|0)|0;i=p;h=v+h|0;continue}if(!i)i=0;else{l=n+1|0;k=l;m=i;j=((i|0)<0)<<31>>31;while(1){h=m&255;i=k+1|0;a[k>>0]=h|-128;m=Qt(m|0,j|0,7)|0;j=z;if((m|0)==0&(j|0)==0)break;else k=i}a[k>>0]=h&127;h=i-l+1|0;a[n>>0]=1;i=h;n=n+h|0;h=a[g+h>>0]|0}l=g+i|0;k=l;q=o+i|0;p=q;g=h&255;do if(!(g&128)){i=1;o=h&255;m=0}else{v=d[l+1>>0]<<7;g=v|g&127;if(!(v&16384)){i=2;o=g;m=0;break}v=d[l+2>>0]<<14;g=v|g&16383;if(!(v&2097152)){i=3;o=g;m=0;break}v=d[l+3>>0]<<21;g=v|g&2097151;if(!(v&268435456)){i=4;o=g;m=0;break}h=28;i=l+4|0;g=g&268435455;j=0;do{v=i;i=i+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,h|0)|0;g=Ft(u|0,z|0,g|0,j|0)|0;j=z;h=h+7|0}while((h|0)<64&((v&128|0)!=0|0!=0));i=i-k|0;o=g;m=j}while(0);g=l+i|0;i=a[q>>0]|0;h=i&255;do if(!(h&128)){j=1;h=i&255;k=0}else{v=d[q+1>>0]<<7;h=v|h&127;if(!(v&16384)){j=2;k=0;break}v=d[q+2>>0]<<14;h=v|h&16383;if(!(v&2097152)){j=3;k=0;break}v=d[q+3>>0]<<21;h=v|h&2097151;if(!(v&268435456)){j=4;k=0;break}i=28;j=q+4|0;h=h&268435455;k=0;do{v=j;j=j+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,i|0)|0;h=Ft(u|0,z|0,h|0,k|0)|0;k=z;i=i+7|0}while((i|0)<64&((v&128|0)!=0|0!=0));j=j-p|0}while(0);i=q+j|0;v=m;u=o;l=0;j=0;while(1){t=(v|0)<(k|0)|(v|0)==(k|0)&u>>>0>>0;r=t?u:h;s=t?v:k;q=n;m=Gt(r|0,s|0,l|0,j|0)|0;j=q;p=z;while(1){l=m&255;o=j+1|0;a[j>>0]=l|-128;m=Qt(m|0,p|0,7)|0;p=z;if((m|0)==0&(p|0)==0)break;else j=o}a[j>>0]=l&127;n=q+(o-n)|0;q=Ft(r|0,s|0,-2,-1)|0;r=z;do if((u|0)==(h|0)&(v|0)==(k|0)){m=g;j=a[m>>0]|0;if((j&255)>1){h=j&255;do if(!(h&128)){k=1;h=j&255;g=0}else{t=d[m+1>>0]<<7;h=t|h&127;if(!(t&16384)){k=2;g=0;break}t=d[m+2>>0]<<14;h=t|h&16383;if(!(t&2097152)){k=3;g=0;break}t=d[m+3>>0]<<21;h=t|h&2097151;if(!(t&268435456)){k=4;g=0;break}j=28;k=m+4|0;h=h&268435455;l=0;do{t=k;k=k+1|0;t=d[t>>0]|0;s=Rt(t&127|0,0,j|0)|0;h=Ft(s|0,z|0,h|0,l|0)|0;l=z;j=j+7|0}while((j|0)<64&((t&128|0)!=0|0!=0));k=k-g|0;g=l}while(0);o=Ft(u|0,v|0,-2,-1)|0;o=Ft(o|0,z|0,h|0,g|0)|0;g=m+k|0;p=z}else{o=2147483647;p=0}m=i;j=a[m>>0]|0;if((j&255)>1){h=j&255;do if(!(h&128)){k=1;h=j&255;i=0}else{t=d[m+1>>0]<<7;h=t|h&127;if(!(t&16384)){k=2;i=0;break}t=d[m+2>>0]<<14;h=t|h&16383;if(!(t&2097152)){k=3;i=0;break}t=d[m+3>>0]<<21;h=t|h&2097151;if(!(t&268435456)){k=4;i=0;break}j=28;k=m+4|0;h=h&268435455;l=0;do{t=k;k=k+1|0;t=d[t>>0]|0;s=Rt(t&127|0,0,j|0)|0;h=Ft(s|0,z|0,h|0,l|0)|0;l=z;j=j+7|0}while((j|0)<64&((t&128|0)!=0|0!=0));k=k-i|0;i=l}while(0);l=Ft(u|0,v|0,-2,-1)|0;h=Ft(l|0,z|0,h|0,i|0)|0;i=m+k|0;l=o;j=p;k=z}else{l=o;j=p;h=2147483647;k=0}}else if(t){p=g;l=a[p>>0]|0;if((l&255)<=1){l=2147483647;j=0;break}j=l&255;do if(!(j&128)){m=1;j=l&255;g=0}else{t=d[p+1>>0]<<7;j=t|j&127;if(!(t&16384)){m=2;g=0;break}t=d[p+2>>0]<<14;j=t|j&16383;if(!(t&2097152)){m=3;g=0;break}t=d[p+3>>0]<<21;j=t|j&2097151;if(!(t&268435456)){m=4;g=0;break}l=28;m=p+4|0;j=j&268435455;o=0;do{t=m;m=m+1|0;t=d[t>>0]|0;s=Rt(t&127|0,0,l|0)|0;j=Ft(s|0,z|0,j|0,o|0)|0;o=z;l=l+7|0}while((l|0)<64&((t&128|0)!=0|0!=0));m=m-g|0;g=o}while(0);l=Ft(u|0,v|0,-2,-1)|0;l=Ft(l|0,z|0,j|0,g|0)|0;g=p+m|0;j=z;break}else{p=i;l=a[p>>0]|0;if((l&255)<=1){l=u;j=v;h=2147483647;k=0;break}j=l&255;do if(!(j&128)){m=1;j=l&255;i=0}else{t=d[p+1>>0]<<7;j=t|j&127;if(!(t&16384)){m=2;i=0;break}t=d[p+2>>0]<<14;j=t|j&16383;if(!(t&2097152)){m=3;i=0;break}t=d[p+3>>0]<<21;j=t|j&2097151;if(!(t&268435456)){m=4;i=0;break}l=28;m=p+4|0;j=j&268435455;o=0;do{t=m;m=m+1|0;t=d[t>>0]|0;s=Rt(t&127|0,0,l|0)|0;j=Ft(s|0,z|0,j|0,o|0)|0;o=z;l=l+7|0}while((l|0)<64&((t&128|0)!=0|0!=0));m=m-i|0;i=o}while(0);h=Ft(h|0,k|0,-2,-1)|0;h=Ft(h|0,z|0,j|0,i|0)|0;i=p+m|0;l=u;j=v;k=z;break}while(0);if((l|0)!=2147483647|(j|0)!=0|((h|0)!=2147483647|(k|0)!=0)){v=j;u=l;l=q;j=r}else{h=n;continue a}}}w=n;a[w>>0]=0;c[b>>2]=w+1;c[e>>2]=s;c[f>>2]=i+1;return}function Qq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;o=r+4|0;p=r;if(!d){l=r;return}if(c[e>>2]|0){l=r;return}q=c[d+20>>2]|0;if(q|0){g=q+24|0;f=q+28|0;do if(c[g>>2]|0?(h=c[f>>2]|0,h|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[f>>2]=0;c[q+32>>2]=0;c[g>>2]=0;n=q+40|0;if(c[n>>2]|0){m=q+64|0;f=c[m>>2]|0;j=(f|0)>0;a:do if(j){i=0;do{g=c[q+72+(i*24|0)+20>>2]|0;if(g|0?(c[g+8>>2]=0,c[g+28>>2]=1,k=c[g+4>>2]|0,(k|0)>0):0){h=c[g>>2]|0;g=0;do{s=h+(g<<2)|0;c[(c[s>>2]|0)+80>>2]=0;s=c[s>>2]|0;c[s+84>>2]=0;s=s+88|0;c[s>>2]=0;c[s+4>>2]=0;g=g+1|0}while((g|0)!=(k|0))}i=i+1|0}while((i|0)<(f|0));h=c[b>>2]|0;i=q+68|0;if(j){g=0;while(1){if(c[q+72+(g*24|0)+20>>2]|0){c[o>>2]=0;c[p>>2]=0;f=Vq(h,q+72+(g*24|0)|0,c[i>>2]|0,o,p)|0;if(f|0)break;f=Wq(h,q,g,c[p>>2]|0,c[o>>2]|0)|0;if(f|0)break a;f=c[m>>2]|0}g=g+1|0;if((g|0)>=(f|0)){f=0;break a}}}else f=0}else f=0;while(0);c[n>>2]=0;c[e>>2]=f}c[q+8>>2]=0;s=q+16|0;c[s>>2]=0;c[s+4>>2]=0;c[q+48>>2]=0}s=d+24|0;c[s>>2]=0;c[s+4>>2]=0;a[d+32>>0]=0;a[d+33>>0]=0;Qq(b,c[d+12>>2]|0,e);Qq(b,c[d+16>>2]|0,e);l=r;return}function Rq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+112|0;D=H+108|0;y=H;A=H+104|0;B=H+100|0;C=H+96|0;if(c[e>>2]|0){l=H;return}h=b+52|0;n=a[h>>0]|0;a[d+33>>0]=1;switch(c[d>>2]|0){case 3:case 1:{o=c[d+12>>2]|0;k=c[d+16>>2]|0;if(a[o+34>>0]|0){Rq(b,k,e);F=k+24|0;G=c[F+4>>2]|0;e=d+24|0;c[e>>2]=c[F>>2];c[e+4>>2]=G;a[d+32>>0]=a[k+32>>0]|0;l=H;return}F=(a[k+34>>0]|0)==0;Rq(b,o,e);if(!F){F=o+24|0;G=c[F+4>>2]|0;e=d+24|0;c[e>>2]=c[F>>2];c[e+4>>2]=G;a[d+32>>0]=a[o+32>>0]|0;l=H;return}Rq(b,k,e);m=k+32|0;g=n<<24>>24!=0;f=g?-1:1;g=g?-1:0;h=o+24|0;n=o+32|0;a:do if(!(a[n>>0]|0)){i=k+24|0;while(1){if(a[m>>0]|0)break;if(c[e>>2]|0)break;j=h;F=i;F=Gt(c[j>>2]|0,c[j+4>>2]|0,c[F>>2]|0,c[F+4>>2]|0)|0;F=Lt(F|0,z|0,f|0,g|0)|0;j=z;if((F|0)==0&(j|0)==0)break;if((j|0)<0)Rq(b,o,e);else Rq(b,k,e);if(a[n>>0]|0){G=16;break a}}E=h;F=c[E+4>>2]|0;f=d+24|0;c[f>>2]=c[E>>2];c[f+4>>2]=F;f=(a[m>>0]|0)!=0&1}else G=16;while(0);if((G|0)==16){F=h;G=c[F+4>>2]|0;f=d+24|0;c[f>>2]=c[F>>2];c[f+4>>2]=G;f=1}a[d+32>>0]=f;if(f<<24>>24==0|(c[d>>2]|0)!=1){l=H;return}f=c[k+20>>2]|0;b:do if(c[f>>2]|0?(c[e>>2]|0)==0:0){g=f+28|0;f=f+32|0;do{if(a[m>>0]|0)break b;Vt(c[g>>2]|0,0,c[f>>2]|0)|0;Rq(b,k,e)}while(!(c[e>>2]|0))}while(0);f=c[o+20>>2]|0;if(!f){l=H;return}if(!(c[f>>2]|0)){l=H;return}if(c[e>>2]|0){l=H;return}g=f+28|0;f=f+32|0;while(1){if(a[n>>0]|0){G=116;break}Vt(c[g>>2]|0,0,c[f>>2]|0)|0;Rq(b,o,e);if(c[e>>2]|0){G=116;break}}if((G|0)==116){l=H;return}break}case 4:{h=c[d+12>>2]|0;i=c[d+16>>2]|0;n=n<<24>>24!=0;m=n?-1:1;n=n?-1:0;j=h+24|0;g=j;k=i+24|0;f=k;f=Gt(c[g>>2]|0,c[g+4>>2]|0,c[f>>2]|0,c[f+4>>2]|0)|0;f=Lt(f|0,z|0,m|0,n|0)|0;g=z;o=i+32|0;p=h+32|0;do if((a[o>>0]|0)==0?(q=a[p>>0]|0,!((g|0)<0&q<<24>>24==0)):0)if((g|0)>0|(g|0)==0&f>>>0>0|q<<24>>24!=0){Rq(b,i,e);break}else{Rq(b,h,e);Rq(b,i,e);break}else G=32;while(0);if((G|0)==32)Rq(b,h,e);if(!(a[p>>0]|0))f=0;else f=(a[o>>0]|0)!=0&1;a[d+32>>0]=f;f=j;g=c[f>>2]|0;f=c[f+4>>2]|0;i=k;h=c[i>>2]|0;i=c[i+4>>2]|0;if(!(a[o>>0]|0)){e=Gt(g|0,f|0,h|0,i|0)|0;Lt(e|0,z|0,m|0,n|0)|0;e=(z|0)<0&(a[p>>0]|0)==0;g=e?g:h;f=e?f:i}d=d+24|0;c[d>>2]=g;c[d+4>>2]=f;l=H;return}case 2:{g=c[d+12>>2]|0;k=c[d+16>>2]|0;if(!(a[k+33>>0]|0))Rq(b,k,e);Rq(b,g,e);m=g+32|0;f=a[m>>0]|0;if(!(f<<24>>24)){j=k+32|0;i=n<<24>>24!=0;h=i?-1:1;i=i?-1:0;g=g+24|0;if(!(c[e>>2]|0)){f=k+24|0;do{if(a[j>>0]|0)break;F=g;G=f;G=Gt(c[F>>2]|0,c[F+4>>2]|0,c[G>>2]|0,c[G+4>>2]|0)|0;G=Lt(G|0,z|0,h|0,i|0)|0;F=z;if(!((F|0)>0|(F|0)==0&G>>>0>0))break;Rq(b,k,e)}while(!(c[e>>2]|0));f=a[m>>0]|0}else f=0}else g=g+24|0;F=g;G=c[F+4>>2]|0;e=d+24|0;c[e>>2]=c[F>>2];c[e+4>>2]=G;a[d+32>>0]=f;l=H;return}default:{F=c[d+20>>2]|0;v=F+24|0;x=F+28|0;do if(c[v>>2]|0?(f=c[x>>2]|0,f|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{E=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-E;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[x>>2]=0;w=F+32|0;c[w>>2]=0;c[v>>2]=0;E=d+32|0;u=c[b>>2]|0;do if(!(c[F+40>>2]|0)){G=a[u+235>>0]|0;f=G&255;if((a[h>>0]|0)!=G<<24>>24?(g=c[F+4>>2]|0,g|0):0){G=F+8|0;mq(f,c[F>>2]|0,g,G,F+16|0,w,E);c[x>>2]=c[G>>2];f=0;break}Uq(u,F,E);f=0}else{a[D>>0]=0;t=F+64|0;do if((c[t>>2]|0)==1){f=Tq(u,c[F+92>>2]|0,F+16|0,x,w)|0;if(!(c[x>>2]|0)){a[D>>0]=1;g=1;G=109}else{g=0;G=109}}else{f=a[h>>0]|0;g=y;h=g+96|0;do{c[g>>2]=0;g=g+4|0}while((g|0)<(h|0));b=f<<24>>24!=0;q=b?-1:1;b=b?-1:0;r=F+44|0;s=F+16|0;f=0;c:while(1){g=0;do{if(g<<24>>24)break c;d:do if(!f){h=c[t>>2]|0;if((h|0)>0){k=0;m=0;i=0;j=0;while(1){g=y+(m*24|0)|0;do if((c[r>>2]|0)!=(m|0)){f=c[F+72+(m*24|0)+20>>2]|0;if(!f){c[g>>2]=1;f=0;break}G=y+(m*24|0)+16|0;f=Tq(u,f,y+(m*24|0)+8|0,G,y+(m*24|0)+20|0)|0;if(!(c[G>>2]|0))a[D>>0]=1}else{Uq(u,F,D);c[y+(m*24|0)+16>>2]=c[x>>2];c[y+(m*24|0)+20>>2]=c[w>>2];p=s;G=c[p+4>>2]|0;f=y+(m*24|0)+8|0;c[f>>2]=c[p>>2];c[f+4>>2]=G;f=0}while(0);do if(!(c[g>>2]|0)){h=y+(m*24|0)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;if(k|0?(G=Gt(i|0,j|0,g|0,h|0)|0,Lt(G|0,z|0,q|0,b|0)|0,(z|0)>=0):0)break;k=1;i=g;j=h}while(0);if(f|0)break;m=m+1|0;g=a[D>>0]|0;h=c[t>>2]|0;if(!(g<<24>>24==0&(m|0)<(h|0))){f=0;G=68;break d}}g=a[D>>0]|0;G=67}else{f=0;i=0;j=0}}else{i=0;j=0;G=67}while(0);if((G|0)==67){h=c[t>>2]|0;G=68}if((G|0)==68){G=0;if((h|0)>0){n=0;k=g;p=g;m=g;while(1){if(k<<24>>24==0&(f|0)==0){h=n;o=i;g=p;while(1){f=y+(h*24|0)|0;if(c[f>>2]|0){f=0;n=m;k=0;i=o;break}k=y+(h*24|0)+8|0;p=k;p=Gt(c[p>>2]|0,c[p+4>>2]|0,o|0,j|0)|0;Lt(p|0,z|0,q|0,b|0)|0;if((z|0)>=0){f=0;n=m;k=0;i=o;break}do if((c[r>>2]|0)==(h|0)){Uq(u,F,D);c[y+(h*24|0)+16>>2]=c[x>>2];c[y+(h*24|0)+20>>2]=c[w>>2];m=s;f=c[m+4>>2]|0;g=k;c[g>>2]=c[m>>2];c[g+4>>2]=f;g=a[D>>0]|0;f=0;m=g}else{i=c[F+72+(h*24|0)+20>>2]|0;if(!i){c[f>>2]=1;f=0;break}p=y+(h*24|0)+16|0;f=Tq(u,i,k,p,y+(h*24|0)+20|0)|0;if(c[p>>2]|0)break;a[D>>0]=1;m=1;g=1}while(0);p=k;i=c[p>>2]|0;p=c[p+4>>2]|0;n=Gt(i|0,p|0,o|0,j|0)|0;n=Lt(n|0,z|0,q|0,b|0)|0;k=z;n=(k|0)>0|(k|0)==0&n>>>0>0;h=n?0:h;i=n?i:o;j=n?p:j;if(m<<24>>24==0&(f|0)==0){o=i;m=0}else{n=m;k=m;break}}o=h;h=c[t>>2]|0;m=n}else{o=n;g=p}n=o+1|0;if((n|0)>=(h|0))break;else p=g}}}}while(g<<24>>24!=0);g=(c[y+((h+-1|0)*24|0)+20>>2]|0)+1|0;n=Fd(g)|0;if(!n){G=108;break}Tt(n|0,c[y+(((c[t>>2]|0)+-1|0)*24|0)+16>>2]|0,g|0)|0;g=c[t>>2]|0;e:do if((g|0)>1){m=n;k=0;h=0;while(1){if(!(c[y+(h*24|0)>>2]|0)){c[A>>2]=c[y+(h*24|0)+16>>2];c[B>>2]=n;c[C>>2]=n;p=(Oq(C,g+~h|0,0,1,A,B)|0)==0;if(p)break;k=(c[C>>2]|0)-m|0;g=c[t>>2]|0}h=h+1|0;if((h|0)>=(g+-1|0))break e}g=c[t>>2]|0}else{k=0;h=0}while(0);if((h|0)==(g+-1|0)){G=106;break}if(!(c[2]|0)){pb[c[56>>2]&255](n);continue}else{p=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);continue}}if((G|0)==106){g=s;c[g>>2]=i;c[g+4>>2]=j;c[x>>2]=n;c[w>>2]=k;c[v>>2]=1;g=0}else if((G|0)==108){f=7;break}G=109}while(0);if((G|0)==109)a[E>>0]=g}while(0);c[e>>2]=f;G=F+16|0;e=c[G+4>>2]|0;d=d+24|0;c[d>>2]=c[G>>2];c[d+4>>2]=e;l=H;return}}}function Sq(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!b)return;do{d=c[b+20>>2]|0;a:do if(d|0?(j=c[d+28>>2]|0,j|0):0){i=b+40|0;g=j;d=0;while(1){f=a[g>>0]|0;if(!(f&254))e=0;else{e=0;h=0;do{e=(h>>>7^1)+e|0;g=g+1|0;h=f&128;f=a[g>>0]|0}while((f&254|h|0)!=0)}f=c[i>>2]|0;h=d*3|0;d=f+(h+1<<2)|0;c[d>>2]=(c[d>>2]|0)+e;h=f+(h+2<<2)|0;c[h>>2]=(c[h>>2]|0)+((e|0)>0&1);if(!(a[g>>0]|0))break a;f=g+1|0;e=a[f>>0]|0;d=e&255;if(d&128){h=a[g+2>>0]<<7;d=h|e&127;if(h&16384){h=a[g+3>>0]<<14;d=h|d&16383;if(h&2097152){h=a[g+4>>0]<<21;d=h|d&2097151;if(!(h&268435456))e=4;else{d=(a[g+5>>0]&7)<<28|d&268435455;e=5}}else e=3}else e=2}else e=1;g=f+e|0}}while(0);Sq(c[b+12>>2]|0);b=c[b+16>>2]|0}while((b|0)!=0);return}function Tq(b,d,e,f,g){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;D=l;l=l+16|0;y=D+4|0;z=D;A=c[d+8>>2]|0;B=c[d>>2]|0;t=a[b+235>>0]|0?209:208;if(!A){c[f>>2]=0;C=0;l=D;return C|0}h=c[B>>2]|0;a:do if(c[h+80>>2]|0){u=(A|0)>1;v=A+-1|0;w=d+20|0;s=d+16|0;x=d+24|0;while(1){r=h+88|0;q=c[r>>2]|0;r=c[r+4>>2]|0;h=nq(b,h,y,z)|0;j=(h|0)==0;b:do if(j&u){i=1;while(1){h=c[B+(i<<2)>>2]|0;if(!(c[h+80>>2]|0)){h=i;break b}p=h+88|0;if(!((c[p>>2]|0)==(q|0)?(c[p+4>>2]|0)==(r|0):0)){h=i;break b}h=nq(b,h,0,0)|0;i=i+1|0;j=(h|0)==0;if(!(j&(i|0)<(A|0))){C=10;break}}}else{i=1;C=10}while(0);if((C|0)==10){C=0;if(j)h=i;else{C=44;break}}o=c[d>>2]|0;h=(((h|0)==(A|0))<<31>>31)+h|0;if((h|0)>0)do{k=h;h=h+-1|0;c:do if((k|0)<(A|0)){i=h;n=c[o+(h<<2)>>2]|0;do{j=i;i=i+1|0;m=o+(i<<2)|0;if((kb[t&255](n,c[m>>2]|0)|0)<0)break c;p=o+(j<<2)|0;j=c[m>>2]|0;n=c[p>>2]|0;c[m>>2]=n;c[p>>2]=j}while((i|0)<(v|0))}while(0)}while((k|0)>1);h=c[z>>2]|0;if((h|0)>0?c[(c[B>>2]|0)+56>>2]|0:0){k=c[y>>2]|0;m=h+1|0;if((c[w>>2]|0)>(h|0))i=c[s>>2]|0;else{i=m<<1;c[w>>2]=i;j=c[s>>2]|0;if(Nc()|0){h=7;C=44;break}i=Oc(j,(i|0)>0?i:0,0)|0;if(!i){h=7;C=44;break}c[s>>2]=i}Tt(i|0,k|0,m|0)|0;c[y>>2]=c[s>>2]}o=c[x>>2]|0;if((o|0)>-1){j=c[y>>2]|0;p=j+h|0;i=j;n=h;m=0;while(1){d:do if(i>>>0

    >>0){k=0;h=i;while(1){i=a[h>>0]|0;if(!(i&254|k)){k=h;break d}h=h+1|0;if(h>>>0

    >>0)k=i&128;else{k=h;break}}}else k=i;while(0);h=k-j|0;if((m|0)==(o|0))break;n=n-h|0;if(!n){j=k;h=0;break}j=k+1|0;i=a[j>>0]|0;h=i&255;if(h&128){m=a[k+2>>0]<<7;h=m|i&127;if(m&16384){m=a[k+3>>0]<<14;h=m|h&16383;if(m&2097152){m=a[k+4>>0]<<21;h=m|h&2097151;if(!(m&268435456))i=4;else{h=(a[k+5>>0]&7)<<28|h&268435455;i=5}}else i=3}else i=2}else i=1;i=j+i|0;j=k;m=h}i=j+h|0;if((i|0)!=(p|0))Vt(i|0,0,p-i|0)|0;c[y>>2]=j;c[z>>2]=h}if((h|0)>0){C=45;break}if(!(c[(c[c[d>>2]>>2]|0)+80>>2]|0))break a;h=c[B>>2]|0}if((C|0)==44){C=h;l=D;return C|0}else if((C|0)==45){c[f>>2]=c[y>>2];C=e;c[C>>2]=q;c[C+4>>2]=r;c[g>>2]=h;C=0;l=D;return C|0}}while(0);c[f>>2]=0;C=0;l=D;return C|0}function Uq(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=c[e>>2]|0;n=k+(c[e+4>>2]|0)|0;o=e+8|0;l=c[o>>2]|0;m=(l|0)==0;l=m?k:l;k=l;if(l>>>0>=n>>>0){o=1;a[f>>0]=o;return}h=a[l>>0]|0;g=h&255;do if(!(g&128)){i=1;g=h&255;h=0}else{j=d[l+1>>0]<<7;g=j|g&127;if(!(j&16384)){i=2;h=0;break}j=d[l+2>>0]<<14;g=j|g&16383;if(!(j&2097152)){i=3;h=0;break}j=d[l+3>>0]<<21;g=j|g&2097151;if(!(j&268435456)){i=4;h=0;break}i=28;j=l+4|0;g=g&268435455;h=0;do{p=j;j=j+1|0;p=d[p>>0]|0;q=Rt(p&127|0,0,i|0)|0;g=Ft(q|0,z|0,g|0,h|0)|0;h=z;i=i+7|0}while((i|0)<64&((p&128|0)!=0|0!=0));i=j-k|0}while(0);q=l+i|0;j=q;p=e+16|0;l=p;k=c[l>>2]|0;l=c[l+4>>2]|0;m=(a[b+235>>0]|0)==0|m;b=Gt(0,0,g|0,h|0)|0;h=Ft(k|0,l|0,(m?g:b)|0,(m?h:z)|0)|0;g=p;c[g>>2]=h;c[g+4>>2]=z;c[e+28>>2]=j;g=q;h=0;while(1){i=a[g>>0]|0;g=g+1|0;if(!(i|h<<24>>24))break;else h=i&128}c[e+32>>2]=g-j;a:do if(g>>>0>>0)do{if(a[g>>0]|0)break a;g=g+1|0}while(g>>>0>>0);while(0);c[o>>2]=g;q=0;a[f>>0]=q;return}function Vq(a,b,e,f,g){a=a|0;b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+160|0;r=x+148|0;s=x+144|0;u=x+16|0;h=x;w=b+20|0;v=c[w>>2]|0;i=u;j=i+128|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));c[h+12>>2]=(c[b+12>>2]|0?32:0)|(c[b+8>>2]|0?11:3)|((c[a+24>>2]|0)>(e|0)?4:0);c[h+8>>2]=e;q=c[b>>2]|0;c[h>>2]=q;b=c[b+4>>2]|0;c[h+4>>2]=b;c[v+12>>2]=h;b=bq(a,v,q,b)|0;a:do if(!b){n=v+48|0;o=v+52|0;p=u+64|0;q=a+235|0;b:while(1){b=cq(a,v)|0;switch(b|0){case 0:break b;case 100:break;default:{t=4;break a}}m=c[n>>2]|0;e=c[o>>2]|0;b=c[u>>2]|0;if(!b){b=Fd(e+11|0)|0;c[u>>2]=b;c[p>>2]=e;if(!b){b=7;t=4;break a}Tt(b|0,m|0,e|0)|0;continue}else{k=0;i=m;h=u}while(1){j=u+64+(k<<2)|0;b=Xq(d[q>>0]|0,i,e,b,c[j>>2]|0,r,s)|0;e=(i|0)==(m|0)|(i|0)==0;if(b|0){t=10;break b}do if(!e)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{e=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);b=c[h>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{i=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);c[h>>2]=0;i=c[r>>2]|0;e=c[s>>2]|0;if((k|0)==15){t=23;break}k=k+1|0;if((k|0)>=16)continue b;h=u+(k<<2)|0;b=c[h>>2]|0;if(!b){t=8;break}}if((t|0)==8){t=0;c[h>>2]=i;c[u+64+(k<<2)>>2]=e;continue}else if((t|0)==23){t=0;c[h>>2]=i;c[j>>2]=e;continue}}if((t|0)==10){do if(!e)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{t=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);t=4;break}k=0;e=0;i=0;c:while(1){h=u+(k<<2)|0;j=c[h>>2]|0;do if(!j)b=i;else{if(!i){e=c[u+64+(k<<2)>>2]|0;c[h>>2]=0;b=j;break}b=Xq(d[q>>0]|0,j,c[u+64+(k<<2)>>2]|0,i,e,s,r)|0;e=(c[2]|0)==0;if(b|0)break c;if(e)pb[c[56>>2]&255](j);else{a=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}if(!(c[2]|0))pb[c[56>>2]&255](i);else{a=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}c[h>>2]=0;e=c[r>>2]|0;b=c[s>>2]|0}while(0);k=k+1|0;if((k|0)>=16){t=44;break}else i=b}if((t|0)==44){c[u>>2]=b;c[p>>2]=e;c[g>>2]=b;c[f>>2]=e;b=0;break}if(e)pb[c[56>>2]&255](i);else{t=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}t=4}else t=4;while(0);if((t|0)==4){e=0;do{h=c[u+(e<<2)>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{t=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);e=e+1|0}while((e|0)!=16)}iq(v);if(!v){c[w>>2]=0;l=x;return b|0}if(!(c[2]|0)){pb[c[56>>2]&255](v);c[w>>2]=0;l=x;return b|0}else{u=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);c[w>>2]=0;l=x;return b|0}return 0}function Wq(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0;M=l;l=l+16|0;F=M+8|0;I=M+4|0;j=M;do if(!g){i=c[e>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{L=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[e>>2]=0;c[e+4>>2]=0;j=0;i=e+44|0}else{i=e+44|0;k=c[i>>2]|0;if((k|0)<0){c[e>>2]=g;c[e+4>>2]=h;j=0;break}n=c[e>>2]|0;if(!n)if(!(c[2]|0)){pb[c[56>>2]&255](g);j=0;break}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);j=0;break}L=e+4|0;m=c[L>>2]|0;if((k|0)<(f|0)){E=f-k|0;o=m;K=n;H=g}else{E=k-f|0;o=h;K=g;h=m;H=n}k=H;r=a[b+235>>0]|0;C=K+o|0;D=H+h|0;c[F>>2]=K;c[I>>2]=H;G=r<<24>>24!=0;if(G){m=Fd(h+10|0)|0;if(!m)j=7;else J=18}else{m=H;J=18}do if((J|0)==18){c[j>>2]=m;if((o|0)>0){g=a[K>>0]|0;n=g&255;do if(!(n&128)){b=1;n=g&255;g=0}else{B=d[K+1>>0]<<7;n=B|n&127;if(!(B&16384)){b=2;g=0;break}B=d[K+2>>0]<<14;n=B|n&16383;if(!(B&2097152)){b=3;g=0;break}B=d[K+3>>0]<<21;n=B|n&2097151;if(!(B&268435456)){b=4;g=0;break}g=28;b=K+4|0;n=n&268435455;o=0;do{B=b;b=b+1|0;B=d[B>>0]|0;A=Rt(B&127|0,0,g|0)|0;n=Ft(A|0,z|0,n|0,o|0)|0;o=z;g=g+7|0}while((g|0)<64&((B&128|0)!=0|0!=0));b=b-K|0;g=o}while(0);p=K+b|0;q=g}else{p=0;n=0;q=0}c[F>>2]=p;a:do if((h|0)>0){g=a[H>>0]|0;h=g&255;do if(!(h&128)){b=1;h=g&255;o=0}else{B=d[H+1>>0]<<7;h=B|h&127;if(!(B&16384)){b=2;o=0;break}B=d[H+2>>0]<<14;h=B|h&16383;if(!(B&2097152)){b=3;o=0;break}B=d[H+3>>0]<<21;h=B|h&2097151;if(!(B&268435456)){b=4;o=0;break}g=28;b=H+4|0;h=h&268435455;o=0;do{B=b;b=b+1|0;B=d[B>>0]|0;A=Rt(B&127|0,0,g|0)|0;h=Ft(A|0,z|0,h|0,o|0)|0;o=z;g=g+7|0}while((g|0)<64&((B&128|0)!=0|0!=0));b=b-k|0}while(0);b=H+b|0;c[I>>2]=b;if((p|0)!=0&(b|0)!=0){A=G?-1:1;B=G?-1:0;y=r<<24>>24==0;u=0;v=0;w=0;g=q;b:while(1){t=p;x=g;c:while(1){p=Gt(n|0,x|0,h|0,o|0)|0;p=Lt(p|0,z|0,A|0,B|0)|0;g=z;p=(p|0)==0&(g|0)==0;d:do if(!t){if(p)break c;if((g|0)>=0){h=0;J=52;break b}}else{if(p)break c;while(1){if((g|0)<0)break d;else g=0;while(1){p=a[b>>0]|0;s=b+1|0;if(!(p|g<<24>>24))break;else{b=s;g=p&128}}c[I>>2]=s;if(s>>>0>=D>>>0)break b;r=s;p=a[s>>0]|0;g=p&255;do if(!(g&128)){b=1;g=p&255;p=0}else{q=d[b+2>>0]<<7;g=q|g&127;if(!(q&16384)){b=2;p=0;break}q=d[b+3>>0]<<14;g=q|g&16383;if(!(q&2097152)){b=3;p=0;break}q=d[b+4>>0]<<21;g=q|g&2097151;if(!(q&268435456)){b=4;p=0;break}q=28;b=b+5|0;g=g&268435455;p=0;do{N=b;b=b+1|0;N=d[N>>0]|0;O=Rt(N&127|0,0,q|0)|0;g=Ft(O|0,z|0,g|0,p|0)|0;p=z;q=q+7|0}while((q|0)<64&((N&128|0)!=0|0!=0));b=b-r|0}while(0);b=s+b|0;c[I>>2]=b;O=Gt(0,0,g|0,p|0)|0;h=Ft((G?O:g)|0,(G?z:p)|0,h|0,o|0)|0;o=z;O=Gt(n|0,x|0,h|0,o|0)|0;O=Lt(O|0,z|0,A|0,B|0)|0;g=z;if((O|0)==0&(g|0)==0)break c}}while(0);q=t;g=0;while(1){p=a[q>>0]|0;t=q+1|0;if(!(p|g<<24>>24))break;else{q=t;g=p&128}}c[F>>2]=t;if(t>>>0>=C>>>0){J=66;break b}s=t;p=a[t>>0]|0;g=p&255;do if(!(g&128)){q=1;g=p&255;p=0}else{O=d[q+2>>0]<<7;g=O|g&127;if(!(O&16384)){q=2;p=0;break}O=d[q+3>>0]<<14;g=O|g&16383;if(!(O&2097152)){q=3;p=0;break}O=d[q+4>>0]<<21;g=O|g&2097151;if(!(O&268435456)){q=4;p=0;break}r=28;q=q+5|0;g=g&268435455;p=0;do{O=q;q=q+1|0;O=d[O>>0]|0;N=Rt(O&127|0,0,r|0)|0;g=Ft(N|0,z|0,g|0,p|0)|0;p=z;r=r+7|0}while((r|0)<64&((O&128|0)!=0|0!=0));q=q-s|0}while(0);t=t+q|0;c[F>>2]=t;O=Gt(0,0,g|0,p|0)|0;n=Ft((G?O:g)|0,(G?z:p)|0,n|0,x|0)|0;if(!b)break a;else x=z}b=c[j>>2]|0;O=y|(u|0)==0;N=Gt(n|0,x|0,v|0,w|0)|0;s=z;q=Gt(v|0,w|0,n|0,x|0)|0;g=b;q=O?N:q;s=O?s:z;while(1){p=q&255;r=g+1|0;a[g>>0]=p|-128;q=Qt(q|0,s|0,7)|0;s=z;if((q|0)==0&(s|0)==0)break;else g=r}a[g>>0]=p&127;c[j>>2]=(c[j>>2]|0)+(r-b);if(!(Oq(j,E,0,1,F,I)|0))c[j>>2]=b;else{u=1;v=n;w=x}r=c[F>>2]|0;if(r>>>0>>0){b=a[r>>0]|0;g=b&255;do if(!(g&128)){p=1;g=b&255;b=0}else{O=d[r+1>>0]<<7;g=O|g&127;if(!(O&16384)){p=2;b=0;break}O=d[r+2>>0]<<14;g=O|g&16383;if(!(O&2097152)){p=3;b=0;break}O=d[r+3>>0]<<21;g=O|g&2097151;if(!(O&268435456)){p=4;b=0;break}p=28;q=r+4|0;g=g&268435455;b=0;do{O=q;q=q+1|0;O=d[O>>0]|0;N=Rt(O&127|0,0,p|0)|0;g=Ft(N|0,z|0,g|0,b|0)|0;b=z;p=p+7|0}while((p|0)<64&((O&128|0)!=0|0!=0));p=q-r|0}while(0);s=r+p|0;c[F>>2]=s;t=Gt(0,0,g|0,b|0)|0;n=Ft((G?t:g)|0,(G?z:b)|0,n|0,x|0)|0;t=z}else{c[F>>2]=0;s=0;t=x}r=c[I>>2]|0;if(r>>>0>=D>>>0){J=86;break}b=a[r>>0]|0;g=b&255;do if(!(g&128)){q=1;g=b&255;p=0}else{O=d[r+1>>0]<<7;g=O|g&127;if(!(O&16384)){q=2;p=0;break}O=d[r+2>>0]<<14;g=O|g&16383;if(!(O&2097152)){q=3;p=0;break}O=d[r+3>>0]<<21;g=O|g&2097151;if(!(O&268435456)){q=4;p=0;break}b=28;q=r+4|0;g=g&268435455;p=0;do{O=q;q=q+1|0;O=d[O>>0]|0;N=Rt(O&127|0,0,b|0)|0;g=Ft(N|0,z|0,g|0,p|0)|0;p=z;b=b+7|0}while((b|0)<64&((O&128|0)!=0|0!=0));q=q-r|0}while(0);b=r+q|0;c[I>>2]=b;O=Gt(0,0,g|0,p|0)|0;h=Ft((G?O:g)|0,(G?z:p)|0,h|0,o|0)|0;if(!((s|0)!=0&(b|0)!=0))break a;else{p=s;o=z;g=t}}if((J|0)==52){while(1){J=0;n=a[b>>0]|0;o=b+1|0;if(!(n|h<<24>>24))break;else{b=o;h=n&128;J=52}}c[I>>2]=o;if(o>>>0>>0){g=o;if((a[o>>0]|0)<=-1)if((a[b+2>>0]|0)<=-1)if((a[b+3>>0]|0)<=-1)if((a[b+4>>0]|0)>-1)h=4;else{n=28;h=b+5|0;do{O=h;h=h+1|0;n=n+7|0}while((n|0)<64&(a[O>>0]|0)<0);h=h-g|0}else h=3;else h=2;else h=1;c[I>>2]=o+h;break}}else if((J|0)==66){c[F>>2]=0;break}else if((J|0)==86){c[I>>2]=0;break}c[I>>2]=0}else J=45}else{c[I>>2]=0;J=45}while(0);h=(c[j>>2]|0)-m|0;if(G)if(H)if(!(c[2]|0)){pb[c[56>>2]&255](H);j=0;k=m;break}else{j=jb[c[64>>2]&255](H)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](H);j=0;k=m;break}else{j=0;k=m}else j=0}while(0);do if(K|0)if(!(c[2]|0)){pb[c[56>>2]&255](K);break}else{O=jb[c[64>>2]&255](K)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](K);break}while(0);c[e>>2]=k;c[L>>2]=h}while(0);if((c[i>>2]|0)>=(f|0)){l=M;return j|0}c[i>>2]=f;l=M;return j|0}function Xq(b,e,f,g,h,i,j){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;E=l;l=l+16|0;y=E+8|0;A=E+4|0;B=E;w=e+f|0;x=g+h|0;c[y>>2]=e;c[A>>2]=g;c[i>>2]=0;c[j>>2]=0;C=Fd(f+9+h|0)|0;if(!C){j=7;l=E;return j|0}c[B>>2]=C;D=C;if((f|0)>0){k=a[e>>0]|0;f=k&255;do if(!(f&128)){m=1;f=k&255;k=0}else{v=d[e+1>>0]<<7;f=v|f&127;if(!(v&16384)){m=2;k=0;break}v=d[e+2>>0]<<14;f=v|f&16383;if(!(v&2097152)){m=3;k=0;break}v=d[e+3>>0]<<21;f=v|f&2097151;if(!(v&268435456)){m=4;k=0;break}m=28;n=e+4|0;f=f&268435455;k=0;do{v=n;n=n+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,m|0)|0;f=Ft(u|0,z|0,f|0,k|0)|0;k=z;m=m+7|0}while((m|0)<64&((v&128|0)!=0|0!=0));m=n-e|0}while(0);p=k;o=e+m|0}else{f=0;p=0;o=0}c[y>>2]=o;if((h|0)>0){m=a[g>>0]|0;k=m&255;do if(!(k&128)){e=1;k=m&255;m=0}else{v=d[g+1>>0]<<7;k=v|k&127;if(!(v&16384)){e=2;m=0;break}v=d[g+2>>0]<<14;k=v|k&16383;if(!(v&2097152)){e=3;m=0;break}v=d[g+3>>0]<<21;k=v|k&2097151;if(!(v&268435456)){e=4;m=0;break}n=28;e=g+4|0;k=k&268435455;m=0;do{v=e;e=e+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,n|0)|0;k=Ft(u|0,z|0,k|0,m|0)|0;m=z;n=n+7|0}while((n|0)<64&((v&128|0)!=0|0!=0));e=e-g|0}while(0);n=m;m=g+e|0}else{k=0;n=0;m=0}c[A>>2]=m;e=(o|0)!=0;m=(m|0)!=0;a:do if(e|m){t=(b|0)!=0;u=t?-1:1;v=t?-1:0;s=(b|0)==0;g=0;r=f;q=p;h=0;f=0;while(1){o=g;b=n;g=m;m=h;b:while(1){n=Gt(r|0,q|0,k|0,b|0)|0;n=Lt(n|0,z|0,u|0,v|0)|0;h=z;p=(h|0)<0;c:do if((n|0)==0&(h|0)==0){n=o;while(1){if(e&g){e=48;break b}n=s|(n|0)==0;if(p&e|g^1){F=Gt(r|0,q|0,m|0,f|0)|0;g=z;o=Gt(m|0,f|0,r|0,q|0)|0;h=c[B>>2]|0;e=h;o=n?F:o;n=n?g:z;while(1){f=o&255;m=e+1|0;a[e>>0]=f|-128;o=Qt(o|0,n|0,7)|0;n=z;if((o|0)==0&(n|0)==0)break;else e=m}a[e>>0]=f&127;n=(c[B>>2]|0)+(m-h)|0;c[B>>2]=n;e=c[y>>2]|0;h=e;f=0;while(1){m=a[h>>0]|0;o=h+1|0;if(!(m|f<<24>>24))break;else{h=o;f=m&128}}m=o;f=m-e|0;Tt(n|0,e|0,f|0)|0;f=n+f|0;c[B>>2]=f;c[y>>2]=o;if(o>>>0>>0){g=m;e=86;break b}c[y>>2]=0;m=0;n=c[A>>2]|0;h=r;o=q}else{g=Gt(k|0,b|0,m|0,f|0)|0;F=z;o=Gt(m|0,f|0,k|0,b|0)|0;h=c[B>>2]|0;e=h;o=n?g:o;n=n?F:z;while(1){f=o&255;m=e+1|0;a[e>>0]=f|-128;o=Qt(o|0,n|0,7)|0;n=z;if((o|0)==0&(n|0)==0)break;else e=m}a[e>>0]=f&127;n=(c[B>>2]|0)+(m-h)|0;c[B>>2]=n;e=c[A>>2]|0;h=e;f=0;while(1){m=a[h>>0]|0;o=h+1|0;if(!(m|f<<24>>24))break;else{h=o;f=m&128}}m=o;f=m-e|0;Tt(n|0,e|0,f|0)|0;f=n+f|0;c[B>>2]=f;c[A>>2]=o;if(o>>>0>>0){p=o;g=m;break c}c[A>>2]=0;m=c[y>>2]|0;n=0;h=k;o=b}e=(m|0)!=0;g=(n|0)!=0;if(!(e|g))break a;else{n=1;m=h;f=o}}}else{n=o;while(1){n=s|(n|0)==0;if(p&e|g^1){g=Gt(r|0,q|0,m|0,f|0)|0;F=z;o=Gt(m|0,f|0,r|0,q|0)|0;h=c[B>>2]|0;e=h;o=n?g:o;n=n?F:z;while(1){f=o&255;m=e+1|0;a[e>>0]=f|-128;o=Qt(o|0,n|0,7)|0;n=z;if((o|0)==0&(n|0)==0)break;else e=m}a[e>>0]=f&127;n=(c[B>>2]|0)+(m-h)|0;c[B>>2]=n;e=c[y>>2]|0;h=e;f=0;while(1){m=a[h>>0]|0;o=h+1|0;if(!(m|f<<24>>24))break;else{h=o;f=m&128}}m=o;f=m-e|0;Tt(n|0,e|0,f|0)|0;f=n+f|0;c[B>>2]=f;c[y>>2]=o;if(o>>>0>>0){g=m;e=86;break b}c[y>>2]=0;m=0;n=c[A>>2]|0;h=r;o=q}else{g=Gt(k|0,b|0,m|0,f|0)|0;F=z;o=Gt(m|0,f|0,k|0,b|0)|0;h=c[B>>2]|0;e=h;o=n?g:o;n=n?F:z;while(1){f=o&255;m=e+1|0;a[e>>0]=f|-128;o=Qt(o|0,n|0,7)|0;n=z;if((o|0)==0&(n|0)==0)break;else e=m}a[e>>0]=f&127;n=(c[B>>2]|0)+(m-h)|0;c[B>>2]=n;e=c[A>>2]|0;h=e;f=0;while(1){m=a[h>>0]|0;o=h+1|0;if(!(m|f<<24>>24))break;else{h=o;f=m&128}}m=o;f=m-e|0;Tt(n|0,e|0,f|0)|0;f=n+f|0;c[B>>2]=f;c[A>>2]=o;if(o>>>0>>0){p=o;g=m;break c}c[A>>2]=0;m=c[y>>2]|0;n=0;h=k;o=b}e=(m|0)!=0;g=(n|0)!=0;if(!(e|g))break a;else{n=1;m=h;f=o}}}while(0);n=a[p>>0]|0;m=n&255;do if(!(m&128)){e=1;n=n&255;m=0}else{F=d[h+2>>0]<<7;m=F|m&127;if(!(F&16384)){e=2;n=m;m=0;break}F=d[h+3>>0]<<14;m=F|m&16383;if(!(F&2097152)){e=3;n=m;m=0;break}F=d[h+4>>0]<<21;n=F|m&2097151;if(!(F&268435456)){e=4;m=0;break}o=28;e=h+5|0;n=n&268435455;m=0;do{F=e;e=e+1|0;F=d[F>>0]|0;h=Rt(F&127|0,0,o|0)|0;n=Ft(h|0,z|0,n|0,m|0)|0;m=z;o=o+7|0}while((o|0)<64&((F&128|0)!=0|0!=0));e=e-g|0}while(0);g=p+e|0;c[A>>2]=g;e=Gt(0,0,n|0,m|0)|0;m=Ft((t?e:n)|0,(t?z:m)|0,k|0,b|0)|0;e=(c[y>>2]|0)!=0;g=(g|0)!=0;if(!(e|g))break a;else{f=b;F=k;o=1;k=m;b=z;m=F}}do if((e|0)==48){F=s|(n|0)==0;p=Gt(r|0,q|0,m|0,f|0)|0;o=z;e=Gt(m|0,f|0,r|0,q|0)|0;m=c[B>>2]|0;f=m;e=F?p:e;o=F?o:z;while(1){n=e&255;h=f+1|0;a[f>>0]=n|-128;e=Qt(e|0,o|0,7)|0;o=z;if((e|0)==0&(o|0)==0)break;else f=h}a[f>>0]=n&127;c[B>>2]=(c[B>>2]|0)+(h-m);Pq(B,y,A);h=c[y>>2]|0;if(h>>>0>>0){m=a[h>>0]|0;f=m&255;do if(!(f&128)){n=1;f=m&255;m=0}else{F=d[h+1>>0]<<7;f=F|f&127;if(!(F&16384)){n=2;m=0;break}F=d[h+2>>0]<<14;f=F|f&16383;if(!(F&2097152)){n=3;m=0;break}F=d[h+3>>0]<<21;f=F|f&2097151;if(!(F&268435456)){n=4;m=0;break}n=28;e=h+4|0;f=f&268435455;m=0;do{F=e;e=e+1|0;F=d[F>>0]|0;p=Rt(F&127|0,0,n|0)|0;f=Ft(p|0,z|0,f|0,m|0)|0;m=z;n=n+7|0}while((n|0)<64&((F&128|0)!=0|0!=0));n=e-h|0}while(0);p=h+n|0;c[y>>2]=p;o=Gt(0,0,f|0,m|0)|0;o=Ft((t?o:f)|0,(t?z:m)|0,r|0,q|0)|0;h=z}else{c[y>>2]=0;p=0;o=r;h=q}g=c[A>>2]|0;if(g>>>0>=x>>>0){c[A>>2]=0;f=p;m=0;n=b;break}m=a[g>>0]|0;f=m&255;do if(!(f&128)){n=1;f=m&255;m=0}else{F=d[g+1>>0]<<7;f=F|f&127;if(!(F&16384)){n=2;m=0;break}F=d[g+2>>0]<<14;f=F|f&16383;if(!(F&2097152)){n=3;m=0;break}F=d[g+3>>0]<<21;f=F|f&2097151;if(!(F&268435456)){n=4;m=0;break}n=28;e=g+4|0;f=f&268435455;m=0;do{F=e;e=e+1|0;F=d[F>>0]|0;G=Rt(F&127|0,0,n|0)|0;f=Ft(G|0,z|0,f|0,m|0)|0;m=z;n=n+7|0}while((n|0)<64&((F&128|0)!=0|0!=0));n=e-g|0}while(0);n=g+n|0;c[A>>2]=n;G=Gt(0,0,f|0,m|0)|0;k=Ft((t?G:f)|0,(t?z:m)|0,k|0,b|0)|0;f=p;m=n;n=z}else if((e|0)==86){m=a[o>>0]|0;f=m&255;do if(!(f&128)){n=1;m=m&255;f=0}else{G=d[h+2>>0]<<7;f=G|f&127;if(!(G&16384)){n=2;m=f;f=0;break}G=d[h+3>>0]<<14;f=G|f&16383;if(!(G&2097152)){n=3;m=f;f=0;break}G=d[h+4>>0]<<21;m=G|f&2097151;if(!(G&268435456)){n=4;f=0;break}e=28;n=h+5|0;m=m&268435455;f=0;do{G=n;n=n+1|0;G=d[G>>0]|0;F=Rt(G&127|0,0,e|0)|0;m=Ft(F|0,z|0,m|0,f|0)|0;f=z;e=e+7|0}while((e|0)<64&((G&128|0)!=0|0!=0));n=n-g|0}while(0);h=o+n|0;c[y>>2]=h;o=Gt(0,0,m|0,f|0)|0;o=Ft((t?o:m)|0,(t?z:f)|0,r|0,q|0)|0;f=h;m=c[A>>2]|0;h=z;n=b}while(0);e=(f|0)!=0;m=(m|0)!=0;if(!(e|m))break;else{f=q;G=r;g=1;r=o;q=h;h=G}}f=c[B>>2]|0}else f=D;while(0);c[i>>2]=C;c[j>>2]=f-D;G=0;l=E;return G|0}function Yq(d,e){d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;o=l;l=l+16|0;g=o;h=o+8|0;i=d+164|0;f=c[i>>2]|0;c[h>>2]=f;do if(!f){f=c[d+20>>2]|0;c[g>>2]=c[d+16>>2];c[g+4>>2]=f;f=xd(41260,g)|0;if(!f){i=0;n=7;break}g=si(c[d+12>>2]|0,f,-1,129,0,h,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{n=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}f=c[h>>2]|0;c[i>>2]=f;if(!g)j=9;else{i=0;n=g}}else j=9;while(0);if((j|0)==9){m=f;g=c[d+280>>2]|0;h=((g|0)<0)<<31>>31;do if(!(Ho(m,1)|0)){i=c[m+116>>2]|0;j=i+8|0;if(!(b[j>>1]&9312)){n=i;c[n>>2]=g;c[n+4>>2]=h;b[j>>1]=4;break}else{Xe(i,g,h);break}}while(0);k=d+252|0;g=c[k>>2]|0;h=((g|0)<0)<<31>>31;do if(!(Ho(m,2)|0)){j=c[m+116>>2]|0;i=j+40|0;j=j+48|0;if(!(b[j>>1]&9312)){n=i;c[n>>2]=g;c[n+4>>2]=h;b[j>>1]=4;break}else{Xe(i,g,h);break}}while(0);if((qi(m)|0)==100){h=0;g=0;while(1){j=Co(m,0)|0;a:do if(!h){i=0;while(1){if((i|0)>=(c[k>>2]|0)){h=0;break a}h=$p(d,j,i,-2)|0;n=(h|0)==101;h=n?0:h;g=n?1:g;if(!h)i=i+1|0;else break}}while(0);if((qi(m)|0)!=100){i=g;break}}}else{i=0;h=0}do if(f){f=c[m>>2]|0;n=m+128|0;k=c[n+4>>2]|0;if((k|0)>0|(k|0)==0&(c[n>>2]|0)>>>0>0)Rh(f,m);g=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;n=m+64|0;c[n>>2]=0;c[n+4>>2]=0;if((g|0)==3082|(a[f+73>>0]|0)!=0){Th(f);f=7;break}else{f=c[f+60>>2]&g;break}}else f=0;while(0);n=(h|0)==0?f:h}f=d+248|0;g=c[f>>2]|0;do if(g|0){h=c[g+20>>2]|0;Qh(c[g+16>>2]|0)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,g);break}m=g;if(m>>>0>=(c[h+296>>2]|0)>>>0?m>>>0<(c[h+300>>2]|0)>>>0:0){m=h+292|0;c[g>>2]=c[m>>2];c[m>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{m=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[f>>2]=0;j=d+252|0;if((c[j>>2]|0)<=0){d=d+264|0;c[d>>2]=0;d=(n|0)==0;e=(e|0)!=0;d=e&d;e=(i|0)!=0;e=d&e;e=e?101:n;l=o;return e|0}k=d+256|0;h=0;do{f=c[k>>2]|0;m=f+(h*24|0)+4|0;f=c[f+(h*24|0)+12>>2]|0;if(f|0)do{g=c[f+8>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);f=c[f>>2]|0}while((f|0)!=0);mp(m);h=h+1|0}while((h|0)<(c[j>>2]|0));p=d+264|0;c[p>>2]=0;p=(n|0)==0;e=(e|0)!=0;e=e&p;p=(i|0)!=0;p=e&p;p=p?101:n;l=o;return p|0}function Zq(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+16|0;g=n;m=Dq(c[e>>2]|0,b,c[e+4>>2]|0,g)|0;k=c[(c[b+20>>2]|0)+64>>2]|0;f=c[g>>2]|0;if(!f){h=0;i=0}else{b=a[f>>0]|0;d=b&255;if(d&128){j=a[f+1>>0]<<7;d=j|b&127;if(j&16384){j=a[f+2>>0]<<14;d=j|d&16383;if(j&2097152){j=a[f+3>>0]<<21;d=j|d&2097151;if(!(j&268435456))b=4;else{d=(a[f+4>>0]&7)<<28|d&268435455;b=5}}else b=3}else b=2}else b=1;i=f+b|0;c[g>>2]=i;h=d+-2|0}if((k|0)<=0){l=n;return m|0}j=c[e+24>>2]|0;f=e+8|0;g=k+-1|0;b=c[f>>2]|0;d=0;e=b;while(1){c[j+(e*12|0)+8>>2]=g-d;c[j+(e*12|0)>>2]=i;c[j+(e*12|0)+4>>2]=h;d=d+1|0;if((d|0)==(k|0))break;else e=e+1|0}c[f>>2]=b+k;l=n;return m|0}function _q(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=l;l=l+16|0;h=j;i=c[e+16>>2]|0;c[i+(d*24|0)>>2]=c[(c[b+20>>2]|0)+64>>2];f=Dq(c[e>>2]|0,b,c[e+4>>2]|0,h)|0;g=c[h>>2]|0;if(!g){l=j;return f|0}c[i+(d*24|0)+4>>2]=g;e=a[g>>0]|0;b=e&255;if(b&128){k=a[g+1>>0]<<7;b=k|e&127;if(k&16384){k=a[g+2>>0]<<14;b=k|b&16383;if(k&2097152){k=a[g+3>>0]<<21;b=k|b&2097151;if(!(k&268435456))e=4;else{b=(a[g+4>>0]&7)<<28|b&268435455;e=5}}else e=3}else e=2}else e=1;g=g+e|0;c[h>>2]=g;k=b+-2|0;h=g;c[i+(d*24|0)+12>>2]=h;c[i+(d*24|0)+20>>2]=h;c[i+(d*24|0)+8>>2]=k;c[i+(d*24|0)+16>>2]=k;l=j;return f|0} +function xi(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,kb=0,lb=0,mb=0,nb=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Bc=0,Cc=0,Dc=0,Fc=0,Gc=0,Hc=0,Ic=0,Jc=0,Kc=0,Nc=0,Oc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0;md=l;l=l+1248|0;Ac=md+1200|0;zc=md+1192|0;yc=md+1176|0;xc=md+1168|0;wc=md+1152|0;rb=md+1144|0;qb=md+1136|0;Jc=md+1128|0;Ic=md+1120|0;ua=md+1112|0;ta=md+1104|0;oc=md+1080|0;Tb=md+1072|0;Sb=md+1064|0;Rb=md+1056|0;Mb=md+1048|0;Lb=md+1040|0;Db=md+1032|0;Cb=md+1024|0;dd=md+1008|0;cd=md+1e3|0;Yc=md+984|0;Xc=md+944|0;Wc=md+920|0;nc=md+912|0;Qb=md+904|0;Pb=md+896|0;Kb=md+888|0;Bb=md+880|0;Va=md+872|0;Jb=md+864|0;mc=md+856|0;oa=md+848|0;ea=md+840|0;dc=md+832|0;Zb=md+824|0;xa=md+816|0;o=md+808|0;n=md+800|0;m=md+792|0;ad=md+784|0;$c=md+776|0;Vc=md+768|0;Uc=md+760|0;Qc=md+752|0;Pc=md+736|0;Oc=md+728|0;Fc=md+720|0;Bc=md+712|0;vc=md+704|0;nb=md+696|0;Ua=md+688|0;Ta=md+680|0;Gc=md+672|0;Dc=md+648|0;hc=md+640|0;na=md+632|0;ca=md+624|0;uc=md+616|0;tc=md+600|0;sc=md+592|0;rc=md+568|0;gc=md+560|0;Wb=md+552|0;Vb=md+544|0;ub=md+536|0;tb=md+528|0;aa=md+520|0;_=md+512|0;Da=md+504|0;J=md+496|0;Ab=md+488|0;Ca=md+480|0;La=md+472|0;Ba=md+464|0;Ib=md+456|0;Hb=md+448|0;Sa=md+440|0;Ra=md+432|0;Ka=md+424|0;Aa=md+416|0;mb=md+408|0;ab=md+400|0;Ob=md+392|0;Qa=md+384|0;Ja=md+376|0;Ia=md+368|0;$a=md+360|0;Pa=md+352|0;lb=md+344|0;W=md+336|0;ga=md+328|0;Ga=md+320|0;E=md+312|0;D=md+304|0;pa=md+296|0;C=md+288|0;Na=md+280|0;M=md+272|0;Sc=md+264|0;jc=md+256|0;$b=md+248|0;wb=md+240|0;bb=md+232|0;wa=md+224|0;Xa=md+216|0;Wa=md+208|0;Fa=md+200|0;Xb=md+192|0;za=md+184|0;va=md+176|0;sa=md+168|0;Ma=md+160|0;ya=md+152|0;ra=md+144|0;Ea=md+136|0;ic=md+128|0;da=md+120|0;vb=md+112|0;ba=md+104|0;$=md+96|0;Z=md+88|0;Y=md+80|0;X=md+72|0;fa=md+64|0;L=md+56|0;K=md+48|0;B=md+40|0;A=md+32|0;y=md+24|0;hd=md;Tc=md+1224|0;db=md+1216|0;w=f+4|0;jd=c[w>>2]|0;ld=c[f>>2]|0;kd=24057+(g<<1)+1|0;if((a[kd>>0]|0)==0?ld>>>0>=(c[f+1608>>2]|0)>>>0:0){i=f+8|0;if(ld>>>0>i>>>0?(c[f>>2]=ld+-16,wi(jd,a[ld+2>>0]|0,ld+4|0),h=c[f>>2]|0,h>>>0>i>>>0):0)do{ld=c[w>>2]|0;c[f>>2]=h+-16;wi(ld,a[h+2>>0]|0,h+4|0);h=c[f>>2]|0}while(h>>>0>i>>>0);hg(jd,24011,y);c[w>>2]=jd;l=md;return}a:do switch(g|0){case 0:{a[jd+399>>0]=1;break}case 1:{a[jd+399>>0]=2;break}case 2:{v=c[jd>>2]|0;if(!(a[jd+18>>0]|0)){B=v+73|0;if((a[B>>0]|0)==0?(_c=jd+36|0,(c[_c>>2]|0)==0):0){w=jd+8|0;h=c[w>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[v+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)h=1;else{A=h;id=20}}else{A=h;id=20}if((id|0)==20){x=A+136|0;h=c[x>>2]|0;y=A+12|0;if((c[(c[y>>2]|0)+48>>2]|0)>(h|0)){c[x>>2]=h+1;F=c[A+88>>2]|0;a[F+(h*20|0)>>0]=66;F=F+(h*20|0)+1|0;G=F+19|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0))}else zi(A,66,0,0,0)|0;do if(!(a[B>>0]|0)){u=jd+92|0;j=c[u>>2]|0;if((j|0)==0?(c[jd+76>>2]|0)==0:0)break;i=c[A>>2]|0;if(!(a[i+73>>0]|0))h=c[A+88>>2]|0;else h=46708;c[h+8>>2]=c[x>>2];n=v+20|0;b:do if((c[n>>2]|0)>0){o=A+148|0;p=v+16|0;q=jd+88|0;r=A+88|0;s=v+157|0;t=A+152|0;h=0;while(1){k=1<>2]=c[o>>2]|k;do if((h|0)!=1){if(!(a[(c[(c[i+16>>2]|0)+(h<<4)+4>>2]|0)+9>>0]|0))break;c[t>>2]=c[t>>2]|k}while(0);m=c[(c[p>>2]|0)+(h<<4)+12>>2]|0;j=(c[q>>2]&k|0)!=0&1;k=c[m>>2]|0;m=c[m+4>>2]|0;i=c[x>>2]|0;if((c[(c[y>>2]|0)+48>>2]|0)>(i|0)){c[x>>2]=i+1;id=c[r>>2]|0;a[id+(i*20|0)>>0]=2;b[id+(i*20|0)+2>>1]=0;c[id+(i*20|0)+4>>2]=h;c[id+(i*20|0)+8>>2]=j;c[id+(i*20|0)+12>>2]=k;c[id+(i*20|0)+16>>2]=0;a[id+(i*20|0)+1>>0]=0}else i=zi(A,2,h,j,k)|0;j=c[A>>2]|0;if(!(a[j+73>>0]|0)){id=c[r>>2]|0;a[id+(i*20|0)+1>>0]=-3;c[id+(i*20|0)+16>>2]=m}if(a[s>>0]|0){i=j;break}i=c[x>>2]|0;if((i|0)<=0){i=j;break}b[(c[r>>2]|0)+((i+-1|0)*20|0)+2>>1]=1;i=j}while(0);h=h+1|0;if((h|0)>=(c[n>>2]|0))break b;j=c[u>>2]|0}}while(0);n=jd+404|0;if((c[n>>2]|0)>0){o=jd+452|0;p=A+88|0;m=0;do{h=c[(c[(c[o>>2]|0)+(m<<2)>>2]|0)+64>>2]|0;c:do if(!h)h=0;else while(1){if((c[h>>2]|0)==(v|0))break c;h=c[h+24>>2]|0;if(!h){h=0;break}}while(0);i=c[x>>2]|0;if((c[(c[y>>2]|0)+48>>2]|0)>(i|0)){c[x>>2]=i+1;F=c[p>>2]|0;a[F+(i*20|0)>>0]=-103;F=F+(i*20|0)+1|0;G=F+19|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0))}else i=zi(A,153,0,0,0)|0;do if(!(a[(c[A>>2]|0)+73>>0]|0)){if((i|0)<0)i=(c[x>>2]|0)+-1|0;j=c[p>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(A,j+(i*20|0)|0,h,-12);break}if(!h)break;c[j+(i*20|0)+16>>2]=h;a[k>>0]=-12;id=h+12|0;c[id>>2]=(c[id>>2]|0)+1}while(0);m=m+1|0}while((m|0)<(c[n>>2]|0))}c[n>>2]=0;h=c[w>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0}o=jd+108|0;if((c[o>>2]|0)>0){p=jd+112|0;q=h+136|0;r=h+12|0;s=h+88|0;n=0;do{t=c[p>>2]|0;j=c[t+(n<<4)>>2]|0;k=c[t+(n<<4)+4>>2]|0;m=d[t+(n<<4)+8>>0]|0;t=c[t+(n<<4)+12>>2]|0;i=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(i|0)){c[q>>2]=i+1;id=c[s>>2]|0;a[id+(i*20|0)>>0]=-104;b[id+(i*20|0)+2>>1]=0;c[id+(i*20|0)+4>>2]=j;c[id+(i*20|0)+8>>2]=k;c[id+(i*20|0)+12>>2]=m;c[id+(i*20|0)+16>>2]=0;a[id+(i*20|0)+1>>0]=0}else i=zi(h,152,j,k,m)|0;do if(!(a[(c[h>>2]|0)+73>>0]|0)){if((i|0)<0)i=(c[q>>2]|0)+-1|0;j=c[s>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(h,j+(i*20|0)|0,t,-1);break}if(!t)break;c[j+(i*20|0)+16>>2]=t;a[k>>0]=-1}while(0);n=n+1|0}while((n|0)<(c[o>>2]|0))}n=c[w>>2]|0;h=c[jd+116>>2]|0;d:do if(h|0){o=(c[jd>>2]|0)+16|0;p=n+136|0;q=n+12|0;r=n+88|0;do{m=c[h+8>>2]|0;k=c[h+12>>2]|0;Bi(jd,0,m,c[(c[(c[o>>2]|0)+(m<<4)+12>>2]|0)+72>>2]|0,104);m=k+-1|0;j=c[c[h+4>>2]>>2]|0;i=c[p>>2]|0;if((c[(c[q>>2]|0)+48>>2]|0)>(i|0)){c[p>>2]=i+1;id=c[r>>2]|0;a[id+(i*20|0)>>0]=97;b[id+(i*20|0)+2>>1]=0;c[id+(i*20|0)+4>>2]=0;c[id+(i*20|0)+8>>2]=m;c[id+(i*20|0)+12>>2]=0;c[id+(i*20|0)+16>>2]=0;a[id+(i*20|0)+1>>0]=0}else i=zi(n,97,0,m,0)|0;if(!(a[(c[n>>2]|0)+73>>0]|0)){if((i|0)<0)i=(c[p>>2]|0)+-1|0;Ai(n,(c[r>>2]|0)+(i*20|0)|0,j,0)}i=Ci(n,10,24715)|0;if(!i)break d;c[i+8>>2]=k;id=k+1|0;c[i+12>>2]=id;c[i+52>>2]=k;c[i+64>>2]=m;c[i+72>>2]=k;b[i+62>>1]=16;c[i+88>>2]=id;c[i+112>>2]=k;c[i+168>>2]=k;h=c[h>>2]|0}while((h|0)!=0)}while(0);i=c[jd+76>>2]|0;do if(i|0){a[jd+23>>0]=0;if((c[i>>2]|0)>0)h=0;else break;do{Di(jd,c[i+4+(h*20|0)>>2]|0,c[i+4+(h*20|0)+16>>2]|0);h=h+1|0}while((h|0)<(c[i>>2]|0))}while(0);h=c[x>>2]|0;if((c[(c[y>>2]|0)+48>>2]|0)>(h|0)){c[x>>2]=h+1;id=c[A+88>>2]|0;a[id+(h*20|0)>>0]=13;b[id+(h*20|0)+2>>1]=0;c[id+(h*20|0)+4>>2]=0;c[id+(h*20|0)+8>>2]=1;c[id+(h*20|0)+12>>2]=0;c[id+(h*20|0)+16>>2]=0;a[id+(h*20|0)+1>>0]=0;break}else{zi(A,13,0,1,0)|0;break}}while(0);if((c[_c>>2]|0)==0?(a[B>>0]|0)==0:0){if(c[jd+116>>2]|0?(Zc=jd+40|0,(c[Zc>>2]|0)==0):0)c[Zc>>2]=1;Ei(A,jd);h=101}else h=1}c[jd+12>>2]=h;break a}h=jd+12|0;if(!(c[h>>2]|0))c[h>>2]=1}break}case 3:{i=c[ld+-12>>2]|0;j=c[jd>>2]|0;e:do if(((a[j+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(t=c[j+304>>2]|0,t|0):0)switch(ob[t&255](c[j+308>>2]|0,22,24755,0,0,c[jd+440>>2]|0)|0){case 2:break a;case 0:break e;case 1:{hg(jd,24761,A);c[jd+12>>2]=23;break a}default:{hg(jd,24776,B);c[jd+12>>2]=1;break a}}while(0);h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)break a;else q=h}else q=h;if((i|0)!=7?(Ya=j+20|0,(c[Ya>>2]|0)>0):0){j=(i|0)==9?2:1;k=q+136|0;m=q+12|0;n=q+88|0;o=q+148|0;p=q+152|0;i=0;do{h=c[k>>2]|0;if((c[(c[m>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;jd=c[n>>2]|0;a[jd+(h*20|0)>>0]=2;b[jd+(h*20|0)+2>>1]=0;c[jd+(h*20|0)+4>>2]=i;c[jd+(h*20|0)+8>>2]=j;c[jd+(h*20|0)+12>>2]=0;c[jd+(h*20|0)+16>>2]=0;a[jd+(h*20|0)+1>>0]=0}else zi(q,2,i,j,0)|0;h=1<>2]=c[o>>2]|h;if((i|0)!=1?a[(c[(c[(c[q>>2]|0)+16>>2]|0)+(i<<4)+4>>2]|0)+9>>0]|0:0)c[p>>2]=c[p>>2]|h;i=i+1|0}while((i|0)<(c[Ya>>2]|0))}h=q+136|0;i=c[h>>2]|0;if((c[(c[q+12>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;F=c[q+88>>2]|0;a[F+(i*20|0)>>0]=1;F=F+(i*20|0)+1|0;G=F+19|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0));break a}else{zi(q,1,0,0,0)|0;break a}}case 4:{c[ld+20>>2]=7;break}case 7:case 6:case 5:{c[ld+4>>2]=d[ld+2>>0];break}case 9:case 8:{h=(a[ld+-14>>0]|0)==12;k=h&1;h=h?24799:24808;i=c[jd>>2]|0;f:do if(((a[i+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(H=c[i+304>>2]|0,H|0):0)switch(ob[H&255](c[i+308>>2]|0,22,h,0,0,c[jd+440>>2]|0)|0){case 2:break a;case 0:break f;case 1:{hg(jd,24761,K);c[jd+12>>2]=23;break a}default:{hg(jd,24776,L);c[jd+12>>2]=1;break a}}while(0);h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)break a}i=h+136|0;j=c[i>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;jd=c[h+88>>2]|0;a[jd+(j*20|0)>>0]=1;b[jd+(j*20|0)+2>>1]=0;c[jd+(j*20|0)+4>>2]=1;c[jd+(j*20|0)+8>>2]=k;c[jd+(j*20|0)+12>>2]=0;c[jd+(j*20|0)+16>>2]=0;a[jd+(j*20|0)+1>>0]=0;break a}else{zi(h,1,1,k,0)|0;break a}}case 10:{m=Fi(c[jd>>2]|0,ld+4|0)|0;if(m|0){h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(h|0){k=h;id=148}}else{k=h;id=148}g:do if((id|0)==148){h=c[jd>>2]|0;h:do if(((a[h+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(T=c[h+304>>2]|0,T|0):0)switch(ob[T&255](c[h+308>>2]|0,32,24755,m,0,c[jd+440>>2]|0)|0){case 2:break g;case 0:break h;case 1:{hg(jd,24761,fa);c[jd+12>>2]=23;break g}default:{hg(jd,24776,X);c[jd+12>>2]=1;break g}}while(0);j=k+136|0;h=c[j>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;jd=(c[k+88>>2]|0)+(h*20|0)|0;c[jd>>2]=0;c[jd+4>>2]=0;c[jd+8>>2]=0;c[jd+12>>2]=0;c[jd+16>>2]=0}else h=zi(k,0,0,0,0)|0;i=c[k>>2]|0;if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[j>>2]|0)+-1|0;i=c[k+88>>2]|0;j=i+(h*20|0)+1|0;if(!(a[j>>0]|0)){c[i+(h*20|0)+16>>2]=m;a[j>>0]=-7;break a}else{Ai(k,i+(h*20|0)|0,m,-7);break a}}if(i|0){if(c[i+464>>2]|0){Lc(i,m);break a}jd=m;if(jd>>>0>=(c[i+296>>2]|0)>>>0?jd>>>0<(c[i+300>>2]|0)>>>0:0){jd=i+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}while(0);h=c[jd>>2]|0;if(h|0){if(c[h+464>>2]|0){Lc(h,m);break a}jd=m;if(jd>>>0>=(c[h+296>>2]|0)>>>0?jd>>>0<(c[h+300>>2]|0)>>>0:0){jd=h+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}break}case 11:{m=Fi(c[jd>>2]|0,ld+4|0)|0;if(m|0){h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(h|0){k=h;id=187}}else{k=h;id=187}i:do if((id|0)==187){h=c[jd>>2]|0;j:do if(((a[h+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(U=c[h+304>>2]|0,U|0):0)switch(ob[U&255](c[h+308>>2]|0,32,24815,m,0,c[jd+440>>2]|0)|0){case 2:break i;case 0:break j;case 1:{hg(jd,24761,Y);c[jd+12>>2]=23;break i}default:{hg(jd,24776,Z);c[jd+12>>2]=1;break i}}while(0);j=k+136|0;h=c[j>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;jd=c[k+88>>2]|0;a[jd+(h*20|0)>>0]=0;b[jd+(h*20|0)+2>>1]=0;c[jd+(h*20|0)+4>>2]=1;c[jd+(h*20|0)+8>>2]=0;c[jd+(h*20|0)+12>>2]=0;c[jd+(h*20|0)+16>>2]=0;a[jd+(h*20|0)+1>>0]=0}else h=zi(k,0,1,0,0)|0;i=c[k>>2]|0;if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[j>>2]|0)+-1|0;i=c[k+88>>2]|0;j=i+(h*20|0)+1|0;if(!(a[j>>0]|0)){c[i+(h*20|0)+16>>2]=m;a[j>>0]=-7;break a}else{Ai(k,i+(h*20|0)|0,m,-7);break a}}if(i|0){if(c[i+464>>2]|0){Lc(i,m);break a}jd=m;if(jd>>>0>=(c[i+296>>2]|0)>>>0?jd>>>0<(c[i+300>>2]|0)>>>0:0){jd=i+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}while(0);h=c[jd>>2]|0;if(h|0){if(c[h+464>>2]|0){Lc(h,m);break a}jd=m;if(jd>>>0>=(c[h+296>>2]|0)>>>0?jd>>>0<(c[h+300>>2]|0)>>>0:0){jd=h+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}break}case 12:{m=Fi(c[jd>>2]|0,ld+4|0)|0;if(m|0){h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(h|0){k=h;id=226}}else{k=h;id=226}k:do if((id|0)==226){h=c[jd>>2]|0;l:do if(((a[h+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(V=c[h+304>>2]|0,V|0):0)switch(ob[V&255](c[h+308>>2]|0,32,24799,m,0,c[jd+440>>2]|0)|0){case 2:break k;case 0:break l;case 1:{hg(jd,24761,$);c[jd+12>>2]=23;break k}default:{hg(jd,24776,ba);c[jd+12>>2]=1;break k}}while(0);j=k+136|0;h=c[j>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;jd=c[k+88>>2]|0;a[jd+(h*20|0)>>0]=0;b[jd+(h*20|0)+2>>1]=0;c[jd+(h*20|0)+4>>2]=2;c[jd+(h*20|0)+8>>2]=0;c[jd+(h*20|0)+12>>2]=0;c[jd+(h*20|0)+16>>2]=0;a[jd+(h*20|0)+1>>0]=0}else h=zi(k,0,2,0,0)|0;i=c[k>>2]|0;if(!(a[i+73>>0]|0)){if((h|0)<0)h=(c[j>>2]|0)+-1|0;i=c[k+88>>2]|0;j=i+(h*20|0)+1|0;if(!(a[j>>0]|0)){c[i+(h*20|0)+16>>2]=m;a[j>>0]=-7;break a}else{Ai(k,i+(h*20|0)|0,m,-7);break a}}if(i|0){if(c[i+464>>2]|0){Lc(i,m);break a}jd=m;if(jd>>>0>=(c[i+296>>2]|0)>>>0?jd>>>0<(c[i+300>>2]|0)>>>0:0){jd=i+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}while(0);h=c[jd>>2]|0;if(h|0){if(c[h+464>>2]|0){Lc(h,m);break a}jd=m;if(jd>>>0>=(c[h+296>>2]|0)>>>0?jd>>>0<(c[h+300>>2]|0)>>>0:0){jd=h+292|0;c[m>>2]=c[jd>>2];c[jd>>2]=m;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](m);break a}else{jd=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break a}}break}case 13:{Gi(jd,ld+-12|0,ld+4|0,c[ld+-60>>2]|0,0,0,c[ld+-28>>2]|0);break}case 14:{id=jd+24|0;a[id>>0]=(a[id>>0]|0)+1<<24>>24;jd=(c[jd>>2]|0)+264|0;c[jd>>2]=(c[jd>>2]|0)+1;break}case 212:case 89:case 75:case 66:case 56:case 41:case 21:case 18:case 15:{c[ld+20>>2]=0;break}case 16:{c[ld+-28>>2]=1;break}case 42:case 17:{c[ld+4>>2]=1;break}case 19:{Hi(jd,ld+-28|0,ld+-12|0,c[ld+4>>2]&255,0);break}case 20:{h=ld+4|0;Hi(jd,0,0,0,c[h>>2]|0);h=c[h>>2]|0;if(h|0)Sf(c[jd>>2]|0,h,1);break}case 22:{k=c[ld+8>>2]|0;h=c[ld+4>>2]|0;do if((k|0)==5)if(!h)h=0;else{i=a[h>>0]|0;do if(!(i<<24>>24)){i=24823;id=270}else{hd=i&255;i=17324+hd|0;if((hd|32|0)==114){i=a[h+1>>0]|0;if(!(i<<24>>24)){i=24824;id=270;break}hd=i&255;i=17324+hd|0;if((hd|32|0)==111){i=a[h+2>>0]|0;if(!(i<<24>>24)){i=24825;id=270;break}hd=i&255;i=17324+hd|0;if((hd|32|0)==119){i=a[h+3>>0]|0;if(!(i<<24>>24)){i=24826;id=270;break}hd=i&255;i=17324+hd|0;if((hd|32|0)==105){i=a[h+4>>0]|0;if(!(i<<24>>24)){i=24827;id=270;break}i=i&255;if((i|32|0)==100)break;else{j=100;i=17324+i|0}}else j=105}else j=119}else j=111}else j=114;Za=a[i>>0]|0;Ha=j;id=274}while(0);if((id|0)==270){Za=0;Ha=a[17324+(d[i>>0]|0)>>0]|0;id=274}if((id|0)==274?Za<<24>>24!=Ha<<24>>24:0)break;c[ld+-12>>2]=96;break a}while(0);c[ld+-12>>2]=0;c[vb>>2]=k;c[vb+4>>2]=h;hg(jd,24829,vb);break}case 23:{m=ld+-12|0;t=ld+4|0;r=c[jd>>2]|0;n=c[jd+432>>2]|0;if(n|0){u=n+42|0;if((b[u>>1]|0)>=(c[r+108>>2]|0)){c[da>>2]=c[n>>2];hg(jd,24856,da);break a}k=ld+-8|0;s=ld+8|0;j=(c[k>>2]|0)+2+(c[s>>2]|0)|0;do if(c[r+264>>2]|0)if(!(a[r+73>>0]|0))id=288;else break a;else{if(!(0<0|(0==0?(e[r+268>>1]|0)>>>0>>0:0))){h=r+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];q=r+276|0;c[q>>2]=(c[q>>2]|0)+1;q=i;break}h=r+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];q=r+276|0;c[q>>2]=(c[q>>2]|0)+1;q=i;break}}else h=1;id=r+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=288}while(0);if((id|0)==288)q=Ec(r,j,0)|0;if(q|0){Tt(q|0,c[m>>2]|0,c[k>>2]|0)|0;a[q+(c[k>>2]|0)>>0]=0;h=a[q>>0]|0;if((a[18220+(h&255)>>0]|0)<0){j=h<<24>>24==91?93:h;k=0;h=1;while(1){i=a[q+h>>0]|0;if(i<<24>>24==j<<24>>24){h=h+1|0;i=q+k|0;if((a[q+h>>0]|0)!=j<<24>>24)break;a[i>>0]=j}else a[q+k>>0]=i;k=k+1|0;h=h+1|0}a[i>>0]=0}i=b[u>>1]|0;o=i<<16>>16;p=n+4|0;m:do if(i<<16>>16>0){n=c[p>>2]|0;m=0;while(1){j=c[n+(m<<4)>>2]|0;if(j|0){gd=a[q>>0]|0;h=(d[17324+(gd&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0;if(!(gd<<24>>24==0|(h|0)!=0)){k=q;do{k=k+1|0;j=j+1|0;gd=a[k>>0]|0;h=(d[17324+(gd&255)>>0]|0)-(d[17324+(d[j>>0]|0)>>0]|0)|0}while(!(gd<<24>>24==0|(h|0)!=0))}if(!h)break}m=m+1|0;if((m|0)>=(o|0))break m}c[ic>>2]=q;hg(jd,24879,ic);if(c[r+464>>2]|0){Lc(r,q);break a}jd=q;if(jd>>>0>=(c[r+296>>2]|0)>>>0?jd>>>0<(c[r+300>>2]|0)>>>0:0){jd=r+292|0;c[q>>2]=c[jd>>2];c[jd>>2]=q;break a}if(!(c[2]|0)){pb[c[56>>2]&255](q);break a}else{jd=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break a}}while(0);do if(!(o&7)){h=Mc(r,c[p>>2]|0,(o<<4)+128|0,0)|0;if(h|0){c[p>>2]=h;i=b[u>>1]|0;p=h;break}if(c[r+464>>2]|0){Lc(r,q);break a}jd=q;if(jd>>>0>=(c[r+296>>2]|0)>>>0?jd>>>0<(c[r+300>>2]|0)>>>0:0){jd=r+292|0;c[q>>2]=c[jd>>2];c[jd>>2]=q;break a}if(!(c[2]|0)){pb[c[56>>2]&255](q);break a}else{jd=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break a}}else p=c[p>>2]|0;while(0);o=i<<16>>16;h=p+(o<<4)+4|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[p+(o<<4)>>2]=q;h=c[s>>2]|0;if(!h){a[p+(o<<4)+13>>0]=65;a[p+(o<<4)+14>>0]=1}else{m=q+((As(q)|0)&1073741823)+1|0;Tt(m|0,c[t>>2]|0,h|0)|0;a[m+(c[s>>2]|0)>>0]=0;h=a[m>>0]|0;if((a[18220+(h&255)>>0]|0)<0){j=h<<24>>24==91?93:h;k=0;h=1;while(1){i=a[m+h>>0]|0;if(i<<24>>24==j<<24>>24){h=h+1|0;i=m+k|0;if((a[m+h>>0]|0)!=j<<24>>24)break;a[i>>0]=j}else a[m+k>>0]=i;k=k+1|0;h=h+1|0}a[i>>0]=0;h=a[m>>0]|0}n=p+(o<<4)+14|0;n:do if(h<<24>>24){j=0;i=0;k=h;h=67;do{j=d[17324+(k&255)>>0]|j<<8;m=m+1|0;o:do if((j|0)<1685026146){if((j|0)<1667785074){switch(j|0){case 1651273570:break;default:{id=348;break o}}switch(h&7){case 5:case 3:break;default:{id=347;break o}}k=a[m>>0]|0;i=k<<24>>24==40?m:i;h=65;j=1651273570;break}if((j|0)<1668050786)switch(j|0){case 1667785074:{i=m;h=66;j=1667785074;id=338;break o}default:{id=348;break o}}switch(j|0){case 1668050786:break;default:{id=348;break o}}h=66;id=338}else{if((j|0)>=1919246700)if((j|0)<1952807028){switch(j|0){case 1919246700:break;default:{id=348;break o}}if(h<<24>>24==67){h=69;j=1919246700;id=338;break}else{id=347;break}}else{switch(j|0){case 1952807028:break;default:{id=348;break o}}h=66;id=338;break}if((j|0)<1718382433){switch(j|0){case 1685026146:break;default:{id=348;break o}}if(h<<24>>24==67){h=69;j=1685026146;id=338;break}}else{switch(j|0){case 1718382433:break;default:{id=348;break o}}if(h<<24>>24==67){h=69;j=1718382433;id=338;break}}id=338}while(0);if((id|0)==347)id=338;else if((id|0)==348)if((j&16777215|0)==6909556){h=68;id=349;break n}else id=338;if((id|0)==338){id=0;k=a[m>>0]|0}}while(k<<24>>24!=0);a[n>>0]=1;if(h<<24>>24<67){if(!i){a[n>>0]=5;break}j=a[i>>0]|0;if(j<<24>>24){while(1){if(((j&255)+-48|0)>>>0<10)break;i=i+1|0;j=a[i>>0]|0;if(!(j<<24>>24))break n}c[hd>>2]=0;Pd(i,hd)|0;hd=((c[hd>>2]|0)/4|0)+1|0;a[n>>0]=(hd|0)<255?hd:255}}}else{h=67;id=349}while(0);if((id|0)==349)a[n>>0]=1;a[p+(o<<4)+13>>0]=h;id=p+(o<<4)+15|0;a[id>>0]=a[id>>0]|4}b[u>>1]=(b[u>>1]|0)+1<<16>>16;c[jd+84>>2]=0}}break}case 95:case 59:case 24:{c[ld+24>>2]=0;c[ld+20>>2]=0;break}case 25:{c[ld+-40>>2]=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)-(c[ld+-44>>2]|0);break}case 26:{c[ld+-72>>2]=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)-(c[ld+-76>>2]|0);break}case 27:{c[ld+-8>>2]=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)-(c[ld+-12>>2]|0);break}case 61:case 28:{hd=ld+4|0;id=c[hd+4>>2]|0;jd=jd+80|0;c[jd>>2]=c[hd>>2];c[jd+4>>2]=id;break}case 31:case 29:{Ii(jd,ld+4|0);break}case 30:{Ii(jd,ld+-12|0);break}case 32:{k=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=374;else id=377;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=375;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=375;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=374}while(0);if((id|0)==374){h=Ec(j,48,0)|0;id=375}if((id|0)==375)if(h){F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-108;b[h+34>>1]=-1;if(k|0){c[h+12>>2]=k;c[h+4>>2]=c[k+4>>2]&2097412}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Ea>>2]=i;hg(jd,24905,Ea)}}else id=377;if((id|0)==377)if(!k)h=0;else{Qf(c[jd>>2]|0,k);h=0}c[hd>>2]=h;c[hd+4>>2]=c[ld+-12>>2];c[hd+8>>2]=c[ld+12>>2];Ii(jd,hd);break}case 33:{j=c[jd>>2]|0;o=c[ld+4>>2]|0;p=c[ld+8>>2]|0;k=p+49|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=391;else h=0;else{if(!(0<0|(0==0?(e[j+268>>1]|0)>>>0>>0:0))){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=392;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=392;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=391}while(0);if((id|0)==391){h=Ec(j,k,0)|0;id=392}if((id|0)==392)if(!h)h=0;else{F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=97;i=h+4|0;c[i>>2]=8388608;b[h+34>>1]=-1;j=h+48|0;n=h+8|0;c[n>>2]=j;Tt(j|0,o|0,p|0)|0;a[j+p>>0]=0;n=c[n>>2]|0;j=a[n>>0]|0;if((a[18220+(j&255)>>0]|0)<0){if(j<<24>>24==34)c[i>>2]=c[i>>2]|64;if(n|0?(cb=a[n>>0]|0,(a[18220+(cb&255)>>0]|0)<0):0){k=cb<<24>>24==91?93:cb;m=0;i=1;while(1){j=a[n+i>>0]|0;if(j<<24>>24==k<<24>>24){i=i+1|0;j=n+m|0;if((a[n+i>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[n+m>>0]=j;m=m+1|0;i=i+1|0}a[j>>0]=0}}c[h+24>>2]=1}c[hd>>2]=h;c[hd+4>>2]=o;c[hd+8>>2]=o+p;Ii(jd,hd);break}case 34:{i=c[ld+4>>2]|0;h=c[jd+432>>2]|0;if(h|0?(q=b[h+42>>1]|0,q<<16>>16>=1):0){a[(c[h+4>>2]|0)+((q<<16>>16)+-1<<4)+12>>0]=i;jd=h+36|0;c[jd>>2]=c[jd>>2]|512}break}case 35:{Ki(jd,0,c[ld+-12>>2]|0,c[ld+4>>2]|0,c[ld+-28>>2]|0);break}case 36:{Li(jd,0,0,0,0,c[ld+4>>2]|0,0,0,0,0,1);break}case 37:{h=c[ld+-12>>2]|0;i=c[jd+432>>2]|0;j=c[jd>>2]|0;if((i|0?(a[jd+400>>0]|0)==0:0)?(b[(c[(c[(c[j+16>>2]|0)+(d[j+156>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){id=i+24|0;h=Mi(j,c[id>>2]|0,h)|0;c[id>>2]=h;if(!(c[jd+84>>2]|0))break a;Ni(jd,h,jd+80|0,1);break a}if(h|0)Qf(j,h);break}case 38:{Oi(jd,0,ld+-28|0,c[ld+-12>>2]|0,c[ld+4>>2]|0);break}case 39:{i=c[ld+4>>2]|0;h=c[jd+432>>2]|0;if(h|0?(r=c[h+16>>2]|0,r|0):0)a[r+24>>0]=i;break}case 40:{j=c[jd+432>>2]|0;if(j|0?(la=(b[j+42>>1]|0)+-1|0,O=c[jd>>2]|0,P=Fi(O,ld+4|0)|0,P|0):0){i=c[jd>>2]|0;h=a[i+70>>0]|0;hd=a[i+157>>0]|0;i=Pi(i,h,P,hd&255)|0;do if(!(hd<<24>>24)){if(i|0?c[i+12>>2]|0:0)break;F=Qi(jd,h,i,P)|0;id=429}else{F=i;id=429}while(0);if((id|0)==429?(F|0)==0:0){if(O|0){if(c[O+464>>2]|0){Lc(O,P);break a}jd=P;if(jd>>>0>=(c[O+296>>2]|0)>>>0?jd>>>0<(c[O+300>>2]|0)>>>0:0){jd=O+292|0;c[P>>2]=c[jd>>2];c[jd>>2]=P;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](P);break a}else{jd=jb[c[64>>2]&255](P)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](P);break a}}i=j+4|0;h=c[(c[i>>2]|0)+(la<<4)+8>>2]|0;do if(h|0){if(O|0){if(c[O+464>>2]|0){Lc(O,h);break}jd=h;if(jd>>>0>=(c[O+296>>2]|0)>>>0?jd>>>0<(c[O+300>>2]|0)>>>0:0){jd=O+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[(c[i>>2]|0)+(la<<4)+8>>2]=P;h=c[j+8>>2]|0;if(h|0)do{if((b[c[h+4>>2]>>1]|0)==(la|0))c[c[h+32>>2]>>2]=c[(c[i>>2]|0)+(la<<4)+8>>2];h=c[h+20>>2]|0}while((h|0)!=0)}break}case 43:{c[ld+20>>2]=0;break}case 44:{jd=ld+-12|0;c[jd>>2]=c[jd>>2]&~c[ld+8>>2]|c[ld+4>>2];break}case 45:{c[ld+-12>>2]=0;c[ld+-8>>2]=0;break}case 46:{c[ld+-28>>2]=0;c[ld+-24>>2]=0;break}case 47:{c[ld+-28>>2]=c[ld+4>>2];c[ld+-24>>2]=255;break}case 48:{c[ld+-28>>2]=c[ld+4>>2]<<8;c[ld+-24>>2]=65280;break}case 49:{c[ld+-12>>2]=7;break}case 50:{c[ld+-12>>2]=8;break}case 51:{c[ld+4>>2]=9;break}case 52:{c[ld+4>>2]=6;break}case 53:{c[ld+-12>>2]=0;break}case 54:{c[ld+-28>>2]=0;break}case 143:case 70:case 55:{c[ld+-12>>2]=c[ld+4>>2];break}case 213:case 187:case 184:case 74:case 57:{c[ld+-12>>2]=1;break}case 58:{c[ld+-12>>2]=0;break}case 60:{c[jd+84>>2]=0;break}case 62:{Ki(jd,c[ld+-44>>2]|0,c[ld+4>>2]|0,c[ld+-28>>2]|0,0);break}case 63:{Li(jd,0,0,0,c[ld+-28>>2]|0,c[ld+4>>2]|0,0,0,0,0,1);break}case 64:{h=c[ld+-28>>2]|0;i=c[jd+432>>2]|0;j=c[jd>>2]|0;if((i|0?(a[jd+400>>0]|0)==0:0)?(b[(c[(c[(c[j+16>>2]|0)+(d[j+156>>0]<<4)+4>>2]|0)+4>>2]|0)+22>>1]&1)==0:0){id=i+24|0;h=Mi(j,c[id>>2]|0,h)|0;c[id>>2]=h;if(!(c[jd+84>>2]|0))break a;Ni(jd,h,jd+80|0,1);break a}if(h|0)Qf(j,h);break}case 65:{Oi(jd,c[ld+-92>>2]|0,ld+-44|0,c[ld+-28>>2]|0,c[ld+-12>>2]|0);i=c[ld+4>>2]|0;h=c[jd+432>>2]|0;if(h|0?(s=c[h+16>>2]|0,s|0):0)a[s+24>>0]=i;break}case 69:case 67:{c[ld+20>>2]=10;break}case 68:{c[ld+-28>>2]=c[ld+4>>2];break}case 71:{c[ld+4>>2]=4;break}case 144:case 72:{c[ld+4>>2]=5;break}case 73:{Ri(jd,c[ld+4>>2]|0,0,c[ld+-12>>2]|0);break}case 76:{o=ld+-124|0;k=ld+-60|0;m=ld+-44|0;p=c[ld+-28>>2]|0;q=c[ld+4>>2]|0;h=c[ld+-108>>2]|0;i=c[ld+-76>>2]|0;r=c[jd>>2]|0;if((b[jd+396>>1]|0)<=0){Gi(jd,k,m,h,1,0,i);n=c[jd+432>>2]|0;if(n|0?(c[jd+36>>2]|0)==0:0){j=c[jd>>2]|0;do if(c[ld+-40>>2]|0){if(a[j+157>>0]|0){hg(jd,24989,ya);k=0;break}h=Fi(j,k)|0;i=eg(j,h)|0;do if(h|0){if(c[j+464>>2]|0){Lc(j,h);break}id=h;if(id>>>0>=(c[j+296>>2]|0)>>>0?id>>>0<(c[j+300>>2]|0)>>>0:0){id=j+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);if((i|0)<0){c[Ma>>2]=k;hg(jd,25006,Ma);k=m}else k=m}while(0);i=c[n+72>>2]|0;if(!i)h=-1e6;else{j=c[r+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0}id=c[jd>>2]|0;c[Tc>>2]=jd;id=c[id+16>>2]|0;c[Tc+12>>2]=c[id+(h<<4)>>2];c[Tc+4>>2]=c[id+(h<<4)+12>>2];c[Tc+16>>2]=25026;c[Tc+20>>2]=k;c[Tc+8>>2]=(h|0)==1&1;if((Si(Tc,q)|0)==0?(c[n+12>>2]=Ti(r,q,1)|0,c[n+24>>2]=Ui(r,p,1)|0,(a[r+73>>0]|0)==0):0){i=jd+388|0;h=c[i>>2]|0;i=c[i+4>>2]|0;j=hd;c[j>>2]=h;c[j+4>>2]=i;j=h;if((a[j>>0]|0)!=59){h=j+i|0;c[hd>>2]=h}k=hd+4|0;c[k>>2]=0;j=c[o>>2]|0;h=h-j|0;do{h=h+-1|0;i=j+h|0}while((a[18220+(d[i>>0]|0)>>0]&1)!=0);c[hd>>2]=i;c[k>>2]=1;Hi(jd,0,hd,0,0)}}}else hg(jd,24953,ra);if(q|0)Sf(r,q,1);if(p|0)Rf(r,p);break}case 77:{Ri(jd,c[ld+4>>2]|0,1,c[ld+-12>>2]|0);break}case 78:{c[hd>>2]=c[1224];c[hd+4>>2]=c[1225];c[hd+8>>2]=c[1226];c[hd+12>>2]=c[1227];c[hd+16>>2]=c[1228];c[hd+20>>2]=c[1229];h=ld+4|0;Vi(jd,c[h>>2]|0,hd)|0;h=c[h>>2]|0;if(h|0)Sf(c[jd>>2]|0,h,1);break}case 79:{r=c[ld+4>>2]|0;do if(!r){p=c[jd>>2]|0;h=ld+-12|0;q=c[h>>2]|0;if(q){p:do if((c[q>>2]|0)>0){k=p+464|0;m=p+296|0;n=p+300|0;o=p+292|0;if(!p){j=0;while(1){i=c[q+8+(j<<4)+4>>2]|0;if(i|0)Rf(0,i);i=c[q+8+(j<<4)+8>>2]|0;if(i|0)Sf(0,i,1);i=c[q+8+(j<<4)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);j=j+1|0;if((j|0)>=(c[q>>2]|0))break p}}else j=0;do{i=c[q+8+(j<<4)+4>>2]|0;if(i|0)Rf(p,i);i=c[q+8+(j<<4)+8>>2]|0;if(i|0)Sf(p,i,1);i=c[q+8+(j<<4)>>2]|0;do if(i|0){if(c[k>>2]|0){Lc(p,i);break}jd=i;if(jd>>>0>=(c[m>>2]|0)>>>0?jd>>>0<(c[n>>2]|0)>>>0:0){c[i>>2]=c[o>>2];c[o>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);j=j+1|0}while((j|0)<(c[q>>2]|0))}while(0);if(p|0){if(c[p+464>>2]|0){Lc(p,q);break}jd=q;if(jd>>>0>=(c[p+296>>2]|0)>>>0?jd>>>0<(c[p+300>>2]|0)>>>0:0){jd=p+292|0;c[q>>2]=c[jd>>2];c[jd>>2]=q;break}}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{jd=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}}else{h=ld+-12|0;c[r+60>>2]=c[h>>2];i=c[r+48>>2]|0;if(i){c[r+52>>2]=0;n=r+8|0;c[n>>2]=c[n>>2]|256;k=r;m=0;while(1){m=m+1|0;j=c[i+48>>2]|0;c[i+52>>2]=k;id=i+8|0;c[id>>2]=c[id>>2]|256;if(!j)break;else{k=i;i=j}}if((c[n>>2]&1024|0)==0?(id=c[(c[jd>>2]|0)+116>>2]|0,(id|0)>0&(m|0)>=(id|0)):0)hg(jd,25031,sa)}}while(0);c[h>>2]=r;break}case 80:{h=c[ld+4>>2]|0;p=ld+-28|0;o=c[p>>2]|0;do if(h){i=c[h+48>>2]|0;if(i){c[h+52>>2]=0;n=h+8|0;c[n>>2]=c[n>>2]|256;k=h;m=0;while(1){m=m+1|0;j=c[i+48>>2]|0;c[i+52>>2]=k;hd=i+8|0;c[hd>>2]=c[hd>>2]|256;if(!j)break;else{k=i;i=j}}if((c[n>>2]&1024|0)==0?(hd=c[(c[jd>>2]|0)+116>>2]|0,(hd|0)>0&(m|0)>=(hd|0)):0)hg(jd,25031,va);i=c[jd>>2]|0;j=Wi(i,0,0,0)|0;if(!j){Sf(i,h,1);h=0}else{hd=(c[j>>2]|0)+-1|0;c[j+8+(hd*72|0)+20>>2]=h;c[j+8+(hd*72|0)+48>>2]=0;c[j+8+(hd*72|0)+52>>2]=0;h=j}h=Xi(jd,0,h,0,0,0,0,0,0)|0;if(!h){id=581;break}}i=ld+-12|0;a[h+4>>0]=c[i>>2];c[h+48>>2]=o;if(o|0){hd=o+8|0;c[hd>>2]=c[hd>>2]&-1025}hd=h+8|0;c[hd>>2]=c[hd>>2]&-1025;if((c[i>>2]|0)!=116)a[jd+22>>0]=1}else id=581;while(0);if((id|0)==581)if(!o)h=0;else{Sf(c[jd>>2]|0,o,1);h=0}c[p>>2]=h;break}case 83:case 81:{c[ld+4>>2]=d[ld+2>>0];break}case 82:{c[ld+-12>>2]=116;break}case 84:{c[ld+-124>>2]=Xi(jd,c[ld+-92>>2]|0,c[ld+-76>>2]|0,c[ld+-60>>2]|0,c[ld+-44>>2]|0,c[ld+-28>>2]|0,c[ld+-12>>2]|0,c[ld+-108>>2]|0,c[ld+4>>2]|0)|0;break}case 85:{c[ld+-44>>2]=Xi(jd,c[ld+-12>>2]|0,0,0,0,0,0,512,0)|0;break}case 86:{j=ld+-60|0;h=c[j>>2]|0;i=Xi(jd,c[ld+-12>>2]|0,0,0,0,0,0,1536,0)|0;if(h|0){jd=h+8|0;c[jd>>2]=c[jd>>2]&-1025}if(i){a[i+4>>0]=116;c[i+48>>2]=h;h=i}c[j>>2]=h;break}case 87:{c[ld+4>>2]=1;break}case 88:{c[ld+4>>2]=2;break}case 208:case 203:case 200:case 125:case 118:case 90:{c[ld+20>>2]=0;break}case 91:{h=ld+-28|0;i=Mi(c[jd>>2]|0,c[h>>2]|0,c[ld+-12>>2]|0)|0;c[h>>2]=i;if(c[ld+8>>2]|0){Ni(jd,i,ld+4|0,1);i=c[h>>2]|0}o=c[jd>>2]|0;if(i|0){p=i+4+(((c[i>>2]|0)+-1|0)*20|0)+8|0;h=c[p>>2]|0;do if(h|0){if(o|0){if(c[o+464>>2]|0){Lc(o,h);break}jd=h;if(jd>>>0>=(c[o+296>>2]|0)>>>0?jd>>>0<(c[o+300>>2]|0)>>>0:0){jd=o+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);m=c[ld+-8>>2]|0;n=(c[ld+-4>>2]|0)-m|0;q:do if(m){j=Ft(n|0,((n|0)<0)<<31>>31|0,1,0)|0;k=z;do if(c[o+264>>2]|0)if(!(a[o+73>>0]|0))id=618;else{h=0;break q}else{if(!(0>>0|(0==(k|0)?(e[o+268>>1]|0)>>>0>>0:0))){i=o+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];jd=o+276|0;c[jd>>2]=(c[jd>>2]|0)+1;break}i=o+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];jd=o+276|0;c[jd>>2]=(c[jd>>2]|0)+1;break}}else h=1;id=o+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=618}while(0);if((id|0)==618)h=Ec(o,j,k)|0;if(h){Tt(h|0,m|0,n|0)|0;a[h+n>>0]=0}else h=0}else h=0;while(0);c[p>>2]=h}break}case 92:{id=c[jd>>2]|0;c[hd>>2]=0;c[hd+4>>2]=0;hd=Yi(id,154,hd,0)|0;id=ld+-12|0;c[id>>2]=Mi(c[jd>>2]|0,c[id>>2]|0,hd)|0;break}case 93:{j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=631;else{i=0;m=1}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=632;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=632;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=631}while(0);if((id|0)==631){i=Ec(j,48,0)|0;id=632}if((id|0)==632)if(i){F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=-102;b[i+34>>1]=-1;Ji(i);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i+24>>2]|0)){c[za>>2]=h;hg(jd,24905,za);m=0}else m=0}else{i=0;m=1}n=Yi(c[jd>>2]|0,59,ld+-28|0,1)|0;k=c[jd>>2]|0;do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))id=643;else{h=k;id=647}else{if((e[k+268>>1]|0)>=48){j=k+292|0;h=c[j>>2]|0;if(h|0){c[j>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=644;break}j=k+288|0;h=c[j>>2]|0;if(!h)h=2;else{c[j>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=644;break}}else h=1;id=k+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=643}while(0);if((id|0)==643){h=Ec(k,48,0)|0;id=644}do if((id|0)==644){if(!h){h=c[jd>>2]|0;id=647;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=122;b[h+34>>1]=-1;if(m)i=0;else{c[h+16>>2]=i;i=c[i+4>>2]&2097412;c[h+4>>2]=i}if(n|0){c[h+12>>2]=n;c[h+4>>2]=c[n+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Xb>>2]=i;hg(jd,24905,Xb)}}while(0);if((id|0)==647){if(n|0)Qf(h,n);if(m)h=0;else{Qf(h,i);h=0}}id=ld+-44|0;c[id>>2]=Mi(c[jd>>2]|0,c[id>>2]|0,h)|0;break}case 223:case 222:case 105:case 94:{hd=ld+4|0;id=c[hd+4>>2]|0;jd=ld+-12|0;c[jd>>2]=c[hd>>2];c[jd+4>>2]=id;break}case 96:{j=c[jd>>2]|0;do if(!j){if(!(c[2]|0)){h=jb[c[52>>2]&255](80)|0;id=679;break}h=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){hd=c[11822]|0;jd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;gd=z;c[11616]=(0>(gd|0)|0==(gd|0)&hd>>>0>=jd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(h){i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;id=680}else id=680}else h=0}else{if(c[j+264>>2]|0){if(a[j+73>>0]|0){h=0;break}}else{if((e[j+268>>1]|0)>=80){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=679;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=679;break}}else h=1;jd=j+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(j,80,0)|0;id=679}while(0);if((id|0)==679)if(!h)h=0;else id=680;if((id|0)==680){F=h;G=F+80|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0))}c[ld+20>>2]=h;break}case 97:{i=c[ld+4>>2]|0;c[ld+-12>>2]=i;if(i|0){h=c[i>>2]|0;if((h|0)>1)do{jd=h;h=h+-1|0;a[i+8+(h*72|0)+36>>0]=a[i+8+((jd+-2|0)*72|0)+36>>0]|0}while((h|0)>1);a[i+44>>0]=0}break}case 98:{h=c[ld+-12>>2]|0;if(h|0?(p=c[h>>2]|0,(p|0)>0):0)a[h+8+((p+-1|0)*72|0)+36>>0]=c[ld+4>>2];break}case 99:{c[ld+20>>2]=0;break}case 100:{h=ld+-92|0;j=Zi(jd,c[h>>2]|0,ld+-76|0,ld+-60|0,ld+-44|0,0,c[ld+-12>>2]|0,c[ld+4>>2]|0)|0;c[h>>2]=j;h=ld+-28|0;if(j|0?(G=c[ld+-24>>2]|0,G|0):0){k=(c[j>>2]|0)+-1|0;if((G|0)==1?(c[h>>2]|0)==0:0){h=1;i=-2}else{c[j+8+(k*72|0)+64>>2]=Fi(c[jd>>2]|0,h)|0;h=2;i=-3}jd=j+8+(k*72|0)+37|0;a[jd>>0]=a[jd>>0]&i|h}break}case 101:{i=ld+-124|0;h=Zi(jd,c[i>>2]|0,ld+-108|0,ld+-92|0,ld+-28|0,0,c[ld+-12>>2]|0,c[ld+4>>2]|0)|0;c[i>>2]=h;i=c[ld+-60>>2]|0;if(h|0){jd=(c[h>>2]|0)+-1|0;c[h+8+(jd*72|0)+64>>2]=i;jd=h+8+(jd*72|0)+37|0;a[jd>>0]=a[jd>>0]|4;break a}if(i|0)Rf(c[jd>>2]|0,i);break}case 102:{id=ld+-92|0;c[id>>2]=Zi(jd,c[id>>2]|0,0,0,ld+-28|0,c[ld+-60>>2]|0,c[ld+-12>>2]|0,c[ld+4>>2]|0)|0;break}case 103:{m=ld+-92|0;i=c[m>>2]|0;if((((i|0)==0?(c[ld+-24>>2]|0)==0:0)?(c[ld+-12>>2]|0)==0:0)?(c[ld+4>>2]|0)==0:0){c[m>>2]=c[ld+-60>>2];break a}j=ld+-60|0;k=c[j>>2]|0;h=c[k>>2]|0;if((h|0)==1){h=Zi(jd,i,0,0,ld+-28|0,0,c[ld+-12>>2]|0,c[ld+4>>2]|0)|0;c[m>>2]=h;if(h|0){fd=(c[h>>2]|0)+-1|0;id=c[j>>2]|0;hd=id+16|0;c[h+8+(fd*72|0)+8>>2]=c[hd>>2];gd=id+12|0;c[h+8+(fd*72|0)+4>>2]=c[gd>>2];id=id+28|0;c[h+8+(fd*72|0)+20>>2]=c[id>>2];c[gd>>2]=0;c[hd>>2]=0;c[id>>2]=0}ag(c[jd>>2]|0,c[j>>2]|0);break a}if(k|0){if((h|0)>1)do{id=h;h=h+-1|0;a[k+8+(h*72|0)+36>>0]=a[k+8+((id+-2|0)*72|0)+36>>0]|0}while((h|0)>1);a[k+44>>0]=0}id=Xi(jd,0,k,0,0,0,0,2048,0)|0;c[m>>2]=Zi(jd,c[m>>2]|0,0,0,ld+-28|0,id,c[ld+-12>>2]|0,c[ld+4>>2]|0)|0;break}case 113:case 104:{c[ld+20>>2]=0;c[ld+24>>2]=0;break}case 106:{id=ld+-12|0;c[id>>2]=Wi(c[jd>>2]|0,0,id,ld+4|0)|0;break}case 107:{c[ld+4>>2]=1;break}case 108:{id=ld+-12|0;c[id>>2]=_i(jd,id,0,0)|0;break}case 109:{id=ld+-28|0;c[id>>2]=_i(jd,id,ld+-12|0,0)|0;break}case 110:{id=ld+-44|0;c[id>>2]=_i(jd,id,ld+-28|0,ld+-12|0)|0;break}case 196:case 135:case 128:case 111:{c[ld+-12>>2]=c[ld+4>>2];break}case 199:case 197:case 134:case 129:case 127:case 112:{c[ld+20>>2]=0;break}case 114:{hd=ld+4|0;id=c[hd+4>>2]|0;jd=ld+-28|0;c[jd>>2]=c[hd>>2];c[jd+4>>2]=id;break}case 115:{c[ld+-12>>2]=0;c[ld+-8>>2]=1;break}case 116:{c[ld+-44>>2]=c[ld+-12>>2];break}case 145:case 117:{c[ld+20>>2]=0;break}case 126:case 119:{c[ld+-28>>2]=c[ld+4>>2];break}case 120:{i=ld+-44|0;h=Mi(c[jd>>2]|0,c[i>>2]|0,c[ld+-12>>2]|0)|0;c[i>>2]=h;i=c[ld+4>>2]|0;if(!((h|0)==0|(i|0)<0))a[h+4+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=i;break}case 121:{i=ld+-12|0;h=Mi(c[jd>>2]|0,0,c[i>>2]|0)|0;c[i>>2]=h;i=c[ld+4>>2]|0;if(!((h|0)==0|(i|0)<0))a[h+4+(((c[h>>2]|0)+-1|0)*20|0)+12>>0]=i;break}case 122:{c[ld+4>>2]=0;break}case 123:{c[ld+4>>2]=1;break}case 124:{c[ld+20>>2]=-1;break}case 130:{k=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=743;else id=746;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=744;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=744;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=743}while(0);if((id|0)==743){h=Ec(j,48,0)|0;id=744}if((id|0)==744)if(h){F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-127;b[h+34>>1]=-1;if(k|0){c[h+12>>2]=k;c[h+4>>2]=c[k+4>>2]&2097412}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Fa>>2]=i;hg(jd,24905,Fa)}}else id=746;if((id|0)==746)if(!k)h=0;else{Qf(c[jd>>2]|0,k);h=0}c[ld+-12>>2]=h;break}case 131:{m=c[ld+-28>>2]|0;k=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=760;else{h=j;id=764}else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=761;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=761;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=760}while(0);if((id|0)==760){h=Ec(j,48,0)|0;id=761}do if((id|0)==761){if(!h){h=c[jd>>2]|0;id=764;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-127;b[h+34>>1]=-1;if(!k)i=0;else{c[h+16>>2]=k;i=c[k+4>>2]&2097412;c[h+4>>2]=i}if(m|0){c[h+12>>2]=m;c[h+4>>2]=c[m+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Wa>>2]=i;hg(jd,24905,Wa)}}while(0);if((id|0)==764){if(m|0)Qf(h,m);if(!k)h=0;else{Qf(h,k);h=0}}c[ld+-44>>2]=h;break}case 132:{m=c[ld+4>>2]|0;k=c[ld+-28>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=782;else{h=j;id=786}else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=783;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=783;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=782}while(0);if((id|0)==782){h=Ec(j,48,0)|0;id=783}do if((id|0)==783){if(!h){h=c[jd>>2]|0;id=786;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-127;b[h+34>>1]=-1;if(!k)i=0;else{c[h+16>>2]=k;i=c[k+4>>2]&2097412;c[h+4>>2]=i}if(m|0){c[h+12>>2]=m;c[h+4>>2]=c[m+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Xa>>2]=i;hg(jd,24905,Xa)}}while(0);if((id|0)==786){if(m|0)Qf(h,m);if(!k)h=0;else{Qf(h,k);h=0}}c[ld+-44>>2]=h;break}case 133:{h=c[ld+-76>>2]|0;if(h|0){id=jd+464|0;c[h+4>>2]=c[id>>2];c[id>>2]=h;c[jd+468>>2]=h}k=ld+-28|0;h=c[k>>2]|0;i=ld+-12|0;if(h){j=c[ld+-8>>2]|0;if(j){m=(c[h>>2]|0)+-1|0;if((j|0)==1?(c[i>>2]|0)==0:0){i=1;j=-2}else{c[h+8+(m*72|0)+64>>2]=Fi(c[jd>>2]|0,i)|0;i=2;j=-3}h=h+8+(m*72|0)+37|0;a[h>>0]=a[h>>0]&j|i;h=c[k>>2]|0}}else h=0;$i(jd,h,c[ld+4>>2]|0);break}case 136:{h=c[ld+-108>>2]|0;if(h|0){id=jd+464|0;c[h+4>>2]=c[id>>2];c[id>>2]=h;c[jd+468>>2]=h}m=ld+-60|0;j=c[m>>2]|0;h=ld+-44|0;if(j|0?(Q=c[ld+-40>>2]|0,Q|0):0){k=(c[j>>2]|0)+-1|0;if((Q|0)==1?(c[h>>2]|0)==0:0){h=1;i=-2}else{c[j+8+(k*72|0)+64>>2]=Fi(c[jd>>2]|0,h)|0;h=2;i=-3}id=j+8+(k*72|0)+37|0;a[id>>0]=a[id>>0]&i|h}i=ld+-12|0;h=c[i>>2]|0;if(h){if((c[h>>2]|0)>(c[(c[jd>>2]|0)+108>>2]|0)){c[wa>>2]=25088;hg(jd,25065,wa);h=c[i>>2]|0}}else h=0;aj(jd,c[m>>2]|0,h,c[ld+4>>2]|0,c[ld+-76>>2]|0);break}case 137:{hd=ld+-60|0;id=Mi(c[jd>>2]|0,c[hd>>2]|0,c[ld+4>>2]|0)|0;c[hd>>2]=id;Ni(jd,id,ld+-28|0,1);break}case 138:{id=ld+-92|0;c[id>>2]=bj(jd,c[id>>2]|0,c[ld+-44>>2]|0,c[ld+4>>2]|0)|0;break}case 139:{hd=Mi(c[jd>>2]|0,0,c[ld+4>>2]|0)|0;id=ld+-28|0;Ni(jd,hd,id,1);c[id>>2]=hd;break}case 140:{c[ld+-60>>2]=bj(jd,0,c[ld+-44>>2]|0,c[ld+4>>2]|0)|0;break}case 141:{h=c[ld+-76>>2]|0;if(h|0){id=jd+464|0;c[h+4>>2]=c[id>>2];c[id>>2]=h;c[jd+468>>2]=h}cj(jd,c[ld+-28>>2]|0,c[ld+4>>2]|0,c[ld+-12>>2]|0,c[ld+-60>>2]|0);break}case 142:{h=c[ld+-92>>2]|0;if(h|0){id=jd+464|0;c[h+4>>2]=c[id>>2];c[id>>2]=h;c[jd+468>>2]=h}cj(jd,c[ld+-44>>2]|0,0,c[ld+-28>>2]|0,c[ld+-76>>2]|0);break}case 146:{c[ld+-28>>2]=c[ld+-12>>2];break}case 147:{q=c[jd>>2]|0;r=ld+-28|0;h=c[r>>2]|0;m=ld+4|0;r:do if(!h){do if(!q){if(!(c[2]|0)){h=jb[c[52>>2]&255](8)|0;id=850;break}h=jb[c[68>>2]&255](8)|0;if((c[11829]|0)>>>0<8)c[11829]=8;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){hd=c[11822]|0;jd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;gd=z;c[11616]=(0>(gd|0)|0==(gd|0)&hd>>>0>=jd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h){h=0;break r}i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}else{if(c[q+264>>2]|0){if(a[q+73>>0]|0){h=0;break r}}else{if((e[q+268>>1]|0)>=8){i=q+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=850;break}i=q+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=850;break}}else h=1;jd=q+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(q,8,0)|0;id=850}while(0);if((id|0)==850)if(!h){h=0;break}id=h;jd=id;a[jd>>0]=0;a[jd+1>>0]=0;a[jd+2>>0]=0;a[jd+3>>0]=0;id=id+4|0;a[id>>0]=0;a[id+1>>0]=0;a[id+2>>0]=0;a[id+3>>0]=0;id=852}else id=852;while(0);do if((id|0)==852){i=c[h>>2]|0;p=h+4|0;k=c[p>>2]|0;if(!(k+-1&k)){jd=(k|0)==0;j=k<<4;j=Mc(q,i,jd?8:j,jd?0:((j|0)<0)<<31>>31)|0;if(!j){c[h>>2]=i;j=c[p>>2]|0}else{i=j;id=855}}else id=855;if((id|0)==855){j=i+(k<<3)|0;jd=j;a[jd>>0]=0;a[jd+1>>0]=0;a[jd+2>>0]=0;a[jd+3>>0]=0;j=j+4|0;a[j>>0]=0;a[j+1>>0]=0;a[j+2>>0]=0;a[j+3>>0]=0;j=(c[p>>2]|0)+1|0;c[p>>2]=j;c[h>>2]=i;if((k|0)>=0){jd=Fi(q,m)|0;c[(c[h>>2]|0)+(k<<3)>>2]=jd;break}}s:do if((j|0)>0){k=q+464|0;m=q+296|0;n=q+300|0;o=q+292|0;if(!q){j=0;while(1){i=c[i+(j<<3)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);j=j+1|0;i=c[h>>2]|0;if((j|0)>=(c[p>>2]|0))break s}}else j=0;do{i=c[i+(j<<3)>>2]|0;do if(i|0){if(c[k>>2]|0){Lc(q,i);break}jd=i;if(jd>>>0>=(c[m>>2]|0)>>>0?jd>>>0<(c[n>>2]|0)>>>0:0){c[i>>2]=c[o>>2];c[o>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);j=j+1|0;i=c[h>>2]|0}while((j|0)<(c[p>>2]|0))}while(0);t:do if(i){do if(q|0){j=q+464|0;if(!(c[j>>2]|0)){k=i;if(k>>>0<(c[q+296>>2]|0)>>>0)break;if(k>>>0>=(c[q+300>>2]|0)>>>0)break;jd=q+292|0;c[i>>2]=c[jd>>2];c[jd>>2]=i}else Lc(q,i);i=j;id=886;break t}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);id=884;break}else{id=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);id=884;break}}else id=884;while(0);if((id|0)==884)if(q){i=q+464|0;id=886}if((id|0)==886){if(c[i>>2]|0){Lc(q,h);h=0;break}jd=h;if(jd>>>0>=(c[q+296>>2]|0)>>>0?jd>>>0<(c[q+300>>2]|0)>>>0:0){jd=q+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;h=0;break}}if(h)if(!(c[2]|0)){pb[c[56>>2]&255](h);h=0;break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);h=0;break}else h=0}while(0);c[r>>2]=h;break}case 148:{m=c[jd>>2]|0;n=ld+4|0;do if(!m){if(!(c[2]|0)){h=jb[c[52>>2]&255](8)|0;id=918;break}h=jb[c[68>>2]&255](8)|0;if((c[11829]|0)>>>0<8)c[11829]=8;k=46456;i=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&i>>>0>0){hd=c[11822]|0;jd=Gt(i|0,k|0,h|0,((h|0)<0)<<31>>31|0)|0;gd=z;c[11616]=(0>(gd|0)|0==(gd|0)&hd>>>0>=jd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(h){i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;id=919}else id=919}else h=0}else{if(c[m+264>>2]|0){if(a[m+73>>0]|0){h=0;break}}else{if((e[m+268>>1]|0)>=8){i=m+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=m+276|0;c[id>>2]=(c[id>>2]|0)+1;id=918;break}i=m+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=m+276|0;c[id>>2]=(c[id>>2]|0)+1;id=918;break}}else h=1;jd=m+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(m,8,0)|0;id=918}while(0);if((id|0)==918)if(!h)h=0;else id=919;do if((id|0)==919){k=h;jd=k;a[jd>>0]=0;a[jd+1>>0]=0;a[jd+2>>0]=0;a[jd+3>>0]=0;k=k+4|0;a[k>>0]=0;a[k+1>>0]=0;a[k+2>>0]=0;a[k+3>>0]=0;k=h+4|0;do if(c[m+264>>2]|0){if(!(a[m+73>>0]|0))id=927}else{if((e[m+268>>1]|0)>=8){i=m+292|0;j=c[i>>2]|0;if(j|0){c[i>>2]=c[j>>2];id=m+276|0;c[id>>2]=(c[id>>2]|0)+1;id=928;break}i=m+288|0;j=c[i>>2]|0;if(!j)i=2;else{c[i>>2]=c[j>>2];id=m+276|0;c[id>>2]=(c[id>>2]|0)+1;id=928;break}}else i=1;id=m+276+(i<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=927}while(0);if((id|0)==927){j=Ec(m,8,0)|0;id=928}if((id|0)==928?j|0:0){jd=j;id=jd;a[id>>0]=0;a[id+1>>0]=0;a[id+2>>0]=0;a[id+3>>0]=0;jd=jd+4|0;a[jd>>0]=0;a[jd+1>>0]=0;a[jd+2>>0]=0;a[jd+3>>0]=0;c[k>>2]=(c[k>>2]|0)+1;c[h>>2]=j;jd=Fi(m,n)|0;c[c[h>>2]>>2]=jd;break}c[h>>2]=0;if(c[m+464>>2]|0){Lc(m,h);h=0;break}jd=h;if(jd>>>0>=(c[m+296>>2]|0)>>>0?jd>>>0<(c[m+300>>2]|0)>>>0:0){jd=m+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;h=0;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);h=0;break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);h=0;break}}while(0);c[n>>2]=h;break}case 149:{jd=ld+-28|0;hd=c[ld+4>>2]|0;id=c[ld+8>>2]|0;c[ld+-24>>2]=c[jd>>2];c[ld+-20>>2]=hd+id;c[jd>>2]=c[ld+-12>>2];break}case 151:case 150:{r=ld+4|0;j=c[jd>>2]|0;o=c[r>>2]|0;p=ld+8|0;q=c[p>>2]|0;k=q+49|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=948;else h=0;else{if(!(0<0|(0==0?(e[j+268>>1]|0)>>>0>>0:0))){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=949;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=949;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=948}while(0);if((id|0)==948){h=Ec(j,k,0)|0;id=949}if((id|0)==949)if(!h)h=0;else{F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=59;i=h+4|0;c[i>>2]=8388608;b[h+34>>1]=-1;j=h+48|0;n=h+8|0;c[n>>2]=j;Tt(j|0,o|0,q|0)|0;a[j+q>>0]=0;n=c[n>>2]|0;j=a[n>>0]|0;if((a[18220+(j&255)>>0]|0)<0){if(j<<24>>24==34)c[i>>2]=c[i>>2]|64;if(n|0?(xb=a[n>>0]|0,(a[18220+(xb&255)>>0]|0)<0):0){k=xb<<24>>24==91?93:xb;m=0;i=1;while(1){j=a[n+i>>0]|0;if(j<<24>>24==k<<24>>24){i=i+1|0;j=n+m|0;if((a[n+i>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[n+m>>0]=j;m=m+1|0;i=i+1|0}a[j>>0]=0}}c[h+24>>2]=1}c[r>>2]=h;c[p>>2]=o;c[ld+12>>2]=o+q;break}case 152:{n=ld+-28|0;m=Yi(c[jd>>2]|0,59,n,1)|0;id=ld+4|0;k=Yi(c[jd>>2]|0,59,id,1)|0;id=c[id>>2]|0;j=c[ld+8>>2]|0;c[ld+-24>>2]=c[n>>2];c[ld+-20>>2]=id+j;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=972;else{h=j;id=976}else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=973;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=973;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=972}while(0);if((id|0)==972){h=Ec(j,48,0)|0;id=973}do if((id|0)==973){if(!h){h=c[jd>>2]|0;id=976;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=122;b[h+34>>1]=-1;if(!k)i=0;else{c[h+16>>2]=k;i=c[k+4>>2]&2097412;c[h+4>>2]=i}if(m|0){c[h+12>>2]=m;c[h+4>>2]=c[m+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[bb>>2]=i;hg(jd,24905,bb)}}while(0);if((id|0)==976){if(m|0)Qf(h,m);if(!k)h=0;else{Qf(h,k);h=0}}c[n>>2]=h;break}case 153:{p=ld+-60|0;o=Yi(c[jd>>2]|0,59,p,1)|0;m=Yi(c[jd>>2]|0,59,ld+-28|0,1)|0;n=ld+4|0;k=Yi(c[jd>>2]|0,59,n,1)|0;h=c[jd>>2]|0;do if(c[h+264>>2]|0)if(!(a[h+73>>0]|0))id=994;else id=998;else{if((e[h+268>>1]|0)>=48){i=h+292|0;j=c[i>>2]|0;if(j|0){c[i>>2]=c[j>>2];id=h+276|0;c[id>>2]=(c[id>>2]|0)+1;id=995;break}i=h+288|0;j=c[i>>2]|0;if(!j)i=2;else{c[i>>2]=c[j>>2];id=h+276|0;c[id>>2]=(c[id>>2]|0)+1;id=995;break}}else i=1;id=h+276+(i<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=994}while(0);if((id|0)==994){j=Ec(h,48,0)|0;id=995}do if((id|0)==995){if(!j){h=c[jd>>2]|0;id=998;break}F=j;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[j>>0]=122;b[j+34>>1]=-1;if(!k)h=0;else{c[j+16>>2]=k;h=c[k+4>>2]&2097412;c[j+4>>2]=h}if(m|0){c[j+12>>2]=m;c[j+4>>2]=c[m+4>>2]&2097412|h}Ji(j);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[j+24>>2]|0)){c[wb>>2]=h;hg(jd,24905,wb);m=0}else m=0}while(0);if((id|0)==998){if(m|0)Qf(h,m);if(!k){j=0;m=1}else{Qf(h,k);j=0;m=1}}id=c[n>>2]|0;k=c[ld+8>>2]|0;c[ld+-56>>2]=c[p>>2];c[ld+-52>>2]=id+k;k=c[jd>>2]|0;do if(c[k+264>>2]|0)if(!(a[k+73>>0]|0))id=1015;else{h=k;id=1019}else{if((e[k+268>>1]|0)>=48){i=k+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1016;break}i=k+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1016;break}}else h=1;id=k+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1015}while(0);if((id|0)==1015){h=Ec(k,48,0)|0;id=1016}do if((id|0)==1016){if(!h){h=c[jd>>2]|0;id=1019;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=122;b[h+34>>1]=-1;if(m)i=0;else{c[h+16>>2]=j;i=c[j+4>>2]&2097412;c[h+4>>2]=i}if(o|0){c[h+12>>2]=o;c[h+4>>2]=c[o+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[$b>>2]=i;hg(jd,24905,$b)}}while(0);if((id|0)==1019){if(o|0)Qf(h,o);if(m)h=0;else{Qf(h,j);h=0}}c[p>>2]=h;break}case 155:case 154:{r=ld+4|0;m=a[ld+2>>0]|0;j=c[jd>>2]|0;o=c[r>>2]|0;p=ld+8|0;q=c[p>>2]|0;k=q+49|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1037;else h=0;else{if(!(0<0|(0==0?(e[j+268>>1]|0)>>>0>>0:0))){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1038;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1038;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1037}while(0);if((id|0)==1037){h=Ec(j,k,0)|0;id=1038}if((id|0)==1038)if(!h)h=0;else{F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=m;i=h+4|0;c[i>>2]=8388608;b[h+34>>1]=-1;j=h+48|0;n=h+8|0;c[n>>2]=j;Tt(j|0,o|0,q|0)|0;a[j+q>>0]=0;n=c[n>>2]|0;j=a[n>>0]|0;if((a[18220+(j&255)>>0]|0)<0){if(j<<24>>24==34)c[i>>2]=c[i>>2]|64;if(n|0?(Eb=a[n>>0]|0,(a[18220+(Eb&255)>>0]|0)<0):0){k=Eb<<24>>24==91?93:Eb;m=0;i=1;while(1){j=a[n+i>>0]|0;if(j<<24>>24==k<<24>>24){i=i+1|0;j=n+m|0;if((a[n+i>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[n+m>>0]=j;m=m+1|0;i=i+1|0}a[j>>0]=0}}c[h+24>>2]=1}c[r>>2]=h;c[p>>2]=o;c[ld+12>>2]=o+q;break}case 156:{gd=ld+4|0;fd=Yi(c[jd>>2]|0,134,gd,1)|0;hd=c[gd>>2]|0;id=ld+8|0;jd=hd+(c[id>>2]|0)|0;c[gd>>2]=fd;c[id>>2]=hd;c[ld+12>>2]=jd;break}case 157:{q=ld+4|0;p=c[q>>2]|0;if((a[p>>0]|0)==35?((d[p+1>>0]|0)+-48|0)>>>0<10:0){gd=q;fd=c[gd>>2]|0;gd=c[gd+4>>2]|0;k=hd;c[k>>2]=fd;c[k+4>>2]=gd;k=fd;c[ld+8>>2]=fd;c[ld+12>>2]=k+gd;do if(!(a[jd+18>>0]|0)){c[M>>2]=hd;hg(jd,24033,M);c[q>>2]=0}else{j=c[jd>>2]|0;do if(c[j+264>>2]|0){if(!(a[j+73>>0]|0))id=1126}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];ja=j+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=i;id=1127;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];ja=j+276|0;c[ja>>2]=(c[ja>>2]|0)+1;ja=i;id=1127;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1126}while(0);if((id|0)==1126){ja=Ec(j,48,0)|0;id=1127}if((id|0)==1127?ja|0:0){F=ja;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[ja>>0]=-106;b[ja+34>>1]=-1;Ji(ja);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[ja+24>>2]|0)){c[Na>>2]=h;hg(jd,24905,Na)}c[q>>2]=ja;Pd(k+1|0,ja+28|0)|0;break}c[q>>2]=0}while(0);break a}o=ld+8|0;u=c[o>>2]|0;j=c[jd>>2]|0;k=u+49|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1064;else t=0;else{if(!(0<0|(0==0?(e[j+268>>1]|0)>>>0>>0:0))){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1065;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1065;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1064}while(0);if((id|0)==1064){i=Ec(j,k,0)|0;id=1065}if((id|0)==1065)if(!i)t=0;else{F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=-121;h=i+4|0;c[h>>2]=8388608;b[i+34>>1]=-1;j=i+48|0;n=i+8|0;c[n>>2]=j;Tt(j|0,p|0,u|0)|0;a[j+u>>0]=0;n=c[n>>2]|0;j=a[n>>0]|0;if((a[18220+(j&255)>>0]|0)<0){if(j<<24>>24==34)c[h>>2]=c[h>>2]|64;if(n|0?(yb=a[n>>0]|0,(a[18220+(yb&255)>>0]|0)<0):0){k=yb<<24>>24==91?93:yb;m=0;h=1;while(1){j=a[n+h>>0]|0;if(j<<24>>24==k<<24>>24){h=h+1|0;j=n+m|0;if((a[n+h>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[n+m>>0]=j;m=m+1|0;h=h+1|0}a[j>>0]=0}}c[i+24>>2]=1;t=i}c[q>>2]=t;c[o>>2]=p;c[ld+12>>2]=p+u;s=c[jd>>2]|0;if(t|0){r=c[t+8>>2]|0;h=r+1|0;id=a[h>>0]|0;i=id<<24>>24;u:do if(!(id<<24>>24)){id=jd+396|0;h=(b[id>>1]|0)+1<<16>>16;b[id>>1]=h}else{if((a[r>>0]|0)==63){if((u|0)==2){j=i+-48|0;i=((j|0)<0)<<31>>31;h=hd;c[h>>2]=j;c[h+4>>2]=i;h=0}else{h=(ef(h,hd,u+-1|0,1)|0)!=0;j=hd;i=c[j+4>>2]|0;j=c[j>>2]|0}k=c[s+136>>2]|0;id=((k|0)<0)<<31>>31;if(h|((i|0)<0|(i|0)==0&j>>>0<1)|((i|0)>(id|0)|(i|0)==(id|0)&j>>>0>k>>>0)){c[jc>>2]=k;hg(jd,25097,jc);break a}h=j&65535;i=jd+396|0;v:do if(h<<16>>16<=(b[i>>1]|0)){m=h<<16>>16;j=jd+420|0;i=c[j>>2]|0;if(i){n=c[i+4>>2]|0;k=2;while(1){if((c[i+(k<<2)>>2]|0)==(m|0))break;k=(c[i+(k+1<<2)>>2]|0)+k|0;if((k|0)>=(n|0))break v}if(i+(k+2<<2)|0)break u}else i=0}else{b[i>>1]=h;i=jd+420|0;j=i;i=c[i>>2]|0}while(0)}else{j=jd+420|0;i=c[j>>2]|0;w:do if(i|0){m=c[i+4>>2]|0;h=2;while(1){k=i+(h+2<<2)|0;if((Ms(k,r,u)|0)==0?(a[k+u>>0]|0)==0:0)break;h=(c[i+(h+1<<2)>>2]|0)+h|0;if((h|0)>=(m|0))break w}h=c[i+(h<<2)>>2]|0;if(h&65535|0){h=h&65535;break u}}while(0);id=jd+396|0;h=(b[id>>1]|0)+1<<16>>16;b[id>>1]=h}p=h<<16>>16;q=((u|0)/4|0)+3|0;o=(i|0)==0;if(!o){k=c[i+4>>2]|0;m=c[i>>2]|0;if((k+q|0)>(m|0)){k=m<<1;id=1106}else id=1111}else{k=10;id=1106}if((id|0)==1106){m=k+q|0;n=Mc(s,i,m<<2,0)|0;if(n){i=n+4|0;if(o){c[i>>2]=2;k=2}else k=c[i>>2]|0;c[n>>2]=m;i=n;id=1111}}if((id|0)==1111){c[i+(k<<2)>>2]=p;c[i+(k+1<<2)>>2]=q;id=i+(k+2<<2)|0;c[i+4>>2]=k+q;Tt(id|0,r|0,u|0)|0;a[id+u>>0]=0}c[j>>2]=i}while(0);b[t+32>>1]=h;if((h<<16>>16|0)>(c[s+136>>2]|0))hg(jd,25140,Sc)}break}case 158:{i=ld+-28|0;h=c[i>>2]|0;j=ld+4|0;k=ld+8|0;if((c[k>>2]|0)!=0?(N=Yi(c[jd>>2]|0,94,j,1)|0,(N|0)!=0):0){c[N+12>>2]=h;h=N+4|0;c[h>>2]=c[h>>2]|4352;h=N}c[i>>2]=h;c[ld+-20>>2]=(c[j>>2]|0)+(c[k>>2]|0);break}case 159:{h=ld+-76|0;i=c[ld+4>>2]|0;k=c[ld+8>>2]|0;c[ld+-72>>2]=c[h>>2];c[ld+-68>>2]=i+k;k=Yi(c[jd>>2]|0,36,ld+-12|0,1)|0;c[h>>2]=k;h=c[jd>>2]|0;i=c[ld+-44>>2]|0;j=(i|0)==0;if(!k){if(j)break a;Qf(h,i);break a}if(!j){c[k+12>>2]=i;jd=k+4|0;c[jd>>2]=c[jd>>2]|c[i+4>>2]&2097412}Ji(k);break}case 160:{h=ld+-12|0;i=c[h>>2]|0;if(i)if((c[i>>2]|0)>(c[(c[jd>>2]|0)+124>>2]|0)){c[C>>2]=ld+-60;hg(jd,25163,C);k=jd;i=c[h>>2]|0}else k=jd;else{k=jd;i=0}m=ld+-60|0;j=c[k>>2]|0;h=Yi(j,144,m,1)|0;if(!h)if(!i)h=0;else{Rf(j,i);h=0}else{c[h+20>>2]=i;id=h+4|0;c[id>>2]=c[id>>2]|4;if((c[jd+36>>2]|0)==0?(Ji(h),ma=c[(c[k>>2]|0)+112>>2]|0,(ma|0)<(c[h+24>>2]|0)):0){c[pa>>2]=ma;hg(jd,24905,pa)}}i=c[m>>2]|0;j=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)|0;if(!((h|0)==0?1:(c[ld+-28>>2]|0)!=1)){jd=h+4|0;c[jd>>2]=c[jd>>2]|16}c[m>>2]=h;c[ld+-56>>2]=i;c[ld+-52>>2]=j;break}case 161:{i=ld+-44|0;h=Yi(c[jd>>2]|0,144,i,1)|0;if(h){c[h+20>>2]=0;id=h+4|0;c[id>>2]=c[id>>2]|4;if((c[jd+36>>2]|0)==0?(Ji(h),u=c[(c[jd>>2]|0)+112>>2]|0,(u|0)<(c[h+24>>2]|0)):0){c[D>>2]=u;hg(jd,24905,D)}}else h=0;id=c[i>>2]|0;jd=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)|0;c[i>>2]=h;c[ld+-40>>2]=id;c[ld+-36>>2]=jd;break}case 162:{i=ld+4|0;h=Yi(c[jd>>2]|0,144,i,1)|0;if(h){c[h+20>>2]=0;id=h+4|0;c[id>>2]=c[id>>2]|4;if((c[jd+36>>2]|0)==0?(Ji(h),v=c[(c[jd>>2]|0)+112>>2]|0,(v|0)<(c[h+24>>2]|0)):0){c[E>>2]=v;hg(jd,24905,E)}}else h=0;hd=c[i>>2]|0;id=ld+8|0;jd=hd+(c[id>>2]|0)|0;c[i>>2]=h;c[id>>2]=hd;c[ld+12>>2]=jd;break}case 163:{k=Mi(c[jd>>2]|0,c[ld+-44>>2]|0,c[ld+-12>>2]|0)|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1174;else id=1179;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1175;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1175;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1174}while(0);if((id|0)==1174){h=Ec(j,48,0)|0;id=1175}if((id|0)==1175)if(!h)id=1179;else{F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-105;b[h+34>>1]=-1;Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Ga>>2]=i;hg(jd,24905,Ga)}c[h+20>>2]=k;i=c[ld+-60>>2]|0;j=(c[ld+4>>2]|0)+(c[ld+8>>2]|0)|0}if((id|0)==1179)if(!k){i=0;j=0;h=0}else{Rf(c[jd>>2]|0,k);i=0;j=0;h=0}c[ld+-60>>2]=h;c[ld+-56>>2]=i;c[ld+-52>>2]=j;break}case 171:case 170:case 169:case 168:case 167:case 166:case 165:case 164:{dj(jd,d[ld+-14>>0]|0,ld+-28|0,ld+4|0);break}case 172:{hd=ld+4|0;jd=c[hd+4>>2]|0;id=ld+-12|0;c[id>>2]=c[hd>>2];c[id+4>>2]=jd;c[ld+-8>>2]=jd|-2147483648;break}case 173:{i=ld+-8|0;m=c[i>>2]|0;k=m&-2147483648;c[i>>2]=m&2147483647;i=Mi(c[jd>>2]|0,0,c[ld+4>>2]|0)|0;m=ld+-28|0;i=Mi(c[jd>>2]|0,i,c[m>>2]|0)|0;j=c[jd>>2]|0;h=Yi(j,144,ld+-12|0,1)|0;if(!h)if(!i)h=0;else{Rf(j,i);h=0}else{c[h+20>>2]=i;id=h+4|0;c[id>>2]=c[id>>2]|4;if((c[jd+36>>2]|0)==0?(Ji(h),R=c[(c[jd>>2]|0)+112>>2]|0,(R|0)<(c[h+24>>2]|0)):0){c[ga>>2]=R;hg(jd,24905,ga)}}c[m>>2]=h;ej(jd,k,m);c[ld+-20>>2]=c[ld+12>>2];h=c[m>>2]|0;if(h|0){jd=h+4|0;c[jd>>2]=c[jd>>2]|128}break}case 174:{i=ld+-40|0;m=c[i>>2]|0;k=m&-2147483648;c[i>>2]=m&2147483647;i=Mi(c[jd>>2]|0,0,c[ld+-28>>2]|0)|0;m=ld+-60|0;i=Mi(c[jd>>2]|0,i,c[m>>2]|0)|0;i=Mi(c[jd>>2]|0,i,c[ld+4>>2]|0)|0;j=c[jd>>2]|0;h=Yi(j,144,ld+-44|0,1)|0;if(!h)if(!i)h=0;else{Rf(j,i);h=0}else{c[h+20>>2]=i;id=h+4|0;c[id>>2]=c[id>>2]|4;if((c[jd+36>>2]|0)==0?(Ji(h),S=c[(c[jd>>2]|0)+112>>2]|0,(S|0)<(c[h+24>>2]|0)):0){c[W>>2]=S;hg(jd,24905,W)}}c[m>>2]=h;ej(jd,k,m);c[ld+-52>>2]=c[ld+12>>2];h=c[m>>2]|0;if(h|0){jd=h+4|0;c[jd>>2]=c[jd>>2]|128}break}case 175:{m=a[ld+2>>0]|0;n=ld+4|0;o=ld+-12|0;h=c[o>>2]|0;i=c[jd>>2]|0;if(m<<24>>24==44?(c[jd+36>>2]|0)==0:0)if(!h)h=0;else id=1218;else id=1203;do if((id|0)==1203){do if(c[i+264>>2]|0){if(!(a[i+73>>0]|0))id=1211}else{if((e[i+268>>1]|0)>=48){j=i+292|0;k=c[j>>2]|0;if(k|0){c[j>>2]=c[k>>2];ka=i+276|0;c[ka>>2]=(c[ka>>2]|0)+1;ka=k;id=1212;break}j=i+288|0;k=c[j>>2]|0;if(!k)j=2;else{c[j>>2]=c[k>>2];ka=i+276|0;c[ka>>2]=(c[ka>>2]|0)+1;ka=k;id=1212;break}}else j=1;id=i+276+(j<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1211}while(0);if((id|0)==1211){ka=Ec(i,48,0)|0;id=1212}if((id|0)==1212?ka|0:0){F=ka;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[ka>>0]=m;b[ka+34>>1]=-1;if(h|0){c[ka+12>>2]=h;c[ka+4>>2]=c[h+4>>2]&2097412}Ji(ka);h=ka;i=c[jd>>2]|0;id=1218;break}if(!h)h=0;else{Qf(c[jd>>2]|0,h);h=0}}while(0);if((id|0)==1218){i=c[i+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[lb>>2]=i;hg(jd,24905,lb)}}c[o>>2]=h;c[ld+-4>>2]=(c[n>>2]|0)+(c[ld+8>>2]|0);break}case 176:{m=ld+4|0;n=ld+-28|0;k=c[n>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1229;else id=1234;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1230;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1230;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1229}while(0);if((id|0)==1229){h=Ec(j,48,0)|0;id=1230}if((id|0)==1230)if(h){F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=51;b[h+34>>1]=-1;if(k|0){c[h+12>>2]=k;c[h+4>>2]=c[k+4>>2]&2097412}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Pa>>2]=i;hg(jd,24905,Pa)}}else id=1234;if((id|0)==1234)if(!k)h=0;else{Qf(c[jd>>2]|0,k);h=0}c[n>>2]=h;c[ld+-20>>2]=(c[m>>2]|0)+(c[ld+8>>2]|0);break}case 177:{h=ld+-28|0;id=ld+4|0;dj(jd,45,h,id);id=c[id>>2]|0;h=c[h>>2]|0;j=c[jd>>2]|0;if((id|0)!=0&(h|0)!=0?(a[id>>0]|0)==101:0){a[h>>0]=50;h=h+16|0;i=c[h>>2]|0;if(i|0)Qf(j,i);c[h>>2]=0}break}case 178:{h=ld+-44|0;id=ld+4|0;dj(jd,143,h,id);id=c[id>>2]|0;h=c[h>>2]|0;j=c[jd>>2]|0;if((id|0)!=0&(h|0)!=0?(a[id>>0]|0)==101:0){a[h>>0]=51;h=h+16|0;i=c[h>>2]|0;if(i|0)Qf(j,i);c[h>>2]=0}break}case 180:case 179:{n=ld+-12|0;m=a[ld+-14>>0]|0;c[ld+-8>>2]=c[n>>2];h=c[ld+4>>2]|0;i=c[jd>>2]|0;if(m<<24>>24==44?(c[jd+36>>2]|0)==0:0)if(!h)h=0;else id=1266;else id=1251;do if((id|0)==1251){do if(c[i+264>>2]|0){if(!(a[i+73>>0]|0))id=1259}else{if((e[i+268>>1]|0)>=48){j=i+292|0;k=c[j>>2]|0;if(k|0){c[j>>2]=c[k>>2];id=i+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1260;break}j=i+288|0;k=c[j>>2]|0;if(!k)j=2;else{c[j>>2]=c[k>>2];id=i+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1260;break}}else j=1;id=i+276+(j<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1259}while(0);if((id|0)==1259){k=Ec(i,48,0)|0;id=1260}if((id|0)==1260?k|0:0){F=k;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[k>>0]=m;b[k+34>>1]=-1;if(h|0){c[k+12>>2]=h;c[k+4>>2]=c[h+4>>2]&2097412}Ji(k);h=k;i=c[jd>>2]|0;id=1266;break}if(!h)h=0;else{Qf(c[jd>>2]|0,h);h=0}}while(0);if((id|0)==1266){i=c[i+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[$a>>2]=i;hg(jd,24905,$a)}}c[n>>2]=h;c[ld+-4>>2]=c[ld+12>>2];break}case 181:{m=ld+-12|0;c[ld+-8>>2]=c[m>>2];k=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1277;else id=1282;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1278;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1278;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1277}while(0);if((id|0)==1277){h=Ec(j,48,0)|0;id=1278}if((id|0)==1278)if(h){F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-108;b[h+34>>1]=-1;if(k|0){c[h+12>>2]=k;c[h+4>>2]=c[k+4>>2]&2097412}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Ia>>2]=i;hg(jd,24905,Ia)}}else id=1282;if((id|0)==1282)if(!k)h=0;else{Qf(c[jd>>2]|0,k);h=0}c[m>>2]=h;c[ld+-4>>2]=c[ld+12>>2];break}case 182:{m=ld+-12|0;c[ld+-8>>2]=c[m>>2];k=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1294;else id=1299;else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1295;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1295;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1294}while(0);if((id|0)==1294){h=Ec(j,48,0)|0;id=1295}if((id|0)==1295)if(h){F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=-107;b[h+34>>1]=-1;if(k|0){c[h+12>>2]=k;c[h+4>>2]=c[k+4>>2]&2097412}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Ja>>2]=i;hg(jd,24905,Ja)}}else id=1299;if((id|0)==1299)if(!k)h=0;else{Qf(c[jd>>2]|0,k);h=0}c[m>>2]=h;c[ld+-4>>2]=c[ld+12>>2];break}case 186:case 183:{c[ld+4>>2]=0;break}case 185:{m=Mi(c[jd>>2]|0,0,c[ld+-28>>2]|0)|0;m=Mi(c[jd>>2]|0,m,c[ld+4>>2]|0)|0;n=ld+-60|0;k=c[n>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1312;else id=1315;else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1313;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1313;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1312}while(0);if((id|0)==1312){i=Ec(j,48,0)|0;id=1313}if((id|0)==1313)if(!i)id=1315;else{F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=48;b[i+34>>1]=-1;if(k|0){c[i+12>>2]=k;c[i+4>>2]=c[k+4>>2]&2097412}Ji(i);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i+24>>2]|0)){c[Qa>>2]=h;hg(jd,24905,Qa)}c[n>>2]=i;c[i+20>>2]=m}if((id|0)==1315){if(k|0)Qf(c[jd>>2]|0,k);c[n>>2]=0;if(m|0)Rf(c[jd>>2]|0,m)}ej(jd,c[ld+-44>>2]|0,n);c[ld+-52>>2]=c[ld+12>>2];break}case 188:{n=ld+-12|0;h=c[n>>2]|0;do if(!h){h=ld+-60|0;i=c[h>>2]|0;if(i|0)Qf(c[jd>>2]|0,i);c[h>>2]=Yi(c[jd>>2]|0,134,4920+(c[ld+-44>>2]<<3)|0,1)|0}else{if((c[h>>2]|0)!=1){m=ld+-60|0;k=c[m>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1363;else id=1366;else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1364;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1364;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1363}while(0);if((id|0)==1363){i=Ec(j,48,0)|0;id=1364}if((id|0)==1364)if(i){F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=49;b[i+34>>1]=-1;if(k|0){c[i+12>>2]=k;c[i+4>>2]=c[k+4>>2]&2097412}Ji(i);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i+24>>2]|0)){c[ab>>2]=h;hg(jd,24905,ab)}c[m>>2]=i;c[i+20>>2]=c[n>>2];h=c[m>>2]|0;if((c[jd+36>>2]|0)==0?(Ji(h),eb=c[(c[jd>>2]|0)+112>>2]|0,(eb|0)<(c[h+24>>2]|0)):0){c[mb>>2]=eb;hg(jd,24905,mb)}}else id=1366;if((id|0)==1366){if(k|0)Qf(c[jd>>2]|0,k);c[m>>2]=0;h=c[n>>2]|0;if(h|0)Rf(c[jd>>2]|0,h)}ej(jd,c[ld+-44>>2]|0,m);break}h=h+4|0;o=c[h>>2]|0;c[h>>2]=0;h=c[n>>2]|0;if(h|0)Rf(c[jd>>2]|0,h);m=(o|0)==0;if(!m){id=o+4|0;c[id>>2]=c[id>>2]&-769|512}k=(c[ld+-44>>2]|0)!=0;p=ld+-60|0;n=c[p>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1341;else{h=j;id=1345}else{if((e[j+268>>1]|0)>=48){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1342;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1342;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1341}while(0);if((id|0)==1341){h=Ec(j,48,0)|0;id=1342}do if((id|0)==1342){if(!h){h=c[jd>>2]|0;id=1345;break}F=h;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[h>>0]=k?52:53;b[h+34>>1]=-1;if(m)i=0;else{c[h+16>>2]=o;i=c[o+4>>2]&2097412;c[h+4>>2]=i}if(n|0){c[h+12>>2]=n;c[h+4>>2]=c[n+4>>2]&2097412|i}Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)<(c[h+24>>2]|0)){c[Ob>>2]=i;hg(jd,24905,Ob)}}while(0);if((id|0)==1345){if(n|0)Qf(h,n);if(m)h=0;else{Qf(h,o);h=0}}c[p>>2]=h}while(0);c[ld+-52>>2]=(c[ld+4>>2]|0)+(c[ld+8>>2]|0);break}case 189:{k=ld+-28|0;hd=c[ld+4>>2]|0;j=c[ld+8>>2]|0;c[ld+-24>>2]=c[k>>2];c[ld+-20>>2]=hd+j;j=c[jd>>2]|0;do if(c[j+264>>2]|0){if(!(a[j+73>>0]|0))id=1386}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];ha=j+276|0;c[ha>>2]=(c[ha>>2]|0)+1;ha=i;id=1387;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];ha=j+276|0;c[ha>>2]=(c[ha>>2]|0)+1;ha=i;id=1387;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1386}while(0);if((id|0)==1386){ha=Ec(j,48,0)|0;id=1387}if((id|0)==1387?ha|0:0){F=ha;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[ha>>0]=119;b[ha+34>>1]=-1;Ji(ha);i=ha+24|0;h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i>>2]|0)){c[Aa>>2]=h;hg(jd,24905,Aa)}c[k>>2]=ha;c[ha+20>>2]=c[ld+-12>>2];id=ha+4|0;c[id>>2]=c[id>>2]|2099200;if(c[jd+36>>2]|0)break a;Ji(ha);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)>=(c[i>>2]|0))break a;c[Ka>>2]=h;hg(jd,24905,Ka);break a}c[k>>2]=0;h=c[ld+-12>>2]|0;if(h|0)Sf(c[jd>>2]|0,h,1);break}case 190:{m=ld+-60|0;k=c[m>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1403;else id=1406;else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1404;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1404;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1403}while(0);if((id|0)==1403){i=Ec(j,48,0)|0;id=1404}if((id|0)==1404)if(i){F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=49;b[i+34>>1]=-1;if(k|0){c[i+12>>2]=k;c[i+4>>2]=c[k+4>>2]&2097412}Ji(i);h=i+24|0;j=c[(c[jd>>2]|0)+112>>2]|0;if((j|0)<(c[h>>2]|0)){c[Ra>>2]=j;hg(jd,24905,Ra)}c[m>>2]=i;c[i+20>>2]=c[ld+-12>>2];hd=i+4|0;c[hd>>2]=c[hd>>2]|2099200;if((c[jd+36>>2]|0)==0?(Ji(i),Oa=c[(c[jd>>2]|0)+112>>2]|0,(Oa|0)<(c[h>>2]|0)):0){c[Sa>>2]=Oa;hg(jd,24905,Sa)}}else id=1406;if((id|0)==1406){if(k|0)Qf(c[jd>>2]|0,k);c[m>>2]=0;h=c[ld+-12>>2]|0;if(h|0)Sf(c[jd>>2]|0,h,1)}ej(jd,c[ld+-44>>2]|0,m);c[ld+-52>>2]=(c[ld+4>>2]|0)+(c[ld+8>>2]|0);break}case 191:{p=ld+-28|0;n=ld+-12|0;h=Wi(c[jd>>2]|0,0,p,n)|0;o=Xi(jd,0,h,0,0,0,0,0,0)|0;i=c[ld+4>>2]|0;do if(i|0)if((h|0)==0|(o|0)==0){Rf(c[jd>>2]|0,i);break}else{id=(c[h>>2]|0)+-1|0;c[h+8+(id*72|0)+64>>2]=i;id=h+8+(id*72|0)+37|0;a[id>>0]=a[id>>0]|4;break}while(0);m=ld+-60|0;k=c[m>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1429;else id=1432;else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1430;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1430;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1429}while(0);if((id|0)==1429){i=Ec(j,48,0)|0;id=1430}if((id|0)==1430)if(i){F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=49;b[i+34>>1]=-1;if(k|0){c[i+12>>2]=k;c[i+4>>2]=c[k+4>>2]&2097412}Ji(i);h=i+24|0;j=c[(c[jd>>2]|0)+112>>2]|0;if((j|0)<(c[h>>2]|0)){c[Hb>>2]=j;hg(jd,24905,Hb)}c[m>>2]=i;c[i+20>>2]=o;hd=i+4|0;c[hd>>2]=c[hd>>2]|2099200;if((c[jd+36>>2]|0)==0?(Ji(i),Fb=c[(c[jd>>2]|0)+112>>2]|0,(Fb|0)<(c[h>>2]|0)):0){c[Ib>>2]=Fb;hg(jd,24905,Ib)}}else id=1432;if((id|0)==1432){if(k|0)Qf(c[jd>>2]|0,k);c[m>>2]=0;if(o|0)Sf(c[jd>>2]|0,o,1)}ej(jd,c[ld+-44>>2]|0,m);h=c[n>>2]|0;if(!h){h=c[p>>2]|0;i=-2}else i=-1;c[ld+-52>>2]=h+(c[ld+(i<<4)+8>>2]|0);break}case 192:{k=ld+-44|0;hd=c[ld+4>>2]|0;j=c[ld+8>>2]|0;c[ld+-40>>2]=c[k>>2];c[ld+-36>>2]=hd+j;j=c[jd>>2]|0;do if(c[j+264>>2]|0){if(!(a[j+73>>0]|0))id=1453}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];ia=j+276|0;c[ia>>2]=(c[ia>>2]|0)+1;ia=i;id=1454;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];ia=j+276|0;c[ia>>2]=(c[ia>>2]|0)+1;ia=i;id=1454;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1453}while(0);if((id|0)==1453){ia=Ec(j,48,0)|0;id=1454}if((id|0)==1454?ia|0:0){F=ia;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[ia>>0]=20;b[ia+34>>1]=-1;Ji(ia);i=ia+24|0;h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i>>2]|0)){c[Ba>>2]=h;hg(jd,24905,Ba)}c[k>>2]=ia;c[ia+20>>2]=c[ld+-12>>2];id=ia+4|0;c[id>>2]=c[id>>2]|2099200;if(c[jd+36>>2]|0)break a;Ji(ia);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)>=(c[i>>2]|0))break a;c[La>>2]=h;hg(jd,24905,La);break a}c[k>>2]=0;h=c[ld+-12>>2]|0;if(h|0)Sf(c[jd>>2]|0,h,1);break}case 193:{m=ld+-60|0;j=c[ld+4>>2]|0;k=c[ld+8>>2]|0;c[ld+-56>>2]=c[m>>2];c[ld+-52>>2]=j+k;k=c[ld+-44>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0){if(!(a[j+73>>0]|0))id=1470}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];qa=j+276|0;c[qa>>2]=(c[qa>>2]|0)+1;qa=i;id=1471;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];qa=j+276|0;c[qa>>2]=(c[qa>>2]|0)+1;qa=i;id=1471;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1470}while(0);if((id|0)==1470){qa=Ec(j,48,0)|0;id=1471}if((id|0)==1471?qa|0:0){F=qa;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[qa>>0]=-120;b[qa+34>>1]=-1;if(k|0){c[qa+12>>2]=k;c[qa+4>>2]=c[k+4>>2]&2097412}Ji(qa);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[qa+24>>2]|0)){c[Ca>>2]=h;hg(jd,24905,Ca)}c[m>>2]=qa;i=c[ld+-12>>2]|0;h=c[ld+-28>>2]|0;if(!i)i=qa;else{h=Mi(c[jd>>2]|0,h,i)|0;i=c[m>>2]|0}c[i+20>>2]=h;h=c[m>>2]|0;if(c[jd+36>>2]|0)break a;Ji(h);i=c[(c[jd>>2]|0)+112>>2]|0;if((i|0)>=(c[h+24>>2]|0))break a;c[Ab>>2]=i;hg(jd,24905,Ab);break a}if(k|0)Qf(c[jd>>2]|0,k);c[m>>2]=0;h=c[ld+-28>>2]|0;if(h|0)Rf(c[jd>>2]|0,h);h=c[ld+-12>>2]|0;if(h|0)Qf(c[jd>>2]|0,h);break}case 194:{id=ld+-60|0;hd=Mi(c[jd>>2]|0,c[id>>2]|0,c[ld+-28>>2]|0)|0;c[id>>2]=hd;c[id>>2]=Mi(c[jd>>2]|0,hd,c[ld+4>>2]|0)|0;break}case 195:{hd=Mi(c[jd>>2]|0,0,c[ld+-28>>2]|0)|0;id=ld+-44|0;c[id>>2]=hd;c[id>>2]=Mi(c[jd>>2]|0,hd,c[ld+4>>2]|0)|0;break}case 271:{id=ld+-108|0;c[id>>2]=Fj(jd,c[id>>2]|0,ld+-76|0,c[ld+-60>>2]|0,c[ld+-12>>2]|0)|0;break}case 201:{id=ld+-28|0;c[id>>2]=Mi(c[jd>>2]|0,c[id>>2]|0,c[ld+4>>2]|0)|0;break}case 202:{id=ld+4|0;c[id>>2]=Mi(c[jd>>2]|0,0,c[id>>2]|0)|0;break}case 209:case 204:{c[ld+-28>>2]=c[ld+-12>>2];break}case 205:{Li(jd,ld+-108|0,ld+-92|0,Wi(c[jd>>2]|0,0,ld+-60|0,0)|0,c[ld+-28>>2]|0,c[ld+-156>>2]|0,ld+-172|0,c[ld+4>>2]|0,0,c[ld+-124>>2]|0,0);break}case 246:case 206:{c[ld+4>>2]=2;break}case 207:{c[ld+20>>2]=0;break}case 210:{h=ld+-60|0;i=ld+-28|0;hd=c[ld+-12>>2]|0;id=c[ld+4>>2]|0;j=Mi(c[jd>>2]|0,c[h>>2]|0,0)|0;if((hd|0)!=0|(id|0)!=-1?(a[(c[jd>>2]|0)+157>>0]|0)==0:0){id=c[i>>2]|0;c[J>>2]=c[ld+-24>>2];c[J+4>>2]=id;hg(jd,25197,J)}Ni(jd,j,i,1);c[h>>2]=j;break}case 211:{k=ld+-28|0;m=c[ld+-12>>2]|0;n=c[ld+4>>2]|0;j=c[jd>>2]|0;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))id=1507;else h=0;else{if((e[j+268>>1]|0)>=24){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1508;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=1508;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1507}while(0);if((id|0)==1507){h=Ec(j,24,0)|0;id=1508}if((id|0)==1508)if(!h)h=0;else{c[h>>2]=1;id=h+4|0;c[id>>2]=0;c[id+4>>2]=0;c[id+8>>2]=0;c[id+12>>2]=0;c[id+16>>2]=0}if((m|0)!=0|(n|0)!=-1?(a[(c[jd>>2]|0)+157>>0]|0)==0:0){id=c[k>>2]|0;c[Da>>2]=c[ld+-24>>2];c[Da+4>>2]=id;hg(jd,25197,Da)}Ni(jd,h,k,1);c[k>>2]=h;break}case 214:{w=c[ld+4>>2]|0;h=c[ld+-12>>2]|0;x=c[jd>>2]|0;x:do if((a[x+73>>0]|0)==0?(fj(jd)|0)==0:0){i=w+12|0;v=gj(x,c[w+16>>2]|0,c[i>>2]|0)|0;if(!v){if(!h){c[_>>2]=w;c[_+4>>2]=0;hg(jd,25235,_)}else hj(jd,c[i>>2]|0);a[jd+17>>0]=1;break}if(a[v+55>>0]&3){c[aa>>2]=0;hg(jd,25253,aa);break}i=c[v+24>>2]|0;t=x+16|0;j=c[t>>2]|0;if(!i)u=-1e6;else{h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){u=h;break}else h=h+1|0}n=c[v+12>>2]|0;o=c[j+(u<<4)>>2]|0;r=(u|0)==1;h=r?25326:25345;k=c[jd>>2]|0;i=a[k+157>>0]|0;y:do if(!(i<<24>>24))if((a[jd+400>>0]|0)==0?(sb=c[k+304>>2]|0,(sb|0)!=0):0)switch(ob[sb&255](c[k+308>>2]|0,9,h,0,o,c[jd+440>>2]|0)|0){case 2:break x;case 1:{hg(jd,24761,tb);c[jd+12>>2]=23;break x}case 0:{k=c[jd>>2]|0;m=a[k+157>>0]|0;break y}default:{hg(jd,24776,ub);c[jd+12>>2]=1;break x}}else m=0;else m=i;while(0);i=(u|0)==0?10:12;j=c[v>>2]|0;h=c[n>>2]|0;z:do if((m<<24>>24==0?(a[jd+400>>0]|0)==0:0)?(Ub=c[k+304>>2]|0,Ub|0):0)switch(ob[Ub&255](c[k+308>>2]|0,i,j,h,o,c[jd+440>>2]|0)|0){case 2:break x;case 0:break z;case 1:{hg(jd,24761,Vb);c[jd+12>>2]=23;break x}default:{hg(jd,24776,Wb);c[jd+12>>2]=1;break x}}while(0);q=jd+8|0;h=c[q>>2]|0;i=jd+120|0;if(!h){if((c[i>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)break;else s=h}else s=h;o=c[i>>2]|0;o=(o|0)==0?jd:o;h=o+92|0;i=c[h>>2]|0;p=1<>2]=i|p,r):0)?(pc=c[o>>2]|0,ec=pc+16|0,(c[(c[ec>>2]|0)+20>>2]|0)==0):0)?(a[o+399>>0]|0)==0:0){h=fg(c[pc>>2]|0,0,pc,hd,0,542)|0;if(h|0){hg(o,21111,gc);c[o+12>>2]=h;break}id=c[hd>>2]|0;c[(c[ec>>2]|0)+20>>2]=id;h=c[pc+84>>2]|0;j=c[id+4>>2]|0;c[j+4>>2]=c[id>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;id=h;do if(!(id>>>0>=(c[11662]|0)>>>0&id>>>0<(c[11663]|0)>>>0)){id=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-id;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;id=(c[11666]|0)+1|0;c[11666]=id;c[11667]=(id|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);id=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((id|0)!=7)break;h=pc+73|0;do if(!(a[h>>0]|0)){if(a[pc+74>>0]|0)break;a[h>>0]=1;if((c[pc+172>>2]|0)>0)c[pc+256>>2]=1;id=pc+264|0;c[id>>2]=(c[id>>2]|0)+1}while(0);break A}while(0)}while(0);h=o+88|0;c[h>>2]=c[h>>2]|p;h=o+20|0;a[h>>0]=a[h>>0]|1;h=c[v>>2]|0;c[rc>>2]=c[(c[t>>2]|0)+(u<<4)>>2];c[rc+4>>2]=25345;c[rc+8>>2]=h;ij(jd,25359,rc);h=c[v>>2]|0;i=c[(c[(c[jd>>2]|0)+16>>2]|0)+(u<<4)>>2]|0;c[sc>>2]=1;wd(24,rc,25408,sc)|0;if(jj(c[jd>>2]|0,rc,i)|0){c[tc>>2]=i;c[tc+4>>2]=rc;c[tc+8>>2]=25452;c[tc+12>>2]=h;ij(jd,25422,tc)}c[uc>>2]=2;wd(24,rc,25408,uc)|0;if(jj(c[jd>>2]|0,rc,i)|0){c[wc>>2]=i;c[wc+4>>2]=rc;c[wc+8>>2]=25452;c[wc+12>>2]=h;ij(jd,25422,wc)}c[xc>>2]=3;wd(24,rc,25408,xc)|0;if(jj(c[jd>>2]|0,rc,i)|0){c[yc>>2]=i;c[yc+4>>2]=rc;c[yc+8>>2]=25452;c[yc+12>>2]=h;ij(jd,25422,yc)}c[zc>>2]=4;wd(24,rc,25408,zc)|0;if(jj(c[jd>>2]|0,rc,i)|0){c[Ac>>2]=i;c[Ac+4>>2]=rc;c[Ac+8>>2]=25452;c[Ac+12>>2]=h;ij(jd,25422,Ac)}h=c[q>>2]|0;i=(c[c[(c[(c[jd>>2]|0)+16>>2]|0)+(u<<4)+12>>2]>>2]|0)+1|0;k=h+136|0;j=c[k>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(j|0)){c[k>>2]=j+1;id=c[h+88>>2]|0;a[id+(j*20|0)>>0]=102;b[id+(j*20|0)+2>>1]=0;c[id+(j*20|0)+4>>2]=u;c[id+(j*20|0)+8>>2]=1;c[id+(j*20|0)+12>>2]=i;c[id+(j*20|0)+16>>2]=0;a[id+(j*20|0)+1>>0]=0}else zi(h,102,u,1,i)|0;kj(jd,c[v+44>>2]|0,u);j=c[v>>2]|0;i=s+136|0;h=c[i>>2]|0;if((c[(c[s+12>>2]|0)+48>>2]|0)>(h|0)){c[i>>2]=h+1;jd=c[s+88>>2]|0;a[jd+(h*20|0)>>0]=-116;b[jd+(h*20|0)+2>>1]=0;c[jd+(h*20|0)+4>>2]=u;c[jd+(h*20|0)+8>>2]=0;c[jd+(h*20|0)+12>>2]=0;c[jd+(h*20|0)+16>>2]=0;a[jd+(h*20|0)+1>>0]=0}else h=zi(s,140,u,0,0)|0;if(!(a[(c[s>>2]|0)+73>>0]|0)){if((h|0)<0)h=(c[i>>2]|0)+-1|0;Ai(s,(c[s+88>>2]|0)+(h*20|0)|0,j,0)}}while(0);ag(x,w);break}case 215:{h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)break a}i=h+136|0;j=c[i>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;F=c[h+88>>2]|0;a[F+(j*20|0)>>0]=10;F=F+(j*20|0)+1|0;G=F+19|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0))}else zi(h,10,0,0,0)|0;jd=h+148|0;c[jd>>2]=c[jd>>2]|1;if(a[(c[(c[(c[h>>2]|0)+16>>2]|0)+4>>2]|0)+9>>0]|0){jd=h+152|0;c[jd>>2]=c[jd>>2]|1}break}case 216:{k=ld+4|0;h=c[jd+8>>2]|0;if(!h){if((c[jd+120>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h)break a;else m=h}else m=h;i=c[jd>>2]|0;if(c[ld+8>>2]|0){if(a[i+157>>0]|0){hg(jd,24989,ca);break a}h=Fi(i,k)|0;j=eg(i,h)|0;do if(h|0){if(c[i+464>>2]|0){Lc(i,h);break}id=h;if(id>>>0>=(c[i+296>>2]|0)>>>0?id>>>0<(c[i+300>>2]|0)>>>0:0){id=i+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);if((j|0)<0){c[na>>2]=k;hg(jd,25006,na);break a}}else j=d[i+156>>0]|0;if(!((j|0)<0|(j|0)==1)){h=m+136|0;i=c[h>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;jd=c[m+88>>2]|0;a[jd+(i*20|0)>>0]=10;b[jd+(i*20|0)+2>>1]=0;c[jd+(i*20|0)+4>>2]=j;c[jd+(i*20|0)+8>>2]=0;c[jd+(i*20|0)+12>>2]=0;c[jd+(i*20|0)+16>>2]=0;a[jd+(i*20|0)+1>>0]=0}else zi(m,10,j,0,0)|0;h=1<>2]=c[jd>>2]|h;if(a[(c[(c[(c[m>>2]|0)+16>>2]|0)+(j<<4)+4>>2]|0)+9>>0]|0){jd=m+152|0;c[jd>>2]=c[jd>>2]|h}}break}case 217:{lj(jd,ld+-12|0,ld+4|0,0,0);break}case 218:{lj(jd,ld+-44|0,ld+-28|0,ld+4|0,0);break}case 219:{lj(jd,ld+-60|0,ld+-44|0,ld+-12|0,0);break}case 220:{lj(jd,ld+-44|0,ld+-28|0,ld+4|0,1);break}case 221:{lj(jd,ld+-60|0,ld+-44|0,ld+-12|0,1);break}case 224:{s=c[ld+-44>>2]|0;u=(c[ld+4>>2]|0)-s+(c[ld+8>>2]|0)|0;i=c[ld+-12>>2]|0;gd=jd+436|0;v=c[gd>>2]|0;B=c[jd>>2]|0;c[gd>>2]=0;B:do if((v|0)!=0&(c[jd+36>>2]|0)==0){y=c[v>>2]|0;A=v+20|0;j=c[A>>2]|0;if(!j)x=-1e6;else{k=c[B+16>>2]|0;h=0;while(1)if((c[k+(h<<4)+12>>2]|0)==(j|0)){x=h;break}else h=h+1|0}c[v+28>>2]=i;j=(i|0)==0;if(!j){h=i;do{c[h+4>>2]=v;h=c[h+28>>2]|0}while((h|0)!=0)}c[db>>2]=y;if(!y)h=0;else h=(As(y)|0)&1073741823;c[db+4>>2]=h;c[Tc>>2]=jd;w=B+16|0;m=c[w>>2]|0;c[Tc+12>>2]=c[m+(x<<4)>>2];c[Tc+4>>2]=c[m+(x<<4)+12>>2];c[Tc+16>>2]=25456;c[Tc+20>>2]=db;m=(x|0)==1;c[Tc+8>>2]=m&1;if(!j)do{if(Si(Tc,c[i+8>>2]|0)|0){h=v;i=0;id=1702;break B}if(mj(Tc,c[i+16>>2]|0)|0){h=v;i=0;id=1702;break B}k=c[i+20>>2]|0;if(k|0?(c[k>>2]|0)>0:0){h=0;j=k+4|0;while(1){if(mj(Tc,c[j>>2]|0)|0){h=v;i=0;id=1702;break B}h=h+1|0;if((h|0)>=(c[k>>2]|0))break;else j=j+20|0}}i=c[i+28>>2]|0}while((i|0)!=0);if(!(mj(Tc,c[v+12>>2]|0)|0)){t=B+157|0;if(!(a[t>>0]|0)){q=jd+8|0;h=c[q>>2]|0;i=jd+120|0;if(!h){if((c[i>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;h=yi(jd)|0;if(!h){h=v;i=0;id=1702;break}else r=h}else r=h;o=c[i>>2]|0;o=(o|0)==0?jd:o;h=o+92|0;i=c[h>>2]|0;p=1<>2]=i|p,m):0)?(qc=c[o>>2]|0,fc=qc+16|0,(c[(c[fc>>2]|0)+20>>2]|0)==0):0)?(a[o+399>>0]|0)==0:0){h=fg(c[qc>>2]|0,0,qc,hd,0,542)|0;if(h|0){hg(o,21111,hc);c[o+12>>2]=h;break}hd=c[hd>>2]|0;c[(c[fc>>2]|0)+20>>2]=hd;h=c[qc+84>>2]|0;j=c[hd+4>>2]|0;c[j+4>>2]=c[hd>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;hd=h;do if(!(hd>>>0>=(c[11662]|0)>>>0&hd>>>0<(c[11663]|0)>>>0)){hd=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-hd;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{hd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;hd=(c[11666]|0)+1|0;c[11666]=hd;c[11667]=(hd|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);hd=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((hd|0)!=7)break;h=qc+73|0;do if(!(a[h>>0]|0)){if(a[qc+74>>0]|0)break;a[h>>0]=1;if((c[qc+172>>2]|0)>0)c[qc+256>>2]=1;hd=qc+264|0;c[hd>>2]=(c[hd>>2]|0)+1}while(0);break C}while(0)}while(0);m=o+88|0;c[m>>2]=c[m>>2]|p;m=s;D:do if(s){j=Ft(u|0,0,1,0)|0;k=z;E:do if(c[B+264>>2]|0)if(!(a[B+73>>0]|0))id=1678;else{h=0;break D}else{do if(0>>0|(0==(k|0)?(e[B+268>>1]|0)>>>0>>0:0))h=1;else{i=B+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];hd=B+276|0;c[hd>>2]=(c[hd>>2]|0)+1;break E}i=B+288|0;h=c[i>>2]|0;if(!h){h=2;break}c[i>>2]=c[h>>2];hd=B+276|0;c[hd>>2]=(c[hd>>2]|0)+1;break E}while(0);id=B+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=1678}while(0);if((id|0)==1678)h=Ec(B,j,k)|0;if(h){Tt(h|0,m|0,u|0)|0;a[h+u>>0]=0}else h=0}else h=0;while(0);id=c[v+4>>2]|0;c[Dc>>2]=c[(c[w>>2]|0)+(x<<4)>>2];c[Dc+4>>2]=25345;c[Dc+8>>2]=y;c[Dc+12>>2]=id;c[Dc+16>>2]=h;ij(jd,25464,Dc);do if(h|0){if(c[B+464>>2]|0){Lc(B,h);break}id=h;if(id>>>0>=(c[B+296>>2]|0)>>>0?id>>>0<(c[B+300>>2]|0)>>>0:0){id=B+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);k=c[q>>2]|0;h=(c[c[(c[(c[jd>>2]|0)+16>>2]|0)+(x<<4)+12>>2]>>2]|0)+1|0;i=k+136|0;j=c[i>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;jd=c[k+88>>2]|0;a[jd+(j*20|0)>>0]=102;b[jd+(j*20|0)+2>>1]=0;c[jd+(j*20|0)+4>>2]=x;c[jd+(j*20|0)+8>>2]=1;c[jd+(j*20|0)+12>>2]=h;c[jd+(j*20|0)+16>>2]=0;a[jd+(j*20|0)+1>>0]=0}else zi(k,102,x,1,h)|0;c[Gc>>2]=y;nj(r,x,Ff(B,25528,Gc)|0);if(!(a[t>>0]|0)){i=0;id=1703;break}}i=_f((c[(c[w>>2]|0)+(x<<4)+12>>2]|0)+40|0,y,v)|0;if(!i){h=c[A>>2]|0;if((h|0)!=(c[v+24>>2]|0)){h=i;i=0;id=1702;break}h=(c[($f(h+8|0,c[v+4>>2]|0,0)|0)+8>>2]|0)+68|0;c[v+32>>2]=c[h>>2];c[h>>2]=v;h=i;i=0;id=1702;break}h=B+73|0;if((a[h>>0]|0)==0?(a[B+74>>0]|0)==0:0){a[h>>0]=1;if((c[B+172>>2]|0)>0)c[B+256>>2]=1;h=B+264|0;c[h>>2]=(c[h>>2]|0)+1;h=i;i=0;id=1702}else{h=i;i=0;id=1702}}else{i=0;id=1703}}else{h=v;id=1702}while(0);if((id|0)==1702)if(h){v=h;id=1703}do if((id|0)==1703){h=c[v+28>>2]|0;if(h|0){q=(B|0)==0;r=B+464|0;s=B+296|0;t=B+300|0;u=B+292|0;do{p=h;h=c[h+28>>2]|0;j=c[p+16>>2]|0;if(j|0)Qf(B,j);j=c[p+20>>2]|0;if(j|0)Rf(B,j);j=c[p+8>>2]|0;if(j|0)Sf(B,j,1);j=c[p+24>>2]|0;if(j){o=j+4|0;k=c[j>>2]|0;F:do if((c[o>>2]|0)>0){if(q){m=0;while(1){k=c[k+(m<<3)>>2]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{jd=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);m=m+1|0;k=c[j>>2]|0;if((m|0)>=(c[o>>2]|0))break F}}else n=0;do{k=c[k+(n<<3)>>2]|0;G:do if(k|0){if(c[r>>2]|0){Lc(B,k);break}m=k;do if(m>>>0>=(c[s>>2]|0)>>>0){if(m>>>0>=(c[t>>2]|0)>>>0)break;c[k>>2]=c[u>>2];c[u>>2]=k;break G}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{jd=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);n=n+1|0;k=c[j>>2]|0}while((n|0)<(c[o>>2]|0))}while(0);H:do if(k){do if(!q){if(!(c[r>>2]|0)){m=k;if(m>>>0<(c[s>>2]|0)>>>0)break;if(m>>>0>=(c[t>>2]|0)>>>0)break;c[k>>2]=c[u>>2];c[u>>2]=k}else Lc(B,k);id=1741;break H}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);id=1740;break}else{id=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);id=1740;break}}else id=1740;while(0);if((id|0)==1740)if(q){bd=j;id=1746}else id=1741;do if((id|0)==1741){id=0;if(c[r>>2]|0){Lc(B,j);break}jd=j;if(jd>>>0>=(c[s>>2]|0)>>>0?jd>>>0<(c[t>>2]|0)>>>0:0){c[j>>2]=c[u>>2];c[u>>2]=j}else{bd=j;id=1746}}while(0);do if((id|0)==1746?(id=0,bd|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](bd);break}else{jd=jb[c[64>>2]&255](bd)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](bd);break}while(0);if(p|0)id=1751}else id=1751;do if((id|0)==1751){if(!q){if(c[r>>2]|0){Lc(B,p);break}jd=p;if(jd>>>0>=(c[s>>2]|0)>>>0?jd>>>0<(c[t>>2]|0)>>>0:0){c[p>>2]=c[u>>2];c[u>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{jd=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0)}while((h|0)!=0)}h=c[v>>2]|0;do if(h|0){if(B|0){if(c[B+464>>2]|0){Lc(B,h);break}jd=h;if(jd>>>0>=(c[B+296>>2]|0)>>>0?jd>>>0<(c[B+300>>2]|0)>>>0:0){jd=B+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[v+4>>2]|0;do if(h|0){if(B|0){if(c[B+464>>2]|0){Lc(B,h);break}jd=h;if(jd>>>0>=(c[B+296>>2]|0)>>>0?jd>>>0<(c[B+300>>2]|0)>>>0:0){jd=B+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[v+12>>2]|0;if(h|0)Qf(B,h);h=c[v+16>>2]|0;if(h|0){q=h+4|0;j=c[h>>2]|0;I:do if((c[q>>2]|0)>0){m=B+464|0;n=B+296|0;o=B+300|0;p=B+292|0;if(!B){k=0;while(1){j=c[j+(k<<3)>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{jd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);k=k+1|0;j=c[h>>2]|0;if((k|0)>=(c[q>>2]|0))break I}}else k=0;do{j=c[j+(k<<3)>>2]|0;do if(j|0){if(c[m>>2]|0){Lc(B,j);break}jd=j;if(jd>>>0>=(c[n>>2]|0)>>>0?jd>>>0<(c[o>>2]|0)>>>0:0){c[j>>2]=c[p>>2];c[p>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{jd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);k=k+1|0;j=c[h>>2]|0}while((k|0)<(c[q>>2]|0))}while(0);J:do if(j){do if(B|0){k=B+464|0;if(!(c[k>>2]|0)){m=j;if(m>>>0<(c[B+296>>2]|0)>>>0)break;if(m>>>0>=(c[B+300>>2]|0)>>>0)break;jd=B+292|0;c[j>>2]=c[jd>>2];c[jd>>2]=j}else Lc(B,j);j=k;id=1814;break J}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);id=1812;break}else{id=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);id=1812;break}}else id=1812;while(0);if((id|0)==1812)if(!B){ed=h;id=1819}else{j=B+464|0;id=1814}do if((id|0)==1814){if(c[j>>2]|0){Lc(B,h);break}jd=h;if(jd>>>0>=(c[B+296>>2]|0)>>>0?jd>>>0<(c[B+300>>2]|0)>>>0:0){jd=B+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h}else{ed=h;id=1819}}while(0);do if((id|0)==1819?ed|0:0)if(!(c[2]|0)){pb[c[56>>2]&255](ed);break}else{jd=jb[c[64>>2]&255](ed)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](ed);break}while(0);if(!v)break}if(B|0){if(c[B+464>>2]|0){Lc(B,v);break}jd=v;if(jd>>>0>=(c[B+296>>2]|0)>>>0?jd>>>0<(c[B+300>>2]|0)>>>0:0){jd=B+292|0;c[v>>2]=c[jd>>2];c[jd>>2]=v;break}}if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{jd=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}while(0);if(i|0){p=(B|0)==0;q=B+464|0;r=B+296|0;s=B+300|0;t=B+292|0;do{o=i;i=c[i+28>>2]|0;h=c[o+16>>2]|0;if(h|0)Qf(B,h);h=c[o+20>>2]|0;if(h|0)Rf(B,h);h=c[o+8>>2]|0;if(h|0)Sf(B,h,1);h=c[o+24>>2]|0;if(h){n=h+4|0;j=c[h>>2]|0;K:do if((c[n>>2]|0)>0){if(p){k=0;while(1){j=c[j+(k<<3)>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{jd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);k=k+1|0;j=c[h>>2]|0;if((k|0)>=(c[n>>2]|0))break K}}else m=0;do{j=c[j+(m<<3)>>2]|0;L:do if(j|0){if(c[q>>2]|0){Lc(B,j);break}k=j;do if(k>>>0>=(c[r>>2]|0)>>>0){if(k>>>0>=(c[s>>2]|0)>>>0)break;c[j>>2]=c[t>>2];c[t>>2]=j;break L}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{jd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);m=m+1|0;j=c[h>>2]|0}while((m|0)<(c[n>>2]|0))}while(0);M:do if(j){do if(!p){if(!(c[q>>2]|0)){k=j;if(k>>>0<(c[r>>2]|0)>>>0)break;if(k>>>0>=(c[s>>2]|0)>>>0)break;c[j>>2]=c[t>>2];c[t>>2]=j}else Lc(B,j);id=1871;break M}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);id=1870;break}else{id=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);id=1870;break}}else id=1870;while(0);if((id|0)==1870)if(p){fd=h;id=1876}else id=1871;do if((id|0)==1871){id=0;if(c[q>>2]|0){Lc(B,h);break}jd=h;if(jd>>>0>=(c[r>>2]|0)>>>0?jd>>>0<(c[s>>2]|0)>>>0:0){c[h>>2]=c[t>>2];c[t>>2]=h}else{fd=h;id=1876}}while(0);do if((id|0)==1876?(id=0,fd|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](fd);break}else{jd=jb[c[64>>2]&255](fd)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](fd);break}while(0);if(o|0)id=1881}else id=1881;do if((id|0)==1881){if(!p){if(c[q>>2]|0){Lc(B,o);break}jd=o;if(jd>>>0>=(c[r>>2]|0)>>>0?jd>>>0<(c[s>>2]|0)>>>0:0){c[o>>2]=c[t>>2];c[t>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{jd=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0)}while((i|0)!=0)}break}case 225:{H=ld+-108|0;I=ld+-92|0;w=c[ld+-76>>2]|0;B=c[ld+-60>>2]|0;D=c[ld+-56>>2]|0;C=c[ld+-28>>2]|0;E=c[ld+4>>2]|0;J=ld+-156|0;q=c[ld+-124>>2]|0;K=c[jd>>2]|0;t=(c[J>>2]|0)!=0;L=ld+-88|0;h=(c[L>>2]|0)==0;do if(t)if(h)if(!C){u=0;v=0;break}else{h=1;i=H;id=1912;break}else{hg(jd,25557,Ta);u=0;v=0;break}else{if(!h){if(a[K+157>>0]|0){hg(jd,24989,Ua);u=0;v=0;break}i=Fi(K,H)|0;h=eg(K,i)|0;do if(i|0){if(c[K+464>>2]|0){Lc(K,i);break}fd=i;if(fd>>>0>=(c[K+296>>2]|0)>>>0?fd>>>0<(c[K+300>>2]|0)>>>0:0){fd=K+292|0;c[i>>2]=c[fd>>2];c[fd>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{fd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-fd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if((h|0)<0){c[nb>>2]=H;hg(jd,25006,nb);u=0;v=0;break}else i=I}else{h=d[K+156>>0]|0;i=H}if((C|0)!=0&(h|0)>-1)id=1912;else{u=0;v=0}}while(0);N:do if((id|0)==1912){v=K+73|0;if(!(a[v>>0]|0)){n=K+157|0;if((h|0)!=1&(a[n>>0]|0)!=0){j=C+12|0;k=c[j>>2]|0;do if(k|0){if(c[K+464>>2]|0){Lc(K,k);break}fd=k;if(fd>>>0>=(c[K+296>>2]|0)>>>0?fd>>>0<(c[K+300>>2]|0)>>>0:0){fd=K+292|0;c[k>>2]=c[fd>>2];c[fd>>2]=k;break}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{fd=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-fd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[j>>2]=0}p=C+8|0;k=c[p>>2]|0;if(!k)j=C+12|0;else{m=c[(c[jd>>2]|0)+16>>2]|0;j=0;while(1)if((c[m+(j<<4)+12>>2]|0)==(k|0))break;else j=j+1|0;j=m+(j<<4)|0}y=C+16|0;j=oj(jd,0,c[y>>2]|0,c[j>>2]|0)|0;k=c[jd>>2]|0;o=C+24|0;m=c[o>>2]|0;do if(m|0){if(!((k|0)!=0?(c[k+464>>2]|0)!=0:0))id=1932;if((id|0)==1932?(ed=m+32|0,fd=(c[ed>>2]|0)+-1|0,c[ed>>2]=fd,fd|0):0)break;Tf(k,m)}while(0);c[o>>2]=j;if(j|0){fd=j+32|0;c[fd>>2]=(c[fd>>2]|0)+1}fd=(pj(jd,p)|0)==0;j=fd?j:0;if((a[n>>0]|0)==0?(j|0)!=0&(c[L>>2]|0)==0:0)x=(c[j+72>>2]|0)==(c[(c[K+16>>2]|0)+28>>2]|0)?1:h;else x=h;if((a[v>>0]|0)==0?(Cc=c[jd>>2]|0,c[Tc>>2]=jd,Cc=c[Cc+16>>2]|0,c[Tc+12>>2]=c[Cc+(x<<4)>>2],c[Tc+4>>2]=c[Cc+(x<<4)+12>>2],c[Tc+16>>2]=25456,c[Tc+20>>2]=i,Cc=(x|0)==1,c[Tc+8>>2]=Cc&1,(qj(Tc,C)|0)==0):0){j=c[p>>2]|0;if(!j)h=C+12|0;else{k=c[(c[jd>>2]|0)+16>>2]|0;h=0;while(1)if((c[k+(h<<4)+12>>2]|0)==(j|0))break;else h=h+1|0;h=k+(h<<4)|0}k=oj(jd,0,c[y>>2]|0,c[h>>2]|0)|0;h=c[jd>>2]|0;j=c[o>>2]|0;do if(j|0){if(!((h|0)!=0?(c[h+464>>2]|0)!=0:0))id=1949;if((id|0)==1949?(ed=j+32|0,fd=(c[ed>>2]|0)+-1|0,c[ed>>2]=fd,fd|0):0)break;Tf(h,j)}while(0);c[o>>2]=k;if(k){fd=k+32|0;c[fd>>2]=(c[fd>>2]|0)+1;if(!(pj(jd,p)|0)){if(c[k+56>>2]|0){hg(jd,25603,vc);u=0;v=0;break}A=Fi(K,i)|0;if(!A){u=0;v=0;break}O:do if(!(rj(jd,A)|0)){u=K+16|0;if(c[($f((c[(c[u>>2]|0)+(x<<4)+12>>2]|0)+40|0,A,0)|0)+8>>2]|0){if(!q){c[Bc>>2]=i;hg(jd,25644,Bc);id=2044;break}k=c[jd+120>>2]|0;k=(k|0)==0?jd:k;i=k+92|0;j=c[i>>2]|0;h=1<>2]=j|h;if(!Cc){id=2044;break}o=c[k>>2]|0;h=o+16|0;if(c[(c[h>>2]|0)+20>>2]|0){id=2044;break}if(a[k+399>>0]|0){id=2044;break}i=fg(c[o>>2]|0,0,o,hd,0,542)|0;if(i|0){hg(k,21111,Fc);c[k+12>>2]=i;id=2044;break}id=c[hd>>2]|0;c[(c[h>>2]|0)+20>>2]=id;h=c[o+84>>2]|0;j=c[id+4>>2]|0;c[j+4>>2]=c[id>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;id=h;do if(!(id>>>0>=(c[11662]|0)>>>0&id>>>0<(c[11663]|0)>>>0)){id=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-id;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;id=(c[11666]|0)+1|0;c[11666]=id;c[11667]=(id|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);id=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((id|0)!=7)break;h=o+73|0;do if(!(a[h>>0]|0)){if(a[o+74>>0]|0)break;a[h>>0]=1;if((c[o+172>>2]|0)>0)c[o+256>>2]=1;id=o+264|0;c[id>>2]=(c[id>>2]|0)+1}while(0);id=2043;break O}while(0);id=2043;break}r=c[k>>2]|0;do if(r|0){h=a[r>>0]|0;P:do if(!(h<<24>>24)){h=25670;id=1989}else{hd=h&255;h=17324+hd|0;do if((hd|32|0)==115){h=a[r+1>>0]|0;if(!(h<<24>>24)){h=25671;id=1989;break P}h=h&255;if((h|32|0)!=113){i=113;h=17324+h|0;break}h=a[r+2>>0]|0;if(!(h<<24>>24)){h=25672;id=1989;break P}h=h&255;if((h|32|0)!=108){i=108;h=17324+h|0;break}h=a[r+3>>0]|0;if(!(h<<24>>24)){h=25673;id=1989;break P}h=h&255;if((h|32|0)!=105){i=105;h=17324+h|0;break}h=a[r+4>>0]|0;if(!(h<<24>>24)){h=25674;id=1989;break P}h=h&255;if((h|32|0)!=116){i=116;h=17324+h|0;break}h=a[r+5>>0]|0;if(!(h<<24>>24)){h=25675;id=1989;break P}h=h&255;if((h|32|0)!=101){i=101;h=17324+h|0;break}h=a[r+6>>0]|0;if(!(h<<24>>24)){h=25676;id=1989;break P}if(h<<24>>24==95)break P;else{i=95;h=17324+(h&255)|0}}else i=115;while(0);Nc=a[h>>0]|0;Kc=i;id=1993}while(0);if((id|0)==1989){Nc=0;Kc=a[17324+(d[h>>0]|0)>>0]|0;id=1993}if((id|0)==1993?Nc<<24>>24!=Kc<<24>>24:0)break;hg(jd,25678,Oc);id=2043;break O}while(0);h=c[k+12>>2]|0;if((w|0)!=64&(h|0)!=0){c[Pc>>2]=(w|0)==33?25716:25723;c[Pc+4>>2]=C;c[Pc+8>>2]=0;hg(jd,25729,Pc);id=2043;break}q=(w|0)==64;if(q&(h|0)==0){c[Qc>>2]=C;c[Qc+4>>2]=0;hg(jd,25766,Qc);id=2043;break}s=k+72|0;i=c[s>>2]|0;j=c[u>>2]|0;if(!i)h=-1e6;else{h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0}p=c[j+(h<<4)>>2]|0;if(t)n=c[j+16>>2]|0;else n=p;o=(h|0)==1;h=t|o?5:7;j=c[jd>>2]|0;Q:do if(!(a[j+157>>0]|0)){m=jd+400|0;k=a[m>>0]|0;R:do if(!(k<<24>>24)){i=c[j+304>>2]|0;if(!i){id=2009;break}switch(ob[i&255](c[j+308>>2]|0,h,A,r,n,c[jd+440>>2]|0)|0){case 2:{id=2043;break O}case 1:{hg(jd,24761,Uc);c[jd+12>>2]=23;id=2043;break O}case 0:{h=c[jd>>2]|0;if(a[h+157>>0]|0){id=2012;break Q}k=a[m>>0]|0;j=h;i=o?25326:25345;break R}default:{hg(jd,24776,Vc);c[jd+12>>2]=1;id=2043;break O}}}else id=2009;while(0);if((id|0)==2009)i=o?25326:25345;S:do if(!(k<<24>>24)){h=c[j+304>>2]|0;if(!h)break;switch(ob[h&255](c[j+308>>2]|0,18,i,0,p,c[jd+440>>2]|0)|0){case 2:{id=2043;break O}case 0:break S;case 1:{hg(jd,24761,$c);c[jd+12>>2]=23;id=2043;break O}default:{hg(jd,24776,ad);c[jd+12>>2]=1;id=2043;break O}}}while(0);h=q?33:w;if(K|0){j=h;id=2019;break}if(!(c[2]|0)){i=jb[c[52>>2]&255](36)|0;id=2039;break}i=jb[c[68>>2]&255](36)|0;if((c[11829]|0)>>>0<36)c[11829]=36;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){fd=c[11822]|0;hd=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;ed=z;c[11616]=(0>(ed|0)|0==(ed|0)&fd>>>0>=hd>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i)break O;j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0)break;c[11831]=j}else id=2012;while(0);if((id|0)==2012){j=q?33:w;id=2019}T:do if((id|0)==2019){if(c[K+264>>2]|0){if(a[v>>0]|0){id=2044;break O}}else{do if((e[K+268>>1]|0)<36)h=1;else{h=K+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];h=K+276|0;c[h>>2]=(c[h>>2]|0)+1;h=j;id=2039;break T}h=K+288|0;i=c[h>>2]|0;if(!i){h=2;break}c[h>>2]=c[i>>2];h=K+276|0;c[h>>2]=(c[h>>2]|0)+1;h=j;id=2039;break T}while(0);id=K+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1}i=Ec(K,36,0)|0;h=j;id=2039}while(0);if((id|0)==2039)if(!i){id=2043;break}j=i+4|0;F=j;G=F+32|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0));c[i>>2]=A;c[j>>2]=kg(K,c[y>>2]|0)|0;c[i+20>>2]=c[(c[u>>2]|0)+(x<<4)+12>>2];c[i+24>>2]=c[s>>2];a[i+8>>0]=B;a[i+9>>0]=(h|0)==33?1:2;if(!E)h=0;else h=sj(K,E,1,0)|0;c[i+12>>2]=h;c[i+16>>2]=tj(K,D)|0;c[jd+436>>2]=i;u=i;v=i;break N}else id=2043;while(0);if((id|0)==2043?K|0:0)id=2044;do if((id|0)==2044){if(c[K+464>>2]|0){Lc(K,A);u=0;v=0;break N}h=A;if(h>>>0<(c[K+296>>2]|0)>>>0)break;if(h>>>0>=(c[K+300>>2]|0)>>>0)break;u=K+292|0;c[A>>2]=c[u>>2];c[u>>2]=A;u=0;v=0;break N}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](A);u=0;v=0;break}else{u=jb[c[64>>2]&255](A)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](A);u=0;v=0;break}}}else pj(jd,p)|0;if((a[K+156>>0]|0)==1){a[K+158>>0]=1;u=0;v=0}else{u=0;v=0}}else{u=0;v=0}}else{u=0;v=0}}while(0);ag(K,C);do if(D|0){o=D+4|0;h=c[D>>2]|0;U:do if((c[o>>2]|0)>0){j=K+464|0;k=K+296|0;m=K+300|0;n=K+292|0;if(!K){i=0;while(1){h=c[h+(i<<3)>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);i=i+1|0;h=c[D>>2]|0;if((i|0)>=(c[o>>2]|0))break U}}else i=0;do{h=c[h+(i<<3)>>2]|0;do if(h|0){if(c[j>>2]|0){Lc(K,h);break}id=h;if(id>>>0>=(c[k>>2]|0)>>>0?id>>>0<(c[m>>2]|0)>>>0:0){c[h>>2]=c[n>>2];c[n>>2]=h;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);i=i+1|0;h=c[D>>2]|0}while((i|0)<(c[o>>2]|0))}while(0);V:do if(h){do if(K|0){i=K+464|0;if(!(c[i>>2]|0)){j=h;if(j>>>0<(c[K+296>>2]|0)>>>0)break;if(j>>>0>=(c[K+300>>2]|0)>>>0)break;id=K+292|0;c[h>>2]=c[id>>2];c[id>>2]=h}else Lc(K,h);h=D;id=2083;break V}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);id=2081;break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);id=2081;break}}else id=2081;while(0);if((id|0)==2081)if(!K)h=D;else{i=K+464|0;h=D;id=2083}if((id|0)==2083){if(c[i>>2]|0){Lc(K,h);break}id=h;if(id>>>0>=(c[K+296>>2]|0)>>>0?id>>>0<(c[K+300>>2]|0)>>>0:0){id=K+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}}if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);if(E|0)Qf(K,E);do if(!((u|0)==0|(c[jd+436>>2]|0)!=0)){h=c[u+28>>2]|0;if(h|0){p=(K|0)==0;q=K+464|0;r=K+296|0;s=K+300|0;t=K+292|0;do{o=h;h=c[h+28>>2]|0;i=c[o+16>>2]|0;if(i|0)Qf(K,i);i=c[o+20>>2]|0;if(i|0)Rf(K,i);i=c[o+8>>2]|0;if(i|0)Sf(K,i,1);n=c[o+24>>2]|0;if(n){m=n+4|0;i=c[n>>2]|0;W:do if((c[m>>2]|0)>0){if(p){j=0;while(1){i=c[i+(j<<3)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);j=j+1|0;i=c[n>>2]|0;if((j|0)>=(c[m>>2]|0))break W}}else k=0;do{i=c[i+(k<<3)>>2]|0;X:do if(i|0){if(c[q>>2]|0){Lc(K,i);break}j=i;do if(j>>>0>=(c[r>>2]|0)>>>0){if(j>>>0>=(c[s>>2]|0)>>>0)break;c[i>>2]=c[t>>2];c[t>>2]=i;break X}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);k=k+1|0;i=c[n>>2]|0}while((k|0)<(c[m>>2]|0))}while(0);Y:do if(i){do if(!p){if(!(c[q>>2]|0)){j=i;if(j>>>0<(c[r>>2]|0)>>>0)break;if(j>>>0>=(c[s>>2]|0)>>>0)break;c[i>>2]=c[t>>2];c[t>>2]=i}else Lc(K,i);i=n;id=2133;break Y}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);id=2132;break}else{id=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);id=2132;break}}else id=2132;while(0);if((id|0)==2132)if(p){gd=n;id=2138}else{i=n;id=2133}do if((id|0)==2133){id=0;if(c[q>>2]|0){Lc(K,i);break}j=i;if(j>>>0<(c[r>>2]|0)>>>0){gd=i;id=2138}else{if(j>>>0>=(c[s>>2]|0)>>>0){gd=i;id=2138;break}c[i>>2]=c[t>>2];c[t>>2]=i}}while(0);do if((id|0)==2138?(id=0,gd|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](gd);break}else{jd=jb[c[64>>2]&255](gd)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](gd);break}while(0);if(o|0)id=2143}else id=2143;do if((id|0)==2143){if(!p){if(c[q>>2]|0){Lc(K,o);break}jd=o;if(jd>>>0>=(c[r>>2]|0)>>>0?jd>>>0<(c[s>>2]|0)>>>0:0){c[o>>2]=c[t>>2];c[t>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{jd=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0)}while((h|0)!=0)}h=c[u>>2]|0;do if(h|0){if(K|0){if(c[K+464>>2]|0){Lc(K,h);break}jd=h;if(jd>>>0>=(c[K+296>>2]|0)>>>0?jd>>>0<(c[K+300>>2]|0)>>>0:0){jd=K+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[u+4>>2]|0;do if(h|0){if(K|0){if(c[K+464>>2]|0){Lc(K,h);break}jd=h;if(jd>>>0>=(c[K+296>>2]|0)>>>0?jd>>>0<(c[K+300>>2]|0)>>>0:0){jd=K+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[u+12>>2]|0;if(h|0)Qf(K,h);h=c[u+16>>2]|0;do if(h|0){q=h+4|0;i=c[h>>2]|0;Z:do if((c[q>>2]|0)>0){m=K+464|0;n=K+296|0;o=K+300|0;p=K+292|0;if(!K){j=0;while(1){i=c[i+(j<<3)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);j=j+1|0;i=c[h>>2]|0;if((j|0)>=(c[q>>2]|0))break Z}}else k=0;do{i=c[i+(k<<3)>>2]|0;_:do if(i|0){if(c[m>>2]|0){Lc(K,i);break}j=i;do if(j>>>0>=(c[n>>2]|0)>>>0){if(j>>>0>=(c[o>>2]|0)>>>0)break;c[i>>2]=c[p>>2];c[p>>2]=i;break _}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);k=k+1|0;i=c[h>>2]|0}while((k|0)<(c[q>>2]|0))}while(0);$:do if(i){do if(K|0){j=K+464|0;if(!(c[j>>2]|0)){k=i;if(k>>>0<(c[K+296>>2]|0)>>>0)break;if(k>>>0>=(c[K+300>>2]|0)>>>0)break;jd=K+292|0;c[i>>2]=c[jd>>2];c[jd>>2]=i}else Lc(K,i);i=j;id=2206;break $}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);id=2204;break}else{id=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);id=2204;break}}else id=2204;while(0);if((id|0)==2204)if(K){i=K+464|0;id=2206}if((id|0)==2206){if(c[i>>2]|0){Lc(K,h);break}jd=h;if(jd>>>0>=(c[K+296>>2]|0)>>>0?jd>>>0<(c[K+300>>2]|0)>>>0:0){jd=K+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;break}}if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);if(v|0){if(K|0){if(c[K+464>>2]|0){Lc(K,v);break}jd=v;if(jd>>>0>=(c[K+296>>2]|0)>>>0?jd>>>0<(c[K+300>>2]|0)>>>0:0){jd=K+292|0;c[v>>2]=c[jd>>2];c[jd>>2]=v;break}}if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{jd=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}}while(0);if(!(c[L>>2]|0)){hd=H;id=c[hd+4>>2]|0;jd=J;c[jd>>2]=c[hd>>2];c[jd+4>>2]=id;break a}else{hd=I;id=c[hd+4>>2]|0;jd=J;c[jd>>2]=c[hd>>2];c[jd+4>>2]=id;break a}}case 226:{c[ld+4>>2]=d[ld+2>>0];break}case 227:{c[ld+-12>>2]=64;break}case 228:{c[ld+20>>2]=33;break}case 230:case 229:{c[ld+4>>2]=d[ld+2>>0];c[ld+8>>2]=0;break}case 231:{c[ld+-28>>2]=110;c[ld+-24>>2]=c[ld+4>>2];break}case 251:case 232:{c[ld+20>>2]=0;break}case 252:case 233:{c[ld+-12>>2]=c[ld+4>>2];break}case 234:{id=ld+-12|0;jd=ld+-28|0;c[(c[(c[jd>>2]|0)+32>>2]|0)+28>>2]=c[id>>2];c[(c[jd>>2]|0)+32>>2]=c[id>>2];break}case 235:{jd=c[ld+-12>>2]|0;c[jd+32>>2]=jd;break}case 236:{gd=ld+4|0;hd=c[gd+4>>2]|0;id=ld+-28|0;c[id>>2]=c[gd>>2];c[id+4>>2]=hd;hg(jd,25812,m);break}case 237:{hg(jd,25907,n);break}case 238:{hg(jd,25991,o);break}case 239:{q=c[jd>>2]|0;m=ld+-60|0;r=c[ld+-12>>2]|0;s=c[ld+4>>2]|0;p=c[ld+-76>>2]&255;o=ld+-56|0;k=(c[o>>2]|0)+37|0;do if(!q){jd=Ft(k|0,0,-1,-1)|0;hd=z;if(!(hd>>>0>0|(hd|0)==0&jd>>>0>2147483390)){if(!(c[2]|0)){h=jb[c[52>>2]&255](k)|0;id=2262;break}h=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){hd=c[11822]|0;jd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;gd=z;c[11616]=(0>(gd|0)|0==(gd|0)&hd>>>0>=jd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(h){i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;id=2263}else id=2263}else h=0}else h=0}else{if(c[q+264>>2]|0){if(a[q+73>>0]|0){h=0;break}}else{if(!(0<0|(0==0?(e[q+268>>1]|0)>>>0>>0:0))){i=q+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2262;break}i=q+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2262;break}}else h=1;jd=q+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(q,k,0)|0;id=2262}while(0);if((id|0)==2262)if(!h)h=0;else id=2263;do if((id|0)==2263){Vt(h|0,0,k|0)|0;n=h+36|0;Tt(n|0,c[m>>2]|0,c[o>>2]|0)|0;i=a[n>>0]|0;if((a[18220+(i&255)>>0]|0)>=0){c[h+12>>2]=n;a[h>>0]=110;if(!h){h=0;break}}else{k=i<<24>>24==91?93:i;m=0;i=1;while(1){j=a[n+i>>0]|0;if(j<<24>>24==k<<24>>24){i=i+1|0;j=n+m|0;if((a[n+i>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[n+m>>0]=j;m=m+1|0;i=i+1|0}a[j>>0]=0;c[h+12>>2]=n;a[h>>0]=110}c[h+20>>2]=Ui(q,r,1)|0;if(!s)i=0;else i=sj(q,s,1,0)|0;c[h+16>>2]=i;a[h+1>>0]=p}while(0);if(r|0)Rf(q,r);if(s|0)Qf(q,s);c[ld+-92>>2]=h;break}case 240:{s=c[jd>>2]|0;n=ld+-28|0;h=c[ld+-12>>2]|0;t=c[ld+4>>2]|0;u=ld+-60|0;q=c[u>>2]&255;p=ld+-24|0;m=(c[p>>2]|0)+37|0;r=(s|0)==0;do if(r){jd=Ft(m|0,0,-1,-1)|0;id=z;if(!(id>>>0>0|(id|0)==0&jd>>>0>2147483390)){if(!(c[2]|0)){i=jb[c[52>>2]&255](m)|0;id=2302;break}i=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){id=c[11822]|0;jd=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;hd=z;c[11616]=(0>(hd|0)|0==(hd|0)&id>>>0>=jd>>>0)&1}j=jb[c[52>>2]&255](i)|0;if(j){i=jb[c[64>>2]&255](j)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;id=2303}else id=2303}else id=2313}else id=2313}else{if(c[s+264>>2]|0){if(a[s+73>>0]|0){id=2313;break}}else{if(!(0<0|(0==0?(e[s+268>>1]|0)>>>0>>0:0))){j=s+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];id=s+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2302;break}j=s+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];id=s+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2302;break}}else i=1;jd=s+276+(i<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}i=Ec(s,m,0)|0;id=2302}while(0);if((id|0)==2302)if(!i)id=2313;else{j=i;id=2303}do if((id|0)==2303){Vt(j|0,0,m|0)|0;o=j+36|0;Tt(o|0,c[n>>2]|0,c[p>>2]|0)|0;i=a[o>>0]|0;if((a[18220+(i&255)>>0]|0)>=0){c[j+12>>2]=o;a[j>>0]=108;if(!j){id=2313;break}}else{m=i<<24>>24==91?93:i;n=0;i=1;while(1){k=a[o+i>>0]|0;if(k<<24>>24==m<<24>>24){i=i+1|0;k=o+n|0;if((a[o+i>>0]|0)!=m<<24>>24)break;a[k>>0]=m}else a[o+n>>0]=k;n=n+1|0;i=i+1|0}a[k>>0]=0;c[j+12>>2]=o;a[j>>0]=108}c[j+8>>2]=Ti(s,t,1)|0;c[j+24>>2]=h;a[j+1>>0]=q;h=j}while(0);do if((id|0)==2313)if(h){q=h+4|0;j=c[h>>2]|0;aa:do if((c[q>>2]|0)>0){m=s+464|0;n=s+296|0;o=s+300|0;p=s+292|0;if(r){k=0;while(1){i=c[j+(k<<3)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);k=k+1|0;j=c[h>>2]|0;if((k|0)>=(c[q>>2]|0))break aa}}else k=0;do{i=c[j+(k<<3)>>2]|0;do if(i|0){if(c[m>>2]|0){Lc(s,i);break}jd=i;if(jd>>>0>=(c[n>>2]|0)>>>0?jd>>>0<(c[o>>2]|0)>>>0:0){c[i>>2]=c[p>>2];c[p>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{jd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);k=k+1|0;j=c[h>>2]|0}while((k|0)<(c[q>>2]|0))}while(0);ba:do if(j){do if(!r){i=s+464|0;if(!(c[i>>2]|0)){k=j;if(k>>>0<(c[s+296>>2]|0)>>>0)break;if(k>>>0>=(c[s+300>>2]|0)>>>0)break;jd=s+292|0;c[j>>2]=c[jd>>2];c[jd>>2]=j}else Lc(s,j);id=2344;break ba}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);id=2342;break}else{id=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);id=2342;break}}else id=2342;while(0);if((id|0)==2342)if(!r){i=s+464|0;id=2344}if((id|0)==2344){if(c[i>>2]|0){Lc(s,h);h=0;break}jd=h;if(jd>>>0>=(c[s+296>>2]|0)>>>0?jd>>>0<(c[s+300>>2]|0)>>>0:0){jd=s+292|0;c[h>>2]=c[jd>>2];c[jd>>2]=h;h=0;break}}if(h)if(!(c[2]|0)){pb[c[56>>2]&255](h);h=0;break}else{jd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);h=0;break}else h=0}else h=0;while(0);if(t|0)Sf(s,t,1);c[u>>2]=h;break}case 241:{q=c[jd>>2]|0;o=ld+-28|0;r=c[ld+4>>2]|0;p=ld+-24|0;k=(c[p>>2]|0)+37|0;do if(!q){jd=Ft(k|0,0,-1,-1)|0;hd=z;if(!(hd>>>0>0|(hd|0)==0&jd>>>0>2147483390)){if(!(c[2]|0)){h=jb[c[52>>2]&255](k)|0;id=2378;break}h=jb[c[68>>2]&255](k)|0;if((c[11829]|0)>>>0>>0)c[11829]=k;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){hd=c[11822]|0;jd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;gd=z;c[11616]=(0>(gd|0)|0==(gd|0)&hd>>>0>=jd>>>0)&1}i=jb[c[52>>2]&255](h)|0;if(i){h=jb[c[64>>2]&255](i)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0){c[11831]=h;n=i;id=2379}else{n=i;id=2379}}else h=0}else h=0}else{if(c[q+264>>2]|0){if(a[q+73>>0]|0){h=0;break}}else{if(!(0<0|(0==0?(e[q+268>>1]|0)>>>0>>0:0))){i=q+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2378;break}i=q+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=q+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2378;break}}else h=1;jd=q+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(q,k,0)|0;id=2378}while(0);if((id|0)==2378)if(!h)h=0;else{n=h;id=2379}do if((id|0)==2379){Vt(n|0,0,k|0)|0;m=n+36|0;Tt(m|0,c[o>>2]|0,c[p>>2]|0)|0;h=a[m>>0]|0;if((a[18220+(h&255)>>0]|0)>=0){c[n+12>>2]=m;a[n>>0]=109;if(!n){h=0;break}}else{j=h<<24>>24==91?93:h;k=0;h=1;while(1){i=a[m+h>>0]|0;if(i<<24>>24==j<<24>>24){h=h+1|0;i=m+k|0;if((a[m+h>>0]|0)!=j<<24>>24)break;a[i>>0]=j}else a[m+k>>0]=i;k=k+1|0;h=h+1|0}a[i>>0]=0;c[n+12>>2]=m;a[n>>0]=109}if(!r)h=0;else h=sj(q,r,1,0)|0;c[n+16>>2]=h;a[n+1>>0]=10;h=n}while(0);if(r|0)Qf(q,r);c[ld+-60>>2]=h;break}case 242:{k=c[jd>>2]|0;n=ld+4|0;m=c[n>>2]|0;do if(!k){if(!(c[2]|0)){h=jb[c[52>>2]&255](36)|0;id=2415;break}h=jb[c[68>>2]&255](36)|0;if((c[11829]|0)>>>0<36)c[11829]=36;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){id=c[11822]|0;jd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;hd=z;c[11616]=(0>(hd|0)|0==(hd|0)&id>>>0>=jd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(h){i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;id=2418}else id=2418}else id=2416}else{if(c[k+264>>2]|0){if(a[k+73>>0]|0){id=2416;break}}else{if((e[k+268>>1]|0)>=36){i=k+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2415;break}i=k+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=k+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2415;break}}else h=1;jd=k+276+(h<<2)|0;c[jd>>2]=(c[jd>>2]|0)+1}h=Ec(k,36,0)|0;id=2415}while(0);if((id|0)==2415)if(!h)id=2416;else id=2418;if((id|0)==2416)if(!m)h=0;else{Sf(k,m,1);h=0}else if((id|0)==2418){F=h+2|0;G=F+34|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0));a[h>>0]=119;c[h+8>>2]=m;a[h+1>>0]=10}c[n>>2]=h;break}case 243:{k=ld+-44|0;hd=c[ld+4>>2]|0;j=c[ld+8>>2]|0;c[ld+-40>>2]=c[k>>2];c[ld+-36>>2]=hd+j;j=c[jd>>2]|0;do if(c[j+264>>2]|0){if(!(a[j+73>>0]|0))id=2428}else{if((e[j+268>>1]|0)>=48){h=j+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2429;break}h=j+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];id=j+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2429;break}}else h=1;id=j+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=2428}while(0);if((id|0)==2428){i=Ec(j,48,0)|0;id=2429}if((id|0)==2429?i|0:0){F=i;G=F+48|0;do{c[F>>2]=0;F=F+4|0}while((F|0)<(G|0));a[i>>0]=70;b[i+34>>1]=-1;Ji(i);h=c[(c[jd>>2]|0)+112>>2]|0;if((h|0)<(c[i+24>>2]|0)){c[xa>>2]=h;hg(jd,24905,xa)}c[k>>2]=i;a[i+1>>0]=4;break a}c[k>>2]=0;break}case 244:{id=ld+-76|0;hd=c[ld+4>>2]|0;h=c[ld+8>>2]|0;c[ld+-72>>2]=c[id>>2];c[ld+-68>>2]=hd+h;h=Yi(c[jd>>2]|0,70,ld+-12|0,1)|0;c[id>>2]=h;if(h|0)a[h+1>>0]=c[ld+-44>>2];break}case 245:{c[ld+4>>2]=1;break}case 247:{c[ld+4>>2]=3;break}case 248:{t=c[ld+4>>2]|0;u=c[ld+-12>>2]|0;v=c[jd>>2]|0;do if((a[v+73>>0]|0)==0?(fj(jd)|0)==0:0){w=c[t+12>>2]|0;q=c[t+16>>2]|0;r=v+20|0;i=c[r>>2]|0;if((i|0)>0){s=v+16|0;ca:do if(!w){i=0;while(1){h=c[($f((c[(c[s>>2]|0)+(((i|0)<2^i)<<4)+12>>2]|0)+40|0,q,0)|0)+8>>2]|0;if(h|0)break;i=i+1|0;if((i|0)>=(c[r>>2]|0)){h=0;break}}}else{h=0;p=0;do{n=(p|0)<2^p;o=c[s>>2]|0;k=c[o+(n<<4)>>2]|0;id=a[k>>0]|0;j=(d[17324+(id&255)>>0]|0)-(d[17324+(d[w>>0]|0)>>0]|0)|0;if(!(id<<24>>24==0|(j|0)!=0)){m=w;do{k=k+1|0;m=m+1|0;id=a[k>>0]|0;j=(d[17324+(id&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(id<<24>>24==0|(j|0)!=0))}if(!j){h=c[($f((c[o+(n<<4)+12>>2]|0)+40|0,q,0)|0)+8>>2]|0;if(h|0)break ca;i=c[r>>2]|0}p=p+1|0}while((p|0)<(i|0))}while(0);if(h|0){uj(jd,h);break}}if(!u){c[Zb>>2]=t;c[Zb+4>>2]=0;hg(jd,26076,Zb)}else hj(jd,w);a[jd+17>>0]=1}while(0);ag(v,t);break}case 249:{id=c[ld+-44>>2]|0;vj(jd,24,4936,id,id,c[ld+-12>>2]|0,c[ld+4>>2]|0);break}case 250:{id=c[ld+4>>2]|0;vj(jd,25,4964,id,0,0,id);break}case 253:{if((fj(jd)|0)==0?(x=c[jd>>2]|0,ac=x+20|0,I=c[ac>>2]|0,(I|0)>0):0){v=jd+120|0;u=0;t=c[x+16>>2]|0;h=I;while(1){i=c[(c[t+12>>2]|0)+16>>2]|0;if(i){do{h=c[i+8>>2]|0;j=c[h+8>>2]|0;if(j|0){s=h+72|0;do{k=c[s>>2]|0;if(!k)h=-1e6;else{m=c[(c[jd>>2]|0)+16>>2]|0;h=0;while(1)if((c[m+(h<<4)+12>>2]|0)==(k|0))break;else h=h+1|0}q=c[v>>2]|0;q=(q|0)==0?jd:q;k=q+92|0;m=c[k>>2]|0;r=1<>2]=m|r,(h|0)==1):0)?(bc=c[q>>2]|0,cc=bc+16|0,(c[(c[cc>>2]|0)+20>>2]|0)==0):0)?(a[q+399>>0]|0)==0:0){h=fg(c[bc>>2]|0,0,bc,hd,0,542)|0;if(h|0){hg(q,21111,dc);c[q+12>>2]=h;break}id=c[hd>>2]|0;c[(c[cc>>2]|0)+20>>2]=id;h=c[bc+84>>2]|0;m=c[id+4>>2]|0;c[m+4>>2]=c[id>>2];do if(!(b[m+22>>1]&2)){n=m+32|0;o=m+36|0;p=(c[n>>2]|0)-(c[o>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[n>>2]=h;k=m+80|0;h=c[k>>2]|0;if(!h)break;h=h+-4|0;c[k>>2]=h;id=h;do if(!(id>>>0>=(c[11662]|0)>>>0&id>>>0<(c[11663]|0)>>>0)){id=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-id;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;id=(c[11666]|0)+1|0;c[11666]=id;c[11667]=(id|0)<(c[11661]|0)&1}while(0);c[k>>2]=0}while(0);id=gg(c[m>>2]|0,n,p)|0;c[o>>2]=(c[n>>2]|0)-(p&65535);if((id|0)!=7)break;h=bc+73|0;do if(!(a[h>>0]|0)){if(a[bc+74>>0]|0)break;a[h>>0]=1;if((c[bc+172>>2]|0)>0)c[bc+256>>2]=1;id=bc+264|0;c[id>>2]=(c[id>>2]|0)+1}while(0);break da}while(0)}while(0);id=q+88|0;c[id>>2]=c[id>>2]|r;wj(jd,j,-1);j=c[j+20>>2]|0}while((j|0)!=0)}i=c[i>>2]|0}while((i|0)!=0);h=c[ac>>2]|0}u=u+1|0;if((u|0)>=(h|0))break;else t=t+16|0}}break}case 254:{h=ld+-12|0;m=ld+4|0;u=c[jd>>2]|0;if(!(fj(jd)|0)){do if(!(c[m>>2]|0)){n=Fi(c[jd>>2]|0,h)|0;if(!n)break a;gd=a[u+70>>0]|0;fd=c[($f(u+372|0,n,0)|0)+8>>2]|0;if((fd|0)==0|(fd+(((gd&255)+-1|0)*20|0)|0)==0){if(c[u+464>>2]|0){Lc(u,n);break}gd=n;if(gd>>>0>=(c[u+296>>2]|0)>>>0?gd>>>0<(c[u+300>>2]|0)>>>0:0){gd=u+292|0;c[n>>2]=c[gd>>2];c[gd>>2]=n;break}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{gd=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-gd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}h=c[jd>>2]|0;m=h+20|0;i=c[m>>2]|0;if((i|0)>0){k=0;j=c[h+16>>2]|0;while(1){h=c[(c[j+12>>2]|0)+16>>2]|0;if(!h)h=i;else{do{xj(jd,c[h+8>>2]|0,n);h=c[h>>2]|0}while((h|0)!=0);h=c[m>>2]|0}k=k+1|0;if((k|0)>=(h|0))break;else{j=j+16|0;i=h}}if(u|0)id=2508}else id=2508;if((id|0)==2508){if(c[u+464>>2]|0){Lc(u,n);break a}jd=n;if(jd>>>0>=(c[u+296>>2]|0)>>>0?jd>>>0<(c[u+300>>2]|0)>>>0:0){jd=u+292|0;c[n>>2]=c[jd>>2];c[jd>>2]=n;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break a}else{jd=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break a}}while(0);k=c[jd>>2]|0;if(c[ld+8>>2]|0){if(a[k+157>>0]|0){hg(jd,24989,ea);break a}i=Fi(k,h)|0;j=eg(k,i)|0;do if(i|0){if(c[k+464>>2]|0){Lc(k,i);break}gd=i;if(gd>>>0>=(c[k+296>>2]|0)>>>0?gd>>>0<(c[k+300>>2]|0)>>>0:0){gd=k+292|0;c[i>>2]=c[gd>>2];c[gd>>2]=i;break}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{gd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-gd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if((j|0)<0){c[oa>>2]=h;hg(jd,25006,oa);break a}else h=m}else j=d[k+156>>0]|0;t=Fi(u,h)|0;if(t|0){h=c[(c[u+16>>2]|0)+(j<<4)>>2]|0;i=jj(u,t,h)|0;if(!i){q=gj(u,t,h)|0;do if(!(c[u+464>>2]|0)){id=t;if(id>>>0>=(c[u+296>>2]|0)>>>0?id>>>0<(c[u+300>>2]|0)>>>0:0){id=u+292|0;c[t>>2]=c[id>>2];c[id>>2]=t;break}if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{id=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}}else Lc(u,t);while(0);if(!q){hg(jd,26096,Va);break a}o=c[jd+120>>2]|0;o=(o|0)==0?jd:o;h=o+92|0;i=c[h>>2]|0;p=1<>2]=i|p,(j|0)==1):0)?(_b=c[o>>2]|0,Gb=_b+16|0,(c[(c[Gb>>2]|0)+20>>2]|0)==0):0)?(a[o+399>>0]|0)==0:0){h=fg(c[_b>>2]|0,0,_b,hd,0,542)|0;if(h|0){hg(o,21111,Jb);c[o+12>>2]=h;break}id=c[hd>>2]|0;c[(c[Gb>>2]|0)+20>>2]=id;h=c[_b+84>>2]|0;j=c[id+4>>2]|0;c[j+4>>2]=c[id>>2];if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;id=h;do if(!(id>>>0>=(c[11662]|0)>>>0&id>>>0<(c[11663]|0)>>>0)){id=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-id;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;id=(c[11666]|0)+1|0;c[11666]=id;c[11667]=(id|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);id=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((id|0)==7){h=_b+73|0;do if(!(a[h>>0]|0)){if(a[_b+74>>0]|0)break;a[h>>0]=1;if((c[_b+172>>2]|0)>0)c[_b+256>>2]=1;id=_b+264|0;c[id>>2]=(c[id>>2]|0)+1}while(0);break}}}while(0);id=o+88|0;c[id>>2]=c[id>>2]|p;wj(jd,q,-1);break a}h=c[i+8>>2]|0;if(h){r=i+72|0;s=jd+120|0;do{j=c[r>>2]|0;if(!j)i=-1e6;else{k=c[(c[jd>>2]|0)+16>>2]|0;i=0;while(1)if((c[k+(i<<4)+12>>2]|0)==(j|0))break;else i=i+1|0}p=c[s>>2]|0;p=(p|0)==0?jd:p;j=p+92|0;k=c[j>>2]|0;q=1<>2]=k|q,(i|0)==1):0)?(kc=c[p>>2]|0,lc=kc+16|0,(c[(c[lc>>2]|0)+20>>2]|0)==0):0)?(a[p+399>>0]|0)==0:0){i=fg(c[kc>>2]|0,0,kc,hd,0,542)|0;if(i|0){hg(p,21111,mc);c[p+12>>2]=i;break}gd=c[hd>>2]|0;c[(c[lc>>2]|0)+20>>2]=gd;i=c[kc+84>>2]|0;k=c[gd+4>>2]|0;c[k+4>>2]=c[gd>>2];do if(!(b[k+22>>1]&2)){m=k+32|0;n=k+36|0;o=(c[m>>2]|0)-(c[n>>2]|0)|0;do if((i+-512|0)>>>0<65025){if(i+-1&i|0)break;c[m>>2]=i;j=k+80|0;i=c[j>>2]|0;if(!i)break;i=i+-4|0;c[j>>2]=i;gd=i;do if(!(gd>>>0>=(c[11662]|0)>>>0&gd>>>0<(c[11663]|0)>>>0)){gd=jb[c[64>>2]&255](i)|0;c[11824]=(c[11824]|0)-gd;if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{gd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-gd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}else{c[11823]=(c[11823]|0)+-1;c[i>>2]=c[11665];c[11665]=i;gd=(c[11666]|0)+1|0;c[11666]=gd;c[11667]=(gd|0)<(c[11661]|0)&1}while(0);c[j>>2]=0}while(0);gd=gg(c[k>>2]|0,m,o)|0;c[n>>2]=(c[m>>2]|0)-(o&65535);if((gd|0)!=7)break;i=kc+73|0;do if(!(a[i>>0]|0)){if(a[kc+74>>0]|0)break;a[i>>0]=1;if((c[kc+172>>2]|0)>0)c[kc+256>>2]=1;gd=kc+264|0;c[gd>>2]=(c[gd>>2]|0)+1}while(0);break ea}while(0)}while(0);gd=p+88|0;c[gd>>2]=c[gd>>2]|q;wj(jd,h,-1);h=c[h+20>>2]|0}while((h|0)!=0);if(u|0)id=2572}else id=2572;if((id|0)==2572){if(c[u+464>>2]|0){Lc(u,t);break a}jd=t;if(jd>>>0>=(c[u+296>>2]|0)>>>0?jd>>>0<(c[u+300>>2]|0)>>>0:0){jd=u+292|0;c[t>>2]=c[jd>>2];c[jd>>2]=t;break a}}if(!(c[2]|0)){pb[c[56>>2]&255](t);break a}else{jd=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break a}}}break}case 255:{yj(jd,0,0);break}case 256:{yj(jd,ld+-12|0,ld+4|0);break}case 257:{D=c[ld+-44>>2]|0;k=ld+4|0;E=c[jd>>2]|0;F=E+24|0;G=c[F>>2]|0;do if(!(a[E+73>>0]|0)){i=c[D+8>>2]|0;if(!i)h=D+12|0;else{j=c[E+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0;h=j+(h<<4)|0}C=oj(jd,0,c[D+16>>2]|0,c[h>>2]|0)|0;if(C){B=C+72|0;i=c[B>>2]|0;if(!i)w=-1e6;else{j=c[(c[jd>>2]|0)+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){w=h;break}else h=h+1|0}y=c[(c[E+16>>2]|0)+(w<<4)>>2]|0;c[F>>2]=c[F>>2]|2;A=Fi(E,k)|0;if(A){fa:do if((jj(E,A,y)|0)==0?(gj(E,A,y)|0)==0:0)if((zj(jd,c[C>>2]|0)|0)==0?(rj(jd,A)|0)==0:0){i=c[C>>2]|0;if(c[C+12>>2]|0){c[Kb>>2]=i;hg(jd,26201,Kb);id=2759;break}h=c[jd>>2]|0;ga:do if(((a[h+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(Nb=c[h+304>>2]|0,Nb|0):0)switch(ob[Nb&255](c[h+308>>2]|0,26,y,i,0,c[jd+440>>2]|0)|0){case 2:{id=2759;break fa}case 0:break ga;case 1:{hg(jd,24761,Pb);c[jd+12>>2]=23;id=2759;break fa}default:{hg(jd,24776,Qb);c[jd+12>>2]=1;id=2759;break fa}}while(0);if(!(Aj(jd,C)|0)){if(!(c[C+56>>2]|0))v=0;else{h=c[C+64>>2]|0;ha:do if(!h)h=0;else while(1){if((c[h>>2]|0)==(E|0))break ha;h=c[h+24>>2]|0;if(!h){h=0;break}}while(0);v=(c[(c[c[h+8>>2]>>2]|0)+76>>2]|0)==0?0:h}s=jd+8|0;h=c[s>>2]|0;x=jd+120|0;if(!h){do if(!(c[x>>2]|0)){if(b[(c[jd>>2]|0)+68>>1]&8)break;a[jd+23>>0]=1}while(0);h=yi(jd)|0;if(h|0){u=h;id=2652}}else{u=h;id=2652}if((id|0)==2652){t=(v|0)!=0;q=t&1;p=c[x>>2]|0;p=(p|0)==0?jd:p;h=p+92|0;i=c[h>>2]|0;r=1<>2]=i|r;if((w|0)!=1)break;o=c[p>>2]|0;h=o+16|0;if(c[(c[h>>2]|0)+20>>2]|0)break;if(a[p+399>>0]|0)break;i=fg(c[o>>2]|0,0,o,hd,0,542)|0;if(i|0){hg(p,21111,nc);c[p+12>>2]=i;break}hd=c[hd>>2]|0;c[(c[h>>2]|0)+20>>2]=hd;h=c[o+84>>2]|0;j=c[hd+4>>2]|0;c[j+4>>2]=c[hd>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;hd=h;do if(!(hd>>>0>=(c[11662]|0)>>>0&hd>>>0<(c[11663]|0)>>>0)){hd=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-hd;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{hd=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;hd=(c[11666]|0)+1|0;c[11666]=hd;c[11667]=(hd|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);hd=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((hd|0)!=7)break;h=o+73|0;do if(!(a[h>>0]|0)){if(a[o+74>>0]|0)break;a[h>>0]=1;if((c[o+172>>2]|0)>0)c[o+256>>2]=1;hd=o+264|0;c[hd>>2]=(c[hd>>2]|0)+1}while(0);break ia}while(0)}while(0);h=p+88|0;c[h>>2]=c[h>>2]|r;h=p+20|0;a[h>>0]=d[h>>0]|q;h=c[s>>2]|0;i=(c[c[(c[(c[jd>>2]|0)+16>>2]|0)+(w<<4)+12>>2]>>2]|0)+1|0;j=h+136|0;k=c[j>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;hd=c[h+88>>2]|0;a[hd+(k*20|0)>>0]=102;b[hd+(k*20|0)+2>>1]=0;c[hd+(k*20|0)+4>>2]=w;c[hd+(k*20|0)+8>>2]=1;c[hd+(k*20|0)+12>>2]=i;c[hd+(k*20|0)+16>>2]=0;a[hd+(k*20|0)+1>>0]=0}else zi(h,102,w,1,i)|0;if(t){k=jd+44|0;i=(c[k>>2]|0)+1|0;c[k>>2]=i;k=u+136|0;h=c[k>>2]|0;j=u+12|0;if((c[(c[j>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;hd=c[u+88>>2]|0;a[hd+(h*20|0)>>0]=97;b[hd+(h*20|0)+2>>1]=0;c[hd+(h*20|0)+4>>2]=0;c[hd+(h*20|0)+8>>2]=i;c[hd+(h*20|0)+12>>2]=0;c[hd+(h*20|0)+16>>2]=0;a[hd+(h*20|0)+1>>0]=0}else h=zi(u,97,0,i,0)|0;if(!(a[(c[u>>2]|0)+73>>0]|0)){if((h|0)<0)h=(c[k>>2]|0)+-1|0;Ai(u,(c[u+88>>2]|0)+(h*20|0)|0,A,0)}h=c[k>>2]|0;if((c[(c[j>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;hd=c[u+88>>2]|0;a[hd+(h*20|0)>>0]=-98;b[hd+(h*20|0)+2>>1]=0;c[hd+(h*20|0)+4>>2]=i;c[hd+(h*20|0)+8>>2]=0;c[hd+(h*20|0)+12>>2]=0;c[hd+(h*20|0)+16>>2]=0;a[hd+(h*20|0)+1>>0]=0}else h=zi(u,158,i,0,0)|0;do if(!(a[(c[u>>2]|0)+73>>0]|0)){if((h|0)<0)h=(c[k>>2]|0)+-1|0;i=c[u+88>>2]|0;j=i+(h*20|0)+1|0;if(!(a[j>>0]|0)){c[i+(h*20|0)+16>>2]=v;a[j>>0]=-12;hd=v+12|0;c[hd>>2]=(c[hd>>2]|0)+1;break}else{Ai(u,i+(h*20|0)|0,v,-12);break}}while(0);hd=c[x>>2]|0;a[((hd|0)==0?jd:hd)+21>>0]=1}m=c[C>>2]|0;i=a[m>>0]|0;if((m|0)!=(-1|0)&i<<24>>24!=0){h=m;k=0;while(1){j=h+1|0;if((i&255)>191){h=j;while(1){i=a[h>>0]|0;if((i&-64)<<24>>24==-128)h=h+1|0;else break}}else{h=j;i=a[j>>0]|0}j=k+1|0;if(i<<24>>24!=0&(h|0)!=(-1|0))k=j;else break}}else j=0;s=E+28|0;ja:do if(c[s>>2]&16384|0){h=c[($f((c[B>>2]|0)+56|0,m,0)|0)+8>>2]|0;if(!h)break;else i=0;do{i=Bj(c[jd>>2]|0,i,c[c[h>>2]>>2]|0)|0;h=c[h+12>>2]|0}while((h|0)!=0);if(!i)break;c[Wc>>2]=y;c[Wc+4>>2]=25345;c[Wc+8>>2]=m;c[Wc+12>>2]=A;c[Wc+16>>2]=i;ij(jd,26228,Wc);do if(E|0){if(c[E+464>>2]|0){Lc(E,i);break ja}h=i;if(h>>>0<(c[E+296>>2]|0)>>>0)break;if(h>>>0>=(c[E+300>>2]|0)>>>0)break;hd=E+292|0;c[i>>2]=c[hd>>2];c[hd>>2]=i;break ja}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{hd=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[Xc>>2]=y;c[Xc+4>>2]=25345;c[Xc+8>>2]=A;c[Xc+12>>2]=A;c[Xc+16>>2]=A;c[Xc+20>>2]=A;c[Xc+24>>2]=A;c[Xc+28>>2]=j;c[Xc+32>>2]=m;ij(jd,26297,Xc);if(jj(E,26681,y)|0){hd=c[C>>2]|0;c[Yc>>2]=y;c[Yc+4>>2]=A;c[Yc+8>>2]=hd;ij(jd,26697,Yc)}q=c[jd>>2]|0;r=c[(c[q+16>>2]|0)+28>>2]|0;p=c[B>>2]|0;ka:do if((p|0)!=(r|0)){if(a[jd+146>>0]|0)break;h=c[r+48>>2]|0;o=C+68|0;if(h){n=h;h=0;do{m=c[n+8>>2]|0;do if((c[m+24>>2]|0)==(p|0)){j=c[m+4>>2]|0;k=c[C>>2]|0;hd=a[j>>0]|0;i=(d[17324+(hd&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(hd<<24>>24==0|(i|0)!=0))do{j=j+1|0;k=k+1|0;hd=a[j>>0]|0;i=(d[17324+(hd&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(hd<<24>>24==0|(i|0)!=0));if(i|0)break;if(!h)h=c[o>>2]|0;c[m+32>>2]=h;h=m}while(0);n=c[n>>2]|0}while((n|0)!=0);if(h)i=0;else id=2729}else id=2729;if((id|0)==2729){h=c[o>>2]|0;if(!h)break;else i=0}while(1){if((c[h+20>>2]|0)==(r|0))k=Bj(q,i,c[h>>2]|0)|0;else k=i;h=c[h+32>>2]|0;if(!h)break;else i=k}if(!k)break;j=c[jd>>2]|0;c[cd>>2]=k;j=Ff(j,26755,cd)|0;h=c[jd>>2]|0;do if(!h)id=2740;else{if(c[h+464>>2]|0){Lc(h,k);break}i=k;if(i>>>0<(c[h+296>>2]|0)>>>0){id=2740;break}if(i>>>0>=(c[h+300>>2]|0)>>>0){id=2740;break}hd=h+292|0;c[k>>2]=c[hd>>2];c[hd>>2]=k}while(0);do if((id|0)==2740)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{hd=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);if(!j)break;c[dd>>2]=A;c[dd+4>>2]=A;c[dd+8>>2]=j;ij(jd,26779,dd);do if(E|0){if(c[E+464>>2]|0){Lc(E,j);break ka}h=j;if(h>>>0<(c[E+296>>2]|0)>>>0)break;if(h>>>0>=(c[E+300>>2]|0)>>>0)break;hd=E+292|0;c[j>>2]=c[hd>>2];c[hd>>2]=j;break ka}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{hd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);do if(c[s>>2]&16384|0){h=c[($f((c[B>>2]|0)+56|0,c[C>>2]|0,0)|0)+8>>2]|0;if(!h)break;do{i=c[h>>2]|0;if((i|0)!=(C|0))Cj(jd,i,c[i>>2]|0);h=c[h+12>>2]|0}while((h|0)!=0)}while(0);Cj(jd,C,A)}ag(E,D);if(E|0)id=2762}else id=2759}else id=2759;else id=2630;while(0);if((id|0)==2630){c[Bb>>2]=A;hg(jd,26142,Bb);id=2759}if((id|0)==2759){ag(E,D);id=2762}if((id|0)==2762){if(c[E+464>>2]|0){Lc(E,A);break}jd=A;if(jd>>>0>=(c[E+296>>2]|0)>>>0?jd>>>0<(c[E+300>>2]|0)>>>0:0){jd=E+292|0;c[A>>2]=c[jd>>2];c[jd>>2]=A;break}}if(!(c[2]|0)){pb[c[56>>2]&255](A);break}else{jd=jb[c[64>>2]&255](A)|0;c[11822]=(c[11822]|0)-jd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](A);break}}else id=2760}else id=2760}else id=2760;while(0);if((id|0)==2760)ag(E,D);c[F>>2]=G;break}case 258:{n=ld+-12|0;o=ld+-8|0;c[o>>2]=(c[jd+388>>2]|0)-(c[n>>2]|0)+(c[jd+392>>2]|0);u=c[jd+8>>2]|0;s=c[jd>>2]|0;if((c[jd+36>>2]|0)==0?(Yb=s+73|0,(a[Yb>>0]|0)==0):0){r=c[jd+432>>2]|0;i=c[r+72>>2]|0;j=c[s+16>>2]|0;if(!i)t=-1e6;else{h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){t=h;break}else h=h+1|0}p=c[j+(t<<4)>>2]|0;q=(c[r>>2]|0)+16|0;k=c[r+4>>2]|0;m=(b[r+42>>1]|0)+-1|0;h=c[k+(m<<4)+4>>2]|0;v=jj(s,q,p)|0;i=c[v>>2]|0;j=c[jd>>2]|0;la:do if(((a[j+157>>0]|0)==0?(a[jd+400>>0]|0)==0:0)?(zb=c[j+304>>2]|0,zb|0):0)switch(ob[zb&255](c[j+308>>2]|0,26,p,i,0,c[jd+440>>2]|0)|0){case 2:break a;case 0:break la;case 1:{hg(jd,24761,Cb);c[jd+12>>2]=23;break a}default:{hg(jd,24776,Db);c[jd+12>>2]=1;break a}}while(0);if(!h)i=0;else i=(a[c[h+12>>2]>>0]|0)==101?0:h;if(a[k+(m<<4)+15>>0]&1){hg(jd,26871,Lb);break a}if(c[r+8>>2]|0){hg(jd,26903,Mb);break a}h=(i|0)!=0;if(c[s+28>>2]&16384|0?h&(c[r+16>>2]|0)!=0:0){hg(jd,26930,Rb);break a}if(!(h|(a[k+(m<<4)+12>>0]|0)==0)){hg(jd,26989,Sb);break a}ma:do if(h){c[hd>>2]=0;do if(!(Dj(s,i,1,65,hd)|0)){j=c[hd>>2]|0;if(!j){hg(jd,27042,Tb);break}if(!((b[j+8>>1]&9312)==0?!(c[j+24>>2]|0):0))af(j);h=c[j+32>>2]|0;do if(!h)id=2805;else{if(c[h+464>>2]|0){Lc(h,j);break}i=j;if(i>>>0<(c[h+296>>2]|0)>>>0){id=2805;break}if(i>>>0>=(c[h+300>>2]|0)>>>0){id=2805;break}hd=h+292|0;c[j>>2]=c[hd>>2];c[hd>>2]=j}while(0);do if((id|0)==2805)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{hd=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-hd;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);break ma}while(0);break a}while(0);m=c[n>>2]|0;n=c[o>>2]|0;na:do if(m|0){j=Ft(n|0,0,1,0)|0;k=z;do if(c[s+264>>2]|0)if(!(a[Yb>>0]|0))id=2819;else break na;else{if(!(0>>0|(0==(k|0)?(e[s+268>>1]|0)>>>0>>0:0))){h=s+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];k=s+276|0;c[k>>2]=(c[k>>2]|0)+1;k=i;break}h=s+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];k=s+276|0;c[k>>2]=(c[k>>2]|0)+1;k=i;break}}else h=1;id=s+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=2819}while(0);if((id|0)==2819)k=Ec(s,j,k)|0;if(k|0){Tt(k|0,m|0,n|0)|0;a[k+n>>0]=0;h=(c[o>>2]|0)+-1|0;i=s+24|0;j=c[i>>2]|0;if((h|0)>0){h=k+h|0;do{id=a[h>>0]|0;if(id<<24>>24!=59?(a[18220+(id&255)>>0]&1)==0:0)break;a[h>>0]=0;h=h+-1|0}while(h>>>0>k>>>0);h=c[i>>2]|0}else h=j;c[i>>2]=h|2;id=c[r+52>>2]|0;c[oc>>2]=p;c[oc+4>>2]=25345;c[oc+8>>2]=id;c[oc+12>>2]=k;c[oc+16>>2]=id+1;c[oc+20>>2]=q;ij(jd,27088,oc);oa:do if(!(c[s+464>>2]|0)){h=k;do if(h>>>0>=(c[s+296>>2]|0)>>>0){if(h>>>0>=(c[s+300>>2]|0)>>>0)break;id=s+292|0;c[k>>2]=c[id>>2];c[id>>2]=k;break oa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{id=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else Lc(s,k);while(0);c[i>>2]=j}}while(0);n=jd+19|0;h=a[n>>0]|0;if(!(h<<24>>24)){id=jd+44|0;m=(c[id>>2]|0)+1|0;c[id>>2]=m}else{m=h+-1<<24>>24;a[n>>0]=m;m=c[jd+348+((m&255)<<2)>>2]|0}j=u+136|0;h=c[j>>2]|0;k=u+12|0;if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;id=c[u+88>>2]|0;a[id+(h*20|0)>>0]=101;b[id+(h*20|0)+2>>1]=0;c[id+(h*20|0)+4>>2]=t;c[id+(h*20|0)+8>>2]=m;c[id+(h*20|0)+12>>2]=2;c[id+(h*20|0)+16>>2]=0;a[id+(h*20|0)+1>>0]=0}else zi(u,101,t,m,2)|0;h=1<>2]=c[id>>2]|h;if((t|0)!=1?a[(c[(c[(c[u>>2]|0)+16>>2]|0)+(t<<4)+4>>2]|0)+9>>0]|0:0){id=u+152|0;c[id>>2]=c[id>>2]|h}h=c[j>>2]|0;if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){id=h+1|0;c[j>>2]=id;hd=c[u+88>>2]|0;a[hd+(h*20|0)>>0]=80;b[hd+(h*20|0)+2>>1]=0;c[hd+(h*20|0)+4>>2]=m;c[hd+(h*20|0)+8>>2]=-2;c[hd+(h*20|0)+12>>2]=0;c[hd+(h*20|0)+16>>2]=0;a[hd+(h*20|0)+1>>0]=0;h=id}else{zi(u,80,m,-2,0)|0;h=c[j>>2]|0}i=h+2|0;if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){id=h+1|0;c[j>>2]=id;hd=c[u+88>>2]|0;a[hd+(h*20|0)>>0]=48;b[hd+(h*20|0)+2>>1]=0;c[hd+(h*20|0)+4>>2]=m;c[hd+(h*20|0)+8>>2]=i;c[hd+(h*20|0)+12>>2]=0;c[hd+(h*20|0)+16>>2]=0;a[hd+(h*20|0)+1>>0]=0;h=id}else{zi(u,48,m,i,0)|0;h=c[j>>2]|0}if((c[(c[k>>2]|0)+48>>2]|0)>(h|0)){c[j>>2]=h+1;id=c[u+88>>2]|0;a[id+(h*20|0)>>0]=102;b[id+(h*20|0)+2>>1]=0;c[id+(h*20|0)+4>>2]=t;c[id+(h*20|0)+8>>2]=2;c[id+(h*20|0)+12>>2]=3;c[id+(h*20|0)+16>>2]=0;a[id+(h*20|0)+1>>0]=0}else zi(u,102,t,2,3)|0;pa:do if(m|0){k=a[n>>0]|0;if((k&255)>=8)break;h=a[jd+25>>0]|0;qa:do if(h<<24>>24){j=h&255;h=0;i=jd+148|0;while(1){if((c[i+12>>2]|0)==(m|0))break;h=h+1|0;if((h|0)>=(j|0))break qa;else i=i+20|0}a[i+6>>0]=1;break pa}while(0);a[n>>0]=k+1<<24>>24;c[jd+348+((k&255)<<2)>>2]=m}while(0);Cj(jd,v,c[v>>2]|0)}break}case 259:{t=jd+24|0;a[t>>0]=(a[t>>0]|0)+1<<24>>24;t=c[jd>>2]|0;p=t+264|0;c[p>>2]=(c[p>>2]|0)+1;u=c[ld+4>>2]|0;q=t+73|0;ra:do if(!(a[q>>0]|0)){i=c[u+8>>2]|0;if(!i)h=u+12|0;else{j=c[t+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0;h=j+(h<<4)|0}r=oj(jd,0,c[u+16>>2]|0,c[h>>2]|0)|0;if(r|0){if(c[r+56>>2]|0){hg(jd,27197,ta);break}if(c[r+12>>2]|0){hg(jd,27231,ua);break}if(!(zj(jd,c[r>>2]|0)|0)){i=c[r+72>>2]|0;if(!i)s=-1e6;else{j=c[t+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){s=h;break}else h=h+1|0}k=(t|0)==0;do if(k){if(!(c[2]|0)){h=jb[c[52>>2]&255](80)|0;id=2899;break}h=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;j=46456;i=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&i>>>0>0){gd=c[11822]|0;hd=Gt(i|0,j|0,h|0,((h|0)<0)<<31>>31|0)|0;fd=z;c[11616]=(0>(fd|0)|0==(fd|0)&gd>>>0>=hd>>>0)&1}h=jb[c[52>>2]&255](h)|0;if(!h)break ra;i=jb[c[64>>2]&255](h)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i}else{if(c[p>>2]|0){if(a[q>>0]|0)break ra}else{if((e[t+268>>1]|0)>=80){i=t+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=t+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2899;break}i=t+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=t+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2899;break}}else h=1;id=t+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1}h=Ec(t,80,0)|0;id=2899}while(0);if((id|0)==2899)if(!h)break;F=h;G=F+80|0;do{a[F>>0]=0;F=F+1|0}while((F|0)<(G|0));c[jd+432>>2]=h;n=h+32|0;c[n>>2]=1;m=b[r+42>>1]|0;o=h+42|0;b[o>>1]=m;m=((((m<<16>>16)+-1|0)/8|0)<<7)+128|0;do if(k){hd=Ft(m|0,0,-1,-1)|0;gd=z;if(!(gd>>>0>0|(gd|0)==0&hd>>>0>2147483390)){if(!(c[2]|0)){i=jb[c[52>>2]&255](m)|0;id=2922;break}i=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){gd=c[11822]|0;hd=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;fd=z;c[11616]=(0>(fd|0)|0==(fd|0)&gd>>>0>=hd>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(i){j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;id=2923}else id=2923}else i=0}else i=0}else{if(c[p>>2]|0){if(a[q>>0]|0){i=0;break}}else{if(!(0<0|(0==0?(e[t+268>>1]|0)>>>0>>0:0))){j=t+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];id=t+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2922;break}j=t+288|0;i=c[j>>2]|0;if(!i)i=2;else{c[j>>2]=c[i>>2];id=t+276|0;c[id>>2]=(c[id>>2]|0)+1;id=2922;break}}else i=1;id=t+276+(i<<2)|0;c[id>>2]=(c[id>>2]|0)+1}i=Ec(t,m,0)|0;id=2922}while(0);if((id|0)==2922)if(!i)i=0;else id=2923;if((id|0)==2923)Vt(i|0,0,m|0)|0;j=h+4|0;c[j>>2]=i;c[Ic>>2]=c[r>>2];id=Ff(t,27261,Ic)|0;c[h>>2]=id;i=c[j>>2]|0;if(!((id|0)==0|(i|0)==0)){Tt(i|0,c[r+4>>2]|0,b[o>>1]<<4|0)|0;if((b[o>>1]|0)>0){i=0;do{id=c[j>>2]|0;hd=id+(i<<4)|0;c[hd>>2]=kg(t,c[hd>>2]|0)|0;c[id+(i<<4)+8>>2]=0;c[id+(i<<4)+4>>2]=0;i=i+1|0}while((i|0)<(b[o>>1]|0))}c[h+72>>2]=c[(c[t+16>>2]|0)+(s<<4)+12>>2];c[h+52>>2]=c[r+52>>2];c[n>>2]=1;q=jd+120|0;o=c[q>>2]|0;o=(o|0)==0?jd:o;h=o+92|0;i=c[h>>2]|0;p=1<>2]=i|p,(s|0)==1):0)?(Rc=c[o>>2]|0,Hc=Rc+16|0,(c[(c[Hc>>2]|0)+20>>2]|0)==0):0)?(a[o+399>>0]|0)==0:0){h=fg(c[Rc>>2]|0,0,Rc,Ic,0,542)|0;if(h|0){hg(o,21111,Jc);c[o+12>>2]=h;break}id=c[Ic>>2]|0;c[(c[Hc>>2]|0)+20>>2]=id;h=c[Rc+84>>2]|0;j=c[id+4>>2]|0;c[j+4>>2]=c[id>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;m=j+36|0;n=(c[k>>2]|0)-(c[m>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;id=h;do if(!(id>>>0>=(c[11662]|0)>>>0&id>>>0<(c[11663]|0)>>>0)){id=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-id;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;id=(c[11666]|0)+1|0;c[11666]=id;c[11667]=(id|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);id=gg(c[j>>2]|0,k,n)|0;c[m>>2]=(c[k>>2]|0)-(n&65535);if((id|0)!=7)break;h=Rc+73|0;do if(!(a[h>>0]|0)){if(a[Rc+74>>0]|0)break;a[h>>0]=1;if((c[Rc+172>>2]|0)>0)c[Rc+256>>2]=1;id=Rc+264|0;c[id>>2]=(c[id>>2]|0)+1}while(0);break sa}while(0)}while(0);h=o+88|0;c[h>>2]=c[h>>2]|p;h=jd+8|0;i=c[h>>2]|0;if(!i){if((c[q>>2]|0)==0?(b[(c[jd>>2]|0)+68>>1]&8)==0:0)a[jd+23>>0]=1;if(!(yi(jd)|0))break;i=c[h>>2]|0}h=(c[c[(c[(c[jd>>2]|0)+16>>2]|0)+(s<<4)+12>>2]>>2]|0)+1|0;j=i+136|0;k=c[j>>2]|0;if((c[(c[i+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;jd=c[i+88>>2]|0;a[jd+(k*20|0)>>0]=102;b[jd+(k*20|0)+2>>1]=0;c[jd+(k*20|0)+4>>2]=s;c[jd+(k*20|0)+8>>2]=1;c[jd+(k*20|0)+12>>2]=h;c[jd+(k*20|0)+16>>2]=0;a[jd+(k*20|0)+1>>0]=0;break}else{zi(i,102,s,1,h)|0;break}}}}}while(0);ag(t,u);break}case 260:{Ej(jd,0);break}case 261:{Ej(jd,ld+4|0);break}case 262:{n=ld+4|0;Gi(jd,ld+-44|0,ld+-28|0,0,0,1,c[ld+-60>>2]|0);p=c[jd+432>>2]|0;if(p|0){o=c[jd>>2]|0;i=c[p+72>>2]|0;if(!i)m=-1e6;else{j=c[o+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){m=h;break}else h=h+1|0}h=Fi(o,n)|0;j=p+56|0;i=(c[j>>2]<<2)+8|0;k=p+60|0;i=Mc(o,c[k>>2]|0,i,((i|0)<0)<<31>>31)|0;do if(!i){if(h|0){if(o|0){if(c[o+464>>2]|0){Lc(o,h);break}id=h;if(id>>>0>=(c[o+296>>2]|0)>>>0?id>>>0<(c[o+300>>2]|0)>>>0:0){id=o+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}}else{hd=c[j>>2]|0;id=hd+1|0;c[j>>2]=id;c[i+(hd<<2)>>2]=h;c[i+(id<<2)>>2]=0;c[k>>2]=i}while(0);h=(c[j>>2]<<2)+8|0;h=Mc(o,c[k>>2]|0,h,((h|0)<0)<<31>>31)|0;if(h|0){hd=c[j>>2]|0;id=hd+1|0;c[j>>2]=id;c[h+(hd<<2)>>2]=0;c[h+(id<<2)>>2]=0;c[k>>2]=h}h=kg(o,c[p>>2]|0)|0;i=(c[j>>2]<<2)+8|0;i=Mc(o,c[k>>2]|0,i,((i|0)<0)<<31>>31)|0;do if(!i){if(h|0){if(o|0){if(c[o+464>>2]|0){Lc(o,h);break}id=h;if(id>>>0>=(c[o+296>>2]|0)>>>0?id>>>0<(c[o+300>>2]|0)>>>0:0){id=o+292|0;c[h>>2]=c[id>>2];c[id>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{id=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}}else{hd=c[j>>2]|0;id=hd+1|0;c[j>>2]=id;c[i+(hd<<2)>>2]=h;c[i+(id<<2)>>2]=0;c[k>>2]=i}while(0);c[jd+384>>2]=(c[n>>2]|0)+(c[ld+8>>2]|0)-(c[jd+380>>2]|0);h=c[k>>2]|0;if(((h|0?(fb=c[p>>2]|0,gb=c[h>>2]|0,hb=c[jd>>2]|0,ib=c[(c[hb+16>>2]|0)+(m<<4)>>2]|0,(a[hb+157>>0]|0)==0):0)?(a[jd+400>>0]|0)==0:0)?(kb=c[hb+304>>2]|0,kb|0):0)switch(ob[kb&255](c[hb+308>>2]|0,29,fb,gb,ib,c[jd+440>>2]|0)|0){case 0:case 2:break a;case 1:{hg(jd,24761,qb);c[jd+12>>2]=23;break a}default:{hg(jd,24776,rb);c[jd+12>>2]=1;break a}}}break}case 263:{o=jd+444|0;m=c[o>>2]|0;do if(m|0?(_a=c[jd+432>>2]|0,_a|0):0){n=c[jd+448>>2]|0;p=c[jd>>2]|0;j=Ft(n|0,((n|0)<0)<<31>>31|0,1,0)|0;k=z;do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))id=3010;else k=0;else{if(!(0>>0|(0==(k|0)?(e[p+268>>1]|0)>>>0>>0:0))){i=p+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];id=p+276|0;c[id>>2]=(c[id>>2]|0)+1;id=3011;break}i=p+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];id=p+276|0;c[id>>2]=(c[id>>2]|0)+1;id=3011;break}}else h=1;id=p+276+(h<<2)|0;c[id>>2]=(c[id>>2]|0)+1;id=3010}while(0);if((id|0)==3010){h=Ec(p,j,k)|0;id=3011}if((id|0)==3011)if(!h)k=0;else{Tt(h|0,m|0,n|0)|0;a[h+n>>0]=0;k=h}j=_a+56|0;i=(c[j>>2]<<2)+8|0;h=_a+60|0;i=Mc(p,c[h>>2]|0,i,((i|0)<0)<<31>>31)|0;if(i|0){hd=c[j>>2]|0;id=hd+1|0;c[j>>2]=id;c[i+(hd<<2)>>2]=k;c[i+(id<<2)>>2]=0;c[h>>2]=i;break}if(k|0){if(c[p+464>>2]|0){Lc(p,k);break}id=k;if(id>>>0>=(c[p+296>>2]|0)>>>0?id>>>0<(c[p+300>>2]|0)>>>0:0){id=p+292|0;c[k>>2]=c[id>>2];c[id>>2]=k;break}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{id=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-id;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}}while(0);c[o>>2]=0;c[jd+448>>2]=0;break}case 266:case 265:case 264:{i=c[ld+4>>2]|0;h=c[ld+8>>2]|0;j=jd+444|0;k=c[j>>2]|0;if(!k)c[j>>2]=i;else h=i+h-k|0;c[jd+448>>2]=h;break}case 267:{c[ld+20>>2]=0;break}case 268:{c[ld+-12>>2]=c[ld+4>>2];break}case 269:{c[ld+-28>>2]=c[ld+4>>2];break}case 270:{id=ld+-76|0;c[id>>2]=Fj(jd,0,id,c[ld+-60>>2]|0,c[ld+-12>>2]|0)|0;break}default:{}}while(0);j=a[24057+(g<<1)>>0]|0;h=a[kd>>0]|0;i=b[10134+((b[14176+(e[ld+(h<<4)>>1]<<1)>>1]|0)+(j&255)<<1)>>1]|0;if(i<<16>>16==1323){c[f>>2]=(c[f>>2]|0)+(h<<4);l=md;return}else{kd=h+1|0;g=ld+(kd<<4)|0;c[f>>2]=g;b[g>>1]=i;a[ld+(kd<<4)+2>>0]=j;l=md;return}}function yi(b){b=b|0;var d=0,f=0,g=0,h=0,i=0;i=c[b>>2]|0;do if(c[i+264>>2]|0)if(!(a[i+73>>0]|0))h=9;else{b=0;return b|0}else{if((e[i+268>>1]|0)>=216){d=i+292|0;f=c[d>>2]|0;if(f|0){c[d>>2]=c[f>>2];g=i+276|0;c[g>>2]=(c[g>>2]|0)+1;g=f;break}d=i+288|0;f=c[d>>2]|0;if(!f)d=2;else{c[d>>2]=c[f>>2];g=i+276|0;c[g>>2]=(c[g>>2]|0)+1;g=f;break}}else d=1;h=i+276+(d<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=9}while(0);if((h|0)==9)g=Ec(i,216,0)|0;if(!g){b=0;return b|0}d=g+88|0;f=d+128|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(f|0));c[g>>2]=i;d=i+4|0;f=c[d>>2]|0;if(f|0)c[f+4>>2]=g;c[g+8>>2]=f;c[g+4>>2]=0;c[d>>2]=g;c[g+20>>2]=381479589;c[g+12>>2]=b;c[b+8>>2]=g;if((c[b+48>>2]|0)>0){c[g+136>>2]=1;_a()}zi(g,62,0,1,0)|0;b=g;return b|0}function zi(d,f,g,h,i){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,l=0,m=0,n=0,o=0,p=0;n=d+12|0;o=d+88|0;p=d+136|0;m=c[n>>2]|0;d=c[m+48>>2]|0;while(1){j=m+48|0;d=(d|0)==0?51:d<<1;k=c[m>>2]|0;if((d|0)>(c[k+120>>2]|0)){j=3;break}l=Mc(k,c[o>>2]|0,d*20|0,0)|0;if(!l){d=1;j=16;break}d=c[m>>2]|0;k=l;if(((d|0)!=0?k>>>0>=(c[d+296>>2]|0)>>>0:0)?k>>>0<(c[d+300>>2]|0)>>>0:0)d=e[d+268>>1]|0;else d=jb[c[64>>2]&255](l)|0;c[m+52>>2]=d;c[j>>2]=(d>>>0)/20|0;c[o>>2]=l;k=c[p>>2]|0;m=c[n>>2]|0;d=c[m+48>>2]|0;if((d|0)>(k|0)){j=15;break}}if((j|0)==3){d=k+73|0;if(a[d>>0]|0){i=1;return i|0}if(a[k+74>>0]|0){i=1;return i|0}a[d>>0]=1;if((c[k+172>>2]|0)>0)c[k+256>>2]=1;i=k+264|0;c[i>>2]=(c[i>>2]|0)+1;i=1;return i|0}else if((j|0)==15){c[p>>2]=k+1;a[l+(k*20|0)>>0]=f;b[l+(k*20|0)+2>>1]=0;c[l+(k*20|0)+4>>2]=g;c[l+(k*20|0)+8>>2]=h;c[l+(k*20|0)+12>>2]=i;c[l+(k*20|0)+16>>2]=0;a[l+(k*20|0)+1>>0]=0;i=k;return i|0}else if((j|0)==16)return d|0;return 0}function Ai(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;k=b+88|0;l=b+136|0;if((g|0)<0)h=d;else{m=d+1|0;h=a[m>>0]|0;if(h<<24>>24){l=d+16|0;Wf(c[b>>2]|0,h<<24>>24,c[l>>2]|0);a[m>>0]=0;c[l>>2]=0}h=(f|0)==0;if(!g)if(h)h=0;else{g=(As(f)|0)&1073741823;n=22}else if(h)h=0;else n=22;a:do if((n|0)==22){j=c[b>>2]|0;k=Ft(g|0,((g|0)<0)<<31>>31|0,1,0)|0;l=z;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))n=30;else{h=0;break a}else{if(!(0>>0|(0==(l|0)?(e[j+268>>1]|0)>>>0>>0:0))){i=j+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];b=j+276|0;c[b>>2]=(c[b>>2]|0)+1;break}i=j+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];b=j+276|0;c[b>>2]=(c[b>>2]|0)+1;break}}else h=1;n=j+276+(h<<2)|0;c[n>>2]=(c[n>>2]|0)+1;n=30}while(0);if((n|0)==30)h=Ec(j,k,l)|0;if(!h)h=0;else{Tt(h|0,f|0,g|0)|0;a[h+g>>0]=0}}while(0);c[d+16>>2]=h;a[m>>0]=-7;return}while(1){i=h+1|0;j=a[i>>0]|0;if(j<<24>>24){d=h+16|0;Wf(c[b>>2]|0,j<<24>>24,c[d>>2]|0);a[i>>0]=0;c[d>>2]=0}j=c[k>>2]|0;h=h-j|0;i=c[b>>2]|0;if(a[i+73>>0]|0){n=11;break}if((h|0)<0)h=(c[l>>2]|0)+-1|0;else h=(h|0)/20|0;i=j+(h*20|0)+1|0;if(!(a[i>>0]|0))break;h=j+(h*20|0)|0}if((n|0)==11){if((g|0)==-12)return;Wf(i,g,f);return}if((g|0)==-3){c[j+(h*20|0)+16>>2]=f;a[i>>0]=-3;return}if(!f)return;c[j+(h*20|0)+16>>2]=f;a[i>>0]=g;if((g|0)!=-12)return;n=f+12|0;c[n>>2]=(c[n>>2]|0)+1;return}function Bi(d,e,f,g,h){d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0;l=d+8|0;i=c[l>>2]|0;if(!i){if((c[d+120>>2]|0)==0?(b[(c[d>>2]|0)+68>>1]&8)==0:0)a[d+23>>0]=1;m=yi(d)|0}else m=i;i=g+28|0;qk(d,f,c[i>>2]|0,(h|0)==105&1,c[g>>2]|0);if(!(c[g+36>>2]&32)){j=c[i>>2]|0;k=b[g+42>>1]|0;g=m+136|0;i=c[g>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(i|0)){c[g>>2]=i+1;d=c[m+88>>2]|0;a[d+(i*20|0)>>0]=h;b[d+(i*20|0)+2>>1]=0;c[d+(i*20|0)+4>>2]=e;c[d+(i*20|0)+8>>2]=j;c[d+(i*20|0)+12>>2]=f;c[d+(i*20|0)+16>>2]=0;a[d+(i*20|0)+1>>0]=0}else i=zi(m,h,e,j,f)|0;if(a[(c[m>>2]|0)+73>>0]|0)return;h=c[m+88>>2]|0;a[h+(i*20|0)+1>>0]=-3;c[h+(i*20|0)+16>>2]=k;return}i=c[g+8>>2]|0;a:do if(!i)i=0;else while(1){if((a[i+55>>0]&3)==2)break a;i=c[i+20>>2]|0;if(!i){i=0;break}}while(0);g=c[i+44>>2]|0;j=m+136|0;k=c[j>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;m=c[m+88>>2]|0;a[m+(k*20|0)>>0]=h;b[m+(k*20|0)+2>>1]=0;c[m+(k*20|0)+4>>2]=e;c[m+(k*20|0)+8>>2]=g;c[m+(k*20|0)+12>>2]=f;c[m+(k*20|0)+16>>2]=0;a[m+(k*20|0)+1>>0]=0}else zi(m,h,e,g,f)|0;j=c[l>>2]|0;g=rk(d,i)|0;if(!g)return;i=c[j>>2]|0;if(!(a[i+73>>0]|0)){f=c[j+88>>2]|0;h=(c[j+136>>2]|0)+-1|0;a[f+(h*20|0)+1>>0]=-9;c[f+(h*20|0)+16>>2]=g;return}if(c[i+464>>2]|0)return;h=(c[g>>2]|0)+-1|0;c[g>>2]=h;if(h|0)return;i=c[g+12>>2]|0;if(i|0){if(c[i+464>>2]|0){Lc(i,g);return}h=g;if(h>>>0>=(c[i+296>>2]|0)>>>0?h>>>0<(c[i+300>>2]|0)>>>0:0){h=i+292|0;c[g>>2]=c[h>>2];c[h>>2]=g;return}}if(!(c[2]|0)){pb[c[56>>2]&255](g);return}else{h=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);return}}function Ci(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;n=d+136|0;i=c[n>>2]|0;j=c[d+12>>2]|0;k=j+48|0;h=c[k>>2]|0;do if((i+f|0)>(h|0)){h=(h|0)==0?51:h<<1;i=c[j>>2]|0;if((h|0)>(c[i+120>>2]|0)){h=i+73|0;if(a[h>>0]|0){n=0;return n|0}if(a[i+74>>0]|0){n=0;return n|0}a[h>>0]=1;if((c[i+172>>2]|0)>0)c[i+256>>2]=1;n=i+264|0;c[n>>2]=(c[n>>2]|0)+1;n=0;return n|0}else{d=d+88|0;h=Mc(i,c[d>>2]|0,h*20|0,0)|0;if(!h){n=0;return n|0}i=c[j>>2]|0;m=h;if(((i|0)!=0?m>>>0>=(c[i+296>>2]|0)>>>0:0)?m>>>0<(c[i+300>>2]|0)>>>0:0)i=e[i+268>>1]|0;else i=jb[c[64>>2]&255](h)|0;c[j+52>>2]=i;c[k>>2]=(i>>>0)/20|0;c[d>>2]=h;i=c[n>>2]|0;break}}else h=c[d+88>>2]|0;while(0);m=h+(i*20|0)|0;if((f|0)>0){k=m;l=0;h=g;while(1){g=a[h>>0]|0;a[k>>0]=g;c[k+4>>2]=a[h+1>>0];o=a[h+2>>0]|0;d=o<<24>>24;j=k+8|0;c[j>>2]=d;if(o<<24>>24>0?(a[35535+(g&255)>>0]&1)!=0:0)c[j>>2]=i+d;c[k+12>>2]=a[h+3>>0];a[k+1>>0]=0;c[k+16>>2]=0;b[k+2>>1]=0;l=l+1|0;if((l|0)==(f|0))break;else{k=k+20|0;h=h+4|0}}}c[n>>2]=i+f;o=m;return o|0}function Di(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;if(e|0?(a[e>>0]|0)==-106:0){h=c[d+8>>2]|0;g=c[e+28>>2]|0;d=h+136|0;e=c[d>>2]|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(e|0)){c[d>>2]=e+1;h=c[h+88>>2]|0;a[h+(e*20|0)>>0]=75;b[h+(e*20|0)+2>>1]=0;c[h+(e*20|0)+4>>2]=g;c[h+(e*20|0)+8>>2]=f;c[h+(e*20|0)+12>>2]=0;c[h+(e*20|0)+16>>2]=0;a[h+(e*20|0)+1>>0]=0;return}else{zi(h,75,g,f,0)|0;return}}h=Rk(d,e,f)|0;if((h|0)==(f|0))return;d=c[d+8>>2]|0;if(!d)return;e=d+136|0;g=c[e>>2]|0;if((c[(c[d+12>>2]|0)+48>>2]|0)>(g|0)){c[e>>2]=g+1;e=c[d+88>>2]|0;a[e+(g*20|0)>>0]=76;b[e+(g*20|0)+2>>1]=0;c[e+(g*20|0)+4>>2]=h;c[e+(g*20|0)+8>>2]=f;c[e+(g*20|0)+12>>2]=0;c[e+(g*20|0)+16>>2]=0;a[e+(g*20|0)+1>>0]=0;return}else{zi(d,76,h,f,0)|0;return}}function Ei(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0;L=l;l=l+16|0;k=L;K=c[f>>2]|0;G=b[g+396>>1]|0;j=G<<16>>16;i=c[g+44>>2]|0;E=c[g+40>>2]|0;c[k>>2]=c[g+104>>2];i=E+i|0;i=((E|0)==0&(i|0)>0&1)+i|0;m=((c[f+136>>2]|0)*20|0)+7&-8;n=(c[f+88>>2]|0)+m|0;m=(c[g+52>>2]|0)-m&-8;Km(f,k);if(!(a[g+20>>0]|0))h=0;else h=((a[g+21>>0]|0)!=0&1)<<6&65535;F=f+145|0;H=(d[F>>0]|d[F+1>>0]<<8)&-65|h;a[F>>0]=H;a[F+1>>0]=H>>8;B=g+399|0;i=(i|0)<10&(a[B>>0]|0)!=0?10:i;H=H&-2;a[F>>0]=H;a[F+1>>0]=H>>8;H=f+92|0;y=i*40|0;C=f+116|0;z=j*40|0;A=f+96|0;p=(c[k>>2]<<2)+7&-8;I=f+112|0;J=E<<2;q=J+7&-8;r=K+264|0;s=K+268|0;t=K+292|0;u=K+288|0;v=K+276|0;w=f+188|0;x=K+73|0;h=n;do{k=c[H>>2]|0;if(!k){M=(m|0)<(y|0);n=m-y|0;k=M?0:h+n|0;o=M?y:0;n=M?m:n}else{o=0;n=m}c[H>>2]=k;k=c[C>>2]|0;do if(!k)if((n|0)<(z|0)){k=0;m=o+z|0;break}else{n=n-z|0;k=h+n|0;m=o;break}else m=o;while(0);c[C>>2]=k;k=c[A>>2]|0;do if(!k)if((n|0)<(p|0)){k=0;m=p+m|0;break}else{n=n-p|0;k=h+n|0;break}while(0);c[A>>2]=k;k=c[I>>2]|0;do if(!k)if((n|0)<(q|0)){h=0;m=m+q|0;break}else{h=h+(n-q)|0;break}else h=k;while(0);c[I>>2]=h;if(!m)break;k=((m|0)<0)<<31>>31;do if(c[r>>2]|0)if(!(a[x>>0]|0))D=27;else h=0;else{if(!(0>>0|(0==(k|0)?(e[s>>1]|0)>>>0>>0:0))){h=c[t>>2]|0;if(h|0){c[t>>2]=c[h>>2];c[v>>2]=(c[v>>2]|0)+1;break}h=c[u>>2]|0;if(!h)h=2;else{c[u>>2]=c[h>>2];c[v>>2]=(c[v>>2]|0)+1;break}}else h=1;D=K+276+(h<<2)|0;c[D>>2]=(c[D>>2]|0)+1;D=27}while(0);if((D|0)==27){D=0;h=Ec(K,m,k)|0}c[w>>2]=h}while((a[x>>0]|0)==0);M=g+420|0;c[f+120>>2]=c[M>>2];c[M>>2]=0;M=a[B>>0]<<2&12|(d[F>>0]|d[F+1>>0]<<8)&-13;a[F>>0]=M;a[F+1>>0]=M>>8;if(a[x>>0]|0){b[f+16>>1]=0;c[f+28>>2]=0;c[f+24>>2]=0;M=f+20|0;c[M>>2]=770837923;M=f+36|0;c[M>>2]=-1;M=f+40|0;c[M>>2]=0;M=f+142|0;a[M>>0]=2;M=f+44|0;c[M>>2]=0;M=f+32|0;c[M>>2]=1;M=f+143|0;a[M>>0]=-1;M=f+48|0;c[M>>2]=0;M=f+64|0;K=M;c[K>>2]=0;M=M+4|0;c[M>>2]=0;l=L;return}c[f+28>>2]=E;b[f+16>>1]=G;if(G<<16>>16>0){h=c[C>>2]|0;while(1){c[h+32>>2]=K;b[h+8>>1]=1;c[h+24>>2]=0;if((j|0)>1){j=j+-1|0;h=h+40|0}else break}}c[f+24>>2]=i;if((i|0)>0){h=c[H>>2]|0;while(1){c[h+32>>2]=K;b[h+8>>1]=128;c[h+24>>2]=0;if((i|0)>1){i=i+-1|0;h=h+40|0}else break}}Vt(c[I>>2]|0,0,J|0)|0;M=f+20|0;c[M>>2]=770837923;M=f+36|0;c[M>>2]=-1;M=f+40|0;c[M>>2]=0;M=f+142|0;a[M>>0]=2;M=f+44|0;c[M>>2]=0;M=f+32|0;c[M>>2]=1;M=f+143|0;a[M>>0]=-1;M=f+48|0;c[M>>2]=0;M=f+64|0;K=M;c[K>>2]=0;M=M+4|0;c[M>>2]=0;l=L;return}function Fi(b,d){b=b|0;d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0;if(!d){k=0;return k|0}k=c[d>>2]|0;i=c[d+4>>2]|0;if(!k){k=0;return k|0}g=Ft(i|0,0,1,0)|0;h=z;do if(c[b+264>>2]|0)if(!(a[b+73>>0]|0))j=11;else{k=0;return k|0}else{if(!(0>>0|(0==(h|0)?(e[b+268>>1]|0)>>>0>>0:0))){d=b+292|0;f=c[d>>2]|0;if(f|0){c[d>>2]=c[f>>2];b=b+276|0;c[b>>2]=(c[b>>2]|0)+1;b=f;break}d=b+288|0;f=c[d>>2]|0;if(!f)d=2;else{c[d>>2]=c[f>>2];b=b+276|0;c[b>>2]=(c[b>>2]|0)+1;b=f;break}}else d=1;j=b+276+(d<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=11}while(0);if((j|0)==11)b=Ec(b,g,h)|0;if(!b){k=0;return k|0}Tt(b|0,k|0,i|0)|0;a[b+i>>0]=0;d=a[b>>0]|0;if((a[18220+(d&255)>>0]|0)>=0){k=b;return k|0}g=d<<24>>24==91?93:d;h=0;d=1;while(1){f=a[b+d>>0]|0;if(f<<24>>24==g<<24>>24){d=d+1|0;f=b+h|0;if((a[b+d>>0]|0)!=g<<24>>24)break;a[f>>0]=g}else a[b+h>>0]=f;h=h+1|0;d=d+1|0}a[f>>0]=0;k=b;return k|0}function Gi(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0;Q=l;l=l+96|0;L=Q+80|0;F=Q+72|0;H=Q+64|0;E=Q+56|0;B=Q+48|0;C=Q+40|0;w=Q+32|0;v=Q+24|0;t=Q+16|0;r=Q+8|0;q=Q;M=Q+84|0;P=c[f>>2]|0;J=P+157|0;o=(a[J>>0]|0)==0;do if(!o?(c[P+152>>2]|0)==1:0){h=a[P+156>>0]|0;r=h&255;h=h<<24>>24==1;q=h?25326:25345;h=h?19:14;do if(c[P+264>>2]|0){if(!(a[P+73>>0]|0))G=11}else{if(!(0<0|(0==0?(e[P+268>>1]|0)>>>0>>0:0))){o=P+292|0;p=c[o>>2]|0;if(p|0){c[o>>2]=c[p>>2];G=P+276|0;c[G>>2]=(c[G>>2]|0)+1;G=12;break}o=P+288|0;p=c[o>>2]|0;if(!p)o=2;else{c[o>>2]=c[p>>2];G=P+276|0;c[G>>2]=(c[G>>2]|0)+1;G=12;break}}else o=1;G=P+276+(o<<2)|0;c[G>>2]=(c[G>>2]|0)+1;G=11}while(0);if((G|0)==11){p=Ec(P,h,0)|0;G=12}if((G|0)==12?p|0:0){Tt(p|0,q|0,h|0)|0;t=g;O=c[t+4>>2]|0;I=f+380|0;c[I>>2]=c[t>>2];c[I+4>>2]=O;I=p;O=r;break}j=g;k=c[j+4>>2]|0;P=f+380|0;c[P>>2]=c[j>>2];c[P+4>>2]=k;l=Q;return}else G=14;while(0);if((G|0)==14){s=h+4|0;if(c[s>>2]|0){if(!o){hg(f,24989,q);l=Q;return}o=Fi(P,g)|0;q=eg(P,o)|0;do if(o|0){if(c[P+464>>2]|0){Lc(P,o);break}O=o;if(O>>>0>=(c[P+296>>2]|0)>>>0?O>>>0<(c[P+300>>2]|0)>>>0:0){O=P+292|0;c[o>>2]=c[O>>2];c[O>>2]=o;break}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{O=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);if((q|0)<0){c[r>>2]=g;hg(f,25006,r);l=Q;return}else p=h}else{p=g;q=d[P+156>>0]|0}h=(i|0)!=0;if(h?(q|0)!=1&(c[s>>2]|0)!=0:0){hg(f,35425,t);l=Q;return}o=Fi(P,p)|0;g=p;I=c[g+4>>2]|0;O=f+380|0;c[O>>2]=c[g>>2];c[O+4>>2]=I;if(!o){l=Q;return}else{I=o;g=p;O=h?1:q}}a:do if(!(rj(f,I)|0)){q=(a[P+156>>0]|0)==1?1:i;t=P+16|0;h=c[(c[t>>2]|0)+(O<<4)>>2]|0;o=(q|0)==1?25326:25345;p=c[f>>2]|0;b:do if(((a[p+157>>0]|0)==0?(a[f+400>>0]|0)==0:0)?(u=c[p+304>>2]|0,u|0):0)switch(ob[u&255](c[p+308>>2]|0,18,o,0,h,c[f+440>>2]|0)|0){case 2:{G=207;break a}case 0:break b;case 1:{hg(f,24761,v);c[f+12>>2]=23;G=207;break a}default:{hg(f,24776,w);c[f+12>>2]=1;G=207;break a}}while(0);w=(k|0)==0;c:do if(((w?(x=d[35466+(q+(j<<1))>>0]|0,y=c[f>>2]|0,(a[y+157>>0]|0)==0):0)?(a[f+400>>0]|0)==0:0)?(A=c[y+304>>2]|0,A|0):0)switch(ob[A&255](c[y+308>>2]|0,x,I,0,h,c[f+440>>2]|0)|0){case 2:{G=207;break a}case 0:break c;case 1:{hg(f,24761,C);c[f+12>>2]=23;G=207;break a}default:{hg(f,24776,B);c[f+12>>2]=1;G=207;break a}}while(0);do if(!(a[f+400>>0]|0)){o=c[(c[t>>2]|0)+(O<<4)>>2]|0;p=c[f>>2]|0;d:do if(!(a[p+157>>0]|0)){q=f+4|0;h=p+24|0;r=(c[h>>2]&1|0)==0;s=p+16|0;C=c[(c[s>>2]|0)+12>>2]|0;a[p+70>>0]=a[C+77>>0]|0;if(!((b[C+78>>1]&1)==0?(n=$k(p,0,q)|0,(n|0)!=0):0))G=52;e:do if((G|0)==52){n=c[p+20>>2]|0;if((n|0)>1)do{n=n+-1|0;if((b[(c[(c[s>>2]|0)+(n<<4)+12>>2]|0)+78>>1]&1)==0?(D=$k(p,n,q)|0,D|0):0){n=D;break e}}while((n|0)>1);if(!r)break d;c[h>>2]=c[h>>2]&-2;break d}while(0);c[f+12>>2]=n;G=f+36|0;c[G>>2]=(c[G>>2]|0)+1;G=206;break a}while(0);if(!(jj(P,I,o)|0)){if(gj(P,I,o)|0){c[F>>2]=I;hg(f,35494,F);G=206;break a}if(P|0){G=89;break}if(!(c[2]|0)){n=jb[c[52>>2]&255](80)|0;G=109;break}n=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;p=46456;o=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&o>>>0>0){F=c[11822]|0;H=Gt(o|0,p|0,n|0,((n|0)<0)<<31>>31|0)|0;E=z;c[11616]=(0>(E|0)|0==(E|0)&F>>>0>=H>>>0)&1}o=jb[c[52>>2]&255](n)|0;if(!o){G=110;break}n=jb[c[64>>2]&255](o)|0;n=(c[11822]|0)+n|0;c[11822]=n;if(n>>>0>(c[11826]|0)>>>0)c[11826]=n;n=(c[11825]|0)+1|0;c[11825]=n;if(n>>>0<=(c[11831]|0)>>>0)break;c[11831]=n;break}if(!m){c[E>>2]=g;hg(f,35470,E);G=206;break a}q=c[f+120>>2]|0;q=(q|0)==0?f:q;n=q+92|0;o=c[n>>2]|0;p=1<>2]=o|p;if((O|0)!=1){G=206;break a}s=c[q>>2]|0;n=s+16|0;if(c[(c[n>>2]|0)+20>>2]|0){G=206;break a}if(a[q+399>>0]|0){G=206;break a}o=fg(c[s>>2]|0,0,s,M,0,542)|0;if(o|0){hg(q,21111,H);c[q+12>>2]=o;G=206;break a}f=c[M>>2]|0;c[(c[n>>2]|0)+20>>2]=f;n=c[s+84>>2]|0;p=c[f+4>>2]|0;c[p+4>>2]=c[f>>2];if(!(b[p+22>>1]&2)){q=p+32|0;h=p+36|0;r=(c[q>>2]|0)-(c[h>>2]|0)|0;do if((n+-512|0)>>>0<65025?(n+-1&n|0)==0:0){c[q>>2]=n;o=p+80|0;n=c[o>>2]|0;if(!n)break;n=n+-4|0;c[o>>2]=n;f=n;do if(!(f>>>0>=(c[11662]|0)>>>0&f>>>0<(c[11663]|0)>>>0)){f=jb[c[64>>2]&255](n)|0;c[11824]=(c[11824]|0)-f;if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{f=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}else{c[11823]=(c[11823]|0)+-1;c[n>>2]=c[11665];c[11665]=n;f=(c[11666]|0)+1|0;c[11666]=f;c[11667]=(f|0)<(c[11661]|0)&1}while(0);c[o>>2]=0}while(0);f=gg(c[p>>2]|0,q,r)|0;c[h>>2]=(c[q>>2]|0)-(r&65535);if((f|0)==7){n=s+73|0;do if(!(a[n>>0]|0)){if(a[s+74>>0]|0)break;a[n>>0]=1;if((c[s+172>>2]|0)>0)c[s+256>>2]=1;f=s+264|0;c[f>>2]=(c[f>>2]|0)+1}while(0);G=206;break a}}G=206;break a}else G=89;while(0);do if((G|0)==89){if(c[P+264>>2]|0){if(a[P+73>>0]|0){G=110;break}}else{if((e[P+268>>1]|0)>=80){o=P+292|0;n=c[o>>2]|0;if(n|0){c[o>>2]=c[n>>2];G=P+276|0;c[G>>2]=(c[G>>2]|0)+1;G=109;break}o=P+288|0;n=c[o>>2]|0;if(!n)n=2;else{c[o>>2]=c[n>>2];G=P+276|0;c[G>>2]=(c[G>>2]|0)+1;G=109;break}}else n=1;H=P+276+(n<<2)|0;c[H>>2]=(c[H>>2]|0)+1}n=Ec(P,80,0)|0;G=109}while(0);if((G|0)==109)if(!n)G=110;else o=n;if((G|0)==110){c[f+12>>2]=7;f=f+36|0;c[f>>2]=(c[f>>2]|0)+1;G=206;break}n=o+4|0;p=n+76|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0));c[o>>2]=I;b[o+40>>1]=-1;n=c[(c[t>>2]|0)+(O<<4)+12>>2]|0;c[o+72>>2]=n;c[o+32>>2]=1;b[o+44>>1]=200;c[f+432>>2]=o;if((a[f+18>>0]|0)==0?(Ls(I,26681)|0)==0:0)c[n+72>>2]=o;if(a[J>>0]|0){l=Q;return}i=f+8|0;n=c[i>>2]|0;u=f+120|0;if(!n){if((c[u>>2]|0)==0?(b[(c[f>>2]|0)+68>>1]&8)==0:0)a[f+23>>0]=1;n=yi(f)|0;if(!n){l=Q;return}else v=n}else v=n;s=c[u>>2]|0;s=(s|0)==0?f:s;n=s+92|0;o=c[n>>2]|0;t=1<>2]=o|t,(O|0)==1):0)?(N=c[s>>2]|0,K=N+16|0,(c[(c[K>>2]|0)+20>>2]|0)==0):0)?(a[s+399>>0]|0)==0:0){n=fg(c[N>>2]|0,0,N,M,0,542)|0;if(n|0){hg(s,21111,L);c[s+12>>2]=n;break}M=c[M>>2]|0;c[(c[K>>2]|0)+20>>2]=M;n=c[N+84>>2]|0;p=c[M+4>>2]|0;c[p+4>>2]=c[M>>2];if(!(b[p+22>>1]&2)){q=p+32|0;h=p+36|0;r=(c[q>>2]|0)-(c[h>>2]|0)|0;do if((n+-512|0)>>>0<65025?(n+-1&n|0)==0:0){c[q>>2]=n;o=p+80|0;n=c[o>>2]|0;if(!n)break;n=n+-4|0;c[o>>2]=n;M=n;do if(!(M>>>0>=(c[11662]|0)>>>0&M>>>0<(c[11663]|0)>>>0)){M=jb[c[64>>2]&255](n)|0;c[11824]=(c[11824]|0)-M;if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{M=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}else{c[11823]=(c[11823]|0)+-1;c[n>>2]=c[11665];c[11665]=n;M=(c[11666]|0)+1|0;c[11666]=M;c[11667]=(M|0)<(c[11661]|0)&1}while(0);c[o>>2]=0}while(0);M=gg(c[p>>2]|0,q,r)|0;c[h>>2]=(c[q>>2]|0)-(r&65535);if((M|0)==7){n=N+73|0;do if(!(a[n>>0]|0)){if(a[N+74>>0]|0)break;a[n>>0]=1;if((c[N+172>>2]|0)>0)c[N+256>>2]=1;N=N+264|0;c[N>>2]=(c[N>>2]|0)+1}while(0);break}}}while(0);g=s+88|0;c[g>>2]=c[g>>2]|t;g=s+20|0;a[g>>0]=a[g>>0]|1;g=v+136|0;do if(!w){n=c[g>>2]|0;o=v+12|0;if((c[(c[o>>2]|0)+48>>2]|0)>(n|0)){c[g>>2]=n+1;p=c[v+88>>2]|0;a[p+(n*20|0)>>0]=-103;n=p+(n*20|0)+1|0;p=n+19|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0));s=o;break}else{zi(v,153,0,0,0)|0;s=o;break}}else s=v+12|0;while(0);n=f+44|0;r=c[n>>2]|0;h=r+1|0;c[f+96>>2]=h;q=r+2|0;c[f+100>>2]=q;r=r+3|0;c[n>>2]=r;n=c[g>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){c[g>>2]=n+1;N=c[v+88>>2]|0;a[N+(n*20|0)>>0]=101;b[N+(n*20|0)+2>>1]=0;c[N+(n*20|0)+4>>2]=O;c[N+(n*20|0)+8>>2]=r;c[N+(n*20|0)+12>>2]=2;c[N+(n*20|0)+16>>2]=0;a[N+(n*20|0)+1>>0]=0}else zi(v,101,O,r,2)|0;N=v+148|0;c[N>>2]=c[N>>2]|t;if((O|0)!=1?a[(c[(c[(c[v>>2]|0)+16>>2]|0)+(O<<4)+4>>2]|0)+9>>0]|0:0){N=v+152|0;c[N>>2]=c[N>>2]|t}n=c[g>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[g>>2]=o;p=c[v+88>>2]|0;a[p+(n*20|0)>>0]=21;b[p+(n*20|0)+2>>1]=0;c[p+(n*20|0)+4>>2]=r;c[p+(n*20|0)+8>>2]=0;c[p+(n*20|0)+12>>2]=0;c[p+(n*20|0)+16>>2]=0;a[p+(n*20|0)+1>>0]=0;p=n}else{p=zi(v,21,r,0,0)|0;o=c[g>>2]|0}n=c[P+28>>2]&2|0?1:4;if((c[(c[s>>2]|0)+48>>2]|0)>(o|0)){N=o+1|0;c[g>>2]=N;M=c[v+88>>2]|0;a[M+(o*20|0)>>0]=102;b[M+(o*20|0)+2>>1]=0;c[M+(o*20|0)+4>>2]=O;c[M+(o*20|0)+8>>2]=2;c[M+(o*20|0)+12>>2]=n;c[M+(o*20|0)+16>>2]=0;a[M+(o*20|0)+1>>0]=0;o=N}else{zi(v,102,O,2,n)|0;o=c[g>>2]|0}n=d[P+70>>0]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(o|0)){P=o+1|0;c[g>>2]=P;N=c[v+88>>2]|0;a[N+(o*20|0)>>0]=102;b[N+(o*20|0)+2>>1]=0;c[N+(o*20|0)+4>>2]=O;c[N+(o*20|0)+8>>2]=5;c[N+(o*20|0)+12>>2]=n;c[N+(o*20|0)+16>>2]=0;a[N+(o*20|0)+1>>0]=0;n=P}else{zi(v,102,O,5,n)|0;n=c[g>>2]|0}if(!(a[(c[v>>2]|0)+73>>0]|0))o=(c[v+88>>2]|0)+(((p|0)<0?n+-1|0:p)*20|0)|0;else o=46708;c[o+8>>2]=n;o=(c[(c[s>>2]|0)+48>>2]|0)>(n|0);do if(k|j)if(o){c[g>>2]=n+1;P=c[v+88>>2]|0;a[P+(n*20|0)>>0]=67;b[P+(n*20|0)+2>>1]=0;c[P+(n*20|0)+4>>2]=0;c[P+(n*20|0)+8>>2]=q;c[P+(n*20|0)+12>>2]=0;c[P+(n*20|0)+16>>2]=0;a[P+(n*20|0)+1>>0]=0;break}else{zi(v,67,0,q,0)|0;break}else{if(o){c[g>>2]=n+1;P=c[v+88>>2]|0;a[P+(n*20|0)>>0]=-121;b[P+(n*20|0)+2>>1]=0;c[P+(n*20|0)+4>>2]=O;c[P+(n*20|0)+8>>2]=q;c[P+(n*20|0)+12>>2]=1;c[P+(n*20|0)+16>>2]=0;a[P+(n*20|0)+1>>0]=0}else n=zi(v,135,O,q,1)|0;c[f+128>>2]=n}while(0);n=c[i>>2]|0;if(!n){do if(!(c[u>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);p=yi(f)|0}else p=n;qk(f,O,1,1,25345);o=p+136|0;n=c[o>>2]|0;if((c[(c[p+12>>2]|0)+48>>2]|0)>(n|0)){c[o>>2]=n+1;P=c[p+88>>2]|0;a[P+(n*20|0)>>0]=105;b[P+(n*20|0)+2>>1]=0;c[P+(n*20|0)+4>>2]=0;c[P+(n*20|0)+8>>2]=1;c[P+(n*20|0)+12>>2]=O;c[P+(n*20|0)+16>>2]=0;a[P+(n*20|0)+1>>0]=0}else n=zi(p,105,0,1,O)|0;if(!(a[(c[p>>2]|0)+73>>0]|0)){P=c[p+88>>2]|0;a[P+(n*20|0)+1>>0]=-3;c[P+(n*20|0)+16>>2]=5}n=f+40|0;if(!(c[n>>2]|0))c[n>>2]=1;n=c[g>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){P=n+1|0;c[g>>2]=P;f=c[v+88>>2]|0;a[f+(n*20|0)>>0]=115;b[f+(n*20|0)+2>>1]=0;c[f+(n*20|0)+4>>2]=0;c[f+(n*20|0)+8>>2]=h;c[f+(n*20|0)+12>>2]=0;c[f+(n*20|0)+16>>2]=0;a[f+(n*20|0)+1>>0]=0;n=P}else{zi(v,115,0,h,0)|0;n=c[g>>2]|0}if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){c[g>>2]=n+1;P=c[v+88>>2]|0;a[P+(n*20|0)>>0]=72;b[P+(n*20|0)+2>>1]=0;c[P+(n*20|0)+4>>2]=6;c[P+(n*20|0)+8>>2]=r;c[P+(n*20|0)+12>>2]=0;c[P+(n*20|0)+16>>2]=0;a[P+(n*20|0)+1>>0]=0}else n=zi(v,72,6,r,0)|0;do if(!(a[(c[v>>2]|0)+73>>0]|0)){if((n|0)<0)n=(c[g>>2]|0)+-1|0;o=c[v+88>>2]|0;p=o+(n*20|0)+1|0;if(!(a[p>>0]|0)){c[o+(n*20|0)+16>>2]=35529;a[p>>0]=-1;break}else{Ai(v,o+(n*20|0)|0,35529,-1);break}}while(0);n=c[g>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){P=n+1|0;c[g>>2]=P;f=c[v+88>>2]|0;a[f+(n*20|0)>>0]=116;b[f+(n*20|0)+2>>1]=0;c[f+(n*20|0)+4>>2]=0;c[f+(n*20|0)+8>>2]=r;c[f+(n*20|0)+12>>2]=h;c[f+(n*20|0)+16>>2]=0;a[f+(n*20|0)+1>>0]=0;n=P}else{zi(v,116,0,r,h)|0;n=c[g>>2]|0}if((n|0)>0)b[(c[v+88>>2]|0)+((n+-1|0)*20|0)+2>>1]=8;if((c[(c[s>>2]|0)+48>>2]|0)>(n|0)){c[g>>2]=n+1;p=c[v+88>>2]|0;a[p+(n*20|0)>>0]=112;n=p+(n*20|0)+1|0;p=n+19|0;do{a[n>>0]=0;n=n+1|0}while((n|0)<(p|0));l=Q;return}else{zi(v,112,0,0,0)|0;l=Q;return}}else G=206;while(0);if((G|0)==206?P|0:0)G=207;if((G|0)==207){if(c[P+464>>2]|0){Lc(P,I);l=Q;return}f=I;if(f>>>0>=(c[P+296>>2]|0)>>>0?f>>>0<(c[P+300>>2]|0)>>>0:0){P=P+292|0;c[I>>2]=c[P>>2];c[P>>2]=I;l=Q;return}}if(!(c[2]|0)){pb[c[56>>2]&255](I);l=Q;return}else{P=jb[c[64>>2]&255](I)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](I);l=Q;return}}function Hi(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0;ba=l;l=l+256|0;Z=ba+184|0;Y=ba+176|0;V=ba+144|0;P=ba+128|0;U=ba+120|0;T=ba+112|0;R=ba+104|0;N=ba+96|0;o=ba+88|0;n=ba+80|0;S=ba+224|0;L=ba;M=ba+192|0;$=c[f>>2]|0;O=(j|0)==0;if((h|0)==0&O){l=ba;return}_=f+432|0;aa=c[_>>2]|0;if(!aa){l=ba;return}W=$+157|0;if(a[W>>0]|0?(K=c[$+152>>2]|0,c[aa+28>>2]=K,(K|0)==1):0){K=aa+36|0;c[K>>2]=c[K>>2]|1}a:do if(i&32){k=aa+36|0;m=c[k>>2]|0;if(m&8|0){hg(f,35106,n);l=ba;return}if(!(m&4)){c[o>>2]=c[aa>>2];hg(f,35156,o);break}c[k>>2]=m|96;w=c[f+8>>2]|0;v=$+159|0;if((a[v>>0]|0)==0?(p=b[aa+42>>1]|0,p<<16>>16>0):0){n=c[aa+4>>2]|0;m=p<<16>>16;k=0;do{if(a[n+(k<<4)+15>>0]&1)a[n+(k<<4)+12>>0]=2;k=k+1|0}while((k|0)!=(m|0))}if(!(a[f+400>>0]|0)){k=c[f+128>>2]|0;if(k|0){if((k|0)<0)k=(c[w+136>>2]|0)+-1|0;if(!(a[(c[w>>2]|0)+73>>0]|0))k=(c[w+88>>2]|0)+(k*20|0)|0;else k=46708;c[k+12>>2]=2}m=aa+40|0;k=b[m>>1]|0;do if(k<<16>>16>-1){k=c[(c[aa+4>>2]|0)+(k<<16>>16<<4)>>2]|0;c[S>>2]=k;if(!k)k=0;else k=(As(k)|0)&1073741823;c[S+4>>2]=k;k=Yi($,59,S,0)|0;k=Mi(c[f>>2]|0,0,k)|0;if(k|0?(a[k+16>>0]=a[f+398>>0]|0,Li(f,0,0,0,k,d[aa+48>>0]|0,0,0,0,0,2),(a[$+73>>0]|0)==0):0){k=c[aa+8>>2]|0;b:do if(!k)k=0;else while(1){if((a[k+55>>0]&3)==2)break b;k=c[k+20>>2]|0;if(!k){k=0;break}}while(0);b[m>>1]=-1;break}break a}else{k=c[aa+8>>2]|0;c:do if(!k)k=0;else while(1){if((a[k+55>>0]&3)==2)break c;k=c[k+20>>2]|0;if(!k){k=0;break}}while(0);u=k+50|0;n=b[u>>1]|0;if((n&65535)>1){s=c[k+4>>2]|0;t=k+52|0;m=1;r=1;do{q=b[s+(r<<1)>>1]|0;o=m;p=s;while(1){if((o|0)<=0){Q=43;break}if((b[p>>1]|0)==q<<16>>16){Q=42;break}else{o=o+-1|0;p=p+2|0}}if((Q|0)==42){Q=0;b[t>>1]=(b[t>>1]|0)+-1<<16>>16}else if((Q|0)==43){Q=0;b[s+(m<<1)>>1]=q;m=m+1|0;n=b[u>>1]|0}r=r+1|0}while((r|0)<(n&65535|0))}else m=1;b[u>>1]=m}while(0);J=k+55|0;m=a[J>>0]|0;a[J>>0]=m|32;if(!(a[v>>0]|0))a[J>>0]=m|40;o=b[k+50>>1]|0;K=o&65535;n=k+44|0;if(w|0?(x=c[n>>2]|0,(x|0)>0):0){if(!(a[(c[w>>2]|0)+73>>0]|0))m=(c[w+88>>2]|0)+(x*20|0)|0;else m=46708;a[m>>0]=13}c[n>>2]=c[aa+28>>2];m=c[aa+8>>2]|0;if(m|0){A=o<<16>>16==0;B=$+264|0;C=$+268|0;D=$+292|0;E=$+288|0;F=$+276|0;G=$+73|0;H=k+4|0;I=k+32|0;do{w=m+55|0;d:do if((a[w>>0]&3)!=2){x=m+50|0;o=b[x>>1]|0;do if(!A){y=m+4|0;t=c[y>>2]|0;u=c[H>>2]|0;v=o&65535;r=0;s=0;do{q=b[u+(s<<1)>>1]|0;n=v;p=t;while(1){if((n|0)<=0){n=1;break}if((b[p>>1]|0)==q<<16>>16){n=0;break}else{n=n+-1|0;p=p+2|0}}r=n+r|0;s=s+1|0}while((s|0)!=(K|0));if(!r)break;q=r+v|0;r=m+52|0;if((e[r>>1]|0)<(q|0)){p=q*7|0;o=((p|0)<0)<<31>>31;e:do if(c[B>>2]|0)if(!(a[G>>0]|0))Q=74;else break a;else{do if(0>>0|(0==(o|0)?(e[C>>1]|0)>>>0

    >>0:0))n=1;else{n=c[D>>2]|0;if(n|0){c[D>>2]=c[n>>2];c[F>>2]=(c[F>>2]|0)+1;break e}n=c[E>>2]|0;if(!n){n=2;break}c[E>>2]=c[n>>2];c[F>>2]=(c[F>>2]|0)+1;break e}while(0);Q=$+276+(n<<2)|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=74}while(0);if((Q|0)==74){Q=0;n=Ec($,p,o)|0}if(!n)break a;Vt(n|0,0,p|0)|0;t=m+32|0;Tt(n|0,c[t>>2]|0,e[r>>1]<<2|0)|0;c[t>>2]=n;v=n+(q<<2)|0;Tt(v|0,c[y>>2]|0,e[r>>1]<<1|0)|0;c[y>>2]=v;v=v+(q<<1)|0;o=m+28|0;Tt(v|0,c[o>>2]|0,e[r>>1]|0)|0;c[o>>2]=v;b[r>>1]=q;a[w>>0]=a[w>>0]|16;o=b[x>>1]|0}else t=m+32|0;n=o&65535;s=0;while(1){q=c[y>>2]|0;r=b[(c[H>>2]|0)+(s<<1)>>1]|0;o=o&65535;p=q;while(1){if((o|0)<=0){Q=81;break}if((b[p>>1]|0)==r<<16>>16)break;else{o=o+-1|0;p=p+2|0}}if((Q|0)==81){Q=0;b[q+(n<<1)>>1]=r;c[(c[t>>2]|0)+(n<<2)>>2]=c[(c[I>>2]|0)+(s<<2)>>2];n=n+1|0}o=s+1|0;if((o|0)==(K|0))break d;s=o;o=b[x>>1]|0}}while(0);b[m+52>>1]=o}while(0);m=c[m+20>>2]|0}while((m|0)!=0)}t=aa+42|0;m=b[t>>1]|0;q=m<<16>>16;r=k+52|0;if((K|0)>=(q|0)){b[r>>1]=m;break}if((e[r>>1]|0)<(q|0)){s=q*7|0;p=((s|0)<0)<<31>>31;f:do if(!$){I=Ft(s|0,p|0,-1,-1)|0;H=z;if(H>>>0>0|(H|0)==0&I>>>0>2147483390)break a;if(!(c[2]|0)){n=jb[c[52>>2]&255](s)|0;Q=109;break}n=jb[c[68>>2]&255](s)|0;if((c[11829]|0)>>>0>>0)c[11829]=s;p=46456;o=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&o>>>0>0){H=c[11822]|0;I=Gt(o|0,p|0,n|0,((n|0)<0)<<31>>31|0)|0;G=z;c[11616]=(0>(G|0)|0==(G|0)&H>>>0>=I>>>0)&1}n=jb[c[52>>2]&255](n)|0;if(!n)break a;o=jb[c[64>>2]&255](n)|0;o=(c[11822]|0)+o|0;c[11822]=o;if(o>>>0>(c[11826]|0)>>>0)c[11826]=o;o=(c[11825]|0)+1|0;c[11825]=o;if(o>>>0<=(c[11831]|0)>>>0)break;c[11831]=o}else{if(c[$+264>>2]|0){if(a[$+73>>0]|0)break a}else{do if(0

    >>0|(0==(p|0)?(e[$+268>>1]|0)>>>0>>0:0))n=1;else{o=$+292|0;n=c[o>>2]|0;if(n|0){c[o>>2]=c[n>>2];Q=$+276|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=109;break f}o=$+288|0;n=c[o>>2]|0;if(!n){n=2;break}c[o>>2]=c[n>>2];Q=$+276|0;c[Q>>2]=(c[Q>>2]|0)+1;Q=109;break f}while(0);Q=$+276+(n<<2)|0;c[Q>>2]=(c[Q>>2]|0)+1}n=Ec($,s,p)|0;Q=109}while(0);if((Q|0)==109)if(!n)break;Vt(n|0,0,s|0)|0;H=k+32|0;Tt(n|0,c[H>>2]|0,e[r>>1]<<2|0)|0;c[H>>2]=n;H=n+(q<<2)|0;I=k+4|0;Tt(H|0,c[I>>2]|0,e[r>>1]<<1|0)|0;c[I>>2]=H;H=H+(q<<1)|0;I=k+28|0;Tt(H|0,c[I>>2]|0,e[r>>1]|0)|0;c[I>>2]=H;b[r>>1]=m;a[J>>0]=a[J>>0]|16;m=b[t>>1]|0}if(m<<16>>16>0){s=k+4|0;r=k+32|0;q=0;k=K;do{p=c[s>>2]|0;n=k;o=p;while(1){if((n|0)<=0){Q=116;break}if((b[o>>1]|0)==(q|0))break;else{n=n+-1|0;o=o+2|0}}if((Q|0)==116){Q=0;b[p+(k<<1)>>1]=q;c[(c[r>>2]|0)+(k<<2)>>2]=22091;k=k+1|0;m=b[t>>1]|0}q=q+1|0}while((q|0)<(m<<16>>16|0))}}}while(0);E=aa+72|0;m=c[E>>2]|0;if(!m)D=-1e6;else{n=c[$+16>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0)){D=k;break}else k=k+1|0}x=c[aa+24>>2]|0;if(x|0){k=M+8|0;c[k>>2]=0;c[k+4>>2]=0;c[k+8>>2]=0;c[k+12>>2]=0;c[k+16>>2]=0;c[k+20>>2]=0;k=L;m=k+80|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[L>>2]=1;c[L+16>>2]=c[aa>>2];c[L+24>>2]=aa;c[L+52>>2]=-1;c[M>>2]=f;c[M+4>>2]=L;r=M+28|0;b[r>>1]=4;g:do if((c[x>>2]|0)>0){s=S+4|0;t=S+8|0;u=S+12|0;v=S+24|0;w=M+24|0;q=0;k=4;while(1){p=c[x+4+(q*20|0)>>2]|0;if(p){o=k&65535;b[r>>1]=o&61423;k=c[M>>2]|0;c[S>>2]=k;c[s>>2]=184;c[t>>2]=185;c[u>>2]=0;c[v>>2]=M;n=p+24|0;m=k+408|0;L=(c[m>>2]|0)+(c[n>>2]|0)|0;c[m>>2]=L;m=c[(c[k>>2]|0)+112>>2]|0;if((m|0)<(L|0)){Q=129;break}$j(S,p)|0;m=c[S>>2]|0;k=m+408|0;c[k>>2]=(c[k>>2]|0)-(c[n>>2]|0);k=b[r>>1]|0;if(k&16){L=p+4|0;c[L>>2]=c[L>>2]|2}k=(k&65535|o&4112)&65535;b[r>>1]=k;if((c[w>>2]|0)>0){Q=133;break}if((c[m+36>>2]|0)>0)break g}q=q+1|0;if((q|0)>=(c[x>>2]|0))break g}if((Q|0)==129){c[N>>2]=m;hg(k,24905,N);break}else if((Q|0)==133)break}while(0)}C=aa+42|0;m=b[C>>1]|0;if(m<<16>>16>0){n=c[aa+4>>2]|0;k=0;m=m<<16>>16;while(1){k=(d[n+14>>0]|0)+k|0;if((m|0)>1){n=n+16|0;m=m+-1|0}else break}}else k=0;k=((e[aa+40>>1]|0)>>>15&65535)+k<<2;if(k>>>0<8)if(k>>>0<2)k=0;else{n=40;m=0;do{n=(n&65535)+65526|0;k=Rt(k|0,m|0,1)|0;m=z}while(m>>>0<0|(m|0)==0&k>>>0<8);n=n&65535;Q=149}else{if(k>>>0>255){n=40;m=0;do{n=(n&65535)+40|0;Q=k;k=Qt(k|0,m|0,4)|0;N=m;m=z}while(N>>>0>0|(N|0)==0&Q>>>0>4095);n=n&65535}else{n=40;m=0}if(m>>>0>0|(m|0)==0&k>>>0>15){while(1){n=(n&65535)+10&65535;Q=k;k=Qt(k|0,m|0,1)|0;if(!(m>>>0>0|(m|0)==0&Q>>>0>31))break;else m=z}Q=149}else Q=149}if((Q|0)==149)k=(n&65535)+65526+(e[14834+((k&7)<<1)>>1]|0)&65535;b[aa+46>>1]=k;k=c[aa+8>>2]|0;if(k|0)do{xn(k);k=c[k+20>>2]|0}while((k|0)!=0);if(!(a[W>>0]|0)){A=f+8|0;k=c[A>>2]|0;if(!k){if((c[f+120>>2]|0)==0?(b[(c[f>>2]|0)+68>>1]&8)==0:0)a[f+23>>0]=1;k=yi(f)|0;if(!k){l=ba;return}else B=k}else B=k;v=B+136|0;k=c[v>>2]|0;w=B+12|0;if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){c[v>>2]=k+1;m=c[B+88>>2]|0;a[m+(k*20|0)>>0]=112;k=m+(k*20|0)+1|0;m=k+19|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(m|0))}else zi(B,112,0,0,0)|0;y=(c[aa+12>>2]|0)==0;o=y?35188:35194;y=y?30750:25026;h:do if(O){m=i<<24>>24?f+388|0:h;U=c[m>>2]|0;n=c[f+380>>2]|0;k=U-n|0;if((a[U>>0]|0)!=59)k=(c[m+4>>2]|0)+k|0;c[P>>2]=o;c[P+4>>2]=k;c[P+8>>2]=n;n=Ff($,35225,P)|0;m=f+100|0;k=aa}else{m=f+44|0;u=c[m>>2]|0;p=u+1|0;t=u+2|0;u=u+3|0;c[m>>2]=u;m=c[f+120>>2]|0;a[((m|0)==0?f:m)+21>>0]=1;m=f+100|0;k=c[m>>2]|0;n=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[v>>2]=o;Q=c[B+88>>2]|0;a[Q+(n*20|0)>>0]=105;b[Q+(n*20|0)+2>>1]=0;c[Q+(n*20|0)+4>>2]=1;c[Q+(n*20|0)+8>>2]=k;c[Q+(n*20|0)+12>>2]=D;c[Q+(n*20|0)+16>>2]=0;a[Q+(n*20|0)+1>>0]=0}else{zi(B,105,1,k,D)|0;o=c[v>>2]|0}if((o|0)>0)b[(c[B+88>>2]|0)+((o+-1|0)*20|0)+2>>1]=16;c[f+40>>2]=2;k=o+1|0;if((c[(c[w>>2]|0)+48>>2]|0)>(o|0)){c[v>>2]=k;Q=c[B+88>>2]|0;a[Q+(o*20|0)>>0]=15;b[Q+(o*20|0)+2>>1]=0;c[Q+(o*20|0)+4>>2]=p;c[Q+(o*20|0)+8>>2]=0;c[Q+(o*20|0)+12>>2]=k;c[Q+(o*20|0)+16>>2]=0;a[Q+(o*20|0)+1>>0]=0}else zi(B,15,p,0,k)|0;a[S>>0]=13;q=S+4|0;c[q>>2]=p;c[S+16>>2]=0;r=S+8|0;c[r>>2]=0;s=S+12|0;c[s>>2]=0;Vi(f,j,S)|0;k=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){n=k+1|0;c[v>>2]=n;Q=c[B+88>>2]|0;a[Q+(k*20|0)>>0]=64;b[Q+(k*20|0)+2>>1]=0;c[Q+(k*20|0)+4>>2]=p;c[Q+(k*20|0)+8>>2]=0;c[Q+(k*20|0)+12>>2]=0;c[Q+(k*20|0)+16>>2]=0;a[Q+(k*20|0)+1>>0]=0}else{zi(B,64,p,0,0)|0;n=c[v>>2]|0}Q=c[w>>2]|0;a[Q+19>>0]=0;c[Q+28>>2]=0;if(!(a[(c[B>>2]|0)+73>>0]|0))k=(c[B+88>>2]|0)+(((o|0)<0?n+-1|0:o)*20|0)|0;else k=46708;c[k+8>>2]=n;do if(!(c[f+36>>2]|0)){k=Lj(f,j)|0;if(!k)break;j=k+42|0;b[C>>1]=b[j>>1]|0;Q=k+4|0;x=aa+4|0;c[x>>2]=c[Q>>2];b[j>>1]=0;c[Q>>2]=0;if(($|0)!=0?(c[$+464>>2]|0)!=0:0)Q=181;else Q=180;if((Q|0)==180?(P=k+32|0,j=(c[P>>2]|0)+-1|0,c[P>>2]=j,(j|0)==0):0)Q=181;if((Q|0)==181)Tf($,k);k=c[q>>2]|0;n=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){o=n+1|0;c[v>>2]=o;p=c[B+88>>2]|0;a[p+(n*20|0)>>0]=16;b[p+(n*20|0)+2>>1]=0;c[p+(n*20|0)+4>>2]=k;c[p+(n*20|0)+8>>2]=0;c[p+(n*20|0)+12>>2]=0;c[p+(n*20|0)+16>>2]=0;a[p+(n*20|0)+1>>0]=0;p=n}else{p=zi(B,16,k,0,0)|0;o=c[v>>2]|0}n=c[r>>2]|0;k=c[s>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(o|0)){c[v>>2]=o+1;j=c[B+88>>2]|0;a[j+(o*20|0)>>0]=99;b[j+(o*20|0)+2>>1]=0;c[j+(o*20|0)+4>>2]=n;c[j+(o*20|0)+8>>2]=k;c[j+(o*20|0)+12>>2]=t;c[j+(o*20|0)+16>>2]=0;a[j+(o*20|0)+1>>0]=0}else zi(B,99,n,k,t)|0;Kl(B,aa,0);k=c[v>>2]|0;if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){j=k+1|0;c[v>>2]=j;P=c[B+88>>2]|0;a[P+(k*20|0)>>0]=115;b[P+(k*20|0)+2>>1]=0;c[P+(k*20|0)+4>>2]=1;c[P+(k*20|0)+8>>2]=u;c[P+(k*20|0)+12>>2]=0;c[P+(k*20|0)+16>>2]=0;a[P+(k*20|0)+1>>0]=0;k=j}else{zi(B,115,1,u,0)|0;k=c[v>>2]|0}if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){j=k+1|0;c[v>>2]=j;P=c[B+88>>2]|0;a[P+(k*20|0)>>0]=116;b[P+(k*20|0)+2>>1]=0;c[P+(k*20|0)+4>>2]=1;c[P+(k*20|0)+8>>2]=t;c[P+(k*20|0)+12>>2]=u;c[P+(k*20|0)+16>>2]=0;a[P+(k*20|0)+1>>0]=0;k=j}else{zi(B,116,1,t,u)|0;k=c[v>>2]|0}if((c[(c[w>>2]|0)+48>>2]|0)>(k|0)){n=k+1|0;c[v>>2]=n;j=c[B+88>>2]|0;a[j+(k*20|0)>>0]=13;b[j+(k*20|0)+2>>1]=0;c[j+(k*20|0)+4>>2]=0;c[j+(k*20|0)+8>>2]=p;c[j+(k*20|0)+12>>2]=0;c[j+(k*20|0)+16>>2]=0;a[j+(k*20|0)+1>>0]=0}else{zi(B,13,0,p,0)|0;n=c[v>>2]|0}if(!(a[(c[B>>2]|0)+73>>0]|0))k=(c[B+88>>2]|0)+(((p|0)<0?n+-1|0:p)*20|0)|0;else k=46708;c[k+8>>2]=n;if((c[(c[w>>2]|0)+48>>2]|0)>(n|0)){c[v>>2]=n+1;j=c[B+88>>2]|0;a[j+(n*20|0)>>0]=112;b[j+(n*20|0)+2>>1]=0;c[j+(n*20|0)+4>>2]=1;c[j+(n*20|0)+8>>2]=0;c[j+(n*20|0)+12>>2]=0;c[j+(n*20|0)+16>>2]=0;a[j+(n*20|0)+1>>0]=0}else zi(B,112,1,0,0)|0;s=b[C>>1]|0;if(s<<16>>16>0){r=s<<16>>16;o=0;p=c[x>>2]|0;q=0;while(1){k=0;n=c[p>>2]|0;i:while(1){switch(a[n>>0]|0){case 0:break i;case 34:{k=k+1|0;break}default:{}}k=k+1|0;n=n+1|0}q=q+7+k|0;o=o+1|0;if((o|0)==(r|0))break;else p=p+16|0}o=q+2|0}else o=2;k=0;n=c[aa>>2]|0;j:while(1){switch(a[n>>0]|0){case 0:break j;case 34:{k=k+1|0;break}default:{}}k=k+1|0;n=n+1|0}t=k+o|0;v=(t|0)<50;r=v?47328:35199;u=v?19015:35203;v=v?22108:35208;t=((s<<16>>16)*6|0)+35+t|0;j=Ft(t|0,((t|0)<0)<<31>>31|0,-1,-1)|0;P=z;k:do if(P>>>0>0|(P|0)==0&j>>>0>2147483390)Q=227;else{do if(!(c[2]|0)){k=jb[c[52>>2]&255](t)|0;if(!k){Q=227;break k}}else{k=jb[c[68>>2]&255](t)|0;if((c[11829]|0)>>>0>>0)c[11829]=t;o=46456;n=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)>0|(o|0)==0&n>>>0>0){P=c[11822]|0;j=Gt(n|0,o|0,k|0,((k|0)<0)<<31>>31|0)|0;i=z;c[11616]=(0>(i|0)|0==(i|0)&P>>>0>=j>>>0)&1}k=jb[c[52>>2]&255](k)|0;if(!k){Q=227;break k}n=jb[c[64>>2]&255](k)|0;n=(c[11822]|0)+n|0;c[11822]=n;if(n>>>0>(c[11826]|0)>>>0)c[11826]=n;n=(c[11825]|0)+1|0;c[11825]=n;if(n>>>0<=(c[11831]|0)>>>0)break;c[11831]=n}while(0);wd(t,k,35211,R)|0;c[S>>2]=(As(k)|0)&1073741823;yn(k,S,c[aa>>2]|0);n=c[S>>2]|0;q=n+1|0;c[S>>2]=q;a[k+n>>0]=40;n=t-q|0;o=k+q|0;if((b[C>>1]|0)>0){s=c[x>>2]|0;p=0;while(1){wd(n,o,r,T)|0;n=k+q|0;if(!n)n=0;else n=(As(n)|0)&1073741823;c[S>>2]=n+q;yn(k,S,c[s>>2]|0);o=c[6300+((a[s+13>>0]|0)+-65<<2)>>2]|0;q=(As(o)|0)&1073741823;n=c[S>>2]|0;Tt(k+n|0,o|0,q|0)|0;q=n+q|0;c[S>>2]=q;p=p+1|0;n=t-q|0;o=k+q|0;if((p|0)<(b[C>>1]|0)){s=s+16|0;r=u}else break}}c[U>>2]=v;wd(n,o,17859,U)|0}while(0);do if((Q|0)==227){k=$+73|0;if(a[k>>0]|0){k=0;break}if(a[$+74>>0]|0){k=0;break}a[k>>0]=1;if((c[$+172>>2]|0)>0)c[$+256>>2]=1;k=$+264|0;c[k>>2]=(c[k>>2]|0)+1;k=0}while(0);n=k;k=aa;break h}while(0);l=ba;return}while(0);q=$+16|0;S=c[k>>2]|0;T=c[m>>2]|0;U=c[f+96>>2]|0;c[V>>2]=c[(c[q>>2]|0)+(D<<4)>>2];c[V+4>>2]=25345;c[V+8>>2]=y;c[V+12>>2]=S;c[V+16>>2]=S;c[V+20>>2]=T;c[V+24>>2]=n;c[V+28>>2]=U;ij(f,35240,V);do if(n|0){if(c[$+464>>2]|0){Lc($,n);break}V=n;if(V>>>0>=(c[$+296>>2]|0)>>>0?V>>>0<(c[$+300>>2]|0)>>>0:0){V=$+292|0;c[n>>2]=c[V>>2];c[V>>2]=n;break}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{V=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-V;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);m=c[A>>2]|0;n=(c[c[(c[(c[f>>2]|0)+16>>2]|0)+(D<<4)+12>>2]>>2]|0)+1|0;o=m+136|0;p=c[o>>2]|0;if((c[(c[m+12>>2]|0)+48>>2]|0)>(p|0)){c[o>>2]=p+1;V=c[m+88>>2]|0;a[V+(p*20|0)>>0]=102;b[V+(p*20|0)+2>>1]=0;c[V+(p*20|0)+4>>2]=D;c[V+(p*20|0)+8>>2]=1;c[V+(p*20|0)+12>>2]=n;c[V+(p*20|0)+16>>2]=0;a[V+(p*20|0)+1>>0]=0}else zi(m,102,D,1,n)|0;if(c[aa+36>>2]&8|0?(X=c[q>>2]|0,(c[(c[X+(D<<4)+12>>2]|0)+72>>2]|0)==0):0){c[Y>>2]=c[X+(D<<4)>>2];ij(f,35327,Y)}c[Z>>2]=c[k>>2];nj(B,D,Ff($,35369,Z)|0);if(!(a[W>>0]|0)){l=ba;return}}else k=aa;if(_f((c[E>>2]|0)+8|0,c[k>>2]|0,aa)|0){k=$+73|0;if(a[k>>0]|0){l=ba;return}if(a[$+74>>0]|0){l=ba;return}a[k>>0]=1;if((c[$+172>>2]|0)>0)c[$+256>>2]=1;aa=$+264|0;c[aa>>2]=(c[aa>>2]|0)+1;l=ba;return}c[_>>2]=0;$=$+24|0;c[$>>2]=c[$>>2]|1;if(c[aa+12>>2]|0){l=ba;return}k=c[f+380>>2]|0;p=(c[((c[g>>2]|0)==0?h:g)>>2]|0)-k|0;p=(p|0)>-1?k+p|0:-1;m=a[k>>0]|0;if(m<<24>>24!=0&p>>>0>k>>>0){o=0;while(1){n=k+1|0;if((m&255)>191){k=n;while(1){m=a[k>>0]|0;if((m&-64)<<24>>24==-128)k=k+1|0;else break}}else{k=n;m=a[n>>0]|0}if(m<<24>>24!=0&k>>>0

    >>0)o=o+1|0;else break}k=o+14|0}else k=13;c[aa+52>>2]=k;l=ba;return}function Ii(f,g){f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+64|0;n=r;p=r+8|0;q=c[f>>2]|0;h=c[f+432>>2]|0;do if(h){m=c[h+4>>2]|0;k=(b[h+42>>1]|0)+-1|0;i=c[g>>2]|0;h=(d[q+157>>0]|0)+4&255;j=p+20|0;a[j>>0]=h;c[p+4>>2]=186;c[p+8>>2]=187;c[p+24>>2]=0;if(i){$j(p,i)|0;h=a[j>>0]|0}if(!(h<<24>>24)){c[n>>2]=c[m+(k<<4)>>2];hg(f,35061,n);break}n=m+(k<<4)+4|0;h=c[n>>2]|0;if(h|0)Qf(q,h);h=p;i=h+48|0;do{c[h>>2]=0;h=h+4|0}while((h|0)<(i|0));a[p>>0]=-101;f=c[g+4>>2]|0;m=(c[g+8>>2]|0)-f|0;a:do if(f){j=Ft(m|0,((m|0)<0)<<31>>31|0,1,0)|0;k=z;do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))o=18;else{h=0;break a}else{if(!(0>>0|(0==(k|0)?(e[q+268>>1]|0)>>>0>>0:0))){i=q+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];k=q+276|0;c[k>>2]=(c[k>>2]|0)+1;break}i=q+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];k=q+276|0;c[k>>2]=(c[k>>2]|0)+1;break}}else h=1;o=q+276+(h<<2)|0;c[o>>2]=(c[o>>2]|0)+1;o=18}while(0);if((o|0)==18)h=Ec(q,j,k)|0;if(h){Tt(h|0,f|0,m|0)|0;a[h+m>>0]=0}else h=0}else h=0;while(0);o=p+8|0;c[o>>2]=h;c[p+12>>2]=c[g>>2];c[p+4>>2]=4096;c[n>>2]=sj(q,p,1,0)|0;h=c[o>>2]|0;do if(h|0){if(q|0){if(c[q+464>>2]|0){Lc(q,h);break}p=h;if(p>>>0>=(c[q+296>>2]|0)>>>0?p>>>0<(c[q+300>>2]|0)>>>0:0){p=q+292|0;c[h>>2]=c[p>>2];c[p>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{p=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0)}while(0);g=c[g>>2]|0;if(!g){l=r;return}Qf(q,g);l=r;return}function Ji(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+16|0;k=m;c[k>>2]=0;d=c[a+12>>2]|0;if((d|0)!=0?(b=c[d+24>>2]|0,(b|0)>0):0)c[k>>2]=b;else b=0;d=c[a+16>>2]|0;if((d|0)!=0?(e=c[d+24>>2]|0,(e|0)>(b|0)):0){c[k>>2]=e;b=e}i=a+4|0;j=c[i>>2]|0;d=a+20|0;if(j&2048|0){gn(c[d>>2]|0,k);k=c[k>>2]|0;k=k+1|0;a=a+24|0;c[a>>2]=k;l=m;return}g=c[d>>2]|0;if(!g){k=b;k=k+1|0;a=a+24|0;c[a>>2]=k;l=m;return}h=c[g>>2]|0;f=(h|0)>0;if(f){e=0;do{d=c[g+4+(e*20|0)>>2]|0;if(d){d=c[d+24>>2]|0;b=(d|0)>(b|0)?d:b}e=e+1|0}while((e|0)<(h|0));c[k>>2]=b;if(f){d=0;e=0;do{d=c[(c[g+4+(e*20|0)>>2]|0)+4>>2]|d;e=e+1|0}while((e|0)!=(h|0));d=d&2097412}else d=0}else d=0;c[i>>2]=j|d;k=b;k=k+1|0;a=a+24|0;c[a>>2]=k;l=m;return}function Ki(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0;D=l;l=l+16|0;B=D+8|0;k=D;z=c[e+432>>2]|0;do if(!z)C=41;else{A=z+36|0;j=c[A>>2]|0;if(j&4|0){c[k>>2]=c[z>>2];hg(e,34964,k);C=41;break}x=j|4;c[A>>2]=x;y=(f|0)==0;if(!y){w=c[f>>2]|0;if((w|0)>0){u=z+42|0;v=z+4|0;m=0;t=0;j=-1;do{k=c[f+4+(t*20|0)>>2]|0;a:do if(!k)k=0;else while(1){n=c[k+4>>2]|0;if(!(n&4096))break a;if(!(n&262144))k=k+12|0;else k=(c[k+20>>2]|0)+4|0;k=c[k>>2]|0;if(!k){k=0;break}}while(0);n=a[k>>0]|0;switch(n<<24>>24){case 97:{a[k>>0]=59;C=19;break}case 94:{n=c[k+12>>2]|0;if((a[n>>0]|0)==97){a[n>>0]=59;n=a[k>>0]|0;C=18}break}default:C=18}if((C|0)==18){C=0;if(n<<24>>24==59)C=19}b:do if((C|0)==19){C=0;p=c[k+8>>2]|0;j=b[u>>1]|0;if(j<<16>>16>0){s=c[v>>2]|0;o=a[p>>0]|0;r=a[17324+(o&255)>>0]|0;q=j<<16>>16;c:do if(!(o<<24>>24)){j=0;while(1){if(r<<24>>24==(a[17324+(d[c[s+(j<<4)>>2]>>0]|0)>>0]|0))break c;j=j+1|0;if((j|0)>=(q|0))break b}}else{j=0;while(1){k=c[s+(j<<4)>>2]|0;if(r<<24>>24==(a[17324+(d[k>>0]|0)>>0]|0)){n=p;do{n=n+1|0;k=k+1|0;E=a[n>>0]|0;o=(d[17324+(E&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(E<<24>>24==0|(o|0)!=0));if(!o)break c}j=j+1|0;if((j|0)>=(q|0))break b}}while(0);m=s+(j<<4)+15|0;a[m>>0]=a[m>>0]|1;m=s+(j<<4)|0}else j=0}while(0);t=t+1|0}while((t|0)!=(w|0));n=(w|0)==1;o=j;C=30}}else{o=(b[z+42>>1]|0)+-1|0;m=c[z+4>>2]|0;n=m+(o<<4)+15|0;a[n>>0]=a[n>>0]|1;n=1;m=m+(o<<4)|0;C=30}if((C|0)==30?n&(m|0)!=0:0){if(!(a[m+15>>0]&4))k=47328;else{k=c[m>>2]|0;k=k+(As(k)|0)+1|0}E=a[k>>0]|0;j=(d[17324+(E&255)>>0]|0)+-105|0;if(!(E<<24>>24==0|(j|0)!=0)){m=27532;do{k=k+1|0;m=m+1|0;E=a[k>>0]|0;j=(d[17324+(E&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(E<<24>>24==0|(j|0)!=0))}if((i|0)!=1&(j|0)==0){b[z+40>>1]=o;a[z+48>>0]=g;c[A>>2]=x|h<<3;if(y){l=D;return}else{a[e+398>>0]=a[f+16>>0]|0;break}}}if(h|0){hg(e,35005,B);C=41;break}Li(e,0,0,0,f,g,0,0,i,0,2);l=D;return}while(0);if((C|0)==41?(f|0)==0:0){l=D;return}Rf(c[e>>2]|0,f);l=D;return}function Li(f,g,h,i,j,k,m,n,o,p,q){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;o=o|0;p=p|0;q=q|0;var r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0;wa=l;l=l+384|0;ua=wa+288|0;sa=wa+264|0;ra=wa+248|0;pa=wa+240|0;ia=wa+232|0;ha=wa+224|0;ea=wa+216|0;da=wa+208|0;X=wa+200|0;R=wa+192|0;Q=wa+184|0;P=wa+176|0;M=wa+168|0;L=wa+160|0;G=wa+152|0;J=wa+144|0;I=wa+136|0;H=wa+128|0;D=wa+120|0;F=wa+112|0;E=wa+104|0;A=wa+96|0;v=wa+88|0;s=wa+80|0;qa=wa+352|0;aa=wa;ba=wa+320|0;y=wa+296|0;va=c[f>>2]|0;la=va+73|0;a:do if((((a[la>>0]|0)==0?(ca=f+36|0,(c[ca>>2]|0)<=0):0)?(N=f+400|0,ga=q<<24>>24==2,ga|(a[N>>0]|0)==0):0)?(fj(f)|0)==0:0){ta=(i|0)!=0;b:do if(ta){u=c[f>>2]|0;x=h+4|0;if(c[x>>2]|0){if(a[u+157>>0]|0){hg(f,24989,s);s=n;r=0;na=403;break a}s=Fi(u,g)|0;t=eg(u,s)|0;do if(s|0){if(c[u+464>>2]|0){Lc(u,s);break}oa=s;if(oa>>>0>=(c[u+296>>2]|0)>>>0?oa>>>0<(c[u+300>>2]|0)>>>0:0){oa=u+292|0;c[s>>2]=c[oa>>2];c[oa>>2]=s;break}if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{oa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-oa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);if((t|0)<0){c[v>>2]=g;hg(f,25006,v);s=n;r=0;na=403;break a}}else{t=d[u+156>>0]|0;h=g}if(!(a[va+157>>0]|0)){w=i+8|0;u=c[w>>2]|0;if(!u)s=i+12|0;else{v=c[(c[f>>2]|0)+16>>2]|0;s=0;while(1)if((c[v+(s<<4)+12>>2]|0)==(u|0))break;else s=s+1|0;s=v+(s<<4)|0}s=oj(f,0,c[i+16>>2]|0,c[s>>2]|0)|0;u=c[f>>2]|0;v=i+24|0;g=c[v>>2]|0;do if(g|0){if(!((u|0)!=0?(c[u+464>>2]|0)!=0:0))na=30;if((na|0)==30?(ma=g+32|0,oa=(c[ma>>2]|0)+-1|0,c[ma>>2]=oa,oa|0):0)break;Tf(u,g)}while(0);c[v>>2]=s;if(s|0){oa=s+32|0;c[oa>>2]=(c[oa>>2]|0)+1}oa=(pj(f,w)|0)==0;s=oa?s:0;if((c[x>>2]|0)==0&(s|0)!=0)g=(c[s+72>>2]|0)==(c[(c[va+16>>2]|0)+28>>2]|0)?1:t;else g=t}else g=t;v=c[f>>2]|0;c[y>>2]=f;v=c[v+16>>2]|0;c[y+12>>2]=c[v+(g<<4)>>2];c[y+4>>2]=c[v+(g<<4)+12>>2];c[y+16>>2]=34524;c[y+20>>2]=h;v=(g|0)==1;c[y+8>>2]=v&1;qj(y,i)|0;t=c[i+8>>2]|0;if(!t)s=i+12|0;else{u=c[(c[f>>2]|0)+16>>2]|0;s=0;while(1)if((c[u+(s<<4)+12>>2]|0)==(t|0))break;else s=s+1|0;s=u+(s<<4)|0}s=oj(f,0,c[i+16>>2]|0,c[s>>2]|0)|0;if(!s){s=n;r=0;na=403;break a}if(v?(c[(c[va+16>>2]|0)+28>>2]|0)!=(c[s+72>>2]|0):0){c[A>>2]=c[s>>2];hg(f,34530,A);s=n;r=0;na=403;break a}if((c[s+36>>2]&32|0)!=0?(r=c[s+8>>2]|0,(r|0)!=0):0)while(1){if((a[r+55>>0]&3)==2){oa=s;Y=r;ma=g;ja=h;break b}r=c[r+20>>2]|0;if(!r){oa=s;Y=0;ma=g;ja=h;break}}else{oa=s;Y=0;ma=g;ja=h}}else{r=c[f+432>>2]|0;if(!r){s=n;r=0;na=403;break a}s=c[r+72>>2]|0;if(!s){oa=r;Y=0;ma=-1e6;ja=0}else{t=c[va+16>>2]|0;u=0;while(1)if((c[t+(u<<4)+12>>2]|0)==(s|0)){oa=r;Y=0;ma=u;ja=0;break}else u=u+1|0}}while(0);ka=va+16|0;T=c[ka>>2]|0;h=T+(ma<<4)|0;u=c[oa>>2]|0;c:do if(u|0){r=a[u>>0]|0;d:do if(!(r<<24>>24)){r=25670;na=55}else{fa=r&255;r=17324+fa|0;do if((fa|32|0)==115){r=a[u+1>>0]|0;if(!(r<<24>>24)){r=25671;na=55;break d}fa=r&255;r=17324+fa|0;if((fa|32|0)==113){r=a[u+2>>0]|0;if(!(r<<24>>24)){r=25672;na=55;break d}fa=r&255;r=17324+fa|0;if((fa|32|0)==108){r=a[u+3>>0]|0;if(!(r<<24>>24)){r=25673;na=55;break d}fa=r&255;r=17324+fa|0;if((fa|32|0)==105){r=a[u+4>>0]|0;if(!(r<<24>>24)){r=25674;na=55;break d}fa=r&255;r=17324+fa|0;if((fa|32|0)==116){r=a[u+5>>0]|0;if(!(r<<24>>24)){r=25675;na=55;break d}r=r&255;if((r|32|0)!=101){s=101;r=17324+r|0;break}r=a[u+6>>0]|0;if(!(r<<24>>24)){r=25676;na=55;break d}if(r<<24>>24==95)break d;else{s=95;r=17324+(r&255)|0}}else s=116}else s=105}else s=108}else s=113}else s=115;while(0);C=a[r>>0]|0;B=s;na=59}while(0);if((na|0)==55){C=0;B=a[17324+(d[r>>0]|0)>>0]|0;na=59}if((na|0)==59?C<<24>>24!=B<<24>>24:0)break;if(!(a[va+157>>0]|0)){r=a[u+7>>0]|0;e:do if(!(r<<24>>24)){r=34580;na=62}else{fa=r&255;r=17324+fa|0;do if((fa|32|0)==97){r=a[u+8>>0]|0;if(!(r<<24>>24)){r=34581;na=62;break e}fa=r&255;r=17324+fa|0;if((fa|32|0)==108){r=a[u+9>>0]|0;if(!(r<<24>>24)){r=34582;na=62;break e}fa=r&255;r=17324+fa|0;if((fa|32|0)==116){r=a[u+10>>0]|0;if(!(r<<24>>24)){r=34583;na=62;break e}fa=r&255;r=17324+fa|0;if((fa|32|0)==101){r=a[u+11>>0]|0;if(!(r<<24>>24)){r=34584;na=62;break e}r=r&255;if((r|32|0)!=114){t=114;r=17324+r|0;break}r=a[u+12>>0]|0;if(!(r<<24>>24)){r=34585;na=62;break e}r=r&255;if((r|32|0)!=116){t=116;r=17324+r|0;break}r=a[u+13>>0]|0;if(!(r<<24>>24)){r=34586;na=62;break e}r=r&255;if((r|32|0)!=97){t=97;r=17324+r|0;break}r=a[u+14>>0]|0;if(!(r<<24>>24)){r=34587;na=62;break e}r=r&255;if((r|32|0)!=98){t=98;r=17324+r|0;break}r=a[u+15>>0]|0;if(!(r<<24>>24)){r=34588;na=62;break e}if(r<<24>>24==95)break c;else{t=95;r=17324+(r&255)|0}}else t=101}else t=116}else t=108}else t=97;while(0);s=a[r>>0]|0;r=t}while(0);if((na|0)==62){s=0;r=a[17324+(d[r>>0]|0)>>0]|0}if(s<<24>>24!=r<<24>>24){c[E>>2]=u;hg(f,34590,E);s=n;r=0;na=403;break a}}}while(0);if(c[oa+12>>2]|0){hg(f,34618,F);s=n;r=0;na=403;break}if(c[oa+56>>2]|0){hg(f,34643,D);s=n;r=0;na=403;break}if(!ja){r=c[oa+8>>2]|0;if(!r)r=1;else{s=1;do{s=s+1|0;r=c[r+20>>2]|0}while((r|0)!=0);r=s}c[G>>2]=u;c[G+4>>2]=r;r=Ff(va,34735,G)|0;if(!r){s=n;r=0;na=403;break}if(a[N>>0]|0){fa=r+7|0;a[fa>>0]=(a[fa>>0]|0)+1<<24>>24}}else{r=Fi(va,ja)|0;if(!r){s=n;r=0;na=403;break}if(rj(f,r)|0){s=n;na=403;break}f:do if(!(a[va+157>>0]|0)){g=va+20|0;u=r;s=c[g>>2]|0;g:while(1){if((s|0)>0){s=0;do{if(c[($f((c[(c[ka>>2]|0)+(((s|0)<2^s)<<4)+12>>2]|0)+8|0,u,0)|0)+8>>2]|0)break g;s=s+1|0;t=c[g>>2]|0}while((s|0)<(t|0))}else t=s;fa=a[u>>0]|0;s=(d[17324+(fa&255)>>0]|0)+-115|0;if(!(fa<<24>>24==0|(s|0)!=0)){v=25345;do{u=u+1|0;v=v+1|0;fa=a[u>>0]|0;s=(d[17324+(fa&255)>>0]|0)-(d[17324+(d[v>>0]|0)>>0]|0)|0}while(!(fa<<24>>24==0|(s|0)!=0))}if(s|0)break f;if(!(c[(c[ka>>2]|0)+16>>2]|0)){u=25326;s=t}else break f}c[H>>2]=r;hg(f,34677,H);s=n;na=403;break a}while(0);if(gj(va,r,c[h>>2]|0)|0){if(!p){c[I>>2]=r;hg(f,34711,I);s=n;na=403;break}v=c[f+120>>2]|0;v=(v|0)==0?f:v;s=v+92|0;t=c[s>>2]|0;u=1<>2]=t|u;if((ma|0)!=1){s=n;na=403;break}w=c[v>>2]|0;s=w+16|0;if(c[(c[s>>2]|0)+20>>2]|0){s=n;na=403;break}if(a[v+399>>0]|0){s=n;na=403;break}t=fg(c[w>>2]|0,0,w,qa,0,542)|0;if(t|0){hg(v,21111,J);c[v+12>>2]=t;s=n;na=403;break}k=c[qa>>2]|0;c[(c[s>>2]|0)+20>>2]=k;s=c[w+84>>2]|0;u=c[k+4>>2]|0;c[u+4>>2]=c[k>>2];do if(!(b[u+22>>1]&2)){v=u+32|0;g=u+36|0;h=(c[v>>2]|0)-(c[g>>2]|0)|0;do if((s+-512|0)>>>0<65025){if(s+-1&s|0)break;c[v>>2]=s;t=u+80|0;s=c[t>>2]|0;if(!s)break;s=s+-4|0;c[t>>2]=s;k=s;do if(!(k>>>0>=(c[11662]|0)>>>0&k>>>0<(c[11663]|0)>>>0)){k=jb[c[64>>2]&255](s)|0;c[11824]=(c[11824]|0)-k;if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{k=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else{c[11823]=(c[11823]|0)+-1;c[s>>2]=c[11665];c[11665]=s;k=(c[11666]|0)+1|0;c[11666]=k;c[11667]=(k|0)<(c[11661]|0)&1}while(0);c[t>>2]=0}while(0);k=gg(c[u>>2]|0,v,h)|0;c[g>>2]=(c[v>>2]|0)-(h&65535);if((k|0)!=7)break;s=w+73|0;do if(!(a[s>>0]|0)){if(a[w+74>>0]|0)break;a[s>>0]=1;if((c[w+172>>2]|0)>0)c[w+256>>2]=1;k=w+264|0;c[k>>2]=(c[k>>2]|0)+1}while(0);s=n;na=403;break a}while(0);s=n;na=403;break}}g=c[h>>2]|0;$=(ma|0)==1;t=$?25326:25345;s=c[f>>2]|0;h:do if(!(a[s+157>>0]|0)){u=a[N>>0]|0;i:do if(u<<24>>24==0?(K=c[s+304>>2]|0,(K|0)!=0):0)switch(ob[K&255](c[s+308>>2]|0,18,t,0,g,c[f+440>>2]|0)|0){case 2:{s=n;na=403;break a}case 1:{hg(f,24761,L);c[f+12>>2]=23;s=n;na=403;break a}case 0:{s=c[f>>2]|0;if(a[s+157>>0]|0)break h;v=$?3:1;u=a[N>>0]|0;break i}default:{hg(f,24776,M);c[f+12>>2]=1;s=n;na=403;break a}}else na=123;while(0);if((na|0)==123)v=$?3:1;t=c[oa>>2]|0;if(u<<24>>24==0?(O=c[s+304>>2]|0,O|0):0)switch(ob[O&255](c[s+308>>2]|0,v,r,t,g,c[f+440>>2]|0)|0){case 2:{s=n;na=403;break a}case 0:break h;case 1:{hg(f,24761,P);c[f+12>>2]=23;s=n;na=403;break a}default:{hg(f,24776,Q);c[f+12>>2]=1;s=n;na=403;break a}}}while(0);if(j){if((c[j>>2]|0)>(c[(c[f>>2]|0)+108>>2]|0)){c[R>>2]=34524;hg(f,25065,R)}}else{j=c[(c[oa+4>>2]|0)+((b[oa+42>>1]|0)+-1<<4)>>2]|0;c[qa>>2]=j;if(!j)j=0;else j=(As(j)|0)&1073741823;c[qa+4>>2]=j;j=Yi(va,59,qa,0)|0;j=Mi(c[f>>2]|0,0,j)|0;if(!j){s=n;j=0;na=403;break}if((o|0)>=0)a[j+4+(((c[j>>2]|0)+-1|0)*20|0)+12>>0]=o}v=c[j>>2]|0;if((v|0)>0){u=0;s=0;do{t=c[j+4+(u*20|0)>>2]|0;if((a[t>>0]|0)==94){t=c[t+8>>2]|0;if(!t)t=0;else t=(As(t)|0)&1073741823;s=s+1+t|0}u=u+1|0}while((u|0)!=(v|0))}else s=0;if(!r)B=0;else B=(As(r)|0)&1073741823;o=(Y|0)!=0;if(o)t=e[Y+50>>1]|0;else t=1;x=t+v|0;g=x&65535;x=x<<16;h=x>>16;w=(x>>14)+7&-8;x=x>>15;y=x+2|0;A=w+56+(h+7+x+y&-8)|0;v=s+1+B+A|0;u=((v|0)<0)<<31>>31;fa=(va|0)==0;j:do if(fa){_=Ft(v|0,u|0,-1,-1)|0;Z=z;if(Z>>>0>0|(Z|0)==0&_>>>0>2147483390){Z=0;s=0;_=0}else{if(!(c[2]|0)){s=jb[c[52>>2]&255](v)|0;na=173;break}s=jb[c[68>>2]&255](v)|0;if((c[11829]|0)>>>0>>0)c[11829]=v;u=46456;t=c[u>>2]|0;u=c[u+4>>2]|0;if((u|0)>0|(u|0)==0&t>>>0>0){Z=c[11822]|0;_=Gt(t|0,u|0,s|0,((s|0)<0)<<31>>31|0)|0;W=z;c[11616]=(0>(W|0)|0==(W|0)&Z>>>0>=_>>>0)&1}t=jb[c[52>>2]&255](s)|0;if(!t){Z=0;s=0;_=0;break}s=jb[c[64>>2]&255](t)|0;s=(c[11822]|0)+s|0;c[11822]=s;if(s>>>0>(c[11826]|0)>>>0)c[11826]=s;s=(c[11825]|0)+1|0;c[11825]=s;if(s>>>0<=(c[11831]|0)>>>0){na=174;break}c[11831]=s;na=174}}else{if(c[va+264>>2]|0){if(a[la>>0]|0){s=n;na=403;break a}}else{do if(0>>0|(0==(u|0)?(e[va+268>>1]|0)>>>0>>0:0))s=1;else{t=va+292|0;s=c[t>>2]|0;if(s|0){c[t>>2]=c[s>>2];na=va+276|0;c[na>>2]=(c[na>>2]|0)+1;na=173;break j}t=va+288|0;s=c[t>>2]|0;if(!s){s=2;break}c[t>>2]=c[s>>2];na=va+276|0;c[na>>2]=(c[na>>2]|0)+1;na=173;break j}while(0);na=va+276+(s<<2)|0;c[na>>2]=(c[na>>2]|0)+1}s=Ec(va,v,u)|0;na=173}while(0);if((na|0)==173)if(!s){Z=0;s=0;_=0}else{t=s;na=174}if((na|0)==174){Vt(t|0,0,v|0)|0;Z=t+56|0;c[t+32>>2]=Z;Z=Z+w|0;c[t+8>>2]=Z;Z=Z+y|0;c[t+4>>2]=Z;c[t+28>>2]=Z+x;b[t+52>>1]=g;b[t+50>>1]=h+65535;Z=t;s=t+A|0;_=t}k:do if(!(a[la>>0]|0)){c[Z>>2]=s;R=B+1|0;V=s;h=V+R|0;Tt(V|0,r|0,R|0)|0;R=Z+12|0;c[R>>2]=oa;V=Z+54|0;a[V>>0]=k;S=Z+55|0;q=q&3;a[S>>0]=q|((k|0)!=0&1)<<3&255|a[S>>0]&-12;W=Z+24|0;c[W>>2]=c[(c[ka>>2]|0)+(ma<<4)+12>>2];s=c[j>>2]|0;U=Z+50|0;b[U>>1]=s;if(n){t=ba+8|0;c[t>>2]=0;c[t+4>>2]=0;c[t+8>>2]=0;c[t+12>>2]=0;c[t+16>>2]=0;c[t+20>>2]=0;t=aa;v=t+80|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(v|0));c[aa>>2]=1;c[aa+16>>2]=c[oa>>2];c[aa+24>>2]=oa;c[aa+52>>2]=-1;c[ba>>2]=f;c[ba+4>>2]=aa;s=ba+28|0;b[s>>1]=2;c[qa>>2]=f;c[qa+4>>2]=184;c[qa+8>>2]=185;c[qa+12>>2]=0;c[qa+24>>2]=ba;t=n+24|0;u=f+408|0;Q=(c[u>>2]|0)+(c[t>>2]|0)|0;c[u>>2]=Q;u=c[(c[f>>2]|0)+112>>2]|0;do if((u|0)<(Q|0)){c[X>>2]=u;hg(f,24905,X)}else{$j(qa,n)|0;X=(c[qa>>2]|0)+408|0;c[X>>2]=(c[X>>2]|0)-(c[t>>2]|0);if(!(b[s>>1]&16))break;X=n+4|0;c[X>>2]=c[X>>2]|2}while(0);c[Z+36>>2]=n;s=c[j>>2]|0}Q=(d[(c[T+(ma<<4)+12>>2]|0)+76>>0]|0)>3;l:do if((s|0)>0){w=ba+8|0;x=aa+16|0;y=aa+24|0;A=aa+52|0;B=ba+4|0;C=ba+28|0;D=oa+40|0;E=Z+4|0;F=oa+4|0;G=va+157|0;p=Z+32|0;H=Z+28|0;I=f+432|0;J=Z+40|0;K=qa+4|0;L=qa+8|0;M=qa+12|0;N=qa+24|0;O=f;P=f+408|0;u=j+4|0;s=0;while(1){g=c[u>>2]|0;switch(a[g>>0]|0){case 97:{t=g;na=186;break}case 94:{t=c[g+12>>2]|0;if((a[t>>0]|0)==97)na=186;break}default:{}}if((na|0)==186){na=0;a[t>>0]=59};c[w>>2]=0;c[w+4>>2]=0;c[w+8>>2]=0;c[w+12>>2]=0;c[w+16>>2]=0;c[w+20>>2]=0;t=aa;v=t+80|0;do{c[t>>2]=0;t=t+4|0}while((t|0)<(v|0));c[aa>>2]=1;c[x>>2]=c[oa>>2];c[y>>2]=oa;c[A>>2]=-1;c[ba>>2]=f;c[B>>2]=aa;b[C>>1]=32;do if(g|0){b[C>>1]=32;c[qa>>2]=O;c[K>>2]=184;c[L>>2]=185;c[M>>2]=0;c[N>>2]=ba;t=g+24|0;n=(c[P>>2]|0)+(c[t>>2]|0)|0;c[P>>2]=n;v=c[(c[f>>2]|0)+112>>2]|0;if((v|0)<(n|0)){c[da>>2]=v;hg(f,24905,da);break}$j(qa,g)|0;n=(c[qa>>2]|0)+408|0;c[n>>2]=(c[n>>2]|0)-(c[t>>2]|0);if(!(b[C>>1]&16))break;n=g+4|0;c[n>>2]=c[n>>2]|2}while(0);if(c[ca>>2]|0){s=0;na=366;break k}t=c[u>>2]|0;m:do if(!t)t=0;else while(1){v=c[t+4>>2]|0;if(!(v&4096))break m;if(!(v&262144))t=t+12|0;else t=(c[t+20>>2]|0)+4|0;t=c[t>>2]|0;if(!t){t=0;break}}while(0);if((a[t>>0]|0)==-111){n=b[t+32>>1]|0;t=n<<16>>16;do if(n<<16>>16<0)t=b[D>>1]|0;else{if(a[(c[F>>2]|0)+(t<<4)+12>>0]|0)break;a[S>>0]=a[S>>0]&-9}while(0);b[(c[E>>2]|0)+(s<<1)>>1]=t}else{if((oa|0)==(c[I>>2]|0))break;if(!(c[J>>2]|0)){n=Ui(va,j,0)|0;c[J>>2]=n;u=(a[la>>0]|0)==0?n+4+(s*20|0)|0:u}b[(c[E>>2]|0)+(s<<1)>>1]=-2;a[S>>0]=a[S>>0]&-9;t=-2}v=c[u>>2]|0;do if((a[v>>0]|0)==94){v=c[v+8>>2]|0;if(!v)t=0;else t=(As(v)|0)&1073741823;n=t+1|0;Tt(h|0,v|0,n|0)|0;t=h;h=h+n|0}else{if((t|0)<=-1){t=0;break}t=c[(c[F>>2]|0)+(t<<4)+8>>2]|0}while(0);g=(t|0)==0?22091:t;do if(!(a[G>>0]|0)){t=c[f>>2]|0;v=a[t+70>>0]|0;n=a[t+157>>0]|0;t=Pi(t,v,g,n&255)|0;if(!(n<<24>>24)){if(t|0?c[t+12>>2]|0:0)break;t=Qi(f,v,t,g)|0}if(!t){s=0;na=366;break k}}while(0);c[(c[p>>2]|0)+(s<<2)>>2]=g;a[(c[H>>2]|0)+s>>0]=Q?a[u+12>>0]|0:0;s=s+1|0;if((s|0)<(c[j>>2]|0))u=u+20|0;else break l}hg(f,34758,ea);s=0;na=366;break k}else s=0;while(0);do if(o){A=Y+50|0;t=b[A>>1]|0;if(!(t<<16>>16))break;B=Y+4|0;C=Z+4|0;D=Z+52|0;E=Y+32|0;F=Z+32|0;x=Y+28|0;y=Z+28|0;w=0;do{g=b[(c[B>>2]|0)+(w<<1)>>1]|0;h=c[C>>2]|0;u=e[U>>1]|0;v=h;while(1){if((u|0)<=0){na=230;break}if((b[v>>1]|0)==g<<16>>16){na=229;break}else{u=u+-1|0;v=v+2|0}}if((na|0)==229){na=0;b[D>>1]=(b[D>>1]|0)+-1<<16>>16}else if((na|0)==230){na=0;b[h+(s<<1)>>1]=g;c[(c[F>>2]|0)+(s<<2)>>2]=c[(c[E>>2]|0)+(w<<2)>>2];a[(c[y>>2]|0)+s>>0]=a[(c[x>>2]|0)+w>>0]|0;s=s+1|0;t=b[A>>1]|0}w=w+1|0}while((w|0)<(t&65535|0))}else{b[(c[Z+4>>2]|0)+(s<<1)>>1]=-1;c[(c[Z+32>>2]|0)+(s<<2)>>2]=22091}while(0);v=c[Z+8>>2]|0;u=b[U>>1]|0;u=(u&65535)<5?u:5;t=b[(c[R>>2]|0)+44>>1]|0;b[v>>1]=t;s=Z+36|0;if(c[s>>2]|0){t=(t&65535)+65526&65535;b[v>>1]=t}if(t<<16>>16<33)b[v>>1]=33;Tt(v+2|0,14824,u<<1&65535|0)|0;ea=b[U>>1]|0;t=ea&65535;if((u&65535)<(ea&65535)){u=u&65535;do{u=u+1|0;b[v+(u<<1)>>1]=23;t=e[U>>1]|0}while((u|0)<(t|0))}if(a[V>>0]|0)b[v+(t<<1)>>1]=0;A=f+432|0;if(!(c[A>>2]|0))xn(Z);n:do if(ta){u=b[Z+52>>1]|0;x=u&65535;t=oa+42|0;if((x|0)<(b[t>>1]|0))break;B=a[S>>0]|0;a[S>>0]=B|32;t=b[t>>1]|0;if(t<<16>>16<=0)break;v=b[oa+40>>1]|0;y=v<<16>>16;h=Z+4|0;w=t<<16>>16;o:do if(!(u<<16>>16)){u=y+1|0;if((u|0)>=(w|0))if(!(v<<16>>16))break n;else break;else{t=0;while(1)if((t|0)==(y|0))t=u;else break}}else{u=0;while(1){if((u|0)!=(y|0)){v=u&65535;g=c[h>>2]|0;t=0;while(1){if((b[g+(t<<1)>>1]|0)==v<<16>>16)break;t=t+1|0;if((t|0)>=(x|0))break o}if((t&65535)<<16>>16<=-1)break o}u=u+1|0;if((u|0)>=(w|0))break n}}while(0);a[S>>0]=B&-33}while(0);p:do if((oa|0)==(c[A>>2]|0)){t=c[oa+8>>2]|0;if(!t)break;B=Z+4|0;C=Z+32|0;q:do if(ga){A=t;while(1){t=b[A+50>>1]|0;do if(t<<16>>16==(b[U>>1]|0)){if(t<<16>>16){h=c[A+4>>2]|0;w=c[B>>2]|0;x=A+32|0;y=t&65535;t=0;do{if((b[h+(t<<1)>>1]|0)!=(b[w+(t<<1)>>1]|0))break;v=c[(c[x>>2]|0)+(t<<2)>>2]|0;g=c[(c[C>>2]|0)+(t<<2)>>2]|0;ia=a[v>>0]|0;u=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0;if(!(ia<<24>>24==0|(u|0)!=0))do{v=v+1|0;g=g+1|0;ia=a[v>>0]|0;u=(d[17324+(ia&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0}while(!(ia<<24>>24==0|(u|0)!=0));if(u|0)break;t=t+1|0}while((t|0)<(y|0));if((t|0)!=(y|0)){t=0;break}}v=A+54|0;t=a[v>>0]|0;u=a[V>>0]|0;do if(t<<24>>24!=u<<24>>24){if(!(t<<24>>24==10|u<<24>>24==10)){c[ha>>2]=0;hg(f,34819,ha);t=a[v>>0]|0}if(t<<24>>24!=10)break;a[v>>0]=a[V>>0]|0}while(0);t=A+55|0;a[t>>0]=a[t>>0]&-4|q;t=2}else t=20;while(0);switch(t&31){case 20:case 0:break;default:break q}A=c[A+20>>2]|0;if(!A)break p}}else{A=t;while(1){t=b[A+50>>1]|0;do if(t<<16>>16==(b[U>>1]|0)){if(t<<16>>16){h=c[A+4>>2]|0;w=c[B>>2]|0;x=A+32|0;y=t&65535;t=0;do{if((b[h+(t<<1)>>1]|0)!=(b[w+(t<<1)>>1]|0))break;v=c[(c[x>>2]|0)+(t<<2)>>2]|0;g=c[(c[C>>2]|0)+(t<<2)>>2]|0;ha=a[v>>0]|0;u=(d[17324+(ha&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0;if(!(ha<<24>>24==0|(u|0)!=0))do{v=v+1|0;g=g+1|0;ha=a[v>>0]|0;u=(d[17324+(ha&255)>>0]|0)-(d[17324+(d[g>>0]|0)>>0]|0)|0}while(!(ha<<24>>24==0|(u|0)!=0));if(u|0)break;t=t+1|0}while((t|0)<(y|0));if((t|0)!=(y|0)){t=0;break}}v=A+54|0;t=a[v>>0]|0;u=a[V>>0]|0;if(t<<24>>24==u<<24>>24){t=2;break}if(!(t<<24>>24==10|u<<24>>24==10)){c[ia>>2]=0;hg(f,34819,ia);t=a[v>>0]|0}if(t<<24>>24!=10){t=2;break}a[v>>0]=a[V>>0]|0;t=2}else t=20;while(0);switch(t&31){case 20:case 0:break;default:break q}A=c[A+20>>2]|0;if(!A)break p}}while(0);if(t|0){s=0;na=366;break k}}while(0);D=va+157|0;do if(!(a[D>>0]|0)){if(!(ta|(c[oa+36>>2]&32|0)==0)){na=360;break}B=f+44|0;A=(c[B>>2]|0)+1|0;c[B>>2]=A;B=f+8|0;s=c[B>>2]|0;t=f+120|0;if(!s){do if(!(c[t>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);s=yi(f)|0;if(!s){s=0;na=366;break k}else C=s}else C=s;x=c[t>>2]|0;x=(x|0)==0?f:x;s=x+92|0;t=c[s>>2]|0;y=1<>2]=t|y;if(!$)break;w=c[x>>2]|0;s=w+16|0;if(c[(c[s>>2]|0)+20>>2]|0)break;if(a[x+399>>0]|0)break;t=fg(c[w>>2]|0,0,w,qa,0,542)|0;if(t|0){hg(x,21111,pa);c[x+12>>2]=t;break}qa=c[qa>>2]|0;c[(c[s>>2]|0)+20>>2]=qa;s=c[w+84>>2]|0;u=c[qa+4>>2]|0;c[u+4>>2]=c[qa>>2];do if(!(b[u+22>>1]&2)){v=u+32|0;g=u+36|0;h=(c[v>>2]|0)-(c[g>>2]|0)|0;do if((s+-512|0)>>>0<65025){if(s+-1&s|0)break;c[v>>2]=s;t=u+80|0;s=c[t>>2]|0;if(!s)break;s=s+-4|0;c[t>>2]=s;qa=s;do if(!(qa>>>0>=(c[11662]|0)>>>0&qa>>>0<(c[11663]|0)>>>0)){qa=jb[c[64>>2]&255](s)|0;c[11824]=(c[11824]|0)-qa;if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{qa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-qa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else{c[11823]=(c[11823]|0)+-1;c[s>>2]=c[11665];c[11665]=s;qa=(c[11666]|0)+1|0;c[11666]=qa;c[11667]=(qa|0)<(c[11661]|0)&1}while(0);c[t>>2]=0}while(0);qa=gg(c[u>>2]|0,v,h)|0;c[g>>2]=(c[v>>2]|0)-(h&65535);if((qa|0)!=7)break;s=w+73|0;do if(!(a[s>>0]|0)){if(a[w+74>>0]|0)break;a[s>>0]=1;if((c[w+172>>2]|0)>0)c[w+256>>2]=1;qa=w+264|0;c[qa>>2]=(c[qa>>2]|0)+1}while(0);break r}while(0)}while(0);w=x+88|0;c[w>>2]=c[w>>2]|y;w=x+20|0;a[w>>0]=a[w>>0]|1;w=C+136|0;s=c[w>>2]|0;h=C+12|0;if((c[(c[h>>2]|0)+48>>2]|0)>(s|0)){c[w>>2]=s+1;t=c[C+88>>2]|0;a[t+(s*20|0)>>0]=-90;t=t+(s*20|0)+1|0;v=t+19|0;do{a[t>>0]=0;t=t+1|0}while((t|0)<(v|0))}else s=zi(C,166,0,0,0)|0;g=Z+44|0;c[g>>2]=s;s=c[w>>2]|0;if((c[(c[h>>2]|0)+48>>2]|0)>(s|0)){c[w>>2]=s+1;qa=c[C+88>>2]|0;a[qa+(s*20|0)>>0]=-121;b[qa+(s*20|0)+2>>1]=0;c[qa+(s*20|0)+4>>2]=ma;c[qa+(s*20|0)+8>>2]=A;c[qa+(s*20|0)+12>>2]=2;c[qa+(s*20|0)+16>>2]=0;a[qa+(s*20|0)+1>>0]=0}else zi(C,135,ma,A,2)|0;if(!m)t=0;else{t=c[ja>>2]|0;m=(c[f+388>>2]|0)-t+(c[f+392>>2]|0)|0;qa=m+-1|0;m=(a[t+qa>>0]|0)==59?qa:m;c[ra>>2]=(k|0)==0?47328:34861;c[ra+4>>2]=m;c[ra+8>>2]=t;t=Ff(va,34869,ra)|0}m=c[Z>>2]|0;ra=c[oa>>2]|0;c[sa>>2]=c[(c[ka>>2]|0)+(ma<<4)>>2];c[sa+4>>2]=25345;c[sa+8>>2]=m;c[sa+12>>2]=ra;c[sa+16>>2]=A;c[sa+20>>2]=t;ij(f,34889,sa);s:do if(t|0){if(c[va+464>>2]|0){Lc(va,t);break}s=t;do if(s>>>0>=(c[va+296>>2]|0)>>>0){if(s>>>0>=(c[va+300>>2]|0)>>>0)break;sa=va+292|0;c[t>>2]=c[sa>>2];c[sa>>2]=t;break s}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{sa=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-sa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}}while(0);do if(ta){wj(f,Z,A);v=c[B>>2]|0;s=(c[c[(c[(c[f>>2]|0)+16>>2]|0)+(ma<<4)+12>>2]>>2]|0)+1|0;t=v+136|0;u=c[t>>2]|0;if((c[(c[v+12>>2]|0)+48>>2]|0)>(u|0)){c[t>>2]=u+1;f=c[v+88>>2]|0;a[f+(u*20|0)>>0]=102;b[f+(u*20|0)+2>>1]=0;c[f+(u*20|0)+4>>2]=ma;c[f+(u*20|0)+8>>2]=1;c[f+(u*20|0)+12>>2]=s;c[f+(u*20|0)+16>>2]=0;a[f+(u*20|0)+1>>0]=0}else zi(v,102,ma,1,s)|0;c[ua>>2]=c[Z>>2];nj(C,ma,Ff(va,34937,ua)|0);s=c[w>>2]|0;if((c[(c[h>>2]|0)+48>>2]|0)>(s|0)){c[w>>2]=s+1;t=c[C+88>>2]|0;a[t+(s*20|0)>>0]=-105;t=t+(s*20|0)+1|0;v=t+19|0;do{a[t>>0]=0;t=t+1|0}while((t|0)<(v|0));break}else{zi(C,151,0,0,0)|0;break}}while(0);s=c[g>>2]|0;t=c[w>>2]|0;if(!(a[(c[C>>2]|0)+73>>0]|0))s=(c[C+88>>2]|0)+(((s|0)<0?t+-1|0:s)*20|0)|0;else s=46708;c[s+8>>2]=t;na=360}else{if(!(_f((c[W>>2]|0)+24|0,c[Z>>2]|0,_)|0)){ua=va+24|0;c[ua>>2]=c[ua>>2]|1;if(!ta)break;c[Z+44>>2]=c[va+152>>2];na=360;break}if(a[la>>0]|0){u=0;break k}if(a[va+74>>0]|0){u=0;break k}a[la>>0]=1;if((c[va+172>>2]|0)>0)c[va+256>>2]=1;u=va+264|0;c[u>>2]=(c[u>>2]|0)+1;u=0;break k}while(0);if((na|0)==360?!((i|0)==0|(a[D>>0]|0)!=0):0){s=0;na=366;break}t=oa+8|0;s=c[t>>2]|0;t:do if(!((k|0)!=5|(s|0)==0)){if((a[s+54>>0]|0)==5)break;do{t=s+20|0;s=c[t>>2]|0;if(!s){s=0;break t}}while((a[s+54>>0]|0)!=5)}while(0);c[Z+20>>2]=s;c[t>>2]=_;break a}else{s=n;na=366}while(0);if((na|0)==366){if(!Z){na=403;break}u=s;s=Z+36|0}s=c[s>>2]|0;if(s|0)Qf(va,s);s=c[Z+40>>2]|0;if(s|0)Rf(va,s);s=c[Z+16>>2]|0;u:do if(s|0){do if(!fa){if(c[va+464>>2]|0){Lc(va,s);break u}t=s;if(t>>>0<(c[va+296>>2]|0)>>>0)break;if(t>>>0>=(c[va+300>>2]|0)>>>0)break;k=va+292|0;c[s>>2]=c[k>>2];c[k>>2]=s;break u}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{k=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);v:do if(a[Z+55>>0]&16){s=c[Z+32>>2]|0;if(!s)break;do if(!fa){if(c[va+464>>2]|0){Lc(va,s);break v}t=s;if(t>>>0<(c[va+296>>2]|0)>>>0)break;if(t>>>0>=(c[va+300>>2]|0)>>>0)break;k=va+292|0;c[s>>2]=c[k>>2];c[k>>2]=s;break v}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{k=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);if(!_){s=u;na=403;break}do if(!fa){if(c[va+464>>2]|0){Lc(va,_);s=u;na=403;break a}s=_;if(s>>>0<(c[va+296>>2]|0)>>>0)break;if(s>>>0>=(c[va+300>>2]|0)>>>0)break;s=va+292|0;c[_>>2]=c[s>>2];c[s>>2]=_;s=u;na=403;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](_);s=u;na=403;break}else{s=jb[c[64>>2]&255](_)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](_);s=u;na=403;break}}else{s=n;r=0;na=403}while(0);if((na|0)==403)if(s)Qf(va,s);if(j|0)Rf(va,j);ag(va,i);if(!r){l=wa;return}if(va|0){if(c[va+464>>2]|0){Lc(va,r);l=wa;return}i=r;if(i>>>0>=(c[va+296>>2]|0)>>>0?i>>>0<(c[va+300>>2]|0)>>>0:0){i=va+292|0;c[r>>2]=c[i>>2];c[i>>2]=r;l=wa;return}}if(!(c[2]|0)){pb[c[56>>2]&255](r);l=wa;return}else{i=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);l=wa;return}}function Mi(b,d,f){b=b|0;d=d|0;f=f|0;var g=0,h=0;a:do if(!d){do if(c[b+264>>2]|0)if(!(a[b+73>>0]|0))h=10;else{d=0;break a}else{if((e[b+268>>1]|0)>=24){g=b+292|0;d=c[g>>2]|0;if(d|0){c[g>>2]=c[d>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;break}g=b+288|0;d=c[g>>2]|0;if(!d)d=2;else{c[g>>2]=c[d>>2];g=b+276|0;c[g>>2]=(c[g>>2]|0)+1;break}}else d=1;h=b+276+(d<<2)|0;c[h>>2]=(c[h>>2]|0)+1;h=10}while(0);if((h|0)==10)d=Ec(b,24,0)|0;if(d){c[d>>2]=0;h=15}}else{g=c[d>>2]|0;if(!(g+-1&g)){g=Mc(b,d,g*40|4,0)|0;if(g){d=g;h=15}}else h=15}while(0);if((h|0)==15){h=c[d>>2]|0;c[d>>2]=h+1;b=d+4+(h*20|0)+4|0;c[b>>2]=0;c[b+4>>2]=0;c[b+8>>2]=0;c[b+12>>2]=0;c[d+4+(h*20|0)>>2]=f;f=d;return f|0}if(f|0)Qf(b,f);if(!d){f=0;return f|0}Rf(b,d);f=0;return f|0}function Ni(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!d)return;n=(c[d>>2]|0)+-1|0;j=c[b>>2]|0;l=c[f>>2]|0;k=c[f+4>>2]|0;a:do if(l|0){h=Ft(k|0,0,1,0)|0;i=z;do if(c[j+264>>2]|0)if(!(a[j+73>>0]|0))m=11;else break a;else{if(!(0>>0|(0==(i|0)?(e[j+268>>1]|0)>>>0>>0:0))){b=j+292|0;f=c[b>>2]|0;if(f|0){c[b>>2]=c[f>>2];j=j+276|0;c[j>>2]=(c[j>>2]|0)+1;j=f;break}b=j+288|0;f=c[b>>2]|0;if(!f)b=2;else{c[b>>2]=c[f>>2];j=j+276|0;c[j>>2]=(c[j>>2]|0)+1;j=f;break}}else b=1;m=j+276+(b<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=11}while(0);if((m|0)==11)j=Ec(j,h,i)|0;if(j|0){Tt(j|0,l|0,k|0)|0;a[j+k>>0]=0;c[d+4+(n*20|0)+4>>2]=j;if(!g)return;b=a[j>>0]|0;if((a[18220+(b&255)>>0]|0)>=0)return;h=b<<24>>24==91?93:b;i=0;b=1;while(1){f=a[j+b>>0]|0;if(f<<24>>24==h<<24>>24){b=b+1|0;f=j+i|0;if((a[j+b>>0]|0)!=h<<24>>24)break;a[f>>0]=h}else a[j+i>>0]=f;i=i+1|0;b=b+1|0}a[f>>0]=0;return}}while(0);c[d+4+(n*20|0)+4>>2]=0;return}function Oi(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;J=l;l=l+32|0;G=J+16|0;n=J+8|0;m=J;I=c[f>>2]|0;H=c[f+432>>2]|0;a:do if((H|0)!=0?(a[f+400>>0]|0)==0:0){t=(g|0)==0;if(t){E=b[H+42>>1]|0;k=(E<<16>>16)+-1|0;if(E<<16>>16<1){F=86;break}if(i)if((c[i>>2]|0)==1){k=1;F=12}else{c[m>>2]=c[(c[H+4>>2]|0)+(k<<4)>>2];c[m+4>>2]=h;hg(f,34321,m);break}else{k=1;F=11}}else{k=c[g>>2]|0;if(i)if((c[i>>2]|0)==(k|0))F=12;else{hg(f,34384,n);F=85;break}else F=11}if((F|0)==11){q=h+4|0;m=(k<<3)+37+(c[q>>2]|0)|0;D=0}else if((F|0)==12){q=h+4|0;m=(k<<3)+37+(c[q>>2]|0)|0;p=c[i>>2]|0;if((p|0)>0){o=0;do{n=c[i+4+(o*20|0)+4>>2]|0;if(!n)n=0;else n=(As(n)|0)&1073741823;m=m+1+n|0;o=o+1|0}while((o|0)<(p|0));D=1}else D=1}p=((m|0)<0)<<31>>31;E=(I|0)==0;do if(E){C=Ft(m|0,p|0,-1,-1)|0;B=z;if(B>>>0>0|(B|0)==0&C>>>0>2147483390){F=84;break a}if(!(c[2]|0)){n=jb[c[52>>2]&255](m)|0;F=38;break}p=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;o=46456;n=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)>0|(o|0)==0&n>>>0>0){B=c[11822]|0;C=Gt(n|0,o|0,p|0,((p|0)<0)<<31>>31|0)|0;A=z;c[11616]=(0>(A|0)|0==(A|0)&B>>>0>=C>>>0)&1}o=jb[c[52>>2]&255](p)|0;if(!o){F=84;break a}n=jb[c[64>>2]&255](o)|0;n=(c[11822]|0)+n|0;c[11822]=n;if(n>>>0>(c[11826]|0)>>>0)c[11826]=n;n=(c[11825]|0)+1|0;c[11825]=n;if(n>>>0>(c[11831]|0)>>>0){c[11831]=n;C=o}else C=o}else{if(c[I+264>>2]|0){if(a[I+73>>0]|0){F=84;break a}}else{if(!(0

    >>0|(0==(p|0)?(e[I+268>>1]|0)>>>0>>0:0))){o=I+292|0;n=c[o>>2]|0;if(n|0){c[o>>2]=c[n>>2];F=I+276|0;c[F>>2]=(c[F>>2]|0)+1;F=38;break}o=I+288|0;n=c[o>>2]|0;if(!n)n=2;else{c[o>>2]=c[n>>2];F=I+276|0;c[F>>2]=(c[F>>2]|0)+1;F=38;break}}else n=1;F=I+276+(n<<2)|0;c[F>>2]=(c[F>>2]|0)+1}n=Ec(I,m,p)|0;F=38}while(0);if((F|0)==38)if(!n){F=84;break}else C=n;Vt(C|0,0,m|0)|0;c[C>>2]=H;B=H+16|0;c[C+4>>2]=c[B>>2];y=C+36|0;r=y+(k<<3)|0;A=C+8|0;c[A>>2]=r;Tt(r|0,c[h>>2]|0,c[q>>2]|0)|0;a[r+(c[q>>2]|0)>>0]=0;if(r|0?(s=a[r>>0]|0,(a[18220+(s&255)>>0]|0)<0):0){o=s<<24>>24==91?93:s;p=0;m=1;while(1){n=a[r+m>>0]|0;if(n<<24>>24==o<<24>>24){m=m+1|0;n=r+p|0;if((a[r+m>>0]|0)!=o<<24>>24)break;a[n>>0]=o}else a[r+p>>0]=n;p=p+1|0;m=m+1|0}a[n>>0]=0}n=r+((c[q>>2]|0)+1)|0;c[C+20>>2]=k;b:do if(!t)if((k|0)>0){u=H+4|0;x=b[H+42>>1]|0;v=x<<16>>16>0;w=x<<16>>16;x=x<<16>>16;m=0;while(1){c:do if(v){s=c[u>>2]|0;h=c[g+4+(m*20|0)+4>>2]|0;t=d[17324+(d[h>>0]|0)>>0]|0;o=0;while(1){q=c[s+(o<<4)>>2]|0;r=a[q>>0]|0;p=(d[17324+(r&255)>>0]|0)-t|0;if(!(r<<24>>24==0|(p|0)!=0)){r=h;do{q=q+1|0;r=r+1|0;K=a[q>>0]|0;p=(d[17324+(K&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(K<<24>>24==0|(p|0)!=0))}if(!p)break;o=o+1|0;if((o|0)>=(w|0))break c}c[y+(m<<3)>>2]=o}else o=0;while(0);if((o|0)>=(x|0))break;m=m+1|0;if((m|0)>=(k|0)){F=61;break b}}c[G>>2]=c[g+4+(m*20|0)+4>>2];hg(f,34478,G);if(!C){F=85;break a}if(!E)F=76}else F=65;else{c[y>>2]=(b[H+42>>1]|0)+-1;F=61}while(0);if((F|0)==61)if(D&(k|0)>0){o=0;while(1){p=c[i+4+(o*20|0)+4>>2]|0;if(!p)m=0;else m=(As(p)|0)&1073741823;c[y+(o<<3)+4>>2]=n;Tt(n|0,p|0,m|0)|0;a[n+m>>0]=0;o=o+1|0;if((o|0)==(k|0)){F=65;break}else n=n+(m+1)|0}}else F=65;if((F|0)==65){a[C+24>>0]=0;a[C+25>>0]=j;a[C+26>>0]=j>>>8;k=_f((c[H+72>>2]|0)+56|0,c[A>>2]|0,C)|0;if((k|0)!=(C|0)){if(k|0){c[C+12>>2]=k;c[k+16>>2]=C}c[B>>2]=C;F=84;break}k=I+73|0;if((a[k>>0]|0)==0?(a[I+74>>0]|0)==0:0){a[k>>0]=1;if((c[I+172>>2]|0)>0)c[I+256>>2]=1;F=I+264|0;c[F>>2]=(c[F>>2]|0)+1;F=76}else F=76}if((F|0)==76){if(c[I+464>>2]|0){Lc(I,C);F=84;break}K=C;if(K>>>0>=(c[I+296>>2]|0)>>>0?K>>>0<(c[I+300>>2]|0)>>>0:0){F=I+292|0;c[C>>2]=c[F>>2];c[F>>2]=C;F=84;break}}if(!(c[2]|0)){pb[c[56>>2]&255](C);F=84;break}else{F=jb[c[64>>2]&255](C)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](C);F=84;break}}else F=84;while(0);if((F|0)==84)if(!g)F=86;else F=85;if((F|0)==85){Rf(I,g);F=86}if((F|0)==86?(i|0)==0:0){l=J;return}Rf(I,i);l=J;return}function Pi(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!f){f=c[b+8>>2]|0;m=(f|0)==0;b=d&255;b=b+-1|0;b=f+(b*20|0)|0;b=m?0:b;return b|0}m=b+372|0;h=c[($f(m,f,0)|0)+8>>2]|0;if(!((g|0)!=0&(h|0)==0)){f=h;m=(f|0)==0;b=d&255;b=b+-1|0;b=f+(b*20|0)|0;b=m?0:b;return b|0}k=(As(f)|0)&1073741823;l=k+61|0;do if(!b){if((k+60|0)>>>0>2147483390)return 0;if(!(c[2]|0)){g=jb[c[52>>2]&255](l)|0;j=25;break}g=jb[c[68>>2]&255](l)|0;if((c[11829]|0)>>>0>>0)c[11829]=l;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){n=c[11822]|0;i=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;h=z;c[11616]=(0>(h|0)|0==(h|0)&n>>>0>=i>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g)return 0;h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h}else{if(c[b+264>>2]|0){if(a[b+73>>0]|0)return 0}else{if(!(0<0|(0==0?(e[b+268>>1]|0)>>>0>>0:0))){h=b+292|0;g=c[h>>2]|0;if(g|0){c[h>>2]=c[g>>2];j=b+276|0;c[j>>2]=(c[j>>2]|0)+1;j=25;break}h=b+288|0;g=c[h>>2]|0;if(!g)g=2;else{c[h>>2]=c[g>>2];j=b+276|0;c[j>>2]=(c[j>>2]|0)+1;j=25;break}}else g=1;n=b+276+(g<<2)|0;c[n>>2]=(c[n>>2]|0)+1}g=Ec(b,l,0)|0;j=25}while(0);if((j|0)==25)if(!g)return 0;Vt(g|0,0,l|0)|0;h=g+60|0;c[g>>2]=h;a[g+4>>0]=1;c[g+20>>2]=h;a[g+24>>0]=2;c[g+40>>2]=h;a[g+44>>0]=3;Tt(h|0,f|0,k+1|0)|0;h=_f(m,h,g)|0;if(!h){m=g;b=(m|0)==0;n=d&255;n=n+-1|0;n=m+(n*20|0)|0;n=b?0:n;return n|0}g=b+73|0;if((a[g>>0]|0)==0?(a[b+74>>0]|0)==0:0){a[g>>0]=1;if((c[b+172>>2]|0)>0)c[b+256>>2]=1;n=b+264|0;c[n>>2]=(c[n>>2]|0)+1}if(c[b+464>>2]|0){Lc(b,h);return 0}n=h;if(n>>>0>=(c[b+296>>2]|0)>>>0?n>>>0<(c[b+300>>2]|0)>>>0:0){n=b+292|0;c[h>>2]=c[n>>2];c[n>>2]=h;return 0}if(!(c[2]|0)){pb[c[56>>2]&255](h);return 0}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);return 0}return 0}function Qi(f,g,h,i){f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0;r=l;l=l+16|0;q=r;p=c[f>>2]|0;if(!h){if(!i)h=p+8|0;else h=($f(p+372|0,i,0)|0)+8|0;o=c[h>>2]|0;j=g&255;h=o+((j+-1|0)*20|0)|0;if((o|0)==0|(h|0)==0)o=j;else m=6}else m=6;do if((m|0)==6)if(!(c[h+12>>2]|0)){o=g&255;break}else{q=h;l=r;return q|0}while(0);g=p+236|0;a:do if(c[g>>2]|0)if(i){k=(As(i)|0)+1|0;do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))m=18;else{m=48;break a}else{if(!(0<0|(0==0?(e[p+268>>1]|0)>>>0>>0:0))){j=p+292|0;h=c[j>>2]|0;if(h|0){c[j>>2]=c[h>>2];n=p+276|0;c[n>>2]=(c[n>>2]|0)+1;break}j=p+288|0;h=c[j>>2]|0;if(!h)h=2;else{c[j>>2]=c[h>>2];n=p+276|0;c[n>>2]=(c[n>>2]|0)+1;break}}else h=1;m=p+276+(h<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=18}while(0);if((m|0)==18)h=Ec(p,k,0)|0;if(h){Tt(h|0,i|0,k|0)|0;sb[c[g>>2]&255](c[p+244>>2]|0,p,o,h);if(c[p+464>>2]|0){Lc(p,h);m=28;break}n=h;if(n>>>0>=(c[p+296>>2]|0)>>>0?n>>>0<(c[p+300>>2]|0)>>>0:0){m=p+292|0;c[h>>2]=c[m>>2];c[m>>2]=h;m=28;break}if(!(c[2]|0)){pb[c[56>>2]&255](h);m=28;break}else{m=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);m=28;break}}else m=48}else m=49;else m=28;while(0);if((m|0)==28){k=p+240|0;if(c[k>>2]|0){do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))m=37;else h=0;else{if((e[p+268>>1]|0)>=40){j=p+292|0;h=c[j>>2]|0;if(h|0){c[j>>2]=c[h>>2];m=p+276|0;c[m>>2]=(c[m>>2]|0)+1;m=38;break}j=p+288|0;h=c[j>>2]|0;if(!h)h=2;else{c[j>>2]=c[h>>2];m=p+276|0;c[m>>2]=(c[m>>2]|0)+1;m=38;break}}else h=1;m=p+276+(h<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=37}while(0);if((m|0)==37){h=Ec(p,40,0)|0;m=38}do if((m|0)==38)if(h){j=h;g=j+40|0;do{a[j>>0]=0;j=j+1|0}while((j|0)<(g|0));j=h+8|0;b[j>>1]=1;c[h+32>>2]=p;Ve(h,i,-1,1,0)|0;j=e[j>>1]|0;if((j&514|0)==514?(a[h+10>>0]|0)==2:0)j=c[h+16>>2]|0;else{if(j&1|0)break;j=Jc(h,2)|0}if(j)sb[c[k>>2]&255](c[p+244>>2]|0,p,d[p+70>>0]|0,j)}else h=0;while(0);Yf(h)}if(!i)m=49;else m=48}if((m|0)==48)h=($f(p+372|0,i,0)|0)+8|0;else if((m|0)==49)h=p+8|0;n=c[h>>2]|0;k=o+-1|0;m=n+(k*20|0)|0;do if(!((n|0)==0|(m|0)==0)){if(c[n+(k*20|0)+12>>2]|0){q=m;l=r;return q|0}j=c[m>>2]|0;g=p+372|0;if(!j){g=c[p+8>>2]|0;j=(g|0)==0;h=j?0:g+40|0;if(!(c[h+12>>2]|0)){h=j?0:g+20|0;if(!(c[h+12>>2]|0))if(!(c[g+12>>2]|0))break;else h=g}}else{h=c[($f(g,j,0)|0)+8>>2]|0;h=(h|0)==0?0:h+40|0;if(!(c[h+12>>2]|0)){h=c[($f(g,j,0)|0)+8>>2]|0;h=(h|0)==0?0:h+20|0;if(!(c[h+12>>2]|0)){h=c[($f(g,j,0)|0)+8>>2]|0;if(!(c[h+12>>2]|0))break}}};c[m>>2]=c[h>>2];c[m+4>>2]=c[h+4>>2];c[m+8>>2]=c[h+8>>2];c[m+12>>2]=c[h+12>>2];c[n+(k*20|0)+16>>2]=0;q=m;l=r;return q|0}while(0);c[q>>2]=i;hg(f,34290,q);q=0;l=r;return q|0}function Ri(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;W=l;l=l+240|0;J=W+192|0;M=W+184|0;I=W+168|0;H=W+160|0;G=W+144|0;Q=W+128|0;P=W+120|0;L=W+112|0;F=W+104|0;E=W+88|0;D=W+80|0;A=W+72|0;y=W+64|0;x=W+56|0;w=W+48|0;v=W+40|0;u=W+32|0;s=W+24|0;r=W+16|0;o=W+8|0;n=W;C=W+208|0;V=c[e>>2]|0;if(a[V+73>>0]|0){ag(V,f);l=W;return}if(fj(e)|0){ag(V,f);l=W;return}k=(h|0)!=0;if(k){U=V+77|0;a[U>>0]=(a[U>>0]|0)+1<<24>>24}i=c[f+8>>2]|0;if(!i)h=f+12|0;else{j=c[(c[e>>2]|0)+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0;h=j+(h<<4)|0}T=oj(e,g,c[f+16>>2]|0,c[h>>2]|0)|0;if(k){U=V+77|0;a[U>>0]=(a[U>>0]|0)+-1<<24>>24}if(!T){if(!k){ag(V,f);l=W;return}hj(e,c[f+12>>2]|0);ag(V,f);l=W;return}S=T+72|0;i=c[S>>2]|0;if(!i)U=-1e6;else{j=c[V+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0)){U=h;break}else h=h+1|0}R=T+56|0;if(c[R>>2]|0?Aj(e,T)|0:0){ag(V,f);l=W;return}K=(U|0)==1;h=K?25326:25345;p=c[(c[V+16>>2]|0)+(U<<4)>>2]|0;i=c[e>>2]|0;a:do if(((a[i+157>>0]|0)==0?(a[e+400>>0]|0)==0:0)?(m=c[i+304>>2]|0,m|0):0)switch(ob[m&255](c[i+308>>2]|0,9,h,0,p,c[e+440>>2]|0)|0){case 0:break a;case 1:{hg(e,24761,n);c[e+12>>2]=23;ag(V,f);l=W;return}case 2:{ag(V,f);l=W;return}default:{hg(e,24776,o);c[e+12>>2]=1;ag(V,f);l=W;return}}while(0);O=(g|0)==0;do if(O){if(!(c[R>>2]|0)){h=0;i=K?13:11;break}h=T+64|0;while(1){h=c[h>>2]|0;if((c[h>>2]|0)==(V|0))break;else h=h+24|0}h=c[(c[h+4>>2]|0)+4>>2]|0;i=30}else{h=0;i=K?15:17}while(0);j=c[T>>2]|0;k=c[e>>2]|0;b:do if(((a[k+157>>0]|0)==0?(t=e+400|0,(a[t>>0]|0)==0):0)?(q=c[k+304>>2]|0,(q|0)!=0):0)switch(ob[q&255](c[k+308>>2]|0,i,j,h,p,c[e+440>>2]|0)|0){case 1:{hg(e,24761,r);c[e+12>>2]=23;ag(V,f);l=W;return}case 0:{i=c[T>>2]|0;j=c[e>>2]|0;if(a[j+157>>0]|0){j=i;break b}if(a[t>>0]|0){j=i;break b}h=c[j+304>>2]|0;if(!h){j=i;break b}switch(ob[h&255](c[j+308>>2]|0,9,i,0,p,c[e+440>>2]|0)|0){case 1:{hg(e,24761,u);c[e+12>>2]=23;ag(V,f);l=W;return}case 0:{j=c[T>>2]|0;break b}case 2:{ag(V,f);l=W;return}default:{hg(e,24776,v);c[e+12>>2]=1;ag(V,f);l=W;return}}}case 2:{ag(V,f);l=W;return}default:{hg(e,24776,s);c[e+12>>2]=1;ag(V,f);l=W;return}}while(0);c:do if(j|0){g=a[j>>0]|0;m=g<<24>>24==0;d:do if(m){h=25670;N=48}else{N=g&255;h=17324+N|0;do if((N|32|0)==115){h=a[j+1>>0]|0;if(!(h<<24>>24)){h=25671;N=48;break d}N=h&255;i=17324+N|0;if((N|32|0)==113){i=a[j+2>>0]|0;if(!(i<<24>>24)){h=25672;N=48;break d}i=i&255;if((i|32|0)!=108){k=108;h=17324+i|0;break}i=a[j+3>>0]|0;if(!(i<<24>>24)){h=25673;N=48;break d}i=i&255;if((i|32|0)!=105){k=105;h=17324+i|0;break}i=a[j+4>>0]|0;if(!(i<<24>>24)){h=25674;N=48;break d}i=i&255;if((i|32|0)!=116){k=116;h=17324+i|0;break}i=a[j+5>>0]|0;if(!(i<<24>>24)){h=25675;N=48;break d}i=i&255;if((i|32|0)!=101){k=101;h=17324+i|0;break}i=a[j+6>>0]|0;if(!(i<<24>>24)){h=25676;N=48;break d}if(i<<24>>24==95){N=278;break d}else{k=95;h=17324+(i&255)|0}}else{k=113;h=i}}else k=115;while(0);i=a[h>>0]|0;h=k;N=52}while(0);if((N|0)==48){i=0;h=a[17324+(d[h>>0]|0)>>0]|0;N=52}if((N|0)==52){if(i<<24>>24!=h<<24>>24)break;if(!m){N=g&255;h=17324+N|0;if((N|32|0)==115){h=a[j+1>>0]|0;if(!(h<<24>>24)){h=34084;N=54}else N=278}else{k=115;N=57}}else{h=34083;N=54}}do if((N|0)==278){v=h&255;h=17324+v|0;if((v|32|0)==113){h=a[j+2>>0]|0;if(h<<24>>24){v=h&255;h=17324+v|0;if((v|32|0)==108){h=a[j+3>>0]|0;if(h<<24>>24){v=h&255;h=17324+v|0;if((v|32|0)==105){h=a[j+4>>0]|0;if(!(h<<24>>24)){h=34087;N=54;break}h=h&255;if((h|32|0)!=116){k=116;h=17324+h|0;N=57;break}h=a[j+5>>0]|0;if(!(h<<24>>24)){h=34088;N=54;break}h=h&255;if((h|32|0)!=101){k=101;h=17324+h|0;N=57;break}h=a[j+6>>0]|0;if(!(h<<24>>24)){h=34089;N=54;break}if(h<<24>>24!=95){k=95;h=17324+(h&255)|0;N=57;break}h=a[j+7>>0]|0;if(!(h<<24>>24)){h=34090;N=54;break}h=h&255;if((h|32|0)!=115){k=115;h=17324+h|0;N=57;break}h=a[j+8>>0]|0;if(!(h<<24>>24)){h=34091;N=54;break}h=h&255;if((h|32|0)!=116){k=116;h=17324+h|0;N=57;break}h=a[j+9>>0]|0;if(!(h<<24>>24)){h=34092;N=54;break}h=h&255;if((h|32|0)!=97){k=97;h=17324+h|0;N=57;break}h=a[j+10>>0]|0;if(!(h<<24>>24)){h=34093;N=54;break}h=h&255;if((h|32|0)==116)break c;else{k=116;h=17324+h|0;N=57}}else{k=105;N=57}}else{h=34086;N=54}}else{k=108;N=57}}else{h=34085;N=54}}else{k=113;N=57}}while(0);if((N|0)==54){i=0;h=a[17324+(d[h>>0]|0)>>0]|0}else if((N|0)==57){i=a[h>>0]|0;h=k}if(i<<24>>24!=h<<24>>24){c[w>>2]=j;hg(e,34095,w);ag(V,f);l=W;return}}while(0);o=T+12|0;h=(c[o>>2]|0)==0;if(O){if(!h){c[y>>2]=j;hg(e,34157,y);ag(V,f);l=W;return}}else if(h){c[x>>2]=j;hg(e,34123,x);ag(V,f);l=W;return}v=e+8|0;r=e+120|0;if(!(c[v>>2]|0)){if((c[r>>2]|0)==0?(b[(c[e>>2]|0)+68>>1]&8)==0:0)a[e+23>>0]=1;if(!(yi(e)|0)){ag(V,f);l=W;return}}n=c[r>>2]|0;n=(n|0)==0?e:n;h=n+92|0;i=c[h>>2]|0;s=1<>2]=i|s,K):0)?(B=c[n>>2]|0,z=B+16|0,(c[(c[z>>2]|0)+20>>2]|0)==0):0)?(a[n+399>>0]|0)==0:0){h=fg(c[B>>2]|0,0,B,C,0,542)|0;if(h|0){hg(n,21111,A);c[n+12>>2]=h;break}A=c[C>>2]|0;c[(c[z>>2]|0)+20>>2]=A;h=c[B+84>>2]|0;j=c[A+4>>2]|0;c[j+4>>2]=c[A>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;g=j+36|0;m=(c[k>>2]|0)-(c[g>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;A=h;do if(!(A>>>0>=(c[11662]|0)>>>0&A>>>0<(c[11663]|0)>>>0)){A=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-A;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{A=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;A=(c[11666]|0)+1|0;c[11666]=A;c[11667]=(A|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);A=gg(c[j>>2]|0,k,m)|0;c[g>>2]=(c[k>>2]|0)-(m&65535);if((A|0)!=7)break;h=B+73|0;do if(!(a[h>>0]|0)){if(a[B+74>>0]|0)break;a[h>>0]=1;if((c[B+172>>2]|0)>0)c[B+256>>2]=1;B=B+264|0;c[B>>2]=(c[B>>2]|0)+1}while(0);break e}while(0)}while(0);h=n+88|0;c[h>>2]=c[h>>2]|s;h=n+20|0;a[h>>0]=a[h>>0]|1;h=c[T>>2]|0;i=c[(c[(c[e>>2]|0)+16>>2]|0)+(U<<4)>>2]|0;c[D>>2]=1;wd(24,C,25408,D)|0;if(jj(c[e>>2]|0,C,i)|0){c[E>>2]=i;c[E+4>>2]=C;c[E+8>>2]=29202;c[E+12>>2]=h;ij(e,25422,E)}c[F>>2]=2;wd(24,C,25408,F)|0;if(jj(c[e>>2]|0,C,i)|0){c[G>>2]=i;c[G+4>>2]=C;c[G+8>>2]=29202;c[G+12>>2]=h;ij(e,25422,G)}c[H>>2]=3;wd(24,C,25408,H)|0;if(jj(c[e>>2]|0,C,i)|0){c[I>>2]=i;c[I+4>>2]=C;c[I+8>>2]=29202;c[I+12>>2]=h;ij(e,25422,I)}c[M>>2]=4;wd(24,C,25408,M)|0;if(jj(c[e>>2]|0,C,i)|0){c[J>>2]=i;c[J+4>>2]=C;c[J+8>>2]=29202;c[J+12>>2]=h;ij(e,25422,J)}p=c[e>>2]|0;q=p+28|0;f:do if(c[q>>2]&16384|0){if(c[R>>2]|0)break;if(c[o>>2]|0)break;h=c[v>>2]|0;if(!h){do if(!(c[r>>2]|0)){if(b[p+68>>1]&8)break;a[e+23>>0]=1}while(0);h=yi(e)|0}do if(!(c[($f((c[S>>2]|0)+56|0,c[T>>2]|0,0)|0)+8>>2]|0)){i=c[T+16>>2]|0;if(!i)break f;while(1){if(a[i+24>>0]|0)break;if(c[q>>2]&524288|0)break;i=c[i+4>>2]|0;if(!i)break f}o=h+12|0;i=c[o>>2]|0;m=i+68|0;n=c[m>>2]|0;c[m>>2]=n+1;m=i+72|0;if(!(n+-1&n)){j=c[i>>2]|0;k=c[m>>2]|0;i=Mc(j,k,n<<3|4,0)|0;g:do if(!((k|0)==0|(i|0)!=0)){do if(j|0){if(c[j+464>>2]|0){Lc(j,k);break g}g=k;if(g>>>0<(c[j+296>>2]|0)>>>0)break;if(g>>>0>=(c[j+300>>2]|0)>>>0)break;J=j+292|0;c[k>>2]=c[J>>2];c[J>>2]=k;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{J=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[m>>2]=i}else i=c[m>>2]|0;if(i|0)c[i+(n<<2)>>2]=-1;i=~n;j=h+136|0;k=c[j>>2]|0;if((c[(c[o>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;m=c[h+88>>2]|0;a[m+(k*20|0)>>0]=47;b[m+(k*20|0)+2>>1]=0;c[m+(k*20|0)+4>>2]=1;c[m+(k*20|0)+8>>2]=i;c[m+(k*20|0)+12>>2]=0;c[m+(k*20|0)+16>>2]=0;a[m+(k*20|0)+1>>0]=0;m=i;break}else{zi(h,47,1,i,0)|0;m=i;break}}else m=0;while(0);J=e+146|0;a[J>>0]=1;$i(e,wn(p,f,0)|0,0);a[J>>0]=0;do if(!(c[q>>2]&524288)){i=h+136|0;j=c[i>>2]|0;k=j+2|0;if((c[(c[h+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;J=c[h+88>>2]|0;a[J+(j*20|0)>>0]=47;b[J+(j*20|0)+2>>1]=0;c[J+(j*20|0)+4>>2]=0;c[J+(j*20|0)+8>>2]=k;c[J+(j*20|0)+12>>2]=0;c[J+(j*20|0)+16>>2]=0;a[J+(j*20|0)+1>>0]=0}else zi(h,47,0,k,0)|0;i=c[v>>2]|0;if(!i){do if(!(c[r>>2]|0)){if(b[(c[e>>2]|0)+68>>1]&8)break;a[e+23>>0]=1}while(0);i=yi(e)|0}g=c[r>>2]|0;a[((g|0)==0?e:g)+21>>0]=1;g=i+136|0;j=c[g>>2]|0;if((c[(c[i+12>>2]|0)+48>>2]|0)>(j|0)){c[g>>2]=j+1;J=c[i+88>>2]|0;a[J+(j*20|0)>>0]=66;b[J+(j*20|0)+2>>1]=0;c[J+(j*20|0)+4>>2]=787;c[J+(j*20|0)+8>>2]=2;c[J+(j*20|0)+12>>2]=0;c[J+(j*20|0)+16>>2]=0;a[J+(j*20|0)+1>>0]=0}else j=zi(i,66,787,2,0)|0;do if(!(a[(c[i>>2]|0)+73>>0]|0)){if((j|0)<0)j=(c[g>>2]|0)+-1|0;k=c[i+88>>2]|0;if(!(a[k+(j*20|0)+1>>0]|0))break;Ai(i,k+(j*20|0)|0,0,-1)}while(0);j=c[g>>2]|0;if((j|0)<=0)break;b[(c[i+88>>2]|0)+((j+-1|0)*20|0)+2>>1]=4}while(0);if(!m)break;i=c[(c[h+12>>2]|0)+72>>2]|0;if(!i)break;c[i+(~m<<2)>>2]=c[h+136>>2]}while(0);t=c[e>>2]|0;u=t+16|0;p=c[u>>2]|0;h=c[v>>2]|0;if(!h){do if(!(c[r>>2]|0)){if(b[t+68>>1]&8)break;a[e+23>>0]=1}while(0);q=yi(e)|0}else q=h;o=c[r>>2]|0;o=(o|0)==0?e:o;h=o+92|0;i=c[h>>2]|0;h:do if(!(i&s)){c[h>>2]=i|s;if(!K)break;n=c[o>>2]|0;h=n+16|0;if(c[(c[h>>2]|0)+20>>2]|0)break;if(a[o+399>>0]|0)break;i=fg(c[n>>2]|0,0,n,M,0,542)|0;if(i|0){hg(o,21111,L);c[o+12>>2]=i;break}M=c[M>>2]|0;c[(c[h>>2]|0)+20>>2]=M;h=c[n+84>>2]|0;j=c[M+4>>2]|0;c[j+4>>2]=c[M>>2];do if(!(b[j+22>>1]&2)){k=j+32|0;g=j+36|0;m=(c[k>>2]|0)-(c[g>>2]|0)|0;do if((h+-512|0)>>>0<65025){if(h+-1&h|0)break;c[k>>2]=h;i=j+80|0;h=c[i>>2]|0;if(!h)break;h=h+-4|0;c[i>>2]=h;M=h;do if(!(M>>>0>=(c[11662]|0)>>>0&M>>>0<(c[11663]|0)>>>0)){M=jb[c[64>>2]&255](h)|0;c[11824]=(c[11824]|0)-M;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{M=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else{c[11823]=(c[11823]|0)+-1;c[h>>2]=c[11665];c[11665]=h;M=(c[11666]|0)+1|0;c[11666]=M;c[11667]=(M|0)<(c[11661]|0)&1}while(0);c[i>>2]=0}while(0);M=gg(c[j>>2]|0,k,m)|0;c[g>>2]=(c[k>>2]|0)-(m&65535);if((M|0)!=7)break;h=n+73|0;do if(!(a[h>>0]|0)){if(a[n+74>>0]|0)break;a[h>>0]=1;if((c[n+172>>2]|0)>0)c[n+256>>2]=1;M=n+264|0;c[M>>2]=(c[M>>2]|0)+1}while(0);break h}while(0)}while(0);M=o+88|0;c[M>>2]=c[M>>2]|s;M=o+20|0;a[M>>0]=a[M>>0]|1;do if(c[R>>2]|0){h=q+136|0;i=c[h>>2]|0;if((c[(c[q+12>>2]|0)+48>>2]|0)>(i|0)){c[h>>2]=i+1;h=c[q+88>>2]|0;a[h+(i*20|0)>>0]=-103;h=h+(i*20|0)+1|0;i=h+19|0;do{a[h>>0]=0;h=h+1|0}while((h|0)<(i|0));break}else{zi(q,153,0,0,0)|0;break}}while(0);h=c[(c[(c[e>>2]|0)+16>>2]|0)+28>>2]|0;do if(!(a[e+146>>0]|0)){o=c[S>>2]|0;do if((o|0)!=(h|0)){h=c[h+48>>2]|0;if(!h){N=195;break}n=T+68|0;m=h;h=0;do{g=c[m+8>>2]|0;do if((c[g+24>>2]|0)==(o|0)){j=c[g+4>>2]|0;k=c[T>>2]|0;M=a[j>>0]|0;i=(d[17324+(M&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0;if(!(M<<24>>24==0|(i|0)!=0))do{j=j+1|0;k=k+1|0;M=a[j>>0]|0;i=(d[17324+(M&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(M<<24>>24==0|(i|0)!=0));if(i|0)break;if(!h)h=c[n>>2]|0;c[g+32>>2]=h;h=g}while(0);m=c[m>>2]|0}while((m|0)!=0);if(!h)N=195}else N=195;while(0);if((N|0)==195){h=c[T+68>>2]|0;if(!h)break}do{uj(e,h);h=c[h+32>>2]|0}while((h|0)!=0)}while(0);h=p+(U<<4)|0;if(c[T+36>>2]&8|0){N=c[T>>2]|0;c[P>>2]=c[h>>2];c[P+4>>2]=N;ij(e,34189,P)}P=c[T>>2]|0;c[Q>>2]=c[h>>2];c[Q+4>>2]=25345;c[Q+8>>2]=P;ij(e,34234,Q);i:do if(O){if(c[R>>2]|0){N=213;break}g=c[T+28>>2]|0;m=T+8|0;k=0;while(1){j=(k|0)==0;h=j|(g|0)<(k|0)?g:0;i=c[m>>2]|0;if(i)if(j){do{Q=c[i+44>>2]|0;h=(Q|0)>(h|0)?Q:h;i=c[i+20>>2]|0}while((i|0)!=0);k=h}else{do{Q=c[i+44>>2]|0;h=(Q|0)>(h|0)&(Q|0)<(k|0)?Q:h;i=c[i+20>>2]|0}while((i|0)!=0);k=h}else k=h;if(!k){N=211;break i}i=c[S>>2]|0;if(!i)h=-1e6;else{j=c[(c[e>>2]|0)+16>>2]|0;h=0;while(1)if((c[j+(h<<4)+12>>2]|0)==(i|0))break;else h=h+1|0}kj(e,k,h)}}else N=211;while(0);do if((N|0)==211){if(c[R>>2]|0){N=213;break}k=q+136|0;i=q+12|0}while(0);do if((N|0)==213){j=c[T>>2]|0;k=q+136|0;h=c[k>>2]|0;i=q+12|0;if((c[(c[i>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;S=c[q+88>>2]|0;a[S+(h*20|0)>>0]=-101;b[S+(h*20|0)+2>>1]=0;c[S+(h*20|0)+4>>2]=U;c[S+(h*20|0)+8>>2]=0;c[S+(h*20|0)+12>>2]=0;c[S+(h*20|0)+16>>2]=0;a[S+(h*20|0)+1>>0]=0}else h=zi(q,155,U,0,0)|0;if(a[(c[q>>2]|0)+73>>0]|0)break;if((h|0)<0)h=(c[k>>2]|0)+-1|0;Ai(q,(c[q+88>>2]|0)+(h*20|0)|0,j,0)}while(0);j=c[T>>2]|0;h=c[k>>2]|0;if((c[(c[i>>2]|0)+48>>2]|0)>(h|0)){c[k>>2]=h+1;T=c[q+88>>2]|0;a[T+(h*20|0)>>0]=-117;b[T+(h*20|0)+2>>1]=0;c[T+(h*20|0)+4>>2]=U;c[T+(h*20|0)+8>>2]=0;c[T+(h*20|0)+12>>2]=0;c[T+(h*20|0)+16>>2]=0;a[T+(h*20|0)+1>>0]=0}else h=zi(q,139,U,0,0)|0;if(!(a[(c[q>>2]|0)+73>>0]|0)){if((h|0)<0)h=(c[k>>2]|0)+-1|0;Ai(q,(c[q+88>>2]|0)+(h*20|0)|0,j,0)}k=c[v>>2]|0;h=(c[c[(c[(c[e>>2]|0)+16>>2]|0)+(U<<4)+12>>2]>>2]|0)+1|0;i=k+136|0;j=c[i>>2]|0;if((c[(c[k+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;e=c[k+88>>2]|0;a[e+(j*20|0)>>0]=102;b[e+(j*20|0)+2>>1]=0;c[e+(j*20|0)+4>>2]=U;c[e+(j*20|0)+8>>2]=1;c[e+(j*20|0)+12>>2]=h;c[e+(j*20|0)+16>>2]=0;a[e+(j*20|0)+1>>0]=0}else zi(k,102,U,1,h)|0;i=c[(c[u>>2]|0)+(U<<4)+12>>2]|0;h=b[i+78>>1]|0;if(!(h&2)){ag(V,f);l=W;return}j=c[i+16>>2]|0;if(j){o=t+464|0;p=t+296|0;q=t+300|0;r=t+292|0;do{h=c[j+8>>2]|0;if(c[h+12>>2]|0){n=h+4|0;i=c[n>>2]|0;m=h+42|0;j:do if(i|0){if((b[m>>1]|0)>0){g=0;while(1){h=c[i>>2]|0;k:do if(h|0){if(c[o>>2]|0){Lc(t,h);break}k=h;do if(k>>>0>=(c[p>>2]|0)>>>0){if(k>>>0>=(c[q>>2]|0)>>>0)break;c[h>>2]=c[r>>2];c[r>>2]=h;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{e=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);h=c[i+4>>2]|0;if(h|0)Qf(t,h);h=c[i+8>>2]|0;l:do if(h|0){if(c[o>>2]|0){Lc(t,h);break}k=h;do if(k>>>0>=(c[p>>2]|0)>>>0){if(k>>>0>=(c[q>>2]|0)>>>0)break;c[h>>2]=c[r>>2];c[r>>2]=h;break l}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{e=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);g=g+1|0;if((g|0)>=(b[m>>1]|0))break;else i=i+16|0}h=c[n>>2]|0}else h=i;if(!h)break;if(c[o>>2]|0){Lc(t,h);break}i=h;do if(i>>>0>=(c[p>>2]|0)>>>0){if(i>>>0>=(c[q>>2]|0)>>>0)break;c[h>>2]=c[r>>2];c[r>>2]=h;break j}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{e=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[n>>2]=0;b[m>>1]=0}j=c[j>>2]|0}while((j|0)!=0);h=c[(c[u>>2]|0)+(U<<4)+12>>2]|0;i=h;h=b[h+78>>1]|0}b[i+78>>1]=h&-3;ag(V,f);l=W;return}function Si(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(!b){a=0;return a|0}a:while(1){f=c[b>>2]|0;if(f|0?(c[f>>2]|0)>0:0){d=f+4|0;e=0;while(1){if(mj(a,c[d>>2]|0)|0){b=1;d=22;break a}e=e+1|0;if((e|0)>=(c[f>>2]|0))break;else d=d+20|0}}if(qj(a,c[b+28>>2]|0)|0){b=1;d=22;break}if(mj(a,c[b+32>>2]|0)|0){b=1;d=22;break}f=c[b+36>>2]|0;if(f|0?(c[f>>2]|0)>0:0){d=f+4|0;e=0;while(1){if(mj(a,c[d>>2]|0)|0){b=1;d=22;break a}e=e+1|0;if((e|0)>=(c[f>>2]|0))break;else d=d+20|0}}if(mj(a,c[b+40>>2]|0)|0){b=1;d=22;break}f=c[b+44>>2]|0;if(f|0?(c[f>>2]|0)>0:0){d=f+4|0;e=0;while(1){if(mj(a,c[d>>2]|0)|0){b=1;d=22;break a}e=e+1|0;if((e|0)>=(c[f>>2]|0))break;else d=d+20|0}}if(mj(a,c[b+56>>2]|0)|0){b=1;d=22;break}b=c[b+48>>2]|0;if(!b){b=0;d=22;break}}if((d|0)==22)return b|0;return 0}function Ti(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0;A=l;l=l+16|0;t=A;c[t>>2]=0;u=d+73|0;if(!f){y=0;l=A;return y|0}v=d+264|0;w=d+268|0;x=d+292|0;y=d+288|0;r=d+276|0;s=(d|0)==0;j=0;q=t;a:while(1){do if(c[v>>2]|0)if(!(a[u>>0]|0))p=11;else break a;else{if((e[w>>1]|0)>=64){h=c[x>>2]|0;if(h|0){c[x>>2]=c[h>>2];c[r>>2]=(c[r>>2]|0)+1;break}h=c[y>>2]|0;if(!h)h=2;else{c[y>>2]=c[h>>2];c[r>>2]=(c[r>>2]|0)+1;break}}else h=1;p=d+276+(h<<2)|0;c[p>>2]=(c[p>>2]|0)+1;p=11}while(0);if((p|0)==11){p=0;h=Ec(d,64,0)|0}if(!h)break;c[h>>2]=Ui(d,c[f>>2]|0,g)|0;c[h+28>>2]=wn(d,c[f+28>>2]|0,g)|0;i=c[f+32>>2]|0;if(!i)i=0;else i=sj(d,i,g,0)|0;c[h+32>>2]=i;c[h+36>>2]=Ui(d,c[f+36>>2]|0,g)|0;i=c[f+40>>2]|0;if(!i)i=0;else i=sj(d,i,g,0)|0;c[h+40>>2]=i;c[h+44>>2]=Ui(d,c[f+44>>2]|0,g)|0;a[h+4>>0]=a[f+4>>0]|0;c[h+52>>2]=j;o=q;q=h+48|0;c[q>>2]=0;i=c[f+56>>2]|0;if(!i)i=0;else i=sj(d,i,g,0)|0;c[h+56>>2]=i;c[h+12>>2]=0;c[h+16>>2]=0;c[h+8>>2]=c[f+8>>2]&-33;c[h+20>>2]=-1;c[h+24>>2]=-1;b[h+6>>1]=b[f+6>>1]|0;n=c[f+60>>2]|0;b:do if(n){m=c[n>>2]<<4|8;j=((m|0)<0)<<31>>31;do if(s){k=Ft(m|0,j|0,-1,-1)|0;j=z;if(j>>>0>0|(j|0)==0&k>>>0>2147483390){i=0;break b}if(!(c[2]|0)){i=jb[c[52>>2]&255](m)|0;p=42;break}i=jb[c[68>>2]&255](m)|0;if((c[11829]|0)>>>0>>0)c[11829]=m;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){B=c[11822]|0;k=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;j=z;c[11616]=(0>(j|0)|0==(j|0)&B>>>0>=k>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){i=0;break b}j=jb[c[64>>2]&255](i)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0)c[11831]=j}else{if(c[v>>2]|0){if(a[u>>0]|0){i=0;break b}}else{if(!(0>>0|(0==(j|0)?(e[w>>1]|0)>>>0>>0:0))){i=c[x>>2]|0;if(i|0){c[x>>2]=c[i>>2];c[r>>2]=(c[r>>2]|0)+1;p=42;break}i=c[y>>2]|0;if(!i)i=2;else{c[y>>2]=c[i>>2];c[r>>2]=(c[r>>2]|0)+1;p=42;break}}else i=1;B=d+276+(i<<2)|0;c[B>>2]=(c[B>>2]|0)+1}i=Ec(d,m,j)|0;p=42}while(0);if((p|0)==42){p=0;if(!i){i=0;break}}Vt(i|0,0,m|0)|0;c[i>>2]=c[n>>2];if((c[n>>2]|0)>0){k=i+8|0;j=0;do{c[k+(j<<4)+8>>2]=Ti(d,c[n+8+(j<<4)+8>>2]|0,0)|0;c[k+(j<<4)+4>>2]=Ui(d,c[n+8+(j<<4)+4>>2]|0,0)|0;c[k+(j<<4)>>2]=kg(d,c[n+8+(j<<4)>>2]|0)|0;j=j+1|0}while((j|0)<(c[n>>2]|0))}}else i=0;while(0);c[h+60>>2]=i;c[o>>2]=h;f=c[f+48>>2]|0;if(!f)break;else j=h}B=c[t>>2]|0;l=A;return B|0}function Ui(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0;if(!f){g=0;return g|0}if(((d|0)!=0?(h=f,h>>>0>=(c[d+296>>2]|0)>>>0):0)?h>>>0<(c[d+300>>2]|0)>>>0:0)j=e[d+268>>1]|0;else j=jb[c[64>>2]&255](f)|0;k=((j|0)<0)<<31>>31;do if(c[d+264>>2]|0)if(!(a[d+73>>0]|0))l=15;else{g=0;return g|0}else{if(!(0>>0|(0==(k|0)?(e[d+268>>1]|0)>>>0>>0:0))){i=d+292|0;h=c[i>>2]|0;if(h|0){c[i>>2]=c[h>>2];n=d+276|0;c[n>>2]=(c[n>>2]|0)+1;break}i=d+288|0;h=c[i>>2]|0;if(!h)h=2;else{c[i>>2]=c[h>>2];n=d+276|0;c[n>>2]=(c[n>>2]|0)+1;break}}else h=1;l=d+276+(h<<2)|0;c[l>>2]=(c[l>>2]|0)+1;l=15}while(0);if((l|0)==15)h=Ec(d,j,k)|0;if(!h){g=0;return g|0}c[h>>2]=c[f>>2];if((c[f>>2]|0)<=0){g=h;return g|0}l=h+4|0;i=0;m=0;n=f+4|0;while(1){j=c[n>>2]|0;do if(j){k=sj(d,j,g,0)|0;c[l>>2]=k;if(!((k|0)==0|(a[j>>0]|0)!=-104))if(!(b[k+32>>1]|0)){i=c[k+16>>2]|0;c[k+12>>2]=i;break}else{c[k+12>>2]=i;break}}else c[l>>2]=0;while(0);c[l+4>>2]=kg(d,c[n+4>>2]|0)|0;c[l+8>>2]=kg(d,c[n+8>>2]|0)|0;a[l+12>>0]=a[n+12>>0]|0;k=l+13|0;j=a[k>>0]|0;a[k>>0]=j&-2;a[k>>0]=a[n+13>>0]&2|j&-4;c[l+16>>2]=c[n+16>>2];m=m+1|0;if((m|0)>=(c[f>>2]|0))break;else{l=l+20|0;n=n+20|0}}return h|0}function Vi(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0;Ga=l;l=l+320|0;ta=Ga+112|0;ra=Ga+104|0;ha=Ga+96|0;ga=Ga+88|0;la=Ga+72|0;X=Ga+64|0;V=Ga+56|0;U=Ga+48|0;W=Ga+32|0;u=Ga+24|0;t=Ga+16|0;k=Ga+8|0;j=Ga;va=Ga+280|0;sa=Ga+252|0;ua=Ga+240|0;za=Ga+208|0;Ba=Ga+160|0;pa=Ga+128|0;Fa=f+412|0;Ea=c[Fa>>2]|0;ia=f+416|0;Ca=c[ia>>2]|0;c[ia>>2]=Ca+1;c[Fa>>2]=Ca;Ca=c[f>>2]|0;if(!g){Fa=1;l=Ga;return Fa|0}qa=Ca+73|0;if(a[qa>>0]|0){Fa=1;l=Ga;return Fa|0}Aa=f+36|0;if(c[Aa>>2]|0){Fa=1;l=Ga;return Fa|0}a:do if(((a[Ca+157>>0]|0)==0?(a[f+400>>0]|0)==0:0)?(i=c[Ca+304>>2]|0,i|0):0)switch(ob[i&255](c[Ca+308>>2]|0,21,0,0,0,c[f+440>>2]|0)|0){case 0:break a;case 1:{hg(f,24761,j);c[f+12>>2]=23;Fa=1;l=Ga;return Fa|0}case 2:{Fa=1;l=Ga;return Fa|0}default:{hg(f,24776,k);c[f+12>>2]=1;Fa=1;l=Ga;return Fa|0}}while(0);q=Ba;T=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(T|0));Y=g+44|0;if((d[h>>0]|0)<9){i=c[Y>>2]|0;if(i|0)Rf(Ca,i);c[Y>>2]=0;Da=g+8|0;c[Da>>2]=c[Da>>2]&-2}Rj(f,g,0);oa=za+4|0;c[oa>>2]=0;c[oa+4>>2]=0;c[oa+8>>2]=0;c[oa+12>>2]=0;c[oa+16>>2]=0;c[oa+20>>2]=0;c[oa+24>>2]=0;c[za>>2]=c[Y>>2];oa=g+28|0;v=c[oa>>2]|0;b:do if((c[Aa>>2]|0)==0?(a[qa>>0]|0)==0:0){wa=g+8|0;ja=(c[wa>>2]|0)>>>3&1;Da=f+8|0;i=c[Da>>2]|0;if(!i){if((c[f+120>>2]|0)==0?(b[(c[f>>2]|0)+68>>1]&8)==0:0)a[f+23>>0]=1;i=yi(f)|0;if(!i){xa=1373;break}else ya=i}else ya=i;if((((a[h>>0]|0)==9?(r=c[Da>>2]|0,s=c[f>>2]|0,(a[f+399>>0]|0)==0):0)?(m=f+16|0,(a[m>>0]|0)==0):0)?(a[s+73>>0]|0)==0:0){j=g;while(1){i=c[j+48>>2]|0;if(!i)break;else j=i}p=c[j+28>>2]|0;q=c[j>>2]|0;a[m>>0]=1;o=c[s+28>>2]|0;n=(o&4|0)==0;o=(o&68|0)==0;vi(r,c[q>>2]|0);i=c[q>>2]|0;if((i|0)>0){m=r+100|0;k=0;do{j=c[q+4+(k*20|0)>>2]|0;i=c[q+4+(k*20|0)+4>>2]|0;c:do if(i){if(!(a[(c[r>>2]|0)+73>>0]|0))Ve((c[m>>2]|0)+(k*40|0)|0,i,-1,1,-1)|0}else{do if(!o){if((a[j>>0]|0)!=-111)break;i=b[j+32>>1]|0;j=c[j+44>>2]|0;if(i<<16>>16<0)i=b[j+40>>1]|0;else i=i<<16>>16;if((i|0)<0)i=24823;else i=c[(c[j+4>>2]|0)+(i<<4)>>2]|0;if(n){if(a[(c[r>>2]|0)+73>>0]|0)break c;Ve((c[m>>2]|0)+(k*40|0)|0,i,-1,1,-1)|0;break c}else{c[t>>2]=c[j>>2];c[t+4>>2]=i;i=Ff(s,28518,t)|0;if(a[(c[r>>2]|0)+73>>0]|0)break c;Ve((c[m>>2]|0)+(k*40|0)|0,i,-1,1,172)|0;break c}}while(0);i=c[q+4+(k*20|0)+8>>2]|0;if(!i){c[u>>2]=k+1;i=Ff(s,27540,u)|0}else i=kg(s,i)|0;if(a[(c[r>>2]|0)+73>>0]|0)break;Ve((c[m>>2]|0)+(k*40|0)|0,i,-1,1,172)|0}while(0);k=k+1|0;i=c[q>>2]|0}while((k|0)<(i|0))}n=c[Da>>2]|0;c[va+4>>2]=p;c[va>>2]=f;c[va+16>>2]=0;if((i|0)>0){k=n+100|0;m=n+140|0;j=0;do{if(!(a[(c[n>>2]|0)+73>>0]|0)){i=Oj(va,c[q+4+(j*20|0)>>2]|0)|0;Ve((c[k>>2]|0)+(((e[m>>1]|0)+j|0)*40|0)|0,i,-1,1,-1)|0;i=c[q>>2]|0}j=j+1|0}while((j|0)<(i|0))}}Z=g+48|0;i=c[Z>>2]|0;d:do if(!i){_=f+440|0;M=(ja|0)!=0;$=f+400|0;aa=f+12|0;N=va+4|0;O=va+8|0;P=va+12|0;Q=va+16|0;na=f+120|0;R=g+56|0;S=g+4|0;ma=g+32|0;j=0;ka=v;e:while(1){i=c[ka>>2]|0;if((j|0)>=(i|0))break;k=c[ka+8+(j*72|0)+20>>2]|0;m=c[ka+8+(j*72|0)+16>>2]|0;f:do if(k){n=b[m+42>>1]|0;o=c[c[k>>2]>>2]|0;if((n|0)!=(o|0)){xa=61;break e}if(!(c[k+8>>2]&8)){do if((j|0)==0&(c[k+44>>2]|0)!=0){if(!(c[wa>>2]&262144))break;if((i|0)==1){i=ka;j=0;break f}if(a[ka+116>>0]&10){i=ka;j=0;break f}}while(0);s=c[_>>2]|0;K=c[f>>2]|0;g:do if(!(b[K+68>>1]&1)){t=c[oa>>2]|0;L=c[t+8+(j*72|0)+44>>2]|0;u=t+8+(j*72|0)+20|0;p=c[u>>2]|0;o=c[p+28>>2]|0;i=c[p+56>>2]|0;n=(i|0)==0;if(!n){if(c[R>>2]|0)break;if(c[i+16>>2]|0)break;i=c[wa>>2]|0;if(i&256)break}else i=c[wa>>2]|0;m=c[o>>2]|0;if(!m)break;k=c[p+8>>2]|0;if(k&1|0)break;if(!n?M|(c[t>>2]|0)>1:0)break;r=c[Y>>2]|0;q=(r|0)==0;if(!q?c[p+44>>2]|0:0)break;if(M?c[p+44>>2]|0:0)break;if(n){if(k&8192|0)break}else if(!((k&8192|i&1|0)==0&(c[ma>>2]|0)==0))break;J=t+8+(j*72|0)+36|0;if(a[J>>0]&32){if(M|(m|0)>1)break;if(!(c[(c[o+24>>2]|0)+56>>2]|0))I=1;else break}else I=0;m=p+48|0;do if(c[m>>2]|0){if(!((i&1|0)==0&((M|(c[p+44>>2]|0)!=0)^1)))break g;if((c[t>>2]|0)==1)i=p;else break g;while(1){if(!i)break;if(c[i+8>>2]&9|0)break g;k=i;i=c[i+48>>2]|0;if(i|0?(a[k+4>>0]|0)!=116:0)break g;if((c[c[k+28>>2]>>2]|0)<1)break g}if(q)break;k=c[r>>2]|0;if((k|0)>0)i=0;else break;do{if(!(b[r+4+(i*20|0)+16>>1]|0))break g;i=i+1|0}while((i|0)<(k|0))}while(0);q=t+8+(j*72|0)+8|0;i=c[q>>2]|0;c[_>>2]=i;h:do if(!(a[K+157>>0]|0)){if(a[$>>0]|0)break;k=c[K+304>>2]|0;if(!k)break;switch(ob[k&255](c[K+308>>2]|0,21,0,0,0,i)|0){case 0:case 2:break h;case 1:{hg(f,24761,U);c[aa>>2]=23;break h}default:{hg(f,24776,V);c[aa>>2]=1;break h}}}while(0);c[_>>2]=s;i=c[m>>2]|0;if(i|0){p=K+73|0;n=c[Y>>2]|0;o=c[R>>2]|0;m=c[Z>>2]|0;while(1){c[Y>>2]=0;c[oa>>2]=0;c[Z>>2]=0;c[R>>2]=0;k=Ti(K,g,0)|0;c[R>>2]=o;c[Y>>2]=n;c[oa>>2]=t;a[S>>0]=116;if(!k)k=m;else{c[k+48>>2]=m;if(m|0)c[m+52>>2]=k;c[k+52>>2]=g}c[Z>>2]=k;if(a[p>>0]|0){j=-1;break g}i=c[i+48>>2]|0;if(!i)break;else m=k}}H=c[u>>2]|0;n=t+8+(j*72|0)+4|0;i=c[n>>2]|0;i:do if(i|0){if(c[K+464>>2]|0){Lc(K,i);break}k=i;do if(k>>>0>=(c[K+296>>2]|0)>>>0){if(k>>>0>=(c[K+300>>2]|0)>>>0)break;ka=K+292|0;c[i>>2]=c[ka>>2];c[ka>>2]=i;break i}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{ka=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-ka;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);i=c[q>>2]|0;j:do if(i|0){if(c[K+464>>2]|0){Lc(K,i);break}k=i;do if(k>>>0>=(c[K+296>>2]|0)>>>0){if(k>>>0>=(c[K+300>>2]|0)>>>0)break;ka=K+292|0;c[i>>2]=c[ka>>2];c[ka>>2]=i;break j}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{ka=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-ka;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);i=t+8+(j*72|0)+12|0;k=c[i>>2]|0;k:do if(k|0){if(c[K+464>>2]|0){Lc(K,k);break}m=k;do if(m>>>0>=(c[K+296>>2]|0)>>>0){if(m>>>0>=(c[K+300>>2]|0)>>>0)break;ka=K+292|0;c[k>>2]=c[ka>>2];c[ka>>2]=k;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ka=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ka;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[n>>2]=0;c[q>>2]=0;c[i>>2]=0;c[u>>2]=0;i=t+8+(j*72|0)+16|0;k=c[i>>2]|0;if(k|0){m=k+32|0;n=c[m>>2]|0;if((n|0)==1){ka=c[na>>2]|0;ka=((ka|0)==0?f:ka)+456|0;c[k+76>>2]=c[ka>>2];c[ka>>2]=k}else c[m>>2]=n+-1;c[i>>2]=0}x=j+1|0;y=(K|0)==0;A=K+296|0;B=K+300|0;C=K+268|0;D=K+73|0;E=(I|0)==0;F=K+464|0;G=K+292|0;v=g;n=-1;w=H;while(1){s=c[w+28>>2]|0;t=c[s>>2]|0;p=v+28|0;i=c[p>>2]|0;if(!i){i=Wi(K,0,0,0)|0;c[p>>2]=i;if(!i)break;else u=0}else u=a[J>>0]|0;if((t|0)>1){m=t+-1|0;k=c[i>>2]|0;do if((k+m|0)>>>0>(c[i+4>>2]|0)>>>0){k=Mc(K,i,(((k<<1)+m|0)*72|0)+8|0,0)|0;if(!k)break;do if(y)xa=155;else{i=k;if(i>>>0<(c[A>>2]|0)>>>0){xa=155;break}if(i>>>0>=(c[B>>2]|0)>>>0){xa=155;break}i=e[C>>1]|0}while(0);if((xa|0)==155)i=jb[c[64>>2]&255](k)|0;c[k+4>>2]=(((i+-80|0)>>>0)/72|0)+1;i=k;k=c[k>>2]|0;xa=158}else xa=158;while(0);if((xa|0)==158){xa=0;if((k|0)>(x|0)){do{k=k+-1|0;q=i+8+((k+m|0)*72|0)|0;o=i+8+(k*72|0)|0;T=q+72|0;do{c[q>>2]=c[o>>2];q=q+4|0;o=o+4|0}while((q|0)<(T|0))}while((k|0)>(x|0));k=c[i>>2]|0}c[i>>2]=k+m;Vt(i+8+(x*72|0)|0,0,m*72|0)|0;m=t+j|0;k=x;do{c[i+8+(k*72|0)+44>>2]=-1;k=k+1|0}while((k|0)<(m|0))}c[p>>2]=i;if(a[D>>0]|0)break}if((t|0)>0){r=0;while(1){k=r+j|0;q=i+8+(k*72|0)|0;k=c[i+8+(k*72|0)+52>>2]|0;l:do if(k|0){p=k+4|0;m=c[k>>2]|0;m:do if((c[p>>2]|0)>0){if(y){n=0;while(1){m=c[m+(n<<3)>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{xa=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);n=n+1|0;m=c[k>>2]|0;if((n|0)>=(c[p>>2]|0))break m}}else o=0;do{m=c[m+(o<<3)>>2]|0;n:do if(m|0){if(c[F>>2]|0){Lc(K,m);break}n=m;do if(n>>>0>=(c[A>>2]|0)>>>0){if(n>>>0>=(c[B>>2]|0)>>>0)break;c[m>>2]=c[G>>2];c[G>>2]=m;break n}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{xa=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);o=o+1|0;m=c[k>>2]|0}while((o|0)<(c[p>>2]|0))}while(0);o:do if(m){do if(!y){if(!(c[F>>2]|0)){n=m;if(n>>>0<(c[A>>2]|0)>>>0)break;if(n>>>0>=(c[B>>2]|0)>>>0)break;c[m>>2]=c[G>>2];c[G>>2]=m}else Lc(K,m);xa=195;break o}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);xa=194;break}else{xa=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);xa=194;break}}else xa=194;while(0);if((xa|0)==194){xa=0;if(!y)xa=195}do if((xa|0)==195){xa=0;if(c[F>>2]|0){Lc(K,k);break l}m=k;if(m>>>0<(c[A>>2]|0)>>>0)break;if(m>>>0>=(c[B>>2]|0)>>>0)break;c[k>>2]=c[G>>2];c[G>>2]=k;break l}while(0);if(!k)break;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{ka=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-ka;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);m=s+8+(r*72|0)|0;o=m;T=q+72|0;do{c[q>>2]=c[o>>2];q=q+4|0;o=o+4|0}while((q|0)<(T|0));k=c[s+8+(r*72|0)+44>>2]|0;q=m;T=q+72|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(T|0));r=r+1|0;if((r|0)==(t|0)){n=k;break}}}a[i+8+(j*72|0)+36>>0]=u;k=w+44|0;m=c[k>>2]|0;if(m|0){if((c[m>>2]|0)>0){i=0;do{b[m+4+(i*20|0)+16>>1]=0;i=i+1|0}while((i|0)<(c[m>>2]|0))}c[v+44>>2]=m;c[k>>2]=0}i=c[w+32>>2]|0;if(!i)i=0;else i=sj(K,i,0,0)|0;if(!E)nk(i,n);ka=v+32|0;c[ka>>2]=mk(K,i,c[ka>>2]|0)|0;if(!(a[D>>0]|0)){c[va>>2]=f;c[N>>2]=L;c[O>>2]=n;c[P>>2]=I;c[Q>>2]=c[w>>2];an(va,v,0)}i=v+8|0;c[i>>2]=c[i>>2]|c[w+8>>2]&1;i=w+56|0;k=c[i>>2]|0;if(k|0){c[v+56>>2]=k;c[i>>2]=0}v=c[v+48>>2]|0;if(!v)break;else w=c[w+48>>2]|0}if(!H){j=-1;break}Sf(K,H,1);j=-1}while(0);i=c[oa>>2]|0;if(a[qa>>0]|0){xa=1373;break b}if((d[h>>0]|0)<9)break;c[za>>2]=c[Y>>2]}else i=ka}else i=ka;while(0);k=c[Z>>2]|0;if(!k){j=j+1|0;ka=i}else{E=k;break d}}if((xa|0)==61){h=c[m>>2]|0;c[W>>2]=n;c[W+4>>2]=h;c[W+8>>2]=o;hg(f,33732,W);xa=1373;break b}p:do if((i|0)>0){C=f+408|0;B=ya+136|0;D=f+44|0;E=ya+12|0;F=ya+88|0;G=sa+4|0;H=sa+16|0;I=sa+8|0;J=sa+12|0;K=ka+116|0;L=f+19|0;M=f+28|0;N=ka+8|0;O=ka+36|0;P=ka+48|0;Q=ka+24|0;R=ka+45|0;S=ka+40|0;A=0;q:while(1){u=ka+8+(A*72|0)|0;la=ka+8+(A*72|0)+56|0;r:do if((((c[la>>2]|0)==0&(c[la+4>>2]|0)==0?(ca=c[ka+8+(A*72|0)+8>>2]|0,da=c[ka+8+(A*72|0)+4>>2]|0,ea=c[f>>2]|0,(a[ea+157>>0]|0)==0):0)?(a[$>>0]|0)==0:0)?(fa=c[ea+304>>2]|0,fa|0):0)switch(ob[fa&255](c[ea+308>>2]|0,20,ca,47328,da,c[_>>2]|0)|0){case 0:case 2:break r;case 1:{hg(f,24761,ga);c[aa>>2]=23;break r}default:{hg(f,24776,ha);c[aa>>2]=1;break r}}while(0);v=ka+8+(A*72|0)+20|0;x=c[v>>2]|0;do if(x|0){m=ka+8+(A*72|0)+24|0;k=c[m>>2]|0;if(k|0){if(a[ka+8+(A*72|0)+37>>0]&16)break;i=c[ka+8+(A*72|0)+28>>2]|0;j=c[B>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(j|0)){c[B>>2]=j+1;la=c[F>>2]|0;a[la+(j*20|0)>>0]=14;b[la+(j*20|0)+2>>1]=0;c[la+(j*20|0)+4>>2]=i;c[la+(j*20|0)+8>>2]=k;c[la+(j*20|0)+12>>2]=0;c[la+(j*20|0)+16>>2]=0;a[la+(j*20|0)+1>>0]=0;break}else{zi(ya,14,i,k,0)|0;break}}c[va>>2]=0;gn(g,va);c[C>>2]=(c[C>>2]|0)+(c[va>>2]|0);if(!(a[ka+8+(A*72|0)+36>>0]&32))hn(f,x,c[ma>>2]|0,c[ka+8+(A*72|0)+44>>2]|0)|0;y=c[_>>2]|0;t=ka+8+(A*72|0)+8|0;c[_>>2]=c[t>>2];do if(!A){if((c[ka>>2]|0)!=1?(a[K>>0]&10)==0:0){xa=543;break}k=c[B>>2]|0;j=k+1|0;i=(c[D>>2]|0)+1|0;c[D>>2]=i;c[O>>2]=i;if((c[(c[E>>2]|0)+48>>2]|0)>(k|0)){c[B>>2]=j;la=c[F>>2]|0;a[la+(k*20|0)>>0]=15;b[la+(k*20|0)+2>>1]=0;c[la+(k*20|0)+4>>2]=i;c[la+(k*20|0)+8>>2]=0;c[la+(k*20|0)+12>>2]=j;c[la+(k*20|0)+16>>2]=0;a[la+(k*20|0)+1>>0]=0}else{zi(ya,15,i,0,j)|0;i=c[O>>2]|0}c[m>>2]=j;a[sa>>0]=13;c[G>>2]=i;c[H>>2]=0;c[I>>2]=0;c[J>>2]=0;a[P>>0]=c[ia>>2];Vi(f,x,sa)|0;b[(c[Q>>2]|0)+44>>1]=b[x+6>>1]|0;a[R>>0]=a[R>>0]|16;c[S>>2]=c[I>>2];i=c[O>>2]|0;j=c[B>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(j|0)){la=j+1|0;c[B>>2]=la;ba=c[F>>2]|0;a[ba+(j*20|0)>>0]=64;b[ba+(j*20|0)+2>>1]=0;c[ba+(j*20|0)+4>>2]=i;c[ba+(j*20|0)+8>>2]=0;c[ba+(j*20|0)+12>>2]=0;c[ba+(j*20|0)+16>>2]=0;a[ba+(j*20|0)+1>>0]=0;j=la}else{zi(ya,64,i,0,0)|0;j=c[B>>2]|0}la=c[E>>2]|0;a[la+19>>0]=0;c[la+28>>2]=0;if(!(a[(c[ya>>2]|0)+73>>0]|0))i=(c[F>>2]|0)+(((k|0)<0?j+-1|0:k)*20|0)|0;else i=46708;c[i+8>>2]=j}else xa=543;while(0);if((xa|0)==543){xa=0;j=(c[D>>2]|0)+1|0;c[D>>2]=j;w=ka+8+(A*72|0)+28|0;c[w>>2]=j;i=c[B>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(i|0)){c[B>>2]=i+1;la=c[F>>2]|0;a[la+(i*20|0)>>0]=67;b[la+(i*20|0)+2>>1]=0;c[la+(i*20|0)+4>>2]=0;c[la+(i*20|0)+8>>2]=j;c[la+(i*20|0)+12>>2]=0;c[la+(i*20|0)+16>>2]=0;a[la+(i*20|0)+1>>0]=0}else i=zi(ya,67,0,j,0)|0;c[m>>2]=i+1;do if(!(a[ka+8+(A*72|0)+37>>0]&8)){j=c[B>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(j|0)){c[B>>2]=j+1;q=c[F>>2]|0;a[q+(j*20|0)>>0]=20;q=q+(j*20|0)+1|0;T=q+19|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(T|0));s=j;break}else{s=zi(ya,20,0,0,0)|0;break}}else s=0;while(0);s:do if((A|0)>0){q=ka+8+(A*72|0)+4|0;j=N;t:while(1){r=j+20|0;p=c[r>>2]|0;u:do if(p|0){if(a[j+37>>0]&16)break;m=c[j+8>>2]|0;if(!m)break;n=c[j+4>>2]|0;o=c[q>>2]|0;do if(!n)k=((o|0)!=0)<<31>>31;else{if(!o)break u;la=a[n>>0]|0;k=(d[17324+(la&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0;if(la<<24>>24==0|(k|0)!=0)break;do{n=n+1|0;o=o+1|0;la=a[n>>0]|0;k=(d[17324+(la&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(la<<24>>24==0|(k|0)!=0))}while(0);if(k|0)break;n=c[t>>2]|0;if(!n)break;la=a[m>>0]|0;k=(d[17324+(la&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0;if(!(la<<24>>24==0|(k|0)!=0))do{m=m+1|0;n=n+1|0;la=a[m>>0]|0;k=(d[17324+(la&255)>>0]|0)-(d[17324+(d[n>>0]|0)>>0]|0)|0}while(!(la<<24>>24==0|(k|0)!=0));if(k|0)break;if(!(ck(0,c[(c[v>>2]|0)+32>>2]|0,c[p+32>>2]|0,-1)|0))break t}while(0);j=j+72|0;if(j>>>0>=u>>>0){xa=571;break s}}k=c[ka+8+(A*72|0)+44>>2]|0;m=c[j+44>>2]|0;n=c[B>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(n|0)){c[B>>2]=n+1;la=c[F>>2]|0;a[la+(n*20|0)>>0]=106;b[la+(n*20|0)+2>>1]=0;c[la+(n*20|0)+4>>2]=k;c[la+(n*20|0)+8>>2]=m;c[la+(n*20|0)+12>>2]=0;c[la+(n*20|0)+16>>2]=0;a[la+(n*20|0)+1>>0]=0}else zi(ya,106,k,m,0)|0;a[ka+8+(A*72|0)+40>>0]=a[j+40>>0]|0;j=b[(c[r>>2]|0)+6>>1]|0;b[x+6>>1]=j}else xa=571;while(0);if((xa|0)==571){xa=0;j=c[ka+8+(A*72|0)+44>>2]|0;a[sa>>0]=12;c[G>>2]=j;c[H>>2]=0;c[I>>2]=0;c[J>>2]=0;a[ka+8+(A*72|0)+40>>0]=c[ia>>2];Vi(f,x,sa)|0;j=b[x+6>>1]|0}b[(c[ka+8+(A*72|0)+16>>2]|0)+44>>1]=j;k=c[B>>2]|0;if(s|0){if(!(a[(c[ya>>2]|0)+73>>0]|0))j=(c[F>>2]|0)+(((s|0)<0?k+-1|0:s)*20|0)|0;else j=46708;c[j+8>>2]=k}j=c[w>>2]|0;if((c[(c[E>>2]|0)+48>>2]|0)>(k|0)){c[B>>2]=k+1;la=c[F>>2]|0;a[la+(k*20|0)>>0]=63;b[la+(k*20|0)+2>>1]=0;c[la+(k*20|0)+4>>2]=j;c[la+(k*20|0)+8>>2]=0;c[la+(k*20|0)+12>>2]=0;c[la+(k*20|0)+16>>2]=0;a[la+(k*20|0)+1>>0]=0;j=k}else j=zi(ya,63,j,0,0)|0;if((i|0)<0)i=(c[B>>2]|0)+-1|0;if(!(a[(c[ya>>2]|0)+73>>0]|0))i=(c[F>>2]|0)+(i*20|0)|0;else i=46708;c[i+4>>2]=j}a[L>>0]=0;c[M>>2]=0;if(a[qa>>0]|0)break q;c[va>>2]=0;gn(g,va);c[C>>2]=(c[C>>2]|0)-(c[va>>2]|0);c[_>>2]=y}while(0);A=A+1|0;if((A|0)>=(c[ka>>2]|0))break p}xa=1373;break b}while(0);Y=c[g>>2]|0;B=c[ma>>2]|0;t=g+36|0;m=c[t>>2]|0;u=g+40|0;X=c[u>>2]|0;i=c[wa>>2]|0;a[ua>>0]=i&1;v:do if((i&9|0)==1){n=c[za>>2]|0;j=(n|0)==0;k=(Y|0)==0;if(!(k&j)){if(k|j){T=m;break}j=c[n>>2]|0;if((j|0)!=(c[Y>>2]|0)){T=m;break}if((j|0)>0){i=0;do{if((a[n+4+(i*20|0)+12>>0]|0)!=(a[Y+4+(i*20|0)+12>>0]|0)){T=m;break v}if(ck(0,c[n+4+(i*20|0)>>2]|0,c[Y+4+(i*20|0)>>2]|0,-1)|0){T=m;break v}i=i+1|0}while((i|0)<(c[n>>2]|0));i=c[wa>>2]|0}}c[wa>>2]=i&-2;T=Ui(Ca,Y,0)|0;c[t>>2]=T}else T=m;while(0);i=c[za>>2]|0;w:do if(i){m=c[i>>2]|0;o=wk(c[f>>2]|0,m,(c[Y>>2]|0)+1|0)|0;if((m|0)>0&(o|0)!=0){n=o+16|0;j=i+4|0;k=0;while(1){i=Qj(f,c[j>>2]|0)|0;if(!i)i=c[(c[f>>2]|0)+8>>2]|0;c[o+20+(k<<2)>>2]=i;a[(c[n>>2]|0)+k>>0]=a[j+12>>0]|0;k=k+1|0;if((k|0)==(m|0))break;else j=j+20|0}}k=f+40|0;j=c[k>>2]|0;c[k>>2]=j+1;c[za+8>>2]=j;k=(c[c[za>>2]>>2]|0)+1+(c[Y>>2]|0)|0;m=ya+136|0;i=c[m>>2]|0;if((c[(c[ya+12>>2]|0)+48>>2]|0)>(i|0)){c[m>>2]=i+1;la=c[ya+88>>2]|0;a[la+(i*20|0)>>0]=108;b[la+(i*20|0)+2>>1]=0;c[la+(i*20|0)+4>>2]=j;c[la+(i*20|0)+8>>2]=k;c[la+(i*20|0)+12>>2]=0;c[la+(i*20|0)+16>>2]=0;a[la+(i*20|0)+1>>0]=0}else i=zi(ya,108,j,k,0)|0;j=c[ya>>2]|0;if(!(a[j+73>>0]|0)){if((i|0)<0)j=(c[m>>2]|0)+-1|0;else j=i;k=c[ya+88>>2]|0;m=k+(j*20|0)+1|0;if(a[m>>0]|0){Ai(ya,k+(j*20|0)|0,o,-9);break}if(!o)break;c[k+(j*20|0)+16>>2]=o;a[m>>0]=-9;break}if(!((o|0)==0|(c[j+464>>2]|0)!=0)){la=(c[o>>2]|0)+-1|0;c[o>>2]=la;if(la|0)break;j=c[o+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,o);break w}k=o;if(k>>>0<(c[j+296>>2]|0)>>>0)break;if(k>>>0>=(c[j+300>>2]|0)>>>0)break;la=j+292|0;c[o>>2]=c[la>>2];c[la>>2]=o;break w}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{la=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}}else i=-1;while(0);S=za+20|0;c[S>>2]=i;do if((a[h>>0]|0)==12){i=c[h+4>>2]|0;j=c[Y>>2]|0;k=ya+136|0;m=c[k>>2]|0;n=ya+12|0;if((c[(c[n>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;Z=c[ya+88>>2]|0;a[Z+(m*20|0)>>0]=108;b[Z+(m*20|0)+2>>1]=0;c[Z+(m*20|0)+4>>2]=i;c[Z+(m*20|0)+8>>2]=j;c[Z+(m*20|0)+12>>2]=0;c[Z+(m*20|0)+16>>2]=0;a[Z+(m*20|0)+1>>0]=0;Z=n;break}else{zi(ya,108,i,j,0)|0;Z=n;break}}else Z=ya+12|0;while(0);i=c[Z>>2]|0;n=i+68|0;_=c[n>>2]|0;c[n>>2]=_+1;n=i+72|0;if(!(_+-1&_)){j=c[i>>2]|0;k=c[n>>2]|0;i=Mc(j,k,_<<3|4,0)|0;x:do if(!((k|0)==0|(i|0)!=0)){do if(j|0){if(c[j+464>>2]|0){Lc(j,k);break x}m=k;if(m>>>0<(c[j+296>>2]|0)>>>0)break;if(m>>>0>=(c[j+300>>2]|0)>>>0)break;la=j+292|0;c[k>>2]=c[la>>2];c[la>>2]=k;break x}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{la=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[n>>2]=i}else i=c[n>>2]|0;if(i|0)c[i+(_<<2)>>2]=-1;if(!(c[wa>>2]&16384))b[g+6>>1]=320;dn(f,g,~_);do if(!(c[g+12>>2]|0)){i=c[S>>2]|0;if((i|0)<=-1)break;if(!(a[(c[ya>>2]|0)+73>>0]|0))i=(c[ya+88>>2]|0)+(i*20|0)|0;else i=46708;a[i>>0]=109;la=za+28|0;a[la>>0]=a[la>>0]|1}while(0);do if(!(c[wa>>2]&1))i=0;else{i=f+40|0;o=c[i>>2]|0;c[i>>2]=o+1;c[ua+4>>2]=o;i=c[g>>2]|0;m=c[i>>2]|0;p=wk(c[f>>2]|0,m,1)|0;if((m|0)>0&(p|0)!=0){n=p+16|0;j=i+4|0;k=0;while(1){i=Qj(f,c[j>>2]|0)|0;if(!i)i=c[(c[f>>2]|0)+8>>2]|0;c[p+20+(k<<2)>>2]=i;a[(c[n>>2]|0)+k>>0]=a[j+12>>0]|0;k=k+1|0;if((k|0)==(m|0))break;else j=j+20|0}}n=ya+136|0;i=c[n>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(i|0)){c[n>>2]=i+1;la=c[ya+88>>2]|0;a[la+(i*20|0)>>0]=108;b[la+(i*20|0)+2>>1]=0;c[la+(i*20|0)+4>>2]=o;c[la+(i*20|0)+8>>2]=0;c[la+(i*20|0)+12>>2]=0;c[la+(i*20|0)+16>>2]=0;a[la+(i*20|0)+1>>0]=0}else i=zi(ya,108,o,0,0)|0;j=c[ya>>2]|0;y:do if(a[j+73>>0]|0){if((p|0)==0|(c[j+464>>2]|0)!=0)break;la=(c[p>>2]|0)+-1|0;c[p>>2]=la;if(la|0)break;j=c[p+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,p);break y}k=p;if(k>>>0<(c[j+296>>2]|0)>>>0)break;if(k>>>0>=(c[j+300>>2]|0)>>>0)break;la=j+292|0;c[p>>2]=c[la>>2];c[la>>2]=p;break y}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{la=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}else{if((i|0)<0)j=(c[n>>2]|0)+-1|0;else j=i;k=c[ya+88>>2]|0;m=k+(j*20|0)+1|0;if(a[m>>0]|0){Ai(ya,k+(j*20|0)|0,p,-9);break}if(!p)break;c[k+(j*20|0)+16>>2]=p;a[m>>0]=-9}while(0);c[ua+8>>2]=i;i=c[n>>2]|0;if((i|0)<=0){i=3;break}b[(c[ya+88>>2]|0)+((i+-1|0)*20|0)+2>>1]=8;i=3}while(0);W=ua+1|0;a[W>>0]=i;k=(T|0)==0;z:do if((ja|0)==0&k){j=g+6|0;k=Tl(f,ka,B,c[za>>2]|0,c[g>>2]|0,((a[ua>>0]|0?256:0)|c[wa>>2]&16384)&65535,b[j>>1]|0)|0;if(!k){xa=1373;break b}i=b[k+72>>1]|0;if(i<<16>>16<(b[j>>1]|0))b[j>>1]=i;do if(a[ua>>0]|0){i=a[k+51>>0]|0;if(!(i<<24>>24))break;a[W>>0]=i}while(0);i=c[za>>2]|0;do if(!i)xa=691;else{wa=a[k+47>>0]|0;c[za+4>>2]=wa;a[za+29>>0]=a[k+52>>0]|0;if((wa|0)!=(c[i>>2]|0))break;c[za>>2]=0;xa=691}while(0);do if((xa|0)==691){i=c[S>>2]|0;if((i|0)<=-1)break;j=c[ya>>2]|0;if(a[j+73>>0]|0)break;xa=c[ya+88>>2]|0;va=xa+(i*20|0)+1|0;wa=xa+(i*20|0)+16|0;Wf(j,a[va>>0]|0,c[wa>>2]|0);a[va>>0]=0;c[wa>>2]=0;a[xa+(i*20|0)>>0]=-90}while(0);en(f,g,-1,za,ua,h,c[k+32>>2]|0,c[k+36>>2]|0);Ul(k);i=0;xa=1184}else{A=(T|0)!=0;do if(A){j=c[g>>2]|0;i=c[j>>2]|0;if((i|0)>0){j=j+4|0;while(1){b[j+16+2>>1]=0;if((i|0)>1){j=j+20|0;i=i+-1|0}else break}}i=c[T>>2]|0;if((i|0)>0){j=T+4|0;while(1){b[j+16+2>>1]=0;if((i|0)>1){j=j+20|0;i=i+-1|0}else break}}i=g+6|0;if((b[i>>1]|0)<=66)break;b[i>>1]=66}else b[g+6>>1]=0;while(0);j=c[za>>2]|0;i=(j|0)==0;A:do if(k&i)Q=1;else{if(k|i){Q=0;break}i=c[T>>2]|0;if((i|0)!=(c[j>>2]|0)){Q=0;break}if((i|0)>0)i=0;else{Q=1;break}while(1){if((a[T+4+(i*20|0)+12>>0]|0)!=(a[j+4+(i*20|0)+12>>0]|0)){Q=0;break A}if(ck(0,c[T+4+(i*20|0)>>2]|0,c[j+4+(i*20|0)>>2]|0,-1)|0){Q=0;break A}i=i+1|0;if((i|0)>=(c[T>>2]|0)){Q=1;break}}}while(0);i=c[Z>>2]|0;n=i+68|0;V=c[n>>2]|0;c[n>>2]=V+1;n=i+72|0;if(!(V+-1&V)){j=c[i>>2]|0;k=c[n>>2]|0;i=Mc(j,k,V<<3|4,0)|0;B:do if(!((k|0)==0|(i|0)!=0)){do if(j|0){if(c[j+464>>2]|0){Lc(j,k);break B}m=k;if(m>>>0<(c[j+296>>2]|0)>>>0)break;if(m>>>0>=(c[j+300>>2]|0)>>>0)break;la=j+292|0;c[k>>2]=c[la>>2];c[la>>2]=k;break B}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{la=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-la;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);c[n>>2]=i}else i=c[n>>2]|0;if(i|0)c[i+(V<<2)>>2]=-1;U=~V;O=pa+8|0;c[O>>2]=0;c[O+4>>2]=0;c[O+8>>2]=0;c[O+12>>2]=0;c[O+16>>2]=0;c[O+20>>2]=0;c[pa>>2]=f;c[pa+4>>2]=ka;c[pa+12>>2]=Ba;O=f+44|0;c[Ba+16>>2]=(c[O>>2]|0)+1;if(A)i=c[T>>2]|0;else i=0;y=Ba+12|0;c[y>>2]=i;c[Ba+24>>2]=T;do if(Y|0){i=c[Y>>2]|0;if((i|0)<=0)break;n=va+4|0;o=va+8|0;p=va+12|0;q=va+16|0;r=va+24|0;k=Y+4|0;m=0;while(1){j=c[k>>2]|0;c[n>>2]=188;c[o>>2]=189;c[p>>2]=132;c[q>>2]=0;c[r>>2]=pa;if(j){$j(va,j)|0;i=c[Y>>2]|0}m=m+1|0;if((m|0)>=(i|0))break;else k=k+20|0}}while(0);n=c[za>>2]|0;do if(n|0){i=c[n>>2]|0;if((i|0)<=0)break;o=va+4|0;p=va+8|0;q=va+12|0;r=va+16|0;s=va+24|0;k=n+4|0;m=0;while(1){j=c[k>>2]|0;c[o>>2]=188;c[p>>2]=189;c[q>>2]=132;c[r>>2]=0;c[s>>2]=pa;if(j){$j(va,j)|0;i=c[n>>2]|0}m=m+1|0;if((m|0)>=(i|0))break;else k=k+20|0}}while(0);if(X){if(A){c[va>>2]=ma;c[va+4>>2]=T;i=sa+8|0;c[i>>2]=0;c[i+4>>2]=0;c[i+8>>2]=0;c[i+12>>2]=0;c[sa>>2]=f;c[sa+4>>2]=190;c[sa+24>>2]=va;$j(sa,X)|0;i=c[ma>>2]|0}else i=B;c[va+4>>2]=188;c[va+8>>2]=189;c[va+12>>2]=132;c[va+16>>2]=0;c[va+24>>2]=pa;$j(va,X)|0;B=i}C=Ba+32|0;c[Ba+36>>2]=c[C>>2];do if(!(c[t>>2]|0)){if(c[u>>2]|0){x=0;i=0;break}if((c[Ba+44>>2]|0)!=1){x=0;i=0;break}i=c[c[Ba+40>>2]>>2]|0;p=c[i+20>>2]|0;do if(!p){i=0;j=0}else{if((c[p>>2]|0)!=1){i=0;j=0;break}j=c[i+8>>2]|0;o=a[j>>0]|0;i=(d[17324+(o&255)>>0]|0)+-109|0;o=o<<24>>24==0|(i|0)!=0;if(o)k=i;else{m=18571;n=j;do{n=n+1|0;m=m+1|0;sa=a[n>>0]|0;k=(d[17324+(sa&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(sa<<24>>24==0|(k|0)!=0))}if(k){if(!o){k=18575;do{j=j+1|0;k=k+1|0;sa=a[j>>0]|0;i=(d[17324+(sa&255)>>0]|0)-(d[17324+(d[k>>0]|0)>>0]|0)|0}while(!(sa<<24>>24==0|(i|0)!=0))}if(!i){k=1;j=2}else{i=0;j=0;break}}else{k=0;j=1}i=Ui(Ca,p,0)|0;if(!i){i=0;break}a[i+16>>0]=k}while(0);x=j&255}else{x=0;i=0}while(0);R=Ba+44|0;n=c[R>>2]|0;if((n|0)>0){q=pa+28|0;r=Ba+40|0;s=va+4|0;t=va+8|0;u=va+12|0;v=va+16|0;w=va+24|0;p=0;j=b[q>>1]|0;do{j=j|8;b[q>>1]=j;o=c[(c[(c[r>>2]|0)+(p<<4)>>2]|0)+20>>2]|0;do if(o){k=c[o>>2]|0;if((k|0)<=0)break;m=o+4|0;n=0;j=k;while(1){k=c[m>>2]|0;c[s>>2]=188;c[t>>2]=189;c[u>>2]=132;c[v>>2]=0;c[w>>2]=pa;if(k){$j(va,k)|0;j=c[o>>2]|0}n=n+1|0;if((n|0)>=(j|0))break;else m=m+20|0}j=b[q>>1]|0;n=c[R>>2]|0}while(0);j=j&-9;b[q>>1]=j;p=p+1|0}while((p|0)<(n|0))}c[Ba+20>>2]=c[O>>2];C:do if(!(a[qa>>0]|0)){do if(A){x=f+40|0;n=c[x>>2]|0;c[x>>2]=n+1;K=Ba+4|0;c[K>>2]=n;n=c[T>>2]|0;F=wk(c[f>>2]|0,n,(c[C>>2]|0)+1|0)|0;if((n|0)>0&(F|0)!=0){o=F+16|0;k=T+4|0;m=0;while(1){j=Qj(f,c[k>>2]|0)|0;if(!j)j=c[(c[f>>2]|0)+8>>2]|0;c[F+20+(m<<2)>>2]=j;a[(c[o>>2]|0)+m>>0]=a[k+12>>0]|0;m=m+1|0;if((m|0)==(n|0))break;else k=k+20|0}}m=c[K>>2]|0;j=c[y>>2]|0;P=ya+136|0;k=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(k|0)){c[P>>2]=k+1;va=c[ya+88>>2]|0;a[va+(k*20|0)>>0]=109;b[va+(k*20|0)+2>>1]=0;c[va+(k*20|0)+4>>2]=m;c[va+(k*20|0)+8>>2]=j;c[va+(k*20|0)+12>>2]=0;c[va+(k*20|0)+16>>2]=0;a[va+(k*20|0)+1>>0]=0}else k=zi(ya,109,m,j,0)|0;j=c[ya>>2]|0;D:do if(a[j+73>>0]|0){if((F|0)==0|(c[j+464>>2]|0)!=0)break;va=(c[F>>2]|0)+-1|0;c[F>>2]=va;if(va|0)break;j=c[F+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,F);break D}m=F;if(m>>>0<(c[j+296>>2]|0)>>>0)break;if(m>>>0>=(c[j+300>>2]|0)>>>0)break;va=j+292|0;c[F>>2]=c[va>>2];c[va>>2]=F;break D}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](F);break}else{va=jb[c[64>>2]&255](F)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](F);break}}else{if((k|0)<0)j=(c[P>>2]|0)+-1|0;else j=k;m=c[ya+88>>2]|0;n=m+(j*20|0)+1|0;if(a[n>>0]|0){Ai(ya,m+(j*20|0)|0,F,-9);break}if(!F)break;c[m+(j*20|0)+16>>2]=F;a[n>>0]=-9}while(0);N=c[O>>2]|0;J=N+1|0;H=N+2|0;N=N+3|0;c[O>>2]=N;j=c[Z>>2]|0;p=j+68|0;I=c[p>>2]|0;c[p>>2]=I+1;p=j+72|0;if(!(I+-1&I)){m=c[j>>2]|0;n=c[p>>2]|0;j=Mc(m,n,I<<3|4,0)|0;E:do if(!((n|0)==0|(j|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,n);break E}o=n;if(o>>>0<(c[m+296>>2]|0)>>>0)break;if(o>>>0>=(c[m+300>>2]|0)>>>0)break;va=m+292|0;c[n>>2]=c[va>>2];c[va>>2]=n;break E}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{va=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[p>>2]=j}else j=c[p>>2]|0;if(j|0)c[j+(I<<2)>>2]=-1;G=~I;M=(c[O>>2]|0)+1|0;c[O>>2]=M;j=c[Z>>2]|0;p=j+68|0;L=c[p>>2]|0;c[p>>2]=L+1;p=j+72|0;if(!(L+-1&L)){m=c[j>>2]|0;n=c[p>>2]|0;j=Mc(m,n,L<<3|4,0)|0;F:do if(!((n|0)==0|(j|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,n);break F}o=n;if(o>>>0<(c[m+296>>2]|0)>>>0)break;if(o>>>0>=(c[m+300>>2]|0)>>>0)break;va=m+292|0;c[n>>2]=c[va>>2];c[va>>2]=n;break F}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{va=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-va;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[p>>2]=j}else j=c[p>>2]|0;if(j|0)c[j+(L<<2)>>2]=-1;E=~L;n=c[O>>2]|0;y=n+1|0;j=c[T>>2]|0;D=j+n|0;A=D+1|0;c[O>>2]=j+D;j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){va=j+1|0;c[P>>2]=va;ta=c[ya+88>>2]|0;a[ta+(j*20|0)>>0]=67;b[ta+(j*20|0)+2>>1]=0;c[ta+(j*20|0)+4>>2]=0;c[ta+(j*20|0)+8>>2]=H;c[ta+(j*20|0)+12>>2]=0;c[ta+(j*20|0)+16>>2]=0;a[ta+(j*20|0)+1>>0]=0;j=va}else{zi(ya,67,0,H,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){m=j+1|0;c[P>>2]=m;va=c[ya+88>>2]|0;a[va+(j*20|0)>>0]=67;b[va+(j*20|0)+2>>1]=0;c[va+(j*20|0)+4>>2]=0;c[va+(j*20|0)+8>>2]=J;c[va+(j*20|0)+12>>2]=0;c[va+(j*20|0)+16>>2]=0;a[va+(j*20|0)+1>>0]=0}else{zi(ya,67,0,J,0)|0;m=c[P>>2]|0}j=(c[T>>2]|0)+n|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(m|0)){va=m+1|0;c[P>>2]=va;ta=c[ya+88>>2]|0;a[ta+(m*20|0)>>0]=70;b[ta+(m*20|0)+2>>1]=0;c[ta+(m*20|0)+4>>2]=0;c[ta+(m*20|0)+8>>2]=y;c[ta+(m*20|0)+12>>2]=j;c[ta+(m*20|0)+16>>2]=0;a[ta+(m*20|0)+1>>0]=0;j=va}else{zi(ya,70,0,y,j)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;va=c[ya+88>>2]|0;a[va+(j*20|0)>>0]=14;b[va+(j*20|0)+2>>1]=0;c[va+(j*20|0)+4>>2]=M;c[va+(j*20|0)+8>>2]=E;c[va+(j*20|0)+12>>2]=0;c[va+(j*20|0)+16>>2]=0;a[va+(j*20|0)+1>>0]=0}else zi(ya,14,M,E,0)|0;B=Tl(f,ka,B,T,0,Q?576:64,0)|0;if(!B)break C;if((a[B+47>>0]|0)==(c[T>>2]|0)){p=0;r=0;q=0}else{if(!(a[ua>>0]|0))j=33894;else j=(c[wa>>2]&1|0)==0?33885:33894;nn(f,j);r=c[T>>2]|0;o=c[C>>2]|0;if((o|0)>0){p=c[Ba+28>>2]|0;m=r;j=r;n=0;while(1){q=(c[p+(n*24|0)+12>>2]|0)>=(m|0)&1;j=q+j|0;n=n+1|0;if((n|0)>=(o|0)){v=j;break}else m=q+m|0}}else v=r;q=(v|0)==1;do if(q){j=f+19|0;m=a[j>>0]|0;if(!(m<<24>>24)){u=(c[O>>2]|0)+1|0;c[O>>2]=u;break}else{u=m+-1<<24>>24;a[j>>0]=u;u=c[f+348+((u&255)<<2)>>2]|0;break}}else{j=f+32|0;m=c[j>>2]|0;n=f+28|0;o=c[n>>2]|0;if((o|0)<(v|0)){u=c[O>>2]|0;c[O>>2]=u+v;u=u+1|0;break}else{c[j>>2]=m+v;c[n>>2]=o-v;u=m;break}}while(0);w=f+25|0;j=a[w>>0]|0;if(j<<24>>24){o=f+19|0;m=j&255;j=0;do{do if(a[f+148+(j*20|0)+6>>0]|0){n=a[o>>0]|0;if((n&255)>=8)break;xa=c[f+148+(j*20|0)+12>>2]|0;a[o>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=xa}while(0);j=j+1|0}while((j|0)!=(m|0))}a[w>>0]=0;Vk(f,T,u,0,0)|0;m=c[C>>2]|0;if((m|0)>0){p=Ba+28|0;j=r;o=0;do{n=c[p>>2]|0;if((c[n+(o*24|0)+12>>2]|0)>=(j|0)){om(f,c[n+(o*24|0)>>2]|0,c[n+(o*24|0)+8>>2]|0,c[n+(o*24|0)+4>>2]|0,j+u|0);j=j+1|0;m=c[C>>2]|0}o=o+1|0}while((o|0)<(m|0))}t=f+19|0;j=a[t>>0]|0;if(!(j<<24>>24)){p=(c[O>>2]|0)+1|0;c[O>>2]=p}else{p=j+-1<<24>>24;a[t>>0]=p;p=c[f+348+((p&255)<<2)>>2]|0}j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){m=j+1|0;c[P>>2]=m;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=99;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=u;c[xa+(j*20|0)+8>>2]=v;c[xa+(j*20|0)+12>>2]=p;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else{zi(ya,99,u,v,p)|0;m=c[P>>2]|0}j=c[K>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(m|0)){c[P>>2]=m+1;xa=c[ya+88>>2]|0;a[xa+(m*20|0)>>0]=126;b[xa+(m*20|0)+2>>1]=0;c[xa+(m*20|0)+4>>2]=j;c[xa+(m*20|0)+8>>2]=p;c[xa+(m*20|0)+12>>2]=0;c[xa+(m*20|0)+16>>2]=0;a[xa+(m*20|0)+1>>0]=0}else zi(ya,126,j,p,0)|0;G:do if(p|0){o=a[t>>0]|0;if((o&255)>=8)break;j=a[w>>0]|0;H:do if(j<<24>>24){n=j&255;j=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(p|0))break;j=j+1|0;if((j|0)>=(n|0))break H;else m=m+20|0}a[m+6>>0]=1;break G}while(0);a[t>>0]=o+1<<24>>24;c[f+348+((o&255)<<2)>>2]=p}while(0);I:do if(q){if(!u)break;o=a[t>>0]|0;if((o&255)>=8)break;j=a[w>>0]|0;J:do if(j<<24>>24){n=j&255;j=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(u|0))break;j=j+1|0;if((j|0)>=(n|0))break J;else m=m+20|0}a[m+6>>0]=1;break I}while(0);a[t>>0]=o+1<<24>>24;c[f+348+((o&255)<<2)>>2]=u}else{j=a[w>>0]|0;K:do if(j<<24>>24){s=u+v|0;r=0;do{o=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){m=c[o>>2]|0;if(!((m|0)>=(u|0)&(m|0)<(s|0)))break;do if(a[q>>0]|0){n=a[t>>0]|0;if((n&255)>=8)break;a[t>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=m}while(0);j=j+-1<<24>>24;a[w>>0]=j;m=j&255;if((m|0)>(r|0)){j=f+148+(m*20|0)|0;c[p>>2]=c[j>>2];c[p+4>>2]=c[j+4>>2];c[p+8>>2]=c[j+8>>2];c[p+12>>2]=c[j+12>>2];c[p+16>>2]=c[j+16>>2];j=a[w>>0]|0}if((r|0)>=(j&255|0))break K}r=r+1|0}while((r|0)<(j&255|0))}while(0);j=f+28|0;if((c[j>>2]|0)>=(v|0))break;c[j>>2]=v;c[f+32>>2]=u}while(0);Ul(B);q=c[x>>2]|0;c[x>>2]=q+1;c[Ba+8>>2]=q;j=a[t>>0]|0;if(!(j<<24>>24)){o=(c[O>>2]|0)+1|0;c[O>>2]=o}else{o=j+-1<<24>>24;a[t>>0]=o;o=c[f+348+((o&255)<<2)>>2]|0}j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){m=j+1|0;c[P>>2]=m;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=111;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=q;c[xa+(j*20|0)+8>>2]=o;c[xa+(j*20|0)+12>>2]=v;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else{zi(ya,111,q,o,v)|0;m=c[P>>2]|0}j=c[K>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(m|0)){c[P>>2]=m+1;xa=c[ya+88>>2]|0;a[xa+(m*20|0)>>0]=35;b[xa+(m*20|0)+2>>1]=0;c[xa+(m*20|0)+4>>2]=j;c[xa+(m*20|0)+8>>2]=U;c[xa+(m*20|0)+12>>2]=0;c[xa+(m*20|0)+16>>2]=0;a[xa+(m*20|0)+1>>0]=0}else zi(ya,35,j,U,0)|0;a[Ba+1>>0]=1;j=a[w>>0]|0;if(j<<24>>24){m=j&255;j=0;do{do if(a[f+148+(j*20|0)+6>>0]|0){n=a[t>>0]|0;if((n&255)>=8)break;xa=c[f+148+(j*20|0)+12>>2]|0;a[t>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=xa}while(0);j=j+1|0}while((j|0)!=(m|0))}a[w>>0]=0;p=1;r=q;q=o}do if(Q){if(b[Ca+68>>1]&4)break;if((p|0)==0?(a[B+48>>0]|0)==0:0)break;c[za>>2]=0;j=c[S>>2]|0;m=c[ya>>2]|0;if(a[m+73>>0]|0)break;xa=c[ya+88>>2]|0;va=xa+(j*20|0)+1|0;wa=xa+(j*20|0)+16|0;Wf(m,a[va>>0]|0,c[wa>>2]|0);a[va>>0]=0;c[wa>>2]=0;a[xa+(j*20|0)>>0]=-90}while(0);x=c[P>>2]|0;v=f+25|0;j=a[v>>0]|0;if(j<<24>>24){o=f+19|0;m=j&255;j=0;do{do if(a[f+148+(j*20|0)+6>>0]|0){n=a[o>>0]|0;if((n&255)>=8)break;xa=c[f+148+(j*20|0)+12>>2]|0;a[o>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=xa}while(0);j=j+1|0}while((j|0)!=(m|0))}a[v>>0]=0;w=(p|0)!=0;do if(w){j=c[K>>2]|0;m=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(m|0)){c[P>>2]=m+1;xa=c[ya+88>>2]|0;a[xa+(m*20|0)>>0]=121;b[xa+(m*20|0)+2>>1]=0;c[xa+(m*20|0)+4>>2]=j;c[xa+(m*20|0)+8>>2]=q;c[xa+(m*20|0)+12>>2]=r;c[xa+(m*20|0)+16>>2]=0;a[xa+(m*20|0)+1>>0]=0;break}else{zi(ya,121,j,q,r)|0;break}}while(0);m=c[T>>2]|0;L:do if((m|0)>0){p=ya+88|0;if(w)o=0;else{j=0;while(1){a[Ba>>0]=1;Di(f,c[T+4+(j*20|0)>>2]|0,j+A|0);j=j+1|0;m=c[T>>2]|0;if((j|0)>=(m|0))break L}}do{j=o+A|0;n=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(n|0)){c[P>>2]=n+1;xa=c[p>>2]|0;a[xa+(n*20|0)>>0]=96;b[xa+(n*20|0)+2>>1]=0;c[xa+(n*20|0)+4>>2]=r;c[xa+(n*20|0)+8>>2]=o;c[xa+(n*20|0)+12>>2]=j;c[xa+(n*20|0)+16>>2]=0;a[xa+(n*20|0)+1>>0]=0}else{zi(ya,96,r,o,j)|0;m=c[T>>2]|0}o=o+1|0}while((o|0)<(m|0))}while(0);o=(F|0)==0;if(!o)c[F>>2]=(c[F>>2]|0)+1;j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=94;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=y;c[xa+(j*20|0)+8>>2]=A;c[xa+(j*20|0)+12>>2]=m;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else j=zi(ya,94,y,A,m)|0;m=c[ya>>2]|0;M:do if(a[m+73>>0]|0){if(o|(c[m+464>>2]|0)!=0)break;xa=(c[F>>2]|0)+-1|0;c[F>>2]=xa;if(xa|0)break;j=c[F+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,F);break M}m=F;if(m>>>0<(c[j+296>>2]|0)>>>0)break;if(m>>>0>=(c[j+300>>2]|0)>>>0)break;xa=j+292|0;c[F>>2]=c[xa>>2];c[xa>>2]=F;break M}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](F);break}else{xa=jb[c[64>>2]&255](F)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](F);break}}else{if((j|0)<0)j=(c[P>>2]|0)+-1|0;m=c[ya+88>>2]|0;n=m+(j*20|0)+1|0;if(a[n>>0]|0){Ai(ya,m+(j*20|0)|0,F,-9);break}if(o)break;c[m+(j*20|0)+16>>2]=F;a[n>>0]=-9}while(0);u=c[P>>2]|0;j=u+1|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(u|0)){c[P>>2]=j;xa=c[ya+88>>2]|0;a[xa+(u*20|0)>>0]=18;b[xa+(u*20|0)+2>>1]=0;c[xa+(u*20|0)+4>>2]=j;c[xa+(u*20|0)+8>>2]=0;c[xa+(u*20|0)+12>>2]=j;c[xa+(u*20|0)+16>>2]=0;a[xa+(u*20|0)+1>>0]=0}else zi(ya,18,j,0,j)|0;o=c[T>>2]|0;j=c[Da>>2]|0;m=j+136|0;n=c[m>>2]|0;if((c[(c[j+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;xa=c[j+88>>2]|0;a[xa+(n*20|0)>>0]=74;b[xa+(n*20|0)+2>>1]=0;c[xa+(n*20|0)+4>>2]=A;c[xa+(n*20|0)+8>>2]=y;c[xa+(n*20|0)+12>>2]=o;c[xa+(n*20|0)+16>>2]=0;a[xa+(n*20|0)+1>>0]=0}else zi(j,74,A,y,o)|0;j=a[v>>0]|0;N:do if(j<<24>>24){s=o+A|0;t=f+19|0;r=0;do{o=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){m=c[o>>2]|0;if(!((m|0)>(D|0)&(m|0)<(s|0)))break;do if(a[q>>0]|0){n=a[t>>0]|0;if((n&255)>=8)break;a[t>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=m}while(0);j=j+-1<<24>>24;a[v>>0]=j;m=j&255;if((m|0)>(r|0)){j=f+148+(m*20|0)|0;c[p>>2]=c[j>>2];c[p+4>>2]=c[j+4>>2];c[p+8>>2]=c[j+8>>2];c[p+12>>2]=c[j+12>>2];c[p+16>>2]=c[j+16>>2];j=a[v>>0]|0}if((r|0)>=(j&255|0))break N}r=r+1|0}while((r|0)<(j&255|0))}while(0);j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){xa=j+1|0;c[P>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(j*20|0)>>0]=14;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=N;c[wa+(j*20|0)+8>>2]=G;c[wa+(j*20|0)+12>>2]=0;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0;j=xa}else{zi(ya,14,N,G,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){xa=j+1|0;c[P>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(j*20|0)>>0]=48;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=H;c[wa+(j*20|0)+8>>2]=U;c[wa+(j*20|0)+12>>2]=0;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0;j=xa}else{zi(ya,48,H,U,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){m=j+1|0;c[P>>2]=m;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=14;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=M;c[xa+(j*20|0)+8>>2]=E;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else{zi(ya,14,M,E,0)|0;m=c[P>>2]|0}if(!(a[(c[ya>>2]|0)+73>>0]|0))j=(c[ya+88>>2]|0)+(((u|0)<0?m+-1|0:u)*20|0)|0;else j=46708;c[j+8>>2]=m;on(f,Ba);j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=67;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=1;c[xa+(j*20|0)+8>>2]=J;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(ya,67,1,J,0)|0;do if(w){j=c[K>>2]|0;k=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(k|0)){c[P>>2]=k+1;xa=c[ya+88>>2]|0;a[xa+(k*20|0)>>0]=3;b[xa+(k*20|0)+2>>1]=0;c[xa+(k*20|0)+4>>2]=j;c[xa+(k*20|0)+8>>2]=x;c[xa+(k*20|0)+12>>2]=0;c[xa+(k*20|0)+16>>2]=0;a[xa+(k*20|0)+1>>0]=0;break}else{zi(ya,3,j,x,0)|0;break}}else{Ul(B);j=c[ya>>2]|0;if(a[j+73>>0]|0)break;xa=c[ya+88>>2]|0;va=xa+(k*20|0)+1|0;wa=xa+(k*20|0)+16|0;Wf(j,a[va>>0]|0,c[wa>>2]|0);a[va>>0]=0;c[wa>>2]=0;a[xa+(k*20|0)>>0]=-90}while(0);j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){xa=j+1|0;c[P>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(j*20|0)>>0]=14;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=N;c[wa+(j*20|0)+8>>2]=G;c[wa+(j*20|0)+12>>2]=0;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0;j=xa}else{zi(ya,14,N,G,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){u=j+1|0;c[P>>2]=u;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=13;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=0;c[xa+(j*20|0)+8>>2]=U;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else{zi(ya,13,0,U,0)|0;u=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(u|0)){j=u+1|0;c[P>>2]=j;xa=c[ya+88>>2]|0;a[xa+(u*20|0)>>0]=67;b[xa+(u*20|0)+2>>1]=0;c[xa+(u*20|0)+4>>2]=1;c[xa+(u*20|0)+8>>2]=H;c[xa+(u*20|0)+12>>2]=0;c[xa+(u*20|0)+16>>2]=0;a[xa+(u*20|0)+1>>0]=0}else{zi(ya,67,1,H,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=63;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=N;c[xa+(j*20|0)+8>>2]=0;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(ya,63,N,0,0)|0;k=c[Z>>2]|0;j=c[k+72>>2]|0;if(j|0)c[j+(I<<2)>>2]=c[P>>2];t=c[P>>2]|0;j=t+2|0;if((c[k+48>>2]|0)>(t|0)){xa=t+1|0;c[P>>2]=xa;wa=c[ya+88>>2]|0;a[wa+(t*20|0)>>0]=48;b[wa+(t*20|0)+2>>1]=0;c[wa+(t*20|0)+4>>2]=J;c[wa+(t*20|0)+8>>2]=j;c[wa+(t*20|0)+12>>2]=0;c[wa+(t*20|0)+16>>2]=0;a[wa+(t*20|0)+1>>0]=0;j=xa}else{zi(ya,48,J,j,0)|0;j=c[P>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=63;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=N;c[xa+(j*20|0)+8>>2]=0;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(ya,63,N,0,0)|0;p=c[Da>>2]|0;if((c[R>>2]|0)>0){q=p+136|0;r=p+12|0;s=p+88|0;n=c[Ba+40>>2]|0;o=0;while(1){j=c[(c[n>>2]|0)+20>>2]|0;m=c[n+8>>2]|0;if(!j)k=0;else k=c[j>>2]|0;j=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(j|0)){c[q>>2]=j+1;xa=c[s>>2]|0;a[xa+(j*20|0)>>0]=-106;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=m;c[xa+(j*20|0)+8>>2]=k;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(p,150,m,k,0)|0;j=c[n+4>>2]|0;k=c[p>>2]|0;O:do if(a[k+73>>0]|0){if(!(b[j+2>>1]&16))break;do if(k|0){if(c[k+464>>2]|0){Lc(k,j);break O}m=j;if(m>>>0<(c[k+296>>2]|0)>>>0)break;if(m>>>0>=(c[k+300>>2]|0)>>>0)break;xa=k+292|0;c[j>>2]=c[xa>>2];c[xa>>2]=j;break O}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{xa=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else{wa=c[s>>2]|0;xa=(c[q>>2]|0)+-1|0;a[wa+(xa*20|0)+1>>0]=-8;c[wa+(xa*20|0)+16>>2]=j}while(0);o=o+1|0;if((o|0)>=(c[R>>2]|0))break;else n=n+16|0}}j=t+1|0;Dk(f,X,j,16);en(f,g,-1,za,ua,h,j,u);j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=63;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=N;c[xa+(j*20|0)+8>>2]=0;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(ya,63,N,0,0)|0;j=c[(c[Z>>2]|0)+72>>2]|0;if(j|0)c[j+(L<<2)>>2]=c[P>>2];pn(f,Ba);j=c[P>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[P>>2]=j+1;xa=c[ya+88>>2]|0;a[xa+(j*20|0)>>0]=63;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=M;c[xa+(j*20|0)+8>>2]=0;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0;break}else{zi(ya,63,M,0,0)|0;break}}else{w=Ba+40|0;m=c[w>>2]|0;P:do if(!(c[ma>>2]|0)){k=c[g>>2]|0;if((c[k>>2]|0)!=1){xa=1154;break}j=c[oa>>2]|0;if((c[j>>2]|0)!=1){xa=1154;break}if(c[j+28>>2]|0){xa=1154;break}v=c[j+24>>2]|0;j=c[k+4>>2]|0;if(c[v+56>>2]|0){xa=1154;break}if((n|0)==0|(a[j>>0]|0)!=-110){xa=1154;break}if(!(b[(c[m+4>>2]|0)+2>>1]&256)){xa=1154;break}if((v|0)==0?1:(c[j+4>>2]&16|0)!=0){xa=1154;break}k=c[v+72>>2]|0;if(!k)t=-1e6;else{m=c[(c[f>>2]|0)+16>>2]|0;j=0;while(1)if((c[m+(j<<4)+12>>2]|0)==(k|0)){t=j;break}else j=j+1|0}r=f+40|0;u=c[r>>2]|0;c[r>>2]=u+1;r=v+28|0;s=c[r>>2]|0;n=c[na>>2]|0;n=(n|0)==0?f:n;j=n+92|0;k=c[j>>2]|0;m=1<>2]=k|m;if((t|0)!=1)break;q=c[n>>2]|0;j=q+16|0;if(c[(c[j>>2]|0)+20>>2]|0)break;if(a[n+399>>0]|0)break;k=fg(c[q>>2]|0,0,q,va,0,542)|0;if(k|0){hg(n,21111,ra);c[n+12>>2]=k;break}wa=c[va>>2]|0;c[(c[j>>2]|0)+20>>2]=wa;j=c[q+84>>2]|0;m=c[wa+4>>2]|0;c[m+4>>2]=c[wa>>2];do if(!(b[m+22>>1]&2)){n=m+32|0;o=m+36|0;p=(c[n>>2]|0)-(c[o>>2]|0)|0;do if((j+-512|0)>>>0<65025){if(j+-1&j|0)break;c[n>>2]=j;k=m+80|0;j=c[k>>2]|0;if(!j)break;j=j+-4|0;c[k>>2]=j;wa=j;do if(!(wa>>>0>=(c[11662]|0)>>>0&wa>>>0<(c[11663]|0)>>>0)){wa=jb[c[64>>2]&255](j)|0;c[11824]=(c[11824]|0)-wa;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{wa=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else{c[11823]=(c[11823]|0)+-1;c[j>>2]=c[11665];c[11665]=j;wa=(c[11666]|0)+1|0;c[11666]=wa;c[11667]=(wa|0)<(c[11661]|0)&1}while(0);c[k>>2]=0}while(0);wa=gg(c[m>>2]|0,n,p)|0;c[o>>2]=(c[n>>2]|0)-(p&65535);if((wa|0)!=7)break;j=q+73|0;do if(!(a[j>>0]|0)){if(a[q+74>>0]|0)break;a[j>>0]=1;if((c[q+172>>2]|0)>0)c[q+256>>2]=1;wa=q+264|0;c[wa>>2]=(c[wa>>2]|0)+1}while(0);break Q}while(0)}while(0);qk(f,t,c[r>>2]|0,0,c[v>>2]|0);r=v+36|0;k=c[v+8>>2]|0;R:do if(!(c[r>>2]&32)){j=0;xa=1089}else{if(!k){k=s;n=0;q=0;p=1;break}else j=k;while(1){if((a[j+55>>0]&3)==2){xa=1089;break R}j=c[j+20>>2]|0;if(!j){j=0;xa=1089;break}}}while(0);do if((xa|0)==1089){if(k){n=v+46|0;do{do if(!(a[k+55>>0]&4)){m=b[k+48>>1]|0;if(m<<16>>16>=(b[n>>1]|0))break;if(c[k+36>>2]|0)break;if(j|0?m<<16>>16>=(b[j+48>>1]|0):0)break;j=k}while(0);k=c[k+20>>2]|0}while((k|0)!=0)}if(!j){k=s;n=0;q=0;p=1;break}k=c[j+44>>2]|0;n=rk(f,j)|0;q=j;p=0}while(0);o=ya+136|0;j=c[o>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;wa=c[ya+88>>2]|0;a[wa+(j*20|0)>>0]=104;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=u;c[wa+(j*20|0)+8>>2]=k;c[wa+(j*20|0)+12>>2]=t;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0}else j=zi(ya,104,u,k,t)|0;k=c[ya>>2]|0;m=(a[k+73>>0]|0)==0;if(m){wa=c[ya+88>>2]|0;a[wa+(j*20|0)+1>>0]=-3;c[wa+(j*20|0)+16>>2]=1}S:do if(n|0){if(m){j=(c[o>>2]|0)+-1|0;k=c[ya+88>>2]|0;m=k+(j*20|0)+1|0;if(!(a[m>>0]|0)){c[k+(j*20|0)+16>>2]=n;a[m>>0]=-9;break}else{Ai(ya,k+(j*20|0)|0,n,-9);break}}if(c[k+464>>2]|0)break;wa=(c[n>>2]|0)+-1|0;c[n>>2]=wa;if(wa|0)break;j=c[n+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,n);break S}k=n;if(k>>>0<(c[j+296>>2]|0)>>>0)break;if(k>>>0>=(c[j+300>>2]|0)>>>0)break;wa=j+292|0;c[n>>2]=c[wa>>2];c[wa>>2]=n;break S}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{wa=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);j=c[(c[w>>2]|0)+8>>2]|0;k=c[o>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(k|0)){wa=k+1|0;c[o>>2]=wa;va=c[ya+88>>2]|0;a[va+(k*20|0)>>0]=100;b[va+(k*20|0)+2>>1]=0;c[va+(k*20|0)+4>>2]=u;c[va+(k*20|0)+8>>2]=j;c[va+(k*20|0)+12>>2]=0;c[va+(k*20|0)+16>>2]=0;a[va+(k*20|0)+1>>0]=0;j=wa}else{zi(ya,100,u,j,0)|0;j=c[o>>2]|0}if((c[(c[Z>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;wa=c[ya+88>>2]|0;a[wa+(j*20|0)>>0]=112;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=u;c[wa+(j*20|0)+8>>2]=0;c[wa+(j*20|0)+12>>2]=0;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0}else zi(ya,112,u,0,0)|0;if((a[f+399>>0]|0)!=2)break;do if(p){j=c[v>>2]|0;n=47328;m=47328;k=c[f>>2]|0}else{if(c[r>>2]&32){k=c[f>>2]|0;j=c[v>>2]|0;if((a[q+55>>0]&3)==2){n=47328;m=47328;break}}else{j=c[v>>2]|0;k=c[f>>2]|0}n=33903;m=c[q>>2]|0}while(0);c[ta>>2]=j;c[ta+4>>2]=n;c[ta+8>>2]=m;o=Ff(k,33926,ta)|0;n=c[Da>>2]|0;k=c[Fa>>2]|0;m=n+136|0;j=c[m>>2]|0;if((c[(c[n+12>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;wa=c[n+88>>2]|0;a[wa+(j*20|0)>>0]=-89;b[wa+(j*20|0)+2>>1]=0;c[wa+(j*20|0)+4>>2]=k;c[wa+(j*20|0)+8>>2]=0;c[wa+(j*20|0)+12>>2]=0;c[wa+(j*20|0)+16>>2]=0;a[wa+(j*20|0)+1>>0]=0}else j=zi(n,167,k,0,0)|0;k=c[n>>2]|0;if(!(a[k+73>>0]|0)){if((j|0)<0)j=(c[m>>2]|0)+-1|0;k=c[n+88>>2]|0;m=k+(j*20|0)+1|0;if(a[m>>0]|0){Ai(n,k+(j*20|0)|0,o,-7);break}if(!o)break;c[k+(j*20|0)+16>>2]=o;a[m>>0]=-7;break}if(!o)break;do if(k|0){if(c[k+464>>2]|0){Lc(k,o);break P}j=o;if(j>>>0<(c[k+296>>2]|0)>>>0)break;if(j>>>0>=(c[k+300>>2]|0)>>>0)break;wa=k+292|0;c[o>>2]=c[wa>>2];c[wa>>2]=o;break P}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{wa=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-wa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}else xa=1154;while(0);do if((xa|0)==1154){pn(f,Ba);n=Tl(f,ka,B,i,0,x,0)|0;if(!n)break C;on(f,Ba);do if((a[n+47>>0]|0)>0){j=c[n+36>>2]|0;k=ya+136|0;m=c[k>>2]|0;if((c[(c[Z>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;xa=c[ya+88>>2]|0;a[xa+(m*20|0)>>0]=13;b[xa+(m*20|0)+2>>1]=0;c[xa+(m*20|0)+4>>2]=0;c[xa+(m*20|0)+8>>2]=j;c[xa+(m*20|0)+12>>2]=0;c[xa+(m*20|0)+16>>2]=0;a[xa+(m*20|0)+1>>0]=0;break}else{zi(ya,13,0,j,0)|0;break}}while(0);Ul(n);p=c[Da>>2]|0;if((c[R>>2]|0)<=0)break;q=p+136|0;r=p+12|0;s=p+88|0;n=c[w>>2]|0;o=0;while(1){j=c[(c[n>>2]|0)+20>>2]|0;m=c[n+8>>2]|0;if(!j)k=0;else k=c[j>>2]|0;j=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(j|0)){c[q>>2]=j+1;xa=c[s>>2]|0;a[xa+(j*20|0)>>0]=-106;b[xa+(j*20|0)+2>>1]=0;c[xa+(j*20|0)+4>>2]=m;c[xa+(j*20|0)+8>>2]=k;c[xa+(j*20|0)+12>>2]=0;c[xa+(j*20|0)+16>>2]=0;a[xa+(j*20|0)+1>>0]=0}else zi(p,150,m,k,0)|0;j=c[n+4>>2]|0;k=c[p>>2]|0;T:do if(a[k+73>>0]|0){if(!(b[j+2>>1]&16))break;do if(k|0){if(c[k+464>>2]|0){Lc(k,j);break T}m=j;if(m>>>0<(c[k+296>>2]|0)>>>0)break;if(m>>>0>=(c[k+300>>2]|0)>>>0)break;xa=k+292|0;c[j>>2]=c[xa>>2];c[xa>>2]=j;break T}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{xa=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-xa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else{wa=c[s>>2]|0;xa=(c[q>>2]|0)+-1|0;a[wa+(xa*20|0)+1>>0]=-8;c[wa+(xa*20|0)+16>>2]=j}while(0);o=o+1|0;if((o|0)>=(c[R>>2]|0))break;else n=n+16|0}}while(0);c[za>>2]=0;Dk(f,X,U,16);en(f,g,-1,0,0,h,U,U)}while(0);j=c[(c[Z>>2]|0)+72>>2]|0;if(j|0)c[j+(V<<2)>>2]=c[ya+136>>2];xa=1184;break z}while(0);g=1}while(0);if((xa|0)==1184){if((a[W>>0]|0)==3)nn(f,33885);do if(c[za>>2]|0){r=za+4|0;nn(f,(c[r>>2]|0)>0?33944:33772);D=c[Y>>2]|0;H=c[Da>>2]|0;I=c[za+24>>2]|0;G=H+12|0;j=c[G>>2]|0;o=j+68|0;F=c[o>>2]|0;c[o>>2]=F+1;o=j+72|0;if(!(F+-1&F)){k=c[j>>2]|0;m=c[o>>2]|0;j=Mc(k,m,F<<3|4,0)|0;U:do if(!((m|0)==0|(j|0)!=0)){do if(k|0){if(c[k+464>>2]|0){Lc(k,m);break U}n=m;if(n>>>0<(c[k+296>>2]|0)>>>0)break;if(n>>>0>=(c[k+300>>2]|0)>>>0)break;Da=k+292|0;c[m>>2]=c[Da>>2];c[Da>>2]=m;break U}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{Da=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-Da;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[o>>2]=j}else j=c[o>>2]|0;if(j|0)c[j+(F<<2)>>2]=-1;u=~F;p=c[za>>2]|0;A=a[h>>0]|0;v=h+4|0;x=c[v>>2]|0;w=c[g>>2]|0;q=za+16|0;j=c[q>>2]|0;do if(j|0){k=c[za+12>>2]|0;n=H+136|0;m=c[n>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(m|0)){Da=m+1|0;c[n>>2]=Da;wa=c[H+88>>2]|0;a[wa+(m*20|0)>>0]=14;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=k;c[wa+(m*20|0)+8>>2]=j;c[wa+(m*20|0)+12>>2]=0;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0;j=Da}else{zi(H,14,k,j,0)|0;j=c[n>>2]|0}if((c[(c[G>>2]|0)+48>>2]|0)>(j|0)){c[n>>2]=j+1;Da=c[H+88>>2]|0;a[Da+(j*20|0)>>0]=13;b[Da+(j*20|0)+2>>1]=0;c[Da+(j*20|0)+4>>2]=0;c[Da+(j*20|0)+8>>2]=I;c[Da+(j*20|0)+12>>2]=0;c[Da+(j*20|0)+16>>2]=0;a[Da+(j*20|0)+1>>0]=0}else zi(H,13,0,I,0)|0;j=c[(c[G>>2]|0)+72>>2]|0;if(!j)break;c[j+(~c[q>>2]<<2)>>2]=c[n>>2]}while(0);E=c[za+8>>2]|0;V:do switch(A<<24>>24){case 9:case 10:case 13:{B=c[h+8>>2]|0;o=0;break}default:{k=f+19|0;j=a[k>>0]|0;if(!(j<<24>>24)){j=f+44|0;o=(c[j>>2]|0)+1|0;c[j>>2]=o;j=0}else{j=j+-1<<24>>24;a[k>>0]=j;o=c[f+348+((j&255)<<2)>>2]|0}if((D|0)==1)if(!(j<<24>>24)){Da=f+44|0;B=(c[Da>>2]|0)+1|0;c[Da>>2]=B;break V}else{B=j+-1<<24>>24;a[k>>0]=B;B=c[f+348+((B&255)<<2)>>2]|0;break V}else{j=f+32|0;k=c[j>>2]|0;m=f+28|0;n=c[m>>2]|0;if((n|0)<(D|0)){Da=f+44|0;B=c[Da>>2]|0;c[Da>>2]=B+D;B=B+1|0;break V}else{c[j>>2]=k+D;c[m>>2]=n-D;B=k;break V}}}}while(0);t=(c[p>>2]|0)-(c[r>>2]|0)|0;C=za+28|0;do if(!(a[C>>0]&1)){m=H+136|0;j=c[m>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;Da=c[H+88>>2]|0;a[Da+(j*20|0)>>0]=36;b[Da+(j*20|0)+2>>1]=0;c[Da+(j*20|0)+4>>2]=E;c[Da+(j*20|0)+8>>2]=I;c[Da+(j*20|0)+12>>2]=0;c[Da+(j*20|0)+16>>2]=0;a[Da+(j*20|0)+1>>0]=0}else j=zi(H,36,E,I,0)|0;g=c[g+16>>2]|0;if((g|0)<=0){g=j;j=1;s=E;break}k=c[m>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;s=c[H+88>>2]|0;a[s+(k*20|0)>>0]=48;b[s+(k*20|0)+2>>1]=0;c[s+(k*20|0)+4>>2]=g;c[s+(k*20|0)+8>>2]=u;c[s+(k*20|0)+12>>2]=1;c[s+(k*20|0)+16>>2]=0;a[s+(k*20|0)+1>>0]=0;g=j;j=1;s=E;break}else{zi(H,48,g,u,1)|0;g=j;j=1;s=E;break}}else{n=f+44|0;p=(c[n>>2]|0)+1|0;c[n>>2]=p;n=f+40|0;s=c[n>>2]|0;c[n>>2]=s+1;n=H+136|0;do if(c[q>>2]|0){j=c[n>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(j|0)){c[n>>2]=j+1;q=c[H+88>>2]|0;a[q+(j*20|0)>>0]=20;q=q+(j*20|0)+1|0;T=q+19|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(T|0));break}else{j=zi(H,20,0,0,0)|0;break}}else j=0;while(0);k=D+1+t|0;m=c[n>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(m|0)){Da=m+1|0;c[n>>2]=Da;wa=c[H+88>>2]|0;a[wa+(m*20|0)>>0]=111;b[wa+(m*20|0)+2>>1]=0;c[wa+(m*20|0)+4>>2]=s;c[wa+(m*20|0)+8>>2]=p;c[wa+(m*20|0)+12>>2]=k;c[wa+(m*20|0)+16>>2]=0;a[wa+(m*20|0)+1>>0]=0;k=Da}else{zi(H,111,s,p,k)|0;k=c[n>>2]|0}if(j|0){if(!(a[(c[H>>2]|0)+73>>0]|0))j=(c[H+88>>2]|0)+(((j|0)<0?k+-1|0:j)*20|0)|0;else j=46708;c[j+8>>2]=k}if((c[(c[G>>2]|0)+48>>2]|0)>(k|0)){c[n>>2]=k+1;Da=c[H+88>>2]|0;a[Da+(k*20|0)>>0]=35;b[Da+(k*20|0)+2>>1]=0;c[Da+(k*20|0)+4>>2]=E;c[Da+(k*20|0)+8>>2]=I;c[Da+(k*20|0)+12>>2]=0;c[Da+(k*20|0)+16>>2]=0;a[Da+(k*20|0)+1>>0]=0}else k=zi(H,35,E,I,0)|0;g=c[g+16>>2]|0;do if((g|0)>0){j=c[n>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(j|0)){c[n>>2]=j+1;Da=c[H+88>>2]|0;a[Da+(j*20|0)>>0]=48;b[Da+(j*20|0)+2>>1]=0;c[Da+(j*20|0)+4>>2]=g;c[Da+(j*20|0)+8>>2]=u;c[Da+(j*20|0)+12>>2]=1;c[Da+(j*20|0)+16>>2]=0;a[Da+(j*20|0)+1>>0]=0;break}else{zi(H,48,g,u,1)|0;break}}while(0);g=c[n>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(g|0)){c[n>>2]=g+1;j=c[H+88>>2]|0;a[j+(g*20|0)>>0]=121;b[j+(g*20|0)+2>>1]=0;c[j+(g*20|0)+4>>2]=E;c[j+(g*20|0)+8>>2]=p;c[j+(g*20|0)+12>>2]=s;c[j+(g*20|0)+16>>2]=0;a[j+(g*20|0)+1>>0]=0;g=k;j=0;break}else{zi(H,121,E,p,s)|0;g=k;j=0;break}}while(0);y=g+1|0;if((D|0)>0){q=H+136|0;r=H+88|0;p=0;j=j+t|0;while(1){g=b[w+4+(p*20|0)+16>>1]|0;k=g<<16>>16==0;g=k?j:(g&65535)+-1|0;m=p+B|0;n=c[q>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(n|0)){c[q>>2]=n+1;Da=c[r>>2]|0;a[Da+(n*20|0)>>0]=96;b[Da+(n*20|0)+2>>1]=0;c[Da+(n*20|0)+4>>2]=s;c[Da+(n*20|0)+8>>2]=g;c[Da+(n*20|0)+12>>2]=m;c[Da+(n*20|0)+16>>2]=0;a[Da+(n*20|0)+1>>0]=0}else zi(H,96,s,g,m)|0;p=p+1|0;if((p|0)==(D|0))break;else j=(k&1)+j|0}}W:do switch(A<<24>>24){case 12:case 14:{j=H+136|0;g=c[j>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(g|0)){h=g+1|0;c[j>>2]=h;Da=c[H+88>>2]|0;a[Da+(g*20|0)>>0]=115;b[Da+(g*20|0)+2>>1]=0;c[Da+(g*20|0)+4>>2]=x;c[Da+(g*20|0)+8>>2]=o;c[Da+(g*20|0)+12>>2]=0;c[Da+(g*20|0)+16>>2]=0;a[Da+(g*20|0)+1>>0]=0;g=h}else{zi(H,115,x,o,0)|0;g=c[j>>2]|0}if((c[(c[G>>2]|0)+48>>2]|0)>(g|0)){h=g+1|0;c[j>>2]=h;Da=c[H+88>>2]|0;a[Da+(g*20|0)>>0]=116;b[Da+(g*20|0)+2>>1]=0;c[Da+(g*20|0)+4>>2]=x;c[Da+(g*20|0)+8>>2]=B;c[Da+(g*20|0)+12>>2]=o;c[Da+(g*20|0)+16>>2]=0;a[Da+(g*20|0)+1>>0]=0;g=h}else{zi(H,116,x,B,o)|0;g=c[j>>2]|0}if((g|0)<=0)break W;b[(c[H+88>>2]|0)+((g+-1|0)*20|0)+2>>1]=8;break}case 11:{n=c[h+16>>2]|0;u=H+136|0;g=c[u>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(g|0)){c[u>>2]=g+1;h=c[H+88>>2]|0;a[h+(g*20|0)>>0]=99;b[h+(g*20|0)+2>>1]=0;c[h+(g*20|0)+4>>2]=B;c[h+(g*20|0)+8>>2]=D;c[h+(g*20|0)+12>>2]=o;c[h+(g*20|0)+16>>2]=0;a[h+(g*20|0)+1>>0]=0}else g=zi(H,99,B,D,o)|0;j=c[H>>2]|0;X:do if(!(a[j+73>>0]|0)){if((g|0)<0)g=(c[u>>2]|0)+-1|0;j=c[H+88>>2]|0;k=j+(g*20|0)|0;do if((D|0)<=-1){m=j+(g*20|0)+1|0;if(a[m>>0]|0)break;if((D|0)==-3){c[j+(g*20|0)+16>>2]=n;a[m>>0]=-3;break X}if(!n)break X;c[j+(g*20|0)+16>>2]=n;a[m>>0]=D;if((D|0)!=-12)break X;h=n+12|0;c[h>>2]=(c[h>>2]|0)+1;break X}while(0);Ai(H,k,n,D)}else{if((D|0)==-12)break;Wf(j,D,n)}while(0);r=f+25|0;g=a[r>>0]|0;Y:do if(g<<24>>24){s=B+D|0;t=f+19|0;q=0;do{m=f+148+(q*20|0)+12|0;n=f+148+(q*20|0)|0;p=f+148+(q*20|0)+6|0;while(1){j=c[m>>2]|0;if(!((j|0)>=(B|0)&(j|0)<(s|0)))break;do if(a[p>>0]|0){k=a[t>>0]|0;if((k&255)>=8)break;a[t>>0]=k+1<<24>>24;c[f+348+((k&255)<<2)>>2]=j}while(0);g=g+-1<<24>>24;a[r>>0]=g;j=g&255;if((j|0)>(q|0)){g=f+148+(j*20|0)|0;c[n>>2]=c[g>>2];c[n+4>>2]=c[g+4>>2];c[n+8>>2]=c[g+8>>2];c[n+12>>2]=c[g+12>>2];c[n+16>>2]=c[g+16>>2];g=a[r>>0]|0}if((q|0)>=(g&255|0))break Y}q=q+1|0}while((q|0)<(g&255|0))}while(0);g=c[u>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(g|0)){c[u>>2]=g+1;h=c[H+88>>2]|0;a[h+(g*20|0)>>0]=127;b[h+(g*20|0)+2>>1]=0;c[h+(g*20|0)+4>>2]=x;c[h+(g*20|0)+8>>2]=o;c[h+(g*20|0)+12>>2]=B;c[h+(g*20|0)+16>>2]=0;a[h+(g*20|0)+1>>0]=0}else g=zi(H,127,x,o,B)|0;if(a[(c[H>>2]|0)+73>>0]|0)break W;h=c[H+88>>2]|0;a[h+(g*20|0)+1>>0]=-3;c[h+(g*20|0)+16>>2]=D;break}case 10:break;case 9:{g=h+8|0;j=c[g>>2]|0;k=H+136|0;m=c[k>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;h=c[H+88>>2]|0;a[h+(m*20|0)>>0]=78;b[h+(m*20|0)+2>>1]=0;c[h+(m*20|0)+4>>2]=j;c[h+(m*20|0)+8>>2]=D;c[h+(m*20|0)+12>>2]=0;c[h+(m*20|0)+16>>2]=0;a[h+(m*20|0)+1>>0]=0}else{zi(H,78,j,D,0)|0;j=c[g>>2]|0}s=f+25|0;g=a[s>>0]|0;if(!(g<<24>>24))break W;t=j+D|0;u=f+19|0;r=0;do{n=f+148+(r*20|0)+12|0;p=f+148+(r*20|0)|0;q=f+148+(r*20|0)+6|0;while(1){k=c[n>>2]|0;if(!((k|0)>=(j|0)&(k|0)<(t|0)))break;do if(a[q>>0]|0){m=a[u>>0]|0;if((m&255)>=8)break;a[u>>0]=m+1<<24>>24;c[f+348+((m&255)<<2)>>2]=k}while(0);g=g+-1<<24>>24;a[s>>0]=g;k=g&255;if((k|0)>(r|0)){g=f+148+(k*20|0)|0;c[p>>2]=c[g>>2];c[p+4>>2]=c[g+4>>2];c[p+8>>2]=c[g+8>>2];c[p+12>>2]=c[g+12>>2];c[p+16>>2]=c[g+16>>2];g=a[s>>0]|0}if((r|0)>=(g&255|0))break W}r=r+1|0}while((r|0)<(g&255|0));break}default:{g=c[v>>2]|0;j=H+136|0;k=c[j>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;h=c[H+88>>2]|0;a[h+(k*20|0)>>0]=16;b[h+(k*20|0)+2>>1]=0;c[h+(k*20|0)+4>>2]=g;c[h+(k*20|0)+8>>2]=0;c[h+(k*20|0)+12>>2]=0;c[h+(k*20|0)+16>>2]=0;a[h+(k*20|0)+1>>0]=0;break W}else{zi(H,16,g,0,0)|0;break W}}}while(0);Z:do if(o|0){_:do if(A<<24>>24==11){if((D|0)==1){if(!B)break;m=f+19|0;n=a[m>>0]|0;if((n&255)>=8)break;g=a[f+25>>0]|0;$:do if(g<<24>>24){k=g&255;g=0;j=f+148|0;while(1){if((c[j+12>>2]|0)==(B|0))break;g=g+1|0;if((g|0)>=(k|0))break $;else j=j+20|0}a[j+6>>0]=1;break _}while(0);a[m>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=B;break}r=f+25|0;g=a[r>>0]|0;aa:do if(g<<24>>24){s=B+D|0;t=f+19|0;q=0;do{m=f+148+(q*20|0)+12|0;n=f+148+(q*20|0)|0;p=f+148+(q*20|0)+6|0;while(1){j=c[m>>2]|0;if(!((j|0)>=(B|0)&(j|0)<(s|0)))break;do if(a[p>>0]|0){k=a[t>>0]|0;if((k&255)>=8)break;a[t>>0]=k+1<<24>>24;c[f+348+((k&255)<<2)>>2]=j}while(0);g=g+-1<<24>>24;a[r>>0]=g;j=g&255;if((j|0)>(q|0)){g=f+148+(j*20|0)|0;c[n>>2]=c[g>>2];c[n+4>>2]=c[g+4>>2];c[n+8>>2]=c[g+8>>2];c[n+12>>2]=c[g+12>>2];c[n+16>>2]=c[g+16>>2];g=a[r>>0]|0}if((q|0)>=(g&255|0))break aa}q=q+1|0}while((q|0)<(g&255|0))}while(0);g=f+28|0;if((c[g>>2]|0)>=(D|0))break;c[g>>2]=D;c[f+32>>2]=B}else{if(!B)break;m=f+19|0;n=a[m>>0]|0;if((n&255)>=8)break;g=a[f+25>>0]|0;ba:do if(g<<24>>24){k=g&255;g=0;j=f+148|0;while(1){if((c[j+12>>2]|0)==(B|0))break;g=g+1|0;if((g|0)>=(k|0))break ba;else j=j+20|0}a[j+6>>0]=1;break _}while(0);a[m>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=B}while(0);m=f+19|0;n=a[m>>0]|0;if((n&255)>=8)break;g=a[f+25>>0]|0;ca:do if(g<<24>>24){k=g&255;g=0;j=f+148|0;while(1){if((c[j+12>>2]|0)==(o|0))break;g=g+1|0;if((g|0)>=(k|0))break ca;else j=j+20|0}a[j+6>>0]=1;break Z}while(0);a[m>>0]=n+1<<24>>24;c[f+348+((n&255)<<2)>>2]=o}while(0);k=c[G>>2]|0;g=c[k+72>>2]|0;m=H+136|0;if(g|0)c[g+(F<<2)>>2]=c[m>>2];j=c[m>>2]|0;g=(c[k+48>>2]|0)>(j|0);do if(!(a[C>>0]&1))if(g){c[m>>2]=j+1;f=c[H+88>>2]|0;a[f+(j*20|0)>>0]=7;b[f+(j*20|0)+2>>1]=0;c[f+(j*20|0)+4>>2]=E;c[f+(j*20|0)+8>>2]=y;c[f+(j*20|0)+12>>2]=0;c[f+(j*20|0)+16>>2]=0;a[f+(j*20|0)+1>>0]=0;break}else{zi(H,7,E,y,0)|0;break}else if(g){c[m>>2]=j+1;f=c[H+88>>2]|0;a[f+(j*20|0)>>0]=3;b[f+(j*20|0)+2>>1]=0;c[f+(j*20|0)+4>>2]=E;c[f+(j*20|0)+8>>2]=y;c[f+(j*20|0)+12>>2]=0;c[f+(j*20|0)+16>>2]=0;a[f+(j*20|0)+1>>0]=0;break}else{zi(H,3,E,y,0)|0;break}while(0);g=c[za+12>>2]|0;do if(g|0){j=c[m>>2]|0;if((c[(c[G>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;f=c[H+88>>2]|0;a[f+(j*20|0)>>0]=63;b[f+(j*20|0)+2>>1]=0;c[f+(j*20|0)+4>>2]=g;c[f+(j*20|0)+8>>2]=0;c[f+(j*20|0)+12>>2]=0;c[f+(j*20|0)+16>>2]=0;a[f+(j*20|0)+1>>0]=0;break}else{zi(H,63,g,0,0)|0;break}}while(0);g=c[(c[G>>2]|0)+72>>2]|0;if(!g)break;c[g+(~I<<2)>>2]=c[m>>2]}while(0);g=c[(c[Z>>2]|0)+72>>2]|0;if(g|0)c[g+(_<<2)>>2]=c[ya+136>>2];g=(c[Aa>>2]|0)>0&1}c[Fa>>2]=Ea;if(!i)break b;Rf(Ca,i);break b}else E=i;while(0);G=c[f>>2]|0;c[va>>2]=c[h>>2];c[va+4>>2]=c[h+4>>2];c[va+8>>2]=c[h+8>>2];c[va+12>>2]=c[h+12>>2];c[va+16>>2]=c[h+16>>2];c[va+20>>2]=c[h+20>>2];i=c[E+44>>2]|0;da:do if((i|0)==0?(ba=E+56|0,(c[ba>>2]|0)==0):0){i=c[Da>>2]|0;if(!i){if((c[f+120>>2]|0)==0?(b[G+68>>1]&8)==0:0)a[f+23>>0]=1;F=yi(f)|0}else F=i;i=a[va>>0]|0;if(i<<24>>24==12){i=c[va+4>>2]|0;j=c[c[g>>2]>>2]|0;k=F+136|0;m=c[k>>2]|0;if((c[(c[F+12>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;Ca=c[F+88>>2]|0;a[Ca+(m*20|0)>>0]=108;b[Ca+(m*20|0)+2>>1]=0;c[Ca+(m*20|0)+4>>2]=i;c[Ca+(m*20|0)+8>>2]=j;c[Ca+(m*20|0)+12>>2]=0;c[Ca+(m*20|0)+16>>2]=0;a[Ca+(m*20|0)+1>>0]=0}else zi(F,108,i,j,0)|0;a[va>>0]=14;i=14}j=c[wa>>2]|0;if(j&1024|0){j=1;while(1){i=c[g+48>>2]|0;if(!i)break;else{j=j+1|0;g=i}}j=j&65535;while(1){Da=g+48|0;Ca=c[Da>>2]|0;c[Da>>2]=0;i=Vi(f,g,va)|0;c[Da>>2]=Ca;if(i|0){g=0;xa=513;break da}b[g+6>>1]=j;g=c[g+52>>2]|0;if(!g){g=0;i=0;xa=513;break da}}}ea:do if(!(j&8192)){if(c[Y>>2]|0){i=cn(f,g,h)|0;break da}j=g+4|0;switch(a[j>>0]|0){case 116:{p=g+12|0;k=E+12|0;c[k>>2]=c[p>>2];n=g+16|0;m=E+16|0;c[m>>2]=c[n>>2];Ca=g+56|0;c[ba>>2]=c[Ca>>2];x=c[ia>>2]|0;i=Vi(f,E,va)|0;c[Ca>>2]=0;if(i|0){g=0;xa=513;break da}c[Z>>2]=0;k=c[k>>2]|0;c[p>>2]=k;m=c[m>>2]|0;c[n>>2]=m;do if(k){q=F+136|0;i=c[q>>2]|0;r=F+12|0;if((c[(c[r>>2]|0)+48>>2]|0)>(i|0)){c[q>>2]=i+1;o=c[F+88>>2]|0;a[o+(i*20|0)>>0]=22;b[o+(i*20|0)+2>>1]=0;c[o+(i*20|0)+4>>2]=k;c[o+(i*20|0)+8>>2]=0;c[o+(i*20|0)+12>>2]=0;c[o+(i*20|0)+16>>2]=0;a[o+(i*20|0)+1>>0]=0;o=m}else{i=zi(F,22,k,0,0)|0;o=c[n>>2]|0}if(!o){w=i;break}k=c[p>>2]|0;m=o+1|0;n=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(n|0)){c[q>>2]=n+1;w=c[F+88>>2]|0;a[w+(n*20|0)>>0]=-109;b[w+(n*20|0)+2>>1]=0;c[w+(n*20|0)+4>>2]=k;c[w+(n*20|0)+8>>2]=m;c[w+(n*20|0)+12>>2]=o;c[w+(n*20|0)+16>>2]=0;a[w+(n*20|0)+1>>0]=0;w=i;break}else{zi(F,147,k,m,o)|0;w=i;break}}else w=0;while(0);n=c[ia>>2]|0;i=Vi(f,g,va)|0;u=c[Z>>2]|0;c[Z>>2]=E;v=g+6|0;k=b[v>>1]|0;m=b[E+6>>1]|0;o=k<<16>>16;p=m<<16>>16;do if(k<<16>>16>16){if((p|0)>(o+49|0)){k=m;break}if((p|0)>(o+31|0)){k=p+1&65535;break}else{k=(d[33193+(p-o)>>0]|0)+p&65535;break}}else{if((o|0)>(p+49|0))break;if((o|0)>(p+31|0)){k=o+1&65535;break}else{k=(d[33193+(o-p)>>0]|0)+o&65535;break}}while(0);b[v>>1]=k;k=c[ba>>2]|0;do if(k|0){Ca=(bk(c[k+12>>2]|0,sa)|0)!=0;k=c[sa>>2]|0;if(!(Ca&(k|0)>0))break;s=b[v>>1]|0;m=((k|0)<0)<<31>>31;t=k>>>0<8;do if(t){if(k>>>0<2){o=0;break}else{o=40;q=k;p=m}do{o=(o&65535)+65526|0;q=Rt(q|0,p|0,1)|0;p=z}while(p>>>0<0|(p|0)==0&q>>>0<8);p=o&65535;o=q;xa=281}else{if(k>>>0>255){o=40;r=k;p=m;do{o=(o&65535)+40|0;Ca=r;r=Qt(r|0,p|0,4)|0;Ba=p;p=z}while(Ba>>>0>0|(Ba|0)==0&Ca>>>0>4095);q=o&65535;o=r}else{q=40;p=m;o=k}if(!(p>>>0>0|(p|0)==0&o>>>0>15)){p=q;xa=281;break}while(1){q=(q&65535)+10&65535;Ca=o;o=Qt(o|0,p|0,1)|0;if(!(p>>>0>0|(p|0)==0&Ca>>>0>31))break;else p=z}p=q;xa=281}while(0);if((xa|0)==281)o=(p&65535)+65526+(e[14834+((o&7)<<1)>>1]|0)&65535;if(s<<16>>16<=o<<16>>16)break;do if(t){if(k>>>0<2){k=0;break}else o=40;do{o=(o&65535)+65526|0;k=Rt(k|0,m|0,1)|0;m=z}while(m>>>0<0|(m|0)==0&k>>>0<8);o=o&65535;xa=293}else{if(k>>>0>255){o=40;do{o=(o&65535)+40|0;Ca=k;k=Qt(k|0,m|0,4)|0;Ba=m;m=z}while(Ba>>>0>0|(Ba|0)==0&Ca>>>0>4095);o=o&65535}else o=40;if(!(m>>>0>0|(m|0)==0&k>>>0>15)){xa=293;break}while(1){o=(o&65535)+10&65535;Ca=k;k=Qt(k|0,m|0,1)|0;if(!(m>>>0>0|(m|0)==0&Ca>>>0>31))break;else m=z}xa=293}while(0);if((xa|0)==293)k=(o&65535)+65526+(e[14834+((k&7)<<1)>>1]|0)&65535;b[v>>1]=k}while(0);if(w|0){m=c[F+136>>2]|0;if(!(a[(c[F>>2]|0)+73>>0]|0))k=(c[F+88>>2]|0)+(((w|0)<0?m+-1|0:w)*20|0)|0;else k=46708;c[k+8>>2]=m}p=x;break ea}case 115:case 117:{t=i<<24>>24==1;if(t)w=c[va+4>>2]|0;else{k=f+40|0;m=c[k>>2]|0;c[k>>2]=m+1;k=F+136|0;i=c[k>>2]|0;if((c[(c[F+12>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;Ca=c[F+88>>2]|0;a[Ca+(i*20|0)>>0]=108;b[Ca+(i*20|0)+2>>1]=0;c[Ca+(i*20|0)+4>>2]=m;c[Ca+(i*20|0)+8>>2]=0;c[Ca+(i*20|0)+12>>2]=0;c[Ca+(i*20|0)+16>>2]=0;a[Ca+(i*20|0)+1>>0]=0}else i=zi(F,108,m,0,0)|0;c[g+20>>2]=i;i=g;while(1){k=c[i+52>>2]|0;if(!k)break;else i=k}w=i+8|0;c[w>>2]=c[w>>2]|32;w=m}a[sa>>0]=1;c[sa+4>>2]=w;c[sa+16>>2]=0;c[sa+8>>2]=0;c[sa+12>>2]=0;x=c[ia>>2]|0;i=Vi(f,E,sa)|0;if(i|0){g=0;xa=513;break da}n=(a[j>>0]|0)==117?2:1;c[Z>>2]=0;r=g+56|0;s=c[r>>2]|0;c[r>>2]=0;a[sa>>0]=n;n=c[ia>>2]|0;i=Vi(f,g,sa)|0;k=c[Y>>2]|0;if(k|0)Rf(G,k);v=c[Z>>2]|0;c[Z>>2]=E;c[Y>>2]=0;if((a[j>>0]|0)==115){q=g+6|0;k=b[q>>1]|0;m=b[E+6>>1]|0;o=k<<16>>16;p=m<<16>>16;do if(k<<16>>16>16){if((p|0)>(o+49|0)){k=m;break}if((p|0)>(o+31|0)){k=p+1&65535;break}else{k=(d[33193+(p-o)>>0]|0)+p&65535;break}}else{if((o|0)>(p+49|0))break;if((o|0)>(p+31|0)){k=o+1&65535;break}else{k=(d[33193+(o-p)>>0]|0)+o&65535;break}}while(0);b[q>>1]=k}k=c[r>>2]|0;if(k|0)Qf(G,k);c[r>>2]=s;c[g+12>>2]=0;c[g+16>>2]=0;do if(!t){t=F+12|0;k=c[t>>2]|0;q=k+68|0;u=c[q>>2]|0;c[q>>2]=u+1;q=k+72|0;if(!(u+-1&u)){m=c[k>>2]|0;o=c[q>>2]|0;k=Mc(m,o,u<<3|4,0)|0;fa:do if(!((o|0)==0|(k|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,o);break fa}p=o;if(p>>>0<(c[m+296>>2]|0)>>>0)break;if(p>>>0>=(c[m+300>>2]|0)>>>0)break;Ca=m+292|0;c[o>>2]=c[Ca>>2];c[Ca>>2]=o;break fa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Ca=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Ca;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[q>>2]=k}else k=c[q>>2]|0;if(k|0)c[k+(u<<2)>>2]=-1;r=~u;k=c[t>>2]|0;q=k+68|0;s=c[q>>2]|0;c[q>>2]=s+1;q=k+72|0;if(!(s+-1&s)){m=c[k>>2]|0;o=c[q>>2]|0;k=Mc(m,o,s<<3|4,0)|0;ga:do if(!((o|0)==0|(k|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,o);break ga}p=o;if(p>>>0<(c[m+296>>2]|0)>>>0)break;if(p>>>0>=(c[m+300>>2]|0)>>>0)break;Ca=m+292|0;c[o>>2]=c[Ca>>2];c[Ca>>2]=o;break ga}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Ca=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Ca;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[q>>2]=k}else k=c[q>>2]|0;if(k|0)c[k+(s<<2)>>2]=-1;dn(f,g,r);p=F+136|0;k=c[p>>2]|0;if((c[(c[t>>2]|0)+48>>2]|0)>(k|0)){o=k+1|0;c[p>>2]=o;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=37;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=w;c[Ca+(k*20|0)+8>>2]=r;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else{zi(F,37,w,r,0)|0;o=c[p>>2]|0}en(f,g,w,0,0,va,~s,r);m=c[t>>2]|0;k=c[m+72>>2]|0;if(k|0)c[k+(s<<2)>>2]=c[p>>2];k=c[p>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[p>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=7;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=w;c[Ca+(k*20|0)+8>>2]=o;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else zi(F,7,w,o,0)|0;m=c[t>>2]|0;k=c[m+72>>2]|0;if(k|0)c[k+(u<<2)>>2]=c[p>>2];k=c[p>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[p>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=112;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=w;c[Ca+(k*20|0)+8>>2]=0;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0;break}else{zi(F,112,w,0,0)|0;break}}while(0);p=x;u=v;break ea}default:{C=f+40|0;B=c[C>>2]|0;A=B+1|0;c[C>>2]=B+2;C=F+136|0;i=c[C>>2]|0;D=F+12|0;if((c[(c[D>>2]|0)+48>>2]|0)>(i|0)){c[C>>2]=i+1;Ca=c[F+88>>2]|0;a[Ca+(i*20|0)>>0]=108;b[Ca+(i*20|0)+2>>1]=0;c[Ca+(i*20|0)+4>>2]=B;c[Ca+(i*20|0)+8>>2]=0;c[Ca+(i*20|0)+12>>2]=0;c[Ca+(i*20|0)+16>>2]=0;a[Ca+(i*20|0)+1>>0]=0}else i=zi(F,108,B,0,0)|0;c[g+20>>2]=i;i=g;while(1){k=c[i+52>>2]|0;if(!k)break;else i=k}k=i+8|0;c[k>>2]=c[k>>2]|32;a[sa>>0]=1;k=sa+4|0;c[k>>2]=B;c[sa+16>>2]=0;c[sa+8>>2]=0;c[sa+12>>2]=0;y=c[ia>>2]|0;i=Vi(f,E,sa)|0;if(i|0){g=0;xa=513;break da}i=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(i|0)){c[C>>2]=i+1;Ca=c[F+88>>2]|0;a[Ca+(i*20|0)>>0]=108;b[Ca+(i*20|0)+2>>1]=0;c[Ca+(i*20|0)+4>>2]=A;c[Ca+(i*20|0)+8>>2]=0;c[Ca+(i*20|0)+12>>2]=0;c[Ca+(i*20|0)+16>>2]=0;a[Ca+(i*20|0)+1>>0]=0}else i=zi(F,108,A,0,0)|0;c[g+24>>2]=i;c[Z>>2]=0;o=g+56|0;p=c[o>>2]|0;c[o>>2]=0;c[k>>2]=A;n=c[ia>>2]|0;i=Vi(f,g,sa)|0;x=c[Z>>2]|0;c[Z>>2]=E;m=g+6|0;k=b[E+6>>1]|0;if((b[m>>1]|0)>k<<16>>16)b[m>>1]=k;k=c[o>>2]|0;if(k|0)Qf(G,k);c[o>>2]=p;k=c[D>>2]|0;q=k+68|0;w=c[q>>2]|0;c[q>>2]=w+1;q=k+72|0;if(!(w+-1&w)){m=c[k>>2]|0;o=c[q>>2]|0;k=Mc(m,o,w<<3|4,0)|0;ha:do if(!((o|0)==0|(k|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,o);break ha}p=o;if(p>>>0<(c[m+296>>2]|0)>>>0)break;if(p>>>0>=(c[m+300>>2]|0)>>>0)break;Ca=m+292|0;c[o>>2]=c[Ca>>2];c[Ca>>2]=o;break ha}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Ca=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Ca;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[q>>2]=k}else k=c[q>>2]|0;if(k|0)c[k+(w<<2)>>2]=-1;u=~w;k=c[D>>2]|0;q=k+68|0;v=c[q>>2]|0;c[q>>2]=v+1;q=k+72|0;if(!(v+-1&v)){m=c[k>>2]|0;o=c[q>>2]|0;k=Mc(m,o,v<<3|4,0)|0;ia:do if(!((o|0)==0|(k|0)!=0)){do if(m|0){if(c[m+464>>2]|0){Lc(m,o);break ia}p=o;if(p>>>0<(c[m+296>>2]|0)>>>0)break;if(p>>>0>=(c[m+300>>2]|0)>>>0)break;Ca=m+292|0;c[o>>2]=c[Ca>>2];c[Ca>>2]=o;break ia}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Ca=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Ca;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[q>>2]=k}else k=c[q>>2]|0;if(k|0)c[k+(v<<2)>>2]=-1;t=~v;dn(f,g,u);k=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(k|0)){c[C>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=37;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=B;c[Ca+(k*20|0)+8>>2]=u;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else zi(F,37,B,u,0)|0;r=f+19|0;k=a[r>>0]|0;if(!(k<<24>>24)){Ca=f+44|0;q=(c[Ca>>2]|0)+1|0;c[Ca>>2]=q}else{q=k+-1<<24>>24;a[r>>0]=q;q=c[f+348+((q&255)<<2)>>2]|0}k=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(k|0)){Ca=k+1|0;c[C>>2]=Ca;s=c[F+88>>2]|0;a[s+(k*20|0)>>0]=122;b[s+(k*20|0)+2>>1]=0;c[s+(k*20|0)+4>>2]=B;c[s+(k*20|0)+8>>2]=q;c[s+(k*20|0)+12>>2]=0;c[s+(k*20|0)+16>>2]=0;a[s+(k*20|0)+1>>0]=0;s=k;k=Ca}else{s=zi(F,122,B,q,0)|0;k=c[C>>2]|0}if((c[(c[D>>2]|0)+48>>2]|0)>(k|0)){c[C>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=29;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=A;c[Ca+(k*20|0)+8>>2]=t;c[Ca+(k*20|0)+12>>2]=q;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else k=zi(F,29,A,t,q)|0;if(!(a[(c[F>>2]|0)+73>>0]|0)){Ca=c[F+88>>2]|0;a[Ca+(k*20|0)+1>>0]=-3;c[Ca+(k*20|0)+16>>2]=0}ja:do if(q|0){p=a[r>>0]|0;if((p&255)>=8)break;k=a[f+25>>0]|0;ka:do if(k<<24>>24){o=k&255;k=0;m=f+148|0;while(1){if((c[m+12>>2]|0)==(q|0))break;k=k+1|0;if((k|0)>=(o|0))break ka;else m=m+20|0}a[m+6>>0]=1;break ja}while(0);a[r>>0]=p+1<<24>>24;c[f+348+((p&255)<<2)>>2]=q}while(0);en(f,g,B,0,0,va,t,u);m=c[D>>2]|0;k=c[m+72>>2]|0;if(k|0)c[k+(v<<2)>>2]=c[C>>2];k=c[C>>2]|0;if((c[m+48>>2]|0)>(k|0)){c[C>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=7;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=B;c[Ca+(k*20|0)+8>>2]=s;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else zi(F,7,B,s,0)|0;m=c[D>>2]|0;k=c[m+72>>2]|0;if(k|0)c[k+(w<<2)>>2]=c[C>>2];k=c[C>>2]|0;if((c[m+48>>2]|0)>(k|0)){Ca=k+1|0;c[C>>2]=Ca;Ba=c[F+88>>2]|0;a[Ba+(k*20|0)>>0]=112;b[Ba+(k*20|0)+2>>1]=0;c[Ba+(k*20|0)+4>>2]=A;c[Ba+(k*20|0)+8>>2]=0;c[Ba+(k*20|0)+12>>2]=0;c[Ba+(k*20|0)+16>>2]=0;a[Ba+(k*20|0)+1>>0]=0;k=Ca}else{zi(F,112,A,0,0)|0;k=c[C>>2]|0}if((c[(c[D>>2]|0)+48>>2]|0)>(k|0)){c[C>>2]=k+1;Ca=c[F+88>>2]|0;a[Ca+(k*20|0)>>0]=112;b[Ca+(k*20|0)+2>>1]=0;c[Ca+(k*20|0)+4>>2]=B;c[Ca+(k*20|0)+8>>2]=0;c[Ca+(k*20|0)+12>>2]=0;c[Ca+(k*20|0)+16>>2]=0;a[Ca+(k*20|0)+1>>0]=0}else zi(F,112,B,0,0)|0;p=y;u=x;break ea}}}else{bn(f,g,va);p=0;i=0;u=0;n=0;j=g+4|0}while(0);j=a[j>>0]|0;la:do if((a[f+399>>0]|0)==2){o=c[Da>>2]|0;k=c[f>>2]|0;m=j<<24>>24!=116?33829:47328;switch(j<<24>>24){case 116:{j=27741;break}case 118:{j=27731;break}case 117:{j=27724;break}default:j=27718}c[la>>2]=p;c[la+4>>2]=n;c[la+8>>2]=m;c[la+12>>2]=j;n=Ff(k,33848,la)|0;k=c[Fa>>2]|0;m=o+136|0;j=c[m>>2]|0;if((c[(c[o+12>>2]|0)+48>>2]|0)>(j|0)){c[m>>2]=j+1;Da=c[o+88>>2]|0;a[Da+(j*20|0)>>0]=-89;b[Da+(j*20|0)+2>>1]=0;c[Da+(j*20|0)+4>>2]=k;c[Da+(j*20|0)+8>>2]=0;c[Da+(j*20|0)+12>>2]=0;c[Da+(j*20|0)+16>>2]=0;a[Da+(j*20|0)+1>>0]=0}else j=zi(o,167,k,0,0)|0;k=c[o>>2]|0;if(!(a[k+73>>0]|0)){if((j|0)<0)j=(c[m>>2]|0)+-1|0;k=c[o+88>>2]|0;m=k+(j*20|0)+1|0;if(a[m>>0]|0){Ai(o,k+(j*20|0)|0,n,-7);break}if(!n)break;c[k+(j*20|0)+16>>2]=n;a[m>>0]=-7;break}if(!n)break;do if(k|0){if(c[k+464>>2]|0){Lc(k,n);break la}j=n;if(j>>>0<(c[k+296>>2]|0)>>>0)break;if(j>>>0>=(c[k+300>>2]|0)>>>0)break;Da=k+292|0;c[n>>2]=c[Da>>2];c[Da>>2]=n;break la}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{Da=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-Da;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);if(c[wa>>2]&32){s=c[c[g>>2]>>2]|0;t=wk(G,s,1)|0;if(!t){g=u;i=7;xa=513;break}if((s|0)>0){m=G+8|0;j=t+20|0;k=0;while(1){Da=fn(f,g,k)|0;c[j>>2]=Da;if(!Da)c[j>>2]=c[m>>2];k=k+1|0;if((k|0)==(s|0))break;else j=j+4|0}}p=F+88|0;q=t+12|0;r=t;do{n=0;do{o=g+20+(n<<2)|0;m=c[o>>2]|0;if((m|0)<0)break;k=c[F>>2]|0;ma:do if(!(a[k+73>>0]|0)){c[(c[p>>2]|0)+(m*20|0)+8>>2]=s;c[t>>2]=(c[t>>2]|0)+1;j=c[p>>2]|0;k=j+(m*20|0)+1|0;if(!(a[k>>0]|0)){c[j+(m*20|0)+16>>2]=t;a[k>>0]=-9;break}else{Ai(F,j+(m*20|0)|0,t,-9);break}}else{c[11679]=s;j=c[t>>2]|0;c[t>>2]=j+1;if(c[k+464>>2]|0)break;c[t>>2]=j;if(j|0)break;j=c[q>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,t);break ma}if(r>>>0<(c[j+296>>2]|0)>>>0)break;if(r>>>0>=(c[j+300>>2]|0)>>>0)break;f=j+292|0;c[t>>2]=c[f>>2];c[f>>2]=t;break ma}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{f=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}}while(0);c[o>>2]=-1;n=n+1|0}while((n|0)<2);g=c[g+48>>2]|0}while((g|0)!=0);f=(c[t>>2]|0)+-1|0;c[t>>2]=f;if(f|0){g=u;xa=513;break}g=c[t+12>>2]|0;do if(g|0){if(c[g+464>>2]|0){Lc(g,t);g=u;xa=513;break da}j=t;if(j>>>0<(c[g+296>>2]|0)>>>0)break;if(j>>>0>=(c[g+300>>2]|0)>>>0)break;g=g+292|0;c[t>>2]=c[g>>2];c[g>>2]=t;g=u;xa=513;break da}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](t);g=u;xa=513;break}else{g=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);g=u;xa=513;break}}else{g=u;xa=513}}else xa=226;while(0);if((xa|0)==226){j=i|0?33772:33781;switch(a[g+4>>0]|0){case 116:{i=27741;break}case 118:{i=27731;break}case 117:{i=27724;break}default:i=27718}c[X>>2]=j;c[X+4>>2]=i;hg(f,33787,X);g=0;i=1;xa=513}if((xa|0)==513){c[h+8>>2]=c[va+8>>2];c[h+12>>2]=c[va+12>>2];if(g)Sf(G,g,1)}c[Fa>>2]=Ea;Fa=i;l=Ga;return Fa|0}else xa=1373;while(0);if((xa|0)==1373){c[Fa>>2]=Ea;g=1}i=c[Ba+28>>2]|0;do if(i|0){if(Ca|0){if(c[Ca+464>>2]|0){Lc(Ca,i);break}Fa=i;if(Fa>>>0>=(c[Ca+296>>2]|0)>>>0?Fa>>>0<(c[Ca+300>>2]|0)>>>0:0){Fa=Ca+292|0;c[i>>2]=c[Fa>>2];c[Fa>>2]=i;break}}if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{Fa=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);i=c[Ba+40>>2]|0;if(!i){Fa=g;l=Ga;return Fa|0}if(Ca|0){if(c[Ca+464>>2]|0){Lc(Ca,i);Fa=g;l=Ga;return Fa|0}Fa=i;if(Fa>>>0>=(c[Ca+296>>2]|0)>>>0?Fa>>>0<(c[Ca+300>>2]|0)>>>0:0){Fa=Ca+292|0;c[i>>2]=c[Fa>>2];c[Fa>>2]=i;Fa=g;l=Ga;return Fa|0}}if(!(c[2]|0)){pb[c[56>>2]&255](i);Fa=g;l=Ga;return Fa|0}else{Fa=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);Fa=g;l=Ga;return Fa|0}return 0}function Wi(b,d,f,g){b=b|0;d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0;do if(!d){do if(c[b+264>>2]|0)if(!(a[b+73>>0]|0))j=10;else{g=0;return g|0}else{if((e[b+268>>1]|0)>=80){h=b+292|0;i=c[h>>2]|0;if(i|0){c[h>>2]=c[i>>2];m=b+276|0;c[m>>2]=(c[m>>2]|0)+1;break}h=b+288|0;i=c[h>>2]|0;if(!i)h=2;else{c[h>>2]=c[i>>2];m=b+276|0;c[m>>2]=(c[m>>2]|0)+1;break}}else h=1;j=b+276+(h<<2)|0;c[j>>2]=(c[j>>2]|0)+1;j=10}while(0);if((j|0)==10)i=Ec(b,80,0)|0;if(!i){g=0;return g|0}else{c[i+4>>2]=1;c[i>>2]=1;d=i+8|0;j=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(j|0));d=i;h=i+52|0;j=24;break}}else{m=c[d>>2]|0;if((m+1|0)>>>0>(c[d+4>>2]|0)>>>0){l=Mc(b,d,((m<<1|1)*72|0)+8|0,0)|0;if(!l)break;if(((b|0)!=0?(h=l,h>>>0>=(c[b+296>>2]|0)>>>0):0)?h>>>0<(c[b+300>>2]|0)>>>0:0)h=e[b+268>>1]|0;else h=jb[c[64>>2]&255](l)|0;c[l+4>>2]=(((h+-80|0)>>>0)/72|0)+1;h=c[l>>2]|0;if((h|0)>(m|0)){do{d=l+8+(h*72|0)|0;h=h+-1|0;i=l+8+(h*72|0)|0;j=d+72|0;do{c[d>>2]=c[i>>2];d=d+4|0;i=i+4|0}while((d|0)<(j|0))}while((h|0)>(m|0));k=l;h=c[l>>2]|0;i=l}else{k=l;i=l}}else{k=d;h=m;i=d}c[i>>2]=h+1;d=k+8+(m*72|0)|0;j=d+72|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(j|0));d=k;h=k+8+(m*72|0)+44|0;j=24}while(0);if((j|0)==24)c[h>>2]=-1;if(a[b+73>>0]|0){ag(b,d);g=0;return g|0}i=(c[d>>2]|0)+-1|0;if((g|0)!=0?(c[g>>2]|0)!=0:0){c[d+8+(i*72|0)+8>>2]=Fi(b,g)|0;h=Fi(b,f)|0}else{c[d+8+(i*72|0)+8>>2]=Fi(b,f)|0;h=0}c[d+8+(i*72|0)+4>>2]=h;g=d;return g|0}function Xi(d,f,g,h,i,j,k,m,n){d=d|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;n=n|0;var o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+80|0;r=u+64|0;t=u;q=c[d>>2]|0;do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))s=9;else o=0;else{if((e[q+268>>1]|0)>=64){p=q+292|0;o=c[p>>2]|0;if(o|0){c[p>>2]=c[o>>2];q=q+276|0;c[q>>2]=(c[q>>2]|0)+1;break}p=q+288|0;o=c[p>>2]|0;if(!o)o=2;else{c[p>>2]=c[o>>2];q=q+276|0;c[q>>2]=(c[q>>2]|0)+1;break}}else o=1;s=q+276+(o<<2)|0;c[s>>2]=(c[s>>2]|0)+1;s=9}while(0);if((s|0)==9)o=Ec(q,64,0)|0;p=(o|0)==0?t:o;if(!f){f=c[d>>2]|0;c[r>>2]=0;c[r+4>>2]=0;f=Yi(f,154,r,0)|0;f=Mi(c[d>>2]|0,0,f)|0}c[p>>2]=f;a[p+4>>0]=119;c[p+8>>2]=m;c[p+12>>2]=0;c[p+16>>2]=0;c[p+20>>2]=-1;c[p+24>>2]=-1;b[p+6>>1]=0;if(!g){o=c[d>>2]|0;do if(!o){if(!(c[2]|0)){g=jb[c[52>>2]&255](80)|0;s=34;break}g=jb[c[68>>2]&255](80)|0;if((c[11829]|0)>>>0<80)c[11829]=80;o=46456;f=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)>0|(o|0)==0&f>>>0>0){r=c[11822]|0;m=Gt(f|0,o|0,g|0,((g|0)<0)<<31>>31|0)|0;q=z;c[11616]=(0>(q|0)|0==(q|0)&r>>>0>=m>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(g){f=jb[c[64>>2]&255](g)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;s=35}else s=35}else g=0}else{if(c[o+264>>2]|0){if(a[o+73>>0]|0){g=0;break}}else{if((e[o+268>>1]|0)>=80){f=o+292|0;g=c[f>>2]|0;if(g|0){c[f>>2]=c[g>>2];s=o+276|0;c[s>>2]=(c[s>>2]|0)+1;s=34;break}f=o+288|0;g=c[f>>2]|0;if(!g)g=2;else{c[f>>2]=c[g>>2];s=o+276|0;c[s>>2]=(c[s>>2]|0)+1;s=34;break}}else g=1;s=o+276+(g<<2)|0;c[s>>2]=(c[s>>2]|0)+1}g=Ec(o,80,0)|0;s=34}while(0);if((s|0)==34)if(!g)g=0;else s=35;if((s|0)==35){f=g;o=f+80|0;do{a[f>>0]=0;f=f+1|0}while((f|0)<(o|0))}}c[p+28>>2]=g;c[p+32>>2]=h;c[p+36>>2]=i;c[p+40>>2]=j;c[p+44>>2]=k;c[p+48>>2]=0;c[p+52>>2]=0;c[p+56>>2]=n;c[p+60>>2]=0;g=c[d>>2]|0;if(!(a[g+73>>0]|0)){t=p;l=u;return t|0}Sf(g,p,(p|0)!=(t|0)&1);t=0;l=u;return t|0}function Yi(d,f,g,h){d=d|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+16|0;o=u;c[o>>2]=0;p=(g|0)!=0;do if(p){if(((f|0)==134?(i=c[g>>2]|0,i|0):0)?Pd(i,o)|0:0){n=0;break}n=(c[g+4>>2]|0)+1|0}else n=0;while(0);k=n+48|0;do if(c[d+264>>2]|0)if(!(a[d+73>>0]|0))m=14;else{t=0;l=u;return t|0}else{if(!(0<0|(0==0?(e[d+268>>1]|0)>>>0>>0:0))){i=d+292|0;j=c[i>>2]|0;if(j|0){c[i>>2]=c[j>>2];q=d+276|0;c[q>>2]=(c[q>>2]|0)+1;q=j;break}i=d+288|0;j=c[i>>2]|0;if(!j)i=2;else{c[i>>2]=c[j>>2];q=d+276|0;c[q>>2]=(c[q>>2]|0)+1;q=j;break}}else i=1;m=d+276+(i<<2)|0;c[m>>2]=(c[m>>2]|0)+1;m=14}while(0);if((m|0)==14)q=Ec(d,k,0)|0;if(!q){t=q;l=u;return t|0}i=q;j=i+48|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(j|0));a[q>>0]=f;b[q+34>>1]=-1;do if(p){if(!n){c[q+4>>2]=8389632;c[q+8>>2]=c[o>>2];break}k=q+48|0;d=q+8|0;c[d>>2]=k;i=g+4|0;j=c[i>>2]|0;if(!j)i=0;else{Tt(k|0,c[g>>2]|0,j|0)|0;i=c[i>>2]|0}a[k+i>>0]=0;if(h|0?(t=c[d>>2]|0,r=a[t>>0]|0,(a[18220+(r&255)>>0]|0)<0):0){if(r<<24>>24==34){r=q+4|0;c[r>>2]=c[r>>2]|64}if(t|0?(s=a[t>>0]|0,(a[18220+(s&255)>>0]|0)<0):0){k=s<<24>>24==91?93:s;d=0;i=1;while(1){j=a[t+i>>0]|0;if(j<<24>>24==k<<24>>24){i=i+1|0;j=t+d|0;if((a[t+i>>0]|0)!=k<<24>>24)break;a[j>>0]=k}else a[t+d>>0]=j;d=d+1|0;i=i+1|0}a[j>>0]=0}}}while(0);c[q+24>>2]=1;t=q;l=u;return t|0}function Zi(a,b,d,e,f,g,h,i){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+16|0;k=p;o=c[a>>2]|0;if((b|0)==0?(j=(h|0)!=0,j|(i|0)!=0):0){c[k>>2]=j?33687:33690;hg(a,33696,k)}else n=4;if((n|0)==4?(m=Wi(o,b,d,e)|0,m|0):0){a=(c[m>>2]|0)+-1|0;if(c[f+4>>2]|0)c[m+8+(a*72|0)+12>>2]=Fi(o,f)|0;c[m+8+(a*72|0)+20>>2]=g;c[m+8+(a*72|0)+48>>2]=h;c[m+8+(a*72|0)+52>>2]=i;o=m;l=p;return o|0}if(h|0)Qf(o,h);do if(i|0){m=i+4|0;a=c[i>>2]|0;a:do if((c[m>>2]|0)>0){j=o+464|0;d=o+296|0;e=o+300|0;k=o+292|0;if(!o){b=0;while(1){a=c[a+(b<<3)>>2]|0;do if(a|0)if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{n=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}while(0);b=b+1|0;a=c[i>>2]|0;if((b|0)>=(c[m>>2]|0))break a}}else b=0;do{a=c[a+(b<<3)>>2]|0;do if(a|0){if(c[j>>2]|0){Lc(o,a);break}n=a;if(n>>>0>=(c[d>>2]|0)>>>0?n>>>0<(c[e>>2]|0)>>>0:0){c[a>>2]=c[k>>2];c[k>>2]=a;break}if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{n=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}while(0);b=b+1|0;a=c[i>>2]|0}while((b|0)<(c[m>>2]|0))}while(0);b:do if(a){do if(o|0){b=o+464|0;if(!(c[b>>2]|0)){j=a;if(j>>>0<(c[o+296>>2]|0)>>>0)break;if(j>>>0>=(c[o+300>>2]|0)>>>0)break;n=o+292|0;c[a>>2]=c[n>>2];c[n>>2]=a}else Lc(o,a);a=b;n=41;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);n=39;break}else{n=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);n=39;break}}else n=39;while(0);if((n|0)==39)if(o){a=o+464|0;n=41}if((n|0)==41){if(c[a>>2]|0){Lc(o,i);break}n=i;if(n>>>0>=(c[o+296>>2]|0)>>>0?n>>>0<(c[o+300>>2]|0)>>>0:0){n=o+292|0;c[i>>2]=c[n>>2];c[n>>2]=i;break}}if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{n=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);if(!g){o=0;l=p;return o|0}Sf(o,g,1);o=0;l=p;return o|0}function _i(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0;w=l;l=l+32|0;v=w+16|0;u=w;r=w+20|0;c[r>>2]=e;c[r+4>>2]=f;c[r+8>>2]=g;a:do if(!e)h=0;else{q=0;h=0;s=e;b:while(1){p=c[s+4>>2]|0;if((p|0)>0)i=0;else break;c:while(1){do if((p|0)==(d[33533+(i*3|0)+1>>0]|0|0)){j=c[s>>2]|0;k=33554+(d[33533+(i*3|0)>>0]|0)|0;if(!j)j=((k|0)!=0)<<31>>31;else{if(!k)break;else n=p;while(1){m=a[j>>0]|0;if(!(m<<24>>24)){t=9;break}m=a[17324+(m&255)>>0]|0;o=a[17324+(d[k>>0]|0)>>0]|0;if(m<<24>>24!=o<<24>>24){j=o;break}if((n|0)>1){j=j+1|0;k=k+1|0;n=n+-1|0}else break c}if((t|0)==9){t=0;m=0;j=a[17324+(d[k>>0]|0)>>0]|0}j=(m&255)-(j&255)|0}if(!j)break c}while(0);i=i+1|0;if((i|0)>=7)break b}h=d[33533+(i*3|0)+2>>0]|0|h;if((i|0)>6)break;q=q+1|0;if((q|0)>=3)break a;s=c[r+(q<<2)>>2]|0;if(!s)break a}h=h|64}while(0);if(!((h&33|0)!=33&(h&64|0)==0)){c[u>>2]=e;c[u+4>>2]=f;c[u+8>>2]=(g|0)==0?19150:19149;c[u+12>>2]=g;hg(b,33588,u);v=1;l=w;return v|0}if((h&32|0)==0|(h&24|0)==8){v=h;l=w;return v|0}hg(b,33632,v);v=1;l=w;return v|0}function $i(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;X=l;l=l+128|0;E=X+40|0;C=X+32|0;w=X+24|0;v=X+16|0;t=X+8|0;s=X;D=X+88|0;T=X+84|0;U=X+80|0;F=X+48|0;c[T>>2]=0;c[U>>2]=0;W=c[f>>2]|0;a:do if((c[f+36>>2]|0)==0?(H=W+73|0,(a[H>>0]|0)==0):0){m=g+8|0;j=c[m>>2]|0;if(!j)i=g+12|0;else{k=c[W+16>>2]|0;i=0;while(1)if((c[k+(i<<4)+12>>2]|0)==(j|0))break;else i=i+1|0;i=k+(i<<4)|0}V=oj(f,0,c[g+16>>2]|0,c[i>>2]|0)|0;i=c[f>>2]|0;j=g+24|0;k=c[j>>2]|0;do if(k|0){if(!((i|0)!=0?(c[i+464>>2]|0)!=0:0))O=11;if((O|0)==11?(R=k+32|0,S=(c[R>>2]|0)+-1|0,c[R>>2]=S,S|0):0)break;Tf(i,k)}while(0);c[j>>2]=V;if(!V){pj(f,m)|0;i=0;break}S=V+32|0;c[S>>2]=(c[S>>2]|0)+1;if(!(pj(f,m)|0)){i=c[f>>2]|0;r=c[i+28>>2]|0;do if((r&262144|0)!=0?(n=c[(c[i+16>>2]|0)+28>>2]|0,(a[f+146>>0]|0)==0):0){q=c[V+72>>2]|0;if((q|0)!=(n|0)?(o=c[n+48>>2]|0,(o|0)!=0):0){p=V+68|0;i=0;do{n=c[o+8>>2]|0;if((c[n+24>>2]|0)==(q|0)){k=c[n+4>>2]|0;m=c[V>>2]|0;S=a[k>>0]|0;j=(d[17324+(S&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0;if(!(S<<24>>24==0|(j|0)!=0))do{k=k+1|0;m=m+1|0;S=a[k>>0]|0;j=(d[17324+(S&255)>>0]|0)-(d[17324+(d[m>>0]|0)>>0]|0)|0}while(!(S<<24>>24==0|(j|0)!=0));if(!j){if(!i)i=c[p>>2]|0;c[n+32>>2]=i;i=n}}o=c[o>>2]|0}while((o|0)!=0);if(!i)O=30}else O=30;if((O|0)==30){i=c[V+68>>2]|0;if(!i){i=0;j=0;break}}j=0;k=i;do{if((a[k+8>>0]|0)==109)j=d[k+9>>0]|j;k=c[k+32>>2]|0}while((k|0)!=0)}else{i=0;j=0}while(0);N=j|0?i:0;k=V+12|0;I=(c[k>>2]|0)!=0;m=(N|0)!=0;if(m)y=1;else{if(!(r&16384))i=0;else{if(!(c[($f((c[V+72>>2]|0)+56|0,c[V>>2]|0,0)|0)+8>>2]|0))i=(c[V+16>>2]|0)!=0;else i=1;i=i&1}y=(i|0)!=0}if(!(Aj(f,V)|0)){K=V+56|0;if(c[K>>2]|0){j=c[f>>2]|0;i=V+64|0;while(1){i=c[i>>2]|0;if((c[i>>2]|0)==(j|0))break;else i=i+24|0}if(c[(c[c[i+4>>2]>>2]|0)+52>>2]|0)O=46}else O=46;do if((O|0)==46){x=V+36|0;if((c[x>>2]&1|0?(c[(c[f>>2]|0)+28>>2]&1|0)==0:0)?(a[f+18>>0]|0)==0:0)break;if(!m?c[k>>2]|0:0){c[t>>2]=c[V>>2];hg(f,32639,t);i=0;break a}j=c[V+72>>2]|0;k=c[W+16>>2]|0;if(!j)z=-1e6;else{i=0;while(1)if((c[k+(i<<4)+12>>2]|0)==(j|0)){z=i;break}else i=i+1|0}m=c[V>>2]|0;i=c[k+(z<<4)>>2]|0;j=c[f>>2]|0;b:do if(((a[j+157>>0]|0)==0?(a[f+400>>0]|0)==0:0)?(u=c[j+304>>2]|0,(u|0)!=0):0){i=ob[u&255](c[j+308>>2]|0,9,m,0,i,c[f+440>>2]|0)|0;switch(i|0){case 2:case 0:break b;case 1:{hg(f,24761,v);c[f+12>>2]=23;i=0;break a}default:{hg(f,24776,w);c[f+12>>2]=1;i=0;break a}}}else i=0;while(0);u=f+40|0;G=c[u>>2]|0;A=G+1|0;c[u>>2]=A;c[g+52>>2]=G;v=V+8|0;j=c[v>>2]|0;if(!j)k=0;else{k=0;m=A;do{m=m+1|0;k=k+1|0;j=c[j+20>>2]|0}while((j|0)!=0);c[u>>2]=m}if(I){S=f+440|0;R=c[S>>2]|0;c[S>>2]=c[V>>2];S=f}else{R=0;S=0}B=f+8|0;j=c[B>>2]|0;if(!j){do if(!(c[f+120>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);j=yi(f)|0;if(!j)i=0;else{Q=j;O=71}}else{Q=j;O=71}c:do if((O|0)==71){P=f+18|0;if(!(a[P>>0]|0)){M=Q+145|0;L=d[M>>0]|d[M+1>>0]<<8|16;a[M>>0]=L;a[M+1>>0]=L>>8}J=f+120|0;s=c[J>>2]|0;s=(s|0)==0?f:s;j=s+92|0;m=c[j>>2]|0;t=1<>2]=m|t;if((z|0)!=1)break;r=c[s>>2]|0;j=r+16|0;if(c[(c[j>>2]|0)+20>>2]|0)break;if(a[s+399>>0]|0)break;m=fg(c[r>>2]|0,0,r,D,0,542)|0;if(m|0){hg(s,21111,C);c[s+12>>2]=m;break}M=c[D>>2]|0;c[(c[j>>2]|0)+20>>2]=M;j=c[r+84>>2]|0;n=c[M+4>>2]|0;c[n+4>>2]=c[M>>2];do if(!(b[n+22>>1]&2)){o=n+32|0;p=n+36|0;q=(c[o>>2]|0)-(c[p>>2]|0)|0;do if((j+-512|0)>>>0<65025){if(j+-1&j|0)break;c[o>>2]=j;m=n+80|0;j=c[m>>2]|0;if(!j)break;j=j+-4|0;c[m>>2]=j;M=j;do if(!(M>>>0>=(c[11662]|0)>>>0&M>>>0<(c[11663]|0)>>>0)){M=jb[c[64>>2]&255](j)|0;c[11824]=(c[11824]|0)-M;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{M=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-M;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else{c[11823]=(c[11823]|0)+-1;c[j>>2]=c[11665];c[11665]=j;M=(c[11666]|0)+1|0;c[11666]=M;c[11667]=(M|0)<(c[11661]|0)&1}while(0);c[m>>2]=0}while(0);M=gg(c[n>>2]|0,o,q)|0;c[p>>2]=(c[o>>2]|0)-(q&65535);if((M|0)!=7)break;j=r+73|0;do if(!(a[j>>0]|0)){if(a[r+74>>0]|0)break;a[j>>0]=1;if((c[r+172>>2]|0)>0)c[r+256>>2]=1;M=r+264|0;c[M>>2]=(c[M>>2]|0)+1}while(0);break d}while(0)}while(0);M=s+88|0;c[M>>2]=c[M>>2]|t;M=s+20|0;a[M>>0]=a[M>>0]|1;if(I){$m(f,V,h,G);c[U>>2]=G;c[T>>2]=G}M=F+8|0;c[M>>2]=0;c[M+4>>2]=0;c[M+8>>2]=0;c[M+12>>2]=0;c[M+16>>2]=0;c[M+20>>2]=0;c[F>>2]=f;c[F+4>>2]=g;do if(h){m=F+28|0;b[m>>1]=0;c[D>>2]=f;c[D+4>>2]=184;c[D+8>>2]=185;c[D+12>>2]=0;c[D+24>>2]=F;n=h+24|0;j=f+408|0;M=(c[j>>2]|0)+(c[n>>2]|0)|0;c[j>>2]=M;j=c[(c[f>>2]|0)+112>>2]|0;if((j|0)<(M|0)){c[E>>2]=j;hg(f,24905,E);i=0;break c}$j(D,h)|0;j=c[D>>2]|0;M=j+408|0;c[M>>2]=(c[M>>2]|0)-(c[n>>2]|0);if(b[m>>1]&16){M=h+4|0;c[M>>2]=c[M>>2]|2}if((c[F+24>>2]|0)<=0?(c[j+36>>2]|0)<=0:0)break;else{i=0;break c}}while(0);M=W+28|0;do if(c[M>>2]&128){m=f+44|0;j=(c[m>>2]|0)+1|0;c[m>>2]=j;m=Q+136|0;n=c[m>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;L=c[Q+88>>2]|0;a[L+(n*20|0)>>0]=67;b[L+(n*20|0)+2>>1]=0;c[L+(n*20|0)+4>>2]=0;c[L+(n*20|0)+8>>2]=j;c[L+(n*20|0)+12>>2]=0;c[L+(n*20|0)+16>>2]=0;a[L+(n*20|0)+1>>0]=0;L=j;break}else{zi(Q,67,0,j,0)|0;L=j;break}}else L=-1;while(0);do if(y|((h|0)!=0|(i|0)!=0))O=131;else{if(c[K>>2]|0){O=131;break}i=V+28|0;qk(f,z,c[i>>2]|0,1,c[V>>2]|0);do if(!(c[x>>2]&32)){j=c[i>>2]|0;m=c[V>>2]|0;k=Q+136|0;i=c[k>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(i|0)){c[k>>2]=i+1;V=c[Q+88>>2]|0;a[V+(i*20|0)>>0]=-123;b[V+(i*20|0)+2>>1]=0;c[V+(i*20|0)+4>>2]=j;c[V+(i*20|0)+8>>2]=z;c[V+(i*20|0)+12>>2]=L;c[V+(i*20|0)+16>>2]=0;a[V+(i*20|0)+1>>0]=0}else i=zi(Q,133,j,z,L)|0;if(a[(c[Q>>2]|0)+73>>0]|0)break;if((i|0)<0)i=(c[k>>2]|0)+-1|0;j=c[Q+88>>2]|0;k=j+(i*20|0)+1|0;if(a[k>>0]|0){Ai(Q,j+(i*20|0)|0,m,-1);break}if(!m)break;c[j+(i*20|0)+16>>2]=m;a[k>>0]=-1}while(0);i=c[v>>2]|0;if(!i){i=0;break}m=Q+136|0;n=Q+12|0;o=Q+88|0;do{j=c[i+44>>2]|0;k=c[m>>2]|0;if((c[(c[n>>2]|0)+48>>2]|0)>(k|0)){c[m>>2]=k+1;V=c[o>>2]|0;a[V+(k*20|0)>>0]=-123;b[V+(k*20|0)+2>>1]=0;c[V+(k*20|0)+4>>2]=j;c[V+(k*20|0)+8>>2]=z;c[V+(k*20|0)+12>>2]=0;c[V+(k*20|0)+16>>2]=0;a[V+(k*20|0)+1>>0]=0}else zi(Q,133,j,z,0)|0;i=c[i+20>>2]|0}while((i|0)!=0);i=0}while(0);do if((O|0)==131){s=y|(b[F+28>>1]&64)!=0?1044:1052;e:do if(!(c[x>>2]&32)){i=f+44|0;m=(c[i>>2]|0)+1|0;c[i>>2]=m;i=Q+136|0;j=c[i>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;v=c[Q+88>>2]|0;a[v+(j*20|0)>>0]=70;b[v+(j*20|0)+2>>1]=0;c[v+(j*20|0)+4>>2]=0;c[v+(j*20|0)+8>>2]=m;c[v+(j*20|0)+12>>2]=0;c[v+(j*20|0)+16>>2]=0;a[v+(j*20|0)+1>>0]=0;v=0;E=0;x=1;w=0;i=0;break}else{zi(Q,70,0,m,0)|0;v=0;E=0;x=1;w=0;i=0;break}}else{i=c[v>>2]|0;f:do if(!i)i=0;else while(1){if((a[i+55>>0]&3)==2)break f;i=c[i+20>>2]|0;if(!i){i=0;break}}while(0);q=b[i+50>>1]|0;p=f+44|0;j=c[p>>2]|0;r=j+1|0;n=q<<16>>16;c[p>>2]=j+n;p=c[u>>2]|0;c[u>>2]=p+1;j=Q+136|0;m=c[j>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(m|0)){c[j>>2]=m+1;F=c[Q+88>>2]|0;a[F+(m*20|0)>>0]=108;b[F+(m*20|0)+2>>1]=0;c[F+(m*20|0)+4>>2]=p;c[F+(m*20|0)+8>>2]=n;c[F+(m*20|0)+12>>2]=0;c[F+(m*20|0)+16>>2]=0;a[F+(m*20|0)+1>>0]=0}else m=zi(Q,108,p,n,0)|0;j=c[B>>2]|0;o=rk(f,i)|0;if(!o){v=m;m=0;E=p;x=q;w=r;break}n=c[j>>2]|0;if(!(a[n+73>>0]|0)){E=c[j+88>>2]|0;v=(c[j+136>>2]|0)+-1|0;a[E+(v*20|0)+1>>0]=-9;c[E+(v*20|0)+16>>2]=o;v=m;m=0;E=p;x=q;w=r;break}if(c[n+464>>2]|0){v=m;m=0;E=p;x=q;w=r;break}F=(c[o>>2]|0)+-1|0;c[o>>2]=F;if(F|0){v=m;m=0;E=p;x=q;w=r;break}j=c[o+12>>2]|0;do if(j|0){if(c[j+464>>2]|0){Lc(j,o);v=m;m=0;E=p;x=q;w=r;break e}n=o;if(n>>>0<(c[j+296>>2]|0)>>>0)break;if(n>>>0>=(c[j+300>>2]|0)>>>0)break;v=j+292|0;c[o>>2]=c[v>>2];c[v>>2]=o;v=m;m=0;E=p;x=q;w=r;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);v=m;m=0;E=p;x=q;w=r;break}else{v=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);v=m;m=0;E=p;x=q;w=r;break}}while(0);D=Tl(f,g,h,0,0,s,A)|0;if(!D){i=0;break c}y=D+24|0;u=c[y>>2]|0;y=c[y+4>>2]|0;C=a[D+49>>0]|0;do if(c[M>>2]&128|0){j=Q+136|0;n=c[j>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(n|0)){c[j>>2]=n+1;F=c[Q+88>>2]|0;a[F+(n*20|0)>>0]=80;b[F+(n*20|0)+2>>1]=0;c[F+(n*20|0)+4>>2]=L;c[F+(n*20|0)+8>>2]=1;c[F+(n*20|0)+12>>2]=0;c[F+(n*20|0)+16>>2]=0;a[F+(n*20|0)+1>>0]=0;break}else{zi(Q,80,L,1,0)|0;break}}while(0);A=(i|0)!=0;do if(A){n=x<<16>>16;if(x<<16>>16<=0){r=w;break}o=i+4|0;j=0;do{Ek(Q,V,G,b[(c[o>>2]|0)+(j<<1)>>1]|0,j+w|0);j=j+1|0}while((j|0)!=(n|0));r=w}else{t=f+44|0;j=c[t>>2]|0;n=j+1|0;r=c[B>>2]|0;o=f+148|0;p=a[f+25>>0]|0;g:do if(!(p<<24>>24))O=173;else{s=p&255;p=0;q=o;while(1){if((c[q>>2]|0)==(G|0)?(b[q+4>>1]|0)==-1:0)break;p=p+1|0;if((p|0)>=(s|0)){O=173;break g}else q=q+20|0}p=f+64|0;n=c[p>>2]|0;c[p>>2]=n+1;c[q+16>>2]=n;n=c[q+12>>2]|0;p=0;while(1){if((c[o+12>>2]|0)==(n|0))a[o+6>>0]=0;p=p+1|0;if((p|0)==(s|0))break;else o=o+20|0}}while(0);if((O|0)==173){Ek(r,V,G,-1,n);Tk(f,G,-1,n);j=c[t>>2]|0}if((n|0)<=(j|0)){r=n;break}c[t>>2]=n;r=n}while(0);z=C<<24>>24!=0;h:do if(z){n=k+2|0;o=((n|0)<0)<<31>>31;i:do if(c[W+264>>2]|0){if(!(a[H>>0]|0))O=185}else{do if(0>>0|(0==(o|0)?(e[W+268>>1]|0)>>>0>>0:0))i=1;else{j=W+292|0;i=c[j>>2]|0;if(i|0){c[j>>2]=c[i>>2];O=W+276|0;c[O>>2]=(c[O>>2]|0)+1;O=186;break i}j=W+288|0;i=c[j>>2]|0;if(!i){i=2;break}c[j>>2]=c[i>>2];O=W+276|0;c[O>>2]=(c[O>>2]|0)+1;O=186;break i}while(0);O=W+276+(i<<2)|0;c[O>>2]=(c[O>>2]|0)+1;O=185}while(0);if((O|0)==185){i=Ec(W,n,o)|0;O=186}do if((O|0)==186){if(!i)break;O=k+1|0;Vt(i|0,1,O|0)|0;a[i+O>>0]=0;if((u|0)>-1)a[i+(u-G)>>0]=0;if((y|0)>-1)a[i+(y-G)>>0]=0;do if(v|0){j=c[Q>>2]|0;if(a[j+73>>0]|0)break;O=c[Q+88>>2]|0;F=O+(v*20|0)+1|0;H=O+(v*20|0)+16|0;Wf(j,a[F>>0]|0,c[H>>2]|0);a[F>>0]=0;c[H>>2]=0;a[O+(v*20|0)>>0]=-90}while(0);j=c[Q+12>>2]|0;p=j+68|0;q=c[p>>2]|0;c[p>>2]=q+1;p=j+72|0;if(!(q+-1&q)){k=c[j>>2]|0;n=c[p>>2]|0;j=Mc(k,n,q<<3|4,0)|0;j:do if(!((n|0)==0|(j|0)!=0)){do if(k|0){if(c[k+464>>2]|0){Lc(k,n);break j}o=n;if(o>>>0<(c[k+296>>2]|0)>>>0)break;if(o>>>0>=(c[k+300>>2]|0)>>>0)break;O=k+292|0;c[n>>2]=c[O>>2];c[O>>2]=n;break j}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{O=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-O;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0);c[p>>2]=j}else j=c[p>>2]|0;if(j|0)c[j+(q<<2)>>2]=-1;t=~q;q=x;s=r;break h}while(0);Ul(D);i=0;break c}else{do if(!A){i=Q+136|0;j=c[i>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(j|0)){c[i>>2]=j+1;i=c[Q+88>>2]|0;a[i+(j*20|0)>>0]=-113;b[i+(j*20|0)+2>>1]=0;c[i+(j*20|0)+4>>2]=m;c[i+(j*20|0)+8>>2]=r;c[i+(j*20|0)+12>>2]=0;c[i+(j*20|0)+16>>2]=0;a[i+(j*20|0)+1>>0]=0;i=1;j=r;break}else{zi(Q,143,m,r,0)|0;i=1;j=r;break}}else{s=f+44|0;j=(c[s>>2]|0)+1|0;c[s>>2]=j;s=x<<16>>16;p=Fk(c[f>>2]|0,i)|0;q=Q+136|0;i=c[q>>2]|0;r=Q+12|0;if((c[(c[r>>2]|0)+48>>2]|0)>(i|0)){c[q>>2]=i+1;O=c[Q+88>>2]|0;a[O+(i*20|0)>>0]=99;b[O+(i*20|0)+2>>1]=0;c[O+(i*20|0)+4>>2]=w;c[O+(i*20|0)+8>>2]=s;c[O+(i*20|0)+12>>2]=j;c[O+(i*20|0)+16>>2]=0;a[O+(i*20|0)+1>>0]=0}else i=zi(Q,99,w,s,j)|0;k=c[Q>>2]|0;k:do if(!(a[k+73>>0]|0)){if((i|0)<0)i=(c[q>>2]|0)+-1|0;k=c[Q+88>>2]|0;n=k+(i*20|0)|0;do if(x<<16>>16<=-1){o=k+(i*20|0)+1|0;if(a[o>>0]|0)break;if(x<<16>>16==-3){c[k+(i*20|0)+16>>2]=p;a[o>>0]=-3;break k}if(!p)break k;c[k+(i*20|0)+16>>2]=p;a[o>>0]=x;if(x<<16>>16!=-12)break k;O=p+12|0;c[O>>2]=(c[O>>2]|0)+1;break k}while(0);Ai(Q,n,p,s)}else{if(x<<16>>16==-12)break;Wf(k,s,p)}while(0);i=c[q>>2]|0;if((c[(c[r>>2]|0)+48>>2]|0)>(i|0)){c[q>>2]=i+1;O=c[Q+88>>2]|0;a[O+(i*20|0)>>0]=127;b[O+(i*20|0)+2>>1]=0;c[O+(i*20|0)+4>>2]=E;c[O+(i*20|0)+8>>2]=j;c[O+(i*20|0)+12>>2]=w;c[O+(i*20|0)+16>>2]=0;a[O+(i*20|0)+1>>0]=0}else i=zi(Q,127,E,j,w)|0;if(a[(c[Q>>2]|0)+73>>0]|0){i=0;break}O=c[Q+88>>2]|0;a[O+(i*20|0)+1>>0]=-3;c[O+(i*20|0)+16>>2]=s;i=0}while(0);Ul(D);t=0;q=i;i=0;s=j}while(0);do if(!I){if(C<<24>>24!=2){zl(f,V,105,8,G,i,T,U)|0;break}o=Q+136|0;j=c[o>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;k=c[Q+88>>2]|0;a[k+(j*20|0)>>0]=20;k=k+(j*20|0)+1|0;n=k+19|0;do{a[k>>0]=0;k=k+1|0}while((k|0)<(n|0))}else j=zi(Q,20,0,0,0)|0;zl(f,V,105,8,G,i,T,U)|0;k=c[o>>2]|0;if(!(a[(c[Q>>2]|0)+73>>0]|0))j=(c[Q+88>>2]|0)+(((j|0)<0?k+-1|0:j)*20|0)|0;else j=46708;c[j+8>>2]=k}while(0);do if(!z){p=Q+136|0;n=c[p>>2]|0;o=Q+12|0;j=(c[(c[o>>2]|0)+48>>2]|0)>(n|0);if(!A)if(j){c[p>>2]=n+1;O=c[Q+88>>2]|0;a[O+(n*20|0)>>0]=42;b[O+(n*20|0)+2>>1]=0;c[O+(n*20|0)+4>>2]=m;c[O+(n*20|0)+8>>2]=0;c[O+(n*20|0)+12>>2]=s;c[O+(n*20|0)+16>>2]=0;a[O+(n*20|0)+1>>0]=0;O=268;break}else{n=zi(Q,42,m,0,s)|0;O=268;break}if(j){k=n+1|0;c[p>>2]=k;O=c[Q+88>>2]|0;a[O+(n*20|0)>>0]=37;b[O+(n*20|0)+2>>1]=0;c[O+(n*20|0)+4>>2]=E;c[O+(n*20|0)+8>>2]=0;c[O+(n*20|0)+12>>2]=0;c[O+(n*20|0)+16>>2]=0;a[O+(n*20|0)+1>>0]=0}else{n=zi(Q,37,E,0,0)|0;k=c[p>>2]|0}j=(c[(c[o>>2]|0)+48>>2]|0)>(k|0);if(!(c[K>>2]|0))if(j){c[p>>2]=k+1;O=c[Q+88>>2]|0;a[O+(k*20|0)>>0]=122;b[O+(k*20|0)+2>>1]=0;c[O+(k*20|0)+4>>2]=E;c[O+(k*20|0)+8>>2]=s;c[O+(k*20|0)+12>>2]=0;c[O+(k*20|0)+16>>2]=0;a[O+(k*20|0)+1>>0]=0;O=268;break}else{zi(Q,122,E,s,0)|0;O=268;break}else if(j){c[p>>2]=k+1;O=c[Q+88>>2]|0;a[O+(k*20|0)>>0]=96;b[O+(k*20|0)+2>>1]=0;c[O+(k*20|0)+4>>2]=E;c[O+(k*20|0)+8>>2]=0;c[O+(k*20|0)+12>>2]=s;c[O+(k*20|0)+16>>2]=0;a[O+(k*20|0)+1>>0]=0;O=268;break}else{zi(Q,96,E,0,s)|0;O=268;break}}else{if(c[K>>2]|0){n=0;O=269;break}m=c[T>>2]|0;if(!(a[i+(m-G)>>0]|0)){n=0;O=268;break}k=Q+136|0;j=c[k>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(j|0)){c[k>>2]=j+1;O=c[Q+88>>2]|0;a[O+(j*20|0)>>0]=29;b[O+(j*20|0)+2>>1]=0;c[O+(j*20|0)+4>>2]=m;c[O+(j*20|0)+8>>2]=t;c[O+(j*20|0)+12>>2]=s;c[O+(j*20|0)+16>>2]=0;a[O+(j*20|0)+1>>0]=0}else j=zi(Q,29,m,t,s)|0;if(a[(c[Q>>2]|0)+73>>0]|0){n=0;O=268;break}n=c[Q+88>>2]|0;a[n+(j*20|0)+1>>0]=-3;c[n+(j*20|0)+16>>2]=q<<16>>16;n=0;O=268}while(0);do if((O|0)==268){if(c[K>>2]|0){O=269;break}Fm(f,V,N,c[T>>2]|0,c[U>>2]|0,s,q,(a[P>>0]|0)==0&1,10,C,y)}while(0);do if((O|0)==269){j=c[V+64>>2]|0;l:do if(!j)r=0;else while(1){if((c[j>>2]|0)==(W|0)){r=j;break l}j=c[j+24>>2]|0;if(!j){r=0;break}}while(0);o=c[J>>2]|0;o=(o|0)==0?f:o;p=o+404|0;k=c[p>>2]|0;q=o+452|0;m=c[q>>2]|0;m:do if((k|0)>0){j=0;while(1){if((c[m+(j<<2)>>2]|0)==(V|0))break m;j=j+1|0;if((j|0)>=(k|0)){O=275;break}}}else O=275;while(0);n:do if((O|0)==275){do if(!(Nc()|0)){j=(k<<2)+4|0;j=Oc(m,j,((j|0)<0)<<31>>31)|0;if(!j)break;c[q>>2]=j;U=c[p>>2]|0;c[p>>2]=U+1;c[j+(U<<2)>>2]=V;break n}while(0);j=c[o>>2]|0;k=j+73|0;if(a[k>>0]|0)break;if(a[j+74>>0]|0)break;a[k>>0]=1;if((c[j+172>>2]|0)>0)c[j+256>>2]=1;V=j+264|0;c[V>>2]=(c[V>>2]|0)+1}while(0);o=Q+136|0;j=c[o>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(j|0)){c[o>>2]=j+1;V=c[Q+88>>2]|0;a[V+(j*20|0)>>0]=12;b[V+(j*20|0)+2>>1]=0;c[V+(j*20|0)+4>>2]=0;c[V+(j*20|0)+8>>2]=1;c[V+(j*20|0)+12>>2]=s;c[V+(j*20|0)+16>>2]=0;a[V+(j*20|0)+1>>0]=0}else j=zi(Q,12,0,1,s)|0;do if(!(a[(c[Q>>2]|0)+73>>0]|0)){if((j|0)<0)j=(c[o>>2]|0)+-1|0;k=c[Q+88>>2]|0;m=k+(j*20|0)+1|0;if(a[m>>0]|0){Ai(Q,k+(j*20|0)|0,r,-12);break}if(!r)break;c[k+(j*20|0)+16>>2]=r;a[m>>0]=-12;V=r+12|0;c[V>>2]=(c[V>>2]|0)+1}while(0);j=c[o>>2]|0;if((j|0)>0)b[(c[Q+88>>2]|0)+((j+-1|0)*20|0)+2>>1]=2;U=c[J>>2]|0;V=(U|0)==0;a[(V?f:U)+21>>0]=1;if(C<<24>>24!=1|V^1)break;a[f+20>>0]=0}while(0);if(z){j=c[(c[Q+12>>2]|0)+72>>2]|0;if(j|0)c[j+(~t<<2)>>2]=c[Q+136>>2];Ul(D);break}if(A){j=n+1|0;k=Q+136|0;m=c[k>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(m|0)){V=m+1|0;c[k>>2]=V;k=c[Q+88>>2]|0;a[k+(m*20|0)>>0]=7;b[k+(m*20|0)+2>>1]=0;c[k+(m*20|0)+4>>2]=E;c[k+(m*20|0)+8>>2]=j;c[k+(m*20|0)+12>>2]=0;c[k+(m*20|0)+16>>2]=0;a[k+(m*20|0)+1>>0]=0;k=V}else{zi(Q,7,E,j,0)|0;k=c[k>>2]|0}if(!(a[(c[Q>>2]|0)+73>>0]|0))j=(c[Q+88>>2]|0)+(((n|0)<0?k+-1|0:n)*20|0)|0;else j=46708;c[j+8>>2]=k;break}else{j=Q+136|0;k=c[j>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(k|0)){V=k+1|0;c[j>>2]=V;U=c[Q+88>>2]|0;a[U+(k*20|0)>>0]=13;b[U+(k*20|0)+2>>1]=0;c[U+(k*20|0)+4>>2]=0;c[U+(k*20|0)+8>>2]=n;c[U+(k*20|0)+12>>2]=0;c[U+(k*20|0)+16>>2]=0;a[U+(k*20|0)+1>>0]=0;k=V}else{zi(Q,13,0,n,0)|0;k=c[j>>2]|0}if(!(a[(c[Q>>2]|0)+73>>0]|0))j=(c[Q+88>>2]|0)+(((n|0)<0?k+-1|0:n)*20|0)|0;else j=46708;c[j+8>>2]=k;break}}while(0);do if(!(a[P>>0]|0)){if(c[f+124>>2]|0)break;if(!(c[f+116>>2]|0))break;Jl(f)}while(0);if(!(c[M>>2]&128))break;if(a[P>>0]|0)break;if(c[f+124>>2]|0)break;j=Q+136|0;k=c[j>>2]|0;if((c[(c[Q+12>>2]|0)+48>>2]|0)>(k|0)){c[j>>2]=k+1;f=c[Q+88>>2]|0;a[f+(k*20|0)>>0]=78;b[f+(k*20|0)+2>>1]=0;c[f+(k*20|0)+4>>2]=L;c[f+(k*20|0)+8>>2]=1;c[f+(k*20|0)+12>>2]=0;c[f+(k*20|0)+16>>2]=0;a[f+(k*20|0)+1>>0]=0}else zi(Q,78,L,1,0)|0;vi(Q,1);if(a[(c[Q>>2]|0)+73>>0]|0)break;Ve(c[Q+100>>2]|0,33520,-1,1,0)|0}while(0);if(!S)break a;c[S+440>>2]=R;break a}while(0);c[s>>2]=c[V>>2];hg(f,32610,s);i=0}else i=0}else i=0}else i=0;while(0);ag(W,g);if(h|0)Qf(W,h);if(!i){l=X;return}if(W|0){if(c[W+464>>2]|0){Lc(W,i);l=X;return}h=i;if(h>>>0>=(c[W+296>>2]|0)>>>0?h>>>0<(c[W+300>>2]|0)>>>0:0){W=W+292|0;c[i>>2]=c[W>>2];c[W>>2]=i;l=X;return}}if(!(c[2]|0)){pb[c[56>>2]&255](i);l=X;return}else{W=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-W;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);l=X;return}}function aj(f,g,h,i,j){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0;ya=l;l=l+128|0;da=ya+56|0;$=ya+48|0;P=ya+40|0;O=ya+32|0;R=ya+24|0;Q=ya+16|0;z=ya+8|0;y=ya;ca=ya+96|0;fa=ya+64|0;ta=ya+60|0;c[ta>>2]=0;xa=c[f>>2]|0;a:do if((c[f+36>>2]|0)==0?(A=xa+73|0,(a[A>>0]|0)==0):0){o=g+8|0;m=c[o>>2]|0;if(!m)k=g+12|0;else{n=c[xa+16>>2]|0;k=0;while(1)if((c[n+(k<<4)+12>>2]|0)==(m|0))break;else k=k+1|0;k=n+(k<<4)|0}wa=oj(f,0,c[g+16>>2]|0,c[k>>2]|0)|0;k=c[f>>2]|0;m=g+24|0;n=c[m>>2]|0;do if(n|0){if(!((k|0)!=0?(c[k+464>>2]|0)!=0:0))ua=11;if((ua|0)==11?(sa=n+32|0,va=(c[sa>>2]|0)+-1|0,c[sa>>2]=va,va|0):0)break;Tf(k,n)}while(0);c[m>>2]=wa;if(!wa){pj(f,o)|0;break}va=wa+32|0;c[va>>2]=(c[va>>2]|0)+1;if(!(pj(f,o)|0)){T=wa+72|0;s=c[T>>2]|0;n=c[f>>2]|0;if(!s)U=-1e6;else{m=c[n+16>>2]|0;k=0;while(1)if((c[m+(k<<4)+12>>2]|0)==(s|0)){U=k;break}else k=k+1|0}b:do if((c[n+28>>2]&262144|0)!=0?(p=c[(c[n+16>>2]|0)+28>>2]|0,(a[f+146>>0]|0)==0):0){if((s|0)!=(p|0)?(q=c[p+48>>2]|0,(q|0)!=0):0){r=wa+68|0;k=0;do{p=c[q+8>>2]|0;if((c[p+24>>2]|0)==(s|0)){n=c[p+4>>2]|0;o=c[wa>>2]|0;va=a[n>>0]|0;m=(d[17324+(va&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0;if(!(va<<24>>24==0|(m|0)!=0))do{n=n+1|0;o=o+1|0;va=a[n>>0]|0;m=(d[17324+(va&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(va<<24>>24==0|(m|0)!=0));if(!m){if(!k)k=c[r>>2]|0;c[p+32>>2]=k;k=p}}q=c[q>>2]|0}while((q|0)!=0);if(!k)ua=33}else ua=33;if((ua|0)==33){k=c[wa+68>>2]|0;if(!k){k=0;m=0;break}}if(!h){m=0;n=k;while(1){if((a[n+8>>0]|0)==110)m=d[n+9>>0]|m;n=c[n+32>>2]|0;if(!n)break b}}else{m=0;x=k}do{c:do if((a[x+8>>0]|0)==110){n=c[x+16>>2]|0;d:do if(n|0){w=c[h>>2]|0;if((w|0)<=0)break c;v=c[n+4>>2]|0;if((v|0)<=0)break c;s=c[n>>2]|0;q=0;while(1){t=c[h+4+(q*20|0)+4>>2]|0;u=d[17324+(d[t>>0]|0)>>0]|0;r=0;while(1){o=c[s+(r<<3)>>2]|0;va=a[o>>0]|0;n=(d[17324+(va&255)>>0]|0)-u|0;if(!(va<<24>>24==0|(n|0)!=0)){p=t;do{o=o+1|0;p=p+1|0;va=a[o>>0]|0;n=(d[17324+(va&255)>>0]|0)-(d[17324+(d[p>>0]|0)>>0]|0)|0}while(!(va<<24>>24==0|(n|0)!=0))}if(!n){ua=48;break}n=r+1|0;if((n|0)<(v|0))r=n;else break}if((ua|0)==48?(ua=0,(r|0)>-1):0)break d;q=q+1|0;if((q|0)>=(w|0))break c}}while(0);m=d[x+9>>0]|m}while(0);x=c[x+32>>2]|0}while((x|0)!=0)}else{k=0;m=0}while(0);na=m|0?k:0;p=wa+12|0;qa=(c[p>>2]|0)!=0;if(!(Aj(f,wa)|0)){V=wa+56|0;if(c[V>>2]|0){o=c[f>>2]|0;n=wa+64|0;while(1){n=c[n>>2]|0;if((c[n>>2]|0)==(o|0))break;else n=n+24|0}if(c[(c[c[n+4>>2]>>2]|0)+52>>2]|0)ua=57}else ua=57;do if((ua|0)==57){ga=wa+36|0;n=c[ga>>2]|0;if((n&1|0?(c[(c[f>>2]|0)+28>>2]&1|0)==0:0)?(a[f+18>>0]|0)==0:0)break;if((m|0)==0?c[p>>2]|0:0){c[z>>2]=c[wa>>2];hg(f,32639,z);break a}Y=f+40|0;ja=c[Y>>2]|0;ra=ja+1|0;c[Y>>2]=ra;W=g+52|0;c[W>>2]=ja;_=wa+8|0;o=c[_>>2]|0;e:do if(n&32)if(!o){o=0;pa=ja;n=0}else{n=o;while(1){if((a[n+55>>0]&3)==2){ua=68;break e}n=c[n+20>>2]|0;if(!n){n=0;ua=68;break}}}else{n=0;ua=68}while(0);do if((ua|0)==68)if(!o){o=0;pa=ja}else{if(!n){n=o;o=0;p=ra;do{p=p+1|0;o=o+1|0;n=c[n+20>>2]|0}while((n|0)!=0);c[Y>>2]=p;pa=ja;n=0;break}else{q=o;o=0;p=ja;r=ra}do{if((a[q+55>>0]&3)==2){c[W>>2]=r;p=r}r=r+1|0;c[Y>>2]=r;o=o+1|0;q=c[q+20>>2]|0}while((q|0)!=0);pa=p}while(0);sa=wa+42|0;r=o+2+((b[sa>>1]|0)+o<<2)|0;f:do if(c[xa+264>>2]|0)if(!(a[A>>0]|0))ua=83;else break a;else{do if(0<0|(0==0?(e[xa+268>>1]|0)>>>0>>0:0))p=1;else{p=xa+292|0;q=c[p>>2]|0;if(q|0){c[p>>2]=c[q>>2];va=xa+276|0;c[va>>2]=(c[va>>2]|0)+1;va=q;break f}p=xa+288|0;q=c[p>>2]|0;if(!q){p=2;break}c[p>>2]=c[q>>2];va=xa+276|0;c[va>>2]=(c[va>>2]|0)+1;va=q;break f}while(0);ua=xa+276+(p<<2)|0;c[ua>>2]=(c[ua>>2]|0)+1;ua=83}while(0);if((ua|0)==83)va=Ec(xa,r,0)|0;if(!va)break a;oa=va+(b[sa>>1]<<2)|0;ea=oa+(o<<2)|0;S=o+1|0;Vt(ea|0,1,S|0)|0;a[ea+S>>0]=0;ma=b[sa>>1]|0;p=ma<<16>>16;if(ma<<16>>16>0)Vt(va|0,-1,((p|0)>1?p:1)<<2|0)|0;ma=fa+8|0;c[ma>>2]=0;c[ma+4>>2]=0;c[ma+8>>2]=0;c[ma+12>>2]=0;c[ma+16>>2]=0;c[ma+20>>2]=0;c[fa>>2]=f;c[fa+4>>2]=g;g:do if((c[h>>2]|0)>0){C=wa+4|0;D=xa+16|0;E=f+400|0;F=f+440|0;G=(n|0)==0;H=wa+40|0;I=fa+28|0;J=ca+4|0;K=ca+8|0;L=ca+12|0;M=ca+24|0;N=fa+24|0;s=0;t=0;q=0;B=0;h:while(1){A=h+4+(B*20|0)|0;v=c[A>>2]|0;if(v){w=e[I>>1]|0;b[I>>1]=w&61423;p=c[fa>>2]|0;c[ca>>2]=p;c[J>>2]=184;c[K>>2]=185;c[L>>2]=0;c[M>>2]=fa;u=v+24|0;r=p+408|0;ma=(c[r>>2]|0)+(c[u>>2]|0)|0;c[r>>2]=ma;r=c[(c[p>>2]|0)+112>>2]|0;if((r|0)<(ma|0)){ua=92;break}$j(ca,v)|0;r=c[ca>>2]|0;p=r+408|0;c[p>>2]=(c[p>>2]|0)-(c[u>>2]|0);p=b[I>>1]|0;if(p&16){ma=v+4|0;c[ma>>2]=c[ma>>2]|2}b[I>>1]=p&65535|w&4112;if((c[N>>2]|0)>0){ua=96;break}if((c[r+36>>2]|0)>0)break g}p=b[sa>>1]|0;i:do if(p<<16>>16>0){z=c[C>>2]|0;x=c[h+4+(B*20|0)+4>>2]|0;y=d[17324+(d[x>>0]|0)>>0]|0;p=p<<16>>16;r=0;while(1){v=c[z+(r<<4)>>2]|0;ma=a[v>>0]|0;u=(d[17324+(ma&255)>>0]|0)-y|0;if(!(ma<<24>>24==0|(u|0)!=0)){w=x;do{v=v+1|0;w=w+1|0;ma=a[v>>0]|0;u=(d[17324+(ma&255)>>0]|0)-(d[17324+(d[w>>0]|0)>>0]|0)|0}while(!(ma<<24>>24==0|(u|0)!=0))}if(!u)break;r=r+1|0;if((r|0)>=(p|0)){x=q;break i}}do if((r|0)==(b[H>>1]|0)){s=c[A>>2]|0;t=1}else{if(G)break;q=(a[z+(r<<4)+15>>0]&1)==0?q:1}while(0);c[va+(r<<2)>>2]=B;x=q}else{r=0;x=q;p=p<<16>>16}while(0);do if((r|0)<(p|0)){p=c[wa>>2]|0;if((r|0)<0){w=r;u=s;v=t;t=28086;break}w=r;u=s;v=t;t=c[(c[C>>2]|0)+(r<<4)>>2]|0}else{u=c[h+4+(B*20|0)+4>>2]|0;if(!G){ua=122;break h}t=a[u>>0]|0;s=d[17324+(t&255)>>0]|0;p=s+-95|0;t=t<<24>>24==0;if(!(t|(p|0)!=0)){q=28078;r=u;do{r=r+1|0;q=q+1|0;ma=a[r>>0]|0;p=(d[17324+(ma&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ma<<24>>24==0|(p|0)!=0))}do if(p|0){p=s+-114|0;if(!(t|(p|0)!=0)){q=28086;r=u;do{r=r+1|0;q=q+1|0;ma=a[r>>0]|0;p=(d[17324+(ma&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ma<<24>>24==0|(p|0)!=0))}if(!p)break;p=s+-111|0;if(!(t|(p|0)!=0)){q=28092;r=u;do{r=r+1|0;q=q+1|0;ma=a[r>>0]|0;p=(d[17324+(ma&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(ma<<24>>24==0|(p|0)!=0))}if(p|0){ua=122;break h}}while(0);w=-1;u=c[A>>2]|0;v=1;p=c[wa>>2]|0;t=28086}while(0);q=c[(c[D>>2]|0)+(U<<4)>>2]|0;r=c[f>>2]|0;j:do if(!(a[r+157>>0]|0)){if(a[E>>0]|0)break;s=c[r+304>>2]|0;if(!s)break;switch(ob[s&255](c[r+308>>2]|0,23,p,t,q,c[F>>2]|0)|0){case 1:{ua=129;break h}case 0:break j;case 2:break;default:{ua=130;break h}}c[va+(w<<2)>>2]=-1}while(0);B=B+1|0;if((B|0)>=(c[h>>2]|0)){ba=u;X=v;Z=x;ua=133;break g}else{s=u;t=v;q=x}}if((ua|0)==92){c[Q>>2]=r;hg(p,24905,Q);break}else if((ua|0)==96)break;else if((ua|0)==122){c[R>>2]=u;hg(f,33488,R);a[f+17>>0]=1;break}else if((ua|0)==129){hg(f,24761,O);c[f+12>>2]=23;break}else if((ua|0)==130){hg(f,24776,P);c[f+12>>2]=1;break}}else{ba=0;X=0;Z=0;ua=133}while(0);do if((ua|0)==133){ma=(X&255)+(Z&255)|0;la=ma&255;ia=((c[V>>2]|0)!=0)<<31>>31;ka=g+64|0;c[ka>>2]=ia;c[ka+4>>2]=((ia|0)<0)<<31>>31;ma=ma&255;k:do if(!(c[(c[f>>2]|0)+28>>2]&16384))p=0;else{p=c[wa+16>>2]|0;v=c[wa>>2]|0;l:do if(!p)p=0;else{u=wa+40|0;q=(v|0)==0;if(!ma){if(q){s=p;p=0;while(1){if(!(c[s+8>>2]|0)){p=2;break k}r=c[s+20>>2]|0;m:do if((r|0)>0){q=0;do{if((c[va+(c[s+36+(q<<3)>>2]<<2)>>2]|0)>-1){p=1;break m}q=q+1|0}while((q|0)<(r|0))}while(0);s=c[s+4>>2]|0;if(!s)break l}}else{t=p;p=0}while(1){r=c[t+8>>2]|0;if(r|0){ka=a[v>>0]|0;q=(d[17324+(ka&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0;if(!(ka<<24>>24==0|(q|0)!=0)){s=v;do{s=s+1|0;r=r+1|0;ka=a[s>>0]|0;q=(d[17324+(ka&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(ka<<24>>24==0|(q|0)!=0))}if(!q){p=2;break k}}r=c[t+20>>2]|0;n:do if((r|0)>0){q=0;do{if((c[va+(c[t+36+(q<<3)>>2]<<2)>>2]|0)>-1){p=1;break n}q=q+1|0}while((q|0)<(r|0))}while(0);t=c[t+4>>2]|0;if(!t)break l}}if(q){t=p;p=0;while(1){if(!(c[t+8>>2]|0)){p=2;break k}r=c[t+20>>2]|0;o:do if((r|0)>0){q=0;do{s=c[t+36+(q<<3)>>2]|0;if((c[va+(s<<2)>>2]|0)>-1){p=1;break o}q=q+1|0;if((s|0)==(b[u>>1]|0)){p=1;break o}}while((q|0)<(r|0))}while(0);t=c[t+4>>2]|0;if(!t)break l}}else{t=p;p=0}do{r=c[t+8>>2]|0;if(r|0){ka=a[v>>0]|0;q=(d[17324+(ka&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0;if(!(ka<<24>>24==0|(q|0)!=0)){s=v;do{s=s+1|0;r=r+1|0;ka=a[s>>0]|0;q=(d[17324+(ka&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(ka<<24>>24==0|(q|0)!=0))}if(!q){p=2;break k}}r=c[t+20>>2]|0;p:do if((r|0)>0){q=0;do{s=c[t+36+(q<<3)>>2]|0;if((c[va+(s<<2)>>2]|0)>-1){p=1;break p}q=q+1|0;if((s|0)==(b[u>>1]|0)){p=1;break p}}while((q|0)<(r|0))}while(0);t=c[t+4>>2]|0}while((t|0)!=0)}while(0);q=c[($f((c[T>>2]|0)+56|0,v,0)|0)+8>>2]|0;if(!q)break;do{if(Ql(wa,q,va,ma)|0)if(!(a[q+26>>0]|0))p=1;else{p=2;break k}q=c[q+12>>2]|0}while((q|0)!=0)}while(0);q=c[_>>2]|0;q:do if(!q)q=0;else{x=f+44|0;if((ma|0)!=0|(p|0)>1){r=0;do{t=(c[x>>2]|0)+1|0;c[x>>2]=(e[q+52>>1]|0)+t;s=r;r=r+1|0;if(!t)a[ea+r>>0]=0;c[oa+(s<<2)>>2]=t;q=c[q+20>>2]|0}while((q|0)!=0);c[ta>>2]=0;q=0;break}switch(j|0){case 5:{v=q;w=0;q=0;while(1){r:do if((v|0)==(n|0)|(c[v+36>>2]|0)!=0)ua=192;else{r=b[v+50>>1]|0;if(r<<16>>16){u=c[v+4>>2]|0;s=r&65535;r=0;do{t=b[u+(r<<1)>>1]|0;if(t<<16>>16<0){q=1;ua=192;break r}r=r+1|0;if((c[va+(t<<16>>16<<2)>>2]|0)>-1){q=1;ua=192;break r}}while((r|0)<(s|0))}s=w+1|0;ua=193}while(0);if((ua|0)==192){ua=0;r=(c[x>>2]|0)+1|0;c[x>>2]=(e[v+52>>1]|0)+r;s=w+1|0;if(!r)ua=193}if((ua|0)==193){ua=0;a[ea+s>>0]=0;r=0}c[oa+(w<<2)>>2]=r;v=c[v+20>>2]|0;if(!v)break;else w=s}break}case 10:{v=q;w=0;q=0;while(1){s:do if((v|0)==(n|0)|(c[v+36>>2]|0)!=0){s=(c[x>>2]|0)+1|0;c[x>>2]=(e[v+52>>1]|0)+s;ua=182}else{r=b[v+50>>1]|0;t:do if(r<<16>>16){u=c[v+4>>2]|0;s=r&65535;r=0;while(1){t=b[u+(r<<1)>>1]|0;if(t<<16>>16<0)break;r=r+1|0;if((c[va+(t<<16>>16<<2)>>2]|0)>-1)break;if((r|0)>=(s|0))break t}s=(c[x>>2]|0)+1|0;c[x>>2]=(e[v+52>>1]|0)+s;q=(a[v+54>>0]|0)==5?1:q;ua=182;break s}while(0);r=w+1|0;ua=183}while(0);if((ua|0)==182){ua=0;r=w+1|0;if(!s)ua=183}if((ua|0)==183){ua=0;a[ea+r>>0]=0;s=0}c[oa+(w<<2)>>2]=s;v=c[v+20>>2]|0;if(!v)break;else w=r}break}default:{v=0;while(1){u:do if((q|0)==(n|0)|(c[q+36>>2]|0)!=0)ua=206;else{r=b[q+50>>1]|0;if(r<<16>>16){u=c[q+4>>2]|0;s=r&65535;r=0;do{t=b[u+(r<<1)>>1]|0;if(t<<16>>16<0){ua=206;break u}r=r+1|0;if((c[va+(t<<16>>16<<2)>>2]|0)>-1){ua=206;break u}}while((r|0)<(s|0))}r=v+1|0;ua=207}while(0);if((ua|0)==206){ua=0;s=(c[x>>2]|0)+1|0;c[x>>2]=(e[q+52>>1]|0)+s;r=v+1|0;if(!s)ua=207}if((ua|0)==207){ua=0;a[ea+r>>0]=0;s=0}c[oa+(v<<2)>>2]=s;q=c[q+20>>2]|0;if(!q)break;else v=r}c[ta>>2]=0;q=0;break q}}c[ta>>2]=q;if(!q){q=0;break}Vt(ea|0,1,S|0)|0}while(0);C=f+8|0;r=c[C>>2]|0;if(!r){do if(!(c[f+120>>2]|0)){if(b[(c[f>>2]|0)+68>>1]&8)break;a[f+23>>0]=1}while(0);r=yi(f)|0;if(!r)break;else ia=r}else ia=r;ha=f+18|0;if(!(a[ha>>0]|0)){ka=ia+145|0;aa=d[ka>>0]|d[ka+1>>0]<<8|16;a[ka>>0]=aa;a[ka+1>>0]=aa>>8}aa=f+120|0;y=c[aa>>2]|0;y=(y|0)==0?f:y;r=y+92|0;s=c[r>>2]|0;z=1<>2]=s|z;if((U|0)!=1)break;x=c[y>>2]|0;r=x+16|0;if(c[(c[r>>2]|0)+20>>2]|0)break;if(a[y+399>>0]|0)break;s=fg(c[x>>2]|0,0,x,ca,0,542)|0;if(s|0){hg(y,21111,$);c[y+12>>2]=s;break}ka=c[ca>>2]|0;c[(c[r>>2]|0)+20>>2]=ka;r=c[x+84>>2]|0;t=c[ka+4>>2]|0;c[t+4>>2]=c[ka>>2];do if(!(b[t+22>>1]&2)){u=t+32|0;v=t+36|0;w=(c[u>>2]|0)-(c[v>>2]|0)|0;do if((r+-512|0)>>>0<65025){if(r+-1&r|0)break;c[u>>2]=r;s=t+80|0;r=c[s>>2]|0;if(!r)break;r=r+-4|0;c[s>>2]=r;ka=r;do if(!(ka>>>0>=(c[11662]|0)>>>0&ka>>>0<(c[11663]|0)>>>0)){ka=jb[c[64>>2]&255](r)|0;c[11824]=(c[11824]|0)-ka;if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ka=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ka;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}else{c[11823]=(c[11823]|0)+-1;c[r>>2]=c[11665];c[11665]=r;ka=(c[11666]|0)+1|0;c[11666]=ka;c[11667]=(ka|0)<(c[11661]|0)&1}while(0);c[s>>2]=0}while(0);ka=gg(c[t>>2]|0,u,w)|0;c[v>>2]=(c[u>>2]|0)-(w&65535);if((ka|0)!=7)break;r=x+73|0;do if(!(a[r>>0]|0)){if(a[x+74>>0]|0)break;a[r>>0]=1;if((c[x+172>>2]|0)>0)c[x+256>>2]=1;ka=x+264|0;c[ka>>2]=(c[ka>>2]|0)+1}while(0);break v}while(0)}while(0);ka=y+88|0;c[ka>>2]=c[ka>>2]|z;ka=y+20|0;a[ka>>0]=a[ka>>0]|1;if(!(c[V>>2]|0)){u=f+44|0;v=c[u>>2]|0;w=v+2|0;c[u>>2]=w;r=(na|0)!=0;if(r|Z<<24>>24!=0|(p|0)!=0){t=(b[sa>>1]|0)+w|0;c[u>>2]=t;x=v+3|0}else{x=0;t=w}s=t+1|0;if(r|(p|ma|0)!=0){c[u>>2]=s;y=s;r=s}else{y=w;r=t}c[u>>2]=(b[sa>>1]|0)+r;G=v+1|0;U=r+1|0}else{G=0;U=0;w=0;x=0;y=0}if(qa){ka=f+440|0;$=c[ka>>2]|0;c[ka>>2]=c[wa>>2];$m(f,wa,i,pa);ka=f}else{$=0;ka=0}do if(i){u=fa+28|0;v=e[u>>1]|0;b[u>>1]=v&61423;r=c[fa>>2]|0;c[ca>>2]=r;c[ca+4>>2]=184;c[ca+8>>2]=185;c[ca+12>>2]=0;c[ca+24>>2]=fa;t=i+24|0;s=r+408|0;T=(c[s>>2]|0)+(c[t>>2]|0)|0;c[s>>2]=T;s=c[(c[r>>2]|0)+112>>2]|0;if((s|0)<(T|0)){c[da>>2]=s;hg(r,24905,da);break}$j(ca,i)|0;s=c[ca>>2]|0;r=s+408|0;c[r>>2]=(c[r>>2]|0)-(c[t>>2]|0);r=b[u>>1]|0;if(r&16){da=i+4|0;c[da>>2]=c[da>>2]|2}b[u>>1]=r&65535|v&4112;if((c[fa+24>>2]|0)<=0?(c[s+36>>2]|0)<=0:0){ua=260;break}else break}else ua=260;while(0);do if((ua|0)==260){if(c[V>>2]|0){D=c[C>>2]|0;m=c[f>>2]|0;k=c[wa+64>>2]|0;w:do if(!k)z=0;else while(1){if((c[k>>2]|0)==(m|0)){z=k;break w}k=c[k+24>>2]|0;if(!k){z=0;break}}while(0);v=b[sa>>1]|0;x=(v<<16>>16)+2|0;s=c[W>>2]|0;C=c[Y>>2]|0;c[Y>>2]=C+1;A=D+136|0;k=c[A>>2]|0;B=D+12|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;r=c[D+88>>2]|0;a[r+(k*20|0)>>0]=108;b[r+(k*20|0)+2>>1]=0;c[r+(k*20|0)+4>>2]=C;c[r+(k*20|0)+8>>2]=x;c[r+(k*20|0)+12>>2]=0;c[r+(k*20|0)+16>>2]=0;a[r+(k*20|0)+1>>0]=0;r=k}else r=zi(D,108,C,x,0)|0;y=f+44|0;q=c[y>>2]|0;w=q+1|0;u=q+x|0;t=u+1|0;u=u+2|0;c[y>>2]=u;y=Tl(f,g,i,0,0,4,0)|0;if(!y)break;if((b[sa>>1]|0)>0){n=q+3|0;o=D+88|0;m=0;do{k=c[va+(m<<2)>>2]|0;p=n+m|0;do if((k|0)<=-1){k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;ta=c[o>>2]|0;a[ta+(k*20|0)>>0]=-99;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=s;c[ta+(k*20|0)+8>>2]=m;c[ta+(k*20|0)+12>>2]=p;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0;break}else{zi(D,157,s,m,p)|0;break}}else Di(f,c[h+4+(k*20|0)>>2]|0,p);while(0);m=m+1|0}while((m|0)<(b[sa>>1]|0))}do if(!(c[ga>>2]&32)){k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;ta=c[D+88>>2]|0;a[ta+(k*20|0)>>0]=123;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=s;c[ta+(k*20|0)+8>>2]=w;c[ta+(k*20|0)+12>>2]=0;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0}else zi(D,123,s,w,0)|0;m=q+2|0;if(ba|0){Di(f,ba,m);break}k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;ta=c[D+88>>2]|0;a[ta+(k*20|0)>>0]=123;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=s;c[ta+(k*20|0)+8>>2]=m;c[ta+(k*20|0)+12>>2]=0;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0;break}else{zi(D,123,s,m,0)|0;break}}else{k=_;while(1){k=c[k>>2]|0;if((a[k+55>>0]&3)==2)break;else k=k+20|0}m=b[c[k+4>>2]>>1]|0;k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){n=k+1|0;c[A>>2]=n;ta=c[D+88>>2]|0;a[ta+(k*20|0)>>0]=-99;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=s;c[ta+(k*20|0)+8>>2]=m;c[ta+(k*20|0)+12>>2]=w;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0}else{zi(D,157,s,m,w)|0;n=c[A>>2]|0}m=q+3+m|0;k=q+2|0;if((c[(c[B>>2]|0)+48>>2]|0)>(n|0)){c[A>>2]=n+1;ta=c[D+88>>2]|0;a[ta+(n*20|0)>>0]=76;b[ta+(n*20|0)+2>>1]=0;c[ta+(n*20|0)+4>>2]=m;c[ta+(n*20|0)+8>>2]=k;c[ta+(n*20|0)+12>>2]=0;c[ta+(n*20|0)+16>>2]=0;a[ta+(n*20|0)+1>>0]=0;break}else{zi(D,76,m,k,0)|0;break}}while(0);s=(a[y+49>>0]|0)==0;do if(s){k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){ta=k+1|0;c[A>>2]=ta;sa=c[D+88>>2]|0;a[sa+(k*20|0)>>0]=99;b[sa+(k*20|0)+2>>1]=0;c[sa+(k*20|0)+4>>2]=w;c[sa+(k*20|0)+8>>2]=x;c[sa+(k*20|0)+12>>2]=t;c[sa+(k*20|0)+16>>2]=0;a[sa+(k*20|0)+1>>0]=0;k=ta}else{zi(D,99,w,x,t)|0;k=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){ta=k+1|0;c[A>>2]=ta;sa=c[D+88>>2]|0;a[sa+(k*20|0)>>0]=115;b[sa+(k*20|0)+2>>1]=0;c[sa+(k*20|0)+4>>2]=C;c[sa+(k*20|0)+8>>2]=u;c[sa+(k*20|0)+12>>2]=0;c[sa+(k*20|0)+16>>2]=0;a[sa+(k*20|0)+1>>0]=0;k=ta}else{zi(D,115,C,u,0)|0;k=c[A>>2]|0}if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;ta=c[D+88>>2]|0;a[ta+(k*20|0)>>0]=116;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=C;c[ta+(k*20|0)+8>>2]=t;c[ta+(k*20|0)+12>>2]=u;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0}else zi(D,116,C,t,u)|0;Ul(y);k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;ta=c[D+88>>2]|0;a[ta+(k*20|0)>>0]=37;b[ta+(k*20|0)+2>>1]=0;c[ta+(k*20|0)+4>>2]=C;c[ta+(k*20|0)+8>>2]=0;c[ta+(k*20|0)+12>>2]=0;c[ta+(k*20|0)+16>>2]=0;a[ta+(k*20|0)+1>>0]=0}else k=zi(D,37,C,0,0)|0;if(v<<16>>16<=-2){r=k;break}n=D+88|0;m=0;do{o=m+w|0;p=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(p|0)){c[A>>2]=p+1;ta=c[n>>2]|0;a[ta+(p*20|0)>>0]=96;b[ta+(p*20|0)+2>>1]=0;c[ta+(p*20|0)+4>>2]=C;c[ta+(p*20|0)+8>>2]=m;c[ta+(p*20|0)+12>>2]=o;c[ta+(p*20|0)+16>>2]=0;a[ta+(p*20|0)+1>>0]=0}else zi(D,96,C,m,o)|0;m=m+1|0}while((m|0)<(x|0));r=k}else{k=c[D>>2]|0;if(!(a[k+73>>0]|0)){ta=c[D+88>>2]|0;ra=ta+(r*20|0)+1|0;sa=ta+(r*20|0)+16|0;Wf(k,a[ra>>0]|0,c[sa>>2]|0);a[ra>>0]=0;c[sa>>2]=0;a[ta+(r*20|0)>>0]=-90}if(c[aa>>2]|0)break;a[f+20>>0]=0}while(0);o=c[aa>>2]|0;o=(o|0)==0?f:o;p=o+404|0;m=c[p>>2]|0;q=o+452|0;n=c[q>>2]|0;x:do if((m|0)>0){k=0;while(1){if((c[n+(k<<2)>>2]|0)==(wa|0))break x;k=k+1|0;if((k|0)>=(m|0)){ua=318;break}}}else ua=318;while(0);y:do if((ua|0)==318){do if(!(Nc()|0)){k=(m<<2)+4|0;k=Oc(n,k,((k|0)<0)<<31>>31)|0;if(!k)break;c[q>>2]=k;ua=c[p>>2]|0;c[p>>2]=ua+1;c[k+(ua<<2)>>2]=wa;break y}while(0);k=c[o>>2]|0;m=k+73|0;if(a[m>>0]|0)break;if(a[k+74>>0]|0)break;a[m>>0]=1;if((c[k+172>>2]|0)>0)c[k+256>>2]=1;wa=k+264|0;c[wa>>2]=(c[wa>>2]|0)+1}while(0);k=c[A>>2]|0;if((c[(c[B>>2]|0)+48>>2]|0)>(k|0)){c[A>>2]=k+1;wa=c[D+88>>2]|0;a[wa+(k*20|0)>>0]=12;b[wa+(k*20|0)+2>>1]=0;c[wa+(k*20|0)+4>>2]=0;c[wa+(k*20|0)+8>>2]=x;c[wa+(k*20|0)+12>>2]=w;c[wa+(k*20|0)+16>>2]=0;a[wa+(k*20|0)+1>>0]=0}else k=zi(D,12,0,x,w)|0;do if(!(a[(c[D>>2]|0)+73>>0]|0)){if((k|0)<0)k=(c[A>>2]|0)+-1|0;m=c[D+88>>2]|0;n=m+(k*20|0)+1|0;if(a[n>>0]|0){Ai(D,m+(k*20|0)|0,z,-12);break}if(!z)break;c[m+(k*20|0)+16>>2]=z;a[n>>0]=-12;wa=z+12|0;c[wa>>2]=(c[wa>>2]|0)+1}while(0);m=c[A>>2]|0;if((m|0)>0)b[(c[D+88>>2]|0)+((m+-1|0)*20|0)+2>>1]=(j|0)==10?2:j&65535;j=c[aa>>2]|0;a[((j|0)==0?f:j)+21>>0]=1;if(!s){Ul(y);break}k=r+1|0;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){f=m+1|0;c[A>>2]=f;j=c[D+88>>2]|0;a[j+(m*20|0)>>0]=7;b[j+(m*20|0)+2>>1]=0;c[j+(m*20|0)+4>>2]=C;c[j+(m*20|0)+8>>2]=k;c[j+(m*20|0)+12>>2]=0;c[j+(m*20|0)+16>>2]=0;a[j+(m*20|0)+1>>0]=0;m=f}else{zi(D,7,C,k,0)|0;m=c[A>>2]|0}if(!(a[(c[D>>2]|0)+73>>0]|0))k=(c[D+88>>2]|0)+(((r|0)<0?m+-1|0:r)*20|0)|0;else k=46708;c[k+8>>2]=m;if((c[(c[B>>2]|0)+48>>2]|0)>(m|0)){c[A>>2]=m+1;f=c[D+88>>2]|0;a[f+(m*20|0)>>0]=112;b[f+(m*20|0)+2>>1]=0;c[f+(m*20|0)+4>>2]=C;c[f+(m*20|0)+8>>2]=0;c[f+(m*20|0)+12>>2]=0;c[f+(m*20|0)+16>>2]=0;a[f+(m*20|0)+1>>0]=0;break}else{zi(D,112,C,0,0)|0;break}}W=xa+28|0;do if(c[W>>2]&128){if(c[f+124>>2]|0){V=0;break}s=f+44|0;r=(c[s>>2]|0)+1|0;c[s>>2]=r;s=ia+136|0;t=c[s>>2]|0;if((c[(c[ia+12>>2]|0)+48>>2]|0)>(t|0)){c[s>>2]=t+1;V=c[ia+88>>2]|0;a[V+(t*20|0)>>0]=67;b[V+(t*20|0)+2>>1]=0;c[V+(t*20|0)+4>>2]=0;c[V+(t*20|0)+8>>2]=r;c[V+(t*20|0)+12>>2]=0;c[V+(t*20|0)+16>>2]=0;a[V+(t*20|0)+1>>0]=0;V=r;break}else{zi(ia,67,0,r,0)|0;V=r;break}}else V=0;while(0);z:do if(!(c[ga>>2]&32)){r=ia+136|0;s=c[r>>2]|0;if((c[(c[ia+12>>2]|0)+48>>2]|0)>(s|0)){c[r>>2]=s+1;v=c[ia+88>>2]|0;a[v+(s*20|0)>>0]=70;b[v+(s*20|0)+2>>1]=0;c[v+(s*20|0)+4>>2]=0;c[v+(s*20|0)+8>>2]=G;c[v+(s*20|0)+12>>2]=w;c[v+(s*20|0)+16>>2]=0;a[v+(s*20|0)+1>>0]=0;v=0;z=0;A=0;u=0;T=0;break}else{zi(ia,70,0,G,w)|0;v=0;z=0;A=0;u=0;T=0;break}}else{z=b[n+50>>1]|0;B=f+44|0;v=c[B>>2]|0;A=v+1|0;u=z<<16>>16;v=u+1+v|0;c[B>>2]=v;B=c[Y>>2]|0;c[Y>>2]=B+1;s=ia+136|0;r=c[s>>2]|0;t=ia+12|0;if((c[(c[t>>2]|0)+48>>2]|0)>(r|0)){ua=r+1|0;c[s>>2]=ua;fa=c[ia+88>>2]|0;a[fa+(r*20|0)>>0]=70;b[fa+(r*20|0)+2>>1]=0;c[fa+(r*20|0)+4>>2]=0;c[fa+(r*20|0)+8>>2]=A;c[fa+(r*20|0)+12>>2]=0;c[fa+(r*20|0)+16>>2]=0;a[fa+(r*20|0)+1>>0]=0;r=ua}else{zi(ia,70,0,A,0)|0;r=c[s>>2]|0}if((c[(c[t>>2]|0)+48>>2]|0)>(r|0)){c[s>>2]=r+1;ua=c[ia+88>>2]|0;a[ua+(r*20|0)>>0]=108;b[ua+(r*20|0)+2>>1]=0;c[ua+(r*20|0)+4>>2]=B;c[ua+(r*20|0)+8>>2]=u;c[ua+(r*20|0)+12>>2]=0;c[ua+(r*20|0)+16>>2]=0;a[ua+(r*20|0)+1>>0]=0;u=r}else u=zi(ia,108,B,u,0)|0;r=c[C>>2]|0;t=rk(f,n)|0;if(!t){T=B;break}s=c[r>>2]|0;if(!(a[s+73>>0]|0)){ua=c[r+88>>2]|0;T=(c[r+136>>2]|0)+-1|0;a[ua+(T*20|0)+1>>0]=-9;c[ua+(T*20|0)+16>>2]=t;T=B;break}if(c[s+464>>2]|0){T=B;break}ua=(c[t>>2]|0)+-1|0;c[t>>2]=ua;if(ua|0){T=B;break}r=c[t+12>>2]|0;do if(r|0){if(c[r+464>>2]|0){Lc(r,t);T=B;break z}s=t;if(s>>>0<(c[r+296>>2]|0)>>>0)break;if(s>>>0>=(c[r+300>>2]|0)>>>0)break;T=r+292|0;c[t>>2]=c[T>>2];c[T>>2]=t;T=B;break z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](t);T=B;break}else{T=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);T=B;break}}while(0);H=(na|0)!=0;Q=(p|0)!=0;S=Tl(f,g,i,0,0,(q|0)!=0|(la<<24>>24!=0|(Q|(H|(a[ha>>0]|0)!=0)))?4100:4108,ra)|0;if(!S)break;F=S+24|0;E=c[F>>2]|0;F=c[F+4>>2]|0;ua=a[S+49>>0]|0;q=ua&255;do if(ua<<24>>24==2){if((F|0)<0|(F|0)==(pa|0)){R=2;break}R=(a[ea+(F-ja)>>0]|0)==0?q:0}else R=q;while(0);do if(!(c[ga>>2]&32)){r=ia+136|0;q=c[r>>2]|0;s=ia+12|0;if((c[(c[s>>2]|0)+48>>2]|0)>(q|0)){c[r>>2]=q+1;ua=c[ia+88>>2]|0;a[ua+(q*20|0)>>0]=123;b[ua+(q*20|0)+2>>1]=0;c[ua+(q*20|0)+4>>2]=pa;c[ua+(q*20|0)+8>>2]=w;c[ua+(q*20|0)+12>>2]=0;c[ua+(q*20|0)+16>>2]=0;a[ua+(q*20|0)+1>>0]=0}else zi(ia,123,pa,w,0)|0;if(R|0){r=0;q=v;ua=416;break}q=c[r>>2]|0;if((c[(c[s>>2]|0)+48>>2]|0)>(q|0)){c[r>>2]=q+1;r=c[ia+88>>2]|0;a[r+(q*20|0)>>0]=-113;b[r+(q*20|0)+2>>1]=0;c[r+(q*20|0)+4>>2]=G;c[r+(q*20|0)+8>>2]=w;c[r+(q*20|0)+12>>2]=0;c[r+(q*20|0)+16>>2]=0;a[r+(q*20|0)+1>>0]=0;r=0;q=v;ua=417;break}else{zi(ia,143,G,w,0)|0;r=0;q=v;ua=417;break}}else{r=z<<16>>16;if(z<<16>>16>0){s=n+4|0;q=0;do{Ek(ia,wa,pa,b[(c[s>>2]|0)+(q<<1)>>1]|0,q+A|0);q=q+1|0}while((q|0)!=(r|0))}if(R|0){q=c[ia>>2]|0;if(a[q+73>>0]|0){q=A;ua=416;break}ua=c[ia+88>>2]|0;fa=ua+(u*20|0)+1|0;ga=ua+(u*20|0)+16|0;Wf(q,a[fa>>0]|0,c[ga>>2]|0);a[fa>>0]=0;c[ga>>2]=0;a[ua+(u*20|0)>>0]=-90;q=A;ua=416;break}B=Fk(xa,n)|0;C=ia+136|0;q=c[C>>2]|0;D=ia+12|0;if((c[(c[D>>2]|0)+48>>2]|0)>(q|0)){c[C>>2]=q+1;ua=c[ia+88>>2]|0;a[ua+(q*20|0)>>0]=99;b[ua+(q*20|0)+2>>1]=0;c[ua+(q*20|0)+4>>2]=A;c[ua+(q*20|0)+8>>2]=r;c[ua+(q*20|0)+12>>2]=v;c[ua+(q*20|0)+16>>2]=0;a[ua+(q*20|0)+1>>0]=0}else q=zi(ia,99,A,r,v)|0;s=c[ia>>2]|0;A:do if(!(a[s+73>>0]|0)){if((q|0)<0)q=(c[C>>2]|0)+-1|0;s=c[ia+88>>2]|0;t=s+(q*20|0)|0;do if(z<<16>>16<=-1){u=s+(q*20|0)+1|0;if(a[u>>0]|0)break;if(z<<16>>16==-3){c[s+(q*20|0)+16>>2]=B;a[u>>0]=-3;break A}if(!B)break A;c[s+(q*20|0)+16>>2]=B;a[u>>0]=z;if(z<<16>>16!=-12)break A;ua=B+12|0;c[ua>>2]=(c[ua>>2]|0)+1;break A}while(0);Ai(ia,t,B,r)}else{if(z<<16>>16==-12)break;Wf(s,r,B)}while(0);q=c[C>>2]|0;if((c[(c[D>>2]|0)+48>>2]|0)>(q|0)){c[C>>2]=q+1;ua=c[ia+88>>2]|0;a[ua+(q*20|0)>>0]=127;b[ua+(q*20|0)+2>>1]=0;c[ua+(q*20|0)+4>>2]=T;c[ua+(q*20|0)+8>>2]=v;c[ua+(q*20|0)+12>>2]=A;c[ua+(q*20|0)+16>>2]=0;a[ua+(q*20|0)+1>>0]=0}else q=zi(ia,127,T,v,A)|0;if(a[(c[ia>>2]|0)+73>>0]|0){r=0;q=v;ua=416;break}ua=c[ia+88>>2]|0;a[ua+(q*20|0)+1>>0]=-3;c[ua+(q*20|0)+16>>2]=r;r=0;q=v;ua=416}while(0);if((ua|0)==416)if((R|0)==2){M=r;L=q;N=1}else ua=417;if((ua|0)==417){Ul(S);M=r;L=q;N=0}P=ia+12|0;q=c[P>>2]|0;u=q+68|0;O=c[u>>2]|0;c[u>>2]=O+1;u=q+72|0;if(!(O+-1&O)){r=c[q>>2]|0;s=c[u>>2]|0;q=Mc(r,s,O<<3|4,0)|0;B:do if(!((s|0)==0|(q|0)!=0)){do if(r|0){if(c[r+464>>2]|0){Lc(r,s);break B}t=s;if(t>>>0<(c[r+296>>2]|0)>>>0)break;if(t>>>0>=(c[r+300>>2]|0)>>>0)break;ga=r+292|0;c[s>>2]=c[ga>>2];c[ga>>2]=s;break B}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{ga=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-ga;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);c[u>>2]=q}else q=c[u>>2]|0;if(q|0)c[q+(O<<2)>>2]=-1;v=~O;C:do if(!qa){do if(R|0){if((E|0)>-1)a[ea+(E-ja)>>0]=0;if((F|0)>-1)a[ea+(F-ja)>>0]=0;if(!N)break;ga=Qt(E|0,F|0,63)|0;if((o|0)<=(ga^1|0))break;s=ia+136|0;o=c[s>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[s>>2]=o+1;q=c[ia+88>>2]|0;a[q+(o*20|0)>>0]=20;q=q+(o*20|0)+1|0;r=q+19|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(r|0))}else o=zi(ia,20,0,0,0)|0;zl(f,wa,105,0,ja,ea,0,0)|0;if(!o)break C;q=c[s>>2]|0;if(!(a[(c[ia>>2]|0)+73>>0]|0))o=(c[ia+88>>2]|0)+(((o|0)<0?q+-1|0:o)*20|0)|0;else o=46708;c[o+8>>2]=q;break C}while(0);zl(f,wa,105,0,ja,ea,0,0)|0}while(0);do if(R){do if(!(qa|(E|0)==(pa|0)|(F|0)==(pa|0))){q=ia+136|0;o=c[q>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[q>>2]=o+1;ja=c[ia+88>>2]|0;a[ja+(o*20|0)>>0]=29;b[ja+(o*20|0)+2>>1]=0;c[ja+(o*20|0)+4>>2]=pa;c[ja+(o*20|0)+8>>2]=v;c[ja+(o*20|0)+12>>2]=L;c[ja+(o*20|0)+16>>2]=0;a[ja+(o*20|0)+1>>0]=0}else o=zi(ia,29,pa,v,L)|0;if(a[(c[ia>>2]|0)+73>>0]|0)break;ja=c[ia+88>>2]|0;a[ja+(o*20|0)+1>>0]=-3;c[ja+(o*20|0)+16>>2]=M}while(0);if((R|0)==1)s=v;else{o=c[P>>2]|0;t=o+68|0;u=c[t>>2]|0;c[t>>2]=u+1;t=o+72|0;if(!(u+-1&u)){q=c[o>>2]|0;r=c[t>>2]|0;o=Mc(q,r,u<<3|4,0)|0;D:do if(!((r|0)==0|(o|0)!=0)){do if(q|0){if(c[q+464>>2]|0){Lc(q,r);break D}s=r;if(s>>>0<(c[q+296>>2]|0)>>>0)break;if(s>>>0>=(c[q+300>>2]|0)>>>0)break;ja=q+292|0;c[r>>2]=c[ja>>2];c[ja>>2]=r;break D}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ja=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ja;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[t>>2]=o}else o=c[t>>2]|0;if(o|0)c[o+(u<<2)>>2]=-1;s=~u}o=n|0?L:w;q=ia+136|0;r=c[q>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(r|0)){c[q>>2]=r+1;K=c[ia+88>>2]|0;a[K+(r*20|0)>>0]=50;b[K+(r*20|0)+2>>1]=0;c[K+(r*20|0)+4>>2]=o;c[K+(r*20|0)+8>>2]=v;c[K+(r*20|0)+12>>2]=0;c[K+(r*20|0)+16>>2]=0;a[K+(r*20|0)+1>>0]=0;K=0;J=s;I=n;break}else{zi(ia,50,o,v,0)|0;K=0;J=s;I=n;break}}else{if(!n){q=ia+136|0;o=c[q>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){n=o+1|0;c[q>>2]=n;ja=c[ia+88>>2]|0;a[ja+(o*20|0)>>0]=42;b[ja+(o*20|0)+2>>1]=0;c[ja+(o*20|0)+4>>2]=G;c[ja+(o*20|0)+8>>2]=v;c[ja+(o*20|0)+12>>2]=w;c[ja+(o*20|0)+16>>2]=0;a[ja+(o*20|0)+1>>0]=0}else{o=zi(ia,42,G,v,w)|0;n=c[q>>2]|0}if((c[(c[P>>2]|0)+48>>2]|0)>(n|0)){c[q>>2]=n+1;K=c[ia+88>>2]|0;a[K+(n*20|0)>>0]=32;b[K+(n*20|0)+2>>1]=0;c[K+(n*20|0)+4>>2]=pa;c[K+(n*20|0)+8>>2]=o;c[K+(n*20|0)+12>>2]=w;c[K+(n*20|0)+16>>2]=0;a[K+(n*20|0)+1>>0]=0;K=0;J=o;I=0;break}else{zi(ia,32,pa,o,w)|0;K=0;J=o;I=0;break}}o=c[P>>2]|0;t=o+68|0;u=c[t>>2]|0;c[t>>2]=u+1;t=o+72|0;if(!(u+-1&u)){q=c[o>>2]|0;r=c[t>>2]|0;o=Mc(q,r,u<<3|4,0)|0;E:do if(!((r|0)==0|(o|0)!=0)){do if(q|0){if(c[q+464>>2]|0){Lc(q,r);break E}s=r;if(s>>>0<(c[q+296>>2]|0)>>>0)break;if(s>>>0>=(c[q+300>>2]|0)>>>0)break;ja=q+292|0;c[r>>2]=c[ja>>2];c[ja>>2]=r;break E}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{ja=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-ja;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[t>>2]=o}else o=c[t>>2]|0;if(o|0)c[o+(u<<2)>>2]=-1;s=~u;r=ia+136|0;o=c[r>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){ja=o+1|0;c[r>>2]=ja;ga=c[ia+88>>2]|0;a[ga+(o*20|0)>>0]=37;b[ga+(o*20|0)+2>>1]=0;c[ga+(o*20|0)+4>>2]=T;c[ga+(o*20|0)+8>>2]=v;c[ga+(o*20|0)+12>>2]=0;c[ga+(o*20|0)+16>>2]=0;a[ga+(o*20|0)+1>>0]=0;o=ja}else{zi(ia,37,T,v,0)|0;o=c[r>>2]|0}if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){ja=o+1|0;c[r>>2]=ja;q=c[ia+88>>2]|0;a[q+(o*20|0)>>0]=122;b[q+(o*20|0)+2>>1]=0;c[q+(o*20|0)+4>>2]=T;c[q+(o*20|0)+8>>2]=L;c[q+(o*20|0)+12>>2]=0;c[q+(o*20|0)+16>>2]=0;a[q+(o*20|0)+1>>0]=0;q=o;o=ja}else{q=zi(ia,122,T,L,0)|0;o=c[r>>2]|0}if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[r>>2]=o+1;ja=c[ia+88>>2]|0;a[ja+(o*20|0)>>0]=29;b[ja+(o*20|0)+2>>1]=0;c[ja+(o*20|0)+4>>2]=pa;c[ja+(o*20|0)+8>>2]=s;c[ja+(o*20|0)+12>>2]=L;c[ja+(o*20|0)+16>>2]=0;a[ja+(o*20|0)+1>>0]=0}else o=zi(ia,29,pa,s,L)|0;if(a[(c[ia>>2]|0)+73>>0]|0){K=q;J=s;I=n;break}K=c[ia+88>>2]|0;a[K+(o*20|0)+1>>0]=-3;c[K+(o*20|0)+16>>2]=0;K=q;J=s;I=n}while(0);G=X<<24>>24==0;do if(!G){Di(f,ba,y);n=ia+136|0;o=c[n>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;ja=c[ia+88>>2]|0;a[ja+(o*20|0)>>0]=17;b[ja+(o*20|0)+2>>1]=0;c[ja+(o*20|0)+4>>2]=y;c[ja+(o*20|0)+8>>2]=0;c[ja+(o*20|0)+12>>2]=0;c[ja+(o*20|0)+16>>2]=0;a[ja+(o*20|0)+1>>0]=0;break}else{zi(ia,17,y,0,0)|0;break}}while(0);do if(H|(Z<<24>>24!=0|Q)){if(Q)F=Im(f,wa)|0;else F=0;D=h|0?110:109;if(!na)n=0;else{E=(h|0)==0;n=0;C=k;do{F:do if((d[C+8>>0]|0)==(D|0)){if(!(a[C+9>>0]&3))break;o=c[C+16>>2]|0;G:do if(!(E|(o|0)==0)){B=c[h>>2]|0;if((B|0)<=0)break F;A=c[o+4>>2]|0;if((A|0)<=0)break F;u=c[o>>2]|0;s=0;while(1){v=c[h+4+(s*20|0)+4>>2]|0;z=d[17324+(d[v>>0]|0)>>0]|0;t=0;while(1){q=c[u+(t<<3)>>2]|0;ja=a[q>>0]|0;o=(d[17324+(ja&255)>>0]|0)-z|0;if(!(ja<<24>>24==0|(o|0)!=0)){r=v;do{q=q+1|0;r=r+1|0;ja=a[q>>0]|0;o=(d[17324+(ja&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(ja<<24>>24==0|(o|0)!=0))}if(!o){ua=529;break}o=t+1|0;if((o|0)<(A|0))t=o;else break}if((ua|0)==529?(ua=0,(t|0)>-1):0)break G;s=s+1|0;if((s|0)>=(B|0))break F}}while(0);o=c[aa>>2]|0;o=c[((o|0)==0?f:o)+460>>2]|0;H:do if(!o)ua=535;else while(1){if((c[o>>2]|0)==(C|0)?(c[o+12>>2]|0)==(j|0):0)break H;o=c[o+4>>2]|0;if(!o){ua=535;break}}while(0);if((ua|0)==535){ua=0;o=Hm(f,C,wa,j)|0;if(!o)break}n=c[o+16>>2]|n}while(0);C=c[C+32>>2]|0}while((C|0)!=0)}o=n|F;I:do if((b[sa>>1]|0)>0){q=wa+4|0;r=ia+136|0;s=ia+88|0;if((o|0)==-1){n=0;while(1){Ek(ia,wa,pa,n,n+x|0);n=n+1|0;if((n|0)>=(b[sa>>1]|0))break I}}else n=0;do{if((n|0)<32?(1<>2]|0)+(n<<4)+15>>0]&1){ua=544;break}t=n+x|0;u=c[r>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(u|0)){c[r>>2]=u+1;ja=c[s>>2]|0;a[ja+(u*20|0)>>0]=70;b[ja+(u*20|0)+2>>1]=0;c[ja+(u*20|0)+4>>2]=0;c[ja+(u*20|0)+8>>2]=t;c[ja+(u*20|0)+12>>2]=0;c[ja+(u*20|0)+16>>2]=0;a[ja+(u*20|0)+1>>0]=0;break}else{zi(ia,70,0,t,0)|0;break}}while(0);if((ua|0)==544){ua=0;Ek(ia,wa,pa,n,n+x|0)}n=n+1|0}while((n|0)<(b[sa>>1]|0))}while(0);if(!(G&(I|0)==0))break;n=ia+136|0;o=c[n>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[n>>2]=o+1;ja=c[ia+88>>2]|0;a[ja+(o*20|0)>>0]=75;b[ja+(o*20|0)+2>>1]=0;c[ja+(o*20|0)+4>>2]=w;c[ja+(o*20|0)+8>>2]=y;c[ja+(o*20|0)+12>>2]=0;c[ja+(o*20|0)+16>>2]=0;a[ja+(o*20|0)+1>>0]=0;break}else{zi(ia,75,w,y,0)|0;break}}while(0);D=h|0?110:109;E=(na|0)==0;if(E)n=0;else{C=(h|0)==0;n=0;B=k;do{J:do if((d[B+8>>0]|0)==(D|0)){if(!(a[B+9>>0]&1))break;o=c[B+16>>2]|0;K:do if(!(C|(o|0)==0)){A=c[h>>2]|0;if((A|0)<=0)break J;z=c[o+4>>2]|0;if((z|0)<=0)break J;u=c[o>>2]|0;s=0;while(1){v=c[h+4+(s*20|0)+4>>2]|0;x=d[17324+(d[v>>0]|0)>>0]|0;t=0;while(1){q=c[u+(t<<3)>>2]|0;na=a[q>>0]|0;o=(d[17324+(na&255)>>0]|0)-x|0;if(!(na<<24>>24==0|(o|0)!=0)){r=v;do{q=q+1|0;r=r+1|0;na=a[q>>0]|0;o=(d[17324+(na&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(na<<24>>24==0|(o|0)!=0))}if(!o){ua=577;break}o=t+1|0;if((o|0)<(z|0))t=o;else break}if((ua|0)==577?(ua=0,(t|0)>-1):0)break K;s=s+1|0;if((s|0)>=(A|0))break J}}while(0);o=c[aa>>2]|0;o=c[((o|0)==0?f:o)+460>>2]|0;L:do if(!o)ua=583;else while(1){if((c[o>>2]|0)==(B|0)?(c[o+12>>2]|0)==(j|0):0)break L;o=c[o+4>>2]|0;if(!o){ua=583;break}}while(0);if((ua|0)==583){ua=0;o=Hm(f,B,wa,j)|0;if(!o)break}n=c[o+20>>2]|n}while(0);B=c[B+32>>2]|0}while((B|0)!=0)}M:do if((b[sa>>1]|0)>0){s=wa+40|0;t=ia+136|0;u=ia+88|0;m=m&1;if(!m){n=0;while(1){o=n+U|0;do if((n|0)==(b[s>>1]|0)){m=c[t>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(m|0)){c[t>>2]=m+1;na=c[u>>2]|0;a[na+(m*20|0)>>0]=70;b[na+(m*20|0)+2>>1]=0;c[na+(m*20|0)+4>>2]=0;c[na+(m*20|0)+8>>2]=o;c[na+(m*20|0)+12>>2]=0;c[na+(m*20|0)+16>>2]=0;a[na+(m*20|0)+1>>0]=0;break}else{zi(ia,70,0,o,0)|0;break}}else{m=c[va+(n<<2)>>2]|0;if((m|0)>-1){Di(f,c[h+4+(m*20|0)>>2]|0,o);break}else{om(f,wa,n,pa,o);break}}while(0);n=n+1|0;if((n|0)>=(b[sa>>1]|0))break M}}else q=0;while(1){r=q+U|0;N:do if((q|0)==(b[s>>1]|0)){o=c[t>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[t>>2]=o+1;ua=c[u>>2]|0;a[ua+(o*20|0)>>0]=70;b[ua+(o*20|0)+2>>1]=0;c[ua+(o*20|0)+4>>2]=0;c[ua+(o*20|0)+8>>2]=r;c[ua+(o*20|0)+12>>2]=0;c[ua+(o*20|0)+16>>2]=0;a[ua+(o*20|0)+1>>0]=0;break}else{zi(ia,70,0,r,0)|0;break}}else{o=c[va+(q<<2)>>2]|0;if((o|0)>-1){Di(f,c[h+4+(o*20|0)>>2]|0,r);break}do if((q|0)<=31){if(1<>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(o|0)){c[t>>2]=o+1;ua=c[u>>2]|0;a[ua+(o*20|0)>>0]=70;b[ua+(o*20|0)+2>>1]=0;c[ua+(o*20|0)+4>>2]=0;c[ua+(o*20|0)+8>>2]=r;c[ua+(o*20|0)+12>>2]=0;c[ua+(o*20|0)+16>>2]=0;a[ua+(o*20|0)+1>>0]=0;break N}else{zi(ia,70,0,r,0)|0;break N}}while(0);om(f,wa,q,pa,r)}while(0);q=q+1|0;if((q|0)>=(b[sa>>1]|0)){ua=599;break}}}else{m=m&1;ua=599}while(0);do if((ua|0)==599){if(!m)break;Kl(ia,wa,U);O:do if(!E){if(!h){m=k;while(1){do if((a[m+8>>0]|0)==110){if((a[m+9>>0]|0)!=1)break;Ll(f,m,wa,w,j,J)}while(0);m=c[m+32>>2]|0;if(!m)break O}}else v=k;do{P:do if((a[v+8>>0]|0)==110){if((a[v+9>>0]|0)!=1)break;m=c[v+16>>2]|0;Q:do if(m|0){z=c[h>>2]|0;if((z|0)<=0)break P;x=c[m+4>>2]|0;if((x|0)<=0)break P;s=c[m>>2]|0;q=0;while(1){t=c[h+4+(q*20|0)+4>>2]|0;u=d[17324+(d[t>>0]|0)>>0]|0;r=0;while(1){n=c[s+(r<<3)>>2]|0;na=a[n>>0]|0;m=(d[17324+(na&255)>>0]|0)-u|0;if(!(na<<24>>24==0|(m|0)!=0)){o=t;do{n=n+1|0;o=o+1|0;na=a[n>>0]|0;m=(d[17324+(na&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(na<<24>>24==0|(m|0)!=0))}if(!m){ua=617;break}m=r+1|0;if((m|0)<(x|0))r=m;else break}if((ua|0)==617?(ua=0,(r|0)>-1):0)break Q;q=q+1|0;if((q|0)>=(z|0))break P}}while(0);Ll(f,v,wa,w,j,J)}while(0);v=c[v+32>>2]|0}while((v|0)!=0)}while(0);n=ia+136|0;m=c[n>>2]|0;o=(c[(c[P>>2]|0)+48>>2]|0)>(m|0);do if(!I)if(o){c[n>>2]=m+1;na=c[ia+88>>2]|0;a[na+(m*20|0)>>0]=32;b[na+(m*20|0)+2>>1]=0;c[na+(m*20|0)+4>>2]=pa;c[na+(m*20|0)+8>>2]=J;c[na+(m*20|0)+12>>2]=w;c[na+(m*20|0)+16>>2]=0;a[na+(m*20|0)+1>>0]=0;break}else{zi(ia,32,pa,J,w)|0;break}else{if(o){c[n>>2]=m+1;na=c[ia+88>>2]|0;a[na+(m*20|0)>>0]=29;b[na+(m*20|0)+2>>1]=0;c[na+(m*20|0)+4>>2]=pa;c[na+(m*20|0)+8>>2]=J;c[na+(m*20|0)+12>>2]=L;c[na+(m*20|0)+16>>2]=0;a[na+(m*20|0)+1>>0]=0}else m=zi(ia,29,pa,J,L)|0;if(a[(c[ia>>2]|0)+73>>0]|0)break;na=c[ia+88>>2]|0;a[na+(m*20|0)+1>>0]=-3;c[na+(m*20|0)+16>>2]=M}while(0);m=b[sa>>1]|0;if(m<<16>>16<=0)break;o=wa+40|0;n=0;do{do if((c[va+(n<<2)>>2]|0)<0){if((n|0)==(b[o>>1]|0))break;Ek(ia,wa,pa,n,n+U|0);m=b[sa>>1]|0}while(0);n=n+1|0}while((n|0)<(m<<16>>16|0))}while(0);do if(!qa){Ml(f,wa,oa,pa,ra,y,w,la,j&255,J,ta,va);if(Q)Nl(f,wa,w,0,va,ma);q=(ma|0)==0;r=(c[ta>>2]|ma|0)==0;do if(r)o=0;else{n=ia+136|0;m=c[n>>2]|0;o=(c[(c[P>>2]|0)+48>>2]|0)>(m|0);if(!I)if(o){c[n>>2]=m+1;o=c[ia+88>>2]|0;a[o+(m*20|0)>>0]=32;b[o+(m*20|0)+2>>1]=0;c[o+(m*20|0)+4>>2]=pa;c[o+(m*20|0)+8>>2]=0;c[o+(m*20|0)+12>>2]=w;c[o+(m*20|0)+16>>2]=0;a[o+(m*20|0)+1>>0]=0;o=m;break}else{o=zi(ia,32,pa,0,w)|0;break}if(o){c[n>>2]=m+1;ta=c[ia+88>>2]|0;a[ta+(m*20|0)>>0]=29;b[ta+(m*20|0)+2>>1]=0;c[ta+(m*20|0)+4>>2]=pa;c[ta+(m*20|0)+8>>2]=0;c[ta+(m*20|0)+12>>2]=L;c[ta+(m*20|0)+16>>2]=0;a[ta+(m*20|0)+1>>0]=0}else m=zi(ia,29,pa,0,L)|0;if(a[(c[ia>>2]|0)+73>>0]|0){o=m;break}o=c[ia+88>>2]|0;a[o+(m*20|0)+1>>0]=-3;c[o+(m*20|0)+16>>2]=M;o=m}while(0);Gm(f,wa,pa,ra,oa,-1);do if(!(q&(p|0)<2)){m=ia+136|0;n=c[m>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;ta=c[ia+88>>2]|0;a[ta+(n*20|0)>>0]=118;b[ta+(n*20|0)+2>>1]=0;c[ta+(n*20|0)+4>>2]=pa;c[ta+(n*20|0)+8>>2]=0;c[ta+(n*20|0)+12>>2]=0;c[ta+(n*20|0)+16>>2]=0;a[ta+(n*20|0)+1>>0]=0;break}else{zi(ia,118,pa,0,0)|0;break}}while(0);if(!r){n=c[ia+136>>2]|0;if(!(a[(c[ia>>2]|0)+73>>0]|0))m=(c[ia+88>>2]|0)+(((o|0)<0?n+-1|0:o)*20|0)|0;else m=46708;c[m+8>>2]=n}if(Q){Nl(f,wa,0,y,va,ma);Ol(f,wa,pa,ra,y,oa,N?6:4,0,0);Jm(f,wa,h,w,va,ma);break}else{Ol(f,wa,pa,ra,y,oa,N?6:4,0,0);break}}while(0);do if(c[W>>2]&128|0){if(c[f+124>>2]|0)break;m=ia+136|0;n=c[m>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(n|0)){c[m>>2]=n+1;ta=c[ia+88>>2]|0;a[ta+(n*20|0)>>0]=80;b[ta+(n*20|0)+2>>1]=0;c[ta+(n*20|0)+4>>2]=V;c[ta+(n*20|0)+8>>2]=1;c[ta+(n*20|0)+12>>2]=0;c[ta+(n*20|0)+16>>2]=0;a[ta+(n*20|0)+1>>0]=0;break}else{zi(ia,80,V,1,0)|0;break}}while(0);R:do if(!E){if(!h)while(1){do if((a[k+8>>0]|0)==110){if((a[k+9>>0]|0)!=2)break;Ll(f,k,wa,w,j,J)}while(0);k=c[k+32>>2]|0;if(!k)break R}do{S:do if((a[k+8>>0]|0)==110){if((a[k+9>>0]|0)!=2)break;m=c[k+16>>2]|0;T:do if(m|0){v=c[h>>2]|0;if((v|0)<=0)break S;u=c[m+4>>2]|0;if((u|0)<=0)break S;r=c[m>>2]|0;p=0;while(1){s=c[h+4+(p*20|0)+4>>2]|0;t=d[17324+(d[s>>0]|0)>>0]|0;q=0;while(1){n=c[r+(q<<3)>>2]|0;ta=a[n>>0]|0;m=(d[17324+(ta&255)>>0]|0)-t|0;if(!(ta<<24>>24==0|(m|0)!=0)){o=s;do{n=n+1|0;o=o+1|0;ta=a[n>>0]|0;m=(d[17324+(ta&255)>>0]|0)-(d[17324+(d[o>>0]|0)>>0]|0)|0}while(!(ta<<24>>24==0|(m|0)!=0))}if(!m){ua=682;break}m=q+1|0;if((m|0)<(u|0))q=m;else break}if((ua|0)==682?(ua=0,(q|0)>-1):0)break T;p=p+1|0;if((p|0)>=(v|0))break S}}while(0);Ll(f,k,wa,w,j,J)}while(0);k=c[k+32>>2]|0}while((k|0)!=0)}while(0);U:do switch(R|0){case 1:break;case 2:{k=c[(c[P>>2]|0)+72>>2]|0;if(k|0)c[k+(~J<<2)>>2]=c[ia+136>>2];Ul(S);break}default:{if(!I){k=ia+136|0;m=c[k>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;j=c[ia+88>>2]|0;a[j+(m*20|0)>>0]=13;b[j+(m*20|0)+2>>1]=0;c[j+(m*20|0)+4>>2]=0;c[j+(m*20|0)+8>>2]=J;c[j+(m*20|0)+12>>2]=0;c[j+(m*20|0)+16>>2]=0;a[j+(m*20|0)+1>>0]=0;break U}else{zi(ia,13,0,J,0)|0;break U}}n=c[P>>2]|0;k=c[n+72>>2]|0;m=ia+136|0;if(k|0)c[k+(~J<<2)>>2]=c[m>>2];k=c[m>>2]|0;if((c[n+48>>2]|0)>(k|0)){c[m>>2]=k+1;j=c[ia+88>>2]|0;a[j+(k*20|0)>>0]=7;b[j+(k*20|0)+2>>1]=0;c[j+(k*20|0)+4>>2]=T;c[j+(k*20|0)+8>>2]=K;c[j+(k*20|0)+12>>2]=0;c[j+(k*20|0)+16>>2]=0;a[j+(k*20|0)+1>>0]=0;break U}else{zi(ia,7,T,K,0)|0;break U}}}while(0);k=c[(c[P>>2]|0)+72>>2]|0;if(k|0)c[k+(O<<2)>>2]=c[ia+136>>2];do if(!(a[ha>>0]|0)){if(c[f+124>>2]|0)break;if(!(c[f+116>>2]|0))break;Jl(f)}while(0);if(!(c[W>>2]&128))break;if(c[f+124>>2]|0)break;if(a[ha>>0]|0)break;k=ia+136|0;m=c[k>>2]|0;if((c[(c[P>>2]|0)+48>>2]|0)>(m|0)){c[k>>2]=m+1;f=c[ia+88>>2]|0;a[f+(m*20|0)>>0]=78;b[f+(m*20|0)+2>>1]=0;c[f+(m*20|0)+4>>2]=V;c[f+(m*20|0)+8>>2]=1;c[f+(m*20|0)+12>>2]=0;c[f+(m*20|0)+16>>2]=0;a[f+(m*20|0)+1>>0]=0}else zi(ia,78,V,1,0)|0;vi(ia,1);if(a[(c[ia>>2]|0)+73>>0]|0)break;Ve(c[ia+100>>2]|0,33507,-1,1,0)|0}while(0);if(!ka)break;c[ka+440>>2]=$}while(0);do if(xa|0){if(c[xa+464>>2]|0){Lc(xa,va);break a}k=va;if(k>>>0<(c[xa+296>>2]|0)>>>0)break;if(k>>>0>=(c[xa+300>>2]|0)>>>0)break;f=xa+292|0;c[va>>2]=c[f>>2];c[f>>2]=va;break a}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](va);break a}else{f=jb[c[64>>2]&255](va)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](va);break a}}while(0);c[y>>2]=c[wa>>2];hg(f,32610,y)}}}while(0);ag(xa,g);if(h|0)Rf(xa,h);if(!i){l=ya;return}Qf(xa,i);l=ya;return}function bj(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;i=q;p=c[b>>2]|0;if(!d)k=0;else k=c[d>>2]|0;n=(e|0)==0;m=(f|0)==0;do if(!(n|m)){h=a[f>>0]|0;j=e+4|0;g=c[j>>2]|0;switch(h<<24>>24){case 119:break;case -106:{h=a[f+38>>0]|0;o=8;break}default:o=8}if((o|0)==8){switch(h<<24>>24){case -105:{h=f+20|0;o=11;break}case 119:{h=c[f+20>>2]|0;o=11;break}default:h=1}if((o|0)==11)h=c[c[h>>2]>>2]|0;if((g|0)!=(h|0)){c[i>>2]=g;c[i+4>>2]=h;hg(b,29490,i);o=20;break}}if((g|0)>0){h=0;do{i=Cm(b,f,h)|0;d=Mi(c[b>>2]|0,d,i)|0;if(d|0){i=(c[e>>2]|0)+(h<<3)|0;c[d+4+(((c[d>>2]|0)+-1|0)*20|0)+4>>2]=c[i>>2];c[i>>2]=0}h=h+1|0;g=c[j>>2]|0}while((h|0)<(g|0))}if(!(a[p+73>>0]|0))if((d|0)!=0&(a[f>>0]|0)==119){m=c[d+4+(k*20|0)>>2]|0;c[m+16>>2]=f;c[m+28>>2]=g}else o=21;else o=20}else o=20;while(0);if((o|0)==20)if(!m)o=21;if((o|0)==21)Qf(p,f);if(n){l=q;return d|0}m=e+4|0;g=c[e>>2]|0;a:do if((c[m>>2]|0)>0){i=p+464|0;j=p+296|0;b=p+300|0;k=p+292|0;if(!p){h=0;while(1){g=c[g+(h<<3)>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);h=h+1|0;g=c[e>>2]|0;if((h|0)>=(c[m>>2]|0))break a}}else h=0;do{g=c[g+(h<<3)>>2]|0;do if(g|0){if(c[i>>2]|0){Lc(p,g);break}o=g;if(o>>>0>=(c[j>>2]|0)>>>0?o>>>0<(c[b>>2]|0)>>>0:0){c[g>>2]=c[k>>2];c[k>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);h=h+1|0;g=c[e>>2]|0}while((h|0)<(c[m>>2]|0))}while(0);b:do if(g){do if(p|0){i=p+464|0;if(!(c[i>>2]|0)){h=g;if(h>>>0<(c[p+296>>2]|0)>>>0)break;if(h>>>0>=(c[p+300>>2]|0)>>>0)break;o=p+292|0;c[g>>2]=c[o>>2];c[o>>2]=g}else Lc(p,g);g=i;o=53;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);o=51;break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);o=51;break}}else o=51;while(0);if((o|0)==51)if(p){g=p+464|0;o=53}if((o|0)==53){if(c[g>>2]|0){Lc(p,e);l=q;return d|0}o=e;if(o>>>0>=(c[p+296>>2]|0)>>>0?o>>>0<(c[p+300>>2]|0)>>>0:0){p=p+292|0;c[e>>2]=c[p>>2];c[p>>2]=e;l=q;return d|0}}if(!e){l=q;return d|0}if(!(c[2]|0)){pb[c[56>>2]&255](e);l=q;return d|0}else{p=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);l=q;return d|0}return 0} +function $q(f,g,h){f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,kb=0,lb=0,mb=0,nb=0,ob=0,qb=0,rb=0,sb=0,tb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0;Qb=l;l=l+304|0;Mb=Qb+272|0;Lb=Qb+264|0;Kb=Qb+256|0;Jb=Qb+248|0;Ib=Qb+240|0;Hb=Qb+232|0;Fb=Qb+224|0;Eb=Qb+216|0;Db=Qb+208|0;Cb=Qb+200|0;Bb=Qb+192|0;Ab=Qb+184|0;zb=Qb+176|0;yb=Qb+168|0;xb=Qb+160|0;wb=Qb+152|0;ub=Qb+144|0;tb=Qb+136|0;sb=Qb+128|0;Gb=Qb+120|0;vb=Qb+112|0;m=Qb+104|0;Nb=Qb+56|0;mb=Qb+288|0;nb=Qb+8|0;ob=Qb;qb=Qb+284|0;rb=Qb+280|0;if(Nc()|0){Pb=7;l=Qb;return Pb|0}if(!(c[2]|0)){i=jb[c[52>>2]&255](640)|0;if(!i){Pb=7;l=Qb;return Pb|0}else Ob=i}else{i=jb[c[68>>2]&255](640)|0;if((c[11829]|0)>>>0<640)c[11829]=640;k=46456;j=c[k>>2]|0;k=c[k+4>>2]|0;if((k|0)>0|(k|0)==0&j>>>0>0){kb=c[11822]|0;Ob=Gt(j|0,k|0,i|0,((i|0)<0)<<31>>31|0)|0;ib=z;c[11616]=(0>(ib|0)|0==(ib|0)&kb>>>0>=Ob>>>0)&1}j=jb[c[52>>2]&255](i)|0;if(!j){Pb=7;l=Qb;return Pb|0}i=jb[c[64>>2]&255](j)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0){c[11831]=i;Ob=j}else Ob=j}ib=Ob+568|0;kb=Ob+584|0;k=f+144|0;i=c[k>>2]|0;c[Nb>>2]=i;do if(!i){i=c[f+20>>2]|0;c[m>>2]=c[f+16>>2];c[m+4>>2]=i;i=xd(39981,m)|0;if(!i){j=7;i=0;break}j=si(c[f+12>>2]|0,i,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](i);else{hb=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-hb;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i)}i=c[Nb>>2]|0;c[k>>2]=i;if(!j){o=i;P=21}else i=0}else{o=i;P=21}while(0);do if((P|0)==21){p=o;do if(!(Ho(p,1)|0)){i=c[p+116>>2]|0;j=i+8|0;if(!(b[j>>1]&9312)){hb=i;c[hb>>2]=1;c[hb+4>>2]=0;b[j>>1]=4;break}else{Xe(i,1,0);break}}while(0);do if((qi(p)|0)==100){if(!o)j=ff(424)|0;else{i=c[p+104>>2]|0;if((i|0)!=0?(b[p+140>>1]|0)!=0:0)j=p;else{i=c[p>>2]|0;c[i+56>>2]=25;dg(i,25);i=424;j=p}m=ff(i)|0;i=c[j>>2]|0;k=p+40|0;j=c[k>>2]|0;if((j|0)==3082|(a[i+73>>0]|0)!=0){Th(i);i=7}else i=c[i+60>>2]&j;c[k>>2]=i;j=m}m=Ao(p,0)|0;if(j){if((m|0)>0){if(Nc()|0){n=7;i=0;m=0;q=0;break}i=Oc(0,m,0)|0;if(!i){n=7;i=0;m=0;q=0;break}else k=m}else{i=0;k=0}Tt(i|0,j|0,m|0)|0;n=0;q=k}else{n=0;i=0;m=0;q=0}}else{n=0;i=0;m=0;q=0}while(0);do if(o){j=c[p>>2]|0;hb=p+128|0;gb=c[hb+4>>2]|0;if((gb|0)>0|(gb|0)==0&(c[hb>>2]|0)>>>0>0)Rh(j,p);k=Sh(p)|0;c[p+20>>2]=770837923;c[p+36>>2]=-1;c[p+40>>2]=0;a[p+142>>0]=2;c[p+44>>2]=0;c[p+32>>2]=1;a[p+143>>0]=-1;c[p+48>>2]=0;hb=p+64|0;c[hb>>2]=0;c[hb+4>>2]=0;if((k|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&k;break}}else j=0;while(0);j=(n|0)==0?j:n;if((j|0)==0&(g|0)>0){db=f+252|0;eb=f+168|0;fb=f+16|0;gb=f+20|0;hb=f+12|0;S=(h|0)>2?h:2;T=Ob+580|0;U=f+88|0;V=f+116|0;W=f+104|0;X=Ob+588|0;Y=Ob+596|0;Z=Ob+572|0;_=Ob+624|0;$=Ob+628|0;aa=f+184|0;ba=Ob+40|0;ca=Ob+48|0;da=f+192|0;ea=nb+8|0;fa=nb+4|0;ga=nb+24|0;ha=nb+28|0;ia=nb+16|0;ja=Ob+24|0;ka=Ob+32|0;la=Ob+8|0;ma=Ob+16|0;na=f+228|0;oa=Nb+8|0;pa=Nb+4|0;qa=Nb+28|0;ra=Nb+24|0;sa=Nb+16|0;ta=Ob+116|0;ua=Ob+108|0;va=Ob+56|0;wa=Ob+112|0;xa=f+92|0;ya=Ob+632|0;za=Ob+636|0;Aa=Ob+64|0;Ba=Ob+68|0;Ca=Ob+76|0;Da=Ob+80|0;Ea=Ob+4|0;Fa=Ob+84|0;Ga=f+176|0;Ha=f+124|0;Ia=nb+4|0;Ja=f+188|0;Ka=mb+4|0;La=f+196|0;Ma=f+236|0;Na=f+180|0;Oa=f+172|0;Pa=f+96|0;Qa=Ob+88|0;Ra=Ob+120|0;Sa=Ob+152|0;Ta=Ob+184|0;Ua=Ob+216|0;Va=Ob+248|0;Wa=Ob+280|0;Xa=Ob+312|0;Ya=Ob+344|0;Za=Ob+376|0;_a=Ob+408|0;$a=Ob+440|0;ab=Ob+472|0;bb=Ob+504|0;cb=Ob+536|0;N=g;k=0;n=q;h=0;q=0;while(1){v=c[db>>2]<<10;w=((v|0)<0)<<31>>31;R=c[eb>>2]|0;c[Nb>>2]=R;j=R;if((R|0)==0?(lb=c[gb>>2]|0,c[vb>>2]=c[fb>>2],c[vb+4>>2]=lb,lb=xd(41450,vb)|0,(lb|0)!=0):0){si(c[hb>>2]|0,lb,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](lb);else{R=jb[c[64>>2]&255](lb)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](lb)}j=c[Nb>>2]|0;c[eb>>2]=j}g=j;do if(!(Ho(g,1)|0)){o=c[g+116>>2]|0;p=o+8|0;if(!(b[p>>1]&9312)){R=o;c[R>>2]=S;c[R+4>>2]=0;b[p>>1]=4;break}else{Xe(o,S,0);break}}while(0);if((qi(g)|0)==100){h=Do(g,0)|0;q=z;u=Co(g,1)|0}else u=-1;do if(j){j=c[g>>2]|0;R=g+128|0;Q=c[R+4>>2]|0;if((Q|0)>0|(Q|0)==0&(c[R>>2]|0)>>>0>0)Rh(j,g);o=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;R=g+64|0;c[R>>2]=0;c[R+4>>2]=0;if(!((o|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&o;if(!j){P=67;break}else{g=0;p=u;o=m;P=91;break}}else{Th(j);g=0;p=u;j=7;o=m;P=91;break}}else P=67;while(0);if((P|0)==67){P=0;if(m){o=m+-2|0;while(1){if((o|0)<=0)break;j=o+-1|0;if((a[i+j>>0]|0)<0)o=j;else break}while(1){if((o|0)<=0)break;j=o+-1|0;if((a[i+j>>0]|0)<0)o=j;else break}s=i+o|0;p=a[s>>0]|0;j=p&255;do if(!(j&128)){g=1;t=p&255;r=0}else{R=d[s+1>>0]<<7;j=R|j&127;if(!(R&16384)){g=2;t=j;r=0;break}R=d[s+2>>0]<<14;j=R|j&16383;if(!(R&2097152)){g=3;t=j;r=0;break}R=d[s+3>>0]<<21;j=R|j&2097151;if(!(R&268435456)){g=4;t=j;r=0;break}p=28;g=s+4|0;j=j&268435455;r=0;do{R=g;g=g+1|0;R=d[R>>0]|0;Q=Rt(R&127|0,0,p|0)|0;j=Ft(Q|0,z|0,j|0,r|0)|0;r=z;p=p+7|0}while((p|0)<64&((R&128|0)!=0|0!=0));g=g-s|0;t=j}while(0);s=g+o|0;g=i+s|0;j=a[g>>0]|0;p=j&255;do if(p&128){R=a[g+1>>0]<<7;j=R|j&127;if(R&16384){R=a[g+2>>0]<<14;j=R|j&16383;if(!(R&2097152)){p=j;j=3}else{R=a[g+3>>0]<<21;j=R|j&2097151;if(!(R&268435456)){p=j;j=4;break}p=(a[g+4>>0]&7)<<28|j&268435455;j=5}}else{p=j;j=2}}else j=1;while(0);j=(j+s|0)==(m|0)?0:267;if((u|0)>=0?(Q=Mt(h|0,q|0,v|0,w|0)|0,L=z,R=Mt(t|0,r|0,v|0,w|0)|0,M=z,(L|0)<(M|0)|(L|0)==(M|0)&Q>>>0>>0):0){G=0;M=u;o=m;R=h;Q=q}else{g=1;k=1;h=t;q=r;P=91}}else{g=0;p=u;j=0;o=0;P=91}}if((P|0)==91)if((p|0)<0)break;else{G=g;M=p;R=h;Q=q}Vt(Ob|0,0,640)|0;c[T>>2]=1;a:do if(!j){j=c[U>>2]|0;c[Nb>>2]=j;do if(!j){j=c[gb>>2]|0;c[Gb>>2]=c[fb>>2];c[Gb+4>>2]=j;j=xd(40089,Gb)|0;if(!j){t=0;P=113;break}m=si(c[hb>>2]|0,j,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{P=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}j=c[Nb>>2]|0;c[U>>2]=j;if(!m)P=101;else{t=0;P=113}}else P=101;while(0);if((P|0)==101){P=0;g=j;m=Ft(R|0,Q|0,1,0)|0;p=z;do if(!(Ho(g,1)|0)){h=c[g+116>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){L=h;c[L>>2]=m;c[L+4>>2]=p;b[q>>1]=4;break}else{Xe(h,m,p);break}}while(0);qi(g)|0;p=Co(g,0)|0;do if(j){j=c[g>>2]|0;L=g+128|0;K=c[L+4>>2]|0;if((K|0)>0|(K|0)==0&(c[L>>2]|0)>>>0>0)Rh(j,g);m=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;L=g+64|0;c[L>>2]=0;c[L+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&m;break}}else j=0;while(0);if(p)if((G|0)!=0&(p|0)==1){t=1;P=113}else F=p;else{t=0;P=113}}do if((P|0)==113){P=0;g=Ft(R|0,Q|0,1,0)|0;r=z;j=c[V>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[sb>>2]=c[fb>>2];c[sb+4>>2]=m;m=xd(40023,sb)|0;if(!m){m=N;j=7;break a}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{L=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[V>>2]=m;if(!j)j=m;else{m=N;break a}}s=j;m=Ft(R|0,Q|0,2,0)|0;p=z;do if(!(Ho(s,1)|0)){h=c[s+116>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){L=h;c[L>>2]=m;c[L+4>>2]=p;b[q>>1]=4;break}else{Xe(h,m,p);break}}while(0);m=Jt(g|0,r|0,1024,0)|0;m=Rt(m|0,z|0,10)|0;m=Ft(m|0,z|0,1024,0)|0;p=z;do if(!(Ho(s,2)|0)){q=c[s+116>>2]|0;h=q+40|0;q=q+48|0;if(!(b[q>>1]&9312)){L=h;c[L>>2]=m;c[L+4>>2]=p;b[q>>1]=4;break}else{Xe(h,m,p);break}}while(0);if((qi(s)|0)==100){if(!j)m=1;else{m=c[s+104>>2]|0;do if(!m)P=134;else{if(!(b[s+140>>1]|0)){P=134;break}p=s}while(0);if((P|0)==134){P=0;m=c[s>>2]|0;c[m+56>>2]=25;dg(m,25);m=424;p=s}m=b[m+8>>1]&31;p=c[p>>2]|0;q=s+40|0;h=c[q>>2]|0;if((h|0)==3082|(a[p+73>>0]|0)!=0){Th(p);p=7}else p=c[p+60>>2]&h;c[q>>2]=p}p=-1431655766>>>m&1}else p=0;do if(j){j=c[s>>2]|0;L=s+128|0;K=c[L+4>>2]|0;if((K|0)>0|(K|0)==0&(c[L>>2]|0)>>>0>0)Rh(j,s);m=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;L=s+64|0;c[L>>2]=0;c[L+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&m;break}}else j=0;while(0);if(!p){F=t;break}c[T>>2]=c[T>>2]|2;F=t}while(0);if(!j){D=kb;E=D+56|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));j=M<<2;m=Fd(j)|0;c[kb>>2]=m;if(!m){m=N;j=7}else{Vt(m|0,0,j|0)|0;j=c[W>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[tb>>2]=c[fb>>2];c[tb+4>>2]=m;m=xd(40885,tb)|0;if(!m){m=N;j=7;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{L=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[W>>2]=m;if(!j)j=m;else{m=N;break}}C=j;do if(!(Ho(C,1)|0)){m=c[C+116>>2]|0;p=m+8|0;if(!(b[p>>1]&9312)){L=m;c[L>>2]=R;c[L+4>>2]=Q;b[p>>1]=4;break}else{Xe(m,R,Q);break}}while(0);A=(j|0)==0;x=C+104|0;B=C+40|0;y=C+140|0;j=(M|0)>0&(qi(C)|0)==100;b:do if(A){if(j)m=0;else{j=0;P=191;break}while(1){p=Do(C,1)|0;h=z;q=Do(C,2)|0;g=z;r=Do(C,3)|0;s=z;t=ff(424)|0;u=Ao(C,4)|0;v=(c[kb>>2]|0)+(m<<2)|0;j=(p|0)==0&(h|0)==0?u+20|0:0;w=Fd(j+96|0)|0;if(!w)break;D=w;E=D+96|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));c[w>>2]=m;a[w+4>>0]=0;P=w+8|0;c[P>>2]=p;c[P+4>>2]=h;P=w+16|0;c[P>>2]=q;c[P+4>>2]=g;P=w+24|0;c[P>>2]=r;c[P+4>>2]=s;if(!j){L=Ft(p|0,h|0,-1,-1)|0;P=w+32|0;c[P>>2]=L;c[P+4>>2]=z}else{D=w+96|0;c[w+40>>2]=D;a[w+5>>0]=1;c[w+44>>2]=u;Tt(D|0,t|0,u|0)|0;D=D+u|0;E=D+20|0;do{a[D>>0]=0;D=D+1|0}while((D|0)<(E|0))}c[v>>2]=w;c[X>>2]=(c[X>>2]|0)+1;m=m+1|0;if(!((m|0)<(M|0)&(qi(C)|0)==100)){j=0;m=1;P=184;break b}}c[X>>2]=(c[X>>2]|0)+1;j=7;m=0;P=184}else{if(j)g=0;else{j=0;m=1;P=185;break}while(1){r=Do(C,1)|0;s=z;t=Do(C,2)|0;u=z;v=Do(C,3)|0;w=z;j=c[x>>2]|0;do if(!j)P=174;else{if((e[y>>1]|0)<=4){P=174;break}j=j+160|0}while(0);if((P|0)==174){P=0;j=c[C>>2]|0;c[j+56>>2]=25;dg(j,25);j=424}q=ff(j)|0;j=c[C>>2]|0;m=c[B>>2]|0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7}else j=c[j+60>>2]&m;c[B>>2]=j;m=Ao(C,4)|0;p=(c[kb>>2]|0)+(g<<2)|0;j=(r|0)==0&(s|0)==0?m+20|0:0;h=Fd(j+96|0)|0;if(!h)break;D=h;E=D+96|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));c[h>>2]=g;a[h+4>>0]=0;L=h+8|0;c[L>>2]=r;c[L+4>>2]=s;L=h+16|0;c[L>>2]=t;c[L+4>>2]=u;L=h+24|0;c[L>>2]=v;c[L+4>>2]=w;if(!j){K=Ft(r|0,s|0,-1,-1)|0;L=h+32|0;c[L>>2]=K;c[L+4>>2]=z}else{D=h+96|0;c[h+40>>2]=D;a[h+5>>0]=1;c[h+44>>2]=m;Tt(D|0,q|0,m|0)|0;D=D+m|0;E=D+20|0;do{a[D>>0]=0;D=D+1|0}while((D|0)<(E|0))}c[p>>2]=h;c[X>>2]=(c[X>>2]|0)+1;g=g+1|0;if(!((g|0)<(M|0)&(qi(C)|0)==100)){j=0;m=1;P=184;break b}}c[X>>2]=(c[X>>2]|0)+1;j=7;m=0;P=184}while(0);do if((P|0)==184){P=0;if(!A){P=185;break}if(m){j=0;P=191}}while(0);do if((P|0)==185){P=0;p=c[C>>2]|0;L=C+128|0;K=c[L+4>>2]|0;if((K|0)>0|(K|0)==0&(c[L>>2]|0)>>>0>0)Rh(p,C);h=Sh(C)|0;c[C+20>>2]=770837923;c[C+36>>2]=-1;c[B>>2]=0;a[C+142>>0]=2;c[C+44>>2]=0;c[C+32>>2]=1;a[C+143>>0]=-1;c[C+48>>2]=0;L=C+64|0;c[L>>2]=0;c[L+4>>2]=0;if((h|0)==3082|(a[p+73>>0]|0)!=0){Th(p);if(m){j=7;P=191;break}else break}else if(m){j=c[p+60>>2]&h;P=191;break}else break}while(0);if((P|0)==191)P=0;if(j|0){m=N;break}if((c[X>>2]|0)!=(M|0)){m=N;j=0;break}c[Y>>2]=ib;j=bq(f,kb,c[ib>>2]|0,c[Z>>2]|0)|0;if(j|0){m=N;break}j=cq(f,kb)|0;if((j|0)!=100){m=N;break}c:do if((G|0)!=0&(F|0)>0){y=c[_>>2]|0;A=c[$>>2]|0;C=F+-1|0;j=c[aa>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[ub>>2]=c[fb>>2];c[ub+4>>2]=m;m=xd(41569,ub)|0;if(!m){m=N;p=M;j=7;P=790;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{L=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[aa>>2]=m;if(!j)j=m;else{m=N;p=M;P=790;break}}F=j;m=Ft(R|0,Q|0,1,0)|0;p=z;do if(!(Ho(F,1)|0)){h=c[F+116>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){L=h;c[L>>2]=m;c[L+4>>2]=p;b[q>>1]=4;break}else{Xe(h,m,p);break}}while(0);m=((C|0)<0)<<31>>31;do if(!(Ho(F,2)|0)){h=c[F+116>>2]|0;p=h+40|0;h=h+48|0;if(!(b[h>>1]&9312)){L=p;c[L>>2]=C;c[L+4>>2]=m;b[h>>1]=4;break}else{Xe(p,C,m);break}}while(0);do if((qi(F)|0)!=100){if(!j){P=402;break c}j=c[F>>2]|0;P=F+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,F);m=Sh(F)|0;c[F+20>>2]=770837923;c[F+36>>2]=-1;c[F+40>>2]=0;a[F+142>>0]=2;c[F+44>>2]=0;c[F+32>>2]=1;a[F+143>>0]=-1;c[F+48>>2]=0;P=F+64|0;c[P>>2]=0;c[P+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);m=N;p=M;j=7;P=790;break c}else{j=c[j+60>>2]&m;break}}else{m=Do(F,1)|0;B=z;w=Do(F,2)|0;x=z;v=fl(F,3)|0;if(!v){h=ba;g=0;t=0;p=c[h+4>>2]|0;h=c[h>>2]|0}else{p=a[v>>0]|0;if((p+-48&255)<10){q=0;g=0;h=0;do{g=Lt(g|0,h|0,10,0)|0;h=(p&255)+-48|0;g=Ft(h|0,((h|0)<0)<<31>>31|0,g|0,z|0)|0;h=z;q=q+1|0;p=a[v+q>>0]|0}while((p+-48&255)<10);p=q}else{p=0;g=0;h=0}d:while(1){q=a[v+p>>0]|0;switch(q<<24>>24){case 45:{P=220;break d}case 32:break;default:{t=1;u=0;break d}}p=p+1|0}if((P|0)==220){P=0;q=p+1|0;p=q;q=a[v+q>>0]|0;t=-1;u=-1}if((q+-48&255)<10){s=0;r=0;do{s=Lt(s|0,r|0,10,0)|0;r=(q&255)+-48|0;s=Ft(r|0,((r|0)<0)<<31>>31|0,s|0,z|0)|0;r=z;p=p+1|0;q=a[v+p>>0]|0}while((q+-48&255)<10);q=s;p=r}else{q=0;p=0}L=Lt(q|0,p|0,t|0,u|0)|0;p=z;t=ba;c[t>>2]=L;c[t+4>>2]=p;t=h;h=L}q=Gt(0,0,h|0,p|0)|0;r=z;if((p|0)<0){h=ba;c[h>>2]=q;c[h+4>>2]=r;h=q;p=r}a[ca>>0]=(h|0)==0&(p|0)==0&1;u=Ao(F,4)|0;v=(j|0)==0;if(v)s=ff(424)|0;else{j=c[F+104>>2]|0;do if(!j)P=231;else{if((e[F+140>>1]|0)<=4){P=231;break}j=j+160|0;p=F}while(0);if((P|0)==231){P=0;j=c[F>>2]|0;c[j+56>>2]=25;dg(j,25);j=424;p=F}q=ff(j)|0;p=c[p>>2]|0;h=F+40|0;j=c[h>>2]|0;if((j|0)==3082|(a[p+73>>0]|0)!=0){Th(p);j=7}else j=c[p+60>>2]&j;c[h>>2]=j;s=q}j=c[da>>2]|0;c[Nb>>2]=j;do if(!j){j=c[gb>>2]|0;c[wb>>2]=c[fb>>2];c[wb+4>>2]=j;j=xd(41676,wb)|0;if(!j){p=7;break}p=si(c[hb>>2]|0,j,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](j);else{L=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-L;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}j=c[Nb>>2]|0;c[da>>2]=j;if(!p){h=j;P=245}}else{h=j;P=245}while(0);e:do if((P|0)==245){r=h;do if(!(Ho(r,1)|0)){j=c[r+116>>2]|0;p=j+8|0;if(!(b[p>>1]&9312)){P=j;c[P>>2]=g;c[P+4>>2]=t;b[p>>1]=4;break}else{Xe(j,g,t);break}}while(0);q=(qi(r)|0)==100;j=q&1;do if(h){p=c[r>>2]|0;P=r+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(p,r);h=Sh(r)|0;c[r+20>>2]=770837923;c[r+36>>2]=-1;c[r+40>>2]=0;a[r+142>>0]=2;c[r+44>>2]=0;c[r+32>>2]=1;a[r+143>>0]=-1;c[r+48>>2]=0;P=r+64|0;c[P>>2]=0;c[P+4>>2]=0;if((h|0)==3082|(a[p+73>>0]|0)!=0){Th(p);p=7;break e}else{p=c[p+60>>2]&h;break}}else p=0;while(0);if(q&(p|0)==0){c[Nb>>2]=0;c[mb>>2]=0;p=oq(f,w,x,Nb,mb)|0;if(!p){h=c[Nb>>2]|0;j=c[mb>>2]|0;D=ea;E=D+40|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));c[nb>>2]=h;c[fa>>2]=j;if(!(a[h>>0]|0))j=1;else{r=h+1|0;j=a[r>>0]|0;p=j&255;do if(!(p&128)){P=ia;c[P>>2]=j&255;c[P+4>>2]=0;j=1}else{P=d[h+2>>0]<<7;j=P|p&127;if(!(P&16384)){P=ia;c[P>>2]=j;c[P+4>>2]=0;j=2;break}P=d[h+3>>0]<<14;j=P|j&16383;if(!(P&2097152)){P=ia;c[P>>2]=j;c[P+4>>2]=0;j=3;break}P=d[h+4>>0]<<21;j=P|j&2097151;if(!(P&268435456)){P=ia;c[P>>2]=j;c[P+4>>2]=0;j=4;break}q=28;h=h+5|0;j=j&268435455;p=0;do{P=h;h=h+1|0;P=d[P>>0]|0;L=Rt(P&127|0,0,q|0)|0;j=Ft(L|0,z|0,j|0,p|0)|0;p=z;q=q+7|0}while((q|0)<64&((P&128|0)!=0|0!=0));P=ia;c[P>>2]=j;c[P+4>>2]=p;j=h-r|0}while(0);j=j+1|0}c[ea>>2]=j;p=ar(nb)|0;if((p|0)==0&(c[nb>>2]|0)!=0)do p=ar(nb)|0;while((p|0)==0&(c[nb>>2]|0)!=0);h=c[ga>>2]|0;P=c[ha>>2]|0;j=Bs(y,h,(A|0)<(P|0)?A:P)|0;j=(((j|0)==0?A-P|0:j)|0)>0&1;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{P=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0)}h=c[Nb>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{P=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0)}if(!((p|0)==0&(j|0)!=0))break;q=a[s>>0]|0;r=q<<24>>24;h=Gt(1,0,m|0,B|0)|0;h=Ft(h|0,z|0,g|0,t|0)|0;h=(h|0)/16|0;c[Ob>>2]=h;j=ja;c[j>>2]=m;c[j+4>>2]=B;j=ka;c[j>>2]=g;c[j+4>>2]=t;j=la;c[j>>2]=R;c[j+4>>2]=Q;c[ma>>2]=C;j=r+1|0;if((j|0)<16){p=j;j=B;do{P=O(p,h)|0;m=Ft(P|0,((P|0)<0)<<31>>31|0,m|0,j|0)|0;j=Ob+56+(p<<5)|0;c[j>>2]=m;c[j+4>>2]=z;p=p+1|0;j=ja;m=c[j>>2]|0;j=c[j+4>>2]|0}while((p|0)!=16)}else j=B;p=O(r,h)|0;p=Ft(m|0,j|0,p|0,((p|0)<0)<<31>>31|0)|0;m=Ob+56+(r<<5)|0;c[m>>2]=p;c[m+4>>2]=z;m=c[na>>2]|0;m=(u|0)>(m|0)?u:m;p=Ob+56+(r<<5)+28|0;h=Ob+56+(r<<5)+20|0;j=c[h>>2]|0;if((c[p>>2]|0)<(m|0)){if(Nc()|0){p=7;break}j=Oc(j,(m|0)>0?m:0,0)|0;if(!j){p=7;break}c[p>>2]=m;c[h>>2]=j}Tt(j|0,s|0,u|0)|0;c[Ob+56+(r<<5)+24>>2]=u;if(q<<24>>24>-1)j=u;else{p=0;break}while(1){p=c[Ob+56+(r<<5)+20>>2]|0;D=oa;E=D+40|0;do{c[D>>2]=0;D=D+4|0}while((D|0)<(E|0));c[Nb>>2]=p;c[pa>>2]=j;if(!(a[p>>0]|0))j=1;else{q=p+1|0;j=a[q>>0]|0;m=j&255;do if(!(m&128)){P=sa;c[P>>2]=j&255;c[P+4>>2]=0;j=1}else{P=d[p+2>>0]<<7;j=P|m&127;if(!(P&16384)){P=sa;c[P>>2]=j;c[P+4>>2]=0;j=2;break}P=d[p+3>>0]<<14;j=P|j&16383;if(!(P&2097152)){P=sa;c[P>>2]=j;c[P+4>>2]=0;j=3;break}P=d[p+4>>0]<<21;j=P|j&2097151;if(!(P&268435456)){P=sa;c[P>>2]=j;c[P+4>>2]=0;j=4;break}h=28;p=p+5|0;j=j&268435455;m=0;do{P=p;p=p+1|0;P=d[P>>0]|0;L=Rt(P&127|0,0,h|0)|0;j=Ft(L|0,z|0,j|0,m|0)|0;m=z;h=h+7|0}while((h|0)<64&((P&128|0)!=0|0!=0));P=sa;c[P>>2]=j;c[P+4>>2]=m;j=p-q|0}while(0);j=j+1|0}c[oa>>2]=j;j=ar(Nb)|0;m=(j|0)==0;if(m&(c[Nb>>2]|0)!=0)do{j=ar(Nb)|0;m=(j|0)==0}while(m&(c[Nb>>2]|0)!=0);h=c[qa>>2]|0;do if(m){m=Ob+56+(r<<5)+16|0;p=Ob+56+(r<<5)+8|0;if((c[m>>2]|0)<(h|0)){j=c[p>>2]|0;if(Nc()|0){j=7;break}j=Oc(j,(h|0)>0?h:0,0)|0;if(!j){j=7;break}c[m>>2]=h;c[p>>2]=j}else j=c[p>>2]|0;Tt(j|0,c[ra>>2]|0,h|0)|0;c[Ob+56+(r<<5)+12>>2]=h;if((r|0)<=0){j=0;break}c[mb>>2]=0;c[nb>>2]=0;q=r+-1|0;j=sa;g=c[j>>2]|0;j=c[j+4>>2]|0;h=Ob+56+(q<<5)|0;c[h>>2]=g;c[h+4>>2]=j;j=oq(f,g,j,mb,nb)|0;g=c[nb>>2]|0;h=c[na>>2]|0;h=(g|0)>(h|0)?g:h;do if(!j){m=Ob+56+(q<<5)+28|0;p=Ob+56+(q<<5)+20|0;j=c[p>>2]|0;if((c[m>>2]|0)<(h|0)){if(Nc()|0){j=7;break}j=Oc(j,(h|0)>0?h:0,0)|0;if(!j){j=7;break}c[m>>2]=h;c[p>>2]=j}Tt(j|0,c[mb>>2]|0,g|0)|0;c[Ob+56+(q<<5)+24>>2]=g;j=0}while(0);m=c[mb>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0)}while(0);m=c[ra>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);m=r+-1|0;if(!((r|0)>0&(j|0)==0)){p=j;break e}r=m;j=c[Ob+56+(m<<5)+24>>2]|0}}while(0);do if(!v){j=c[F>>2]|0;P=F+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,F);m=Sh(F)|0;c[F+20>>2]=770837923;c[F+36>>2]=-1;c[F+40>>2]=0;a[F+142>>0]=2;c[F+44>>2]=0;c[F+32>>2]=1;a[F+143>>0]=-1;c[F+48>>2]=0;P=F+64|0;c[P>>2]=0;c[P+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&m;break}}else j=0;while(0);j=(p|0)==0?j:p}while(0);if(!j)P=402;else{m=N;p=M;P=790}}else{j=c[Oa>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[xb>>2]=c[fb>>2];c[xb+4>>2]=m;m=xd(41741,xb)|0;if(!m){m=N;p=M;j=7;P=790;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[Oa>>2]=m;if(!j)j=m;else{m=N;p=M;P=790;break}}g=j;do if(!(Ho(g,1)|0)){m=c[g+116>>2]|0;p=m+8|0;if(!(b[p>>1]&9312)){P=m;c[P>>2]=R;c[P+4>>2]=Q;b[p>>1]=4;break}else{Xe(m,R,Q);break}}while(0);m=c[X>>2]|0;p=((m|0)<0)<<31>>31;do if(!(Ho(g,2)|0)){q=c[g+116>>2]|0;h=q+40|0;q=q+48|0;if(!(b[q>>1]&9312)){P=h;c[P>>2]=m;c[P+4>>2]=p;b[q>>1]=4;break}else{Xe(h,m,p);break}}while(0);if((qi(g)|0)==100)r=Co(g,0)|0;else r=0;do if(j|0){j=c[g>>2]|0;P=g+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,g);m=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;P=g+64|0;c[P>>2]=0;c[P+4>>2]=0;if(!((m|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&m;if(!j)break;else{m=N;p=M;P=790;break c}}else{Th(j);m=N;p=M;j=7;P=790;break c}}while(0);j=c[Pa>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[yb>>2]=c[fb>>2];c[yb+4>>2]=m;m=xd(40154,yb)|0;if(!m){m=N;p=M;j=7;P=790;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[Pa>>2]=m;if(!j)j=m;else{m=N;p=M;P=790;break}}p=j;if((qi(p)|0)==100){J=r<<4;J=Ft(J|0,((J|0)<0)<<31>>31|0,-1,-1)|0;K=z;P=Do(p,0)|0;L=z;I=ja;c[I>>2]=P;c[I+4>>2]=L;L=Ft(J|0,K|0,P|0,L|0)|0;P=ka;c[P>>2]=L;c[P+4>>2]=z}do if(j|0){j=c[p>>2]|0;P=p+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,p);m=Sh(p)|0;c[p+20>>2]=770837923;c[p+36>>2]=-1;c[p+40>>2]=0;a[p+142>>0]=2;c[p+44>>2]=0;c[p+32>>2]=1;a[p+143>>0]=-1;c[p+48>>2]=0;P=p+64|0;c[P>>2]=0;c[P+4>>2]=0;if(!((m|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&m;if(!j)break;else{m=N;p=M;P=790;break c}}else{Th(j);m=N;p=M;j=7;P=790;break c}}while(0);g=ka;q=c[g>>2]|0;g=c[g+4>>2]|0;j=c[xa>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[zb>>2]=c[fb>>2];c[zb+4>>2]=m;m=xd(40222,zb)|0;if(!m){m=N;p=M;j=7;P=790;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[xa>>2]=m;if(!j)j=m;else{m=N;p=M;P=790;break}}h=j;do if(!(Ho(h,1)|0)){m=c[h+116>>2]|0;p=m+8|0;if(!(b[p>>1]&9312)){P=m;c[P>>2]=q;c[P+4>>2]=g;b[p>>1]=4;break}else{Xe(m,q,g);break}}while(0);Ho(h,2)|0;qi(h)|0;do if(j|0){j=c[h>>2]|0;P=h+128|0;L=c[P+4>>2]|0;if((L|0)>0|(L|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,h);m=Sh(h)|0;c[h+20>>2]=770837923;c[h+36>>2]=-1;c[h+40>>2]=0;a[h+142>>0]=2;c[h+44>>2]=0;c[h+32>>2]=1;a[h+143>>0]=-1;c[h+48>>2]=0;P=h+64|0;c[P>>2]=0;c[P+4>>2]=0;if(!((m|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&m;if(!j)break;else{m=N;p=M;P=790;break c}}else{Th(j);m=N;p=M;j=7;P=790;break c}}while(0);P=la;c[P>>2]=R;c[P+4>>2]=Q;c[Ob>>2]=r;c[ma>>2]=F;P=ja;K=c[P>>2]|0;P=c[P+4>>2]|0;L=va;c[L>>2]=K;c[L+4>>2]=P;L=Ft(K|0,P|0,r|0,((r|0)<0)<<31>>31|0)|0;J=Qa;c[J>>2]=L;c[J+4>>2]=z;J=r<<1;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=Ra;c[L>>2]=J;c[L+4>>2]=z;L=r*3|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=Sa;c[J>>2]=L;c[J+4>>2]=z;J=r<<2;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=Ta;c[L>>2]=J;c[L+4>>2]=z;L=r*5|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=Ua;c[J>>2]=L;c[J+4>>2]=z;J=r*6|0;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=Va;c[L>>2]=J;c[L+4>>2]=z;L=r*7|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=Wa;c[J>>2]=L;c[J+4>>2]=z;J=r<<3;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=Xa;c[L>>2]=J;c[L+4>>2]=z;L=r*9|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=Ya;c[J>>2]=L;c[J+4>>2]=z;J=r*10|0;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=Za;c[L>>2]=J;c[L+4>>2]=z;L=r*11|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=_a;c[J>>2]=L;c[J+4>>2]=z;J=r*12|0;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=$a;c[L>>2]=J;c[L+4>>2]=z;L=r*13|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;J=ab;c[J>>2]=L;c[J+4>>2]=z;J=r*14|0;J=Ft(K|0,P|0,J|0,((J|0)<0)<<31>>31|0)|0;L=bb;c[L>>2]=J;c[L+4>>2]=z;L=r*15|0;L=Ft(K|0,P|0,L|0,((L|0)<0)<<31>>31|0)|0;P=cb;c[P>>2]=L;c[P+4>>2]=z;P=402}while(0);f:do if((P|0)==402){if(!(c[Ob>>2]|0)){m=N;p=M;j=0;P=790;break}g:while(1){I=c[_>>2]|0;J=c[$>>2]|0;K=c[ya>>2]|0;L=c[za>>2]|0;m=c[Aa>>2]|0;p=c[Ba>>2]|0;h:do if((p|0)>0){j=0;while(1){if((a[m+j>>0]|0)!=(a[I+j>>0]|0)){G=j;break h}j=j+1|0;if((j|0)>=(p|0)){G=j;break}}}else G=0;while(0);g=0;j=G;m=((G|0)<0)<<31>>31;do{g=g+1|0;j=Qt(j|0,m|0,7)|0;m=z}while(!((j|0)==0&(m|0)==0));q=J-G|0;h=0;j=q;m=((q|0)<0)<<31>>31;do{h=h+1|0;j=Qt(j|0,m|0,7)|0;m=z}while(!((j|0)==0&(m|0)==0));H=((L|0)<0)<<31>>31;j=0;m=L;p=H;do{j=j+1|0;m=Qt(m|0,p|0,7)|0;p=z}while(!((m|0)==0&(p|0)==0));j=q+L+g+h+j|0;s=c[Da>>2]|0;do if((s|0)>0){if((s+j|0)<=(c[na>>2]|0)){P=504;break}q=va;h=c[q>>2]|0;q=c[q+4>>2]|0;g=c[Ca>>2]|0;j=c[xa>>2]|0;c[Nb>>2]=j;do if(!j){m=c[gb>>2]|0;c[Ab>>2]=c[fb>>2];c[Ab+4>>2]=m;m=xd(40222,Ab)|0;if(!m){j=7;P=437;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[xa>>2]=m;if(!j){j=m;P=422}else P=437}else P=422;while(0);i:do if((P|0)==422){P=0;r=j;do if(!(Ho(r,1)|0)){m=c[r+116>>2]|0;p=m+8|0;if(!(b[p>>1]&9312)){F=m;c[F>>2]=h;c[F+4>>2]=q;b[p>>1]=4;break}else{Xe(m,h,q);break}}while(0);do if((g|0)==0|(Ho(r,2)|0)!=0){qi(r)|0;if(j|0){P=433;break}c[Ea>>2]=(c[Ea>>2]|0)+1}else{j=Ve((c[r+116>>2]|0)+40|0,g,s,0,0)|0;do if(j|0){m=c[r>>2]|0;c[m+56>>2]=j;dg(m,j);m=c[r>>2]|0;if(!((j|0)==3082|(a[m+73>>0]|0)!=0))break;Th(m)}while(0);qi(r)|0;P=433}while(0);do if((P|0)==433){P=0;j=c[r>>2]|0;F=r+128|0;E=c[F+4>>2]|0;if((E|0)>0|(E|0)==0&(c[F>>2]|0)>>>0>0)Rh(j,r);m=Sh(r)|0;c[r+20>>2]=770837923;c[r+36>>2]=-1;c[r+40>>2]=0;a[r+142>>0]=2;c[r+44>>2]=0;c[r+32>>2]=1;a[r+143>>0]=-1;c[r+48>>2]=0;F=r+64|0;c[F>>2]=0;c[F+4>>2]=0;if(!((m|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&m;c[Ea>>2]=(c[Ea>>2]|0)+1;if(!j)break;else break i}else{Th(j);j=7;P=437;break i}}while(0);F=G+1|0;p=va;C=(F|0)>0?F:0;B=1;m=c[p>>2]|0;p=c[p+4>>2]|0;while(1){A=Ob+56+(B<<5)+8|0;h=c[A>>2]|0;E=Ob+56+(B<<5)+12|0;r=c[E>>2]|0;j:do if((r|0)>0){j=0;while(1){if((a[h+j>>0]|0)!=(a[I+j>>0]|0)){y=j;break j}j=j+1|0;if((j|0)>=(r|0)){y=j;break}}}else y=0;while(0);u=((y|0)<0)<<31>>31;g=0;j=y;h=u;do{g=g+1|0;j=Qt(j|0,h|0,7)|0;h=z}while(!((j|0)==0&(h|0)==0));x=F-y|0;w=((x|0)<0)<<31>>31;j=0;h=x;q=w;do{j=j+1|0;h=Qt(h|0,q|0,7)|0;q=z}while(!((h|0)==0&(q|0)==0));t=g+x+j|0;D=Ob+56+(B<<5)+24|0;v=c[D>>2]|0;if(!r)break;if((v+t|0)<=(c[na>>2]|0))break;w=Ob+56+(B<<5)|0;r=w;g=c[r>>2]|0;r=c[r+4>>2]|0;u=Ob+56+(B<<5)+20|0;s=c[u>>2]|0;j=c[xa>>2]|0;c[Nb>>2]=j;do if(!j){h=c[gb>>2]|0;c[Bb>>2]=c[fb>>2];c[Bb+4>>2]=h;h=xd(40222,Bb)|0;if(!h){j=7;break}j=si(c[hb>>2]|0,h,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{A=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[Nb>>2]|0;c[xa>>2]=h;if(!j){j=h;P=482}}else P=482;while(0);do if((P|0)==482){P=0;t=j;do if(!(Ho(t,1)|0)){h=c[t+116>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){A=h;c[A>>2]=g;c[A+4>>2]=r;b[q>>1]=4;break}else{Xe(h,g,r);break}}while(0);if((s|0)==0|(Ho(t,2)|0)!=0){qi(t)|0;if(!j){j=0;break}}else{j=Ve((c[t+116>>2]|0)+40|0,s,v,0,0)|0;do if(j|0){h=c[t>>2]|0;c[h+56>>2]=j;dg(h,j);h=c[t>>2]|0;if(!((j|0)==3082|(a[h+73>>0]|0)!=0))break;Th(h)}while(0);qi(t)|0}j=c[t>>2]|0;A=t+128|0;y=c[A+4>>2]|0;if((y|0)>0|(y|0)==0&(c[A>>2]|0)>>>0>0)Rh(j,t);h=Sh(t)|0;c[t+20>>2]=770837923;c[t+36>>2]=-1;c[t+40>>2]=0;a[t+142>>0]=2;c[t+44>>2]=0;c[t+32>>2]=1;a[t+143>>0]=-1;c[t+48>>2]=0;A=t+64|0;c[A>>2]=0;c[A+4>>2]=0;if((h|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&h;break}}while(0);a[c[u>>2]>>0]=B;r=(c[u>>2]|0)+1|0;h=Ft(m|0,p|0,1,0)|0;m=r;g=z;while(1){p=h&255;q=m+1|0;a[m>>0]=p|-128;h=Qt(h|0,g|0,7)|0;g=z;if((h|0)==0&(g|0)==0)break;else m=q}a[m>>0]=p&127;c[D>>2]=1-r+q;p=w;m=c[p>>2]|0;p=c[p+4>>2]|0;A=Ft(m|0,p|0,1,0)|0;D=w;c[D>>2]=A;c[D+4>>2]=z;c[E>>2]=0;if((j|0)!=0|(m|0)==0&(p|0)==0)break i;j=B+1|0;if((j|0)<16)B=j;else{j=0;break i}}r=Ob+56+(B<<5)+20|0;if(!v){h=c[na>>2]|0;s=Ob+56+(B<<5)+28|0;j=c[r>>2]|0;if((c[s>>2]|0)<(h|0)){if(Nc()|0){j=7;break}j=Oc(j,(h|0)>0?h:0,0)|0;if(!j){j=7;break}c[s>>2]=h;c[r>>2]=j}a[j>>0]=B;g=(c[r>>2]|0)+1|0;q=g;while(1){j=m&255;h=q+1|0;a[q>>0]=j|-128;m=Qt(m|0,p|0,7)|0;p=z;if((m|0)==0&(p|0)==0)break;else q=h}a[q>>0]=j&127;j=h+(1-g)|0;c[D>>2]=j;p=s}else{p=Ob+56+(B<<5)+28|0;j=v}m=j+t|0;if((c[p>>2]|0)<(m|0)){j=c[r>>2]|0;if(Nc()|0){j=7;break}j=Oc(j,(m|0)>0?m:0,0)|0;if(!j){j=7;break}c[p>>2]=m;c[r>>2]=j}m=Ob+56+(B<<5)+16|0;if((c[m>>2]|0)<=(G|0)){j=c[A>>2]|0;if(Nc()|0){j=7;break}j=Oc(j,C,0)|0;if(!j){j=7;break}c[m>>2]=F;c[A>>2]=j}if(!(c[E>>2]|0))j=c[D>>2]|0;else{q=(c[r>>2]|0)+(c[D>>2]|0)|0;h=q;g=y;p=u;while(1){j=g&255;m=h+1|0;a[h>>0]=j|-128;g=Qt(g|0,p|0,7)|0;p=z;if((g|0)==0&(p|0)==0)break;else h=m}a[h>>0]=j&127;j=(c[D>>2]|0)+(m-q)|0;c[D>>2]=j}q=(c[r>>2]|0)+j|0;h=q;g=x;p=w;while(1){j=g&255;m=h+1|0;a[h>>0]=j|-128;g=Qt(g|0,p|0,7)|0;p=z;if((g|0)==0&(p|0)==0)break;else h=m}a[h>>0]=j&127;j=(c[D>>2]|0)+(m-q)|0;c[D>>2]=j;Tt((c[r>>2]|0)+j|0,I+y|0,x|0)|0;c[D>>2]=(c[D>>2]|0)+x;Tt(c[A>>2]|0,I|0,F|0)|0;c[E>>2]=F;j=0}while(0);if((P|0)==437){P=0;c[Ea>>2]=(c[Ea>>2]|0)+1}m=va;m=Ft(c[m>>2]|0,c[m+4>>2]|0,1,0)|0;q=va;c[q>>2]=m;c[q+4>>2]=z;c[Ba>>2]=0;c[Da>>2]=0;q=0;m=J;p=((J|0)<0)<<31>>31;do{q=q+1|0;m=Qt(m|0,p|0,7)|0;p=z}while(!((m|0)==0&(p|0)==0));h=0;p=L;m=H;do{h=h+1|0;p=Qt(p|0,m|0,7)|0;m=z}while(!((p|0)==0&(m|0)==0));m=J+1+L+q|0;G=m+h|0;H=ba;G=Ft(c[H>>2]|0,c[H+4>>2]|0,G|0,((G|0)<0)<<31>>31|0)|0;H=ba;c[H>>2]=G;c[H+4>>2]=z;if(!j){m=m+h|0;j=0;P=506}}else P=504;while(0);if((P|0)==504){H=ba;H=Ft(c[H>>2]|0,c[H+4>>2]|0,j|0,((j|0)<0)<<31>>31|0)|0;m=ba;c[m>>2]=H;c[m+4>>2]=z;m=j+s|0;j=s;P=506}do if((P|0)==506){P=0;if((c[Fa>>2]|0)<(m|0)){j=c[Ca>>2]|0;if(Nc()|0){m=N;p=M;j=7;P=790;break f}j=Oc(j,(m|0)>0?m:0,0)|0;if(!j){m=N;p=M;j=7;P=790;break f}c[Fa>>2]=m;c[Ca>>2]=j;j=c[Da>>2]|0}if(!j){c[Da>>2]=1;a[c[Ca>>2]>>0]=0}j=br(Ca,Aa,I,J,K,L)|0;if(j|0)break;j=cq(f,kb)|0}while(0);m=c[Ea>>2]|0;if((j|0)==100&(m|0)>=(N|0))break;switch(j|0){case 100:break;case 0:break g;default:{m=N;p=M;P=790;break f}}}H=N+-1-m|0;j=c[X>>2]|0;k:do if((j|0)>0){p=0;l:while(1){C=j;while(1){B=C+-1|0;m=c[X>>2]|0;if((m|0)>0){h=c[kb>>2]|0;j=0;do{q=c[h+(j<<2)>>2]|0;j=j+1|0}while((j|0)<(m|0)?(c[q>>2]|0)!=(B|0):0)}else q=0;if(c[q+40>>2]|0)break;g=q+8|0;h=g;j=c[h>>2]|0;h=c[h+4>>2]|0;do if(!((j|0)==0&(h|0)==0)){m=c[Ha>>2]|0;c[Nb>>2]=m;if(!m){m=c[gb>>2]|0;c[Cb>>2]=c[fb>>2];c[Cb+4>>2]=m;m=xd(40281,Cb)|0;if(!m){P=526;break l}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[Ha>>2]=m;if(j|0)break k;h=g;j=c[h>>2]|0;h=c[h+4>>2]|0}s=m;do if(!(Ho(s,1)|0)){g=c[s+116>>2]|0;r=g+8|0;if(!(b[r>>1]&9312)){N=g;c[N>>2]=j;c[N+4>>2]=h;b[r>>1]=4;break}else{Xe(g,j,h);break}}while(0);g=q+24|0;h=c[g>>2]|0;g=c[g+4>>2]|0;if(Ho(s,2)|0){qi(s)|0;if(!m)break}else{m=c[s+116>>2]|0;j=m+40|0;m=m+48|0;if(!(b[m>>1]&9312)){N=j;c[N>>2]=h;c[N+4>>2]=g;b[m>>1]=4}else Xe(j,h,g);qi(s)|0}j=c[s>>2]|0;N=s+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,s);m=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;N=s+64|0;c[N>>2]=0;c[N+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){P=545;break l}j=c[j+60>>2]&m;if(j|0)break k}while(0);g=c[q>>2]|0;j=c[Ga>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[Db>>2]=c[fb>>2];c[Db+4>>2]=m;m=xd(41844,Db)|0;if(!m){P=550;break l}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[Ga>>2]=m;if(!j)j=m;else break k}q=j;do if(!(Ho(q,1)|0)){m=c[q+116>>2]|0;h=m+8|0;if(!(b[h>>1]&9312)){N=m;c[N>>2]=R;c[N+4>>2]=Q;b[h>>1]=4;break}else{Xe(m,R,Q);break}}while(0);h=((g|0)<0)<<31>>31;if(Ho(q,2)|0){qi(q)|0;if(!j)j=0;else P=565}else{m=c[q+116>>2]|0;j=m+40|0;m=m+48|0;if(!(b[m>>1]&9312)){P=j;c[P>>2]=g;c[P+4>>2]=h;b[m>>1]=4}else Xe(j,g,h);qi(q)|0;P=565}if((P|0)==565){P=0;j=c[q>>2]|0;N=q+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,q);m=Sh(q)|0;c[q+20>>2]=770837923;c[q+36>>2]=-1;c[q+40>>2]=0;a[q+142>>0]=2;c[q+44>>2]=0;c[q+32>>2]=1;a[q+143>>0]=-1;c[q+48>>2]=0;N=q+64|0;c[N>>2]=0;c[N+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){P=568;break l}j=c[j+60>>2]&m}m=(j|0)==0;if((C|0)>1&m)C=B;else{P=701;break l}}w=c[q+64>>2]|0;x=c[q+60>>2]|0;A=c[q>>2]|0;c[mb>>2]=0;c[mb+4>>2]=0;c[mb+8>>2]=0;c[nb>>2]=0;c[nb+4>>2]=0;c[nb+8>>2]=0;j=ob;c[j>>2]=0;c[j+4>>2]=0;j=c[aa>>2]|0;c[Nb>>2]=j;do if(!j){m=c[gb>>2]|0;c[Eb>>2]=c[fb>>2];c[Eb+4>>2]=m;m=xd(41569,Eb)|0;if(!m){j=7;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[aa>>2]=m;if(!j){j=m;P=579}}else P=579;while(0);m:do if((P|0)==579){P=0;r=j;do if(!(Ho(r,1)|0)){m=c[r+116>>2]|0;h=m+8|0;if(!(b[h>>1]&9312)){N=m;c[N>>2]=R;c[N+4>>2]=Q;b[h>>1]=4;break}else{Xe(m,R,Q);break}}while(0);y=((A|0)<0)<<31>>31;do if(!(Ho(r,2)|0)){h=c[r+116>>2]|0;m=h+40|0;h=h+48|0;if(!(b[h>>1]&9312)){N=m;c[N>>2]=A;c[N+4>>2]=y;b[h>>1]=4;break}else{Xe(m,A,y);break}}while(0);if((qi(r)|0)==100){if(!j)m=ff(424)|0;else{m=c[r+104>>2]|0;do if(!m)P=592;else{if((e[r+140>>1]|0)<=4){P=592;break}m=m+160|0;h=r}while(0);if((P|0)==592){P=0;m=c[r>>2]|0;c[m+56>>2]=25;dg(m,25);m=424;h=r}m=ff(m)|0;h=c[h>>2]|0;g=r+40|0;q=c[g>>2]|0;if((q|0)==3082|(a[h+73>>0]|0)!=0){Th(h);h=7}else h=c[h+60>>2]&q;c[g>>2]=h}h=Ao(r,4)|0;u=Do(r,1)|0;v=z;h=cr(m,h,mb,w,x,ob)|0}else{h=0;u=0;v=0}do if(j){j=c[r>>2]|0;N=r+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,r);m=Sh(r)|0;c[r+20>>2]=770837923;c[r+36>>2]=-1;c[r+40>>2]=0;a[r+142>>0]=2;c[r+44>>2]=0;c[r+32>>2]=1;a[r+143>>0]=-1;c[r+48>>2]=0;N=r+64|0;c[N>>2]=0;c[N+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&m;break}}else j=0;while(0);j=(h|0)==0?j:h;h=ob;m=c[h>>2]|0;h=c[h+4>>2]|0;do if((j|0)==0&((m|0)!=0|(h|0)!=0)){while(1){c[qb>>2]=0;c[rb>>2]=0;j=oq(f,m,h,qb,rb)|0;do if(!j){j=cr(c[qb>>2]|0,c[rb>>2]|0,nb,w,x,ob)|0;if(j|0)break;r=c[nb>>2]|0;s=c[Ia>>2]|0;j=c[xa>>2]|0;c[Nb>>2]=j;if(!j){q=c[gb>>2]|0;c[Fb>>2]=c[fb>>2];c[Fb+4>>2]=q;q=xd(40222,Fb)|0;if(!q){j=7;break}j=si(c[hb>>2]|0,q,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](q);else{N=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q)}q=c[Nb>>2]|0;c[xa>>2]=q;if(!j)j=q;else break}t=j;do if(!(Ho(t,1)|0)){q=c[t+116>>2]|0;g=q+8|0;if(!(b[g>>1]&9312)){N=q;c[N>>2]=m;c[N+4>>2]=h;b[g>>1]=4;break}else{Xe(q,m,h);break}}while(0);if((r|0)==0|(Ho(t,2)|0)!=0){qi(t)|0;if(!j){j=0;break}}else{j=Ve((c[t+116>>2]|0)+40|0,r,s,0,0)|0;do if(j|0){q=c[t>>2]|0;c[q+56>>2]=j;dg(q,j);q=c[t>>2]|0;if(!((j|0)==3082|(a[q+73>>0]|0)!=0))break;Th(q)}while(0);qi(t)|0}j=c[t>>2]|0;N=t+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,t);q=Sh(t)|0;c[t+20>>2]=770837923;c[t+36>>2]=-1;c[t+40>>2]=0;a[t+142>>0]=2;c[t+44>>2]=0;c[t+32>>2]=1;a[t+143>>0]=-1;c[t+48>>2]=0;N=t+64|0;c[N>>2]=0;c[N+4>>2]=0;if((q|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&q;break}}while(0);q=c[qb>>2]|0;do if(q|0)if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{N=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}while(0);q=(j|0)==0;r=ob;g=c[r>>2]|0;r=c[r+4>>2]|0;if(q&((g|0)!=0|(r|0)!=0)){m=g;h=r}else break}if(!q)break m;j=c[Ha>>2]|0;c[Nb>>2]=j;if(!j){q=c[gb>>2]|0;c[Hb>>2]=c[fb>>2];c[Hb+4>>2]=q;q=xd(40281,Hb)|0;if(!q){j=7;break m}j=si(c[hb>>2]|0,q,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](q);else{N=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q)}q=c[Nb>>2]|0;c[Ha>>2]=q;if(!j)j=q;else break m}s=j;do if(!(Ho(s,1)|0)){q=c[s+116>>2]|0;g=q+8|0;if(!(b[g>>1]&9312)){N=q;c[N>>2]=u;c[N+4>>2]=v;b[g>>1]=4;break}else{Xe(q,u,v);break}}while(0);g=Ft(m|0,h|0,-1,-1)|0;r=z;if(Ho(s,2)|0){qi(s)|0;if(!j){g=m;break}}else{q=c[s+116>>2]|0;j=q+40|0;q=q+48|0;if(!(b[q>>1]&9312)){N=j;c[N>>2]=g;c[N+4>>2]=r;b[q>>1]=4}else Xe(j,g,r);qi(s)|0}j=c[s>>2]|0;N=s+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,s);q=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;N=s+64|0;c[N>>2]=0;c[N+4>>2]=0;if((q|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break m}else{j=c[j+60>>2]&q;P=660;break}}else{m=0;h=0;P=660}while(0);if((P|0)==660){P=0;if(!j)g=m;else break}j=c[Ja>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[Ib>>2]=c[fb>>2];c[Ib+4>>2]=m;m=xd(41899,Ib)|0;if(!m){j=7;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[Ja>>2]=m;if(!j)j=m;else break}r=j;do if(!(Ho(r,1)|0)){m=c[r+116>>2]|0;q=m+8|0;if(!(b[q>>1]&9312)){N=m;c[N>>2]=g;c[N+4>>2]=h;b[q>>1]=4;break}else{Xe(m,g,h);break}}while(0);m=c[mb>>2]|0;h=c[Ka>>2]|0;do if(!((m|0)==0|(Ho(r,2)|0)!=0)){m=Ve((c[r+116>>2]|0)+40|0,m,h,0,0)|0;if(!m)break;h=c[r>>2]|0;c[h+56>>2]=m;dg(h,m);h=c[r>>2]|0;if(!((m|0)==3082|(a[h+73>>0]|0)!=0))break;Th(h)}while(0);do if(!(Ho(r,3)|0)){h=c[r+116>>2]|0;m=h+80|0;h=h+88|0;if(!(b[h>>1]&9312)){N=m;c[N>>2]=R;c[N+4>>2]=Q;b[h>>1]=4;break}else{Xe(m,R,Q);break}}while(0);if(Ho(r,4)|0){qi(r)|0;if(!j){j=0;break}}else{m=c[r+116>>2]|0;j=m+120|0;m=m+128|0;if(!(b[m>>1]&9312)){N=j;c[N>>2]=A;c[N+4>>2]=y;b[m>>1]=4}else Xe(j,A,y);qi(r)|0}j=c[r>>2]|0;N=r+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,r);m=Sh(r)|0;c[r+20>>2]=770837923;c[r+36>>2]=-1;c[r+40>>2]=0;a[r+142>>0]=2;c[r+44>>2]=0;c[r+32>>2]=1;a[r+143>>0]=-1;c[r+48>>2]=0;N=r+64|0;c[N>>2]=0;c[N+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&m;break}}while(0);m=c[mb>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);m=c[nb>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);p=p+1|0;m=(j|0)==0;if((C|0)>1&m)j=B;else{P=701;break}}if((P|0)==526){P=0;j=7;break}else if((P|0)==545){P=0;Th(j);j=7;break}else if((P|0)==550){P=0;j=7;break}else if((P|0)==568){P=0;Th(j);j=7;break}else if((P|0)==701){P=0;if(!m)break;j=c[X>>2]|0;P=703;break}}else{p=0;P=703}while(0);do if((P|0)==703){P=0;if((p|0)==(j|0)){p=j;j=0;break}j=c[La>>2]|0;c[Nb>>2]=j;do if(!j){m=c[gb>>2]|0;c[Jb>>2]=c[fb>>2];c[Jb+4>>2]=m;m=xd(41978,Jb)|0;if(!m){j=7;m=0;P=740;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[La>>2]=m;if(!j){j=m;P=712}else{m=0;P=740}}else P=712;while(0);n:do if((P|0)==712){P=0;t=j;do if(!(Ho(t,1)|0)){m=c[t+116>>2]|0;h=m+8|0;if(!(b[h>>1]&9312)){N=m;c[N>>2]=R;c[N+4>>2]=Q;b[h>>1]=4;break}else{Xe(m,R,Q);break}}while(0);o:do if((qi(t)|0)==100){r=0;q=0;s=0;g=0;m=0;while(1){if((s|0)>=(q|0)){q=q+16|0;h=q<<2;if(Nc()|0){q=7;break o}h=Oc(g,(h|0)>0?h:0,0)|0;if(!h){q=7;break o}else{r=h;m=h;g=h}}h=s+1|0;c[r+(s<<2)>>2]=Co(t,0)|0;if((qi(t)|0)==100)s=h;else{s=h;q=0;break}}}else{s=0;q=0;r=0;m=0}while(0);do if(j){j=c[t>>2]|0;N=t+128|0;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,t);h=Sh(t)|0;c[t+20>>2]=770837923;c[t+36>>2]=-1;c[t+40>>2]=0;a[t+142>>0]=2;c[t+44>>2]=0;c[t+32>>2]=1;a[t+143>>0]=-1;c[t+48>>2]=0;N=t+64|0;c[N>>2]=0;c[N+4>>2]=0;if((h|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&h;break}}else j=0;while(0);j=(q|0)==0?j:q;if(j|0){P=740;break}j=c[Na>>2]|0;c[Nb>>2]=j;if(!j){h=c[gb>>2]|0;c[Kb>>2]=c[fb>>2];c[Kb+4>>2]=h;h=xd(42038,Kb)|0;if(!h){j=7;P=740;break}j=si(c[hb>>2]|0,h,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{N=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[Nb>>2]|0;c[Na>>2]=h;if(!j)j=h;else{P=740;break}}G=j;do if(!(Ho(G,2)|0)){q=c[G+116>>2]|0;h=q+40|0;q=q+48|0;if(!(b[q>>1]&9312)){N=h;c[N>>2]=R;c[N+4>>2]=Q;b[q>>1]=4;break}else{Xe(h,R,Q);break}}while(0);a[Ma>>0]=1;if((s|0)<=0){j=0;break}u=G+116|0;v=G+128|0;w=G+20|0;x=G+36|0;y=G+40|0;A=G+142|0;B=G+44|0;C=G+32|0;D=G+143|0;E=G+48|0;F=G+64|0;if(!j){t=0;p:while(1){j=c[r+(t<<2)>>2]|0;do if((j|0)==(t|0))j=0;else{h=((j|0)<0)<<31>>31;do if(!(Ho(G,3)|0)){g=c[u>>2]|0;q=g+80|0;g=g+88|0;if(!(b[g>>1]&9312)){N=q;c[N>>2]=j;c[N+4>>2]=h;b[g>>1]=4;break}else{Xe(q,j,h);break}}while(0);j=((t|0)<0)<<31>>31;if(Ho(G,1)|0){qi(G)|0;j=0;break}h=c[u>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){N=h;c[N>>2]=t;c[N+4>>2]=j;b[q>>1]=4}else Xe(h,t,j);qi(G)|0;j=c[G>>2]|0;N=v;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,G);h=Sh(G)|0;c[w>>2]=770837923;c[x>>2]=-1;c[y>>2]=0;a[A>>0]=2;c[B>>2]=0;c[C>>2]=1;a[D>>0]=-1;c[E>>2]=0;N=F;c[N>>2]=0;c[N+4>>2]=0;if((h|0)==3082|(a[j+73>>0]|0)!=0)break p;j=c[j+60>>2]&h}while(0);t=t+1|0;if(!((t|0)<(s|0)&(j|0)==0))break n}Th(j);j=7;break}else t=0;while(1){j=c[r+(t<<2)>>2]|0;if((j|0)==(t|0))j=0;else{h=((j|0)<0)<<31>>31;do if(!(Ho(G,3)|0)){g=c[u>>2]|0;q=g+80|0;g=g+88|0;if(!(b[g>>1]&9312)){N=q;c[N>>2]=j;c[N+4>>2]=h;b[g>>1]=4;break}else{Xe(q,j,h);break}}while(0);j=((t|0)<0)<<31>>31;if(!(Ho(G,1)|0)){h=c[u>>2]|0;q=h+8|0;if(!(b[q>>1]&9312)){N=h;c[N>>2]=t;c[N+4>>2]=j;b[q>>1]=4}else Xe(h,t,j);qi(G)|0}else qi(G)|0;j=c[G>>2]|0;N=v;M=c[N+4>>2]|0;if((M|0)>0|(M|0)==0&(c[N>>2]|0)>>>0>0)Rh(j,G);h=Sh(G)|0;c[w>>2]=770837923;c[x>>2]=-1;c[y>>2]=0;a[A>>0]=2;c[B>>2]=0;c[C>>2]=1;a[D>>0]=-1;c[E>>2]=0;N=F;c[N>>2]=0;c[N+4>>2]=0;if((h|0)==3082|(a[j+73>>0]|0)!=0)break;j=c[j+60>>2]&h}t=t+1|0;if(!((t|0)<(s|0)&(j|0)==0))break n}Th(j);j=7}while(0);if((P|0)==740){P=0;a[Ma>>0]=1}a[Ma>>0]=0;if(!m)break;if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);if(!p){x=H;w=1;break}k=o+20|0;if(j|0){m=H;k=1;P=791;break}if((n|0)<(k|0)){if(Nc()|0){m=H;k=1;j=7;P=791;break}j=Oc(i,(k|0)>0?k:0,0)|0;if(!j){m=H;k=1;j=7;P=791;break}else{i=j;n=k}}k=i+o|0;j=k;h=R;g=Q;while(1){m=h&255;q=j+1|0;a[j>>0]=m|-128;h=Qt(h|0,g|0,7)|0;g=z;if((h|0)==0&(g|0)==0)break;else j=q}a[j>>0]=m&127;h=q-k+o|0;q=i+h|0;j=q;m=p;o=((p|0)<0)<<31>>31;while(1){k=m&255;g=j+1|0;a[j>>0]=k|-128;m=Qt(m|0,o|0,7)|0;o=z;if((m|0)==0&(o|0)==0)break;else j=g}a[j>>0]=k&127;m=H;k=1;j=0;o=h-q+g|0;P=790}while(0);if((P|0)==790){P=0;if(!p){x=m;w=1}else P=791}if((P|0)==791){P=0;w=ba;w=Gt(0,0,c[w>>2]|0,c[w+4>>2]|0)|0;x=ba;c[x>>2]=w;c[x+4>>2]=z;x=m;w=0}p=15;while(1){if((c[Ob+56+(p<<5)+24>>2]|0)>0){P=803;break}m=c[Ob+56+(p<<5)+20>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);m=c[Ob+56+(p<<5)+8>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{N=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-N;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);if((p|0)>0)p=p+-1|0;else break}do if((P|0)==803){P=0;if(p){m=(j|0)==0;if((p|0)>0)P=814}else{do if(!j){j=c[ua>>2]|0;if((c[ta>>2]|0)<11){if(Nc()|0){m=7;break}j=Oc(j,11,0)|0;if(!j){m=7;break}c[ta>>2]=11;c[ua>>2]=j}a[j>>0]=1;m=(c[ua>>2]|0)+1|0;g=va;j=m;h=c[g>>2]|0;g=c[g+4>>2]|0;while(1){p=h&255;q=j+1|0;a[j>>0]=p|-128;h=Qt(h|0,g|0,7)|0;g=z;if((h|0)==0&(g|0)==0)break;else j=q}a[j>>0]=p&127;c[wa>>2]=1-m+q;m=0}else m=j;while(0);j=m;p=1;m=(m|0)==0;P=814}if((P|0)==814){v=0;do{u=Ob+56+(v<<5)+20|0;t=c[Ob+56+(v<<5)+24>>2]|0;do if(m&(t|0)>0){g=Ob+56+(v<<5)|0;q=c[g>>2]|0;g=c[g+4>>2]|0;r=c[u>>2]|0;j=c[xa>>2]|0;c[Nb>>2]=j;if(!j){m=c[gb>>2]|0;c[Lb>>2]=c[fb>>2];c[Lb+4>>2]=m;m=xd(40222,Lb)|0;if(!m){j=7;m=u;break}j=si(c[hb>>2]|0,m,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](m);else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}m=c[Nb>>2]|0;c[xa>>2]=m;if(!j)j=m;else{m=u;break}}s=j;do if(!(Ho(s,1)|0)){m=c[s+116>>2]|0;h=m+8|0;if(!(b[h>>1]&9312)){P=m;c[P>>2]=q;c[P+4>>2]=g;b[h>>1]=4;break}else{Xe(m,q,g);break}}while(0);if((r|0)==0|(Ho(s,2)|0)!=0){qi(s)|0;if(!j){j=0;m=u;break}}else{j=Ve((c[s+116>>2]|0)+40|0,r,t,0,0)|0;do if(j|0){m=c[s>>2]|0;c[m+56>>2]=j;dg(m,j);m=c[s>>2]|0;if(!((j|0)==3082|(a[m+73>>0]|0)!=0))break;Th(m)}while(0);qi(s)|0}j=c[s>>2]|0;P=s+128|0;N=c[P+4>>2]|0;if((N|0)>0|(N|0)==0&(c[P>>2]|0)>>>0>0)Rh(j,s);m=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;P=s+64|0;c[P>>2]=0;c[P+4>>2]=0;if((m|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;m=u;break}else{j=c[j+60>>2]&m;m=u;break}}else m=u;while(0);m=c[m>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);m=c[Ob+56+(v<<5)+8>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);v=v+1|0;m=(j|0)==0}while((v|0)!=(p|0))}if(m){j=la;j=Ft(c[j>>2]|0,c[j+4>>2]|0,1,0)|0;m=ja;h=va;q=ka;if(!(a[ca>>0]|0)){r=ba;g=c[r>>2]|0;r=c[r+4>>2]|0}else{g=0;r=0}P=Ob+56+(p<<5)+20|0;j=fq(f,j,z,c[ma>>2]|0,c[m>>2]|0,c[m+4>>2]|0,c[h>>2]|0,c[h+4>>2]|0,c[q>>2]|0,c[q+4>>2]|0,g,r,c[P>>2]|0,c[Ob+56+(p<<5)+24>>2]|0)|0;m=P}else m=Ob+56+(p<<5)+20|0;m=c[m>>2]|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);m=c[Ob+56+(p<<5)+8>>2]|0;if(!m)break;if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{P=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);if(!w){m=x;break}if(a[ca>>0]|0){m=x;break}P=Ft(R|0,Q|0,1,0)|0;m=ba;gq(f,P,z,c[m>>2]|0,c[m+4>>2]|0)|0;m=x}}else m=N}else m=N;while(0);iq(kb);if((j|0)==0&(m|0)>0){N=m;m=o;h=R;q=Q}else break}if((j|0)==0&(k|0)!=0){m=f+148|0;k=c[m>>2]|0;c[Nb>>2]=k;if(!k){k=c[f+20>>2]|0;c[Mb>>2]=c[f+16>>2];c[Mb+4>>2]=k;k=xd(42096,Mb)|0;if(!k){j=7;break}j=si(c[f+12>>2]|0,k,-1,129,0,Nb,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{f=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}k=c[Nb>>2]|0;c[m>>2]=k;if(j)break}n=k;do if(!(Ho(n,1)|0)){j=c[n+116>>2]|0;m=j+8|0;if(!(b[m>>1]&9312)){Nb=j;c[Nb>>2]=1;c[Nb+4>>2]=0;b[m>>1]=4;break}else{Xe(j,1,0);break}}while(0);if((i|0)==0|(Ho(n,2)|0)!=0){qi(n)|0;if(!k){j=0;break}}else{j=Ve((c[n+116>>2]|0)+40|0,i,o,0,0)|0;if(j|0?(Pb=c[n>>2]|0,c[Pb+56>>2]=j,dg(Pb,j),Pb=c[n>>2]|0,(j|0)==3082|(a[Pb+73>>0]|0)!=0):0)Th(Pb);qi(n)|0}j=c[n>>2]|0;Pb=n+128|0;Nb=c[Pb+4>>2]|0;if((Nb|0)>0|(Nb|0)==0&(c[Pb>>2]|0)>>>0>0)Rh(j,n);k=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;Pb=n+64|0;c[Pb>>2]=0;c[Pb+4>>2]=0;if((k|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&k;break}}}}while(0);if(!(c[2]|0))pb[c[56>>2]&255](Ob);else{Pb=jb[c[64>>2]&255](Ob)|0;c[11822]=(c[11822]|0)-Pb;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](Ob)}if(!i){Pb=j;l=Qb;return Pb|0}if(!(c[2]|0)){pb[c[56>>2]&255](i);Pb=j;l=Qb;return Pb|0}else{Pb=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-Pb;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);Pb=j;l=Qb;return Pb|0}return 0}function ar(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0;l=b+28|0;f=(c[l>>2]|0)==0;m=b+16|0;d=m;e=c[d>>2]|0;d=c[d+4>>2]|0;if(((e|0)!=0|(d|0)!=0)&(f^1)){k=Ft(e|0,d|0,1,0)|0;n=m;c[n>>2]=k;c[n+4>>2]=z}n=b+8|0;i=c[n>>2]|0;if((i|0)>=(c[b+4>>2]|0)){c[b>>2]=0;b=0;return b|0}g=c[b>>2]|0;if(f)d=0;else{f=g+i|0;e=a[f>>0]|0;d=e&255;if(d&128){k=a[f+1>>0]<<7;d=k|e&127;if(k&16384){k=a[f+2>>0]<<14;d=k|d&16383;if(k&2097152){k=a[f+3>>0]<<21;d=k|d&2097151;if(!(k&268435456))e=4;else{d=(a[f+4>>0]&7)<<28|d&268435455;e=5}}else e=3}else e=2}else e=1;i=i+e|0;c[n>>2]=i}h=g+i|0;e=a[h>>0]|0;f=e&255;if(f&128){k=a[h+1>>0]<<7;e=k|e&127;if(k&16384){k=a[h+2>>0]<<14;e=k|e&16383;if(k&2097152){k=a[h+3>>0]<<21;e=k|e&2097151;if(!(k&268435456)){k=e;e=4}else{k=(a[h+4>>0]&7)<<28|e&268435455;e=5}}else{k=e;e=3}}else{k=e;e=2}}else{k=f;e=1}f=i+e|0;c[n>>2]=f;j=k+d|0;h=b+32|0;i=b+24|0;do if((c[h>>2]|0)<(j|0)){e=c[i>>2]|0;if(Nc()|0){b=7;return b|0}e=Oc(e,(j|0)>0?j:0,0)|0;if(!e){b=7;return b|0}else{c[h>>2]=j;c[i>>2]=e;g=c[b>>2]|0;f=c[n>>2]|0;break}}else e=c[i>>2]|0;while(0);Tt(e+d|0,g+f|0,k|0)|0;c[l>>2]=j;i=(c[n>>2]|0)+k|0;c[n>>2]=i;if(!((c[m>>2]|0)==0&(c[m+4>>2]|0)==0)){b=0;return b|0}h=c[b>>2]|0;f=h+i|0;e=a[f>>0]|0;d=e&255;g=b+40|0;if(!(d&128)){c[g>>2]=d;e=1}else{m=a[f+1>>0]<<7;d=m|e&127;if(m&16384){m=a[f+2>>0]<<14;d=m|d&16383;if(m&2097152){m=a[f+3>>0]<<21;d=m|d&2097151;if(!(m&268435456))e=4;else{e=5;d=(a[f+4>>0]&7)<<28|d&268435455}}else e=3}else e=2;c[g>>2]=d}m=i+e|0;c[b+36>>2]=h+m;c[n>>2]=d+m;b=0;return b|0}function br(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0;m=d+4|0;k=c[m>>2]|0;j=d+8|0;i=c[d>>2]|0;do if((c[j>>2]|0)<(f|0)){if(Nc()|0){h=7;return h|0}i=Oc(i,(f|0)>0?f:0,0)|0;if(!i){h=7;return h|0}else{c[j>>2]=f;c[d>>2]=i;l=c[m>>2]|0;break}}else l=k;while(0);j=(k|0)==0;a:do if((l|0)>0){d=0;while(1){if((a[i+d>>0]|0)!=(a[e+d>>0]|0)){n=d;break a}d=d+1|0;if((d|0)>=(l|0)){n=d;break}}}else n=0;while(0);o=f-n|0;Tt(i|0,e|0,f|0)|0;c[m>>2]=f;if(j){d=b+4|0;m=d;d=c[d>>2]|0}else{m=b+4|0;i=(c[b>>2]|0)+(c[m>>2]|0)|0;d=i;k=n;f=((n|0)<0)<<31>>31;while(1){j=k&255;l=d+1|0;a[d>>0]=j|-128;k=Qt(k|0,f|0,7)|0;f=z;if((k|0)==0&(f|0)==0)break;else d=l}a[d>>0]=j&127;d=l-i+(c[m>>2]|0)|0;c[m>>2]=d}i=(c[b>>2]|0)+d|0;d=i;k=o;f=((o|0)<0)<<31>>31;while(1){j=k&255;l=d+1|0;a[d>>0]=j|-128;k=Qt(k|0,f|0,7)|0;f=z;if((k|0)==0&(f|0)==0)break;else d=l}a[d>>0]=j&127;d=(c[m>>2]|0)+(l-i)|0;c[m>>2]=d;Tt((c[b>>2]|0)+d|0,e+n|0,o|0)|0;d=(c[m>>2]|0)+o|0;c[m>>2]=d;if(!g){h=0;return h|0}i=(c[b>>2]|0)+d|0;d=i;k=h;f=((h|0)<0)<<31>>31;while(1){j=k&255;l=d+1|0;a[d>>0]=j|-128;k=Qt(k|0,f|0,7)|0;f=z;if((k|0)==0&(f|0)==0)break;else d=l}a[d>>0]=j&127;e=(c[m>>2]|0)+(l-i)|0;c[m>>2]=e;Tt((c[b>>2]|0)+e|0,g|0,h|0)|0;c[m>>2]=(c[m>>2]|0)+h;h=0;return h|0}function cr(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0;C=l;l=l+64|0;A=C;B=C+48|0;c[B>>2]=0;c[B+4>>2]=0;c[B+8>>2]=0;r=a[b>>0]|0;k=f+8|0;do if((c[k>>2]|0)<(e|0)){j=c[f>>2]|0;if(Nc()|0){B=7;l=C;return B|0}j=Oc(j,(e|0)>0?e:0,0)|0;if(!j){B=7;l=C;return B|0}else{c[k>>2]=e;c[f>>2]=j;break}}while(0);y=f+4|0;c[y>>2]=0;p=A+8|0;j=p;k=j+40|0;do{c[j>>2]=0;j=j+4|0}while((j|0)<(k|0));c[A>>2]=b;c[A+4>>2]=e;do if(!(a[b>>0]|0))j=1;else{n=b+1|0;o=A+16|0;j=a[n>>0]|0;k=j&255;if(!(k&128)){w=o;c[w>>2]=j&255;c[w+4>>2]=0;j=2;break}w=d[b+2>>0]<<7;j=w|k&127;if(!(w&16384)){w=o;c[w>>2]=j;c[w+4>>2]=0;j=3;break}w=d[b+3>>0]<<14;j=w|j&16383;if(!(w&2097152)){w=o;c[w>>2]=j;c[w+4>>2]=0;j=4;break}w=d[b+4>>0]<<21;j=w|j&2097151;if(!(w&268435456)){w=o;c[w>>2]=j;c[w+4>>2]=0;j=5;break}e=28;m=b+5|0;j=j&268435455;k=0;do{w=m;m=m+1|0;w=d[w>>0]|0;v=Rt(w&127|0,0,e|0)|0;j=Ft(v|0,z|0,j|0,k|0)|0;k=z;e=e+7|0}while((e|0)<64&((w&128|0)!=0|0!=0));w=o;c[w>>2]=j;c[w+4>>2]=k;j=1-n+m|0}while(0);c[p>>2]=j;j=ar(A)|0;a:do if((j|0)==0&(c[A>>2]|0)!=0){p=A+24|0;t=A+28|0;u=A+16|0;v=A+36|0;w=A+40|0;if(!(r<<24>>24))while(1){if(!(c[y>>2]|0)){q=c[t>>2]|0;r=Bs(c[p>>2]|0,g,(q|0)<(h|0)?q:h)|0;if((((r|0)==0?q-h|0:r)|0)>=0){k=u;j=c[k>>2]|0;k=c[k+4>>2]|0;a[c[f>>2]>>0]=a[b>>0]|0;if((j|0)==0&(k|0)==0){j=1;k=0;e=0}else{o=(c[f>>2]|0)+1|0;n=o;while(1){e=j&255;m=n+1|0;a[n>>0]=e|-128;j=Qt(j|0,k|0,7)|0;k=z;if((j|0)==0&(k|0)==0)break;else n=m}a[n>>0]=e&127;e=u;j=1-o+m|0;k=c[e>>2]|0;e=c[e+4>>2]|0}c[y>>2]=j;s=i;c[s>>2]=k;c[s+4>>2]=e;s=35}}else s=35;if((s|0)==35?(s=0,x=br(f,B,c[p>>2]|0,c[t>>2]|0,c[v>>2]|0,c[w>>2]|0)|0,x|0):0){q=x;break a}j=ar(A)|0;if(!((j|0)==0&(c[A>>2]|0)!=0)){q=j;break}}else while(1){if(!(c[y>>2]|0)){r=c[t>>2]|0;x=Bs(c[p>>2]|0,g,(r|0)<(h|0)?r:h)|0;if((((x|0)==0?r-h|0:x)|0)>=1){k=u;j=c[k>>2]|0;k=c[k+4>>2]|0;a[c[f>>2]>>0]=a[b>>0]|0;if((j|0)==0&(k|0)==0){j=1;k=0;e=0}else{o=(c[f>>2]|0)+1|0;n=o;while(1){e=j&255;m=n+1|0;a[n>>0]=e|-128;j=Qt(j|0,k|0,7)|0;k=z;if((j|0)==0&(k|0)==0)break;else n=m}a[n>>0]=e&127;e=u;j=1-o+m|0;k=c[e>>2]|0;e=c[e+4>>2]|0}c[y>>2]=j;s=i;c[s>>2]=k;c[s+4>>2]=e;s=26}}else s=26;if((s|0)==26?(s=0,q=br(f,B,c[p>>2]|0,c[t>>2]|0,c[v>>2]|0,c[w>>2]|0)|0,q|0):0)break a;j=ar(A)|0;if(!((j|0)==0&(c[A>>2]|0)!=0)){q=j;break}}}else q=j;while(0);if(!(c[y>>2]|0)){p=A+16|0;m=p;j=c[m>>2]|0;m=c[m+4>>2]|0;a[c[f>>2]>>0]=a[b>>0]|0;if((j|0)==0&(m|0)==0){j=1;k=0;e=0}else{o=(c[f>>2]|0)+1|0;n=o;while(1){k=j&255;e=n+1|0;a[n>>0]=k|-128;j=Qt(j|0,m|0,7)|0;m=z;if((j|0)==0&(m|0)==0)break;else n=e}a[n>>0]=k&127;f=p;j=1-o+e|0;k=c[f>>2]|0;e=c[f+4>>2]|0}c[y>>2]=j;c[i>>2]=k;c[i+4>>2]=e}j=c[A+24>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{A=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-A;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);j=c[B>>2]|0;if(!j){B=q;l=C;return B|0}if(!(c[2]|0)){pb[c[56>>2]&255](j);B=q;l=C;return B|0}else{B=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);B=q;l=C;return B|0}return 0}function dr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+48|0;p=r+32|0;o=r+24|0;n=r+16|0;m=r+8|0;k=r;q=r+40|0;h=b+252|0;if((c[h>>2]|0)>0){i=b+256|0;g=0;do{e=c[i>>2]|0;j=e+(g*24|0)+4|0;e=c[e+(g*24|0)+12>>2]|0;if(e|0)do{f=c[e+8>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);e=c[e>>2]|0}while((e|0)!=0);mp(j);g=g+1|0}while((g|0)<(c[h>>2]|0))}c[b+264>>2]=0;do if(d|0){g=b+64|0;e=c[g>>2]|0;c[q>>2]=e;if(!e){e=c[b+20>>2]|0;c[k>>2]=c[b+16>>2];c[k+4>>2]=e;e=xd(42375,k)|0;if(!e){s=7;l=r;return s|0}f=si(c[b+12>>2]|0,e,-1,129,0,q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[q>>2]|0;c[g>>2]=e;if(f){s=f;l=r;return s|0}}g=e;qi(g)|0;if(e|0){e=c[g>>2]|0;s=g+128|0;k=c[s+4>>2]|0;if((k|0)>0|(k|0)==0&(c[s>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;s=g+64|0;c[s>>2]=0;c[s+4>>2]=0;if((f|0)==3082|(a[e+73>>0]|0)!=0){Th(e);s=7;l=r;return s|0}else{e=c[e+60>>2]&f;if(!e)break;l=r;return e|0}}}while(0);g=b+68|0;e=c[g>>2]|0;c[q>>2]=e;if(!e){e=c[b+20>>2]|0;c[m>>2]=c[b+16>>2];c[m+4>>2]=e;e=xd(42403,m)|0;if(!e){s=7;l=r;return s|0}f=si(c[b+12>>2]|0,e,-1,129,0,q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[q>>2]|0;c[g>>2]=e;if(f){s=f;l=r;return s|0}}g=e;qi(g)|0;do if(e|0){e=c[g>>2]|0;s=g+128|0;m=c[s+4>>2]|0;if((m|0)>0|(m|0)==0&(c[s>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;s=g+64|0;c[s>>2]=0;c[s+4>>2]=0;if((f|0)==3082|(a[e+73>>0]|0)!=0){Th(e);s=7;l=r;return s|0}else{e=c[e+60>>2]&f;if(!e)break;l=r;return e|0}}while(0);g=b+72|0;e=c[g>>2]|0;c[q>>2]=e;if(!e){e=c[b+20>>2]|0;c[n>>2]=c[b+16>>2];c[n+4>>2]=e;e=xd(42432,n)|0;if(!e){s=7;l=r;return s|0}f=si(c[b+12>>2]|0,e,-1,129,0,q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[q>>2]|0;c[g>>2]=e;if(f){s=f;l=r;return s|0}}g=e;qi(g)|0;do if(!e)e=0;else{e=c[g>>2]|0;s=g+128|0;n=c[s+4>>2]|0;if((n|0)>0|(n|0)==0&(c[s>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;s=g+64|0;c[s>>2]=0;c[s+4>>2]=0;if(!((f|0)==3082|(a[e+73>>0]|0)!=0)){e=c[e+60>>2]&f;break}Th(e);s=7;l=r;return s|0}while(0);do if((e|0)==0&(a[b+234>>0]|0)!=0){g=b+76|0;e=c[g>>2]|0;c[q>>2]=e;if(!e){e=c[b+20>>2]|0;c[o>>2]=c[b+16>>2];c[o+4>>2]=e;e=xd(42459,o)|0;if(!e){s=7;l=r;return s|0}f=si(c[b+12>>2]|0,e,-1,129,0,q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[q>>2]|0;c[g>>2]=e;if(f){s=f;l=r;return s|0}}g=e;qi(g)|0;if(!e)e=0;else{e=c[g>>2]|0;s=g+128|0;o=c[s+4>>2]|0;if((o|0)>0|(o|0)==0&(c[s>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;s=g+64|0;c[s>>2]=0;c[s+4>>2]=0;if(!((f|0)==3082|(a[e+73>>0]|0)!=0)){e=c[e+60>>2]&f;break}Th(e);s=7;l=r;return s|0}}while(0);if(!((e|0)==0&(a[b+233>>0]|0)!=0)){s=e;l=r;return s|0}g=b+80|0;e=c[g>>2]|0;c[q>>2]=e;if(!e){e=c[b+20>>2]|0;c[p>>2]=c[b+16>>2];c[p+4>>2]=e;e=xd(42487,p)|0;if(!e){s=7;l=r;return s|0}f=si(c[b+12>>2]|0,e,-1,129,0,q,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](e);else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}e=c[q>>2]|0;c[g>>2]=e;if(f){s=f;l=r;return s|0}}g=e;qi(g)|0;if(!e){s=0;l=r;return s|0}e=c[g>>2]|0;s=g+128|0;q=c[s+4>>2]|0;if((q|0)>0|(q|0)==0&(c[s>>2]|0)>>>0>0)Rh(e,g);f=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;s=g+64|0;c[s>>2]=0;c[s+4>>2]=0;if((f|0)==3082|(a[e+73>>0]|0)!=0){Th(e);s=7;l=r;return s|0}else{s=c[e+60>>2]&f;l=r;return s|0}return 0}function er(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+32|0;i=u+20|0;o=u+16|0;p=u+12|0;q=u+8|0;r=u+4|0;n=u;c[o>>2]=0;c[p>>2]=0;c[q>>2]=0;c[n>>2]=0;g=c[a+36>>2]|0;t=c[g>>2]|0;if(!d){c[f>>2]=0;f=0;l=u;return f|0}c[i>>2]=0;d=mb[c[t+12>>2]&255](g,d,-1,i)|0;do if(!d){c[c[i>>2]>>2]=g;if((c[t>>2]|0)>0?(h=kb[c[t+24>>2]&255](c[i>>2]|0,b)|0,h|0):0){jb[c[t+16>>2]&255](c[i>>2]|0)|0;c[i>>2]=0;d=h;break}m=c[i>>2]|0;k=c[t+20>>2]|0;d=ob[k&255](m,r,n,o,p,q)|0;a:do if(!d){i=a+256|0;j=a+252|0;b=0;do{h=c[q>>2]|0;b=(h|0)<(b|0)?b:h+1|0;d=c[r>>2]|0;g=c[n>>2]|0;if((h|0)<0|(d|0)==0|(g|0)<1){d=1;break a}d=kr(a,e,h,(c[i>>2]|0)+4|0,d,g)|0;if(d|0)break a;if((c[j>>2]|0)>1){d=1;do{g=c[i>>2]|0;h=c[g+(d*24|0)>>2]|0;if((c[n>>2]|0)>=(h|0)?(s=kr(a,e,c[q>>2]|0,g+(d*24|0)+4|0,c[r>>2]|0,h)|0,s|0):0){d=s;break a}d=d+1|0}while((d|0)<(c[j>>2]|0))}d=ob[k&255](m,r,n,o,p,q)|0}while((d|0)==0)}else b=0;while(0);jb[c[t+16>>2]&255](m)|0;c[f>>2]=(c[f>>2]|0)+b;f=(d|0)==101?0:d;l=u;return f|0}while(0);f=d;l=u;return f|0}function fr(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;u=l;l=l+16|0;q=u;r=u+8|0;if(c[d>>2]|0){l=u;return}g=e+24|0;s=Fd((c[g>>2]|0)*10|0)|0;a:do if(s){p=c[g>>2]|0;if((p|0)>0){o=0;g=0;do{i=s+g|0;h=i;k=c[f+(o<<2)>>2]|0;n=0;while(1){j=k&255;m=h+1|0;a[h>>0]=j|-128;k=Qt(k|0,n|0,7)|0;n=z;if((k|0)==0&(n|0)==0)break;else h=m}a[h>>0]=j&127;g=m+(g-i)|0;o=o+1|0}while((o|0)!=(p|0));n=g}else n=0;i=e+136|0;h=c[i>>2]|0;c[r>>2]=h;do if(!h){h=c[e+20>>2]|0;c[q>>2]=c[e+16>>2];c[q+4>>2]=h;h=xd(42671,q)|0;if(h){g=si(c[e+12>>2]|0,h,-1,129,0,r,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}h=c[r>>2]|0;c[i>>2]=h;if(!g)break}else g=7;if(!(c[2]|0)){pb[c[56>>2]&255](s);break a}else{t=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break a}}while(0);m=h;i=e+272|0;g=c[i>>2]|0;i=c[i+4>>2]|0;do if(!(Ho(m,1)|0)){j=c[m+116>>2]|0;k=j+8|0;if(!(b[k>>1]&9312)){e=j;c[e>>2]=g;c[e+4>>2]=i;b[k>>1]=4;break}else{Xe(j,g,i);break}}while(0);if(Ho(m,2)|0){do if(148!=-1)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{t=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);qi(m)|0;if(!h){g=0;break}}else{g=Ve((c[m+116>>2]|0)+40|0,s,n,0,148)|0;if(g|0?(t=c[m>>2]|0,c[t+56>>2]=g,dg(t,g),t=c[m>>2]|0,(g|0)==3082|(a[t+73>>0]|0)!=0):0)Th(t);qi(m)|0}g=c[m>>2]|0;t=m+128|0;s=c[t+4>>2]|0;if((s|0)>0|(s|0)==0&(c[t>>2]|0)>>>0>0)Rh(g,m);h=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;t=m+64|0;c[t>>2]=0;c[t+4>>2]=0;if((h|0)==3082|(a[g+73>>0]|0)!=0){Th(g);g=7;break}else{g=c[g+60>>2]&h;break}}else g=7;while(0);c[d>>2]=g;l=u;return}function gr(e,f,g,h,i){e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;E=l;l=l+32|0;x=E+8|0;k=E;y=E+16|0;u=f+24|0;v=c[u>>2]|0;w=v+2|0;if(c[e>>2]|0){l=E;return}D=Fd(w*14|0)|0;if(!D){c[e>>2]=7;l=E;return}A=D+(w<<2)|0;m=f+144|0;j=c[m>>2]|0;c[y>>2]=j;do if(!j){t=c[f+20>>2]|0;c[k>>2]=c[f+16>>2];c[k+4>>2]=t;k=xd(39981,k)|0;if(k){j=si(c[f+12>>2]|0,k,-1,129,0,y,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{t=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-t;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}k=c[y>>2]|0;c[m>>2]=k;if(!j){j=k;break}}else j=7;if(!(c[2]|0))pb[c[56>>2]&255](D);else{C=jb[c[64>>2]&255](D)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](D)}c[e>>2]=j;l=E;return}while(0);t=j;do if(!(Ho(t,1)|0)){k=c[t+116>>2]|0;m=k+8|0;if(!(b[m>>1]&9312)){s=k;c[s>>2]=0;c[s+4>>2]=0;b[m>>1]=4;break}else{Xe(k,0,0);break}}while(0);if((qi(t)|0)==100){if(!j)o=ff(424)|0;else{k=c[t+104>>2]|0;if((k|0)!=0?(b[t+140>>1]|0)!=0:0)m=t;else{k=c[t>>2]|0;c[k+56>>2]=25;dg(k,25);k=424;m=t}o=ff(k)|0;k=c[m>>2]|0;n=t+40|0;m=c[n>>2]|0;if((m|0)==3082|(a[k+73>>0]|0)!=0){Th(k);k=7}else k=c[k+60>>2]&m;c[n>>2]=k}Ao(t,0)|0;if((v|0)>-2){r=0;s=0;while(1){q=o+s|0;k=d[q>>0]|0;if(k&128){p=d[q+1>>0]<<7;k=p|k&127;if(p&16384){p=d[q+2>>0]<<14;k=p|k&16383;if(p&2097152){p=d[q+3>>0]<<21;k=p|k&2097151;if(!(p&268435456))m=4;else{n=28;p=q+4|0;k=k&268435455;m=0;while(1){F=p;p=p+1|0;F=d[F>>0]|0;G=Rt(F&127|0,0,n|0)|0;k=Ft(G|0,z|0,k|0,m|0)|0;n=n+7|0;if(!((n|0)<64&((F&128|0)!=0|0!=0)))break;else m=z}m=p-q|0}}else m=3}else m=2}else m=1;c[D+(r<<2)>>2]=k;r=r+1|0;if((r|0)==(w|0))break;else s=m+s|0}}}else Vt(D|0,0,w<<2|0)|0;do if(j|0){j=c[t>>2]|0;G=t+128|0;F=c[G+4>>2]|0;if((F|0)>0|(F|0)==0&(c[G>>2]|0)>>>0>0)Rh(j,t);k=Sh(t)|0;c[t+20>>2]=770837923;c[t+36>>2]=-1;c[t+40>>2]=0;a[t+142>>0]=2;c[t+44>>2]=0;c[t+32>>2]=1;a[t+143>>0]=-1;c[t+48>>2]=0;G=t+64|0;c[G>>2]=0;c[G+4>>2]=0;if(!((k|0)==3082|(a[j+73>>0]|0)!=0)){j=c[j+60>>2]&k;if(!j)break}else{Th(j);j=7}if(!(c[2]|0))pb[c[56>>2]&255](D);else{G=jb[c[64>>2]&255](D)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](D)}c[e>>2]=j;l=E;return}while(0);G=c[D>>2]|0;c[D>>2]=(i|0)<0&G>>>0<(0-i|0)>>>0?0:G+i|0;if((c[u>>2]|0)>=0){j=0;do{G=j;j=j+1|0;F=D+(j<<2)|0;t=(c[g+(G<<2)>>2]|0)+(c[F>>2]|0)|0;i=c[h+(G<<2)>>2]|0;c[F>>2]=t>>>0>>0?0:t-i|0}while((G|0)<(c[u>>2]|0))}if((v|0)>-2){r=0;j=0;do{m=A+j|0;k=m;o=c[D+(r<<2)>>2]|0;q=0;while(1){n=o&255;p=k+1|0;a[k>>0]=n|-128;o=Qt(o|0,q|0,7)|0;q=z;if((o|0)==0&(q|0)==0)break;else k=p}a[k>>0]=n&127;j=p+(j-m)|0;r=r+1|0}while((r|0)!=(w|0));o=j}else o=0;m=f+148|0;k=c[m>>2]|0;c[y>>2]=k;do if(!k){k=c[f+20>>2]|0;c[x>>2]=c[f+16>>2];c[x+4>>2]=k;k=xd(42096,x)|0;if(k){j=si(c[f+12>>2]|0,k,-1,129,0,y,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](k);else{G=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k)}k=c[y>>2]|0;c[m>>2]=k;if(!j)break}else j=7;if(!(c[2]|0))pb[c[56>>2]&255](D);else{G=jb[c[64>>2]&255](D)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](D)}c[e>>2]=j;l=E;return}while(0);n=k;do if(!(Ho(n,1)|0)){j=c[n+116>>2]|0;m=j+8|0;if(!(b[m>>1]&9312)){G=j;c[G>>2]=0;c[G+4>>2]=0;b[m>>1]=4;break}else{Xe(j,0,0);break}}while(0);if((A|0)==0|(Ho(n,2)|0)!=0){qi(n)|0;if(!k)j=0;else C=79}else{j=Ve((c[n+116>>2]|0)+40|0,A,o,0,0)|0;if(j|0?(B=c[n>>2]|0,c[B+56>>2]=j,dg(B,j),B=c[n>>2]|0,(j|0)==3082|(a[B+73>>0]|0)!=0):0)Th(B);qi(n)|0;C=79}do if((C|0)==79){j=c[n>>2]|0;G=n+128|0;F=c[G+4>>2]|0;if((F|0)>0|(F|0)==0&(c[G>>2]|0)>>>0>0)Rh(j,n);k=Sh(n)|0;c[n+20>>2]=770837923;c[n+36>>2]=-1;c[n+40>>2]=0;a[n+142>>0]=2;c[n+44>>2]=0;c[n+32>>2]=1;a[n+143>>0]=-1;c[n+48>>2]=0;G=n+64|0;c[G>>2]=0;c[G+4>>2]=0;if((k|0)==3082|(a[j+73>>0]|0)!=0){Th(j);j=7;break}else{j=c[j+60>>2]&k;break}}while(0);c[e>>2]=j;if(!(c[2]|0)){pb[c[56>>2]&255](D);l=E;return}else{G=jb[c[64>>2]&255](D)|0;c[11822]=(c[11822]|0)-G;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](D);l=E;return}}function hr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=l;l=l+16|0;q=r+8|0;n=r;p=r+4|0;c[p>>2]=d;c[q>>2]=d;g=jr(b,7,n,q)|0;m=c[n>>2]|0;a:do if(!g){b:do if((qi(m)|0)==100){if(!(c[b+44>>2]|0))k=0;else k=Co(m,(c[b+24>>2]|0)+1|0)|0;h=Do(m,0)|0;i=z;j=b+272|0;g=j;d=c[g>>2]|0;g=c[g+4>>2]|0;do if(!((g|0)>(i|0)|(g|0)==(i|0)&d>>>0>h>>>0)){if((d|0)==(h|0)&(g|0)==(i|0)?(c[b+284>>2]|0)==0:0){o=10;break}d=b+280|0;if((c[d>>2]|0)==(k|0)?(c[b+264>>2]|0)<=(c[b+260>>2]|0):0)o=12;else o=10}else o=10;while(0);if((o|0)==10){d=Zp(b)|0;if(!d){d=b+280|0;o=12}}c:do if((o|0)==12){c[j>>2]=h;c[j+4>>2]=i;c[d>>2]=k;c[b+284>>2]=1;i=b+24|0;j=b+32|0;d=c[i>>2]|0;if((d|0)<1){d=1;break b}else h=1;while(1){g=h+-1|0;if(!(a[(c[j>>2]|0)+g>>0]|0)){d=er(b,k,fl(m,h)|0,-1,f+(g<<2)|0)|0;s=Ao(m,h)|0;g=f+(c[i>>2]<<2)|0;c[g>>2]=(c[g>>2]|0)+s;if(d|0)break c;d=c[i>>2]|0}if((h|0)<(d|0))h=h+1|0;else{d=1;break b}}}while(0);if(!m){g=d;d=0;break a}g=c[m>>2]|0;s=m+128|0;k=c[s+4>>2]|0;if((k|0)>0|(k|0)==0&(c[s>>2]|0)>>>0>0)Rh(g,m);s=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;m=m+64|0;c[m>>2]=0;c[m+4>>2]=0;if(!((s|0)==3082|(a[g+73>>0]|0)!=0)){g=d;d=0;break a}Th(g);g=d;d=0;break a}else d=0;while(0);if(m){g=c[m>>2]|0;s=m+128|0;k=c[s+4>>2]|0;if((k|0)>0|(k|0)==0&(c[s>>2]|0)>>>0>0)Rh(g,m);h=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;s=m+64|0;c[s>>2]=0;c[s+4>>2]=0;if((h|0)==3082|(a[g+73>>0]|0)!=0){Th(g);g=7;break}else{g=c[g+60>>2]&h;break}}else g=0}else if(m){d=c[m>>2]|0;s=m+128|0;k=c[s+4>>2]|0;if((k|0)>0|(k|0)==0&(c[s>>2]|0)>>>0>0)Rh(d,m);s=Sh(m)|0;c[m+20>>2]=770837923;c[m+36>>2]=-1;c[m+40>>2]=0;a[m+142>>0]=2;c[m+44>>2]=0;c[m+32>>2]=1;a[m+143>>0]=-1;c[m+48>>2]=0;m=m+64|0;c[m>>2]=0;c[m+4>>2]=0;if((s|0)==3082|(a[d+73>>0]|0)!=0){Th(d);d=0}else d=0}else d=0;while(0);if(!((d|0)!=0&(g|0)==0)){s=g;l=r;return s|0}c[q>>2]=c[p>>2];j=b+40|0;d:do if(!(c[j>>2]|0)){d=jr(b,1,n,q)|0;do if(!d){d=c[n>>2]|0;if((qi(d)|0)==100)i=Co(d,0)|0;else i=0;if(!d){d=i;o=43;break d}g=c[d>>2]|0;s=d+128|0;n=c[s+4>>2]|0;if((n|0)>0|(n|0)==0&(c[s>>2]|0)>>>0>0)Rh(g,d);h=Sh(d)|0;c[d+20>>2]=770837923;c[d+36>>2]=-1;c[d+40>>2]=0;a[d+142>>0]=2;c[d+44>>2]=0;c[d+32>>2]=1;a[d+143>>0]=-1;c[d+48>>2]=0;s=d+64|0;c[s>>2]=0;c[s+4>>2]=0;if((h|0)==3082|(a[g+73>>0]|0)!=0){Th(g);d=7;break}d=c[g+60>>2]&h;if(!d){d=i;break d}l=r;return d|0}while(0);s=d;l=r;return s|0}else{d=0;o=43}while(0);if(d|0){s=dr(b,1)|0;c[e>>2]=0;Vt(f|0,0,(c[b+24>>2]<<3)+8|0)|0;l=r;return s|0}c[e>>2]=(c[e>>2]|0)+-1;if(!(c[j>>2]|0)){d=jr(b,0,q,p)|0;do if(!d){d=c[q>>2]|0;qi(d)|0;if(d){g=c[d>>2]|0;s=d+128|0;f=c[s+4>>2]|0;if((f|0)>0|(f|0)==0&(c[s>>2]|0)>>>0>0)Rh(g,d);h=Sh(d)|0;c[d+20>>2]=770837923;c[d+36>>2]=-1;c[d+40>>2]=0;a[d+142>>0]=2;c[d+44>>2]=0;c[d+32>>2]=1;a[d+143>>0]=-1;c[d+48>>2]=0;s=d+64|0;c[s>>2]=0;c[s+4>>2]=0;if((h|0)==3082|(a[g+73>>0]|0)!=0){Th(g);d=7;break}else{d=c[g+60>>2]&h;break}}else d=0}while(0)}else d=0;if(!(a[b+234>>0]|0)){s=d;l=r;return s|0}do if(!d){d=jr(b,19,q,p)|0;if(!d){d=c[q>>2]|0;qi(d)|0;if(d){g=c[d>>2]|0;s=d+128|0;q=c[s+4>>2]|0;if((q|0)>0|(q|0)==0&(c[s>>2]|0)>>>0>0)Rh(g,d);h=Sh(d)|0;c[d+20>>2]=770837923;c[d+36>>2]=-1;c[d+40>>2]=0;a[d+142>>0]=2;c[d+44>>2]=0;c[d+32>>2]=1;a[d+143>>0]=-1;c[d+48>>2]=0;s=d+64|0;c[s>>2]=0;c[s+4>>2]=0;if((h|0)==3082|(a[g+73>>0]|0)!=0){Th(g);d=7;break}else{d=c[g+60>>2]&h;break}}else d=0}}while(0);s=d;l=r;return s|0}function ir(d,f,g){d=d|0;f=f|0;g=g|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;t=l;l=l+16|0;r=t;if(c[d+40>>2]|0){j=c[f+((c[d+24>>2]|0)+3<<2)>>2]|0;i=b[j+8>>1]|0;if(-1431655766>>>(i&31)&1){i=c[f+4>>2]|0;j=i;i=b[i+8>>1]|0}if(!(1347440720>>>(i&31)&1)){g=19;l=t;return g|0}i=i&65535;do if(!(i&4)){if(i&8|0){i=Gc(+h[j>>3])|0;j=z;break}if(!(i&18)){i=0;j=0}else{i=Hc(a[j+10>>0]|0,c[j+12>>2]|0,c[j+16>>2]|0)|0;j=z}}else{i=c[j>>2]|0;j=c[j+4>>2]|0}while(0);c[g>>2]=i;c[g+4>>2]=j;g=0;l=t;return g|0}s=f+4|0;i=jr(d,18,r,s)|0;if(i|0){g=i;l=t;return g|0}do if(c[d+44>>2]|0){o=c[r>>2]|0;i=d+24|0;p=c[i>>2]|0;m=p+2|0;j=c[f+(p+4<<2)>>2]|0;k=e[j+8>>1]|0;do if(!(k&4)){if(k&8|0){n=Gc(+h[j>>3])|0;break}if(!(k&18))n=0;else n=Hc(a[j+10>>0]|0,c[j+12>>2]|0,c[j+16>>2]|0)|0}else n=c[j>>2]|0;while(0);q=((n|0)<0)<<31>>31;j=Ho(o,m)|0;if(j|0){g=j;l=t;return g|0}o=c[o+116>>2]|0;k=p+1|0;j=o+(k*40|0)|0;k=o+(k*40|0)+8|0;if(!(b[k>>1]&9312)){p=j;c[p>>2]=n;c[p+4>>2]=q;b[k>>1]=4;break}else{Xe(j,n,q);break}}else i=d+24|0;while(0);i=c[f+((c[i>>2]|0)+3<<2)>>2]|0;if(!(-1431655766>>>(b[i+8>>1]&31)&1)){if(-1431655766>>>(b[(c[f>>2]|0)+8>>1]&31)&1|0?(-1431655766>>>(b[(c[s>>2]|0)+8>>1]&31)&1|0)==0:0){g=1;l=t;return g|0}j=c[r>>2]|0;i=Mo(j,1,i)|0;if(i){g=i;l=t;return g|0}}else j=c[r>>2]|0;qi(j)|0;do if(j){i=c[j>>2]|0;f=j+128|0;s=c[f+4>>2]|0;if((s|0)>0|(s|0)==0&(c[f>>2]|0)>>>0>0)Rh(i,j);k=Sh(j)|0;c[j+20>>2]=770837923;c[j+36>>2]=-1;c[j+40>>2]=0;a[j+142>>0]=2;c[j+44>>2]=0;c[j+32>>2]=1;a[j+143>>0]=-1;c[j+48>>2]=0;f=j+64|0;c[f>>2]=0;c[f+4>>2]=0;if((k|0)==3082|(a[i+73>>0]|0)!=0){Th(i);i=7;break}else{i=c[i+60>>2]&k;break}}else i=0;while(0);f=(c[d+12>>2]|0)+32|0;d=c[f+4>>2]|0;c[g>>2]=c[f>>2];c[g+4>>2]=d;g=i;l=t;return g|0}function jr(a,d,e,f){a=a|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0;p=l;l=l+48|0;m=p+24|0;k=p+16|0;h=p;n=p+32|0;o=a+56+(d<<2)|0;i=c[o>>2]|0;c[n>>2]=i;j=i;if(!i){g=c[6824+(d<<2)>>2]|0;switch(d|0){case 18:{m=c[a+20>>2]|0;d=c[a+224>>2]|0;c[h>>2]=c[a+16>>2];c[h+4>>2]=m;c[h+8>>2]=d;d=xd(g,h)|0;break}case 7:{c[k>>2]=c[a+220>>2];d=xd(g,k)|0;break}default:{d=c[a+20>>2]|0;c[m>>2]=c[a+16>>2];c[m+4>>2]=d;d=xd(g,m)|0}}if(!d){g=7;i=0}else{g=si(c[a+12>>2]|0,d,-1,129,0,n,0)|0;if(!(c[2]|0))pb[c[56>>2]&255](d);else{a=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-a;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d)}j=c[n>>2]|0;c[o>>2]=j;i=j}}else g=0;if((f|0)==0|(i|0)==0){f=g;c[e>>2]=j;l=p;return f|0}o=b[i+16>>1]|0;h=o<<16>>16;if(o<<16>>16>0&(g|0)==0)d=0;else{f=g;c[e>>2]=j;l=p;return f|0}do{g=d;d=d+1|0;g=Mo(i,d,c[f+(g<<2)>>2]|0)|0}while((d|0)<(h|0)&(g|0)==0);c[e>>2]=j;l=p;return g|0}function kr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;q=s+4|0;r=s;c[r>>2]=0;a:do if((((f|0)!=0?(n=f+16|0,(c[n>>2]|0)!=0):0)?(k=kb[(a[f>>0]<<24>>24==1?206:205)&255](g,h)|0,k=(c[f+12>>2]|0)+-1&k,m=c[n>>2]|0,(m|0)!=0):0)?(j=c[m+(k<<3)>>2]|0,o=(a[f>>0]|0)==1?144:143,i=c[m+(k<<3)+4>>2]|0,(j|0)!=0&(i|0)!=0):0){while(1){j=j+-1|0;if(!(mb[o&255](c[i+12>>2]|0,c[i+16>>2]|0,g,h)|0))break;i=c[i>>2]|0;if(!((j|0)!=0&(i|0)!=0)){p=7;break a}}i=c[i+8>>2]|0;c[q>>2]=i;if(!i)i=q;else{o=b+264|0;c[o>>2]=-20-h-(c[i>>2]|0)+(c[o>>2]|0);i=q}}else p=7;while(0);if((p|0)==7){c[q>>2]=0;i=q}p=b+272|0;if(Kq(q,c[p>>2]|0,c[p+4>>2]|0,d,((d|0)<0)<<31>>31,e,((e|0)<0)<<31>>31,r)|0?(p=c[q>>2]|0,(p|0)==(jp(f,g,h,p)|0)):0){i=c[i>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{q=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[r>>2]=7;r=7;l=s;return r|0}i=c[r>>2]|0;if(i|0){r=i;l=s;return r|0}r=b+264|0;c[r>>2]=h+20+(c[c[q>>2]>>2]|0)+(c[r>>2]|0);r=0;l=s;return r|0}function lr(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;e=b+8|0;if(a[e>>0]|0){d=(c[b>>2]|0)+216|0;if(!(c[d>>2]|0)){f=b+12|0;g=c[f>>2]|0;c[d>>2]=g;if(g|0){d=c[g>>2]|0;h=g+128|0;i=c[h+4>>2]|0;if((i|0)>0|(i|0)==0&(c[h>>2]|0)>>>0>0)Rh(d,g);i=Sh(g)|0;c[g+20>>2]=770837923;c[g+36>>2]=-1;c[g+40>>2]=0;a[g+142>>0]=2;c[g+44>>2]=0;c[g+32>>2]=1;a[g+143>>0]=-1;c[g+48>>2]=0;h=g+64|0;c[h>>2]=0;c[h+4>>2]=0;if((i|0)==3082|(a[d+73>>0]|0)!=0)Th(d)}c[f>>2]=0}a[e>>0]=0}Qh(c[b+12>>2]|0)|0;g=b+28|0;d=c[g>>2]|0;if(d|0)do{e=d;d=c[d+8>>2]|0;f=c[e+12>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{i=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](e);else{i=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e)}}while((d|0)!=0);c[g>>2]=0;d=c[b+44>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);d=c[b+92>>2]|0;do if((d|0?(a[d>>0]=0,(a[d+1>>0]|0)==0):0)?(a[d+2>>0]|0)==0:0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);mr(c[b+16>>2]|0);d=b+4|0;e=d+92|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));return}function mr(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;while(1){b=c[a+12>>2]|0;if(b|0){a=b;continue}b=c[a+16>>2]|0;if(!b)break;else a=b}a:while(1){h=c[a+8>>2]|0;g=c[a+20>>2]|0;if(g|0){b=c[g>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{f=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);do if(c[g+24>>2]|0?(i=c[g+28>>2]|0,i|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{f=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);f=g+64|0;b=g;d=b+40|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));if((c[f>>2]|0)>0){b=0;do{d=g+72+(b*24|0)+20|0;e=c[d>>2]|0;iq(e);do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{j=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);c[d>>2]=0;b=b+1|0}while((b|0)<(c[f>>2]|0))}}b=c[a+40>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{j=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0))pb[c[56>>2]&255](a);else{j=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a)}if(!h)break;if((a|0)!=(c[h+12>>2]|0)){a=h;continue}a=c[h+16>>2]|0;if(!a){a=h;continue}while(1){b=c[a+12>>2]|0;if(b|0){a=b;continue}b=c[a+16>>2]|0;if(!b)continue a;else a=b}}return}function nr(b,e,f,g,h){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0;X=l;l=l+32|0;S=X+20|0;T=X+16|0;U=X+12|0;V=X+8|0;W=X+4|0;F=X;G=b+24|0;H=b+20|0;I=b+16|0;K=b+4|0;L=b+12|0;M=b+8|0;N=b+32|0;D=0;j=f;C=1;i=e;e=0;a:while(1){E=i;while(1){c[F>>2]=0;c[G>>2]=0;b:do if((j|0)>0){m=j;k=E;while(1){B=(a[k>>0]|0)+-9<<24>>24;if(!((B&255)<24&(8388639>>>(B&255)&1|0)!=0)){v=k;break b}i=m+-1|0;k=k+1|0;if((m|0)>1)m=i;else{w=6;break}}}else{i=j;k=E;w=6}while(0);if((w|0)==6)if(!i){k=101;i=0;w=170;break a}else{m=i;v=k}p=v+4|0;q=v+5|0;i=0;c:while(1){k=d[6984+(i<<3)+4>>0]|0;if((m|0)>=(k|0)?(Bs(v,c[6984+(i<<3)>>2]|0,k)|0)==0:0){if(((i|0)==3?(a[p>>0]|0)==47:0)?(R=a[q>>0]|0,(R+-48&255)<10):0){n=5;k=0;o=R;do{k=(k*10|0)+-48+(o<<24>>24)|0;n=n+1|0;o=a[v+n>>0]|0}while((o+-48&255)<10)}else{n=k;k=10}o=a[v+n>>0]|0;B=o+-9<<24>>24;if((B&255)<24&(8388639>>>(B&255)&1|0)!=0){w=16;break}switch(o<<24>>24){case 0:case 34:case 40:case 41:{w=16;break c}default:{}}}i=i+1|0;if((i|0)>=4){w=32;break}}d:do if((w|0)==16){w=0;p=6984+(i<<3)+6|0;if(Nc()|0){k=7;i=0;w=170;break a}if(!(c[2]|0)){m=jb[c[52>>2]&255](48)|0;if(!m){k=7;i=0;w=170;break a}o=m;s=o+48|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(s|0))}else{i=jb[c[68>>2]&255](48)|0;if((c[11829]|0)>>>0<48)c[11829]=48;o=46456;m=c[o>>2]|0;o=c[o+4>>2]|0;if((o|0)>0|(o|0)==0&m>>>0>0){A=c[11822]|0;B=Gt(m|0,o|0,i|0,((i|0)<0)<<31>>31|0)|0;y=z;c[11616]=(0>(y|0)|0==(y|0)&A>>>0>=B>>>0)&1}m=jb[c[52>>2]&255](i)|0;if(!m){k=7;i=0;w=170;break a}i=jb[c[64>>2]&255](m)|0;i=(c[11822]|0)+i|0;c[11822]=i;if(i>>>0>(c[11826]|0)>>>0)c[11826]=i;i=(c[11825]|0)+1|0;c[11825]=i;if(i>>>0>(c[11831]|0)>>>0)c[11831]=i;o=m;s=o+48|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(s|0))}c[m>>2]=d[p>>0];c[m+4>>2]=k;c[F>>2]=m;k=0;i=v-E+n|0;t=m}else if((w|0)==32){w=0;switch(a[v>>0]|0){case 41:{w=91;break a}case 34:{e:do if((m|0)>1){i=1;while(1){if((a[v+i>>0]|0)==34){k=i;break e}i=i+1|0;if((i|0)>=(m|0)){k=i;break}}}else k=1;while(0);i=1-E+v+k|0;if((k|0)==(m|0)){k=1;w=170;break a}A=v+1|0;y=k+-1|0;m=c[b>>2]|0;B=c[m>>2]|0;n=c[K>>2]|0;c[S>>2]=0;k=mb[c[B+12>>2]&255](m,A,y,S)|0;f:do if(!k){c[c[S>>2]>>2]=m;if((c[B>>2]|0)>0?(J=kb[c[B+24>>2]&255](c[S>>2]|0,n)|0,J|0):0){jb[c[B+16>>2]&255](c[S>>2]|0)|0;c[S>>2]=0;k=J;n=0;w=43;break}n=c[S>>2]|0;v=B+20|0;x=n;s=0;q=0;r=0;p=0;m=0;t=0;o=0;while(1){c[T>>2]=0;c[U>>2]=0;c[V>>2]=0;c[W>>2]=0;k=ob[c[v>>2]&255](x,S,T,U,V,W)|0;w=(k|0)==0;if(w){m=(s*24|0)+144|0;if(Nc()|0){w=48;break}u=Oc(t,(m|0)>0?m:0,0)|0;if(!u){w=48;break}m=(c[T>>2]|0)+r|0;if(Nc()|0){w=54;break}t=Oc(p,(m|0)>0?m:0,0)|0;if(!t){w=54;break}o=u+120|0;p=o+(s*24|0)|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;c[p+20>>2]=0;Tt(t+r|0,c[S>>2]|0,c[T>>2]|0)|0;p=c[T>>2]|0;c[o+(s*24|0)+4>>2]=p;m=c[V>>2]|0;if((m|0)<(y|0))m=(a[A+m>>0]|0)==42;else m=0;c[o+(s*24|0)+8>>2]=m&1;m=c[U>>2]|0;if((m|0)>0)m=(a[A+(m+-1)>>0]|0)==94;else m=0;c[o+(s*24|0)+12>>2]=m&1;s=s+1|0;m=u;q=s;r=p+r|0;p=t;o=u;t=u}else s=s+1|0;if(!w){w=64;break}}do if((w|0)==48)if(t)if(!(c[2]|0)){pb[c[56>>2]&255](t);m=p;k=0;break}else{m=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);m=p;k=0;break}else{m=p;k=0}else if((w|0)==54)if(p)if(!(c[2]|0)){pb[c[56>>2]&255](p);m=0;k=u;break}else{m=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);m=0;k=u;break}else{m=0;k=u}else if((w|0)==64){jb[c[B+16>>2]&255](x)|0;n=0;w=65;break f}while(0);w=79}else{n=c[S>>2]|0;w=43}while(0);if((w|0)==43){m=0;q=0;r=0;p=0;o=0;w=65}g:do if((w|0)==65){w=0;if((k|0)==101){k=r+144+(q*24|0)|0;if((Nc()|0)==0?(O=Oc(o,(k|0)>0?k:0,0)|0,O|0):0){k=O+48|0;o=O;s=o+112|0;do{c[o>>2]=0;o=o+4|0}while((o|0)<(s|0));c[O>>2]=5;m=O+20|0;c[m>>2]=k;c[O+116>>2]=c[H>>2];c[O+112>>2]=q;k=k+72+(q*24|0)|0;do if(p|0){Tt(k|0,p|0,r|0)|0;if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{B=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);o=c[m>>2]|0;p=c[o+64>>2]|0;if((p|0)>0)m=0;else{k=0;m=O;break}while(1){c[o+72+(m*24|0)>>2]=k;n=m+1|0;if((n|0)==(p|0)){k=0;m=O;break g}else{k=k+(c[o+72+(m*24|0)+4>>2]|0)|0;m=n}}}if(o)if(!(c[2]|0)){pb[c[56>>2]&255](o);m=p;k=0;w=79;break}else{m=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);m=p;k=0;w=79;break}else{m=p;k=0;w=79}}}while(0);do if((w|0)==79){w=0;if(n|0)jb[c[B+16>>2]&255](n)|0;do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{B=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-B;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);if(k)if(!(c[2]|0)){pb[c[56>>2]&255](k);k=7;m=0;break}else{m=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);k=7;m=0;break}else{k=7;m=0}}while(0);c[F>>2]=m;t=m;break d}case 40:{c[S>>2]=0;c[N>>2]=(c[N>>2]|0)+1;k=nr(b,v+1|0,m+-1|0,F,S)|0;t=c[F>>2]|0;k=(k|0)==0?((t|0)==0?101:0):k;i=1-E+v+(c[S>>2]|0)|0;break d}default:{r=c[H>>2]|0;s=c[I>>2]|0;h:do if((s|0)>0){t=c[M>>2]|0;i=0;i:while(1){k=c[t+(i<<2)>>2]|0;u=As(k)|0;if((m|0)>(u|0)?!((k|0)==0?1:(a[v+u>>0]|0)!=58):0){if((u|0)>0){q=v;o=u}else{w=101;break}while(1){n=a[k>>0]|0;if(!(n<<24>>24)){w=98;break}n=a[17324+(n&255)>>0]|0;p=a[17324+(d[q>>0]|0)>>0]|0;if(n<<24>>24!=p<<24>>24){k=p;break}if((o|0)>1){k=k+1|0;q=q+1|0;o=o+-1|0}else{w=101;break i}}if((w|0)==98){w=0;n=0;k=a[17324+(d[q>>0]|0)>>0]|0}if(n<<24>>24==k<<24>>24){w=104;break}}i=i+1|0;if((i|0)>=(s|0)){p=r;t=0;break h}}if((w|0)==101){w=0;p=i;t=1-E+v+u|0;break}else if((w|0)==104){w=0;p=i;t=1-E+v+u|0;break}}else{p=r;t=0}while(0);r=E+t|0;o=j-t|0;n=c[b>>2]|0;s=c[n>>2]|0;j:do if((o|0)>0){i=0;while(1){switch(a[r+i>>0]|0){case 34:case 41:case 40:break j;default:{}}i=i+1|0;if((i|0)>=(o|0))break j}}else i=0;while(0);m=c[K>>2]|0;c[S>>2]=0;k=mb[c[s+12>>2]&255](n,r,i,S)|0;do if(!k){c[c[S>>2]>>2]=n;if((c[s>>2]|0)>0?(P=kb[c[s+24>>2]&255](c[S>>2]|0,m)|0,P|0):0){jb[c[s+16>>2]&255](c[S>>2]|0)|0;c[S>>2]=0;k=P;w=112;break}q=c[S>>2]|0;c[T>>2]=0;c[U>>2]=0;c[V>>2]=0;c[W>>2]=0;k=ob[c[s+20>>2]&255](q,S,T,U,V,W)|0;k:do if(!k){i=(c[T>>2]|0)+144|0;m=Fd(i)|0;if(!m){m=0;k=7;i=c[V>>2]|0;break}Vt(m|0,0,i|0)|0;c[m>>2]=5;c[m+20>>2]=m+48;c[m+112>>2]=1;c[m+116>>2]=p;i=c[T>>2]|0;c[m+124>>2]=i;B=m+144|0;c[m+120>>2]=B;Tt(B|0,c[S>>2]|0,i|0)|0;i=c[V>>2]|0;if((i|0)<(o|0)?(Q=i+1|0,(a[r+i>>0]|0)==42):0){c[m+128>>2]=1;c[V>>2]=Q;i=Q}k=c[U>>2]|0;if((c[L>>2]|0)!=0&(k|0)>0){o=m+132|0;while(1){n=k;k=k+-1|0;if((a[r+k>>0]|0)!=94){k=0;break k}c[o>>2]=1;c[U>>2]=k;if((n|0)<=1){k=0;break}}}else k=0}else{m=0;k=(i|0)!=0&(k|0)==101?0:k}while(0);jb[c[s+16>>2]&255](q)|0}else w=112;while(0);if((w|0)==112){w=0;m=0}c[F>>2]=m;i=i+t|0;t=m;break d}}}while(0);if((k|0)==0&(t|0)!=0)break;j=j-i|0;if(!k)E=E+i|0;else{w=173;break a}}q=c[t>>2]|0;if((q|0)!=5){n=(c[t+12>>2]|0)!=0;k=n^1;m=(C|0)!=0;if(m&k){w=130;break}else{r=k;p=n}}else{r=0;m=(C|0)!=0;p=1}if(m|r)if(!D)m=0;else{m=D;w=154}else{if(Nc()|0){w=152;break}if(!(c[2]|0)){m=jb[c[52>>2]&255](48)|0;if(!m){w=152;break}o=m;s=o+48|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(s|0))}else{k=jb[c[68>>2]&255](48)|0;if((c[11829]|0)>>>0<48)c[11829]=48;n=46456;m=c[n>>2]|0;n=c[n+4>>2]|0;if((n|0)>0|(n|0)==0&m>>>0>0){B=c[11822]|0;C=Gt(m|0,n|0,k|0,((k|0)<0)<<31>>31|0)|0;A=z;c[11616]=(0>(A|0)|0==(A|0)&B>>>0>=C>>>0)&1}m=jb[c[52>>2]&255](k)|0;if(!m){w=152;break}k=jb[c[64>>2]&255](m)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k;o=m;s=o+48|0;do{a[o>>0]=0;o=o+1|0}while((o|0)<(s|0))}c[m>>2]=3;n=D;while(1){o=n+8|0;k=c[o>>2]|0;if(!k){w=150;break}if((c[k>>2]|0)>3){w=149;break}else n=k}if((w|0)==149){c[k+16>>2]=m;c[m+8>>2]=k}else if((w|0)==150)e=m;c[m+12>>2]=n;c[o>>2]=m;w=154}if((w|0)==154){w=0;if(!((q|0)!=1|p)?(c[m>>2]|0)!=5:0){w=158;break}if((q|0)!=5&p?(c[m>>2]|0)==1:0){w=158;break}}do if(p)if(!e){e=t;break}else{c[m+16>>2]=t;c[t+8>>2]=m;break}else{while(1){n=m+8|0;k=c[n>>2]|0;if(!k){w=167;break}if((c[k>>2]|0)>(c[t>>2]|0)){w=166;break}else m=k}if((w|0)==166){w=0;c[k+16>>2]=t;c[t+8>>2]=k}else if((w|0)==167){w=0;e=t}c[t+12>>2]=m;c[n>>2]=t}while(0);D=t;j=j-i|0;C=r&1;i=E+i|0}if((w|0)==91){c[N>>2]=(c[N>>2]|0)+-1;c[F>>2]=0;k=101;i=1-E+v|0;w=170}else if((w|0)==130){mr(t);i=1;w=172}else if((w|0)==152){mr(t);i=7;w=172}else if((w|0)==158){mr(t);i=1;w=172}if((w|0)==170){j=j-i|0;w=173}if((w|0)==173){i=(e|0)!=0&(k|0)==101&(C|0)!=0?1:k;c[h>>2]=f-j;if((i|0)==101){h=0;f=e;c[g>>2]=f;l=X;return h|0}}mr(e);h=i;f=0;c[g>>2]=f;l=X;return h|0}function or(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;s=l;l=l+16|0;q=s+4|0;j=s;d=c[a>>2]|0;o=c[d>>2]|0;do if(b){if((o+-3|0)>>>0<2){e=b<<2;r=Fd(e)|0;if(!r){e=7;break}Vt(r|0,0,e|0)|0;c[q>>2]=d;if((c[d>>2]|0)==(o|0)){e=d;do e=c[e+12>>2]|0;while((c[e>>2]|0)==(o|0));c[q>>2]=e}else e=d;m=b+-1|0;p=(b|0)>0;a:do if(p){f=0;while(1){j=e+8|0;k=c[j>>2]|0;c[j>>2]=0;j=(k|0)==0;if(j)d=0;else c[k+12>>2]=0;e=or(q,m)|0;if(e|0){n=28;break a}g=c[q>>2]|0;do if(g){i=0;e=f;while(1){h=r+(i<<2)|0;f=c[h>>2]|0;if(!f){n=18;break}c[e+12>>2]=f;c[e+16>>2]=g;c[f+8>>2]=e;c[g+8>>2]=e;g=e+8|0;f=c[g>>2]|0;c[g>>2]=0;c[h>>2]=0;i=i+1|0;g=(e|0)!=0;if(!((i|0)<(b|0)&g)){n=10;break}else{g=e;e=f}}if((n|0)==10){c[q>>2]=e;if(g){n=27;break a}else break}else if((n|0)==18){c[h>>2]=g;c[q>>2]=0;f=e;break}}while(0);if(j){n=36;break a}h=c[k+16>>2]|0;c[q>>2]=h;if((c[h>>2]|0)==(o|0)){e=h;do e=c[e+12>>2]|0;while((c[e>>2]|0)==(o|0));c[q>>2]=e}else e=h;i=k+8|0;c[h+8>>2]=c[i>>2];g=c[i>>2]|0;if(!g)d=h;else c[g+12>>2]=h;c[i>>2]=f;f=k}}else{f=0;while(1){g=e+8|0;j=c[g>>2]|0;c[g>>2]=0;g=(j|0)==0;if(g)d=0;else c[j+12>>2]=0;e=or(q,m)|0;if(e|0){n=28;break a}e=c[q>>2]|0;if(e|0){n=27;break a}if(g){n=36;break a}h=c[j+16>>2]|0;c[q>>2]=h;if((c[h>>2]|0)==(o|0)){e=h;do e=c[e+12>>2]|0;while((c[e>>2]|0)==(o|0));c[q>>2]=e}else e=h;i=j+8|0;c[h+8>>2]=c[i>>2];g=c[i>>2]|0;if(!g)d=h;else c[g+12>>2]=h;c[i>>2]=f;f=j}}while(0);if((n|0)==27){mr(e);e=18;n=28}else if((n|0)==36){c[q>>2]=0;if(p){h=0;d=0;do{e=r+(h<<2)|0;g=c[e>>2]|0;if(g){if(!d){e=f;d=g}else{c[f+16>>2]=d;e=c[e>>2]|0;c[f+12>>2]=e;c[e+8>>2]=f;c[d+8>>2]=f;e=c[f+8>>2]|0;d=f}c[d+8>>2]=0;f=e}h=h+1|0}while((h|0)!=(b|0));c[q>>2]=d;e=0}else{e=0;d=0}}if((n|0)==28){if(p){g=0;do{mr(c[r+(g<<2)>>2]|0);g=g+1|0}while((g|0)!=(b|0))}if(f)do{g=f;f=c[f+8>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](g);else{b=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}}while((f|0)!=0)}if(!(c[2]|0))pb[c[56>>2]&255](r);else{b=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r)}}else{if((o|0)!=2){r=0;b=d;c[a>>2]=b;l=s;return r|0}h=d+12|0;g=c[h>>2]|0;c[q>>2]=g;i=d+16|0;f=c[i>>2]|0;c[j>>2]=f;c[h>>2]=0;c[i>>2]=0;c[g+8>>2]=0;c[f+8>>2]=0;g=b+-1|0;e=or(q,g)|0;if(!e){e=or(j,g)|0;f=c[j>>2]|0;if(!e){e=c[q>>2]|0;c[h>>2]=e;c[e+8>>2]=d;c[i>>2]=f;c[f+8>>2]=d;e=0}else n=56}else n=56;if((n|0)==56){mr(f);mr(c[q>>2]|0)}}if(!e){r=0;b=d;c[a>>2]=b;l=s;return r|0}}else e=1;while(0);mr(d);r=e;b=0;c[a>>2]=b;l=s;return r|0}function pr(a,b){a=a|0;b=b|0;var d=0;if(!a){d=0;return d|0}else d=b;while(1){if((d|0)<0){b=18;a=5;break}d=d+-1|0;b=pr(c[a+12>>2]|0,d)|0;if(b|0){a=5;break}a=c[a+16>>2]|0;if(!a){b=0;a=5;break}}if((a|0)==5)return b|0;return 0}function qr(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0;if(!b)return;while(1){if(c[f>>2]|0){v=37;break}g=c[b>>2]|0;if((g|0)==5){v=4;break}c[e>>2]=(c[e>>2]|0)+((g|0)==4&1);qr(a,c[b+12>>2]|0,d,e,f);b=c[b+16>>2]|0;if(!b){v=37;break}}if((v|0)==4){t=b+20|0;b=c[t>>2]|0;u=c[b+64>>2]|0;c[d>>2]=(c[d>>2]|0)+u;a:do if((u|0)>0){s=a+20|0;r=0;b:while(1){o=c[b+72+(r*24|0)>>2]|0;p=c[b+72+(r*24|0)+4>>2]|0;n=c[b+72+(r*24|0)+8>>2]|0;q=b+72+(r*24|0)+20|0;if(Nc()|0){g=0;b=7;v=33;break}if(!(c[2]|0)){g=jb[c[52>>2]&255](56)|0;if(!g){g=0;b=7;v=33;break}}else{b=jb[c[68>>2]&255](56)|0;if((c[11829]|0)>>>0<56)c[11829]=56;e=46456;g=c[e>>2]|0;e=c[e+4>>2]|0;if((e|0)>0|(e|0)==0&g>>>0>0){l=c[11822]|0;m=Gt(g|0,e|0,b|0,((b|0)<0)<<31>>31|0)|0;k=z;c[11616]=(0>(k|0)|0==(k|0)&l>>>0>=m>>>0)&1}g=jb[c[52>>2]&255](b)|0;if(!g){g=0;b=7;v=33;break}b=jb[c[64>>2]&255](g)|0;b=(c[11822]|0)+b|0;c[11822]=b;if(b>>>0>(c[11826]|0)>>>0)c[11826]=b;b=(c[11825]|0)+1|0;c[11825]=b;if(b>>>0>(c[11831]|0)>>>0)c[11831]=b}m=c[a>>2]|0;l=(n|0)!=0;c:do if(l){h=m+256|0;d=g+36|0;k=c[m+252>>2]|0;i=(k|0)>1;if(i){e=c[h>>2]|0;j=1;while(1){if((c[e+(j*24|0)>>2]|0)==(p|0)){v=27;break}b=j+1|0;if((b|0)<(k|0))j=b;else break}if((v|0)==27){v=0;b=c[s>>2]|0;i=g;k=i+56|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(k|0));b=aq(m,b,j,-2,o,p,0,0,g)|0;c[d>>2]=1;break}j=p+1|0;if(i){e=c[h>>2]|0;h=1;while(1){if((c[e+(h*24|0)>>2]|0)==(j|0))break;b=h+1|0;if((b|0)<(k|0))h=b;else{v=32;break c}}b=c[s>>2]|0;i=g;k=i+56|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(k|0));b=aq(m,b,h,-2,o,p,1,0,g)|0;if(b|0){v=33;break b}b=aq(m,c[s>>2]|0,0,-2,o,p,0,0,g)|0}else v=32}else v=32}else{d=g+36|0;v=32}while(0);if((v|0)==32){v=0;b=(l^1)&1;e=c[s>>2]|0;i=g;k=i+56|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(k|0));p=aq(m,e,0,-2,o,p,n,0,g)|0;c[d>>2]=b;b=p}c[q>>2]=g;r=r+1|0;if(b|0)break;b=c[t>>2]|0;if((r|0)>=(u|0))break a}if((v|0)==33)c[q>>2]=g;c[f>>2]=b;return}while(0);c[b+44>>2]=-1;return}else if((v|0)==37)return}function rr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0;H=l;l=l+16|0;G=H;if(c[h>>2]|0){l=H;return}a:while(1){switch(c[e>>2]|0){case 5:{A=4;break a}case 2:{A=30;break a}case 4:{j=e+12|0;i=c[j>>2]|0;c[c[g>>2]>>2]=i;c[g>>2]=(c[g>>2]|0)+4;break}default:{i=d;j=e+12|0}}rr(b,i,c[j>>2]|0,f,g,h);j=e+16|0;if((c[e>>2]|0)==4){i=c[j>>2]|0;c[c[g>>2]>>2]=i;c[g>>2]=(c[g>>2]|0)+4}if(!(c[h>>2]|0)){d=i;e=c[j>>2]|0}else{A=30;break}}if((A|0)==4){v=c[e+20>>2]|0;w=v+64|0;x=v+68|0;if((c[w>>2]|0)>0)u=0;else{l=H;return}b:while(1){y=c[f>>2]|0;c[f>>2]=y+24;c[y>>2]=v;c[y+4>>2]=u;c[y+12>>2]=d;c[y+8>>2]=v+72+(u*24|0);c[y+20>>2]=c[x>>2];m=c[v+72+(u*24|0)+20>>2]|0;y=y+16|0;t=c[b>>2]|0;n=c[t+240>>2]|0;o=m+4|0;p=t+20|0;q=t+248|0;r=t+244|0;s=t+12|0;t=t+16|0;i=c[o>>2]|0;if((i|0)>0){e=0;k=0;do{j=c[(c[m>>2]|0)+(k<<2)>>2]|0;if(((c[j+56>>2]|0)==0?(a[j+5>>0]|0)==0:0)?(E=j+8|0,D=c[E>>2]|0,E=c[E+4>>2]|0,F=j+16|0,g=F,j=c[g+4>>2]|0,!((E|0)>(j|0)|((E|0)==(j|0)?D>>>0>(c[g>>2]|0)>>>0:0))):0){C=e;i=c[q>>2]|0;j=D;g=E;while(1){if(!i){e=c[r>>2]|0;if(!e){c[G>>2]=c[p>>2];e=xd(40732,G)|0;c[r>>2]=e;if(!e){B=7;break b}}e=Po(c[s>>2]|0,c[t>>2]|0,e,40744,j,g,0,q)|0}else e=Uo(i,j,g)|0;if(e|0){B=e;break b}i=c[q>>2]|0;if((i|0)!=0?(c[i+16>>2]|0)!=0:0)e=c[i>>2]|0;else e=0;if((e+35|0)>(n|0))e=((e+34|0)/(n|0)|0)+C|0;else e=C;J=j;j=Ft(j|0,g|0,1,0)|0;I=F;K=c[I+4>>2]|0;if(!((g|0)<(K|0)|((g|0)==(K|0)?J>>>0<(c[I>>2]|0)>>>0:0)))break;else{C=e;g=z}}i=c[o>>2]|0}k=k+1|0}while((k|0)<(i|0))}else e=0;c[y>>2]=e;c[h>>2]=0;u=u+1|0;if((u|0)>=(c[w>>2]|0)){A=30;break}}if((A|0)==30){l=H;return}c[y>>2]=C;c[h>>2]=B;l=H;return}else if((A|0)==30){l=H;return}}function sr(e,f,g,h){e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0;E=l;l=l+16|0;A=E+4|0;B=E;C=c[e>>2]|0;if(c[C+40>>2]|0){D=0;l=E;return D|0}x=(h|0)>0;if(x){i=0;j=0;k=0}else{D=0;l=E;return D|0}while(1){if((c[g+(k*24|0)+12>>2]|0)==(f|0)){w=i+1|0;j=(c[g+(k*24|0)+16>>2]|0)+j|0}else w=i;k=k+1|0;if((k|0)==(h|0))break;else i=w}if((j|0)==0|(w|0)<2){D=0;l=E;return D|0}t=e+60|0;i=c[t>>2]|0;do if(!i){i=Aq(C,A)|0;if(!i){s=c[A>>2]|0;r=(s|0)==0;if(r)m=ff(424)|0;else{i=c[s+104>>2]|0;if((i|0)!=0?(b[s+140>>1]|0)!=0:0)j=s;else{i=c[s>>2]|0;c[i+56>>2]=25;dg(i,25);i=424;j=s}m=ff(i)|0;i=c[j>>2]|0;k=s+40|0;j=c[k>>2]|0;if((j|0)==3082|(a[i+73>>0]|0)!=0){Th(i);i=7}else i=c[i+60>>2]&j;c[k>>2]=i}o=Ao(s,0)|0;q=m+o|0;j=a[m>>0]|0;i=j&255;do if(!(i&128)){k=1;i=j&255;p=0}else{v=d[m+1>>0]<<7;i=v|i&127;if(!(v&16384)){k=2;p=0;break}v=d[m+2>>0]<<14;i=v|i&16383;if(!(v&2097152)){k=3;p=0;break}v=d[m+3>>0]<<21;i=v|i&2097151;if(!(v&268435456)){k=4;p=0;break}j=28;k=m+4|0;i=i&268435455;n=0;do{v=k;k=k+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,j|0)|0;i=Ft(u|0,z|0,i|0,n|0)|0;n=z;j=j+7|0}while((j|0)<64&((v&128|0)!=0|0!=0));k=k-m|0;p=n}while(0);if((k|0)<(o|0)){o=m+k|0;do{k=a[o>>0]|0;j=k&255;do if(!(j&128)){m=1;j=k&255;k=0}else{v=d[o+1>>0]<<7;j=v|j&127;if(!(v&16384)){m=2;k=0;break}v=d[o+2>>0]<<14;j=v|j&16383;if(!(v&2097152)){m=3;k=0;break}v=d[o+3>>0]<<21;j=v|j&2097151;if(!(v&268435456)){m=4;k=0;break}m=28;n=o+4|0;j=j&268435455;k=0;do{v=n;n=n+1|0;v=d[v>>0]|0;u=Rt(v&127|0,0,m|0)|0;j=Ft(u|0,z|0,j|0,k|0)|0;k=z;m=m+7|0}while((m|0)<64&((v&128|0)!=0|0!=0));m=n-o|0}while(0);o=o+m|0}while(o>>>0>>0);if(!((i|0)==0&(p|0)==0|(j|0)==0&(k|0)==0)){q=e+64|0;c[q>>2]=i;c[q+4>>2]=p;q=Jt(j|0,k|0,i|0,p|0)|0;u=c[C+240>>2]|0;v=((u|0)<0)<<31>>31;q=Ft(u|0,v|0,q|0,z|0)|0;v=Jt(q|0,z|0,u|0,v|0)|0;c[t>>2]=v;do if(!r){i=c[s>>2]|0;v=s+128|0;u=c[v+4>>2]|0;if((u|0)>0|(u|0)==0&(c[v>>2]|0)>>>0>0)Rh(i,s);j=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;v=s+64|0;c[v>>2]=0;c[v+4>>2]=0;if((j|0)==3082|(a[i+73>>0]|0)!=0){Th(i);i=7;break}else{i=c[i+60>>2]&j;break}}else i=0;while(0);v=c[t>>2]|0;break}}if(!r){i=c[s>>2]|0;D=s+128|0;C=c[D+4>>2]|0;if((C|0)>0|(C|0)==0&(c[D>>2]|0)>>>0>0)Rh(i,s);D=Sh(s)|0;c[s+20>>2]=770837923;c[s+36>>2]=-1;c[s+40>>2]=0;a[s+142>>0]=2;c[s+44>>2]=0;c[s+32>>2]=1;a[s+143>>0]=-1;c[s+48>>2]=0;C=s+64|0;c[C>>2]=0;c[C+4>>2]=0;if((D|0)==3082|(a[i+73>>0]|0)!=0){Th(i);i=267}else i=267}else i=267}D=i;l=E;return D|0}else{v=i;i=0}while(0);if(!((w|0)>0&(i|0)==0)){D=i;l=E;return D|0}u=w+-1|0;t=e+28|0;r=0;q=1;s=0;while(1){if(x){i=0;k=0;do{j=g+(k*24|0)|0;do if((c[g+(k*24|0)+8>>2]|0)!=0?(c[g+(k*24|0)+12>>2]|0)==(f|0):0){if(i|0?(c[g+(k*24|0)+16>>2]|0)>=(c[i+16>>2]|0):0)break;i=j}while(0);k=k+1|0}while((k|0)!=(h|0));n=i}else n=0;p=(s|0)==0;do if(p){o=q<<2;D=90}else{e=(q|0)/4|0;if((c[n+16>>2]|0)<(O((r+-1+e|0)/(e|0)|0,v)|0)){j=(s|0)<12?q<<2:q;if(!((s|0)==(u|0)?1:(c[(c[n>>2]|0)+64>>2]|0)<2)){o=j;D=90;break}i=0;m=j;k=r;j=n+8|0;break}j=n+8|0;o=c[j>>2]|0;n=c[n+20>>2]|0;do if(!(Nc()|0)){if(!(c[2]|0)){i=jb[c[52>>2]&255](16)|0;if(!i){i=7;break}}else{i=jb[c[68>>2]&255](16)|0;if((c[11829]|0)>>>0<16)c[11829]=16;m=46456;k=c[m>>2]|0;m=c[m+4>>2]|0;if((m|0)>0|(m|0)==0&k>>>0>0){p=c[11822]|0;e=Gt(k|0,m|0,i|0,((i|0)<0)<<31>>31|0)|0;m=z;c[11616]=(0>(m|0)|0==(m|0)&p>>>0>=e>>>0)&1}i=jb[c[52>>2]&255](i)|0;if(!i){i=7;break}k=jb[c[64>>2]&255](i)|0;k=(c[11822]|0)+k|0;c[11822]=k;if(k>>>0>(c[11826]|0)>>>0)c[11826]=k;k=(c[11825]|0)+1|0;c[11825]=k;if(k>>>0>(c[11831]|0)>>>0)c[11831]=k}c[i+12>>2]=0;c[i>>2]=o;c[i+8>>2]=c[t>>2];c[i+4>>2]=n;c[t>>2]=i;c[o+16>>2]=i;i=0}else i=7;while(0);k=o+20|0;m=c[k>>2]|0;iq(m);do if(m|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{e=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}while(0);c[k>>2]=0;m=q;k=r}while(0);if((D|0)==90){D=0;j=n+8|0;i=c[j>>2]|0;c[A>>2]=0;c[B>>2]=0;i=Vq(C,i,c[n+20>>2]|0,A,B)|0;if(!i){i=Wq(C,c[n>>2]|0,c[n+4>>2]|0,c[B>>2]|0,c[A>>2]|0)|0;if(!i){k=c[n>>2]|0;i=c[k>>2]|0;k=c[k+4>>2]|0;if((i|0)!=0?(y=i+k|0,(k|0)>0):0){k=0;do{m=i;while(1){i=m+1|0;if((a[m>>0]|0)<0)m=i;else{m=0;break}}while(1){n=a[i>>0]|0;i=i+1|0;if(!(n|m<<24>>24))break;else m=n&128}k=k+1|0}while(i>>>0>>0)}else k=0;i=0;k=p|(k|0)<(r|0)?k:r}else k=r}else k=r;m=o}c[j>>2]=0;s=s+1|0;if(!((s|0)<(w|0)&(i|0)==0))break;else{r=k;q=m}}l=E;return i|0}function tr(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(!d)return;if(c[e>>2]|0)return;if((c[d>>2]|0)!=5){h=d+12|0;tr(b,c[h>>2]|0,e);f=d+16|0;tr(b,c[f>>2]|0,e);if(!(a[(c[h>>2]|0)+34>>0]|0))f=0;else f=(a[(c[f>>2]|0)+34>>0]|0)!=0&1;a[d+34>>0]=f;return}h=c[d+20>>2]|0;g=c[h+64>>2]|0;if(g|0){a:do if((g|0)>0){f=0;do{if(!(c[h+72+(f*24|0)+16>>2]|0))break a;f=f+1|0}while((f|0)<(g|0))}else f=0;while(0);a[d+34>>0]=(f|0)==(g|0)&1}c[e>>2]=ur(b,1,h)|0;return}function ur(b,e,f){b=b|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0;G=l;l=l+16|0;D=G+4|0;E=G;F=c[b>>2]|0;a:do if(((e|0)!=0?(a[b+52>>0]|0)==(a[F+235>>0]|0):0)?((c[f+64>>2]|0)+-1|0)>>>0<4:0){A=f+64|0;i=c[A>>2]|0;if((i|0)>0){e=0;h=0;do{if(c[f+72+(e*24|0)+12>>2]|0){B=A;g=i;break a}b=c[f+72+(e*24|0)+20>>2]|0;if(b){if(!(c[b+36>>2]|0)){B=A;g=i;break a}}else b=0;h=(b|0)==0?h:1;e=e+1|0}while((e|0)<(i|0));if(h){x=c[f+68>>2]|0;x=(x|0)<(c[F+24>>2]|0)?x:-1;y=F+235|0;if((i|0)>0)u=0;else{F=0;D=1;E=f+40|0;c[E>>2]=D;l=G;return F|0}b:while(1){v=c[f+72+(u*24|0)+20>>2]|0;if(v|0){h=c[f+72+(u*24|0)>>2]|0;i=c[f+72+(u*24|0)+4>>2]|0;j=c[v+4>>2]|0;w=a[y>>0]|0?209:208;b=bq(F,v,h,i)|0;if(b|0){k=b;m=1;j=69;break}if((j|0)>0){k=c[v>>2]|0;b=0;do{e=c[k+(b<<2)>>2]|0;if(!(c[e+40>>2]|0))break;s=c[e+60>>2]|0;t=Bs(c[e+64>>2]|0,h,(s|0)>(i|0)?i:s)|0;if(((t|0)==0?s-i|0:t)|0)break;b=b+1|0}while((b|0)<(j|0));s=v+8|0;c[s>>2]=b;if((b|0)>0){t=0;m=k;while(1){r=c[m+(t<<2)>>2]|0;if((a[y>>0]|0)!=0?(c[r+56>>2]|0)!=0:0){a[D>>0]=0;p=r+88|0;q=p;c[q>>2]=0;c[q+4>>2]=0;q=r+84|0;c[q>>2]=0;mq(0,c[r+72>>2]|0,c[r+76>>2]|0,r+80|0,p,q,D)}else{o=r+72|0;j=r+40|0;p=r+52|0;b=c[p>>2]|0;c:do if(b|0){m=(c[o>>2]|0)+10|0;q=r+48|0;n=r+44|0;h=c[q>>2]|0;i=b;while(1){b=c[j>>2]|0;if((m-b|0)<=(h|0))break c;e=(c[n>>2]|0)-h|0;e=(e|0)<4096?e:4096;k=So(i,b+h|0,e,h,145)|0;if(k|0){m=1;j=69;break b}b=(c[q>>2]|0)+e|0;c[q>>2]=b;b=(c[j>>2]|0)+b|0;e=b+20|0;do{a[b>>0]=0;b=b+1|0}while((b|0)<(e|0));h=c[q>>2]|0;i=c[p>>2]|0;if((h|0)==(c[n>>2]|0))break;if(!i)break c}d:do if(i|0){b=c[i+20>>2]|0;Qh(c[i+16>>2]|0)|0;do if(b|0){if(c[b+464>>2]|0){Lc(b,i);break d}e=i;if(e>>>0<(c[b+296>>2]|0)>>>0)break;if(e>>>0>=(c[b+300>>2]|0)>>>0)break;n=b+292|0;c[i>>2]=c[n>>2];c[n>>2]=i;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{n=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[p>>2]=0;c[q>>2]=0}while(0);k=c[o>>2]|0;j=r+88|0;b=a[k>>0]|0;e=b&255;do if(!(e&128)){q=j;c[q>>2]=b&255;c[q+4>>2]=0;b=1}else{q=d[k+1>>0]<<7;b=q|e&127;if(!(q&16384)){q=j;c[q>>2]=b;c[q+4>>2]=0;b=2;break}q=d[k+2>>0]<<14;b=q|b&16383;if(!(q&2097152)){q=j;c[q>>2]=b;c[q+4>>2]=0;b=3;break}q=d[k+3>>0]<<21;b=q|b&2097151;if(!(q&268435456)){q=j;c[q>>2]=b;c[q+4>>2]=0;b=4;break}h=28;i=k+4|0;b=b&268435455;e=0;do{q=i;i=i+1|0;q=d[q>>0]|0;p=Rt(q&127|0,0,h|0)|0;b=Ft(p|0,z|0,b|0,e|0)|0;e=z;h=h+7|0}while((h|0)<64&((q&128|0)!=0|0!=0));q=j;c[q>>2]=b;c[q+4>>2]=e;b=i-k|0}while(0);c[r+80>>2]=k+b}b=t+1|0;m=c[v>>2]|0;if((b|0)>=(c[s>>2]|0))break;else t=b}if((t|0)>0){h=t;do{i=h;h=h+-1|0;e:do if((i|0)<=(t|0)){b=h;k=c[m+(h<<2)>>2]|0;do{e=b;b=b+1|0;j=m+(b<<2)|0;if((kb[w&255](k,c[j>>2]|0)|0)<0)break e;s=m+(e<<2)|0;r=c[j>>2]|0;k=c[s>>2]|0;c[j>>2]=k;c[s>>2]=r}while((b|0)<(t|0))}while(0)}while((i|0)>1)}}}else c[v+8>>2]=0;c[v+24>>2]=x}u=u+1|0;if((u|0)>=(c[A>>2]|0)){k=0;m=1;j=69;break}}if((j|0)==69){F=f+40|0;c[F>>2]=m;l=G;return k|0}}else{B=A;g=i}}else{B=A;g=i}}else j=4;while(0);if((j|0)==4){g=f+64|0;B=g;g=c[g>>2]|0}e=f+68|0;if((g|0)>0)b=0;else{F=0;D=0;E=f+40|0;c[E>>2]=D;l=G;return F|0}while(1){if(c[f+72+(b*24|0)+20>>2]|0){c[D>>2]=0;c[E>>2]=0;C=Vq(F,f+72+(b*24|0)|0,c[e>>2]|0,D,E)|0;if(C|0){j=66;break}g=Wq(F,f,b,c[E>>2]|0,c[D>>2]|0)|0;if(g|0){k=g;m=0;j=69;break}g=c[B>>2]|0}b=b+1|0;if((b|0)>=(g|0)){k=0;m=0;j=69;break}}if((j|0)==66){F=C;D=0;E=f+40|0;c[E>>2]=D;l=G;return F|0}else if((j|0)==69){F=f+40|0;c[F>>2]=m;l=G;return k|0}return 0}function vr(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0;Ia=l;l=l+320|0;Ea=Ia+296|0;Da=Ia+288|0;Ca=Ia+280|0;Ba=Ia+272|0;za=Ia+264|0;xa=Ia+256|0;wa=Ia+248|0;va=Ia+240|0;ua=Ia+232|0;ta=Ia+216|0;sa=Ia+200|0;ra=Ia+192|0;qa=Ia+176|0;pa=Ia+168|0;oa=Ia+160|0;na=Ia+152|0;Aa=Ia+144|0;ma=Ia+128|0;ha=Ia+120|0;ga=Ia+112|0;fa=Ia+104|0;ka=Ia+96|0;ja=Ia+80|0;ia=Ia+72|0;ea=Ia+64|0;da=Ia+56|0;W=Ia+48|0;R=Ia+40|0;O=Ia+32|0;Q=Ia+24|0;P=Ia+16|0;N=Ia+8|0;M=Ia;la=Ia+316|0;Ha=Ia+312|0;Ga=Ia+308|0;c[Ha>>2]=0;ya=(a[(c[j>>2]|0)+3>>0]|0)==52;c[Ga>>2]=0;_=j+4|0;X=As(c[_>>2]|0)|0;$=X+1|0;Y=j+8|0;Z=(As(c[Y>>2]|0)|0)+1|0;p=(i<<2)+-8|0;o=Fd(p)|0;if((o|0)!=0?(Vt(o|0,0,p|0)|0,n=Fd(p)|0,(n|0)!=0):0){Vt(n|0,0,p|0)|0;a:do if((i|0)>3){x=3;z=0;w=0;u=0;t=0;s=0;r=0;v=0;I=0;y=0;q=0;p=0;while(1){H=c[j+(x<<2)>>2]|0;do if((p|0)==0?!((H|0)==0|(As(H)|0)>>>0<9):0){p=a[H>>0]|0;b:do if(!(p<<24>>24)){p=43094;Fa=8}else{J=p&255;p=17324+J|0;do if((J|32|0)==116){p=a[H+1>>0]|0;if(!(p<<24>>24)){p=43095;Fa=8;break b}J=p&255;p=17324+J|0;if((J|32|0)==111){p=a[H+2>>0]|0;if(!(p<<24>>24)){p=43096;Fa=8;break b}J=p&255;p=17324+J|0;if((J|32|0)==107){p=a[H+3>>0]|0;if(!(p<<24>>24)){p=43097;Fa=8;break b}J=p&255;p=17324+J|0;if((J|32|0)==101){p=a[H+4>>0]|0;if(!(p<<24>>24)){p=43098;Fa=8;break b}p=p&255;if((p|32|0)!=110){A=110;p=17324+p|0;break}p=a[H+5>>0]|0;if(!(p<<24>>24)){p=43099;Fa=8;break b}p=p&255;if((p|32|0)!=105){A=105;p=17324+p|0;break}p=a[H+6>>0]|0;if(!(p<<24>>24)){p=43100;Fa=8;break b}p=p&255;if((p|32|0)!=122){A=122;p=17324+p|0;break}p=a[H+7>>0]|0;if(!(p<<24>>24)){p=43101;Fa=8;break b}p=p&255;if((p|32|0)==101)break b;else{A=101;p=17324+p|0}}else A=101}else A=107}else A=111}else A=116;while(0);L=a[p>>0]|0;K=A;Fa=12}while(0);if((Fa|0)==8){L=0;K=a[17324+(d[p>>0]|0)>>0]|0;Fa=12}if((Fa|0)==12?(Fa=0,L<<24>>24!=K<<24>>24):0){Fa=16;break}J=a[H+8>>0]|0;if((J&128|0)==0?(a[43103+J>>0]|0)==0:0){c[Ha>>2]=wr(h,H+9|0,Ga,m)|0;F=z}else Fa=16}else Fa=16;while(0);c:do if((Fa|0)==16){Fa=0;d:do if(ya){p=H;e:while(1){switch(a[p>>0]|0){case 0:break d;case 61:break e;default:{}}p=p+1|0}G=p-H|0;c[M>>2]=p+1;J=xd(17859,M)|0;if(!J){c[Ha>>2]=7;F=z;break c}p=a[J>>0]|0;switch(p<<24>>24){case 34:case 39:case 91:case 96:{D=p<<24>>24==91?93:p;A=a[J+1>>0]|0;f:do if(!(A<<24>>24))p=0;else{B=1;p=0;do{C=B+1|0;if(A<<24>>24==D<<24>>24){if((a[J+C>>0]|0)!=D<<24>>24)break f;a[J+p>>0]=D;B=B+2|0}else{a[J+p>>0]=A;B=C}p=p+1|0;A=a[J+B>>0]|0}while(A<<24>>24!=0)}while(0);a[J+p>>0]=0;break}default:{}}F=J;g:do if(!H)Fa=84;else{p=0;h:do{if((G|0)==(c[7016+(p<<3)+4>>2]|0)){C=H;E=c[7016+(p<<3)>>2]|0;D=G;while(1){A=a[C>>0]|0;if(!(A<<24>>24)){Fa=33;break}B=a[17324+(A&255)>>0]|0;A=a[17324+(d[E>>0]|0)>>0]|0;if(B<<24>>24!=A<<24>>24)break;if((D|0)>1){C=C+1|0;E=E+1|0;D=D+-1|0}else break h}if((Fa|0)==33){Fa=0;B=0;A=a[17324+(d[E>>0]|0)>>0]|0}if(B<<24>>24==A<<24>>24)break}p=p+1|0}while((p|0)<8);switch(p|0){case 0:{if((As(J)|0)==4){p=a[J>>0]|0;i:do if(!(p<<24>>24)){p=39618;Fa=41}else{H=p&255;p=17324+H|0;do if((H|32|0)==102){p=a[J+1>>0]|0;if(!(p<<24>>24)){p=39619;Fa=41;break i}p=p&255;if((p|32|0)!=116){A=116;p=17324+p|0;break}p=a[J+2>>0]|0;if(!(p<<24>>24)){p=39620;Fa=41;break i}p=p&255;if((p|32|0)!=115){A=115;p=17324+p|0;break}p=a[J+3>>0]|0;if(!(p<<24>>24)){p=39621;Fa=41;break i}if(p<<24>>24==51){z=1;p=I;break g}else{A=51;p=17324+(p&255)|0}}else A=102;while(0);z=a[p>>0]|0;p=A}while(0);if((Fa|0)==41){Fa=0;z=0;p=a[17324+(d[p>>0]|0)>>0]|0}if(z<<24>>24==p<<24>>24){z=1;p=I;break g}}c[N>>2]=J;Bp(m,43231,N);c[Ha>>2]=1;z=1;p=I;break g}case 1:{if(!v){F=z;v=J;break c}if(!(c[2]|0)){pb[c[56>>2]&255](v);F=z;v=J;break c}else{F=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);F=z;v=J;break c}}case 2:{if(!r){F=z;r=J;break c}if(!(c[2]|0)){pb[c[56>>2]&255](r);F=z;r=J;break c}else{F=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);F=z;r=J;break c}}case 3:{if(!s){F=z;s=J;break c}if(!(c[2]|0)){pb[c[56>>2]&255](s);F=z;s=J;break c}else{F=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);F=z;s=J;break c}}case 4:{j:do if((As(J)|0)==3){C=a[J>>0]|0;k:do if(!(C<<24>>24)){p=43258;Fa=61}else{I=C&255;p=17324+I|0;do if((I|32|0)==97){p=a[J+1>>0]|0;if(!(p<<24>>24)){p=43259;Fa=61;break k}p=p&255;if((p|32|0)!=115){B=115;p=17324+p|0;break}p=a[J+2>>0]|0;if(!(p<<24>>24)){p=43260;Fa=61;break k}p=p&255;if((p|32|0)==99){p=C;break j}else{B=99;p=17324+p|0}}else B=97;while(0);A=a[p>>0]|0;p=B}while(0);if((Fa|0)==61){Fa=0;A=0;p=a[17324+(d[p>>0]|0)>>0]|0}if(A<<24>>24==p<<24>>24)p=C;else Fa=66}else Fa=66;while(0);l:do if((Fa|0)==66){Fa=0;if((As(J)|0)==4){C=a[J>>0]|0;m:do if(!(C<<24>>24)){p=30694;Fa=68}else{I=C&255;p=17324+I|0;do if((I|32|0)==100){p=a[J+1>>0]|0;if(!(p<<24>>24)){p=30695;Fa=68;break m}p=p&255;if((p|32|0)!=101){B=101;p=17324+p|0;break}p=a[J+2>>0]|0;if(!(p<<24>>24)){p=30696;Fa=68;break m}p=p&255;if((p|32|0)!=115){B=115;p=17324+p|0;break}p=a[J+3>>0]|0;if(!(p<<24>>24)){p=30697;Fa=68;break m}p=p&255;if((p|32|0)==99){p=C;break l}else{B=99;p=17324+p|0}}else B=100;while(0);A=a[p>>0]|0;p=B}while(0);if((Fa|0)==68){Fa=0;A=0;p=a[17324+(d[p>>0]|0)>>0]|0}if(A<<24>>24==p<<24>>24){p=C;break}}c[P>>2]=J;Bp(m,43262,P);c[Ha>>2]=1;p=a[J>>0]|0}while(0);p=(p|32)<<24>>24==100&1;break g}case 5:{if(!t){F=z;t=J;break c}if(!(c[2]|0)){pb[c[56>>2]&255](t);F=z;t=J;break c}else{F=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);F=z;t=J;break c}}case 6:{if(!u){F=z;u=J;break c}if(!(c[2]|0)){pb[c[56>>2]&255](u);F=z;u=J;break c}else{F=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u);F=z;u=J;break c}}case 7:{c[n+(w<<2)>>2]=F;F=z;w=w+1|0;break c}default:{Fa=84;break g}}}while(0);if((Fa|0)==84){Fa=0;c[Q>>2]=H;Bp(m,43285,Q);c[Ha>>2]=1;p=I}if(!J){F=z;I=p;break c}if(!(c[2]|0)){pb[c[56>>2]&255](J);F=z;I=p;break c}else{F=jb[c[64>>2]&255](J)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](J);F=z;I=p;break c}}while(0);q=q+1+(As(H)|0)|0;c[o+(y<<2)>>2]=H;y=y+1|0;F=z}while(0);x=x+1|0;p=c[Ha>>2]|0;z=(p|0)==0;if(!((x|0)<(i|0)&z))break;z=F;p=c[Ga>>2]|0}n:do if((t|0)!=0&z){do if(r|0)if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{Q=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-Q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}while(0);do if(s|0)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{Q=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-Q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);if(y|0){x=o;s=0;r=0;p=c[Ha>>2]|0;Fa=153;break}if(!(c[2]|0))pb[c[56>>2]&255](o);else{Q=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o)}p=c[_>>2]|0;c[la>>2]=0;c[O>>2]=p;c[O+4>>2]=t;p=xd(43312,O)|0;if(p){o=si(g,p,-1,0,0,la,0)|0;q=(o|0)==0;if(!q){c[R>>2]=gl(g)|0;Bp(m,17859,R)}if(!(c[2]|0))pb[c[56>>2]&255](p);else{R=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p)}if(q){D=c[la>>2]|0;B=(D|0)==0;o:do if(!B?(T=D+140|0,S=b[T>>1]|0,U=S&65535,S<<16>>16!=0):0){y=D+100|0;x=0;p=0;o=S;while(1){s=c[D>>2]|0;do if((o&65535)>>>0>p>>>0){o=c[y>>2]|0;q=o+(p*40|0)|0;p:do if(!q)o=0;else{r=e[o+(p*40|0)+8>>1]|0;do if((r&514|0)==514){if((a[o+(p*40|0)+10>>0]|0)!=1)break;o=c[o+(p*40|0)+16>>2]|0;break p}while(0);if(r&1|0){o=0;break}o=Jc(q,1)|0}while(0);q=s+73|0;if(!(a[q>>0]|0))break;if(c[s+172>>2]|0){o=0;break}a[q>>0]=0;c[s+256>>2]=0;o=s+264|0;c[o>>2]=(c[o>>2]|0)+-1;o=0}else o=0;while(0);o=x+1+(As(o)|0)|0;p=p+1|0;if((p|0)==(U|0)){C=o;y=U;p=0;break o}x=o;o=b[T>>1]|0}}else{C=0;y=0;p=1}while(0);E=Fd(C+(y<<2)|0)|0;o=(E|0)==0;q:do if(p|o)p=o?7:0;else{o=E+(y<<2)|0;z=D+140|0;A=D+100|0;if(B){p=0;while(1){q=(As(0)|0)+1|0;Tt(o|0,0,q|0)|0;c[E+(p<<2)>>2]=o;p=p+1|0;if((p|0)>=(y|0)){p=0;break q}else o=o+q|0}}else x=0;while(1){s=c[D>>2]|0;do if((e[z>>1]|0)>>>0>x>>>0){p=c[A>>2]|0;q=p+(x*40|0)|0;r:do if(!q)p=0;else{r=e[p+(x*40|0)+8>>1]|0;do if((r&514|0)==514){if((a[p+(x*40|0)+10>>0]|0)!=1)break;p=c[p+(x*40|0)+16>>2]|0;break r}while(0);if(r&1|0){p=0;break}p=Jc(q,1)|0}while(0);q=s+73|0;if(!(a[q>>0]|0))break;if(c[s+172>>2]|0){p=0;break}a[q>>0]=0;c[s+256>>2]=0;p=s+264|0;c[p>>2]=(c[p>>2]|0)+-1;p=0}else p=0;while(0);q=(As(p)|0)+1|0;Tt(o|0,p|0,q|0)|0;c[E+(x<<2)>>2]=o;x=x+1|0;if((x|0)>=(y|0)){p=0;break}else o=o+q|0}}while(0);Qh(D)|0;c[Ha>>2]=p;if(!((u|0)!=0&(p|0)==0)){x=E;q=C;s=0;r=0;o=E;Fa=153;break}if(!y){p=F;q=I;x=E;s=0;r=0;o=E;Fa=155;break a}else o=0;while(1){q=c[E+(o<<2)>>2]|0;if(q|0){U=a[u>>0]|0;p=(d[17324+(U&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0;if(!(U<<24>>24==0|(p|0)!=0)){r=u;do{r=r+1|0;q=q+1|0;U=a[r>>0]|0;p=(d[17324+(U&255)>>0]|0)-(d[17324+(d[q>>0]|0)>>0]|0)|0}while(!(U<<24>>24==0|(p|0)!=0))}if(!p)break}o=o+1|0;if((o|0)>=(y|0)){x=E;q=C;s=0;r=0;o=E;break n}}if((o|0)<(y|0))do{U=o;o=o+1|0;c[E+(U<<2)>>2]=c[E+(o<<2)>>2]}while((o|0)!=(y|0));x=E;y=y+-1|0;q=C;s=0;r=0;o=E;break}}else o=7;c[Ha>>2]=o;p=0;s=0;r=0;o=0;q=0;break a}else{x=o;Fa=153}while(0);if((Fa|0)==153)if(p){p=0;q=0;break}if(!y){p=F;q=I;Fa=155}else{D=F;C=I;E=x;I=y;B=q;Fa=156}}else{p=0;w=0;u=0;t=0;v=0;q=0;x=o;s=0;r=0;Fa=155}while(0);if((Fa|0)==155){c[x>>2]=43332;D=p;C=q;E=x;I=1;B=8;Fa=156}do if((Fa|0)==156){if((c[Ga>>2]|0)==0?(h=wr(h,39553,Ga,m)|0,c[Ha>>2]=h,h|0):0){p=0;q=0;break}y=(v|0)!=0;s:do if(y?(V=a[v>>0]|0,V<<24>>24!=0):0){x=v;p=2;q=V;while(1){switch(q<<24>>24){case 0:break s;case 44:{p=p+1|0;break}default:{}}q=x+1|0;x=q;q=a[q>>0]|0}}else p=1;while(0);q=p*24|0;O=Fd(q)|0;t:do if(O){Vt(O|0,0,q|0)|0;if(y&(p|0)>1){A=v;q=1;while(1){y=a[A>>0]|0;if((y+-48&255)<10){z=A;x=0}else break;do{x=(y<<24>>24)+-48+(x*10|0)|0;if((x|0)>1e7){x=0;break}z=z+1|0;y=a[z>>0]|0}while((y+-48&255)<10);if((z|0)==(A|0))break;if(!x){q=q+-1|0;p=p+-1|0}else c[O+(q*24|0)>>2]=x;q=q+1|0;if((q|0)>=(p|0)){q=0;Fa=173;break t}else A=z+1|0}c[Ha>>2]=1;c[W>>2]=v;Bp(m,43340,W);y=0;p=c[Ha>>2]|0}else{q=0;Fa=173}}else{p=0;q=7;Fa=173}while(0);if((Fa|0)==173){c[Ha>>2]=q;y=p;p=q}if(!p){x=y*24|0;q=X+289+Z+B+I+(I<<2)+x|0;p=Fd(q)|0;if(!p){c[Ha>>2]=7;q=O;break}Vt(p|0,0,q|0)|0;N=p+12|0;c[N>>2]=g;j=p+24|0;c[j>>2]=I;c[p+264>>2]=0;q=p+288|0;M=p+28|0;c[M>>2]=q;c[p+36>>2]=c[Ga>>2];c[p+260>>2]=1048576;J=p+234|0;a[J>>0]=ya&(D|0)==0&1;H=ya&1;L=p+233|0;a[L>>0]=H;a[p+232>>0]=H;a[p+235>>0]=C;c[p+48>>2]=255;H=p+40|0;c[H>>2]=t;i=p+44|0;c[i>>2]=u;q=q+(I<<2)|0;u=p+256|0;c[u>>2]=q;Tt(q|0,O|0,x|0)|0;c[p+252>>2]=y;q=c[u>>2]|0;if((y|0)>0){t=0;do{a[q+(t*24|0)+4>>0]=1;a[q+(t*24|0)+5>>0]=1;q=q+(t*24|0)+8|0;c[q>>2]=0;c[q+4>>2]=0;c[q+8>>2]=0;c[q+12>>2]=0;t=t+1|0;q=c[u>>2]|0}while((t|0)!=(y|0))}q=q+(y*24|0)|0;F=p+32|0;c[F>>2]=q;q=q+I|0;K=p+20|0;c[K>>2]=q;Tt(q|0,c[Y>>2]|0,Z|0)|0;q=q+Z|0;G=p+16|0;c[G>>2]=q;Tt(q|0,c[_>>2]|0,$|0)|0;B=(I|0)>0;if(B){A=0;z=q+$|0;while(1){c[la>>2]=0;t=xr(c[E+(A<<2)>>2]|0,la)|0;q=c[la>>2]|0;if((q|0)>0){Tt(z|0,t|0,q|0)|0;q=c[la>>2]|0}a[z+q>>0]=0;q=a[z>>0]|0;switch(q<<24>>24){case 34:case 39:case 91:case 96:{y=q<<24>>24==91?93:q;t=a[z+1>>0]|0;u:do if(!(t<<24>>24))q=0;else{u=1;q=0;do{x=u+1|0;if(t<<24>>24==y<<24>>24){if((a[z+x>>0]|0)!=y<<24>>24)break u;a[z+q>>0]=y;u=u+2|0}else{a[z+q>>0]=t;u=x}q=q+1|0;t=a[z+u>>0]|0}while(t<<24>>24!=0)}while(0);a[z+q>>0]=0;break}default:{}}c[(c[M>>2]|0)+(A<<2)>>2]=z;A=A+1|0;if((A|0)>=(I|0))break;else z=z+((c[la>>2]|0)+1)|0}if(B){D=(w|0)>0;C=0;do{E=As(c[(c[M>>2]|0)+(C<<2)>>2]|0)|0;v:do if(D){if((E|0)>0)z=0;else{q=0;while(1){t=n+(q<<2)|0;u=c[t>>2]|0;do if(u|0){if((E|0)!=(As(u)|0))break;if(!(c[(c[M>>2]|0)+(C<<2)>>2]|0))break;a[(c[F>>2]|0)+C>>0]=1;if(!(c[2]|0))pb[c[56>>2]&255](u);else{$=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u)}c[t>>2]=0}while(0);q=q+1|0;if((q|0)==(w|0))break v}}do{A=n+(z<<2)|0;B=c[A>>2]|0;do if(B|0){if((E|0)!=(As(B)|0))break;q=c[(c[M>>2]|0)+(C<<2)>>2]|0;if(!q)break;else{x=B;y=E}while(1){t=a[q>>0]|0;if(!(t<<24>>24)){Fa=204;break}t=a[17324+(t&255)>>0]|0;u=a[17324+(d[x>>0]|0)>>0]|0;if(t<<24>>24!=u<<24>>24){aa=t;ba=u;Fa=205;break}if((y|0)>1){q=q+1|0;x=x+1|0;y=y+-1|0}else break}if((Fa|0)==204){aa=0;ba=a[17324+(d[x>>0]|0)>>0]|0;Fa=205}if((Fa|0)==205?(Fa=0,aa<<24>>24!=ba<<24>>24):0)break;a[(c[F>>2]|0)+C>>0]=1;if(!(c[2]|0))pb[c[56>>2]&255](B);else{$=jb[c[64>>2]&255](B)|0;c[11822]=(c[11822]|0)-$;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](B)}c[A>>2]=0}while(0);z=z+1|0}while((z|0)!=(w|0))}while(0);C=C+1|0}while((C|0)<(I|0))}}if((w|0)>0){q=0;do{t=c[n+(q<<2)>>2]|0;if(t|0){c[da>>2]=t;Bp(m,33488,da);c[Ha>>2]=1}q=q+1|0}while((q|0)!=(w|0))}if((c[Ha>>2]|0)==0?(ca=(r|0)==0,ca^(s|0)==0):0){c[Ha>>2]=1;c[ea>>2]=ca?43375:43384;Bp(m,43395,ea)}c[la>>2]=0;do if(!(c[H>>2]|0)){if(s){z=Fd(((As(s)|0)<<1)+3|0)|0;if(!z){u=0;t=0}else{a[z>>0]=34;y=0;u=z;w:while(1){t=u+1|0;x=s+y|0;q=a[x>>0]|0;switch(q<<24>>24){case 0:break w;case 34:{a[t>>0]=34;t=u+2|0;q=a[x>>0]|0;break}default:{}}a[t>>0]=q;y=y+1|0;u=t}a[t>>0]=34;a[u+2>>0]=0;u=z;t=z}}else{u=47328;t=0;s=0}yr(Ha,la,43436,ia);if((c[j>>2]|0)>0){q=0;do{ia=c[(c[M>>2]|0)+(q<<2)>>2]|0;c[ja>>2]=u;c[ja+4>>2]=q;c[ja+8>>2]=ia;yr(Ha,la,43442,ja);q=q+1|0}while((q|0)<(c[j>>2]|0))}if(c[i>>2]|0){c[ka>>2]=43464;yr(Ha,la,43457,ka)}if(t)if(!(c[2]|0)){pb[c[56>>2]&255](t);z=s;break}else{z=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-z;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);z=s;break}else z=s}else{yr(Ha,la,24823,fa);if((c[j>>2]|0)>0){q=0;do{c[ga>>2]=c[(c[M>>2]|0)+(q<<2)>>2];yr(Ha,la,43471,ga);q=q+1|0}while((q|0)<(c[j>>2]|0))}q=c[i>>2]|0;if(!q)z=s;else{c[ha>>2]=q;yr(Ha,la,43457,ha);z=s}}while(0);q=c[H>>2]|0;s=(q|0)!=0;if(!s)q=c[K>>2]|0;c[ma>>2]=c[G>>2];c[ma+4>>2]=q;c[ma+8>>2]=s?47328:43480;yr(Ha,la,43489,ma);c[p+220>>2]=c[la>>2];c[ma>>2]=0;if(r){y=Fd(((As(r)|0)<<1)+3|0)|0;if(!y){t=0;s=0}else{a[y>>0]=34;x=0;t=y;x:while(1){s=t+1|0;u=r+x|0;q=a[u>>0]|0;switch(q<<24>>24){case 0:break x;case 34:{a[s>>0]=34;s=t+2|0;q=a[u>>0]|0;break}default:{}}a[s>>0]=q;x=x+1|0;t=s}a[s>>0]=34;a[t+2>>0]=0;t=y;s=y}}else{t=47328;s=0;r=0}yr(Ha,ma,30146,Aa);if((c[j>>2]|0)>0){q=0;do{c[na>>2]=t;yr(Ha,ma,43512,na);q=q+1|0}while((q|0)<(c[j>>2]|0))}if(c[i>>2]|0)yr(Ha,ma,43519,oa);do if(s|0)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{oa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-oa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);c[p+224>>2]=c[ma>>2];if(c[Ha>>2]|0){u=0;t=0;s=z;q=O;break}x=(f|0)!=0;if(x){c[Aa>>2]=0;u=c[N>>2]|0;y:do if(!(c[H>>2]|0)){t=c[i>>2]|0;q=xd(43523,pa)|0;z:do if(q|0){s=0;while(1){if((s|0)>=(c[j>>2]|0))break;pa=c[(c[M>>2]|0)+(s<<2)>>2]|0;c[qa>>2]=q;c[qa+4>>2]=s;c[qa+8>>2]=pa;q=xd(43549,qa)|0;if(!q)break z;else s=s+1|0}if(t){c[ra>>2]=q;c[ra+4>>2]=t;q=xd(43561,ra)|0;if(!q)break}sa=c[K>>2]|0;c[ta>>2]=c[G>>2];c[ta+4>>2]=sa;c[ta+8>>2]=q;_p(Aa,u,43572,ta);if(!(c[2]|0)){pb[c[56>>2]&255](q);break y}else{ta=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-ta;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break y}}while(0);c[Aa>>2]=7;ta=c[K>>2]|0;c[sa>>2]=c[G>>2];c[sa+4>>2]=ta;c[sa+8>>2]=0;_p(Aa,u,43572,sa)}while(0);ta=c[K>>2]|0;c[ua>>2]=c[G>>2];c[ua+4>>2]=ta;_p(Aa,u,43605,ua);ua=c[K>>2]|0;c[va>>2]=c[G>>2];c[va+4>>2]=ua;_p(Aa,u,43677,va);if(a[J>>0]|0){va=c[K>>2]|0;c[wa>>2]=c[G>>2];c[wa+4>>2]=va;_p(Aa,u,43830,wa)}do if(!(a[L>>0]|0))q=c[Aa>>2]|0;else{q=c[N>>2]|0;wa=c[K>>2]|0;c[xa>>2]=c[G>>2];c[xa+4>>2]=wa;_p(Aa,q,42175,xa);q=c[Aa>>2]|0;if(q|0)break;a[L>>0]=1;q=0}while(0);c[Ha>>2]=q}else q=0;if(!(x|ya))a[L>>0]=2;if(q|0){c[p+228>>2]=(c[p+240>>2]|0)+-35;u=0;t=0;s=z;q=O;break}c[za>>2]=c[G>>2];s=xd(43898,za)|0;do if(s){q=si(c[N>>2]|0,s,-1,0,0,Aa,0)|0;switch(q|0){case 0:{q=c[Aa>>2]|0;qi(q)|0;c[p+240>>2]=Co(q,0)|0;q=Qh(q)|0;break}case 23:{c[p+240>>2]=1024;q=0;break}default:{}}if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{Aa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-Aa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else q=7;while(0);c[Ha>>2]=q;c[p+228>>2]=(c[p+240>>2]|0)+-35;if(q|0){u=0;t=0;s=z;q=O;break}u=c[i>>2]|0;u=(u|0)==0?43918:u;q=c[N>>2]|0;c[Ba>>2]=1;Wo(q,1,Ba)|0;c[Ca>>2]=c[c[M>>2]>>2];q=xd(43927,Ca)|0;A:do if(!q){t=0;q=0}else{s=1;while(1){if((s|0)>=(c[j>>2]|0)){t=q;q=1;break A}Ca=c[(c[M>>2]|0)+(s<<2)>>2]|0;c[Da>>2]=q;c[Da+4>>2]=Ca;q=xd(43932,Da)|0;if(!q){t=0;q=0;break}else s=s+1|0}}while(0);s=c[K>>2]|0;c[Ea>>2]=t;c[Ea+4>>2]=s;c[Ea+8>>2]=u;s=xd(43939,Ea)|0;if(!(q&(s|0)!=0))if(!s)q=7;else{q=7;Fa=300}else{q=ul(c[N>>2]|0,s)|0;Fa=300}do if((Fa|0)==300)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{Fa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);do if(t|0)if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{Fa=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}while(0);c[Ha>>2]=q;u=0;t=0;s=z;q=O}else{p=0;q=O}}while(0);do if(v|0)if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{Fa=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}while(0);do if(q|0)if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{Fa=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}while(0);do if(r|0)if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{Fa=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}while(0);do if(s|0)if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{Fa=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}while(0);do if(t|0)if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{Fa=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}while(0);do if(u|0)if(!(c[2]|0)){pb[c[56>>2]&255](u);break}else{Fa=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u);break}while(0);if((w|0)>0){q=0;do{r=c[n+(q<<2)>>2]|0;do if(r|0)if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{Fa=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}while(0);q=q+1|0}while((q|0)!=(w|0))}}else{c[Ha>>2]=7;p=0;n=0}do if(o|0)if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{Fa=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}while(0);do if(n|0)if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{Fa=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-Fa;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}while(0);if(!(c[Ha>>2]|0)){c[k>>2]=p;Ha=c[Ha>>2]|0;l=Ia;return Ha|0}if(p|0){Fp(p)|0;Ha=c[Ha>>2]|0;l=Ia;return Ha|0}n=c[Ga>>2]|0;if(!n){Ha=c[Ha>>2]|0;l=Ia;return Ha|0}jb[c[(c[n>>2]|0)+8>>2]&255](n)|0;Ha=c[Ha>>2]|0;l=Ia;return Ha|0}function wr(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0;z=l;l=l+32|0;x=z+16|0;t=z+8|0;w=z;v=z+20|0;c[v>>2]=0;c[w>>2]=d;w=xd(17859,w)|0;if(!w){y=7;l=z;return y|0}u=w+(As(w)|0)|0;q=xr(w,v)|0;q=(q|0)==0?w:q;r=c[v>>2]|0;a[q+r>>0]=0;d=a[q>>0]|0;switch(d<<24>>24){case 34:case 39:case 91:case 96:{k=d<<24>>24==91?93:d;h=a[q+1>>0]|0;a:do if(!(h<<24>>24))d=0;else{i=1;d=0;do{j=i+1|0;if(h<<24>>24==k<<24>>24){if((a[q+j>>0]|0)!=k<<24>>24)break a;a[q+d>>0]=k;i=i+2|0}else{a[q+d>>0]=h;i=j}d=d+1|0;h=a[q+i>>0]|0}while(h<<24>>24!=0)}while(0);a[q+d>>0]=0;break}default:{}}h=(As(q)|0)+1|0;b:do if((((b|0)!=0?(m=b+16|0,(c[m>>2]|0)!=0):0)?(n=kb[(a[b>>0]<<24>>24==1?206:205)&255](q,h)|0,n=(c[b+12>>2]|0)+-1&n,o=c[m>>2]|0,(o|0)!=0):0)?(p=c[o+(n<<3)>>2]|0,s=(a[b>>0]|0)==1?144:143,g=c[o+(n<<3)+4>>2]|0,(p|0)!=0&(g|0)!=0):0){d=p;while(1){d=d+-1|0;if(!(mb[s&255](c[g+12>>2]|0,c[g+16>>2]|0,q,h)|0))break;g=c[g>>2]|0;if(!((d|0)!=0&(g|0)!=0)){y=18;break b}}o=c[g+8>>2]|0;if(o){d=q+(r+1)|0;c:do if(d>>>0>>0){h=0;g=0;i=d;d=0;while(1){b=xr(i,v)|0;if(!b)break c;m=h+1|0;g=m<<2;if(Nc()|0)break;n=Oc(d,(g|0)>0?g:0,0)|0;if(!n)break;c[n+(h<<2)>>2]=b;k=c[v>>2]|0;a[b+k>>0]=0;g=a[b>>0]|0;switch(g<<24>>24){case 34:case 39:case 91:case 96:{j=g<<24>>24==91?93:g;d=a[b+1>>0]|0;d:do if(!(d<<24>>24))g=0;else{h=1;g=0;do{i=h+1|0;if(d<<24>>24==j<<24>>24){if((a[b+i>>0]|0)!=j<<24>>24)break d;a[b+g>>0]=j;h=h+2|0}else{a[b+g>>0]=d;h=i}g=g+1|0;d=a[b+h>>0]|0}while(d<<24>>24!=0)}while(0);a[b+g>>0]=0;break}default:{}}i=b+(k+1)|0;if(i>>>0>=u>>>0){h=m;g=n;d=n;break c}else{h=m;g=n;d=n}}if(!(c[2]|0))pb[c[56>>2]&255](w);else{y=jb[c[64>>2]&255](w)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](w)}if(!d){y=7;l=z;return y|0}if(!(c[2]|0)){pb[c[56>>2]&255](d);y=7;l=z;return y|0}else{y=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);y=7;l=z;return y|0}}else{h=0;g=0;d=0}while(0);g=lb[c[o+4>>2]&255](h,g,e)|0;if(!g)c[c[e>>2]>>2]=o;else Bp(f,44022,x);if(d)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{x=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}else y=18}else y=18;while(0);if((y|0)==18){c[t>>2]=q;Bp(f,39692,t);g=1}if(!(c[2]|0)){pb[c[56>>2]&255](w);y=g;l=z;return y|0}else{y=jb[c[64>>2]&255](w)|0;c[11822]=(c[11822]|0)-y;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](w);y=g;l=z;return y|0}return 0}function xr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;a:while(1){i=a[b>>0]|0;f=i<<24>>24;g=43103+f|0;e=b+1|0;switch(f|0){case 39:{f=4;break a}case 34:{f=3;break a}case 91:{g=b;f=15;break a}case 96:{f=11;break a}case 0:{b=0;f=23;break a}default:{}}if(f&128|0){f=19;break}if(!(a[g>>0]|0))b=e;else{f=19;break}}b:do if((f|0)==3){f=a[e>>0]|0;if(f<<24>>24){h=b;while(1){if(f<<24>>24==i<<24>>24){e=h+2|0;if((a[e>>0]|0)!=i<<24>>24)break b}g=e+1|0;f=a[g>>0]|0;if(!(f<<24>>24)){e=g;break}else{h=e;e=g}}}}else if((f|0)==4){f=a[e>>0]|0;if(f<<24>>24){h=b;while(1){if(f<<24>>24==i<<24>>24){e=h+2|0;if((a[e>>0]|0)!=i<<24>>24)break b}g=e+1|0;f=a[g>>0]|0;if(!(f<<24>>24)){e=g;break}else{h=e;e=g}}}}else if((f|0)==11){f=a[e>>0]|0;if(f<<24>>24){h=b;while(1){if(f<<24>>24==i<<24>>24){e=h+2|0;if((a[e>>0]|0)!=i<<24>>24)break b}g=e+1|0;f=a[g>>0]|0;if(!(f<<24>>24)){e=g;break}else{h=e;e=g}}}}else if((f|0)==15){while(1){e=g+1|0;i=a[e>>0]|0;f=i<<24>>24==0;if(i<<24>>24!=93&(f^1)){g=e;f=15}else break}e=f?e:g+2|0}else if((f|0)==19)while(1){i=a[e>>0]|0;if((i&128|0)==0?(a[43103+i>>0]|0)==0:0)break b;e=e+1|0;f=19}else if((f|0)==23)return b|0;while(0);c[d>>2]=e-b;d=b;return d|0}function yr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;i=l;l=l+32|0;g=i;f=i+8|0;if(c[a>>2]|0){l=i;return}c[f>>2]=e;f=bg(d,f)|0;if(f){d=c[b>>2]|0;if(d){c[g>>2]=d;c[g+4>>2]=f;d=xd(19713,g)|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{g=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}if(!d)h=8}else d=f}else h=8;if((h|0)==8){c[a>>2]=7;d=0}ge(c[b>>2]|0);c[b>>2]=d;l=i;return}function zr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;if(Nc()|0){d=7;return d|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](16)|0;if(!f){d=7;return d|0}}else{g=jb[c[68>>2]&255](16)|0;if((c[11829]|0)>>>0<16)c[11829]=16;f=46456;e=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&e>>>0>0){h=c[11822]|0;i=Gt(e|0,f|0,g|0,((g|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&h>>>0>=i>>>0)&1}f=jb[c[52>>2]&255](g)|0;if(!f){d=7;return d|0}e=jb[c[64>>2]&255](f)|0;e=(c[11822]|0)+e|0;c[11822]=e;if(e>>>0>(c[11826]|0)>>>0)c[11826]=e;e=(c[11825]|0)+1|0;c[11825]=e;if(e>>>0>(c[11831]|0)>>>0)c[11831]=e};c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;i=f+4|0;c[i>>2]=1;do if((a|0)>0){h=0;a:while(1){e=c[b+(h<<2)>>2]|0;g=As(e)|0;do if((g|0)==19){if(!(Bs(44186,e,19)|0)){c[i>>2]=1;e=0;break}if(!(Bs(44206,e,19)|0)){c[i>>2]=0;e=0}else j=20}else if((g|0)>10)j=20;else{e=1;break a}while(0);do if((j|0)==20){j=0;if(!(Bs(44226,e,11)|0)){e=Er(f,1,e+11|0,g+-11|0)|0;break}if(Bs(44238,e,11)|0){e=1;break a}e=Er(f,0,e+11|0,g+-11|0)|0}while(0);h=h+1|0;g=(e|0)==0;if(!((h|0)<(a|0)&g)){j=25;break}}if((j|0)==25)if(g){e=0;break}if(f){g=c[f+12>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);f=0;break}else{j=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);f=0;break}}else f=0}else e=0;while(0);c[d>>2]=f;d=e;return d|0}function Ar(a){a=a|0;var b=0,d=0;if(!a)return 0;b=c[a+12>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Br(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Nc()|0){e=7;return e|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](28)|0;if(!a){e=7;return e|0}}else{g=jb[c[68>>2]&255](28)|0;if((c[11829]|0)>>>0<28)c[11829]=28;f=46456;a=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&a>>>0>0){h=c[11822]|0;f=Gt(a|0,f|0,g|0,((g|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&h>>>0>=f>>>0)&1}a=jb[c[52>>2]&255](g)|0;if(!a){h=7;return h|0}f=jb[c[64>>2]&255](a)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f};c[a>>2]=0;c[a+4>>2]=0;c[a+8>>2]=0;c[a+12>>2]=0;c[a+16>>2]=0;c[a+20>>2]=0;c[a+24>>2]=0;c[a+4>>2]=b;if(b){if((d|0)<0)d=As(b)|0}else d=0;c[a+8>>2]=d;c[e>>2]=a;h=0;return h|0}function Cr(a){a=a|0;var b=0,d=0;b=c[a+20>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Dr(b,f,g,h,i,j){b=b|0;f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;var k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0;y=c[b>>2]|0;U=b+4|0;D=c[U>>2]|0;V=b+12|0;M=D+(c[b+8>>2]|0)|0;N=y+8|0;O=y+12|0;D=D+(c[V>>2]|0)|0;while(1){if(D>>>0>=M>>>0){F=101;w=66;break}k=D+1|0;w=a[D>>0]|0;l=w&255;if((w&255)>191){l=d[18928+(l+-192)>>0]|0;a:do if((k|0)==(M|0))k=M;else while(1){m=a[k>>0]|0;if((m&-64)<<24>>24!=-128)break a;k=k+1|0;l=m&63|l<<6;if((k|0)==(M|0)){k=M;break}}while(0);if((l&-2|0)==65534|(l>>>0<128|(l&-2048|0)==55296)){t=65533;v=k;w=11}else{s=l;u=k;w=8}}else{s=l;u=k;w=8}do if((w|0)==8){w=0;if(s>>>0>=128)if(s>>>0<4194304){t=s;v=u;w=11;break}else{r=1;o=s;x=u;break}else{r=(c[7080+(s>>>5<<2)>>2]&1<<(s&31)|0)==0;o=s;x=u;break}}while(0);if((w|0)==11){w=0;n=t<<10|1023;k=0;l=405;m=0;do{x=(l+k|0)/2|0;r=n>>>0<(c[7096+(x<<2)>>2]|0)>>>0;m=r?m:x;l=r?x+-1|0:l;k=r?k:x+1|0}while((l|0)>=(k|0));r=c[7096+(m<<2)>>2]|0;r=((r>>>10)+(r&1023)|0)>>>0<=t>>>0;o=t;x=v}q=r&1;k=c[N>>2]|0;b:do if((k|0)>0){p=c[O>>2]|0;k=k+-1|0;l=0;while(1){if((k|0)<(l|0)){k=0;break b}m=(k+l|0)/2|0;W=c[p+(m<<2)>>2]|0;n=(W|0)<(o|0);if((W|0)==(o|0)){k=1;break}else{k=n?k:m+-1|0;l=n?m+1|0:l}}}else k=0;while(0);if((k|0)==(q|0))D=x;else break}if((w|0)==66)return F|0;r=b+20|0;l=c[r>>2]|0;s=b+24|0;q=y+4|0;m=l;while(1){n=m;k=c[s>>2]|0;if((n-l|0)<(k+-4|0))p=m;else{k=k+64|0;if(Nc()|0){F=7;w=66;break}k=Oc(l,(k|0)>0?k:0,0)|0;if(!k){F=7;w=66;break}p=k+(n-(c[r>>2]|0))|0;c[r>>2]=k;c[s>>2]=(c[s>>2]|0)+64}n=c[q>>2]|0;do if((o|0)>=128){if((o|0)<65536){k=162;m=-1;l=0}else{if((o+-66560|0)>>>0<40){P=o+40|0;w=39;break}Q=o;R=o>>>12;S=(o>>>6&63|128)&255;T=(o&63|128)&255;w=45;break}do{W=(l+k|0)/2|0;z=(e[14858+(W<<2)>>1]|0)>(o|0);l=z?l:W+1|0;m=z?m:W;k=z?W+-1|0:k}while((k|0)>=(l|0));k=e[14858+(m<<2)>>1]|0;if(((d[14858+(m<<2)+3>>0]|0)+k|0)>(o|0)?(L=d[14858+(m<<2)+2>>0]|0,((k^o)&1&L|0)==0):0)o=(e[15510+(L>>>1<<1)>>1]|0)+o&65535;if(n){n=o<<3|7;k=0;l=100;m=0;do{W=(l+k|0)/2|0;z=n>>>0<(e[15664+(W<<1)>>1]|0)>>>0;l=z?W+-1|0:l;k=z?k:W+1|0;m=z?m:W}while((l|0)>=(k|0));W=e[15664+(m<<1)>>1]|0;if(((W>>>3)+(W&7)|0)>=(o|0)){z=a[44085+m>>0]|0;w=38}else{z=o;w=38}}else{z=o;w=38}}else{z=(o+-65|0)>>>0<26?o+32|0:o;w=38}while(0);if((w|0)==38){w=0;if(!z)E=p;else{P=z;w=39}}do if((w|0)==39){w=0;if((P|0)<128){a[p>>0]=P;E=p+1|0;break}k=P>>>6;l=(P&63|128)&255;if((P|0)<2048){a[p>>0]=k&31|192;a[p+1>>0]=l;E=p+2|0;break}m=P>>>12;k=(k&63|128)&255;if((P|0)<65536){a[p>>0]=m&15|224;a[p+1>>0]=k;a[p+2>>0]=l;E=p+3|0}else{Q=P;R=m;S=k;T=l;w=45}}while(0);if((w|0)==45){a[p>>0]=Q>>>18&7|240;a[p+1>>0]=R&63|128;a[p+2>>0]=S;a[p+3>>0]=T;E=p+4|0}if(x>>>0>=M>>>0){K=x;w=65;break}k=x+1|0;W=a[x>>0]|0;l=W&255;if((W&255)>191){l=d[18928+(l+-192)>>0]|0;c:do if((k|0)==(M|0))k=M;else while(1){m=a[k>>0]|0;if((m&-64)<<24>>24!=-128)break c;k=k+1|0;l=m&63|l<<6;if((k|0)==(M|0)){k=M;break}}while(0);if((l&-2|0)==65534|(l>>>0<128|(l&-2048|0)==55296)){H=65533;J=k;w=55}else{G=l;I=k;w=52}}else{G=l;I=k;w=52}do if((w|0)==52){w=0;if(G>>>0>=128)if(G>>>0<4194304){H=G;J=I;w=55;break}else{A=1;B=G;C=I;break}else{A=(c[7080+(G>>>5<<2)>>2]&1<<(G&31)|0)==0;B=G;C=I;break}}while(0);if((w|0)==55){n=H<<10|1023;k=0;l=405;m=0;do{W=(l+k|0)/2|0;C=n>>>0<(c[7096+(W<<2)>>2]|0)>>>0;m=C?m:W;l=C?W+-1|0:l;k=C?k:W+1|0}while((l|0)>=(k|0));A=c[7096+(m<<2)>>2]|0;A=((A>>>10)+(A&1023)|0)>>>0<=H>>>0;B=H;C=J}p=A&1;k=c[N>>2]|0;d:do if((k|0)>0){o=c[O>>2]|0;k=k+-1|0;l=0;while(1){if((k|0)<(l|0)){k=0;break d}m=(k+l|0)/2|0;W=c[o+(m<<2)>>2]|0;n=(W|0)<(B|0);if((W|0)==(B|0)){k=1;break}else{k=n?k:m+-1|0;l=n?m+1|0:l}}}else k=0;while(0);if((k|0)==(p|0)?(W=(B|0)<800,(B+-768|0)>>>0>49?1:(1<<(W?-768:-800)+B&(W?134389727:221688)|0)==0):0){K=C;w=65;break}m=E;o=B;x=C;l=c[r>>2]|0}if((w|0)==65){c[V>>2]=K-(c[U>>2]|0);c[f>>2]=c[r>>2];c[g>>2]=E-(c[r>>2]|0);V=c[U>>2]|0;c[h>>2]=D-V;c[i>>2]=x-V;V=b+16|0;W=c[V>>2]|0;c[V>>2]=W+1;c[j>>2]=W;W=0;return W|0}else if((w|0)==66)return F|0;return 0}function Er(b,e,f,g){b=b|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;q=f+g|0;n=0;h=f;a:while(1){do{if(h>>>0>=q>>>0)break a;j=h+1|0;p=a[h>>0]|0;i=p&255;if((p&255)>191){h=d[18928+(i+-192)>>0]|0;b:do if((j|0)==(q|0)){i=h;h=q}else{i=h;h=j;while(1){j=a[h>>0]|0;if((j&-64)<<24>>24!=-128)break b;h=h+1|0;i=j&63|i<<6;if((h|0)==(q|0)){h=q;break}}}while(0);if((i&-2|0)==65534|(i>>>0<128|(i&-2048|0)==55296)){i=65533;k=12}else k=9}else{h=j;k=9}do if((k|0)==9){k=0;if(i>>>0>=128)if(i>>>0<4194304){k=12;break}else{j=1;break}else{j=(c[7080+(i>>>5<<2)>>2]&1<<(i&31)|0)==0;break}}while(0);if((k|0)==12){m=i<<10|1023;j=0;k=405;l=0;do{p=(k+j|0)/2|0;o=m>>>0<(c[7096+(p<<2)>>2]|0)>>>0;l=o?l:p;k=o?p+-1|0:k;j=o?j:p+1|0}while((k|0)>=(j|0));j=c[7096+(l<<2)>>2]|0;j=((j>>>10)+(j&1023)|0)>>>0<=i>>>0}}while((j&1|0)==(e|0));p=(i|0)<800;n=(((i+-768|0)>>>0>49?1:(1<<(p?-768:-800)+i&(p?134389727:221688)|0)==0)&1)+n|0}if(!n){q=0;return q|0}p=b+12|0;i=c[p>>2]|0;o=b+8|0;h=(c[o>>2]|0)+n<<2;if(Nc()|0){q=7;return q|0}b=Oc(i,(h|0)>0?h:0,0)|0;if(!b){q=7;return q|0}h=c[o>>2]|0;c:do if((g|0)>0)do{while(1){j=f+1|0;g=a[f>>0]|0;f=g&255;if((g&255)>191){f=d[18928+(f+-192)>>0]|0;d:do if((j|0)==(q|0)){i=f;f=q}else{i=f;f=j;while(1){j=a[f>>0]|0;if((j&-64)<<24>>24!=-128)break d;f=f+1|0;i=j&63|i<<6;if((f|0)==(q|0)){f=q;break}}}while(0);if((i&-2|0)==65534|(i>>>0<128|(i&-2048|0)==55296)){i=65533;k=30}else k=27}else{i=f;f=j;k=27}do if((k|0)==27){k=0;if(i>>>0>=128)if(i>>>0<4194304){k=30;break}else{j=1;break}else{j=(c[7080+(i>>>5<<2)>>2]&1<<(i&31)|0)==0;break}}while(0);if((k|0)==30){m=i<<10|1023;j=0;k=405;l=0;do{g=(k+j|0)/2|0;n=m>>>0<(c[7096+(g<<2)>>2]|0)>>>0;l=n?l:g;k=n?g+-1|0:k;j=n?j:g+1|0}while((k|0)>=(j|0));j=c[7096+(l<<2)>>2]|0;j=((j>>>10)+(j&1023)|0)>>>0<=i>>>0}if((j&1|0)!=(e|0)?(g=(i|0)<800,(i+-768|0)>>>0>49?1:(1<<(g?-768:-800)+i&(g?134389727:221688)|0)==0):0)break;if(f>>>0>=q>>>0)break c}e:do if((h|0)>0){j=0;do{if((c[b+(j<<2)>>2]|0)>=(i|0))break e;j=j+1|0}while((j|0)<(h|0))}else j=0;while(0);if((h|0)>(j|0)){k=h;do{g=k;k=k+-1|0;c[b+(g<<2)>>2]=c[b+(k<<2)>>2]}while((k|0)>(j|0))}c[b+(j<<2)>>2]=i;h=h+1|0}while(f>>>0>>0);while(0);c[p>>2]=b;c[o>>2]=h;q=0;return q|0}function Fr(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;if(Nc()|0){d=7;return d|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](4)|0;if(!a){d=7;return d|0}}else{e=jb[c[68>>2]&255](4)|0;if((c[11829]|0)>>>0<4)c[11829]=4;b=46456;a=c[b>>2]|0;b=c[b+4>>2]|0;if((b|0)>0|(b|0)==0&a>>>0>0){f=c[11822]|0;b=Gt(a|0,b|0,e|0,((e|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&f>>>0>=b>>>0)&1}a=jb[c[52>>2]&255](e)|0;if(!a){f=7;return f|0}b=jb[c[64>>2]&255](a)|0;b=(c[11822]|0)+b|0;c[11822]=b;if(b>>>0>(c[11826]|0)>>>0)c[11826]=b;b=(c[11825]|0)+1|0;c[11825]=b;if(b>>>0>(c[11831]|0)>>>0)c[11831]=b}c[a>>2]=0;c[d>>2]=a;f=0;return f|0}function Gr(a){a=a|0;var b=0;if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Hr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Nc()|0){e=7;return e|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](28)|0;if(!a){e=7;return e|0}}else{g=jb[c[68>>2]&255](28)|0;if((c[11829]|0)>>>0<28)c[11829]=28;f=46456;a=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&a>>>0>0){h=c[11822]|0;f=Gt(a|0,f|0,g|0,((g|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&h>>>0>=f>>>0)&1}a=jb[c[52>>2]&255](g)|0;if(!a){h=7;return h|0}f=jb[c[64>>2]&255](a)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f}c[a+4>>2]=b;if(b){if((d|0)<0)d=As(b)|0}else d=0;c[a+8>>2]=d;h=a+12|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[e>>2]=a;h=0;return h|0}function Ir(a){a=a|0;var b=0,d=0;b=c[a+20>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Jr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0;ma=l;l=l+32|0;r=ma;q=c[b+4>>2]|0;la=b+12|0;i=c[la>>2]|0;p=c[b+8>>2]|0;if((i|0)>=(p|0)){la=101;l=ma;return la|0}while(1){while(1){m=a[q+i>>0]|0;o=m<<24>>24;if(o&128|0){ka=i;break}if(m<<24>>24>=48?a[44250+(o+-48)>>0]|0:0){ka=i;break}i=i+1|0;c[la>>2]=i;if((i|0)>=(p|0)){ka=i;break}}if((ka|0)<(p|0)){i=ka;do{m=a[q+i>>0]|0;o=m<<24>>24;if(!(o&128)){if(m<<24>>24<48)break;if(!(a[44250+(o+-48)>>0]|0))break}i=i+1|0;c[la>>2]=i}while((i|0)<(p|0));if((i|0)>(ka|0))break}else i=ka;if((i|0)>=(p|0)){i=101;ja=494;break}}if((ja|0)==494){l=ma;return i|0}s=i-ka|0;i=b+24|0;do if((s|0)>(c[i>>2]|0)){m=s+20|0;c[i>>2]=m;o=b+20|0;i=c[o>>2]|0;if(Nc()|0){la=7;l=ma;return la|0}i=Oc(i,(m|0)>0?m:0,0)|0;if(!i){la=7;l=ma;return la|0}else{c[o>>2]=i;ia=o;ha=i;break}}else{ha=b+20|0;ia=ha;ha=c[ha>>2]|0}while(0);q=q+ka|0;a:do if((s+-3|0)>>>0>17){if((s|0)>0){j=0;k=0;do{i=a[q+k>>0]|0;if((i+-65&255)<26)i=(i&255)+32&255;else j=(i+-48&255)<10?1:j;a[ha+k>>0]=i;k=k+1|0}while((k|0)!=(s|0));i=s}else{i=0;j=0}j=j|0?3:10;if((j<<1|0)<(s|0)){i=j;j=s-j|0;do{a[ha+i>>0]=a[ha+j>>0]|0;j=j+1|0;i=i+1|0}while((j|0)<(s|0));ja=377}else ja=377}else{o=0;p=22;while(1){i=a[q+o>>0]|0;if((i+-65&255)>=26)if((i+-97&255)<26)m=i;else{j=0;k=0;ja=31;break}else m=(i&255)+32&255;i=r+p|0;a[i>>0]=m;o=o+1|0;if((o|0)>=(s|0))break;else p=p+-1|0}if((ja|0)==31){while(1){i=a[q+k>>0]|0;if((i+-65&255)<26)i=(i&255)+32&255;else j=(i+-48&255)<10?1:j;a[ha+k>>0]=i;k=k+1|0;if((k|0)==(s|0))break;else ja=31}j=j|0?3:10;if((j<<1|0)>=(s|0)){i=s;ja=377;break}i=j;j=s-j|0;while(1){a[ha+i>>0]=a[ha+j>>0]|0;j=j+1|0;i=i+1|0;if((j|0)>=(s|0)){ja=377;break a}}}m=r+23|0;a[m>>0]=0;a[m+1>>0]=0;a[m+2>>0]=0;a[m+3>>0]=0;a[m+4>>0]=0;m=a[i>>0]|0;b:do if(m<<24>>24==115){o=i+1|0;m=a[o>>0]|0;c:do switch(m<<24>>24){case 101:{p=i+2|0;switch(a[p>>0]|0){case 115:break;case 105:{a[p>>0]=105;i=p;m=105;break b}default:{i=o;m=101;break b}}q=i+3|0;if((a[q>>0]|0)!=115)if(m<<24>>24==115)break c;else{i=o;ja=42;break b}else{a[q>>0]=115;a[p>>0]=115;i=p;m=115;break b}}case 115:break;default:{i=o;ja=42;break b}}while(0);a[o>>0]=115;a[i>>0]=115;m=115}else ja=42;while(0);d:do if((ja|0)==42){e:do switch(m<<24>>24){case 100:{p=i+1|0;if((a[p>>0]|0)!=101){m=100;break d}q=i+2|0;if((a[q>>0]|0)!=101){m=q;while(1)if(!(Kr(m)|0))break;else m=m+1|0;m=a[m>>0]|0?q:i;if((m|0)==(i|0)){m=100;break d}else{i=m;ja=57;break e}}m=i+3|0;o=a[m>>0]|0;if(!(o<<24>>24)){m=100;break d}while(1){o=(o<<24>>24)+-97|0;if((o|0)==24)o=Kr(m+1|0)|0;else o=1-(a[44330+o>>0]|0)|0;if(!o)break;m=m+1|0;o=a[m>>0]|0;if(!(o<<24>>24)){m=100;break d}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=100;break d}a[q>>0]=101;a[p>>0]=101;i=p;m=101;break d}case 103:{if((a[i+1>>0]|0)!=110){m=103;break d}if((a[i+2>>0]|0)!=105){m=103;break d}o=i+3|0;m=o;while(1)if(!(Kr(m)|0))break;else m=m+1|0;m=a[m>>0]|0?o:i;if((m|0)==(i|0)){m=103;break d}else{i=m;ja=57}break}default:{}}while(0);f:do if((ja|0)==57){m=a[i>>0]|0;switch(m<<24>>24){case 116:{o=i+1|0;if((a[o>>0]|0)==97){a[o>>0]=97;a[i>>0]=116;i=i+-1|0;a[i>>0]=101;m=101;break d}break}case 108:{o=i+1|0;if((a[o>>0]|0)==98){a[o>>0]=98;a[i>>0]=108;i=i+-1|0;a[i>>0]=101;m=101;break d}break}case 122:{o=i+1|0;if((a[o>>0]|0)==105){a[o>>0]=105;a[i>>0]=122;i=i+-1|0;a[i>>0]=101;m=101;break d}break}default:{}}if(Kr(i)|0?(t=i+1|0,m<<24>>24==(a[t>>0]|0)):0)switch(m<<24>>24){case 122:case 115:case 108:break;default:{i=t;break f}}if((Lr(i)|0)!=0?!((m+-119&255)<3|(Kr(i)|0)==0):0){o=a[i+1>>0]|0;if(!(o<<24>>24))break d;o=(o<<24>>24)+-97|0;if((o|0)==24)o=Kr(i+2|0)|0;else o=1-(a[44330+o>>0]|0)|0;if(!o)break d;if(!(Kr(i+2|0)|0))break d;i=i+-1|0;a[i>>0]=101;m=101;break d}}while(0);if(m<<24>>24==121){m=i;do m=m+1|0;while((Kr(m)|0)!=0);if(!(a[m>>0]|0))m=121;else{a[i>>0]=105;m=105}}}while(0);r=i+1|0;o=a[r>>0]|0;g:do switch(o<<24>>24|0){case 97:{if(m<<24>>24==108)if((o<<24>>24==97?(L=i+2|0,(a[L>>0]|0)==110):0)?(K=i+3|0,(a[K>>0]|0)==111):0){o=i+4|0;if(((a[o>>0]|0)==105?(P=i+5|0,(a[P>>0]|0)==116):0)?(O=i+6|0,(a[O>>0]|0)==97):0){m=i+7|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=108;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=108;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=108;break g}a[O>>0]=97;a[P>>0]=116;a[o>>0]=101;i=o;m=101;break g}o=i+4|0;if(((a[o>>0]|0)==105?(J=i+5|0,(a[J>>0]|0)==116):0)?(x=i+6|0,z=a[x>>0]|0,z<<24>>24!=0):0){m=x;n=z;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=108;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[J>>0]=116;a[o>>0]=105;a[K>>0]=111;a[L>>0]=110;i=L;m=110}else m=108}else m=108}else m=108;break}case 99:{if(m<<24>>24==105)if(o<<24>>24==99?(_=i+2|0,(a[_>>0]|0)==110):0){o=i+3|0;switch(a[o>>0]|0){case 101:{m=i+4|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=101;a[_>>0]=110;a[r>>0]=99;a[i>>0]=101;m=101;break g}case 97:{m=i+4|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=97;a[_>>0]=110;a[r>>0]=99;a[i>>0]=101;m=101;break g}default:{m=105;break g}}}else m=105;break}case 101:{if(m<<24>>24==114)if(((o<<24>>24==101?(G=i+2|0,(a[G>>0]|0)==122):0)?(F=i+3|0,(a[F>>0]|0)==105):0)?(u=i+4|0,n=a[u>>0]|0,n<<24>>24!=0):0){m=u;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=114;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[F>>0]=105;a[G>>0]=122;a[r>>0]=101;i=r;m=101}else m=114}else m=114;break}case 103:{if(m<<24>>24==105)if(((o<<24>>24==103?(I=i+2|0,(a[I>>0]|0)==111):0)?(H=i+3|0,(a[H>>0]|0)==108):0)?(v=i+4|0,w=a[v>>0]|0,w<<24>>24!=0):0){m=v;n=w;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[H>>0]=108;a[I>>0]=111;a[r>>0]=103;i=r;m=103}else m=105}else m=105;break}case 108:{if(m<<24>>24==105)if(o<<24>>24==108){q=i+2|0;switch(a[q>>0]|0){case 98:{m=i+3|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[q>>0]=98;a[r>>0]=108;a[i>>0]=101;m=101;break g}case 108:{o=i+3|0;if((a[o>>0]|0)!=97){m=105;break g}m=i+4|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=97;a[q>>0]=108;i=q;m=108;break g}case 116:{p=i+3|0;if((a[p>>0]|0)!=110){m=105;break g}o=i+4|0;if((a[o>>0]|0)!=101){m=105;break g}m=i+5|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=101;a[p>>0]=110;a[q>>0]=116;i=q;m=116;break g}case 101:{m=i+3|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[q>>0]=101;i=q;m=101;break g}case 115:{p=i+3|0;if((a[p>>0]|0)!=117){m=105;break g}o=i+4|0;if((a[o>>0]|0)!=111){m=105;break g}m=i+5|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=111;a[p>>0]=117;a[q>>0]=115;i=q;m=115;break g}default:{m=105;break g}}}else m=105;break}case 111:{switch(m<<24>>24){case 110:break;case 114:{if(o<<24>>24!=111){m=114;break g}p=i+2|0;if((a[p>>0]|0)!=116){m=114;break g}o=i+3|0;if((a[o>>0]|0)!=97){m=114;break g}m=i+4|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=114;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=114;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=114;break g}a[o>>0]=97;a[p>>0]=116;a[r>>0]=101;i=r;m=101;break g}default:break g}if((o<<24>>24==111?(N=i+2|0,(a[N>>0]|0)==105):0)?(M=i+3|0,(a[M>>0]|0)==116):0){o=i+4|0;if(((a[o>>0]|0)==97?(R=i+5|0,(a[R>>0]|0)==122):0)?(Q=i+6|0,(a[Q>>0]|0)==105):0){m=i+7|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=110;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=110;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=110;break g}a[Q>>0]=105;a[R>>0]=122;a[o>>0]=101;i=o;m=101;break g}o=i+4|0;if((a[o>>0]|0)==97?(y=i+5|0,A=a[y>>0]|0,A<<24>>24!=0):0){m=y;n=A;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=110;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[o>>0]=97;a[M>>0]=116;a[N>>0]=101;i=N;m=101}else m=110}else m=110}else m=110;break}case 115:{switch(m<<24>>24){case 109:{if(o<<24>>24!=115){m=109;break g}if((a[i+2>>0]|0)!=105){m=109;break g}p=i+3|0;if((a[p>>0]|0)!=108){m=109;break g}o=i+4|0;if((a[o>>0]|0)!=97){m=109;break g}m=i+5|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=109;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=109;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=109;break g}a[o>>0]=97;a[p>>0]=108;i=p;m=108;break g}case 115:break;default:break g}if((o<<24>>24==115?(a[i+2>>0]|0)==101:0)?(a[i+3>>0]|0)==110:0){o=i+4|0;if(((a[o>>0]|0)==101?(T=i+5|0,(a[T>>0]|0)==118):0)?(S=i+6|0,(a[S>>0]|0)==105):0){m=i+7|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=115;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=115;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=115;break g}a[S>>0]=105;a[T>>0]=118;a[o>>0]=101;i=o;m=101;break g}o=i+4|0;if(((a[o>>0]|0)==108?(Y=i+5|0,(a[Y>>0]|0)==117):0)?(X=i+6|0,(a[X>>0]|0)==102):0){m=i+7|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=115;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=115;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=115;break g}a[X>>0]=102;a[Y>>0]=117;a[o>>0]=108;i=o;m=108;break g}o=i+4|0;if((((a[o>>0]|0)==115?(V=i+5|0,(a[V>>0]|0)==117):0)?(U=i+6|0,(a[U>>0]|0)==111):0)?(B=i+7|0,D=a[B>>0]|0,D<<24>>24!=0):0){m=B;n=D;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=115;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[U>>0]=111;a[V>>0]=117;a[o>>0]=115;i=o;m=115}else m=115}else m=115}else m=115;break}case 116:{if(m<<24>>24==105)if(o<<24>>24==116?(Z=i+2|0,(a[Z>>0]|0)==105):0){p=i+3|0;switch(a[p>>0]|0){case 108:break;case 118:{o=i+4|0;if((a[o>>0]|0)!=105){m=105;break g}m=i+5|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=105;a[p>>0]=118;a[Z>>0]=101;i=Z;m=101;break g}default:{m=105;break g}}o=i+4|0;if((a[o>>0]|0)==97){m=i+5|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(!(a[m>>0]|0)){m=105;break g}a[o>>0]=97;a[p>>0]=108;i=p;m=108;break g}o=i+4|0;if(((a[o>>0]|0)==105?(W=i+5|0,(a[W>>0]|0)==98):0)?(C=i+6|0,E=a[C>>0]|0,E<<24>>24!=0):0){m=C;n=E;while(1){n=(n<<24>>24)+-97|0;if((n|0)==24)n=Kr(m+1|0)|0;else n=1-(a[44330+n>>0]|0)|0;if(!n)break;m=m+1|0;n=a[m>>0]|0;if(!(n<<24>>24)){m=105;break g}}while(1)if(!(Kr(m)|0))break;else m=m+1|0;if(a[m>>0]|0){a[W>>0]=98;a[o>>0]=108;a[p>>0]=101;i=p;m=101}else m=105}else m=105}else m=105;break}default:{}}while(0);h:do switch(m<<24>>24|0){case 101:{if(m<<24>>24==101)switch(a[i+1>>0]|0){case 116:{if((a[i+2>>0]|0)!=97)break h;n=i+3|0;if((a[n>>0]|0)!=99)break h;m=i+4|0;if((a[m>>0]|0)!=105)break h;j=i+5|0;k=a[j>>0]|0;if(!(k<<24>>24))break h;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;if(!(a[j>>0]|0))break h;a[m>>0]=105;a[n>>0]=99;i=n;break h}case 118:{if((a[i+2>>0]|0)!=105)break h;if((a[i+3>>0]|0)!=116)break h;if((a[i+4>>0]|0)!=97)break h;m=i+5|0;k=a[m>>0]|0;if(!(k<<24>>24))break h;else j=m;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;i=a[j>>0]|0?m:i;break h}case 122:{if((a[i+2>>0]|0)!=105)break h;n=i+3|0;if((a[n>>0]|0)!=108)break h;m=i+4|0;if((a[m>>0]|0)!=97)break h;j=i+5|0;k=a[j>>0]|0;if(!(k<<24>>24))break h;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;if(!(a[j>>0]|0))break h;a[m>>0]=97;a[n>>0]=108;i=n;break h}default:break h}break}case 105:{if(((((m<<24>>24==105?(a[i+1>>0]|0)==116:0)?(a[i+2>>0]|0)==105:0)?(da=i+3|0,(a[da>>0]|0)==99):0)?(ca=i+4|0,(a[ca>>0]|0)==105):0)?(j=i+5|0,$=a[j>>0]|0,$<<24>>24!=0):0){k=$;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;if(a[j>>0]|0){a[ca>>0]=105;a[da>>0]=99;i=da}}break}case 108:{if(m<<24>>24==108){switch(a[i+1>>0]|0){case 97:break;case 117:{if((a[i+2>>0]|0)!=102)break h;m=i+3|0;k=a[m>>0]|0;if(!(k<<24>>24))break h;else j=m;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;i=a[j>>0]|0?m:i;break h}default:break h}m=i+2|0;if(((a[m>>0]|0)==99?(fa=i+3|0,(a[fa>>0]|0)==105):0)?(aa=i+4|0,ba=a[aa>>0]|0,ba<<24>>24!=0):0){j=aa;k=ba;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;if(a[j>>0]|0){a[fa>>0]=105;a[m>>0]=99;i=m}}}break}case 115:{if((((m<<24>>24==115?(a[i+1>>0]|0)==115:0)?(a[i+2>>0]|0)==101:0)?(a[i+3>>0]|0)==110:0)?(ea=i+4|0,k=a[ea>>0]|0,k<<24>>24!=0):0){j=ea;while(1){k=(k<<24>>24)+-97|0;if((k|0)==24)k=Kr(j+1|0)|0;else k=1-(a[44330+k>>0]|0)|0;if(!k)break;j=j+1|0;k=a[j>>0]|0;if(!(k<<24>>24))break h}while(1)if(!(Kr(j)|0))break;else j=j+1|0;i=a[j>>0]|0?ea:i}break}default:{}}while(0);j=a[i+1>>0]|0;i:do switch(j<<24>>24|0){case 97:{if((a[i>>0]|0)==108){fa=i+2|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 99:{if((a[i>>0]|0)==101?(a[i+2>>0]|0)==110:0){switch(a[i+3>>0]|0){case 101:case 97:break;default:break i}fa=i+4|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 101:{if((a[i>>0]|0)==114){fa=i+2|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 105:{if((a[i>>0]|0)==99){fa=i+2|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 108:{if((a[i>>0]|0)==101?(a[i+2>>0]|0)==98:0){switch(a[i+3>>0]|0){case 105:case 97:break;default:break i}fa=i+4|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 110:{if((a[i>>0]|0)==116){switch(a[i+2>>0]|0){case 97:{fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa;break i}case 101:break;default:break i}if(j<<24>>24==110){j=i+3|0;if((a[j>>0]|0)!=109){fa=(Mr(j)|0)==0;i=fa?i:j;break i}j=i+4|0;if((a[j>>0]|0)==101){fa=i+5|0;ea=(Mr(fa)|0)==0;i=ea?i:fa;break i}else{fa=(Mr(j)|0)==0;i=fa?i:j;break i}}}break}case 111:{k=a[i>>0]|0;if(k<<24>>24==117){fa=i+2|0;ea=(Mr(fa)|0)==0;i=ea?i:fa;break i}m=i+3|0;if(j<<24>>24==111&(k<<24>>24==110?((a[m>>0]|0)+-115&255)<2:0)?(a[i+2>>0]|0)==105:0){fa=(Mr(m)|0)==0;i=fa?i:m}break}case 115:{if((a[i>>0]|0)==109?(a[i+2>>0]|0)==105:0){fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 116:switch(a[i>>0]|0){case 101:{if(j<<24>>24!=116)break i;if((a[i+2>>0]|0)!=97)break i;fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa;break i}case 105:{if(j<<24>>24!=116)break i;if((a[i+2>>0]|0)!=105)break i;fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa;break i}default:break i}case 117:{if((a[i>>0]|0)==115?(a[i+2>>0]|0)==111:0){fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}case 122:case 118:{if((a[i>>0]|0)==101?(a[i+2>>0]|0)==105:0){fa=i+3|0;ea=(Mr(fa)|0)==0;i=ea?i:fa}break}default:{}}while(0);do if((a[i>>0]|0)==101){k=i+1|0;if(!(Mr(k)|0)){if(Lr(k)|0){if((Kr(k)|0?((a[k>>0]|0)+-119&255)>=3:0)?(ga=a[i+2>>0]|0,ga<<24>>24):0){j=(ga<<24>>24)+-97|0;if((j|0)==24)j=Kr(i+3|0)|0;else j=1-(a[44330+j>>0]|0)|0;if(j|0?Kr(i+3|0)|0:0)break}i=k}}else i=k}while(0);if((Mr(i)|0)!=0?(a[i>>0]|0)==108:0){ga=i+1|0;i=(a[ga>>0]|0)==108?ga:i}k=As(i)|0;c[e>>2]=k;a[ha+k>>0]=0;j=a[i>>0]|0;if(j<<24>>24)do{i=i+1|0;k=k+-1|0;a[ha+k>>0]=j;j=a[i>>0]|0}while(j<<24>>24!=0)}while(0);if((ja|0)==377){a[ha+i>>0]=0;c[e>>2]=i}c[d>>2]=c[ia>>2];c[f>>2]=ka;c[g>>2]=c[la>>2];g=b+16|0;la=c[g>>2]|0;c[g>>2]=la+1;c[h>>2]=la;la=0;l=ma;return la|0}function Kr(b){b=b|0;var c=0;c=a[b>>0]|0;if(!(c<<24>>24)){b=0;return b|0}c=(c<<24>>24)+-97|0;if((c|0)!=24){b=a[44330+c>>0]|0;return b|0}c=a[b+1>>0]|0;if(!(c<<24>>24))c=1;else{c=(c<<24>>24)+-97|0;if((c|0)==24)c=Kr(b+2|0)|0;else c=1-(a[44330+c>>0]|0)|0;c=(c|0)!=0}b=c&1;return b|0}function Lr(b){b=b|0;var c=0,d=0,e=0,f=0,g=0;c=a[b>>0]|0;if(!(c<<24>>24)){g=0;return g|0}while(1){c=(c<<24>>24)+-97|0;if((c|0)==24)c=Kr(b+1|0)|0;else c=1-(a[44330+c>>0]|0)|0;if(!c){d=b;break}b=b+1|0;c=a[b>>0]|0;if(!(c<<24>>24)){e=0;g=16;break}}if((g|0)==16)return e|0;while(1)if(!(Kr(d)|0))break;else d=d+1|0;c=a[d>>0]|0;if(!(c<<24>>24)){g=0;return g|0}else b=d;while(1){c=(c<<24>>24)+-97|0;if((c|0)==24)c=Kr(b+1|0)|0;else c=1-(a[44330+c>>0]|0)|0;if(!c){f=b;break}b=b+1|0;c=a[b>>0]|0;if(!(c<<24>>24)){e=1;g=16;break}}if((g|0)==16)return e|0;while(1)if(!(Kr(f)|0))break;else f=f+1|0;g=(a[f>>0]|0)==0&1;return g|0}function Mr(b){b=b|0;var c=0,d=0,e=0,f=0,g=0;c=a[b>>0]|0;if(!(c<<24>>24)){g=0;return g|0}while(1){c=(c<<24>>24)+-97|0;if((c|0)==24)c=Kr(b+1|0)|0;else c=1-(a[44330+c>>0]|0)|0;if(!c){d=b;break}b=b+1|0;c=a[b>>0]|0;if(!(c<<24>>24)){e=0;g=16;break}}if((g|0)==16)return e|0;while(1)if(!(Kr(d)|0))break;else d=d+1|0;c=a[d>>0]|0;if(!(c<<24>>24)){g=0;return g|0}else b=d;while(1){c=(c<<24>>24)+-97|0;if((c|0)==24)c=Kr(b+1|0)|0;else c=1-(a[44330+c>>0]|0)|0;if(!c){f=b;break}b=b+1|0;c=a[b>>0]|0;if(!(c<<24>>24)){e=0;g=16;break}}if((g|0)==16)return e|0;while(1)if(!(Kr(f)|0))break;else f=f+1|0;g=(a[f>>0]|0)!=0&1;return g|0}function Nr(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0;e=d<<3;k=Fd(e)|0;if(!k){k=1;return k|0}Vt(k|0,0,e|0)|0;e=b+16|0;f=c[e>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{j=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);c[e>>2]=k;c[b+12>>2]=d;j=(a[b>>0]|0)==1?206:205;i=b+8|0;e=c[i>>2]|0;c[i>>2]=0;if(!e){k=0;return k|0}h=d+-1|0;do{d=(kb[j&255](c[e+12>>2]|0,c[e+16>>2]|0)|0)&h;b=e;e=c[e>>2]|0;g=k+(d<<3)+4|0;f=c[g>>2]|0;if(!f){f=c[i>>2]|0;c[b>>2]=f;if(f|0)c[f+4>>2]=b;c[b+4>>2]=0;f=i}else{c[b>>2]=f;f=f+4|0;c[b+4>>2]=c[f>>2];l=c[f>>2]|0;c[((l|0)==0?i:l)>>2]=b}c[f>>2]=b;l=k+(d<<3)|0;c[l>>2]=(c[l>>2]|0)+1;c[g>>2]=b}while((e|0)!=0);e=0;return e|0}function Or(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0;if(Nc()|0){e=7;return e|0}if(!(c[2]|0)){f=jb[c[52>>2]&255](132)|0;if(!f){e=7;return e|0}else i=f}else{h=jb[c[68>>2]&255](132)|0;if((c[11829]|0)>>>0<132)c[11829]=132;g=46456;f=c[g>>2]|0;g=c[g+4>>2]|0;if((g|0)>0|(g|0)==0&f>>>0>0){j=c[11822]|0;i=Gt(f|0,g|0,h|0,((h|0)<0)<<31>>31|0)|0;g=z;c[11616]=(0>(g|0)|0==(g|0)&j>>>0>=i>>>0)&1}g=jb[c[52>>2]&255](h)|0;if(!g){j=7;return j|0}f=jb[c[64>>2]&255](g)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0){c[11831]=f;i=g}else i=g}Vt(i|0,0,132)|0;a:do if((b|0)>1){h=d+4|0;f=c[h>>2]|0;b=As(f)|0;if((b|0)>0){d=i+4|0;f=a[f>>0]|0;if(f<<24>>24>=0){g=0;do{a[d+(f&255)>>0]=1;g=g+1|0;if((g|0)>=(b|0))break a;f=a[(c[h>>2]|0)+g>>0]|0}while(f<<24>>24>=0)}if(!(c[2]|0)){pb[c[56>>2]&255](i);j=1;return j|0}else{j=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);j=1;return j|0}}}else{g=i+4|0;f=1;do{a[g+f>>0]=((f+-48|0)>>>0>9&((f&-33)+-65|0)>>>0>25)<<31>>31;f=f+1|0}while((f|0)!=128)}while(0);c[e>>2]=i;j=0;return j|0}function Pr(a){a=a|0;var b=0;if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{b=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-b;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Qr(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if(Nc()|0){e=7;return e|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](28)|0;if(!a){e=7;return e|0}}else{g=jb[c[68>>2]&255](28)|0;if((c[11829]|0)>>>0<28)c[11829]=28;f=46456;a=c[f>>2]|0;f=c[f+4>>2]|0;if((f|0)>0|(f|0)==0&a>>>0>0){h=c[11822]|0;f=Gt(a|0,f|0,g|0,((g|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&h>>>0>=f>>>0)&1}a=jb[c[52>>2]&255](g)|0;if(!a){h=7;return h|0}f=jb[c[64>>2]&255](a)|0;f=(c[11822]|0)+f|0;c[11822]=f;if(f>>>0>(c[11826]|0)>>>0)c[11826]=f;f=(c[11825]|0)+1|0;c[11825]=f;if(f>>>0>(c[11831]|0)>>>0)c[11831]=f}c[a+4>>2]=b;if(b){if((d|0)<0)d=As(b)|0}else d=0;c[a+8>>2]=d;h=a+12|0;c[h>>2]=0;c[h+4>>2]=0;c[h+8>>2]=0;c[h+12>>2]=0;c[e>>2]=a;h=0;return h|0}function Rr(a){a=a|0;var b=0,d=0;b=c[a+20>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Sr(b,d,e,f,g,h){b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=c[b>>2]|0;o=c[b+4>>2]|0;p=b+12|0;i=c[p>>2]|0;k=c[b+8>>2]|0;if((i|0)>=(k|0)){p=101;return p|0}while(1){while(1){j=a[o+i>>0]|0;if(j<<24>>24<=-1){n=i;break}if(!(a[(j&255)+(l+4)>>0]|0)){n=i;break}i=i+1|0;c[p>>2]=i;if((i|0)>=(k|0)){n=i;break}}if((n|0)<(k|0)){i=n;do{j=a[o+i>>0]|0;if(j<<24>>24>-1?a[(j&255)+(l+4)>>0]|0:0)break;i=i+1|0;c[p>>2]=i}while((i|0)<(k|0));if((i|0)>(n|0))break}else i=n;if((i|0)>=(k|0)){i=101;m=20;break}}if((m|0)==20)return i|0;l=i-n|0;i=b+24|0;do if((l|0)>(c[i>>2]|0)){j=l+20|0;c[i>>2]=j;k=b+20|0;i=c[k>>2]|0;if(Nc()|0){p=7;return p|0}i=Oc(i,(j|0)>0?j:0,0)|0;if(!i){p=7;return p|0}else{c[k>>2]=i;break}}while(0);j=b+20|0;if((l|0)>0){i=0;do{k=a[o+(i+n)>>0]|0;m=k&255;a[(c[j>>2]|0)+i>>0]=(k+-65&255)<26?m+32|0:m;i=i+1|0}while((i|0)!=(l|0))}c[d>>2]=c[j>>2];c[e>>2]=l;c[f>>2]=n;c[g>>2]=c[p>>2];o=b+16|0;p=c[o>>2]|0;c[o>>2]=p+1;c[h>>2]=p;p=0;return p|0}function Tr(b,e,f,g,h,i){b=b|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+16|0;j=q;do if((f&-2|0)==4){m=c[g+4>>2]|0;k=As(m)|0;if((f|0)==5){if((m|0)==0|(k|0)!=4)break;k=d[m>>0]|0;e=17324+k|0;if((k|32|0)==116){k=d[m+1>>0]|0;e=17324+k|0;if((k|32|0)==101){k=d[m+2>>0]|0;e=17324+k|0;if((k|32|0)==109){e=d[m+3>>0]|0;if((e|32|0)!=112){n=17324+e|0;o=112;p=5}}else{n=e;o=109;p=5}}else{n=e;o=101;p=5}}else{n=e;o=116;p=5}if((p|0)==5?o<<24>>24!=(a[n>>0]|0):0)break;k=c[g+12>>2]|0;m=k;k=As(k)|0;e=4}else e=3;f=c[g+(e<<2)>>2]|0;j=As(f)|0;e=ul(b,44356)|0;if(e|0){h=e;l=q;return h|0}e=k+306+j|0;o=Fd(e)|0;if(!o){h=7;l=q;return h|0}Vt(o|0,0,e|0)|0;n=o+12|0;c[n>>2]=o+16;e=o+304|0;c[o+32>>2]=e;c[o+36>>2]=e+(k+1);c[o+28>>2]=b;c[o+268>>2]=1;Tt(c[o+32>>2]|0,m|0,k|0)|0;Tt(c[(c[n>>2]|0)+20>>2]|0,f|0,j|0)|0;n=c[(c[n>>2]|0)+20>>2]|0;e=a[n>>0]|0;switch(e<<24>>24){case 34:case 39:case 91:case 96:{m=e<<24>>24==91?93:e;f=a[n+1>>0]|0;a:do if(!(f<<24>>24))e=0;else{j=1;e=0;do{k=j+1|0;if(f<<24>>24==m<<24>>24){if((a[n+k>>0]|0)!=m<<24>>24)break a;a[n+e>>0]=m;j=j+2|0}else{a[n+e>>0]=f;j=k}e=e+1|0;f=a[n+j>>0]|0}while(f<<24>>24!=0)}while(0);a[n+e>>0]=0;break}default:{}}c[h>>2]=o;h=0;l=q;return h|0}while(0);Bp(i,44425,j);h=1;l=q;return h|0}function Ur(b,d){b=b|0;d=d|0;var e=0,f=0.0,g=0,i=0,j=0,k=0,l=0,m=0,n=0;if(((c[d+8>>2]|0)==1?(e=c[d+12>>2]|0,(c[e>>2]|0)==0):0)?(a[e+4>>0]|0)==0:0)c[d+32>>2]=1;m=c[d>>2]|0;if((m|0)<=0){c[d+20>>2]=0;h[d+40>>3]=2.0e4;return 0}n=c[d+4>>2]|0;b=-1;k=-1;g=-1;e=-1;l=0;while(1){if(!(a[n+(l*12|0)+5>>0]|0))j=g;else{i=a[n+(l*12|0)+4>>0]|0;j=c[n+(l*12|0)>>2]|0;if(!j){b=i<<24>>24==2?l:b;e=i<<24>>24==32|i<<24>>24==4?l:e;g=i<<24>>24==8|i<<24>>24==16?l:g}k=i<<24>>24==2&(j|0)==4?l:k;j=g}l=l+1|0;if((l|0)>=(m|0))break;else g=j}i=d+20|0;if((b|0)<=-1){c[i>>2]=0;g=d+40|0;h[g>>3]=2.0e4;if((e|0)>-1){c[i>>2]=2;c[(c[d+16>>2]|0)+(e<<3)>>2]=1;h[g>>3]=1.0e4;b=2;e=6;f=1.0e4}else{b=1;e=4;f=2.0e4}if((j|0)>-1){c[i>>2]=e;c[(c[d+16>>2]|0)+(j<<3)>>2]=b;f=f*.5;h[g>>3]=f;b=b+1|0}}else{c[i>>2]=1;c[(c[d+16>>2]|0)+(b<<3)>>2]=1;h[d+40>>3]=5.0;b=2;f=5.0}if((k|0)<=-1)return 0;c[(c[d+16>>2]|0)+(k<<3)>>2]=b;h[d+40>>3]=f+-1.0;return 0}function Vr(a){a=a|0;var b=0,d=0;d=c[a+12>>2]|0;b=0;do{Qh(c[d+56+(b<<2)>>2]|0)|0;b=b+1|0}while((b|0)!=40);b=c[d+244>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!a)return 0;if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Wr(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;if(Nc()|0){b=7;return b|0}if(!(c[2]|0)){a=jb[c[52>>2]&255](120)|0;if(!a){b=7;return b|0}}else{e=jb[c[68>>2]&255](120)|0;if((c[11829]|0)>>>0<120)c[11829]=120;d=46456;a=c[d>>2]|0;d=c[d+4>>2]|0;if((d|0)>0|(d|0)==0&a>>>0>0){f=c[11822]|0;d=Gt(a|0,d|0,e|0,((e|0)<0)<<31>>31|0)|0;a=z;c[11616]=(0>(a|0)|0==(a|0)&f>>>0>=d>>>0)&1}a=jb[c[52>>2]&255](e)|0;if(!a){f=7;return f|0}d=jb[c[64>>2]&255](a)|0;d=(c[11822]|0)+d|0;c[11822]=d;if(d>>>0>(c[11826]|0)>>>0)c[11826]=d;d=(c[11825]|0)+1|0;c[11825]=d;if(d>>>0>(c[11831]|0)>>>0)c[11831]=d}d=a;e=d+120|0;do{c[d>>2]=0;d=d+4|0}while((d|0)<(e|0));c[b>>2]=a;f=0;return f|0}function Xr(a){a=a|0;var b=0,d=0,e=0,f=0;b=(c[(c[a>>2]|0)+12>>2]|0)+248|0;d=c[b>>2]|0;do if(d|0){e=c[d+20>>2]|0;Qh(c[d+16>>2]|0)|0;if(e|0){if(c[e+464>>2]|0){Lc(e,d);break}f=d;if(f>>>0>=(c[e+296>>2]|0)>>>0?f>>>0<(c[e+300>>2]|0)>>>0:0){f=e+292|0;c[d>>2]=c[f>>2];c[f>>2]=d;break}}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{f=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);c[b>>2]=0;iq(a+4|0);b=c[a+60>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{f=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+76>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{f=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);b=c[a+112>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{f=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return 0}else{f=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return 0}return 0}function Yr(b,d,f,g,i){b=b|0;d=d|0;f=f|0;g=g|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;q=x+8|0;o=x;w=c[(c[b>>2]|0)+12>>2]|0;if((d|0)==1){p=-1;d=0;v=0;f=1;j=-1}else{f=d&2;j=(f|0)==0;u=(j^1)&1;t=(d&4|0)==0;p=t?-1:u;d=-1;v=1;f=t?u:(f>>>1)+1|0;j=j<<31>>31}r=(f|0)<(g|0)?f:-1;t=b+4|0;iq(t);u=b+60|0;f=c[u>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{m=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);f=c[b+112>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{m=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);k=t;m=k+116|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));c[b+72>>2]=(v|0)==0?3:19;do if((j&d|0)>-1?(n=c[i>>2]|0,n|0):0){f=e[n+8>>1]|0;if((f&514|0)==514?(a[n+10>>0]|0)==1:0)f=c[n+16>>2]|0;else{if(f&1|0)break;f=Jc(n,1)|0}if(f|0){c[o>>2]=f;f=xd(17859,o)|0;c[u>>2]=f;g=c[i>>2]|0;j=e[g+8>>1]|0;if((j&2|0)!=0?(a[g+10>>0]|0)==1:0)d=c[g+12>>2]|0;else s=22;do if((s|0)==22)if(!(j&16)){if(j&1|0){d=0;break}d=Ue(g,1)|0;f=c[u>>2]|0;break}else{d=c[g+12>>2]|0;if(!(j&16384))break;d=(c[g>>2]|0)+d|0;break}while(0);c[b+64>>2]=d;if(!f){b=7;l=x;return b|0}}}while(0);if((p|0)>-1){g=i+(p<<2)|0;f=c[g>>2]|0;do if(f){d=e[f+8>>1]|0;if((d&514|0)==514?(a[f+10>>0]|0)==1:0){f=c[f+16>>2]|0;break}if(!(d&1))f=Jc(f,1)|0;else f=0}else f=0;while(0);c[q>>2]=f;f=xd(17859,q)|0;k=b+76|0;c[k>>2]=f;g=c[g>>2]|0;j=e[g+8>>1]|0;if((j&2|0)!=0?(a[g+10>>0]|0)==1:0)d=c[g+12>>2]|0;else s=38;do if((s|0)==38)if(!(j&16)){if(j&1|0){d=0;break}d=Ue(g,1)|0;f=c[k>>2]|0;break}else{d=c[g+12>>2]|0;if(!(j&16384))break;d=(c[g>>2]|0)+d|0;break}while(0);c[b+80>>2]=d;if(!f){b=7;l=x;return b|0}}if((r|0)>-1){f=c[i+(r<<2)>>2]|0;d=e[f+8>>1]|0;do if(!(d&4)){if(d&8|0){f=Gc(+h[f>>3])|0;break}if(!(d&18))f=0;else f=Hc(a[f+10>>0]|0,c[f+12>>2]|0,c[f+16>>2]|0)|0}else f=c[f>>2]|0;while(0);f=(f|0)>0?f:0}else f=0;c[b+84>>2]=f;d=c[u>>2]|0;j=b+64|0;g=c[j>>2]|0;k=t;m=k+56|0;do{c[k>>2]=0;k=k+4|0}while((k|0)<(m|0));f=aq(w,f,0,-2,d,g,0,v,t)|0;if(f|0){b=f;l=x;return b|0}c[b+16>>2]=u;f=bq(w,t,c[u>>2]|0,c[j>>2]|0)|0;if(f|0){b=f;l=x;return b|0}b=Zr(b)|0;l=x;return b|0}function Zr(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;g=c[(c[b>>2]|0)+12>>2]|0;n=b+96|0;o=n;o=Ft(c[o>>2]|0,c[o+4>>2]|0,1,0)|0;c[n>>2]=o;c[n+4>>2]=z;n=b+104|0;o=b+108|0;e=c[o>>2]|0;p=b+112|0;f=c[n>>2]|0;while(1){f=f+1|0;if((f|0)>=(e|0))break;m=(c[p>>2]|0)+(f<<4)|0;l=c[m+4>>2]|0;if((l|0)>0|(l|0)==0&(c[m>>2]|0)>>>0>0){q=45;break}}if((q|0)==45){c[n>>2]=f;q=0;return q|0}c[n>>2]=f;e=cq(g,b+4|0)|0;if((e|0)!=100){c[b+88>>2]=1;q=e;return q|0}l=c[b+56>>2]|0;m=c[b+52>>2]|0;e=c[b+76>>2]|0;do if(e|0){i=c[b+80>>2]|0;j=c[b+48>>2]|0;k=(i|0)<(j|0);j=Bs(e,c[b+44>>2]|0,k?i:j)|0;if((j|0)>=0?(j|0)!=0|k^1:0)break;c[b+88>>2]=1;q=0;return q|0}while(0);e=c[o>>2]|0;f=c[p>>2]|0;do if((e|0)<2){if(Nc()|0){q=7;return q|0}f=Oc(f,32,0)|0;if(!f){q=7;return q|0}else{e=c[o>>2]|0;Vt(f+(e<<4)|0,0,2-e<<4|0)|0;c[p>>2]=f;c[o>>2]=2;e=2;break}}while(0);Vt(f|0,0,e<<4|0)|0;a:do if((l|0)>0){e=0;f=0;g=0;while(1){j=f+1|0;k=g;b:while(1){i=m+k|0;g=a[i>>0]|0;f=g&255;do if(!(f&128)){i=1;h=0;b=g&255}else{h=(d[i+1>>0]|0)<<7;f=h|f&127;if(!(h&16384)){i=2;h=0;b=f;break}h=(d[i+2>>0]|0)<<14;f=h|f&16383;if(!(h&2097152)){i=3;h=0;b=f;break}h=(d[i+3>>0]|0)<<21;b=h|f&2097151;if(!(h&268435456)){i=4;h=0;break}f=28;g=i+4|0;b=b&268435455;h=0;do{r=g;g=g+1|0;r=d[r>>0]|0;s=Rt(r&127|0,0,f|0)|0;b=Ft(s|0,z|0,b|0,h|0)|0;h=z;f=f+7|0}while((f|0)<64&((r&128|0)!=0|0!=0));i=g-i|0}while(0);k=i+k|0;switch(e&3){case 0:{q=27;break b}case 1:{if((h|0)>0|(h|0)==0&b>>>0>1){s=(c[p>>2]|0)+16|0;r=s;r=Ft(c[r>>2]|0,c[r+4>>2]|0,1,0)|0;c[s>>2]=r;c[s+4>>2]=z}break}case 2:break;default:{q=36;break b}}switch(b|0){case 0:{if(!h)e=0;else q=35;break}case 1:{if(!h)e=3;else q=35;break}default:q=35}if((q|0)==35){q=0;e=c[p>>2]|0;s=e+(j<<4)+8|0;r=s;r=Ft(c[r>>2]|0,c[r+4>>2]|0,1,0)|0;c[s>>2]=r;c[s+4>>2]=z;e=e+8|0;s=e;s=Ft(c[s>>2]|0,c[s+4>>2]|0,1,0)|0;c[e>>2]=s;c[e+4>>2]=z;e=2}if((k|0)>=(l|0))break a}if((q|0)==27){q=0;e=1;f=0;g=c[p>>2]|0}else if((q|0)==36){q=0;g=b+2|0;if((c[o>>2]|0)<(g|0)){e=c[p>>2]|0;f=g<<4;if(Nc()|0){e=7;q=46;break}e=Oc(e,(f|0)>0?f:0,0)|0;if(!e){e=7;q=46;break}s=c[o>>2]|0;Vt(e+(s<<4)|0,0,g-s<<4|0)|0;c[p>>2]=e;c[o>>2]=g;g=e}else g=c[p>>2]|0;e=2;f=b;g=g+(b+1<<4)|0}r=g;r=Ft(c[r>>2]|0,c[r+4>>2]|0,1,0)|0;s=g;c[s>>2]=r;c[s+4>>2]=z;if((k|0)<(l|0))g=k;else break a}if((q|0)==46)return e|0}while(0);c[n>>2]=0;s=0;return s|0}function _r(a){a=a|0;return c[a+88>>2]|0}function $r(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0;switch(f|0){case 0:{if((Ve(c[e>>2]|0,c[d+44>>2]|0,c[d+48>>2]|0,1,-1)|0)!=18)return 0;c[e+20>>2]=18;a[e+25>>0]=1;Ve(c[e>>2]|0,18992,-1,1,0)|0;return 0}case 1:{d=c[d+104>>2]|0;if(!d){if((Ve(c[e>>2]|0,28976,-1,1,0)|0)!=18)return 0;c[e+20>>2]=18;a[e+25>>0]=1;Ve(c[e>>2]|0,18992,-1,1,0)|0;return 0}h=d+-1|0;d=c[e>>2]|0;f=((h|0)<0)<<31>>31;g=d+8|0;if(!(b[g>>1]&9312)){e=d;c[e>>2]=h;c[e+4>>2]=f;b[g>>1]=4;return 0}else{Xe(d,h,f);return 0}}case 2:{h=(c[d+112>>2]|0)+(c[d+104>>2]<<4)|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[e>>2]|0;f=d+8|0;if(!(b[f>>1]&9312)){e=d;c[e>>2]=g;c[e+4>>2]=h;b[f>>1]=4;return 0}else{Xe(d,g,h);return 0}}case 3:{h=(c[d+112>>2]|0)+(c[d+104>>2]<<4)+8|0;g=c[h>>2]|0;h=c[h+4>>2]|0;d=c[e>>2]|0;f=d+8|0;if(!(b[f>>1]&9312)){e=d;c[e>>2]=g;c[e+4>>2]=h;b[f>>1]=4;return 0}else{Xe(d,g,h);return 0}}default:{h=c[d+84>>2]|0;d=c[e>>2]|0;f=((h|0)<0)<<31>>31;g=d+8|0;if(!(b[g>>1]&9312)){e=d;c[e>>2]=h;c[e+4>>2]=f;b[g>>1]=4;return 0}else{Xe(d,h,f);return 0}}}return 0}function as(a,b){a=a|0;b=b|0;var d=0;d=a+96|0;a=c[d+4>>2]|0;c[b>>2]=c[d>>2];c[b+4>>2]=a;return 0}function bs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0;x=l;l=l+16|0;o=x;do if(a>>>0<245){k=a>>>0<11?16:a+11&-8;a=k>>>3;n=c[11682]|0;d=n>>>a;if(d&3|0){b=(d&1^1)+a|0;a=46768+(b<<1<<2)|0;d=a+8|0;e=c[d>>2]|0;f=e+8|0;g=c[f>>2]|0;if((a|0)==(g|0))c[11682]=n&~(1<>2]=a;c[d>>2]=g}w=b<<3;c[e+4>>2]=w|3;w=e+w+4|0;c[w>>2]=c[w>>2]|1;w=f;l=x;return w|0}m=c[11684]|0;if(k>>>0>m>>>0){if(d|0){b=2<>>12&16;b=b>>>h;d=b>>>5&8;b=b>>>d;f=b>>>2&4;b=b>>>f;a=b>>>1&2;b=b>>>a;e=b>>>1&1;e=(d|h|f|a|e)+(b>>>e)|0;b=46768+(e<<1<<2)|0;a=b+8|0;f=c[a>>2]|0;h=f+8|0;d=c[h>>2]|0;if((b|0)==(d|0)){a=n&~(1<>2]=b;c[a>>2]=d;a=n}g=(e<<3)-k|0;c[f+4>>2]=k|3;e=f+k|0;c[e+4>>2]=g|1;c[e+g>>2]=g;if(m|0){f=c[11687]|0;b=m>>>3;d=46768+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=f;c[b+12>>2]=f;c[f+8>>2]=b;c[f+12>>2]=d}c[11684]=g;c[11687]=e;w=h;l=x;return w|0}i=c[11683]|0;if(i){d=(i&0-i)+-1|0;h=d>>>12&16;d=d>>>h;g=d>>>5&8;d=d>>>g;j=d>>>2&4;d=d>>>j;e=d>>>1&2;d=d>>>e;a=d>>>1&1;a=c[47032+((g|h|j|e|a)+(d>>>a)<<2)>>2]|0;d=(c[a+4>>2]&-8)-k|0;e=c[a+16+(((c[a+16>>2]|0)==0&1)<<2)>>2]|0;if(!e){j=a;g=d}else{do{h=(c[e+4>>2]&-8)-k|0;j=h>>>0>>0;d=j?h:d;a=j?e:a;e=c[e+16+(((c[e+16>>2]|0)==0&1)<<2)>>2]|0}while((e|0)!=0);j=a;g=d}h=j+k|0;if(j>>>0>>0){f=c[j+24>>2]|0;b=c[j+12>>2]|0;do if((b|0)==(j|0)){a=j+20|0;b=c[a>>2]|0;if(!b){a=j+16|0;b=c[a>>2]|0;if(!b){d=0;break}}while(1){d=b+20|0;e=c[d>>2]|0;if(e|0){b=e;a=d;continue}d=b+16|0;e=c[d>>2]|0;if(!e)break;else{b=e;a=d}}c[a>>2]=0;d=b}else{d=c[j+8>>2]|0;c[d+12>>2]=b;c[b+8>>2]=d;d=b}while(0);do if(f|0){b=c[j+28>>2]|0;a=47032+(b<<2)|0;if((j|0)==(c[a>>2]|0)){c[a>>2]=d;if(!d){c[11683]=i&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=f;b=c[j+16>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}b=c[j+20>>2]|0;if(b|0){c[d+20>>2]=b;c[b+24>>2]=d}}while(0);if(g>>>0<16){w=g+k|0;c[j+4>>2]=w|3;w=j+w+4|0;c[w>>2]=c[w>>2]|1}else{c[j+4>>2]=k|3;c[h+4>>2]=g|1;c[h+g>>2]=g;if(m|0){e=c[11687]|0;b=m>>>3;d=46768+(b<<1<<2)|0;b=1<>2]|0}c[a>>2]=e;c[b+12>>2]=e;c[e+8>>2]=b;c[e+12>>2]=d}c[11684]=g;c[11687]=h}w=j+8|0;l=x;return w|0}else n=k}else n=k}else n=k}else if(a>>>0<=4294967231){a=a+11|0;k=a&-8;j=c[11683]|0;if(j){e=0-k|0;a=a>>>8;if(a)if(k>>>0>16777215)i=31;else{n=(a+1048320|0)>>>16&8;v=a<>>16&4;v=v<>>16&2;i=14-(m|n|i)+(v<>>15)|0;i=k>>>(i+7|0)&1|i<<1}else i=0;d=c[47032+(i<<2)>>2]|0;a:do if(!d){d=0;a=0;v=57}else{a=0;h=k<<((i|0)==31?0:25-(i>>>1)|0);g=0;while(1){f=(c[d+4>>2]&-8)-k|0;if(f>>>0>>0)if(!f){a=d;e=0;f=d;v=61;break a}else{a=d;e=f}f=c[d+20>>2]|0;d=c[d+16+(h>>>31<<2)>>2]|0;g=(f|0)==0|(f|0)==(d|0)?g:f;f=(d|0)==0;if(f){d=g;v=57;break}else h=h<<((f^1)&1)}}while(0);if((v|0)==57){if((d|0)==0&(a|0)==0){a=2<>>12&16;n=n>>>h;g=n>>>5&8;n=n>>>g;i=n>>>2&4;n=n>>>i;m=n>>>1&2;n=n>>>m;d=n>>>1&1;a=0;d=c[47032+((g|h|i|m|d)+(n>>>d)<<2)>>2]|0}if(!d){i=a;h=e}else{f=d;v=61}}if((v|0)==61)while(1){v=0;d=(c[f+4>>2]&-8)-k|0;n=d>>>0>>0;d=n?d:e;a=n?f:a;f=c[f+16+(((c[f+16>>2]|0)==0&1)<<2)>>2]|0;if(!f){i=a;h=d;break}else{e=d;v=61}}if((i|0)!=0?h>>>0<((c[11684]|0)-k|0)>>>0:0){g=i+k|0;if(i>>>0>=g>>>0){w=0;l=x;return w|0}f=c[i+24>>2]|0;b=c[i+12>>2]|0;do if((b|0)==(i|0)){a=i+20|0;b=c[a>>2]|0;if(!b){a=i+16|0;b=c[a>>2]|0;if(!b){b=0;break}}while(1){d=b+20|0;e=c[d>>2]|0;if(e|0){b=e;a=d;continue}d=b+16|0;e=c[d>>2]|0;if(!e)break;else{b=e;a=d}}c[a>>2]=0}else{w=c[i+8>>2]|0;c[w+12>>2]=b;c[b+8>>2]=w}while(0);do if(f){a=c[i+28>>2]|0;d=47032+(a<<2)|0;if((i|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){e=j&~(1<>2]|0)!=(i|0)&1)<<2)>>2]=b;if(!b){e=j;break}}c[b+24>>2]=f;a=c[i+16>>2]|0;if(a|0){c[b+16>>2]=a;c[a+24>>2]=b}a=c[i+20>>2]|0;if(a){c[b+20>>2]=a;c[a+24>>2]=b;e=j}else e=j}else e=j;while(0);do if(h>>>0>=16){c[i+4>>2]=k|3;c[g+4>>2]=h|1;c[g+h>>2]=h;b=h>>>3;if(h>>>0<256){d=46768+(b<<1<<2)|0;a=c[11682]|0;b=1<>2]|0}c[a>>2]=g;c[b+12>>2]=g;c[g+8>>2]=b;c[g+12>>2]=d;break}b=h>>>8;if(b)if(h>>>0>16777215)b=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;b=14-(u|v|b)+(w<>>15)|0;b=h>>>(b+7|0)&1|b<<1}else b=0;d=47032+(b<<2)|0;c[g+28>>2]=b;a=g+16|0;c[a+4>>2]=0;c[a>>2]=0;a=1<>2]=g;c[g+24>>2]=d;c[g+12>>2]=g;c[g+8>>2]=g;break}a=h<<((b|0)==31?0:25-(b>>>1)|0);d=c[d>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(h|0)){v=97;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=96;break}else{a=a<<1;d=b}}if((v|0)==96){c[e>>2]=g;c[g+24>>2]=d;c[g+12>>2]=g;c[g+8>>2]=g;break}else if((v|0)==97){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=g;c[v>>2]=g;c[g+8>>2]=w;c[g+12>>2]=d;c[g+24>>2]=0;break}}else{w=h+k|0;c[i+4>>2]=w|3;w=i+w+4|0;c[w>>2]=c[w>>2]|1}while(0);w=i+8|0;l=x;return w|0}else n=k}else n=k}else n=-1;while(0);d=c[11684]|0;if(d>>>0>=n>>>0){b=d-n|0;a=c[11687]|0;if(b>>>0>15){w=a+n|0;c[11687]=w;c[11684]=b;c[w+4>>2]=b|1;c[w+b>>2]=b;c[a+4>>2]=n|3}else{c[11684]=0;c[11687]=0;c[a+4>>2]=d|3;w=a+d+4|0;c[w>>2]=c[w>>2]|1}w=a+8|0;l=x;return w|0}h=c[11685]|0;if(h>>>0>n>>>0){u=h-n|0;c[11685]=u;w=c[11688]|0;v=w+n|0;c[11688]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}if(!(c[11800]|0)){c[11802]=4096;c[11801]=4096;c[11803]=-1;c[11804]=-1;c[11805]=0;c[11793]=0;a=o&-16^1431655768;c[o>>2]=a;c[11800]=a;a=4096}else a=c[11802]|0;i=n+48|0;j=n+47|0;g=a+j|0;f=0-a|0;k=g&f;if(k>>>0<=n>>>0){w=0;l=x;return w|0}a=c[11792]|0;if(a|0?(m=c[11790]|0,o=m+k|0,o>>>0<=m>>>0|o>>>0>a>>>0):0){w=0;l=x;return w|0}b:do if(!(c[11793]&4)){d=c[11688]|0;c:do if(d){e=47176;while(1){a=c[e>>2]|0;if(a>>>0<=d>>>0?(r=e+4|0,(a+(c[r>>2]|0)|0)>>>0>d>>>0):0)break;a=c[e+8>>2]|0;if(!a){v=118;break c}else e=a}b=g-h&f;if(b>>>0<2147483647){a=Wt(b|0)|0;if((a|0)==((c[e>>2]|0)+(c[r>>2]|0)|0)){if((a|0)!=(-1|0)){h=b;g=a;v=135;break b}}else{e=a;v=126}}else b=0}else v=118;while(0);do if((v|0)==118){d=Wt(0)|0;if((d|0)!=(-1|0)?(b=d,p=c[11801]|0,q=p+-1|0,b=((q&b|0)==0?0:(q+b&0-p)-b|0)+k|0,p=c[11790]|0,q=b+p|0,b>>>0>n>>>0&b>>>0<2147483647):0){r=c[11792]|0;if(r|0?q>>>0<=p>>>0|q>>>0>r>>>0:0){b=0;break}a=Wt(b|0)|0;if((a|0)==(d|0)){h=b;g=d;v=135;break b}else{e=a;v=126}}else b=0}while(0);do if((v|0)==126){d=0-b|0;if(!(i>>>0>b>>>0&(b>>>0<2147483647&(e|0)!=(-1|0))))if((e|0)==(-1|0)){b=0;break}else{h=b;g=e;v=135;break b}a=c[11802]|0;a=j-b+a&0-a;if(a>>>0>=2147483647){h=b;g=e;v=135;break b}if((Wt(a|0)|0)==(-1|0)){Wt(d|0)|0;b=0;break}else{h=a+b|0;g=e;v=135;break b}}while(0);c[11793]=c[11793]|4;v=133}else{b=0;v=133}while(0);if(((v|0)==133?k>>>0<2147483647:0)?(u=Wt(k|0)|0,r=Wt(0)|0,s=r-u|0,t=s>>>0>(n+40|0)>>>0,!((u|0)==(-1|0)|t^1|u>>>0>>0&((u|0)!=(-1|0)&(r|0)!=(-1|0))^1)):0){h=t?s:b;g=u;v=135}if((v|0)==135){b=(c[11790]|0)+h|0;c[11790]=b;if(b>>>0>(c[11791]|0)>>>0)c[11791]=b;j=c[11688]|0;do if(j){b=47176;while(1){a=c[b>>2]|0;d=b+4|0;e=c[d>>2]|0;if((g|0)==(a+e|0)){v=145;break}f=c[b+8>>2]|0;if(!f)break;else b=f}if(((v|0)==145?(c[b+12>>2]&8|0)==0:0)?j>>>0>>0&j>>>0>=a>>>0:0){c[d>>2]=e+h;w=j+8|0;w=(w&7|0)==0?0:0-w&7;v=j+w|0;w=(c[11685]|0)+(h-w)|0;c[11688]=v;c[11685]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[11689]=c[11804];break}if(g>>>0<(c[11686]|0)>>>0)c[11686]=g;d=g+h|0;b=47176;while(1){if((c[b>>2]|0)==(d|0)){v=153;break}a=c[b+8>>2]|0;if(!a)break;else b=a}if((v|0)==153?(c[b+12>>2]&8|0)==0:0){c[b>>2]=g;m=b+4|0;c[m>>2]=(c[m>>2]|0)+h;m=g+8|0;m=g+((m&7|0)==0?0:0-m&7)|0;b=d+8|0;b=d+((b&7|0)==0?0:0-b&7)|0;k=m+n|0;i=b-m-n|0;c[m+4>>2]=n|3;do if((b|0)!=(j|0)){if((b|0)==(c[11687]|0)){w=(c[11684]|0)+i|0;c[11684]=w;c[11687]=k;c[k+4>>2]=w|1;c[k+w>>2]=w;break}a=c[b+4>>2]|0;if((a&3|0)==1){h=a&-8;e=a>>>3;d:do if(a>>>0<256){a=c[b+8>>2]|0;d=c[b+12>>2]|0;if((d|0)==(a|0)){c[11682]=c[11682]&~(1<>2]=d;c[d+8>>2]=a;break}}else{g=c[b+24>>2]|0;a=c[b+12>>2]|0;do if((a|0)==(b|0)){e=b+16|0;d=e+4|0;a=c[d>>2]|0;if(!a){a=c[e>>2]|0;if(!a){a=0;break}else d=e}while(1){e=a+20|0;f=c[e>>2]|0;if(f|0){a=f;d=e;continue}e=a+16|0;f=c[e>>2]|0;if(!f)break;else{a=f;d=e}}c[d>>2]=0}else{w=c[b+8>>2]|0;c[w+12>>2]=a;c[a+8>>2]=w}while(0);if(!g)break;d=c[b+28>>2]|0;e=47032+(d<<2)|0;do if((b|0)!=(c[e>>2]|0)){c[g+16+(((c[g+16>>2]|0)!=(b|0)&1)<<2)>>2]=a;if(!a)break d}else{c[e>>2]=a;if(a|0)break;c[11683]=c[11683]&~(1<>2]=g;d=b+16|0;e=c[d>>2]|0;if(e|0){c[a+16>>2]=e;c[e+24>>2]=a}d=c[d+4>>2]|0;if(!d)break;c[a+20>>2]=d;c[d+24>>2]=a}while(0);b=b+h|0;f=h+i|0}else f=i;b=b+4|0;c[b>>2]=c[b>>2]&-2;c[k+4>>2]=f|1;c[k+f>>2]=f;b=f>>>3;if(f>>>0<256){d=46768+(b<<1<<2)|0;a=c[11682]|0;b=1<>2]|0}c[a>>2]=k;c[b+12>>2]=k;c[k+8>>2]=b;c[k+12>>2]=d;break}b=f>>>8;do if(!b)b=0;else{if(f>>>0>16777215){b=31;break}v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;b=14-(u|v|b)+(w<>>15)|0;b=f>>>(b+7|0)&1|b<<1}while(0);e=47032+(b<<2)|0;c[k+28>>2]=b;a=k+16|0;c[a+4>>2]=0;c[a>>2]=0;a=c[11683]|0;d=1<>2]=k;c[k+24>>2]=e;c[k+12>>2]=k;c[k+8>>2]=k;break}a=f<<((b|0)==31?0:25-(b>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){v=194;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=193;break}else{a=a<<1;d=b}}if((v|0)==193){c[e>>2]=k;c[k+24>>2]=d;c[k+12>>2]=k;c[k+8>>2]=k;break}else if((v|0)==194){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=k;c[v>>2]=k;c[k+8>>2]=w;c[k+12>>2]=d;c[k+24>>2]=0;break}}else{w=(c[11685]|0)+i|0;c[11685]=w;c[11688]=k;c[k+4>>2]=w|1}while(0);w=m+8|0;l=x;return w|0}b=47176;while(1){a=c[b>>2]|0;if(a>>>0<=j>>>0?(w=a+(c[b+4>>2]|0)|0,w>>>0>j>>>0):0)break;b=c[b+8>>2]|0}f=w+-47|0;a=f+8|0;a=f+((a&7|0)==0?0:0-a&7)|0;f=j+16|0;a=a>>>0>>0?j:a;b=a+8|0;d=g+8|0;d=(d&7|0)==0?0:0-d&7;v=g+d|0;d=h+-40-d|0;c[11688]=v;c[11685]=d;c[v+4>>2]=d|1;c[v+d+4>>2]=40;c[11689]=c[11804];d=a+4|0;c[d>>2]=27;c[b>>2]=c[11794];c[b+4>>2]=c[11795];c[b+8>>2]=c[11796];c[b+12>>2]=c[11797];c[11794]=g;c[11795]=h;c[11797]=0;c[11796]=b;b=a+24|0;do{v=b;b=b+4|0;c[b>>2]=7}while((v+8|0)>>>0>>0);if((a|0)!=(j|0)){g=a-j|0;c[d>>2]=c[d>>2]&-2;c[j+4>>2]=g|1;c[a>>2]=g;b=g>>>3;if(g>>>0<256){d=46768+(b<<1<<2)|0;a=c[11682]|0;b=1<>2]|0}c[a>>2]=j;c[b+12>>2]=j;c[j+8>>2]=b;c[j+12>>2]=d;break}b=g>>>8;if(b)if(g>>>0>16777215)d=31;else{v=(b+1048320|0)>>>16&8;w=b<>>16&4;w=w<>>16&2;d=14-(u|v|d)+(w<>>15)|0;d=g>>>(d+7|0)&1|d<<1}else d=0;e=47032+(d<<2)|0;c[j+28>>2]=d;c[j+20>>2]=0;c[f>>2]=0;b=c[11683]|0;a=1<>2]=j;c[j+24>>2]=e;c[j+12>>2]=j;c[j+8>>2]=j;break}a=g<<((d|0)==31?0:25-(d>>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(g|0)){v=216;break}e=d+16+(a>>>31<<2)|0;b=c[e>>2]|0;if(!b){v=215;break}else{a=a<<1;d=b}}if((v|0)==215){c[e>>2]=j;c[j+24>>2]=d;c[j+12>>2]=j;c[j+8>>2]=j;break}else if((v|0)==216){v=d+8|0;w=c[v>>2]|0;c[w+12>>2]=j;c[v>>2]=j;c[j+8>>2]=w;c[j+12>>2]=d;c[j+24>>2]=0;break}}}else{w=c[11686]|0;if((w|0)==0|g>>>0>>0)c[11686]=g;c[11794]=g;c[11795]=h;c[11797]=0;c[11691]=c[11800];c[11690]=-1;b=0;do{w=46768+(b<<1<<2)|0;c[w+12>>2]=w;c[w+8>>2]=w;b=b+1|0}while((b|0)!=32);w=g+8|0;w=(w&7|0)==0?0:0-w&7;v=g+w|0;w=h+-40-w|0;c[11688]=v;c[11685]=w;c[v+4>>2]=w|1;c[v+w+4>>2]=40;c[11689]=c[11804]}while(0);b=c[11685]|0;if(b>>>0>n>>>0){u=b-n|0;c[11685]=u;w=c[11688]|0;v=w+n|0;c[11688]=v;c[v+4>>2]=u|1;c[w+4>>2]=n|3;w=w+8|0;l=x;return w|0}}c[(ks()|0)>>2]=12;w=0;l=x;return w|0}function cs(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;if(!a)return;d=a+-8|0;f=c[11686]|0;a=c[a+-4>>2]|0;b=a&-8;j=d+b|0;do if(!(a&1)){e=c[d>>2]|0;if(!(a&3))return;h=d+(0-e)|0;g=e+b|0;if(h>>>0>>0)return;if((h|0)==(c[11687]|0)){a=j+4|0;b=c[a>>2]|0;if((b&3|0)!=3){i=h;b=g;break}c[11684]=g;c[a>>2]=b&-2;c[h+4>>2]=g|1;c[h+g>>2]=g;return}d=e>>>3;if(e>>>0<256){a=c[h+8>>2]|0;b=c[h+12>>2]|0;if((b|0)==(a|0)){c[11682]=c[11682]&~(1<>2]=b;c[b+8>>2]=a;i=h;b=g;break}}f=c[h+24>>2]|0;a=c[h+12>>2]|0;do if((a|0)==(h|0)){d=h+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){a=0;break}else b=d}while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}c[b>>2]=0}else{i=c[h+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){b=c[h+28>>2]|0;d=47032+(b<<2)|0;if((h|0)==(c[d>>2]|0)){c[d>>2]=a;if(!a){c[11683]=c[11683]&~(1<>2]|0)!=(h|0)&1)<<2)>>2]=a;if(!a){i=h;b=g;break}}c[a+24>>2]=f;b=h+16|0;d=c[b>>2]|0;if(d|0){c[a+16>>2]=d;c[d+24>>2]=a}b=c[b+4>>2]|0;if(b){c[a+20>>2]=b;c[b+24>>2]=a;i=h;b=g}else{i=h;b=g}}else{i=h;b=g}}else{i=d;h=d}while(0);if(h>>>0>=j>>>0)return;a=j+4|0;e=c[a>>2]|0;if(!(e&1))return;if(!(e&2)){a=c[11687]|0;if((j|0)==(c[11688]|0)){j=(c[11685]|0)+b|0;c[11685]=j;c[11688]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[11687]=0;c[11684]=0;return}if((j|0)==(a|0)){j=(c[11684]|0)+b|0;c[11684]=j;c[11687]=h;c[i+4>>2]=j|1;c[h+j>>2]=j;return}f=(e&-8)+b|0;d=e>>>3;do if(e>>>0<256){b=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(b|0)){c[11682]=c[11682]&~(1<>2]=a;c[a+8>>2]=b;break}}else{g=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){d=j+16|0;b=d+4|0;a=c[b>>2]|0;if(!a){a=c[d>>2]|0;if(!a){d=0;break}else b=d}while(1){d=a+20|0;e=c[d>>2]|0;if(e|0){a=e;b=d;continue}d=a+16|0;e=c[d>>2]|0;if(!e)break;else{a=e;b=d}}c[b>>2]=0;d=a}else{d=c[j+8>>2]|0;c[d+12>>2]=a;c[a+8>>2]=d;d=a}while(0);if(g|0){a=c[j+28>>2]|0;b=47032+(a<<2)|0;if((j|0)==(c[b>>2]|0)){c[b>>2]=d;if(!d){c[11683]=c[11683]&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=d;if(!d)break}c[d+24>>2]=g;a=j+16|0;b=c[a>>2]|0;if(b|0){c[d+16>>2]=b;c[b+24>>2]=d}a=c[a+4>>2]|0;if(a|0){c[d+20>>2]=a;c[a+24>>2]=d}}}while(0);c[i+4>>2]=f|1;c[h+f>>2]=f;if((i|0)==(c[11687]|0)){c[11684]=f;return}}else{c[a>>2]=e&-2;c[i+4>>2]=b|1;c[h+b>>2]=b;f=b}a=f>>>3;if(f>>>0<256){d=46768+(a<<1<<2)|0;b=c[11682]|0;a=1<>2]|0}c[b>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=d;return}a=f>>>8;if(a)if(f>>>0>16777215)a=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;a=14-(g|h|a)+(j<>>15)|0;a=f>>>(a+7|0)&1|a<<1}else a=0;e=47032+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[11683]|0;d=1<>>1)|0);d=c[e>>2]|0;while(1){if((c[d+4>>2]&-8|0)==(f|0)){a=73;break}e=d+16+(b>>>31<<2)|0;a=c[e>>2]|0;if(!a){a=72;break}else{b=b<<1;d=a}}if((a|0)==72){c[e>>2]=i;c[i+24>>2]=d;c[i+12>>2]=i;c[i+8>>2]=i;break}else if((a|0)==73){h=d+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=d;c[i+24>>2]=0;break}}else{c[11683]=b|d;c[e>>2]=i;c[i+24>>2]=e;c[i+12>>2]=i;c[i+8>>2]=i}while(0);j=(c[11690]|0)+-1|0;c[11690]=j;if(!j)a=47184;else return;while(1){a=c[a>>2]|0;if(!a)break;else a=a+8|0}c[11690]=-1;return}function ds(a,b){a=a|0;b=b|0;var d=0;if(a){d=O(b,a)|0;if((b|a)>>>0>65535)d=((d>>>0)/(a>>>0)|0|0)==(b|0)?d:-1}else d=0;a=bs(d)|0;if(!a)return a|0;if(!(c[a+-4>>2]&3))return a|0;Vt(a|0,0,d|0)|0;return a|0}function es(a,b){a=a|0;b=b|0;var d=0,e=0;if(!a){b=bs(b)|0;return b|0}if(b>>>0>4294967231){c[(ks()|0)>>2]=12;b=0;return b|0}d=fs(a+-8|0,b>>>0<11?16:b+11&-8)|0;if(d|0){b=d+8|0;return b|0}d=bs(b)|0;if(!d){b=0;return b|0}e=c[a+-4>>2]|0;e=(e&-8)-((e&3|0)==0?8:4)|0;Tt(d|0,a|0,(e>>>0>>0?e:b)|0)|0;cs(a);b=d;return b|0}function fs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0;m=a+4|0;l=c[m>>2]|0;d=l&-8;i=a+d|0;if(!(l&3)){if(b>>>0<256){a=0;return a|0}if(d>>>0>=(b+4|0)>>>0?(d-b|0)>>>0<=c[11802]<<1>>>0:0)return a|0;a=0;return a|0}if(d>>>0>=b>>>0){d=d-b|0;if(d>>>0<=15)return a|0;k=a+b|0;c[m>>2]=l&1|b|2;c[k+4>>2]=d|3;m=k+d+4|0;c[m>>2]=c[m>>2]|1;gs(k,d);return a|0}if((i|0)==(c[11688]|0)){k=(c[11685]|0)+d|0;d=k-b|0;e=a+b|0;if(k>>>0<=b>>>0){a=0;return a|0}c[m>>2]=l&1|b|2;c[e+4>>2]=d|1;c[11688]=e;c[11685]=d;return a|0}if((i|0)==(c[11687]|0)){f=(c[11684]|0)+d|0;if(f>>>0>>0){a=0;return a|0}d=f-b|0;e=l&1;if(d>>>0>15){l=a+b|0;k=l+d|0;c[m>>2]=e|b|2;c[l+4>>2]=d|1;c[k>>2]=d;e=k+4|0;c[e>>2]=c[e>>2]&-2;e=l}else{c[m>>2]=e|f|2;e=a+f+4|0;c[e>>2]=c[e>>2]|1;e=0;d=0}c[11684]=d;c[11687]=e;return a|0}e=c[i+4>>2]|0;if(e&2|0){a=0;return a|0}j=(e&-8)+d|0;if(j>>>0>>0){a=0;return a|0}k=j-b|0;f=e>>>3;do if(e>>>0<256){e=c[i+8>>2]|0;d=c[i+12>>2]|0;if((d|0)==(e|0)){c[11682]=c[11682]&~(1<>2]=d;c[d+8>>2]=e;break}}else{h=c[i+24>>2]|0;d=c[i+12>>2]|0;do if((d|0)==(i|0)){f=i+16|0;e=f+4|0;d=c[e>>2]|0;if(!d){d=c[f>>2]|0;if(!d){f=0;break}else g=f}else g=e;while(1){f=d+20|0;e=c[f>>2]|0;if(e|0){d=e;g=f;continue}e=d+16|0;f=c[e>>2]|0;if(!f)break;else{d=f;g=e}}c[g>>2]=0;f=d}else{f=c[i+8>>2]|0;c[f+12>>2]=d;c[d+8>>2]=f;f=d}while(0);if(h|0){d=c[i+28>>2]|0;e=47032+(d<<2)|0;if((i|0)==(c[e>>2]|0)){c[e>>2]=f;if(!f){c[11683]=c[11683]&~(1<>2]|0)!=(i|0)&1)<<2)>>2]=f;if(!f)break}c[f+24>>2]=h;d=i+16|0;e=c[d>>2]|0;if(e|0){c[f+16>>2]=e;c[e+24>>2]=f}d=c[d+4>>2]|0;if(d|0){c[f+20>>2]=d;c[d+24>>2]=f}}}while(0);d=l&1;if(k>>>0<16){c[m>>2]=j|d|2;m=a+j+4|0;c[m>>2]=c[m>>2]|1;return a|0}else{l=a+b|0;c[m>>2]=d|b|2;c[l+4>>2]=k|3;m=l+k+4|0;c[m>>2]=c[m>>2]|1;gs(l,k);return a|0}return 0}function gs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0;j=a+b|0;d=c[a+4>>2]|0;do if(!(d&1)){e=c[a>>2]|0;if(!(d&3))return;g=a+(0-e)|0;h=e+b|0;if((g|0)==(c[11687]|0)){a=j+4|0;d=c[a>>2]|0;if((d&3|0)!=3){i=g;d=h;break}c[11684]=h;c[a>>2]=d&-2;c[g+4>>2]=h|1;c[g+h>>2]=h;return}b=e>>>3;if(e>>>0<256){a=c[g+8>>2]|0;d=c[g+12>>2]|0;if((d|0)==(a|0)){c[11682]=c[11682]&~(1<>2]=d;c[d+8>>2]=a;i=g;d=h;break}}f=c[g+24>>2]|0;a=c[g+12>>2]|0;do if((a|0)==(g|0)){b=g+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){a=0;break}else d=b}while(1){b=a+20|0;e=c[b>>2]|0;if(e|0){a=e;d=b;continue}b=a+16|0;e=c[b>>2]|0;if(!e)break;else{a=e;d=b}}c[d>>2]=0}else{i=c[g+8>>2]|0;c[i+12>>2]=a;c[a+8>>2]=i}while(0);if(f){d=c[g+28>>2]|0;b=47032+(d<<2)|0;if((g|0)==(c[b>>2]|0)){c[b>>2]=a;if(!a){c[11683]=c[11683]&~(1<>2]|0)!=(g|0)&1)<<2)>>2]=a;if(!a){i=g;d=h;break}}c[a+24>>2]=f;d=g+16|0;b=c[d>>2]|0;if(b|0){c[a+16>>2]=b;c[b+24>>2]=a}d=c[d+4>>2]|0;if(d){c[a+20>>2]=d;c[d+24>>2]=a;i=g;d=h}else{i=g;d=h}}else{i=g;d=h}}else{i=a;d=b}while(0);a=j+4|0;e=c[a>>2]|0;if(!(e&2)){a=c[11687]|0;if((j|0)==(c[11688]|0)){j=(c[11685]|0)+d|0;c[11685]=j;c[11688]=i;c[i+4>>2]=j|1;if((i|0)!=(a|0))return;c[11687]=0;c[11684]=0;return}if((j|0)==(a|0)){j=(c[11684]|0)+d|0;c[11684]=j;c[11687]=i;c[i+4>>2]=j|1;c[i+j>>2]=j;return}g=(e&-8)+d|0;b=e>>>3;do if(e>>>0<256){d=c[j+8>>2]|0;a=c[j+12>>2]|0;if((a|0)==(d|0)){c[11682]=c[11682]&~(1<>2]=a;c[a+8>>2]=d;break}}else{f=c[j+24>>2]|0;a=c[j+12>>2]|0;do if((a|0)==(j|0)){b=j+16|0;d=b+4|0;a=c[d>>2]|0;if(!a){a=c[b>>2]|0;if(!a){b=0;break}else d=b}while(1){b=a+20|0;e=c[b>>2]|0;if(e|0){a=e;d=b;continue}b=a+16|0;e=c[b>>2]|0;if(!e)break;else{a=e;d=b}}c[d>>2]=0;b=a}else{b=c[j+8>>2]|0;c[b+12>>2]=a;c[a+8>>2]=b;b=a}while(0);if(f|0){a=c[j+28>>2]|0;d=47032+(a<<2)|0;if((j|0)==(c[d>>2]|0)){c[d>>2]=b;if(!b){c[11683]=c[11683]&~(1<>2]|0)!=(j|0)&1)<<2)>>2]=b;if(!b)break}c[b+24>>2]=f;a=j+16|0;d=c[a>>2]|0;if(d|0){c[b+16>>2]=d;c[d+24>>2]=b}a=c[a+4>>2]|0;if(a|0){c[b+20>>2]=a;c[a+24>>2]=b}}}while(0);c[i+4>>2]=g|1;c[i+g>>2]=g;if((i|0)==(c[11687]|0)){c[11684]=g;return}else d=g}else{c[a>>2]=e&-2;c[i+4>>2]=d|1;c[i+d>>2]=d}a=d>>>3;if(d>>>0<256){b=46768+(a<<1<<2)|0;d=c[11682]|0;a=1<>2]|0}c[d>>2]=i;c[a+12>>2]=i;c[i+8>>2]=a;c[i+12>>2]=b;return}a=d>>>8;if(a)if(d>>>0>16777215)a=31;else{h=(a+1048320|0)>>>16&8;j=a<>>16&4;j=j<>>16&2;a=14-(g|h|a)+(j<>>15)|0;a=d>>>(a+7|0)&1|a<<1}else a=0;f=47032+(a<<2)|0;c[i+28>>2]=a;c[i+20>>2]=0;c[i+16>>2]=0;b=c[11683]|0;e=1<>2]=i;c[i+24>>2]=f;c[i+12>>2]=i;c[i+8>>2]=i;return}b=d<<((a|0)==31?0:25-(a>>>1)|0);e=c[f>>2]|0;while(1){if((c[e+4>>2]&-8|0)==(d|0)){a=69;break}f=e+16+(b>>>31<<2)|0;a=c[f>>2]|0;if(!a){a=68;break}else{b=b<<1;e=a}}if((a|0)==68){c[f>>2]=i;c[i+24>>2]=e;c[i+12>>2]=i;c[i+8>>2]=i;return}else if((a|0)==69){h=e+8|0;j=c[h>>2]|0;c[j+12>>2]=i;c[h>>2]=i;c[i+8>>2]=j;c[i+12>>2]=e;c[i+24>>2]=0;return}}function hs(a,b){a=a|0;b=b|0;if(a>>>0<9){b=bs(b)|0;return b|0}else{b=is(a,b)|0;return b|0}return 0}function is(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0;a=a>>>0>16?a:16;if(a+-1&a){d=16;while(1)if(d>>>0>>0)d=d<<1;else{a=d;break}}if((-64-a|0)>>>0<=b>>>0){c[(ks()|0)>>2]=12;h=0;return h|0}g=b>>>0<11?16:b+11&-8;d=bs(g+12+a|0)|0;if(!d){h=0;return h|0}f=d+-8|0;do if(d&a+-1){e=(d+a+-1&0-a)+-8|0;b=f;e=(e-b|0)>>>0>15?e:e+a|0;b=e-b|0;a=d+-4|0;i=c[a>>2]|0;d=(i&-8)-b|0;if(!(i&3)){c[e>>2]=(c[f>>2]|0)+b;c[e+4>>2]=d;a=e;b=e;break}else{i=e+4|0;c[i>>2]=d|c[i>>2]&1|2;d=e+d+4|0;c[d>>2]=c[d>>2]|1;c[a>>2]=b|c[a>>2]&1|2;c[i>>2]=c[i>>2]|1;gs(f,b);a=e;b=e;break}}else{a=f;b=f}while(0);a=a+4|0;d=c[a>>2]|0;if(d&3|0?(h=d&-8,h>>>0>(g+16|0)>>>0):0){i=h-g|0;h=b+g|0;c[a>>2]=g|d&1|2;c[h+4>>2]=i|3;g=h+i+4|0;c[g>>2]=c[g>>2]|1;gs(h,i)}i=b+8|0;return i|0}function js(a){a=a|0;if(a>>>0>4294963200){c[(ks()|0)>>2]=0-a;a=-1}return a|0}function ks(){return (ls()|0)+64|0}function ls(){return ms()|0}function ms(){return 8720}function ns(a){a=a|0;return a|0}function os(){return 47224}function ps(a){a=+a;var b=0;h[j>>3]=a;b=c[j+4>>2]&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=b;a=+h[j>>3];do if(b>>>0<1072049730)if(b>>>0<1045430272)a=1.0;else{a=+qs(a);a=a*a/((a+1.0)*2.0)+1.0}else if(b>>>0<1082535490){a=+L(+a);a=(a+1.0/a)*.5;break}else{a=+rs(a);break}while(0);return +a}function qs(a){a=+a;var b=0,d=0.0,e=0.0,f=0,g=0.0,i=0,k=0,l=0.0;h[j>>3]=a;b=c[j+4>>2]|0;f=b&2147483647;b=Qt(c[j>>2]|0,b|0,63)|0;do if(f>>>0>1078159481){f=ss(a)|0;k=z&2147483647;if(!(k>>>0>2146435072|(k|0)==2146435072&f>>>0>0))if(!b)if(a>709.782712893384)a=a*8988465674311579538646525.0e283;else{d=.5;i=12}else a=-1.0}else{if(f>>>0<=1071001154)if(f>>>0<1016070144)break;else{g=0.0;b=0;i=15;break}b=(b|0)!=0;if(f>>>0>=1072734898){d=b?-.5:.5;i=12;break}if(b){b=-1;d=a+.6931471803691238;e=-1.9082149292705877e-10;i=13;break}else{b=1;d=a+-.6931471803691238;e=1.9082149292705877e-10;i=13;break}}while(0);if((i|0)==12){b=~~(a*1.4426950408889634+d);e=+(b|0);d=a-e*.6931471803691238;e=e*1.9082149292705877e-10;i=13}if((i|0)==13){g=d-e;a=g;g=d-g-e;i=15}a:do if((i|0)==15){e=a*.5;d=a*e;l=d*(d*(d*(d*(4.008217827329362e-06-d*2.0109921818362437e-07)+-7.93650757867488e-05)+1.5873015872548146e-03)+-.03333333333333313)+1.0;e=3.0-e*l;e=d*((l-e)/(6.0-a*e));if(!b){a=a-(a*e-d);break}d=a*(e-g)-g-d;switch(b|0){case -1:{a=(a-d)*.5+-.5;break a}case 1:if(a<-.25){a=(d-(a+.5))*-2.0;break a}else{a=(a-d)*2.0+1.0;break a}default:{i=Rt(b+1023|0,0,52)|0;k=z;c[j>>2]=i;c[j+4>>2]=k;e=+h[j>>3];if(b>>>0>56){a=a-d+1.0;a=((b|0)==1024?a*2.0*8988465674311579538646525.0e283:e*a)+-1.0;break a}else{f=Rt(1023-b|0,0,52)|0;i=z;k=(b|0)<20;c[j>>2]=f;c[j+4>>2]=i;l=+h[j>>3];a=e*((k?1.0-l:1.0)+(a-(k?d:l+d)));break a}}}}while(0);return +a}function rs(a){a=+a;return +(+L(+(a+-1416.0996898839683))*2247116418577894884661631.0e283*2247116418577894884661631.0e283)}function ss(a){a=+a;var b=0;h[j>>3]=a;b=c[j>>2]|0;z=c[j+4>>2]|0;return b|0}function ts(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0,i=0.0,k=0.0,l=0.0,m=0.0;h[j>>3]=a;b=c[j>>2]|0;d=c[j+4>>2]|0;e=(d|0)<0;do if(e|d>>>0<1048576){if((b|0)==0&(d&2147483647|0)==0){a=-1.0/(a*a);break}if(e){a=(a-a)/0.0;break}else{h[j>>3]=a*18014398509481984.0;d=c[j+4>>2]|0;e=-1077;b=c[j>>2]|0;f=9;break}}else if(d>>>0<=2146435071)if((b|0)==0&0==0&(d|0)==1072693248)a=0.0;else{e=-1023;f=9}while(0);if((f|0)==9){f=d+614242|0;c[j>>2]=b;c[j+4>>2]=(f&1048575)+1072079006;k=+h[j>>3]+-1.0;i=k*(k*.5);l=k/(k+2.0);m=l*l;a=m*m;h[j>>3]=k-i;d=c[j+4>>2]|0;c[j>>2]=0;c[j+4>>2]=d;g=+h[j>>3];a=k-g-i+l*(i+(a*(a*(a*.15313837699209373+.22222198432149784)+.3999999999940942)+m*(a*(a*(a*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)));m=g*.4342944818781689;i=+(e+(f>>>20)|0);l=i*.30102999566361177;k=l+m;a=k+(m+(l-k)+(a*.4342944818781689+(i*3.694239077158931e-13+(g+a)*2.5082946711645275e-11)))}return +a}function us(a){a=+a;var b=0;h[j>>3]=a;b=Qt(c[j>>2]|0,c[j+4>>2]|0,52)|0;b=b&2047;do if(b>>>0>=1024)if(b>>>0<1049){a=+M(+(a*2.0-1.0/(+C(+(a*a+-1.0))+a)));break}else{a=+M(+a)+.6931471805599453;break}else{a=a+-1.0;a=+vs(a+ +C(+(a*a+a*2.0)))}while(0);return +a}function vs(a){a=+a;var b=0,d=0.0,e=0,f=0.0,g=0,i=0.0,k=0.0,l=0.0,m=0.0;h[j>>3]=a;b=c[j+4>>2]|0;do if((b|0)<0|b>>>0<1071284858)if(b>>>0<=3220176895){g=Rt(b|0,0,1)|0;if(g>>>0<2034237440)break;if(b>>>0<3218259653){f=0.0;d=0.0;e=11;break}else{e=8;break}}else{if(a==-1.0){a=-t;break}a=(a-a)/0.0;break}else if(b>>>0<=2146435071)e=8;while(0);if((e|0)==8){d=a+1.0;h[j>>3]=d;b=(c[j+4>>2]|0)+614242|0;e=(b>>>20)+-1023|0;if((e|0)<54){g=(e|0)>1;d=((g?1.0:a)-(d+(g?-a:-1.0)))/d}else d=0.0;c[j>>2]=c[j>>2];c[j+4>>2]=(b&1048575)+1072079006;f=+(e|0);a=+h[j>>3]+-1.0;e=11}if((e|0)==11){i=a*(a*.5);m=a/(a+2.0);l=m*m;k=l*l;a=f*.6931471803691238+(a+(d+f*1.9082149292705877e-10+m*(i+(k*(k*(k*.15313837699209373+.22222198432149784)+.3999999999940942)+l*(k*(k*(k*.14798198605116586+.1818357216161805)+.2857142874366239)+.6666666666666735)))-i))}return +a}function ws(a){a=+a;var b=0.0,d=0.0,e=0;h[j>>3]=a;e=c[j+4>>2]|0;d=(e|0)<0?-.5:.5;e=e&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=e;b=+h[j>>3];do if(e>>>0<1082535490){b=+qs(b);if(e>>>0>=1072693248){a=d*(b+b/(b+1.0));break}if(e>>>0>=1045430272)a=d*(b*2.0-b*b/(b+1.0))}else a=d*2.0*+rs(b);while(0);return +a}function xs(a){a=+a;var b=0,d=0,e=0,f=0,g=0.0;h[j>>3]=a;f=c[j>>2]|0;d=c[j+4>>2]|0;b=Qt(f|0,d|0,52)|0;b=b&2047;c[j>>2]=f;c[j+4>>2]=d&2147483647;a=+h[j>>3];if(b>>>0<1022){if(b>>>0>=991){g=a*2.0;a=g+a*g/(1.0-a);e=5}}else{a=a/(1.0-a)*2.0;e=5}if((e|0)==5)a=+vs(a)*.5;return +((d|0)<0?-a:a)}function ys(a){a=+a;var b=0,d=0,e=0,f=0.0;h[j>>3]=a;e=c[j>>2]|0;d=c[j+4>>2]|0;b=Qt(e|0,d|0,52)|0;b=b&2047;c[j>>2]=e;c[j+4>>2]=d&2147483647;a=+h[j>>3];do if(b>>>0<=1048){if(b>>>0>1023){a=+M(+(a*2.0+1.0/(a+ +C(+(a*a+1.0)))));break}if(b>>>0>996){f=a*a;a=+vs(a+f/(+C(+(f+1.0))+1.0))}}else a=+M(+a)+.6931471805599453;while(0);return +((d|0)<0?-a:a)}function zs(a){a=+a;var b=0,d=0;h[j>>3]=a;d=c[j+4>>2]|0;b=d&2147483647;c[j>>2]=c[j>>2];c[j+4>>2]=b;a=+h[j>>3];do if(b>>>0>1071748074)if(b>>>0>1077149696){a=1.0-0.0/a;break}else{a=1.0-2.0/(+qs(a*2.0)+2.0);break}else{if(b>>>0>1070618798){a=+qs(a*2.0);a=a/(a+2.0);break}if(b>>>0>1048575){a=+qs(a*-2.0);a=-a/(a+2.0)}}while(0);return +((d|0)<0?-a:a)}function As(b){b=b|0;var d=0,e=0,f=0;f=b;a:do if(!(f&3))e=4;else{d=f;while(1){if(!(a[b>>0]|0)){b=d;break a}b=b+1|0;d=b;if(!(d&3)){e=4;break}}}while(0);if((e|0)==4){while(1){d=c[b>>2]|0;if(!((d&-2139062144^-2139062144)&d+-16843009))b=b+4|0;else break}if((d&255)<<24>>24)do b=b+1|0;while((a[b>>0]|0)!=0)}return b-f|0}function Bs(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0;a:do if(!d)b=0;else{while(1){e=a[b>>0]|0;f=a[c>>0]|0;if(e<<24>>24!=f<<24>>24)break;d=d+-1|0;if(!d){b=0;break a}else{b=b+1|0;c=c+1|0}}b=(e&255)-(f&255)|0}while(0);return b|0}function Cs(a,b){a=a|0;b=b|0;Ds(a,b)|0;return a|0}function Ds(b,d){b=b|0;d=d|0;var e=0,f=0;e=d;a:do if(!((e^b)&3)){if(e&3)do{e=a[d>>0]|0;a[b>>0]=e;if(!(e<<24>>24))break a;d=d+1|0;b=b+1|0}while((d&3|0)!=0);e=c[d>>2]|0;if(!((e&-2139062144^-2139062144)&e+-16843009)){f=b;while(1){d=d+4|0;b=f+4|0;c[f>>2]=e;e=c[d>>2]|0;if((e&-2139062144^-2139062144)&e+-16843009|0)break;else f=b}}f=8}else f=8;while(0);if((f|0)==8){f=a[d>>0]|0;a[b>>0]=f;if(f<<24>>24)do{d=d+1|0;b=b+1|0;f=a[d>>0]|0;a[b>>0]=f}while(f<<24>>24!=0)}return b|0}function Es(a){a=a|0;return Gs(a,c[(Fs()|0)+188>>2]|0)|0}function Fs(){return ms()|0}function Gs(b,e){b=b|0;e=e|0;var f=0,g=0;g=0;while(1){if((d[44534+g>>0]|0)==(b|0)){b=2;break}f=g+1|0;if((f|0)==87){f=44622;g=87;b=5;break}else g=f}if((b|0)==2)if(!g)f=44622;else{f=44622;b=5}if((b|0)==5)while(1){do{b=f;f=f+1|0}while((a[b>>0]|0)!=0);g=g+-1|0;if(!g)break;else b=5}return Hs(f,c[e+20>>2]|0)|0}function Hs(a,b){a=a|0;b=b|0;return Is(a,b)|0}function Is(a,b){a=a|0;b=b|0;if(!b)b=0;else b=Js(c[b>>2]|0,c[b+4>>2]|0,a)|0;return (b|0?b:a)|0}function Js(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;o=(c[b>>2]|0)+1794895138|0;h=Ks(c[b+8>>2]|0,o)|0;f=Ks(c[b+12>>2]|0,o)|0;g=Ks(c[b+16>>2]|0,o)|0;a:do if((h>>>0>>2>>>0?(n=d-(h<<2)|0,f>>>0>>0&g>>>0>>0):0)?((g|f)&3|0)==0:0){n=f>>>2;m=g>>>2;l=0;while(1){j=h>>>1;k=l+j|0;i=k<<1;g=i+n|0;f=Ks(c[b+(g<<2)>>2]|0,o)|0;g=Ks(c[b+(g+1<<2)>>2]|0,o)|0;if(!(g>>>0>>0&f>>>0<(d-g|0)>>>0)){f=0;break a}if(a[b+(g+f)>>0]|0){f=0;break a}f=Ls(e,b+g|0)|0;if(!f)break;f=(f|0)<0;if((h|0)==1){f=0;break a}else{l=f?l:k;h=f?j:h-j|0}}f=i+m|0;g=Ks(c[b+(f<<2)>>2]|0,o)|0;f=Ks(c[b+(f+1<<2)>>2]|0,o)|0;if(f>>>0>>0&g>>>0<(d-f|0)>>>0)f=(a[b+(f+g)>>0]|0)==0?b+f|0:0;else f=0}else f=0;while(0);return f|0}function Ks(a,b){a=a|0;b=b|0;var c=0;c=St(a|0)|0;return ((b|0)==0?a:c)|0}function Ls(b,c){b=b|0;c=c|0;var d=0,e=0;d=a[b>>0]|0;e=a[c>>0]|0;if(d<<24>>24==0?1:d<<24>>24!=e<<24>>24)b=e;else{do{b=b+1|0;c=c+1|0;d=a[b>>0]|0;e=a[c>>0]|0}while(!(d<<24>>24==0?1:d<<24>>24!=e<<24>>24));b=e}return (d&255)-(b&255)|0}function Ms(b,c,d){b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0;if(!d)e=0;else{h=a[b>>0]|0;e=h&255;g=a[c>>0]|0;f=g&255;a:do if(h<<24>>24)do{d=d+-1|0;if(!(h<<24>>24==g<<24>>24&((d|0)!=0&g<<24>>24!=0)))break a;b=b+1|0;c=c+1|0;h=a[b>>0]|0;e=h&255;g=a[c>>0]|0;f=g&255}while(h<<24>>24!=0);while(0);e=e-f|0}return e|0}function Ns(a,b,c){a=a|0;b=b|0;c=c|0;Os(a,b,c)|0;return a|0}function Os(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;g=d;do if(!((g^b)&3)){f=(e|0)!=0;a:do if(f&(g&3|0)!=0)while(1){g=a[d>>0]|0;a[b>>0]=g;if(!(g<<24>>24))break a;e=e+-1|0;d=d+1|0;b=b+1|0;f=(e|0)!=0;if(!(f&(d&3|0)!=0)){h=5;break}}else h=5;while(0);if((h|0)==5)if(!f){e=0;break}if(a[d>>0]|0){b:do if(e>>>0>3){f=d;while(1){d=c[f>>2]|0;if((d&-2139062144^-2139062144)&d+-16843009|0){d=f;break b}c[b>>2]=d;e=e+-4|0;d=f+4|0;b=b+4|0;if(e>>>0>3)f=d;else break}}while(0);h=11}}else h=11;while(0);c:do if((h|0)==11)if(!e)e=0;else while(1){h=a[d>>0]|0;a[b>>0]=h;if(!(h<<24>>24))break c;e=e+-1|0;b=b+1|0;if(!e){e=0;break}else d=d+1|0}while(0);Vt(b|0,0,e|0)|0;return b|0}function Ps(b,d){b=b|0;d=d|0;var e=0,f=0,g=0;f=d&255;a:do if(!f)b=b+(As(b)|0)|0;else{if(b&3){e=d&255;do{g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break a;b=b+1|0}while((b&3|0)!=0)}f=O(f,16843009)|0;e=c[b>>2]|0;b:do if(!((e&-2139062144^-2139062144)&e+-16843009))do{g=e^f;if((g&-2139062144^-2139062144)&g+-16843009|0)break b;b=b+4|0;e=c[b>>2]|0}while(!((e&-2139062144^-2139062144)&e+-16843009|0));while(0);e=d&255;while(1){g=a[b>>0]|0;if(g<<24>>24==0?1:g<<24>>24==e<<24>>24)break;else b=b+1|0}}while(0);return b|0}function Qs(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=ns(a)|0;a=Sa(6,d|0)|0;a=js((a|0)==-4?0:a)|0;l=b;return a|0}function Rs(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0;m=l;l=l+208|0;j=m+8|0;k=m;h=O(d,b)|0;i=k;c[i>>2]=1;c[i+4>>2]=0;a:do if(h|0){i=0-d|0;c[j+4>>2]=d;c[j>>2]=d;f=2;b=d;g=d;while(1){b=b+d+g|0;c[j+(f<<2)>>2]=b;if(b>>>0>>0){n=g;f=f+1|0;g=b;b=n}else break}g=a+h+i|0;if(g>>>0>a>>>0){h=g;f=1;b=1;do{do if((b&3|0)!=3){b=f+-1|0;if((c[j+(b<<2)>>2]|0)>>>0<(h-a|0)>>>0)Ss(a,d,e,f,j);else Us(a,d,e,k,f,0,j);if((f|0)==1){Vs(k,1);f=0;break}else{Vs(k,b);f=1;break}}else{Ss(a,d,e,f,j);Ts(k,2);f=f+2|0}while(0);b=c[k>>2]|1;c[k>>2]=b;a=a+d|0}while(a>>>0>>0)}else{f=1;b=1}Us(a,d,e,k,f,0,j);g=k+4|0;while(1){if((f|0)==1&(b|0)==1){if(!(c[g>>2]|0))break a}else if((f|0)>=2){Vs(k,2);n=f+-2|0;c[k>>2]=c[k>>2]^7;Ts(k,1);Us(a+(0-(c[j+(n<<2)>>2]|0))+i|0,d,e,k,f+-1|0,1,j);Vs(k,1);b=c[k>>2]|1;c[k>>2]=b;h=a+i|0;Us(h,d,e,k,n,1,j);a=h;f=n;continue}b=Ws(k)|0;Ts(k,b);a=a+i|0;f=b+f|0;b=c[k>>2]|0}}while(0);l=m;return}function Ss(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,m=0,n=0;n=l;l=l+240|0;m=n;c[m>>2]=a;a:do if((e|0)>1){k=0-b|0;g=a;j=e;e=1;while(1){h=g+k|0;i=j+-2|0;g=h+(0-(c[f+(i<<2)>>2]|0))|0;if((kb[d&255](a,g)|0)>-1?(kb[d&255](a,h)|0)>-1:0)break a;a=e+1|0;e=m+(e<<2)|0;if((kb[d&255](g,h)|0)>-1){c[e>>2]=g;e=j+-1|0}else{c[e>>2]=h;g=h;e=i}if((e|0)<=1){e=a;break a}j=e;e=a;a=c[m>>2]|0}}else e=1;while(0);Ys(b,m,e);l=n;return}function Ts(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[f>>2]|0;c[a>>2]=e;c[f>>2]=0;b=b+-32|0;d=0}else{d=c[f>>2]|0;e=c[a>>2]|0}c[a>>2]=d<<32-b|e>>>b;c[f>>2]=d>>>b;return}function Us(a,b,d,e,f,g,h){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;var i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0;p=l;l=l+240|0;n=p+232|0;o=p;q=c[e>>2]|0;c[n>>2]=q;j=c[e+4>>2]|0;k=n+4|0;c[k>>2]=j;c[o>>2]=a;a:do if((q|0)!=1|(j|0)!=0?(m=0-b|0,i=a+(0-(c[h+(f<<2)>>2]|0))|0,(kb[d&255](i,a)|0)>=1):0){e=1;g=(g|0)==0;j=i;while(1){if(g&(f|0)>1){g=a+m|0;i=c[h+(f+-2<<2)>>2]|0;if((kb[d&255](g,j)|0)>-1){i=10;break a}if((kb[d&255](g+(0-i)|0,j)|0)>-1){i=10;break a}}g=e+1|0;c[o+(e<<2)>>2]=j;q=Ws(n)|0;Ts(n,q);f=q+f|0;if(!((c[n>>2]|0)!=1|(c[k>>2]|0)!=0)){e=g;a=j;i=10;break a}a=j+(0-(c[h+(f<<2)>>2]|0))|0;if((kb[d&255](a,c[o>>2]|0)|0)<1){a=j;e=g;g=0;i=9;break}else{q=j;e=g;g=1;j=a;a=q}}}else{e=1;i=9}while(0);if((i|0)==9?(g|0)==0:0)i=10;if((i|0)==10){Ys(b,o,e);Ss(a,b,d,f,h)}l=p;return}function Vs(a,b){a=a|0;b=b|0;var d=0,e=0,f=0;f=a+4|0;if(b>>>0>31){e=c[a>>2]|0;c[f>>2]=e;c[a>>2]=0;b=b+-32|0;d=0}else{d=c[a>>2]|0;e=c[f>>2]|0}c[f>>2]=d>>>(32-b|0)|e<>2]=d<>2]|0)+-1|0)|0;if(!b){b=Xs(c[a+4>>2]|0)|0;return ((b|0)==0?0:b+32|0)|0}else return b|0;return 0}function Xs(a){a=a|0;var b=0;if(a)if(!(a&1)){b=a;a=0;do{a=a+1|0;b=b>>>1}while(!(b&1|0))}else a=0;else a=32;return a|0}function Ys(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+256|0;e=h;a:do if((d|0)>=2?(g=b+(d<<2)|0,c[g>>2]=e,a|0):0)while(1){f=a>>>0<256?a:256;Tt(e|0,c[b>>2]|0,f|0)|0;e=0;do{i=b+(e<<2)|0;e=e+1|0;Tt(c[i>>2]|0,c[b+(e<<2)>>2]|0,f|0)|0;c[i>>2]=(c[i>>2]|0)+f}while((e|0)!=(d|0));a=a-f|0;if(!a)break a;e=c[g>>2]|0}while(0);l=h;return}function Zs(a){a=a|0;return ((a|32)+-97|0)>>>0<26|0}function _s(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+48|0;f=g+40|0;e=g+8|0;d=g;c[d>>2]=a;c[d+4>>2]=b;d=Fa(197,d|0)|0;if((d|0)==-9?(c[e>>2]=a,c[e+4>>2]=1,(La(221,e|0)|0)>=0):0){at(e,a);c[f>>2]=e;c[f+4>>2]=b;b=js(Da(195,f|0)|0)|0}else b=js(d)|0;l=g;return b|0}function $s(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0;s=l;l=l+192|0;i=s+152|0;h=s+136|0;r=s+120|0;q=s+104|0;p=s+96|0;m=s+80|0;k=s+64|0;f=s+48|0;n=s+32|0;g=s+16|0;e=s;t=s+176|0;j=s+168|0;c[t>>2]=d;d=(c[t>>2]|0)+(4-1)&~(4-1);o=c[d>>2]|0;c[t>>2]=d+4;o=(b|0)==4?o|32768:o;switch(b|0){case 14:{c[e>>2]=a;c[e+4>>2]=14;c[e+8>>2]=o;d=js(La(221,e|0)|0)|0;break}case 9:{c[g>>2]=a;c[g+4>>2]=16;c[g+8>>2]=j;d=La(221,g|0)|0;switch(d|0){case -22:{c[n>>2]=a;c[n+4>>2]=9;c[n+8>>2]=o;d=La(221,n|0)|0;break}case 0:{d=c[j+4>>2]|0;d=(c[j>>2]|0)==2?0-d|0:d;break}default:d=js(d)|0}break}case 1030:{c[f>>2]=a;c[f+4>>2]=1030;c[f+8>>2]=o;d=La(221,f|0)|0;do if((d|0)==-22){c[m>>2]=a;c[m+4>>2]=1030;c[m+8>>2]=0;d=La(221,m|0)|0;if((d|0)==-22){c[q>>2]=a;c[q+4>>2]=0;c[q+8>>2]=o;d=La(221,q|0)|0;if((d|0)<=-1)break;c[r>>2]=d;c[r+4>>2]=2;c[r+8>>2]=1;La(221,r|0)|0;break}else{if((d|0)<=-1){d=-22;break}c[p>>2]=d;Sa(6,p|0)|0;d=-22;break}}else if((d|0)>-1){c[k>>2]=d;c[k+4>>2]=2;c[k+8>>2]=1;La(221,k|0)|0}while(0);d=js(d)|0;break}case 15:case 16:case 12:case 13:{c[h>>2]=a;c[h+4>>2]=b;c[h+8>>2]=o;d=js(La(221,h|0)|0)|0;break}default:{c[i>>2]=a;c[i+4>>2]=b;c[i+8>>2]=o;d=js(La(221,i|0)|0)|0}}l=s;return d|0}function at(b,c){b=b|0;c=c|0;var d=0,e=0,f=0;d=b;e=46426;f=d+15|0;do{a[d>>0]=a[e>>0]|0;d=d+1|0;e=e+1|0}while((d|0)<(f|0));if(!c){a[b+14>>0]=48;a[b+15>>0]=0}else{e=c;d=14;while(1){d=d+1|0;if(e>>>0<10)break;else e=(e>>>0)/10|0}a[b+d>>0]=0;while(1){d=d+-1|0;a[b+d>>0]=(c>>>0)%10|0|48;if(c>>>0<10)break;else c=(c>>>0)/10|0}}return}function bt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0;f=l;l=l+32|0;g=f;e=f+20|0;c[g>>2]=a;c[g+4>>2]=0;c[g+8>>2]=b;c[g+12>>2]=e;c[g+16>>2]=d;d=(js(ya(140,g|0)|0)|0)!=0;l=f;return (d?-1:c[e>>2]|0)|0}function ct(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+48|0;g=h+16|0;f=h;e=h+32|0;if(!(b&4194368))e=0;else{c[e>>2]=d;i=(c[e>>2]|0)+(4-1)&~(4-1);d=c[i>>2]|0;c[e>>2]=i+4;e=d}c[f>>2]=a;c[f+4>>2]=b|32768;c[f+8>>2]=e;e=Ra(5,f|0)|0;if(!((b&524288|0)==0|(e|0)<0)){c[g>>2]=e;c[g+4>>2]=2;c[g+8>>2]=1;La(221,g|0)|0}i=js(e)|0;l=h;return i|0}function dt(a){a=a|0;return ((a|0)==32|(a|0)==9)&1|0}function et(a){a=a|0;return (a+-97|0)>>>0<26|0}function ft(a){a=a|0;var b=0;b=(et(a)|0)==0;return (b?a:a&95)|0}function gt(a){a=a|0;var b=0;b=(ht(a)|0)==0;return (b?a:a|32)|0}function ht(a){a=a|0;return (a+-65|0)>>>0<26|0}function it(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=js(Ua(91,e|0)|0)|0;l=d;return b|0}function jt(){return}function kt(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=js(Oa(39,e|0)|0)|0;l=d;return b|0}function lt(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=js(Da(195,e|0)|0)|0;l=d;return b|0}function mt(){var a=0,b=0;b=l;l=l+16|0;a=Ga(20,b|0)|0;l=b;return a|0}function nt(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=js(Na(33,e|0)|0)|0;l=d;return b|0}function ot(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=js(xa(118,d|0)|0)|0;l=b;return a|0}function pt(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+4112|0;e=g;d=g+8|0;if(a)if(!b){c[(ks()|0)>>2]=22;a=0}else f=4;else{b=4096;a=d;f=4}if((f|0)==4){c[e>>2]=a;c[e+4>>2]=b;if((js(Aa(183,e|0)|0)|0)>=0){if((a|0)==(d|0))a=qt(d)|0}else a=0}l=g;return a|0}function qt(a){a=a|0;var b=0,c=0;c=(As(a)|0)+1|0;b=bs(c)|0;if(!b)b=0;else Tt(b|0,a|0,c|0)|0;return b|0}function rt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;d=js(Ma(3,f|0)|0)|0;l=e;return d|0}function st(a){a=a|0;var b=0,d=0;d=l;l=l+16|0;b=d;c[b>>2]=a;c[b+4>>2]=0;a=(bb(b|0,b|0)|0)==0;l=d;return (a?0:c[b>>2]|0)|0}function tt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;d=js(Ta(85,f|0)|0)|0;l=e;return d|0}function ut(){var a=0,b=0;b=l;l=l+16|0;a=Ha(201,b|0)|0;l=b;return a|0}function vt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0;e=l;l=l+16|0;f=e;c[f>>2]=a;c[f+4>>2]=b;c[f+8>>2]=d;d=js(Pa(4,f|0)|0)|0;l=e;return d|0}function wt(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=0;c[e+8>>2]=b;c[e+12>>2]=((b|0)<0)<<31>>31;b=js(Ca(194,e|0)|0)|0;l=d;return b|0}function xt(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=js(Qa(40,d|0)|0)|0;l=b;return a|0}function yt(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0;h=l;l=l+64|0;g=h+48|0;f=h+16|0;e=h;c[e>>2]=a;c[e+4>>2]=b;c[e+8>>2]=d;e=Ja(207,e|0)|0;if((e|0)==-9?(c[f>>2]=a,c[f+4>>2]=1,(La(221,f|0)|0)>=0):0){at(f,a);c[g>>2]=f;c[g+4>>2]=b;c[g+8>>2]=d;a=js(Ka(212,g|0)|0)|0}else a=js(e)|0;l=h;return a|0}function zt(a){a=a|0;var b=0,d=0;b=l;l=l+16|0;d=b;c[d>>2]=a;a=js(wa(10,d|0)|0)|0;l=b;return a|0}function At(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+32|0;f=h;e=a[d>>0]|0;a:do if(e<<24>>24!=0?(a[d+1>>0]|0)!=0:0){c[f>>2]=0;c[f+4>>2]=0;c[f+8>>2]=0;c[f+12>>2]=0;c[f+16>>2]=0;c[f+20>>2]=0;c[f+24>>2]=0;c[f+28>>2]=0;do{i=f+(((e&255)>>>5&255)<<2)|0;c[i>>2]=c[i>>2]|1<<(e&31);d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0);e=a[b>>0]|0;if(!(e<<24>>24))d=b;else{d=b;do{if(c[f+(((e&255)>>>5&255)<<2)>>2]&1<<(e&31)|0)break a;d=d+1|0;e=a[d>>0]|0}while(e<<24>>24!=0)}}else g=3;while(0);if((g|0)==3)d=Ps(b,e<<24>>24)|0;l=h;return d-b|0}function Bt(a,b){a=a|0;b=b|0;var d=0,e=0;d=l;l=l+16|0;e=d;c[e>>2]=a;c[e+4>>2]=b;b=js(Ea(196,e|0)|0)|0;l=d;return b|0}function Ct(a,b){a=a|0;b=b|0;var d=0,e=0,f=0,g=0;g=l;l=l+48|0;f=g+40|0;e=g+8|0;d=g;c[d>>2]=a;c[d+4>>2]=b;d=Va(94,d|0)|0;if((d|0)==-9?(c[e>>2]=a,c[e+4>>2]=1,(La(221,e|0)|0)>=0):0){at(e,a);c[f>>2]=e;c[f+4>>2]=b;a=js(za(15,f|0)|0)|0}else a=js(d)|0;l=g;return a|0}function Dt(a,b,d,e,f,g){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;g=g|0;var h=0,i=0,j=0;j=l;l=l+32|0;i=j;h=((g|0)<0)<<31>>31;do if((g&4095|0)==0&(h&-4096|0)==0){if(b>>>0>2147483646){c[(ks()|0)>>2]=12;a=-1;break}h=Qt(g|0,h|0,12)|0;c[i>>2]=a;c[i+4>>2]=b;c[i+8>>2]=d;c[i+12>>2]=e;c[i+16>>2]=f;c[i+20>>2]=h;a=js(Ba(192,i|0)|0)|0}else{c[(ks()|0)>>2]=22;a=-1}while(0);l=j;return a|0}function Et(){}function Ft(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;c=a+c>>>0;return (z=b+d+(c>>>0>>0|0)>>>0,c|0)|0}function Gt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;d=b-d-(c>>>0>a>>>0|0)>>>0;return (z=d,a-c>>>0|0)|0}function Ht(b){b=b|0;var c=0;c=a[n+(b&255)>>0]|0;if((c|0)<8)return c|0;c=a[n+(b>>8&255)>>0]|0;if((c|0)<8)return c+8|0;c=a[n+(b>>16&255)>>0]|0;if((c|0)<8)return c+16|0;return (a[n+(b>>>24)>>0]|0)+24|0}function It(a,b,d,e,f){a=a|0;b=b|0;d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;l=a;j=b;k=j;h=d;n=e;i=n;if(!k){g=(f|0)!=0;if(!i){if(g){c[f>>2]=(l>>>0)%(h>>>0);c[f+4>>2]=0}n=0;f=(l>>>0)/(h>>>0)>>>0;return (z=n,f)|0}else{if(!g){n=0;f=0;return (z=n,f)|0}c[f>>2]=a|0;c[f+4>>2]=b&0;n=0;f=0;return (z=n,f)|0}}g=(i|0)==0;do if(h){if(!g){g=(R(i|0)|0)-(R(k|0)|0)|0;if(g>>>0<=31){m=g+1|0;i=31-g|0;b=g-31>>31;h=m;a=l>>>(m>>>0)&b|k<>>(m>>>0)&b;g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;n=0;f=0;return (z=n,f)|0}g=h-1|0;if(g&h|0){i=(R(h|0)|0)+33-(R(k|0)|0)|0;p=64-i|0;m=32-i|0;j=m>>31;o=i-32|0;b=o>>31;h=i;a=m-1>>31&k>>>(o>>>0)|(k<>>(i>>>0))&b;b=b&k>>>(i>>>0);g=l<>>(o>>>0))&j|l<>31;break}if(f|0){c[f>>2]=g&l;c[f+4>>2]=0}if((h|0)==1){o=j|b&0;p=a|0|0;return (z=o,p)|0}else{p=Ht(h|0)|0;o=k>>>(p>>>0)|0;p=k<<32-p|l>>>(p>>>0)|0;return (z=o,p)|0}}else{if(g){if(f|0){c[f>>2]=(k>>>0)%(h>>>0);c[f+4>>2]=0}o=0;p=(k>>>0)/(h>>>0)>>>0;return (z=o,p)|0}if(!l){if(f|0){c[f>>2]=0;c[f+4>>2]=(k>>>0)%(i>>>0)}o=0;p=(k>>>0)/(i>>>0)>>>0;return (z=o,p)|0}g=i-1|0;if(!(g&i)){if(f|0){c[f>>2]=a|0;c[f+4>>2]=g&k|b&0}o=0;p=k>>>((Ht(i|0)|0)>>>0);return (z=o,p)|0}g=(R(i|0)|0)-(R(k|0)|0)|0;if(g>>>0<=30){b=g+1|0;i=31-g|0;h=b;a=k<>>(b>>>0);b=k>>>(b>>>0);g=0;i=l<>2]=a|0;c[f+4>>2]=j|b&0;o=0;p=0;return (z=o,p)|0}while(0);if(!h){k=i;j=0;i=0}else{m=d|0|0;l=n|e&0;k=Ft(m|0,l|0,-1,-1)|0;d=z;j=i;i=0;do{e=j;j=g>>>31|j<<1;g=i|g<<1;e=a<<1|e>>>31|0;n=a>>>31|b<<1|0;Gt(k|0,d|0,e|0,n|0)|0;p=z;o=p>>31|((p|0)<0?-1:0)<<1;i=o&1;a=Gt(e|0,n|0,o&m|0,(((p|0)<0?-1:0)>>31|((p|0)<0?-1:0)<<1)&l|0)|0;b=z;h=h-1|0}while((h|0)!=0);k=j;j=0}h=0;if(f|0){c[f>>2]=a;c[f+4>>2]=b}o=(g|0)>>>31|(k|h)<<1|(h<<1|g>>>31)&0|j;p=(g<<1|0>>>31)&-2|i;return (z=o,p)|0}function Jt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0;j=b>>31|((b|0)<0?-1:0)<<1;i=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;f=d>>31|((d|0)<0?-1:0)<<1;e=((d|0)<0?-1:0)>>31|((d|0)<0?-1:0)<<1;h=Gt(j^a|0,i^b|0,j|0,i|0)|0;g=z;a=f^j;b=e^i;return Gt((It(h,g,Gt(f^c|0,e^d|0,f|0,e|0)|0,z,0)|0)^a|0,z^b|0,a|0,b|0)|0}function Kt(a,b){a=a|0;b=b|0;var c=0,d=0,e=0,f=0;f=a&65535;e=b&65535;c=O(e,f)|0;d=a>>>16;a=(c>>>16)+(O(e,d)|0)|0;e=b>>>16;b=O(e,f)|0;return (z=(a>>>16)+(O(e,d)|0)+(((a&65535)+b|0)>>>16)|0,a+b<<16|c&65535|0)|0}function Lt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;var e=0,f=0;e=a;f=c;c=Kt(e,f)|0;a=z;return (z=(O(b,f)|0)+(O(d,e)|0)+a|a&0,c|0|0)|0}function Mt(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;f=l;l=l+16|0;i=f|0;h=b>>31|((b|0)<0?-1:0)<<1;g=((b|0)<0?-1:0)>>31|((b|0)<0?-1:0)<<1;k=e>>31|((e|0)<0?-1:0)<<1;j=((e|0)<0?-1:0)>>31|((e|0)<0?-1:0)<<1;a=Gt(h^a|0,g^b|0,h|0,g|0)|0;b=z;It(a,b,Gt(k^d|0,j^e|0,k|0,j|0)|0,z,i)|0;e=Gt(c[i>>2]^h|0,c[i+4>>2]^g|0,h|0,g|0)|0;d=z;l=f;return (z=d,e)|0}function Nt(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return It(a,b,c,d,0)|0}function Ot(a,b,d,e){a=a|0;b=b|0;d=d|0;e=e|0;var f=0,g=0;g=l;l=l+16|0;f=g|0;It(a,b,d,e,f)|0;l=g;return (z=c[f+4>>2]|0,c[f>>2]|0)|0}function Pt(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b>>c;return a>>>c|(b&(1<>c-32|0}function Qt(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b>>>c;return a>>>c|(b&(1<>>c-32|0}function Rt(a,b,c){a=a|0;b=b|0;c=c|0;if((c|0)<32){z=b<>>32-c;return a<>8&255)<<16|(a>>16&255)<<8|a>>>24|0}function Tt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0;if((e|0)>=8192)return Wa(b|0,d|0,e|0)|0;h=b|0;g=b+e|0;if((b&3)==(d&3)){while(b&3){if(!e)return h|0;a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0;e=e-1|0}e=g&-4|0;f=e-64|0;while((b|0)<=(f|0)){c[b>>2]=c[d>>2];c[b+4>>2]=c[d+4>>2];c[b+8>>2]=c[d+8>>2];c[b+12>>2]=c[d+12>>2];c[b+16>>2]=c[d+16>>2];c[b+20>>2]=c[d+20>>2];c[b+24>>2]=c[d+24>>2];c[b+28>>2]=c[d+28>>2];c[b+32>>2]=c[d+32>>2];c[b+36>>2]=c[d+36>>2];c[b+40>>2]=c[d+40>>2];c[b+44>>2]=c[d+44>>2];c[b+48>>2]=c[d+48>>2];c[b+52>>2]=c[d+52>>2];c[b+56>>2]=c[d+56>>2];c[b+60>>2]=c[d+60>>2];b=b+64|0;d=d+64|0}while((b|0)<(e|0)){c[b>>2]=c[d>>2];b=b+4|0;d=d+4|0}}else{e=g-4|0;while((b|0)<(e|0)){a[b>>0]=a[d>>0]|0;a[b+1>>0]=a[d+1>>0]|0;a[b+2>>0]=a[d+2>>0]|0;a[b+3>>0]=a[d+3>>0]|0;b=b+4|0;d=d+4|0}}while((b|0)<(g|0)){a[b>>0]=a[d>>0]|0;b=b+1|0;d=d+1|0}return h|0}function Ut(b,c,d){b=b|0;c=c|0;d=d|0;var e=0;if((c|0)<(b|0)&(b|0)<(c+d|0)){e=b;c=c+d|0;b=b+d|0;while((d|0)>0){b=b-1|0;c=c-1|0;d=d-1|0;a[b>>0]=a[c>>0]|0}b=e}else Tt(b,c,d)|0;return b|0}function Vt(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0;h=b+e|0;d=d&255;if((e|0)>=67){while(b&3){a[b>>0]=d;b=b+1|0}f=h&-4|0;g=f-64|0;i=d|d<<8|d<<16|d<<24;while((b|0)<=(g|0)){c[b>>2]=i;c[b+4>>2]=i;c[b+8>>2]=i;c[b+12>>2]=i;c[b+16>>2]=i;c[b+20>>2]=i;c[b+24>>2]=i;c[b+28>>2]=i;c[b+32>>2]=i;c[b+36>>2]=i;c[b+40>>2]=i;c[b+44>>2]=i;c[b+48>>2]=i;c[b+52>>2]=i;c[b+56>>2]=i;c[b+60>>2]=i;b=b+64|0}while((b|0)<(f|0)){c[b>>2]=i;b=b+4|0}}while((b|0)<(h|0)){a[b>>0]=d;b=b+1|0}return h-e|0}function Wt(a){a=a|0;var b=0,d=0;d=a+15&-16|0;b=c[i>>2]|0;a=b+d|0;if((d|0)>0&(a|0)<(b|0)|(a|0)<0){W()|0;va(12);return -1}c[i>>2]=a;if((a|0)>(V()|0)?(U()|0)==0:0){c[i>>2]=b;va(12);return -1}return b|0}function Xt(a){a=a|0;return ib[a&255]()|0}function Yt(){return Y(0)|0}function Zt(){return Y(1)|0}function _t(){return Y(2)|0}function $t(){return Y(3)|0}function au(){return Y(4)|0}function bu(){return Y(5)|0}function cu(){return Y(6)|0}function du(){return Y(7)|0}function eu(){return Y(8)|0}function fu(){return Y(9)|0}function gu(){return Y(10)|0}function hu(){return Y(11)|0}function iu(){return Y(12)|0}function ju(){return Y(13)|0}function ku(){return Y(14)|0}function lu(){return Y(15)|0}function mu(){return Y(16)|0}function nu(){return Y(17)|0}function ou(){return Y(18)|0}function pu(){return Y(19)|0}function qu(){return Y(20)|0}function ru(){return Y(21)|0}function su(){return Y(22)|0}function tu(){return Y(23)|0}function uu(){return Y(24)|0}function vu(){return Y(25)|0}function wu(){return Y(26)|0}function xu(){return Y(27)|0}function yu(){return Y(28)|0}function zu(){return Y(29)|0}function Au(){return Y(30)|0}function Bu(){return Y(31)|0}function Cu(){return Y(32)|0}function Du(){return Y(33)|0}function Eu(){return Y(34)|0}function Fu(){return Y(35)|0}function Gu(){return Y(36)|0}function Hu(){return Y(37)|0}function Iu(){return Y(38)|0}function Ju(){return Y(39)|0}function Ku(){return Y(40)|0}function Lu(){return Y(41)|0}function Mu(){return Y(42)|0}function Nu(){return Y(43)|0}function Ou(){return Y(44)|0}function Pu(){return Y(45)|0}function Qu(){return Y(46)|0}function Ru(){return Y(47)|0}function Su(){return Y(48)|0}function Tu(){return Y(49)|0}function Uu(){return Y(50)|0}function Vu(){return Y(51)|0}function Wu(){return Y(52)|0}function Xu(){return Y(53)|0}function Yu(){return Y(54)|0}function Zu(){return Y(55)|0}function _u(){return Y(56)|0}function $u(){return Y(57)|0}function av(){return Y(58)|0}function bv(){return Y(59)|0}function cv(){return Y(60)|0}function dv(){return Y(61)|0}function ev(){return Y(62)|0}function fv(){return Y(63)|0}function gv(a,b){a=a|0;b=b|0;return jb[a&255](b|0)|0}function hv(a){a=a|0;return _(0,a|0)|0}function iv(a){a=a|0;return _(1,a|0)|0}function jv(a){a=a|0;return _(2,a|0)|0}function kv(a){a=a|0;return _(3,a|0)|0}function lv(a){a=a|0;return _(4,a|0)|0}function mv(a){a=a|0;return _(5,a|0)|0}function nv(a){a=a|0;return _(6,a|0)|0}function ov(a){a=a|0;return _(7,a|0)|0}function pv(a){a=a|0;return _(8,a|0)|0}function qv(a){a=a|0;return _(9,a|0)|0}function rv(a){a=a|0;return _(10,a|0)|0}function sv(a){a=a|0;return _(11,a|0)|0}function tv(a){a=a|0;return _(12,a|0)|0}function uv(a){a=a|0;return _(13,a|0)|0}function vv(a){a=a|0;return _(14,a|0)|0}function wv(a){a=a|0;return _(15,a|0)|0}function xv(a){a=a|0;return _(16,a|0)|0}function yv(a){a=a|0;return _(17,a|0)|0}function zv(a){a=a|0;return _(18,a|0)|0}function Av(a){a=a|0;return _(19,a|0)|0}function Bv(a){a=a|0;return _(20,a|0)|0}function Cv(a){a=a|0;return _(21,a|0)|0}function Dv(a){a=a|0;return _(22,a|0)|0}function Ev(a){a=a|0;return _(23,a|0)|0}function Fv(a){a=a|0;return _(24,a|0)|0}function Gv(a){a=a|0;return _(25,a|0)|0}function Hv(a){a=a|0;return _(26,a|0)|0}function Iv(a){a=a|0;return _(27,a|0)|0}function Jv(a){a=a|0;return _(28,a|0)|0}function Kv(a){a=a|0;return _(29,a|0)|0}function Lv(a){a=a|0;return _(30,a|0)|0}function Mv(a){a=a|0;return _(31,a|0)|0}function Nv(a){a=a|0;return _(32,a|0)|0}function Ov(a){a=a|0;return _(33,a|0)|0}function Pv(a){a=a|0;return _(34,a|0)|0}function Qv(a){a=a|0;return _(35,a|0)|0}function Rv(a){a=a|0;return _(36,a|0)|0}function Sv(a){a=a|0;return _(37,a|0)|0}function Tv(a){a=a|0;return _(38,a|0)|0}function Uv(a){a=a|0;return _(39,a|0)|0}function Vv(a){a=a|0;return _(40,a|0)|0}function Wv(a){a=a|0;return _(41,a|0)|0}function Xv(a){a=a|0;return _(42,a|0)|0}function Yv(a){a=a|0;return _(43,a|0)|0}function Zv(a){a=a|0;return _(44,a|0)|0}function _v(a){a=a|0;return _(45,a|0)|0}function $v(a){a=a|0;return _(46,a|0)|0}function aw(a){a=a|0;return _(47,a|0)|0}function bw(a){a=a|0;return _(48,a|0)|0}function cw(a){a=a|0;return _(49,a|0)|0}function dw(a){a=a|0;return _(50,a|0)|0}function ew(a){a=a|0;return _(51,a|0)|0}function fw(a){a=a|0;return _(52,a|0)|0}function gw(a){a=a|0;return _(53,a|0)|0}function hw(a){a=a|0;return _(54,a|0)|0}function iw(a){a=a|0;return _(55,a|0)|0}function jw(a){a=a|0;return _(56,a|0)|0}function kw(a){a=a|0;return _(57,a|0)|0}function lw(a){a=a|0;return _(58,a|0)|0}function mw(a){a=a|0;return _(59,a|0)|0}function nw(a){a=a|0;return _(60,a|0)|0}function ow(a){a=a|0;return _(61,a|0)|0}function pw(a){a=a|0;return _(62,a|0)|0}function qw(a){a=a|0;return _(63,a|0)|0}function rw(a,b,c){a=a|0;b=b|0;c=c|0;return kb[a&255](b|0,c|0)|0}function sw(a,b){a=a|0;b=b|0;return aa(0,a|0,b|0)|0}function tw(a,b){a=a|0;b=b|0;return aa(1,a|0,b|0)|0}function uw(a,b){a=a|0;b=b|0;return aa(2,a|0,b|0)|0}function vw(a,b){a=a|0;b=b|0;return aa(3,a|0,b|0)|0}function ww(a,b){a=a|0;b=b|0;return aa(4,a|0,b|0)|0}function xw(a,b){a=a|0;b=b|0;return aa(5,a|0,b|0)|0}function yw(a,b){a=a|0;b=b|0;return aa(6,a|0,b|0)|0}function zw(a,b){a=a|0;b=b|0;return aa(7,a|0,b|0)|0}function Aw(a,b){a=a|0;b=b|0;return aa(8,a|0,b|0)|0}function Bw(a,b){a=a|0;b=b|0;return aa(9,a|0,b|0)|0}function Cw(a,b){a=a|0;b=b|0;return aa(10,a|0,b|0)|0}function Dw(a,b){a=a|0;b=b|0;return aa(11,a|0,b|0)|0}function Ew(a,b){a=a|0;b=b|0;return aa(12,a|0,b|0)|0}function Fw(a,b){a=a|0;b=b|0;return aa(13,a|0,b|0)|0}function Gw(a,b){a=a|0;b=b|0;return aa(14,a|0,b|0)|0}function Hw(a,b){a=a|0;b=b|0;return aa(15,a|0,b|0)|0}function Iw(a,b){a=a|0;b=b|0;return aa(16,a|0,b|0)|0}function Jw(a,b){a=a|0;b=b|0;return aa(17,a|0,b|0)|0}function Kw(a,b){a=a|0;b=b|0;return aa(18,a|0,b|0)|0}function Lw(a,b){a=a|0;b=b|0;return aa(19,a|0,b|0)|0}function Mw(a,b){a=a|0;b=b|0;return aa(20,a|0,b|0)|0}function Nw(a,b){a=a|0;b=b|0;return aa(21,a|0,b|0)|0}function Ow(a,b){a=a|0;b=b|0;return aa(22,a|0,b|0)|0}function Pw(a,b){a=a|0;b=b|0;return aa(23,a|0,b|0)|0}function Qw(a,b){a=a|0;b=b|0;return aa(24,a|0,b|0)|0}function Rw(a,b){a=a|0;b=b|0;return aa(25,a|0,b|0)|0}function Sw(a,b){a=a|0;b=b|0;return aa(26,a|0,b|0)|0}function Tw(a,b){a=a|0;b=b|0;return aa(27,a|0,b|0)|0}function Uw(a,b){a=a|0;b=b|0;return aa(28,a|0,b|0)|0}function Vw(a,b){a=a|0;b=b|0;return aa(29,a|0,b|0)|0}function Ww(a,b){a=a|0;b=b|0;return aa(30,a|0,b|0)|0}function Xw(a,b){a=a|0;b=b|0;return aa(31,a|0,b|0)|0}function Yw(a,b){a=a|0;b=b|0;return aa(32,a|0,b|0)|0}function Zw(a,b){a=a|0;b=b|0;return aa(33,a|0,b|0)|0}function _w(a,b){a=a|0;b=b|0;return aa(34,a|0,b|0)|0}function $w(a,b){a=a|0;b=b|0;return aa(35,a|0,b|0)|0}function ax(a,b){a=a|0;b=b|0;return aa(36,a|0,b|0)|0}function bx(a,b){a=a|0;b=b|0;return aa(37,a|0,b|0)|0}function cx(a,b){a=a|0;b=b|0;return aa(38,a|0,b|0)|0}function dx(a,b){a=a|0;b=b|0;return aa(39,a|0,b|0)|0}function ex(a,b){a=a|0;b=b|0;return aa(40,a|0,b|0)|0}function fx(a,b){a=a|0;b=b|0;return aa(41,a|0,b|0)|0}function gx(a,b){a=a|0;b=b|0;return aa(42,a|0,b|0)|0}function hx(a,b){a=a|0;b=b|0;return aa(43,a|0,b|0)|0}function ix(a,b){a=a|0;b=b|0;return aa(44,a|0,b|0)|0}function jx(a,b){a=a|0;b=b|0;return aa(45,a|0,b|0)|0}function kx(a,b){a=a|0;b=b|0;return aa(46,a|0,b|0)|0}function lx(a,b){a=a|0;b=b|0;return aa(47,a|0,b|0)|0}function mx(a,b){a=a|0;b=b|0;return aa(48,a|0,b|0)|0}function nx(a,b){a=a|0;b=b|0;return aa(49,a|0,b|0)|0}function ox(a,b){a=a|0;b=b|0;return aa(50,a|0,b|0)|0}function px(a,b){a=a|0;b=b|0;return aa(51,a|0,b|0)|0}function qx(a,b){a=a|0;b=b|0;return aa(52,a|0,b|0)|0}function rx(a,b){a=a|0;b=b|0;return aa(53,a|0,b|0)|0}function sx(a,b){a=a|0;b=b|0;return aa(54,a|0,b|0)|0}function tx(a,b){a=a|0;b=b|0;return aa(55,a|0,b|0)|0}function ux(a,b){a=a|0;b=b|0;return aa(56,a|0,b|0)|0}function vx(a,b){a=a|0;b=b|0;return aa(57,a|0,b|0)|0}function wx(a,b){a=a|0;b=b|0;return aa(58,a|0,b|0)|0}function xx(a,b){a=a|0;b=b|0;return aa(59,a|0,b|0)|0}function yx(a,b){a=a|0;b=b|0;return aa(60,a|0,b|0)|0}function zx(a,b){a=a|0;b=b|0;return aa(61,a|0,b|0)|0}function Ax(a,b){a=a|0;b=b|0;return aa(62,a|0,b|0)|0}function Bx(a,b){a=a|0;b=b|0;return aa(63,a|0,b|0)|0}function Cx(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return lb[a&255](b|0,c|0,d|0)|0}function Dx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(0,a|0,b|0,c|0)|0}function Ex(a,b,c){a=a|0;b=b|0;c=c|0;return ca(1,a|0,b|0,c|0)|0}function Fx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(2,a|0,b|0,c|0)|0}function Gx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(3,a|0,b|0,c|0)|0}function Hx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(4,a|0,b|0,c|0)|0}function Ix(a,b,c){a=a|0;b=b|0;c=c|0;return ca(5,a|0,b|0,c|0)|0}function Jx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(6,a|0,b|0,c|0)|0}function Kx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(7,a|0,b|0,c|0)|0}function Lx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(8,a|0,b|0,c|0)|0}function Mx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(9,a|0,b|0,c|0)|0}function Nx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(10,a|0,b|0,c|0)|0}function Ox(a,b,c){a=a|0;b=b|0;c=c|0;return ca(11,a|0,b|0,c|0)|0}function Px(a,b,c){a=a|0;b=b|0;c=c|0;return ca(12,a|0,b|0,c|0)|0}function Qx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(13,a|0,b|0,c|0)|0}function Rx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(14,a|0,b|0,c|0)|0}function Sx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(15,a|0,b|0,c|0)|0}function Tx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(16,a|0,b|0,c|0)|0}function Ux(a,b,c){a=a|0;b=b|0;c=c|0;return ca(17,a|0,b|0,c|0)|0}function Vx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(18,a|0,b|0,c|0)|0}function Wx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(19,a|0,b|0,c|0)|0}function Xx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(20,a|0,b|0,c|0)|0}function Yx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(21,a|0,b|0,c|0)|0}function Zx(a,b,c){a=a|0;b=b|0;c=c|0;return ca(22,a|0,b|0,c|0)|0}function _x(a,b,c){a=a|0;b=b|0;c=c|0;return ca(23,a|0,b|0,c|0)|0}function $x(a,b,c){a=a|0;b=b|0;c=c|0;return ca(24,a|0,b|0,c|0)|0}function ay(a,b,c){a=a|0;b=b|0;c=c|0;return ca(25,a|0,b|0,c|0)|0}function by(a,b,c){a=a|0;b=b|0;c=c|0;return ca(26,a|0,b|0,c|0)|0}function cy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(27,a|0,b|0,c|0)|0}function dy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(28,a|0,b|0,c|0)|0}function ey(a,b,c){a=a|0;b=b|0;c=c|0;return ca(29,a|0,b|0,c|0)|0}function fy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(30,a|0,b|0,c|0)|0}function gy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(31,a|0,b|0,c|0)|0}function hy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(32,a|0,b|0,c|0)|0}function iy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(33,a|0,b|0,c|0)|0}function jy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(34,a|0,b|0,c|0)|0}function ky(a,b,c){a=a|0;b=b|0;c=c|0;return ca(35,a|0,b|0,c|0)|0}function ly(a,b,c){a=a|0;b=b|0;c=c|0;return ca(36,a|0,b|0,c|0)|0}function my(a,b,c){a=a|0;b=b|0;c=c|0;return ca(37,a|0,b|0,c|0)|0}function ny(a,b,c){a=a|0;b=b|0;c=c|0;return ca(38,a|0,b|0,c|0)|0}function oy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(39,a|0,b|0,c|0)|0}function py(a,b,c){a=a|0;b=b|0;c=c|0;return ca(40,a|0,b|0,c|0)|0}function qy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(41,a|0,b|0,c|0)|0}function ry(a,b,c){a=a|0;b=b|0;c=c|0;return ca(42,a|0,b|0,c|0)|0}function sy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(43,a|0,b|0,c|0)|0}function ty(a,b,c){a=a|0;b=b|0;c=c|0;return ca(44,a|0,b|0,c|0)|0}function uy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(45,a|0,b|0,c|0)|0}function vy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(46,a|0,b|0,c|0)|0}function wy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(47,a|0,b|0,c|0)|0}function xy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(48,a|0,b|0,c|0)|0}function yy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(49,a|0,b|0,c|0)|0}function zy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(50,a|0,b|0,c|0)|0}function Ay(a,b,c){a=a|0;b=b|0;c=c|0;return ca(51,a|0,b|0,c|0)|0}function By(a,b,c){a=a|0;b=b|0;c=c|0;return ca(52,a|0,b|0,c|0)|0}function Cy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(53,a|0,b|0,c|0)|0}function Dy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(54,a|0,b|0,c|0)|0}function Ey(a,b,c){a=a|0;b=b|0;c=c|0;return ca(55,a|0,b|0,c|0)|0}function Fy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(56,a|0,b|0,c|0)|0}function Gy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(57,a|0,b|0,c|0)|0}function Hy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(58,a|0,b|0,c|0)|0}function Iy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(59,a|0,b|0,c|0)|0}function Jy(a,b,c){a=a|0;b=b|0;c=c|0;return ca(60,a|0,b|0,c|0)|0}function Ky(a,b,c){a=a|0;b=b|0;c=c|0;return ca(61,a|0,b|0,c|0)|0}function Ly(a,b,c){a=a|0;b=b|0;c=c|0;return ca(62,a|0,b|0,c|0)|0}function My(a,b,c){a=a|0;b=b|0;c=c|0;return ca(63,a|0,b|0,c|0)|0}function Ny(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return mb[a&255](b|0,c|0,d|0,e|0)|0}function Oy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(0,a|0,b|0,c|0,d|0)|0}function Py(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(1,a|0,b|0,c|0,d|0)|0}function Qy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(2,a|0,b|0,c|0,d|0)|0}function Ry(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(3,a|0,b|0,c|0,d|0)|0}function Sy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(4,a|0,b|0,c|0,d|0)|0}function Ty(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(5,a|0,b|0,c|0,d|0)|0}function Uy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(6,a|0,b|0,c|0,d|0)|0}function Vy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(7,a|0,b|0,c|0,d|0)|0}function Wy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(8,a|0,b|0,c|0,d|0)|0}function Xy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(9,a|0,b|0,c|0,d|0)|0}function Yy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(10,a|0,b|0,c|0,d|0)|0}function Zy(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(11,a|0,b|0,c|0,d|0)|0}function _y(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(12,a|0,b|0,c|0,d|0)|0}function $y(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(13,a|0,b|0,c|0,d|0)|0}function az(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(14,a|0,b|0,c|0,d|0)|0}function bz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(15,a|0,b|0,c|0,d|0)|0}function cz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(16,a|0,b|0,c|0,d|0)|0}function dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(17,a|0,b|0,c|0,d|0)|0}function ez(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(18,a|0,b|0,c|0,d|0)|0}function fz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(19,a|0,b|0,c|0,d|0)|0}function gz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(20,a|0,b|0,c|0,d|0)|0}function hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(21,a|0,b|0,c|0,d|0)|0}function iz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(22,a|0,b|0,c|0,d|0)|0}function jz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(23,a|0,b|0,c|0,d|0)|0}function kz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(24,a|0,b|0,c|0,d|0)|0}function lz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(25,a|0,b|0,c|0,d|0)|0}function mz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(26,a|0,b|0,c|0,d|0)|0}function nz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(27,a|0,b|0,c|0,d|0)|0}function oz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(28,a|0,b|0,c|0,d|0)|0}function pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(29,a|0,b|0,c|0,d|0)|0}function qz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(30,a|0,b|0,c|0,d|0)|0}function rz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(31,a|0,b|0,c|0,d|0)|0}function sz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(32,a|0,b|0,c|0,d|0)|0}function tz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(33,a|0,b|0,c|0,d|0)|0}function uz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(34,a|0,b|0,c|0,d|0)|0}function vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(35,a|0,b|0,c|0,d|0)|0}function wz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(36,a|0,b|0,c|0,d|0)|0}function xz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(37,a|0,b|0,c|0,d|0)|0}function yz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(38,a|0,b|0,c|0,d|0)|0}function zz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(39,a|0,b|0,c|0,d|0)|0}function Az(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(40,a|0,b|0,c|0,d|0)|0}function Bz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(41,a|0,b|0,c|0,d|0)|0}function Cz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(42,a|0,b|0,c|0,d|0)|0}function Dz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(43,a|0,b|0,c|0,d|0)|0}function Ez(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(44,a|0,b|0,c|0,d|0)|0}function Fz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(45,a|0,b|0,c|0,d|0)|0}function Gz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(46,a|0,b|0,c|0,d|0)|0}function Hz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(47,a|0,b|0,c|0,d|0)|0}function Iz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(48,a|0,b|0,c|0,d|0)|0}function Jz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(49,a|0,b|0,c|0,d|0)|0}function Kz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(50,a|0,b|0,c|0,d|0)|0}function Lz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(51,a|0,b|0,c|0,d|0)|0}function Mz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(52,a|0,b|0,c|0,d|0)|0}function Nz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(53,a|0,b|0,c|0,d|0)|0}function Oz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(54,a|0,b|0,c|0,d|0)|0}function Pz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(55,a|0,b|0,c|0,d|0)|0}function Qz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(56,a|0,b|0,c|0,d|0)|0}function Rz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(57,a|0,b|0,c|0,d|0)|0}function Sz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(58,a|0,b|0,c|0,d|0)|0}function Tz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(59,a|0,b|0,c|0,d|0)|0}function Uz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(60,a|0,b|0,c|0,d|0)|0}function Vz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(61,a|0,b|0,c|0,d|0)|0}function Wz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(62,a|0,b|0,c|0,d|0)|0}function Xz(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;return ea(63,a|0,b|0,c|0,d|0)|0}function Yz(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return nb[a&255](b|0,c|0,d|0,e|0,f|0)|0}function Zz(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(0,a|0,b|0,c|0,d|0,e|0)|0}function _z(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(1,a|0,b|0,c|0,d|0,e|0)|0}function $z(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(2,a|0,b|0,c|0,d|0,e|0)|0}function aA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(3,a|0,b|0,c|0,d|0,e|0)|0}function bA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(4,a|0,b|0,c|0,d|0,e|0)|0}function cA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(5,a|0,b|0,c|0,d|0,e|0)|0}function dA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(6,a|0,b|0,c|0,d|0,e|0)|0}function eA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(7,a|0,b|0,c|0,d|0,e|0)|0}function fA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(8,a|0,b|0,c|0,d|0,e|0)|0}function gA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(9,a|0,b|0,c|0,d|0,e|0)|0}function hA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(10,a|0,b|0,c|0,d|0,e|0)|0}function iA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(11,a|0,b|0,c|0,d|0,e|0)|0}function jA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(12,a|0,b|0,c|0,d|0,e|0)|0}function kA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(13,a|0,b|0,c|0,d|0,e|0)|0}function lA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(14,a|0,b|0,c|0,d|0,e|0)|0}function mA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(15,a|0,b|0,c|0,d|0,e|0)|0}function nA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(16,a|0,b|0,c|0,d|0,e|0)|0}function oA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(17,a|0,b|0,c|0,d|0,e|0)|0}function pA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(18,a|0,b|0,c|0,d|0,e|0)|0}function qA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(19,a|0,b|0,c|0,d|0,e|0)|0}function rA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(20,a|0,b|0,c|0,d|0,e|0)|0}function sA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(21,a|0,b|0,c|0,d|0,e|0)|0}function tA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(22,a|0,b|0,c|0,d|0,e|0)|0}function uA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(23,a|0,b|0,c|0,d|0,e|0)|0}function vA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(24,a|0,b|0,c|0,d|0,e|0)|0}function wA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(25,a|0,b|0,c|0,d|0,e|0)|0}function xA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(26,a|0,b|0,c|0,d|0,e|0)|0}function yA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(27,a|0,b|0,c|0,d|0,e|0)|0}function zA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(28,a|0,b|0,c|0,d|0,e|0)|0}function AA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(29,a|0,b|0,c|0,d|0,e|0)|0}function BA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(30,a|0,b|0,c|0,d|0,e|0)|0}function CA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(31,a|0,b|0,c|0,d|0,e|0)|0}function DA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(32,a|0,b|0,c|0,d|0,e|0)|0}function EA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(33,a|0,b|0,c|0,d|0,e|0)|0}function FA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(34,a|0,b|0,c|0,d|0,e|0)|0}function GA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(35,a|0,b|0,c|0,d|0,e|0)|0}function HA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(36,a|0,b|0,c|0,d|0,e|0)|0}function IA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(37,a|0,b|0,c|0,d|0,e|0)|0}function JA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(38,a|0,b|0,c|0,d|0,e|0)|0}function KA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(39,a|0,b|0,c|0,d|0,e|0)|0}function LA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(40,a|0,b|0,c|0,d|0,e|0)|0}function MA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(41,a|0,b|0,c|0,d|0,e|0)|0}function NA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(42,a|0,b|0,c|0,d|0,e|0)|0}function OA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(43,a|0,b|0,c|0,d|0,e|0)|0}function PA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(44,a|0,b|0,c|0,d|0,e|0)|0}function QA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(45,a|0,b|0,c|0,d|0,e|0)|0}function RA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(46,a|0,b|0,c|0,d|0,e|0)|0}function SA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(47,a|0,b|0,c|0,d|0,e|0)|0}function TA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(48,a|0,b|0,c|0,d|0,e|0)|0}function UA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(49,a|0,b|0,c|0,d|0,e|0)|0}function VA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(50,a|0,b|0,c|0,d|0,e|0)|0}function WA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(51,a|0,b|0,c|0,d|0,e|0)|0}function XA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(52,a|0,b|0,c|0,d|0,e|0)|0}function YA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(53,a|0,b|0,c|0,d|0,e|0)|0}function ZA(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(54,a|0,b|0,c|0,d|0,e|0)|0}function _A(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(55,a|0,b|0,c|0,d|0,e|0)|0}function $A(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(56,a|0,b|0,c|0,d|0,e|0)|0}function aB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(57,a|0,b|0,c|0,d|0,e|0)|0}function bB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(58,a|0,b|0,c|0,d|0,e|0)|0}function cB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(59,a|0,b|0,c|0,d|0,e|0)|0}function dB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(60,a|0,b|0,c|0,d|0,e|0)|0}function eB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(61,a|0,b|0,c|0,d|0,e|0)|0}function fB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(62,a|0,b|0,c|0,d|0,e|0)|0}function gB(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;return ga(63,a|0,b|0,c|0,d|0,e|0)|0}function hB(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;return ob[a&255](b|0,c|0,d|0,e|0,f|0,g|0)|0}function iB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(0,a|0,b|0,c|0,d|0,e|0,f|0)|0}function jB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(1,a|0,b|0,c|0,d|0,e|0,f|0)|0}function kB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(2,a|0,b|0,c|0,d|0,e|0,f|0)|0}function lB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(3,a|0,b|0,c|0,d|0,e|0,f|0)|0}function mB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(4,a|0,b|0,c|0,d|0,e|0,f|0)|0}function nB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(5,a|0,b|0,c|0,d|0,e|0,f|0)|0}function oB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(6,a|0,b|0,c|0,d|0,e|0,f|0)|0}function pB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(7,a|0,b|0,c|0,d|0,e|0,f|0)|0}function qB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(8,a|0,b|0,c|0,d|0,e|0,f|0)|0}function rB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(9,a|0,b|0,c|0,d|0,e|0,f|0)|0}function sB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(10,a|0,b|0,c|0,d|0,e|0,f|0)|0}function tB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(11,a|0,b|0,c|0,d|0,e|0,f|0)|0}function uB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(12,a|0,b|0,c|0,d|0,e|0,f|0)|0}function vB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(13,a|0,b|0,c|0,d|0,e|0,f|0)|0}function wB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(14,a|0,b|0,c|0,d|0,e|0,f|0)|0}function xB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(15,a|0,b|0,c|0,d|0,e|0,f|0)|0}function yB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(16,a|0,b|0,c|0,d|0,e|0,f|0)|0}function zB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(17,a|0,b|0,c|0,d|0,e|0,f|0)|0}function AB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(18,a|0,b|0,c|0,d|0,e|0,f|0)|0}function BB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(19,a|0,b|0,c|0,d|0,e|0,f|0)|0}function CB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(20,a|0,b|0,c|0,d|0,e|0,f|0)|0}function DB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(21,a|0,b|0,c|0,d|0,e|0,f|0)|0}function EB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(22,a|0,b|0,c|0,d|0,e|0,f|0)|0}function FB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(23,a|0,b|0,c|0,d|0,e|0,f|0)|0}function GB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(24,a|0,b|0,c|0,d|0,e|0,f|0)|0}function HB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(25,a|0,b|0,c|0,d|0,e|0,f|0)|0}function IB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(26,a|0,b|0,c|0,d|0,e|0,f|0)|0}function JB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(27,a|0,b|0,c|0,d|0,e|0,f|0)|0}function KB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(28,a|0,b|0,c|0,d|0,e|0,f|0)|0}function LB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(29,a|0,b|0,c|0,d|0,e|0,f|0)|0}function MB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(30,a|0,b|0,c|0,d|0,e|0,f|0)|0}function NB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(31,a|0,b|0,c|0,d|0,e|0,f|0)|0}function OB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(32,a|0,b|0,c|0,d|0,e|0,f|0)|0}function PB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(33,a|0,b|0,c|0,d|0,e|0,f|0)|0}function QB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(34,a|0,b|0,c|0,d|0,e|0,f|0)|0}function RB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(35,a|0,b|0,c|0,d|0,e|0,f|0)|0}function SB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(36,a|0,b|0,c|0,d|0,e|0,f|0)|0}function TB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(37,a|0,b|0,c|0,d|0,e|0,f|0)|0}function UB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(38,a|0,b|0,c|0,d|0,e|0,f|0)|0}function VB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(39,a|0,b|0,c|0,d|0,e|0,f|0)|0}function WB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(40,a|0,b|0,c|0,d|0,e|0,f|0)|0}function XB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(41,a|0,b|0,c|0,d|0,e|0,f|0)|0}function YB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(42,a|0,b|0,c|0,d|0,e|0,f|0)|0}function ZB(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(43,a|0,b|0,c|0,d|0,e|0,f|0)|0}function _B(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(44,a|0,b|0,c|0,d|0,e|0,f|0)|0}function $B(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(45,a|0,b|0,c|0,d|0,e|0,f|0)|0}function aC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(46,a|0,b|0,c|0,d|0,e|0,f|0)|0}function bC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(47,a|0,b|0,c|0,d|0,e|0,f|0)|0}function cC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(48,a|0,b|0,c|0,d|0,e|0,f|0)|0}function dC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(49,a|0,b|0,c|0,d|0,e|0,f|0)|0}function eC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(50,a|0,b|0,c|0,d|0,e|0,f|0)|0}function fC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(51,a|0,b|0,c|0,d|0,e|0,f|0)|0}function gC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(52,a|0,b|0,c|0,d|0,e|0,f|0)|0}function hC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(53,a|0,b|0,c|0,d|0,e|0,f|0)|0}function iC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(54,a|0,b|0,c|0,d|0,e|0,f|0)|0}function jC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(55,a|0,b|0,c|0,d|0,e|0,f|0)|0}function kC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(56,a|0,b|0,c|0,d|0,e|0,f|0)|0}function lC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(57,a|0,b|0,c|0,d|0,e|0,f|0)|0}function mC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(58,a|0,b|0,c|0,d|0,e|0,f|0)|0}function nC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(59,a|0,b|0,c|0,d|0,e|0,f|0)|0}function oC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(60,a|0,b|0,c|0,d|0,e|0,f|0)|0}function pC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(61,a|0,b|0,c|0,d|0,e|0,f|0)|0}function qC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(62,a|0,b|0,c|0,d|0,e|0,f|0)|0}function rC(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;return ia(63,a|0,b|0,c|0,d|0,e|0,f|0)|0}function sC(a,b){a=a|0;b=b|0;pb[a&255](b|0)}function tC(a){a=a|0;ka(0,a|0)}function uC(a){a=a|0;ka(1,a|0)}function vC(a){a=a|0;ka(2,a|0)}function wC(a){a=a|0;ka(3,a|0)}function xC(a){a=a|0;ka(4,a|0)}function yC(a){a=a|0;ka(5,a|0)}function zC(a){a=a|0;ka(6,a|0)}function AC(a){a=a|0;ka(7,a|0)}function BC(a){a=a|0;ka(8,a|0)}function CC(a){a=a|0;ka(9,a|0)}function DC(a){a=a|0;ka(10,a|0)}function EC(a){a=a|0;ka(11,a|0)}function FC(a){a=a|0;ka(12,a|0)}function GC(a){a=a|0;ka(13,a|0)}function HC(a){a=a|0;ka(14,a|0)}function IC(a){a=a|0;ka(15,a|0)}function JC(a){a=a|0;ka(16,a|0)}function KC(a){a=a|0;ka(17,a|0)}function LC(a){a=a|0;ka(18,a|0)}function MC(a){a=a|0;ka(19,a|0)}function NC(a){a=a|0;ka(20,a|0)}function OC(a){a=a|0;ka(21,a|0)}function PC(a){a=a|0;ka(22,a|0)}function QC(a){a=a|0;ka(23,a|0)}function RC(a){a=a|0;ka(24,a|0)}function SC(a){a=a|0;ka(25,a|0)}function TC(a){a=a|0;ka(26,a|0)}function UC(a){a=a|0;ka(27,a|0)}function VC(a){a=a|0;ka(28,a|0)}function WC(a){a=a|0;ka(29,a|0)}function XC(a){a=a|0;ka(30,a|0)}function YC(a){a=a|0;ka(31,a|0)}function ZC(a){a=a|0;ka(32,a|0)}function _C(a){a=a|0;ka(33,a|0)}function $C(a){a=a|0;ka(34,a|0)}function aD(a){a=a|0;ka(35,a|0)}function bD(a){a=a|0;ka(36,a|0)}function cD(a){a=a|0;ka(37,a|0)}function dD(a){a=a|0;ka(38,a|0)}function eD(a){a=a|0;ka(39,a|0)}function fD(a){a=a|0;ka(40,a|0)}function gD(a){a=a|0;ka(41,a|0)}function hD(a){a=a|0;ka(42,a|0)}function iD(a){a=a|0;ka(43,a|0)}function jD(a){a=a|0;ka(44,a|0)}function kD(a){a=a|0;ka(45,a|0)}function lD(a){a=a|0;ka(46,a|0)}function mD(a){a=a|0;ka(47,a|0)}function nD(a){a=a|0;ka(48,a|0)}function oD(a){a=a|0;ka(49,a|0)}function pD(a){a=a|0;ka(50,a|0)}function qD(a){a=a|0;ka(51,a|0)}function rD(a){a=a|0;ka(52,a|0)}function sD(a){a=a|0;ka(53,a|0)}function tD(a){a=a|0;ka(54,a|0)}function uD(a){a=a|0;ka(55,a|0)}function vD(a){a=a|0;ka(56,a|0)}function wD(a){a=a|0;ka(57,a|0)}function xD(a){a=a|0;ka(58,a|0)}function yD(a){a=a|0;ka(59,a|0)}function zD(a){a=a|0;ka(60,a|0)}function AD(a){a=a|0;ka(61,a|0)}function BD(a){a=a|0;ka(62,a|0)}function CD(a){a=a|0;ka(63,a|0)}function DD(a,b,c){a=a|0;b=b|0;c=c|0;qb[a&255](b|0,c|0)}function ED(a,b){a=a|0;b=b|0;ma(0,a|0,b|0)}function FD(a,b){a=a|0;b=b|0;ma(1,a|0,b|0)}function GD(a,b){a=a|0;b=b|0;ma(2,a|0,b|0)}function HD(a,b){a=a|0;b=b|0;ma(3,a|0,b|0)}function ID(a,b){a=a|0;b=b|0;ma(4,a|0,b|0)}function JD(a,b){a=a|0;b=b|0;ma(5,a|0,b|0)}function KD(a,b){a=a|0;b=b|0;ma(6,a|0,b|0)}function LD(a,b){a=a|0;b=b|0;ma(7,a|0,b|0)}function MD(a,b){a=a|0;b=b|0;ma(8,a|0,b|0)}function ND(a,b){a=a|0;b=b|0;ma(9,a|0,b|0)}function OD(a,b){a=a|0;b=b|0;ma(10,a|0,b|0)}function PD(a,b){a=a|0;b=b|0;ma(11,a|0,b|0)}function QD(a,b){a=a|0;b=b|0;ma(12,a|0,b|0)}function RD(a,b){a=a|0;b=b|0;ma(13,a|0,b|0)}function SD(a,b){a=a|0;b=b|0;ma(14,a|0,b|0)}function TD(a,b){a=a|0;b=b|0;ma(15,a|0,b|0)}function UD(a,b){a=a|0;b=b|0;ma(16,a|0,b|0)}function VD(a,b){a=a|0;b=b|0;ma(17,a|0,b|0)}function WD(a,b){a=a|0;b=b|0;ma(18,a|0,b|0)}function XD(a,b){a=a|0;b=b|0;ma(19,a|0,b|0)}function YD(a,b){a=a|0;b=b|0;ma(20,a|0,b|0)}function ZD(a,b){a=a|0;b=b|0;ma(21,a|0,b|0)}function _D(a,b){a=a|0;b=b|0;ma(22,a|0,b|0)}function $D(a,b){a=a|0;b=b|0;ma(23,a|0,b|0)}function aE(a,b){a=a|0;b=b|0;ma(24,a|0,b|0)}function bE(a,b){a=a|0;b=b|0;ma(25,a|0,b|0)}function cE(a,b){a=a|0;b=b|0;ma(26,a|0,b|0)}function dE(a,b){a=a|0;b=b|0;ma(27,a|0,b|0)}function eE(a,b){a=a|0;b=b|0;ma(28,a|0,b|0)}function fE(a,b){a=a|0;b=b|0;ma(29,a|0,b|0)}function gE(a,b){a=a|0;b=b|0;ma(30,a|0,b|0)}function hE(a,b){a=a|0;b=b|0;ma(31,a|0,b|0)}function iE(a,b){a=a|0;b=b|0;ma(32,a|0,b|0)}function jE(a,b){a=a|0;b=b|0;ma(33,a|0,b|0)}function kE(a,b){a=a|0;b=b|0;ma(34,a|0,b|0)}function lE(a,b){a=a|0;b=b|0;ma(35,a|0,b|0)}function mE(a,b){a=a|0;b=b|0;ma(36,a|0,b|0)}function nE(a,b){a=a|0;b=b|0;ma(37,a|0,b|0)}function oE(a,b){a=a|0;b=b|0;ma(38,a|0,b|0)}function pE(a,b){a=a|0;b=b|0;ma(39,a|0,b|0)}function qE(a,b){a=a|0;b=b|0;ma(40,a|0,b|0)}function rE(a,b){a=a|0;b=b|0;ma(41,a|0,b|0)}function sE(a,b){a=a|0;b=b|0;ma(42,a|0,b|0)}function tE(a,b){a=a|0;b=b|0;ma(43,a|0,b|0)}function uE(a,b){a=a|0;b=b|0;ma(44,a|0,b|0)}function vE(a,b){a=a|0;b=b|0;ma(45,a|0,b|0)}function wE(a,b){a=a|0;b=b|0;ma(46,a|0,b|0)}function xE(a,b){a=a|0;b=b|0;ma(47,a|0,b|0)}function yE(a,b){a=a|0;b=b|0;ma(48,a|0,b|0)}function zE(a,b){a=a|0;b=b|0;ma(49,a|0,b|0)}function AE(a,b){a=a|0;b=b|0;ma(50,a|0,b|0)}function BE(a,b){a=a|0;b=b|0;ma(51,a|0,b|0)}function CE(a,b){a=a|0;b=b|0;ma(52,a|0,b|0)}function DE(a,b){a=a|0;b=b|0;ma(53,a|0,b|0)}function EE(a,b){a=a|0;b=b|0;ma(54,a|0,b|0)}function FE(a,b){a=a|0;b=b|0;ma(55,a|0,b|0)}function GE(a,b){a=a|0;b=b|0;ma(56,a|0,b|0)}function HE(a,b){a=a|0;b=b|0;ma(57,a|0,b|0)}function IE(a,b){a=a|0;b=b|0;ma(58,a|0,b|0)}function JE(a,b){a=a|0;b=b|0;ma(59,a|0,b|0)}function KE(a,b){a=a|0;b=b|0;ma(60,a|0,b|0)}function LE(a,b){a=a|0;b=b|0;ma(61,a|0,b|0)}function ME(a,b){a=a|0;b=b|0;ma(62,a|0,b|0)}function NE(a,b){a=a|0;b=b|0;ma(63,a|0,b|0)}function OE(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;rb[a&255](b|0,c|0,d|0)}function PE(a,b,c){a=a|0;b=b|0;c=c|0;oa(0,a|0,b|0,c|0)}function QE(a,b,c){a=a|0;b=b|0;c=c|0;oa(1,a|0,b|0,c|0)}function RE(a,b,c){a=a|0;b=b|0;c=c|0;oa(2,a|0,b|0,c|0)}function SE(a,b,c){a=a|0;b=b|0;c=c|0;oa(3,a|0,b|0,c|0)}function TE(a,b,c){a=a|0;b=b|0;c=c|0;oa(4,a|0,b|0,c|0)}function UE(a,b,c){a=a|0;b=b|0;c=c|0;oa(5,a|0,b|0,c|0)}function VE(a,b,c){a=a|0;b=b|0;c=c|0;oa(6,a|0,b|0,c|0)}function WE(a,b,c){a=a|0;b=b|0;c=c|0;oa(7,a|0,b|0,c|0)}function XE(a,b,c){a=a|0;b=b|0;c=c|0;oa(8,a|0,b|0,c|0)}function YE(a,b,c){a=a|0;b=b|0;c=c|0;oa(9,a|0,b|0,c|0)}function ZE(a,b,c){a=a|0;b=b|0;c=c|0;oa(10,a|0,b|0,c|0)}function _E(a,b,c){a=a|0;b=b|0;c=c|0;oa(11,a|0,b|0,c|0)}function $E(a,b,c){a=a|0;b=b|0;c=c|0;oa(12,a|0,b|0,c|0)}function aF(a,b,c){a=a|0;b=b|0;c=c|0;oa(13,a|0,b|0,c|0)}function bF(a,b,c){a=a|0;b=b|0;c=c|0;oa(14,a|0,b|0,c|0)}function cF(a,b,c){a=a|0;b=b|0;c=c|0;oa(15,a|0,b|0,c|0)}function dF(a,b,c){a=a|0;b=b|0;c=c|0;oa(16,a|0,b|0,c|0)}function eF(a,b,c){a=a|0;b=b|0;c=c|0;oa(17,a|0,b|0,c|0)}function fF(a,b,c){a=a|0;b=b|0;c=c|0;oa(18,a|0,b|0,c|0)}function gF(a,b,c){a=a|0;b=b|0;c=c|0;oa(19,a|0,b|0,c|0)}function hF(a,b,c){a=a|0;b=b|0;c=c|0;oa(20,a|0,b|0,c|0)}function iF(a,b,c){a=a|0;b=b|0;c=c|0;oa(21,a|0,b|0,c|0)}function jF(a,b,c){a=a|0;b=b|0;c=c|0;oa(22,a|0,b|0,c|0)}function kF(a,b,c){a=a|0;b=b|0;c=c|0;oa(23,a|0,b|0,c|0)}function lF(a,b,c){a=a|0;b=b|0;c=c|0;oa(24,a|0,b|0,c|0)}function mF(a,b,c){a=a|0;b=b|0;c=c|0;oa(25,a|0,b|0,c|0)}function nF(a,b,c){a=a|0;b=b|0;c=c|0;oa(26,a|0,b|0,c|0)}function oF(a,b,c){a=a|0;b=b|0;c=c|0;oa(27,a|0,b|0,c|0)}function pF(a,b,c){a=a|0;b=b|0;c=c|0;oa(28,a|0,b|0,c|0)}function qF(a,b,c){a=a|0;b=b|0;c=c|0;oa(29,a|0,b|0,c|0)}function rF(a,b,c){a=a|0;b=b|0;c=c|0;oa(30,a|0,b|0,c|0)}function sF(a,b,c){a=a|0;b=b|0;c=c|0;oa(31,a|0,b|0,c|0)}function tF(a,b,c){a=a|0;b=b|0;c=c|0;oa(32,a|0,b|0,c|0)}function uF(a,b,c){a=a|0;b=b|0;c=c|0;oa(33,a|0,b|0,c|0)}function vF(a,b,c){a=a|0;b=b|0;c=c|0;oa(34,a|0,b|0,c|0)}function wF(a,b,c){a=a|0;b=b|0;c=c|0;oa(35,a|0,b|0,c|0)}function xF(a,b,c){a=a|0;b=b|0;c=c|0;oa(36,a|0,b|0,c|0)}function yF(a,b,c){a=a|0;b=b|0;c=c|0;oa(37,a|0,b|0,c|0)}function zF(a,b,c){a=a|0;b=b|0;c=c|0;oa(38,a|0,b|0,c|0)}function AF(a,b,c){a=a|0;b=b|0;c=c|0;oa(39,a|0,b|0,c|0)}function BF(a,b,c){a=a|0;b=b|0;c=c|0;oa(40,a|0,b|0,c|0)}function CF(a,b,c){a=a|0;b=b|0;c=c|0;oa(41,a|0,b|0,c|0)}function DF(a,b,c){a=a|0;b=b|0;c=c|0;oa(42,a|0,b|0,c|0)}function EF(a,b,c){a=a|0;b=b|0;c=c|0;oa(43,a|0,b|0,c|0)}function FF(a,b,c){a=a|0;b=b|0;c=c|0;oa(44,a|0,b|0,c|0)}function GF(a,b,c){a=a|0;b=b|0;c=c|0;oa(45,a|0,b|0,c|0)}function HF(a,b,c){a=a|0;b=b|0;c=c|0;oa(46,a|0,b|0,c|0)}function IF(a,b,c){a=a|0;b=b|0;c=c|0;oa(47,a|0,b|0,c|0)}function JF(a,b,c){a=a|0;b=b|0;c=c|0;oa(48,a|0,b|0,c|0)}function KF(a,b,c){a=a|0;b=b|0;c=c|0;oa(49,a|0,b|0,c|0)}function LF(a,b,c){a=a|0;b=b|0;c=c|0;oa(50,a|0,b|0,c|0)}function MF(a,b,c){a=a|0;b=b|0;c=c|0;oa(51,a|0,b|0,c|0)}function NF(a,b,c){a=a|0;b=b|0;c=c|0;oa(52,a|0,b|0,c|0)}function OF(a,b,c){a=a|0;b=b|0;c=c|0;oa(53,a|0,b|0,c|0)}function PF(a,b,c){a=a|0;b=b|0;c=c|0;oa(54,a|0,b|0,c|0)}function QF(a,b,c){a=a|0;b=b|0;c=c|0;oa(55,a|0,b|0,c|0)}function RF(a,b,c){a=a|0;b=b|0;c=c|0;oa(56,a|0,b|0,c|0)}function SF(a,b,c){a=a|0;b=b|0;c=c|0;oa(57,a|0,b|0,c|0)}function TF(a,b,c){a=a|0;b=b|0;c=c|0;oa(58,a|0,b|0,c|0)}function UF(a,b,c){a=a|0;b=b|0;c=c|0;oa(59,a|0,b|0,c|0)}function VF(a,b,c){a=a|0;b=b|0;c=c|0;oa(60,a|0,b|0,c|0)}function WF(a,b,c){a=a|0;b=b|0;c=c|0;oa(61,a|0,b|0,c|0)}function XF(a,b,c){a=a|0;b=b|0;c=c|0;oa(62,a|0,b|0,c|0)}function YF(a,b,c){a=a|0;b=b|0;c=c|0;oa(63,a|0,b|0,c|0)}function ZF(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;sb[a&255](b|0,c|0,d|0,e|0)}function _F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(0,a|0,b|0,c|0,d|0)}function $F(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(1,a|0,b|0,c|0,d|0)}function aG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(2,a|0,b|0,c|0,d|0)}function bG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(3,a|0,b|0,c|0,d|0)}function cG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(4,a|0,b|0,c|0,d|0)}function dG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(5,a|0,b|0,c|0,d|0)}function eG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(6,a|0,b|0,c|0,d|0)}function fG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(7,a|0,b|0,c|0,d|0)}function gG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(8,a|0,b|0,c|0,d|0)}function hG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(9,a|0,b|0,c|0,d|0)}function iG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(10,a|0,b|0,c|0,d|0)}function jG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(11,a|0,b|0,c|0,d|0)}function kG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(12,a|0,b|0,c|0,d|0)}function lG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(13,a|0,b|0,c|0,d|0)}function mG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(14,a|0,b|0,c|0,d|0)}function nG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(15,a|0,b|0,c|0,d|0)}function oG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(16,a|0,b|0,c|0,d|0)}function pG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(17,a|0,b|0,c|0,d|0)}function qG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(18,a|0,b|0,c|0,d|0)}function rG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(19,a|0,b|0,c|0,d|0)}function sG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(20,a|0,b|0,c|0,d|0)}function tG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(21,a|0,b|0,c|0,d|0)}function uG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(22,a|0,b|0,c|0,d|0)}function vG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(23,a|0,b|0,c|0,d|0)}function wG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(24,a|0,b|0,c|0,d|0)}function xG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(25,a|0,b|0,c|0,d|0)}function yG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(26,a|0,b|0,c|0,d|0)}function zG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(27,a|0,b|0,c|0,d|0)}function AG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(28,a|0,b|0,c|0,d|0)}function BG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(29,a|0,b|0,c|0,d|0)}function CG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(30,a|0,b|0,c|0,d|0)}function DG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(31,a|0,b|0,c|0,d|0)}function EG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(32,a|0,b|0,c|0,d|0)}function FG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(33,a|0,b|0,c|0,d|0)}function GG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(34,a|0,b|0,c|0,d|0)}function HG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(35,a|0,b|0,c|0,d|0)}function IG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(36,a|0,b|0,c|0,d|0)}function JG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(37,a|0,b|0,c|0,d|0)}function KG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(38,a|0,b|0,c|0,d|0)}function LG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(39,a|0,b|0,c|0,d|0)}function MG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(40,a|0,b|0,c|0,d|0)}function NG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(41,a|0,b|0,c|0,d|0)}function OG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(42,a|0,b|0,c|0,d|0)}function PG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(43,a|0,b|0,c|0,d|0)}function QG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(44,a|0,b|0,c|0,d|0)}function RG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(45,a|0,b|0,c|0,d|0)}function SG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(46,a|0,b|0,c|0,d|0)}function TG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(47,a|0,b|0,c|0,d|0)}function UG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(48,a|0,b|0,c|0,d|0)}function VG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(49,a|0,b|0,c|0,d|0)}function WG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(50,a|0,b|0,c|0,d|0)}function XG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(51,a|0,b|0,c|0,d|0)}function YG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(52,a|0,b|0,c|0,d|0)}function ZG(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(53,a|0,b|0,c|0,d|0)}function _G(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(54,a|0,b|0,c|0,d|0)}function $G(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(55,a|0,b|0,c|0,d|0)}function aH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(56,a|0,b|0,c|0,d|0)}function bH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(57,a|0,b|0,c|0,d|0)}function cH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(58,a|0,b|0,c|0,d|0)}function dH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(59,a|0,b|0,c|0,d|0)}function eH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(60,a|0,b|0,c|0,d|0)}function fH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(61,a|0,b|0,c|0,d|0)}function gH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(62,a|0,b|0,c|0,d|0)}function hH(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;qa(63,a|0,b|0,c|0,d|0)}function iH(a,b,c,d,e,f,g){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;g=g|0;tb[a&255](b|0,c|0,d|0,e|0,f|0,g|0)}function jH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(0,a|0,b|0,c|0,d|0,e|0,f|0)}function kH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(1,a|0,b|0,c|0,d|0,e|0,f|0)}function lH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(2,a|0,b|0,c|0,d|0,e|0,f|0)}function mH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(3,a|0,b|0,c|0,d|0,e|0,f|0)}function nH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(4,a|0,b|0,c|0,d|0,e|0,f|0)}function oH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(5,a|0,b|0,c|0,d|0,e|0,f|0)}function pH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(6,a|0,b|0,c|0,d|0,e|0,f|0)}function qH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(7,a|0,b|0,c|0,d|0,e|0,f|0)}function rH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(8,a|0,b|0,c|0,d|0,e|0,f|0)}function sH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(9,a|0,b|0,c|0,d|0,e|0,f|0)}function tH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(10,a|0,b|0,c|0,d|0,e|0,f|0)}function uH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(11,a|0,b|0,c|0,d|0,e|0,f|0)}function vH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(12,a|0,b|0,c|0,d|0,e|0,f|0)}function wH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(13,a|0,b|0,c|0,d|0,e|0,f|0)}function xH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(14,a|0,b|0,c|0,d|0,e|0,f|0)}function yH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(15,a|0,b|0,c|0,d|0,e|0,f|0)}function zH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(16,a|0,b|0,c|0,d|0,e|0,f|0)}function AH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(17,a|0,b|0,c|0,d|0,e|0,f|0)}function BH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(18,a|0,b|0,c|0,d|0,e|0,f|0)}function CH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(19,a|0,b|0,c|0,d|0,e|0,f|0)}function DH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(20,a|0,b|0,c|0,d|0,e|0,f|0)}function EH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(21,a|0,b|0,c|0,d|0,e|0,f|0)}function FH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(22,a|0,b|0,c|0,d|0,e|0,f|0)}function GH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(23,a|0,b|0,c|0,d|0,e|0,f|0)}function HH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(24,a|0,b|0,c|0,d|0,e|0,f|0)}function IH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(25,a|0,b|0,c|0,d|0,e|0,f|0)}function JH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(26,a|0,b|0,c|0,d|0,e|0,f|0)}function KH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(27,a|0,b|0,c|0,d|0,e|0,f|0)}function LH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(28,a|0,b|0,c|0,d|0,e|0,f|0)}function MH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(29,a|0,b|0,c|0,d|0,e|0,f|0)}function NH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(30,a|0,b|0,c|0,d|0,e|0,f|0)}function OH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(31,a|0,b|0,c|0,d|0,e|0,f|0)}function PH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(32,a|0,b|0,c|0,d|0,e|0,f|0)}function QH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(33,a|0,b|0,c|0,d|0,e|0,f|0)}function RH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(34,a|0,b|0,c|0,d|0,e|0,f|0)}function SH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(35,a|0,b|0,c|0,d|0,e|0,f|0)}function TH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(36,a|0,b|0,c|0,d|0,e|0,f|0)}function UH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(37,a|0,b|0,c|0,d|0,e|0,f|0)}function VH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(38,a|0,b|0,c|0,d|0,e|0,f|0)}function WH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(39,a|0,b|0,c|0,d|0,e|0,f|0)}function XH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(40,a|0,b|0,c|0,d|0,e|0,f|0)}function YH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(41,a|0,b|0,c|0,d|0,e|0,f|0)}function ZH(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(42,a|0,b|0,c|0,d|0,e|0,f|0)}function _H(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(43,a|0,b|0,c|0,d|0,e|0,f|0)}function $H(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(44,a|0,b|0,c|0,d|0,e|0,f|0)}function aI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(45,a|0,b|0,c|0,d|0,e|0,f|0)}function bI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(46,a|0,b|0,c|0,d|0,e|0,f|0)}function cI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(47,a|0,b|0,c|0,d|0,e|0,f|0)}function dI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(48,a|0,b|0,c|0,d|0,e|0,f|0)}function eI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(49,a|0,b|0,c|0,d|0,e|0,f|0)}function fI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(50,a|0,b|0,c|0,d|0,e|0,f|0)}function gI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(51,a|0,b|0,c|0,d|0,e|0,f|0)}function hI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(52,a|0,b|0,c|0,d|0,e|0,f|0)}function iI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(53,a|0,b|0,c|0,d|0,e|0,f|0)}function jI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(54,a|0,b|0,c|0,d|0,e|0,f|0)}function kI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(55,a|0,b|0,c|0,d|0,e|0,f|0)}function lI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(56,a|0,b|0,c|0,d|0,e|0,f|0)}function mI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(57,a|0,b|0,c|0,d|0,e|0,f|0)}function nI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(58,a|0,b|0,c|0,d|0,e|0,f|0)}function oI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(59,a|0,b|0,c|0,d|0,e|0,f|0)}function pI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(60,a|0,b|0,c|0,d|0,e|0,f|0)}function qI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(61,a|0,b|0,c|0,d|0,e|0,f|0)}function rI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(62,a|0,b|0,c|0,d|0,e|0,f|0)}function sI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;sa(63,a|0,b|0,c|0,d|0,e|0,f|0)}function tI(){S(0);return 0}function uI(a){a=a|0;S(1);return 0}function vI(a,b){a=a|0;b=b|0;S(2);return 0}function wI(a,b,c){a=a|0;b=b|0;c=c|0;S(3);return 0}function xI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;S(4);return 0}function yI(a,b,c,d,e){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;S(5);return 0}function zI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;S(6);return 0}function AI(a){a=a|0;S(7)}function BI(a,b){a=a|0;b=b|0;S(8)}function CI(a,b,c){a=a|0;b=b|0;c=c|0;S(9)}function DI(a,b,c,d){a=a|0;b=b|0;c=c|0;d=d|0;S(10)}function EI(a,b,c,d,e,f){a=a|0;b=b|0;c=c|0;d=d|0;e=e|0;f=f|0;S(11)} +function Lh(b){b=b|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0;r=b+88|0;if((c[r>>2]|0)!=1691352191)return;k=b+4|0;if(c[k>>2]|0)return;o=b+20|0;g=c[o>>2]|0;a:do if((g|0)>0){f=c[b+16>>2]|0;e=0;while(1){q=c[f+(e<<4)+4>>2]|0;if(q|0?c[q+16>>2]|0:0)break;e=e+1|0;if((e|0)>=(g|0))break a}return}while(0);Mh(b,0);f=b+432|0;e=c[f>>2]|0;if(e|0){g=b+464|0;h=b+296|0;i=b+300|0;j=b+292|0;do{c[f>>2]=c[e+24>>2];do if(!(c[g>>2]|0)){q=e;if(q>>>0>=(c[h>>2]|0)>>>0?q>>>0<(c[i>>2]|0)>>>0:0){c[e>>2]=c[j>>2];c[j>>2]=e;break}if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{q=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}else Lc(b,e);while(0);e=c[f>>2]|0}while((e|0)!=0)}c[b+440>>2]=0;c[b+444>>2]=0;a[b+79>>0]=0;q=b+16|0;e=c[q>>2]|0;if((c[o>>2]|0)>0){h=0;do{f=e+(h<<4)+4|0;g=c[f>>2]|0;if(g|0?(Nh(g),c[f>>2]=0,(h|0)!=1):0)c[e+(h<<4)+12>>2]=0;h=h+1|0;e=c[q>>2]|0}while((h|0)<(c[o>>2]|0))}e=c[e+28>>2]|0;if(e|0)ph(e);l=b+352|0;f=c[l>>2]|0;c[l>>2]=0;if(f|0){e=c[k>>2]|0;if(!e)e=f;else{do{l=e+145|0;k=d[l>>0]|d[l+1>>0]<<8|1;a[l>>0]=k;a[l+1>>0]=k>>8;e=c[e+8>>2]|0}while((e|0)!=0);e=f}do{f=e;e=c[e+24>>2]|0;g=c[f>>2]|0;k=f+12|0;l=(c[k>>2]|0)+-1|0;c[k>>2]=l;do if(!l){h=c[f+8>>2]|0;if(h|0)jb[c[(c[h>>2]|0)+16>>2]&255](h)|0;if(g|0){if(c[g+464>>2]|0){Lc(g,f);break}l=f;if(l>>>0>=(c[g+296>>2]|0)>>>0?l>>>0<(c[g+300>>2]|0)>>>0:0){l=g+292|0;c[f>>2]=c[l>>2];c[l>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{l=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-l;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0)}while((e|0)!=0)}if((c[o>>2]|0)>2){i=b+464|0;j=b+296|0;k=b+300|0;l=b+292|0;h=2;e=2;do{f=c[q>>2]|0;g=f+(h<<4)|0;if(!(c[f+(h<<4)+4>>2]|0)){f=c[g>>2]|0;do if(f|0){if(c[i>>2]|0){Lc(b,f);break}s=f;if(s>>>0>=(c[j>>2]|0)>>>0?s>>>0<(c[k>>2]|0)>>>0:0){c[f>>2]=c[l>>2];c[l>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[g>>2]=0}else{if((e|0)<(h|0)){s=f+(e<<4)|0;c[s>>2]=c[g>>2];c[s+4>>2]=c[g+4>>2];c[s+8>>2]=c[g+8>>2];c[s+12>>2]=c[g+12>>2]}e=e+1|0}h=h+1|0}while((h|0)<(c[o>>2]|0));c[o>>2]=e;if((e|0)<3)p=61}else{c[o>>2]=2;p=61}if((p|0)==61?(m=c[q>>2]|0,n=b+400|0,(m|0)!=(n|0)):0){c[n>>2]=c[m>>2];c[n+4>>2]=c[m+4>>2];c[n+8>>2]=c[m+8>>2];c[n+12>>2]=c[m+12>>2];c[n+16>>2]=c[m+16>>2];c[n+20>>2]=c[m+20>>2];c[n+24>>2]=c[m+24>>2];c[n+28>>2]=c[m+28>>2];do if(m|0){if(c[b+464>>2]|0){Lc(b,m);break}s=m;if(s>>>0>=(c[b+296>>2]|0)>>>0?s>>>0<(c[b+300>>2]|0)>>>0:0){s=b+292|0;c[m>>2]=c[s>>2];c[s>>2]=m;break}if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{s=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}while(0);c[q>>2]=n}l=b+364|0;e=c[l>>2]|0;if(!e)e=0;else{h=b+464|0;i=b+296|0;j=b+300|0;k=b+292|0;do{g=c[e+8>>2]|0;do{f=c[g+24>>2]|0;do if(f|0?(s=(c[f>>2]|0)+-1|0,c[f>>2]=s,(s|0)==0):0){pb[c[f+4>>2]&255](c[f+8>>2]|0);if(c[h>>2]|0){Lc(b,f);break}s=f;if(s>>>0>=(c[i>>2]|0)>>>0?s>>>0<(c[j>>2]|0)>>>0:0){c[f>>2]=c[k>>2];c[k>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=g;g=c[g+8>>2]|0;do if(f|0){if(c[h>>2]|0){Lc(b,f);break}s=f;if(s>>>0>=(c[i>>2]|0)>>>0?s>>>0<(c[j>>2]|0)>>>0:0){c[f>>2]=c[k>>2];c[k>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0)}while((g|0)!=0);e=c[e>>2]|0}while((e|0)!=0);e=c[l>>2]|0}c[l>>2]=0;f=b+368|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;c[b+356>>2]=0;if(e|0)do{f=e;e=c[e>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}}while((e|0)!=0);c[b+360>>2]=0;l=b+380|0;e=c[l>>2]|0;if(!e)e=0;else{h=b+464|0;i=b+296|0;j=b+300|0;k=b+292|0;do{g=c[e+8>>2]|0;f=c[g+16>>2]|0;if(f|0)pb[f&255](c[g+8>>2]|0);f=c[g+36>>2]|0;if(f|0)pb[f&255](c[g+28>>2]|0);f=c[g+56>>2]|0;if(f|0)pb[f&255](c[g+48>>2]|0);b:do if(!(c[h>>2]|0)){f=g;do if(f>>>0>=(c[i>>2]|0)>>>0){if(f>>>0>=(c[j>>2]|0)>>>0)break;c[g>>2]=c[k>>2];c[k>>2]=g;break b}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else Lc(b,g);while(0);e=c[e>>2]|0}while((e|0)!=0);e=c[l>>2]|0}c[l>>2]=0;f=b+384|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;c[b+372>>2]=0;if(e|0)do{f=e;e=c[e>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}}while((e|0)!=0);c[b+376>>2]=0;m=b+336|0;e=c[m>>2]|0;if(!e)e=0;else{i=b+464|0;j=b+296|0;k=b+300|0;l=b+292|0;do{h=c[e+8>>2]|0;f=c[h+12>>2]|0;if(f|0)pb[f&255](c[h+8>>2]|0);f=h+16|0;g=c[f>>2]|0;if(g|0){s=g+36|0;c[s>>2]=c[s>>2]|2;if(!((c[i>>2]|0)==0?(p=g+32|0,s=(c[p>>2]|0)+-1|0,c[p>>2]=s,(s|0)!=0):0))Tf(b,g);c[f>>2]=0}c:do if(!(c[i>>2]|0)){f=h;do if(f>>>0>=(c[j>>2]|0)>>>0){if(f>>>0>=(c[k>>2]|0)>>>0)break;c[h>>2]=c[l>>2];c[l>>2]=h;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{s=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}else Lc(b,h);while(0);e=c[e>>2]|0}while((e|0)!=0);e=c[m>>2]|0}c[m>>2]=0;f=b+340|0;g=c[f>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{s=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[f>>2]=0;c[b+328>>2]=0;if(e|0)do{f=e;e=c[e>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](f);else{s=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}}while((e|0)!=0);c[b+332>>2]=0;c[b+56>>2]=0;e=b+248|0;if(!(c[e>>2]|0))e=0;else{dg(b,0);e=c[e>>2]|0}Yf(e);c[r>>2]=-1254786768;e=c[(c[q>>2]|0)+28>>2]|0;d:do if(e|0){if(c[b+464>>2]|0){Lc(b,e);break}f=e;do if(f>>>0>=(c[b+296>>2]|0)>>>0){if(f>>>0>=(c[b+300>>2]|0)>>>0)break;s=b+292|0;c[e>>2]=c[s>>2];c[s>>2]=e;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);c[r>>2]=-1623446221;do if(a[b+270>>0]|0){e=c[b+296>>2]|0;if(!e)break;if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{s=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{s=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-s;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function Mh(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;p=b+20|0;l=c[p>>2]|0;i=(l|0)>0;if(i){g=c[b+16>>2]|0;f=0;do{h=c[g+(f<<4)+4>>2]|0;if(h|0)c[(c[h+4>>2]|0)+4>>2]=c[h>>2];f=f+1|0}while((f|0)!=(l|0))}n=b+24|0;if(!(c[n>>2]&1))f=1;else f=(a[b+157>>0]|0)!=0;if(i){k=b+16|0;j=f&1;f=0;i=0;h=l;while(1){g=c[(c[k>>2]|0)+(i<<4)+4>>2]|0;if(!g)g=h;else{f=(a[g+8>>0]|0)==2?1:f;Kh(g,e,j);g=c[p>>2]|0}i=i+1|0;if((i|0)>=(g|0)){o=f;break}else h=g}}else o=0;f=b+348|0;l=c[f>>2]|0;if(l|0){c[f>>2]=0;j=b+324|0;if((c[j>>2]|0)>0){i=0;do{k=c[l+(i<<2)>>2]|0;g=k+8|0;f=c[g>>2]|0;if(f|0?(m=c[(c[f>>2]|0)+68>>2]|0,m|0):0)jb[m&255](f)|0;c[k+20>>2]=0;h=c[k>>2]|0;f=k+12|0;e=(c[f>>2]|0)+-1|0;c[f>>2]=e;do if(!e){f=c[g>>2]|0;if(f|0)jb[c[(c[f>>2]|0)+16>>2]&255](f)|0;if(h|0){if(c[h+464>>2]|0){Lc(h,k);break}e=k;if(e>>>0>=(c[h+296>>2]|0)>>>0?e>>>0<(c[h+300>>2]|0)>>>0:0){e=h+292|0;c[k>>2]=c[e>>2];c[e>>2]=k;break}}if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{e=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-e;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);i=i+1|0}while((i|0)<(c[j>>2]|0))}do if(!(c[b+464>>2]|0)){m=l;if(m>>>0>=(c[b+296>>2]|0)>>>0?m>>>0<(c[b+300>>2]|0)>>>0:0){m=b+292|0;c[l>>2]=c[m>>2];c[m>>2]=l;break}if(!(c[2]|0)){pb[c[56>>2]&255](l);break}else{m=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-m;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);break}}else Lc(b,l);while(0);c[j>>2]=0}do if(c[n>>2]&1|0?(a[b+157>>0]|0)==0:0){k=b+4|0;f=c[k>>2]|0;if(f|0)do{m=f+145|0;e=d[m>>0]|d[m+1>>0]<<8|1;a[m>>0]=e;a[m+1>>0]=e>>8;f=c[f+8>>2]|0}while((f|0)!=0);f=c[p>>2]|0;a:do if((f|0)>0){j=b+16|0;i=c[j>>2]|0;g=0;do{h=c[i+(g<<4)+4>>2]|0;if(h|0)c[(c[h+4>>2]|0)+4>>2]=c[h>>2];g=g+1|0}while((g|0)!=(f|0));g=0;while(1){h=c[i+(g<<4)+12>>2]|0;if(h){ph(h);f=c[p>>2]|0}g=g+1|0;if((g|0)>=(f|0))break a;i=c[j>>2]|0}}while(0);c[n>>2]=c[n>>2]&-2;n=b+352|0;g=c[n>>2]|0;c[n>>2]=0;if(g){f=c[k>>2]|0;if(f)do{n=f+145|0;m=d[n>>0]|d[n+1>>0]<<8|1;a[n>>0]=m;a[n+1>>0]=m>>8;f=c[f+8>>2]|0}while((f|0)!=0);do{h=g;g=c[g+24>>2]|0;i=c[h>>2]|0;m=h+12|0;n=(c[m>>2]|0)+-1|0;c[m>>2]=n;b:do if(!n){f=c[h+8>>2]|0;if(f|0)jb[c[(c[f>>2]|0)+16>>2]&255](f)|0;do if(i|0){if(c[i+464>>2]|0){Lc(i,h);break b}f=h;if(f>>>0>=(c[i+296>>2]|0)>>>0){if(f>>>0>=(c[i+300>>2]|0)>>>0)break;n=i+292|0;c[h>>2]=c[n>>2];c[n>>2]=h;break b}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0)}while((g|0)!=0);f=c[p>>2]|0}if((f|0)>2){f=b+16|0;l=b+464|0;e=b+296|0;m=b+300|0;n=b+292|0;k=2;g=2;do{h=c[f>>2]|0;j=h+(k<<4)|0;if(!(c[h+(k<<4)+4>>2]|0)){h=c[j>>2]|0;c:do if(h|0){if(c[l>>2]|0){Lc(b,h);break}i=h;do if(i>>>0>=(c[e>>2]|0)>>>0){if(i>>>0>=(c[m>>2]|0)>>>0)break;c[h>>2]=c[n>>2];c[n>>2]=h;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{i=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[j>>2]=0}else{if((g|0)<(k|0)){i=h+(g<<4)|0;c[i>>2]=c[j>>2];c[i+4>>2]=c[j+4>>2];c[i+8>>2]=c[j+8>>2];c[i+12>>2]=c[j+12>>2]}g=g+1|0}k=k+1|0}while((k|0)<(c[p>>2]|0));c[p>>2]=g;if((g|0)>=3)break}else{c[p>>2]=2;f=b+16|0}g=c[f>>2]|0;h=b+400|0;if((g|0)!=(h|0)){c[h>>2]=c[g>>2];c[h+4>>2]=c[g+4>>2];c[h+8>>2]=c[g+8>>2];c[h+12>>2]=c[g+12>>2];c[h+16>>2]=c[g+16>>2];c[h+20>>2]=c[g+20>>2];c[h+24>>2]=c[g+24>>2];c[h+28>>2]=c[g+28>>2];do if(g|0){if(c[b+464>>2]|0){Lc(b,g);break}p=g;if(p>>>0>=(c[b+296>>2]|0)>>>0?p>>>0<(c[b+300>>2]|0)>>>0:0){p=b+292|0;c[g>>2]=c[p>>2];c[p>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[f>>2]=h}}while(0);p=b+448|0;f=b+28|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[f>>2]=c[f>>2]&-524289;f=c[b+216>>2]|0;if(!f)return;if((o|0)==0?a[b+71>>0]|0:0)return;pb[f&255](c[b+212>>2]|0);return}function Nh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0;h=c[b+4>>2]|0;c[h+4>>2]=c[b>>2];d=c[h+8>>2]|0;if(d|0)do{e=d;d=c[d+16>>2]|0;if((c[e+8>>2]|0)==(b|0))Oh(e)}while((d|0)!=0);Kh(b,0,0);a:do if(a[b+9>>0]|0){d=h+64|0;e=c[d>>2]|0;c[d>>2]=e+-1;if((e|0)<2){d=c[11676]|0;if((d|0)==(h|0)){c[11676]=c[h+68>>2];f=12;break}do{if(!d){f=12;break a}e=d+68|0;d=c[e>>2]|0}while((d|0)!=(h|0));c[e>>2]=c[h+68>>2];f=12}}else f=12;while(0);do if((f|0)==12){qg(c[h>>2]|0,c[b>>2]|0);e=c[h+52>>2]|0;d=h+48|0;if(e|0?(g=c[d>>2]|0,g|0):0)pb[e&255](g);d=c[d>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{g=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);e=h+80|0;d=c[e>>2]|0;if(d|0){d=d+-4|0;c[e>>2]=d;g=d;do if(!(g>>>0>=(c[11662]|0)>>>0&g>>>0<(c[11663]|0)>>>0)){g=jb[c[64>>2]&255](d)|0;c[11824]=(c[11824]|0)-g;if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{g=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}else{c[11823]=(c[11823]|0)+-1;c[d>>2]=c[11665];c[11665]=d;g=(c[11666]|0)+1|0;c[11666]=g;c[11667]=(g|0)<(c[11661]|0)&1}while(0);c[e>>2]=0}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{g=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);e=c[b+28>>2]|0;d=b+24|0;if(e|0)c[e+24>>2]=c[d>>2];d=c[d>>2]|0;if(d|0)c[d+28>>2]=e;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{h=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}function Oh(d){d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0;e=c[d+8>>2]|0;if(!e)return;i=c[d+12>>2]|0;c[(c[e+4>>2]|0)+4>>2]=c[e>>2];f=i+8|0;e=c[f>>2]|0;a:do if((e|0)==(d|0))c[f>>2]=c[d+16>>2];else{while(1){f=e+16|0;e=c[f>>2]|0;if((e|0)==(d|0))break;if(!e)break a}c[f>>2]=c[d+16>>2]}while(0);h=d+68|0;e=a[h>>0]|0;if(e<<24>>24>-1){if(e<<24>>24){g=0;do{f=c[(c[d+120+(g<<2)>>2]|0)+72>>2]|0;if(!(b[f+28>>1]&32)){Kg(f);e=a[h>>0]|0}else{j=c[f+20>>2]|0;k=j+120|0;c[k>>2]=(c[k>>2]|0)+-1;j=j+136|0;c[f+16>>2]=c[j>>2];c[j>>2]=f}g=g+1|0}while((g|0)<(e<<24>>24|0))}e=c[(c[d+116>>2]|0)+72>>2]|0;if(!(b[e+28>>1]&32))Kg(e);else{k=c[e+20>>2]|0;j=k+120|0;c[j>>2]=(c[j>>2]|0)+-1;k=k+136|0;c[e+16>>2]=c[k>>2];c[k>>2]=e}a[h>>0]=-1}Eh(i);e=c[d+20>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{k=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);e=c[d+56>>2]|0;if(!e)return;if(!(c[2]|0)){pb[c[56>>2]&255](e);return}else{k=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);return}}function Ph(d,e,f){d=d|0;e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0;if(!d){n=0;return n|0}m=d+4|0;g=c[m>>2]|0;c[g+4>>2]=c[d>>2];g=c[g+8>>2]|0;if(!g){n=0;return n|0}k=(f|0)==0;while(1){if(!k?(l=g+1|0,(a[l>>0]&1)==0):0){f=a[g>>0]|0;if((f+-1&255)<2){if(f<<24>>24==2)a[g>>0]=1;else c[g+64>>2]=0;j=(a[g+69>>0]|0)==0;Ah(g);if(j){f=c[g+36>>2]|0;j=g+48|0;i=j;c[i>>2]=f;c[i+4>>2]=0;i=Ft(f|0,0,-1,-1)|0;h=z;if(h>>>0>0|(h|0)==0&i>>>0>2147483390){k=7;break}if(!(c[2]|0)){f=jb[c[52>>2]&255](f)|0;if(!f){k=7;break}}else{i=jb[c[68>>2]&255](f)|0;if((c[11829]|0)>>>0>>0)c[11829]=f;h=46456;f=c[h>>2]|0;h=c[h+4>>2]|0;if((h|0)>0|(h|0)==0&f>>>0>0){o=c[11822]|0;h=Gt(f|0,h|0,i|0,((i|0)<0)<<31>>31|0)|0;f=z;c[11616]=(0>(f|0)|0==(f|0)&o>>>0>=h>>>0)&1}f=jb[c[52>>2]&255](i)|0;if(!f){k=7;break}h=jb[c[64>>2]&255](f)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0>(c[11831]|0)>>>0)c[11831]=h}h=Bh(g,0,c[j>>2]|0,f,0)|0;if(h|0){n=26;break}c[g+56>>2]=f}else{i=g+24|0;j=c[i+4>>2]|0;o=g+48|0;c[o>>2]=c[i>>2];c[o+4>>2]=j}j=g+68|0;f=a[j>>0]|0;if(f<<24>>24>-1){if(f<<24>>24){i=0;do{h=c[(c[g+120+(i<<2)>>2]|0)+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);f=a[j>>0]|0}else{o=c[h+20>>2]|0;p=o+120|0;c[p>>2]=(c[p>>2]|0)+-1;o=o+136|0;c[h+16>>2]=c[o>>2];c[o>>2]=h}i=i+1|0}while((i|0)<(f<<24>>24|0))}f=c[(c[g+116>>2]|0)+72>>2]|0;if(!(b[f+28>>1]&32))Kg(f);else{p=c[f+20>>2]|0;o=p+120|0;c[o>>2]=(c[o>>2]|0)+-1;p=p+136|0;c[f+16>>2]=c[p>>2];c[p>>2]=f}a[j>>0]=-1}a[g>>0]=3;a[l>>0]=a[l>>0]&-15}}else{f=g+56|0;h=c[f>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{p=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[f>>2]=0;a[g>>0]=4;c[g+64>>2]=e}j=g+68|0;f=a[j>>0]|0;if(f<<24>>24>-1){if(f<<24>>24){i=0;do{h=c[(c[g+120+(i<<2)>>2]|0)+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);f=a[j>>0]|0}else{p=c[h+20>>2]|0;o=p+120|0;c[o>>2]=(c[o>>2]|0)+-1;p=p+136|0;c[h+16>>2]=c[p>>2];c[p>>2]=h}i=i+1|0}while((i|0)<(f<<24>>24|0))}f=c[(c[g+116>>2]|0)+72>>2]|0;if(!(b[f+28>>1]&32))Kg(f);else{p=c[f+20>>2]|0;o=p+120|0;c[o>>2]=(c[o>>2]|0)+-1;p=p+136|0;c[f+16>>2]=c[p>>2];c[p>>2]=f}a[j>>0]=-1}g=c[g+16>>2]|0;if(!g){f=0;n=72;break}}if((n|0)==72)return f|0;do if((n|0)==26)if(!(c[2]|0)){pb[c[56>>2]&255](f);k=h;break}else{k=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);k=h;break}while(0);a[l>>0]=a[l>>0]&-15;f=c[m>>2]|0;c[f+4>>2]=c[d>>2];f=c[f+8>>2]|0;if(!f){p=k;return p|0}do{g=f+56|0;h=c[g>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{p=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[g>>2]=0;a[f>>0]=4;c[f+64>>2]=k;j=f+68|0;g=a[j>>0]|0;if(g<<24>>24>-1){if(g<<24>>24){i=0;do{h=c[(c[f+120+(i<<2)>>2]|0)+72>>2]|0;if(!(b[h+28>>1]&32)){Kg(h);g=a[j>>0]|0}else{p=c[h+20>>2]|0;o=p+120|0;c[o>>2]=(c[o>>2]|0)+-1;p=p+136|0;c[h+16>>2]=c[p>>2];c[p>>2]=h}i=i+1|0}while((i|0)<(g<<24>>24|0))}g=c[(c[f+116>>2]|0)+72>>2]|0;if(!(b[g+28>>1]&32))Kg(g);else{p=c[g+20>>2]|0;o=p+120|0;c[o>>2]=(c[o>>2]|0)+-1;p=p+136|0;c[g+16>>2]=c[p>>2];c[p>>2]=g}a[j>>0]=-1}f=c[f+16>>2]|0}while((f|0)!=0);f=k;return f|0}function Qh(b){b=b|0;var d=0,e=0,f=0,g=0,h=0,i=0,j=0,k=0,m=0;m=l;l=l+32|0;d=m+8|0;if(!b){k=0;l=m;return k|0}k=c[b>>2]|0;if(!k){Bc(21,21366,m);c[d>>2]=17025;c[d+4>>2]=77402;c[d+8>>2]=17052;Bc(21,17e3,d);k=21;l=m;return k|0}i=b+128|0;h=c[i+4>>2]|0;if((h|0)>0|(h|0)==0&(c[i>>2]|0)>>>0>0)Rh(k,b);i=b+20|0;d=c[i>>2]|0;if((d|0)<832317811)switch(d|0){case 770837923:{j=6;break}default:f=0}else switch(d|0){case 832317811:{j=6;break}default:f=0}if((j|0)==6)f=Sh(b)|0;g=c[b>>2]|0;Uf(g,b);h=c[b+4>>2]|0;e=b+8|0;d=c[e>>2]|0;if(!h)c[g+4>>2]=d;else{c[h+8>>2]=d;d=c[e>>2]|0}if(d|0)c[d+4>>2]=h;c[i>>2]=1443283912;c[b>>2]=0;do if(g){if(c[g+464>>2]|0){Lc(g,b);break}i=b;if(i>>>0>=(c[g+296>>2]|0)>>>0?i>>>0<(c[g+300>>2]|0)>>>0:0){i=g+292|0;c[b>>2]=c[i>>2];c[i>>2]=b}else j=18}else j=18;while(0);do if((j|0)==18)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{j=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);if((f|0)==3082|(a[k+73>>0]|0)!=0){Th(k);d=7}else d=c[k+60>>2]&f;Lh(k);k=d;l=m;return k|0}function Rh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,i=0,j=0,k=0,m=0.0;k=l;l=l+32|0;e=k+16|0;f=k+8|0;j=k;g=c[b>>2]|0;if((c[g>>2]|0)>1?(i=c[g+72>>2]|0,(i|0)!=0):0){kb[i&255](g,f)|0;e=c[f>>2]|0;f=c[f+4>>2]|0}else{kb[c[g+64>>2]&255](g,e)|0;m=+h[e>>3]*864.0e5;e=~~m>>>0;i=+B(m)>=1.0?(m>0.0?~~+P(+A(m/4294967296.0),4294967295.0)>>>0:~~+N((m-+(~~m>>>0))/4294967296.0)>>>0):0;c[f>>2]=e;c[f+4>>2]=i;f=i}i=d+128|0;g=i;e=Gt(e|0,f|0,c[g>>2]|0,c[g+4>>2]|0)|0;e=Lt(e|0,z|0,1e6,0)|0;f=z;g=j;c[g>>2]=e;c[g+4>>2]=f;g=c[b+196>>2]|0;if(g|0)sb[g&255](c[b+200>>2]|0,c[d+184>>2]|0,e,f);if(!(a[b+80>>0]&2)){j=i;d=j;c[d>>2]=0;j=j+4|0;c[j>>2]=0;l=k;return}mb[c[b+188>>2]&255](2,c[b+192>>2]|0,d,j)|0;j=i;d=j;c[d>>2]=0;j=j+4|0;c[j>>2]=0;l=k;return}function Sh(b){b=b|0;var e=0,f=0,g=0,h=0,i=0;h=l;l=l+16|0;f=h;g=c[b>>2]|0;Uh(b)|0;if((c[b+36>>2]|0)>-1){Vh(b)|0;e=b+145|0;f=d[e>>0]|d[e+1>>0]<<8;if(f&32){f=f|1;a[e>>0]=f;a[e+1>>0]=f>>8}}else{e=c[b+40>>2]|0;if(e|0?(i=b+145|0,(d[i>>0]|d[i+1>>0]<<8)&1):0){i=c[b+108>>2]|0;c[f>>2]=i;cg(g,e,i|0?17859:0,f)}}e=b+108|0;f=c[e>>2]|0;do if(f|0){if(g|0){if(c[g+464>>2]|0){Lc(g,f);break}i=f;if(i>>>0>=(c[g+296>>2]|0)>>>0?i>>>0<(c[g+300>>2]|0)>>>0:0){i=g+292|0;c[f>>2]=c[i>>2];c[i>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{i=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);c[e>>2]=0;c[b+104>>2]=0;c[b+20>>2]=1224384374;l=h;return c[g+60>>2]&c[b+40>>2]|0}function Th(b){b=b|0;var d=0;d=b+73|0;if(a[d>>0]|0?(c[b+172>>2]|0)==0:0){a[d>>0]=0;c[b+256>>2]=0;d=b+264|0;c[d>>2]=(c[d>>2]|0)+-1}c[b+56>>2]=7;dg(b,7);return}function Uh(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0;N=l;l=l+64|0;E=N+40|0;H=N+32|0;G=N+24|0;F=N+16|0;B=N+8|0;A=N;D=N+48|0;K=c[e>>2]|0;L=e+20|0;if((c[L>>2]|0)!=770837923){M=0;l=N;return M|0}M=K+73|0;if(a[M>>0]|0)c[e+40>>2]=7;h=e+192|0;f=c[h>>2]|0;if(f|0){while(1){g=c[f+4>>2]|0;if(!g)break;else f=g}Wh(f)|0;c[h>>2]=0;c[e+200>>2]=0}j=e+112|0;g=c[j>>2]|0;a:do if(g|0?(k=e+28|0,i=c[k>>2]|0,(i|0)>0):0){f=0;h=i;while(1){g=c[g+(f<<2)>>2]|0;if(!g)g=h;else{Xh(e,g);c[(c[j>>2]|0)+(f<<2)>>2]=0;g=c[k>>2]|0}f=f+1|0;if((f|0)>=(g|0))break a;h=g;g=c[j>>2]|0}}while(0);f=c[e+92>>2]|0;b:do if(f|0?(m=c[e+24>>2]|0,m|0):0){p=f+(m*40|0)|0;j=c[f+32>>2]|0;k=j+464|0;g=(j|0)==0;m=j+296|0;n=j+300|0;o=j+292|0;if(c[k>>2]|0){if(g)while(1){do if(c[f+24>>2]|0?(q=c[f+20>>2]|0,q|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{I=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}while(0);f=f+40|0;if(f>>>0>=p>>>0)break b}while(1){do if(c[f+24>>2]|0?(r=c[f+20>>2]|0,r|0):0){if(c[k>>2]|0){Lc(j,r);break}I=r;if(I>>>0>=(c[m>>2]|0)>>>0?I>>>0<(c[n>>2]|0)>>>0:0){c[r>>2]=c[o>>2];c[o>>2]=r;break}if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{I=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);f=f+40|0;if(f>>>0>=p>>>0)break b}}if(g)while(1){g=f+8|0;if(!(b[g>>1]&9312)){h=f+24|0;if(c[h>>2]|0){i=c[f+20>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{I=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);c[h>>2]=0}}else af(f);b[g>>1]=128;f=f+40|0;if(f>>>0>=p>>>0)break b}do{g=f+8|0;if(!(b[g>>1]&9312)){h=f+24|0;if(c[h>>2]|0){i=c[f+20>>2]|0;do if(!(c[k>>2]|0)){I=i;if(I>>>0>=(c[m>>2]|0)>>>0?I>>>0<(c[n>>2]|0)>>>0:0){c[i>>2]=c[o>>2];c[o>>2]=i;break}if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{I=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}else Lc(j,i);while(0);c[h>>2]=0}}else af(f);b[g>>1]=128;f=f+40|0}while(f>>>0

    >>0)}while(0);s=e+196|0;f=c[s>>2]|0;if(f|0)do{c[s>>2]=c[f+4>>2];g=f+80|0;i=f+60|0;h=c[i>>2]|0;j=g+(h*40|0)|0;k=f+64|0;if((c[k>>2]|0)>0){h=0;do{Xh(c[f>>2]|0,c[j+(h<<2)>>2]|0);h=h+1|0}while((h|0)<(c[k>>2]|0));h=c[i>>2]|0}c:do if(h|0){r=g+(h*40|0)|0;m=c[f+112>>2]|0;n=m+464|0;h=(m|0)==0;o=m+296|0;p=m+300|0;q=m+292|0;if(c[n>>2]|0){if(h)while(1){do if(c[g+24>>2]|0?(t=c[g+20>>2]|0,t|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](t);break}else{I=jb[c[64>>2]&255](t)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](t);break}while(0);g=g+40|0;if(g>>>0>=r>>>0)break c}while(1){d:do if(c[g+24>>2]|0?(u=c[g+20>>2]|0,u|0):0){if(c[n>>2]|0){Lc(m,u);break}h=u;do if(h>>>0>=(c[o>>2]|0)>>>0){if(h>>>0>=(c[p>>2]|0)>>>0)break;c[u>>2]=c[q>>2];c[q>>2]=u;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](u);break}else{I=jb[c[64>>2]&255](u)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](u);break}}while(0);g=g+40|0;if(g>>>0>=r>>>0)break c}}if(h)while(1){h=g+8|0;if(!(b[h>>1]&9312)){i=g+24|0;if(c[i>>2]|0){j=c[g+20>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{I=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[i>>2]=0}}else af(g);b[h>>1]=128;g=g+40|0;if(g>>>0>=r>>>0)break c}do{h=g+8|0;if(!(b[h>>1]&9312)){i=g+24|0;if(c[i>>2]|0){j=c[g+20>>2]|0;e:do if(!(c[n>>2]|0)){k=j;do if(k>>>0>=(c[o>>2]|0)>>>0){if(k>>>0>=(c[p>>2]|0)>>>0)break;c[j>>2]=c[q>>2];c[q>>2]=j;break e}while(0);if(!j)break;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{I=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else Lc(m,j);while(0);c[i>>2]=0}}else af(g);b[h>>1]=128;g=g+40|0}while(g>>>0>>0)}while(0);i=c[c[f>>2]>>2]|0;o=f+40|0;g=c[o>>2]|0;f:do if(g|0){j=i+464|0;k=i+296|0;m=i+300|0;n=i+292|0;if(!i)while(1){h=c[g+12>>2]|0;if(h|0)pb[h&255](c[g+8>>2]|0);c[o>>2]=c[g+16>>2];if(!(c[2]|0))pb[c[56>>2]&255](g);else{I=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}g=c[o>>2]|0;if(!g)break f}do{h=c[g+12>>2]|0;if(h|0)pb[h&255](c[g+8>>2]|0);c[o>>2]=c[g+16>>2];do if(!(c[j>>2]|0)){I=g;if(I>>>0>=(c[k>>2]|0)>>>0?I>>>0<(c[m>>2]|0)>>>0:0){c[g>>2]=c[n>>2];c[n>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{I=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else Lc(i,g);while(0);g=c[o>>2]|0}while((g|0)!=0)}while(0);g=c[c[f>>2]>>2]|0;do if(g){if(c[g+464>>2]|0){Lc(g,f);break}I=f;if(I>>>0>=(c[g+296>>2]|0)>>>0?I>>>0<(c[g+300>>2]|0)>>>0:0){I=g+292|0;c[f>>2]=c[I>>2];c[I>>2]=f}else C=134}else C=134;while(0);do if((C|0)==134){C=0;if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{I=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=c[s>>2]|0}while((f|0)!=0);n=e+212|0;f=c[n>>2]|0;g:do if(f|0){h=c[e>>2]|0;i=h+464|0;j=h+296|0;k=h+300|0;m=h+292|0;if(!h)while(1){g=c[f+12>>2]|0;if(g|0)pb[g&255](c[f+8>>2]|0);c[n>>2]=c[f+16>>2];if(!(c[2]|0))pb[c[56>>2]&255](f);else{I=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}f=c[n>>2]|0;if(!f)break g}do{g=c[f+12>>2]|0;if(g|0)pb[g&255](c[f+8>>2]|0);c[n>>2]=c[f+16>>2];do if(!(c[i>>2]|0)){I=f;if(I>>>0>=(c[j>>2]|0)>>>0?I>>>0<(c[k>>2]|0)>>>0:0){c[f>>2]=c[m>>2];c[m>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{I=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-I;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}else Lc(h,f);while(0);f=c[n>>2]|0}while((f|0)!=0)}while(0);u=e+36|0;if((c[u>>2]|0)>-1){I=e+145|0;if((d[I>>0]|d[I+1>>0]<<8)&256){g=c[e+152>>2]|0;if(g|0?(w=c[e>>2]|0,v=c[w+16>>2]|0,w=c[w+20>>2]|0,(w|0)>0):0){f=0;do{if(((f|0)!=1?1<>2]|0,x|0):0)c[(c[x+4>>2]|0)+4>>2]=c[x>>2];f=f+1|0}while((f|0)!=(w|0))}t=e+40|0;g=c[t>>2]|0;h=g&255;f=h+-7|0;h:do if(f>>>0<7?(y=(77>>>(f&127)&1)!=0,y):0){f=d[I>>0]|d[I+1>>0]<<8;if((h|0)!=9|(f&128)==0){switch((g&255)<<24>>24){case 7:case 13:{if(f&64){f=2;h=y;break h}break}default:{}}Mh(K,516);h=K+432|0;f=c[h>>2]|0;if(f|0){i=K+464|0;j=K+296|0;k=K+300|0;m=K+292|0;do{c[h>>2]=c[f+24>>2];i:do if(!(c[i>>2]|0)){g=f;do if(g>>>0>=(c[j>>2]|0)>>>0){if(g>>>0>=(c[k>>2]|0)>>>0)break;c[f>>2]=c[m>>2];c[m>>2]=f;break i}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{x=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-x;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}else Lc(K,f);while(0);f=c[h>>2]|0}while((f|0)!=0)}c[K+440>>2]=0;c[K+444>>2]=0;a[K+79>>0]=0;a[K+71>>0]=1;c[e+44>>2]=0;f=0;g=c[t>>2]|0;h=y}else{f=0;h=1}}else{f=0;h=0}while(0);if((g|0)==0?(y=e+64|0,x=c[y+4>>2]|0,(x|0)>0|(x|0)==0&(c[y>>2]|0)>>>0>0):0){c[t>>2]=787;a[e+142>>0]=2;Yh(e,21411,A)}s=K+324|0;g=c[s>>2]|0;i=(g|0)>0;if(i?(c[K+348>>2]|0)==0:0)C=416;else if((a[K+71>>0]|0)!=0?(c[K+168>>2]|0)==((((d[I>>0]|d[I+1>>0]<<8)&65535)>>>7&1^1)&65535|0):0){do if(!(c[t>>2]|0))C=191;else{if(!(h|(a[e+142>>0]|0)!=3)){C=191;break}Mh(K,0);c[e+44>>2]=0}while(0);j:do if((C|0)==191){A=c[e>>2]|0;C=A+448|0;A=A+456|0;C=Ft(c[A>>2]|0,c[A+4>>2]|0,c[C>>2]|0,c[C+4>>2]|0)|0;A=z;k:do if((A|0)>0|(A|0)==0&C>>>0>0){c[t>>2]=787;a[e+142>>0]=2;Yh(e,21411,B);if(!((d[I>>0]|d[I+1>>0]<<8)&128)){g=787;break}else f=1;l=N;return f|0}else{r=K+348|0;o=c[r>>2]|0;c[r>>2]=0;n=e+108|0;l:do if(i){m=0;m:while(1){i=c[(c[o+(m<<2)>>2]|0)+8>>2]|0;do if(i){h=c[(c[i>>2]|0)+60>>2]|0;if(!h)break;g=jb[h&255](i)|0;k=i+8|0;if(c[k>>2]|0){h=c[e>>2]|0;i=c[n>>2]|0;n:do if(i|0){do if(h|0){if(c[h+464>>2]|0){Lc(h,i);break n}j=i;if(j>>>0<(c[h+296>>2]|0)>>>0)break;if(j>>>0>=(c[h+300>>2]|0)>>>0)break;C=h+292|0;c[i>>2]=c[C>>2];c[C>>2]=i;break n}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{C=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);c[n>>2]=kg(h,c[k>>2]|0)|0;h=c[k>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{C=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-C;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);c[k>>2]=0}if(g|0)break m;g=c[s>>2]|0}while(0);m=m+1|0;if((m|0)>=(g|0)){C=216;break l}}c[r>>2]=o;C=410}else C=216;while(0);o:do if((C|0)==216){c[r>>2]=o;p=K+20|0;q=K+16|0;do if((c[p>>2]|0)>0){o=0;h=0;g=0;do{j=c[q>>2]|0;i=c[j+(o<<4)+4>>2]|0;p:do if(i){if((a[i+8>>0]|0)!=2)break;B=c[i+4>>2]|0;c[B+4>>2]=c[i>>2];i=c[B>>2]|0;do if((a[j+(o<<4)+8>>0]|0)!=1){if(!(11>>>(d[i+5>>0]|0)&1))break;h=((a[i+12>>0]|0)==0&1)+h|0}while(0);g=c[i+40>>2]|0;if(g|0){C=410;break o}if(c[i+212>>2]|0){g=1;break}j=i+17|0;k=i+13|0;m=i+60|0;n=i+176|0;i=i+180|0;q:while(1){switch(a[j>>0]|0){case 0:case 1:case 2:case 3:case 5:break;default:{g=1;break p}}if(a[k>>0]|0)break;g=c[m>>2]|0;g=kb[c[(c[g>>2]|0)+28>>2]&255](g,4)|0;switch(g|0){case 0:break q;case 5:break;default:{C=410;break o}}if(!(jb[c[n>>2]&255](c[i>>2]|0)|0))break o}a[j>>0]=4;g=1}while(0);o=o+1|0}while((o|0)<(c[p>>2]|0));if(!g){i=h;break}g=c[K+208>>2]|0;if(!g){i=h;break}if(!(jb[g&255](c[K+204>>2]|0)|0))i=h;else{g=531;break k}}else i=0;while(0);h=c[(c[q>>2]|0)+4>>2]|0;j=c[c[h+4>>2]>>2]|0;k=(a[j+15>>0]|0)==0;if(k){g=c[j+168>>2]|0;if(g|0)C=236}else{g=47328;C=236}do if((C|0)==236){if((i|0)<2|((As(g)|0)&1073741823|0)==0)break;n=c[K>>2]|0;if(k){g=c[j+168>>2]|0;if(!g){h=0;g=0}else C=278}else{g=47328;C=278}if((C|0)==278)h=(As(g)|0)&1073741823;c[F>>2]=g;o=Ff(K,21441,F)|0;r:do if(o){i=o+h|0;j=n+32|0;h=0;s:while(1){do if(h|0){if((h|0)>100){C=285;break s}if((h|0)!=1)break;c[G>>2]=o;Bc(13,21457,G)}while(0);zd(4,F);g=c[F>>2]|0;c[E>>2]=g>>>8;c[E+4>>2]=g&255;wd(13,i,21486,E)|0;g=mb[c[j>>2]&255](n,o,0,D)|0;k=(g|0)==0;if(k&(c[D>>2]|0)!=0)h=h+1|0;else{C=287;break}}if((C|0)==285){c[H>>2]=o;Bc(13,21472,H);lb[c[n+28>>2]&255](n,o,0)|0;C=288}else if((C|0)==287)if(k)C=288;t:do if((C|0)==288){j=c[n+4>>2]|0;H=Ft(j|0,((j|0)<0)<<31>>31|0,-1,-1)|0;G=z;if(G>>>0>0|(G|0)==0&H>>>0>2147483390){g=7;break}do if(!(c[2]|0)){g=jb[c[52>>2]&255](j)|0;if(!g){g=7;break t}else C=299}else{g=jb[c[68>>2]&255](j)|0;if((c[11829]|0)>>>0>>0)c[11829]=j;i=46456;h=c[i>>2]|0;i=c[i+4>>2]|0;if((i|0)>0|(i|0)==0&h>>>0>0){G=c[11822]|0;H=Gt(h|0,i|0,g|0,((g|0)<0)<<31>>31|0)|0;F=z;c[11616]=(0>(F|0)|0==(F|0)&G>>>0>=H>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){g=7;break t}h=jb[c[64>>2]&255](g)|0;h=(c[11822]|0)+h|0;c[11822]=h;if(h>>>0>(c[11826]|0)>>>0)c[11826]=h;h=(c[11825]|0)+1|0;c[11825]=h;if(h>>>0<=(c[11831]|0)>>>0){C=299;break}c[11831]=h;Vt(g|0,0,j|0)|0;m=g}while(0);if((C|0)==299){Vt(g|0,0,j|0)|0;m=g}g=nb[c[n+24>>2]&255](n,o,m,16406,0)|0;if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}g=c[p>>2]|0;u:do if((g|0)>0){k=0;j=0;i=0;v:while(1){h=c[(c[q>>2]|0)+(k<<4)+4>>2]|0;do if(!h)h=j;else{if((a[h+8>>0]|0)!=2){h=j;break}h=c[(c[c[h+4>>2]>>2]|0)+172>>2]|0;if(!h){h=j;break}g=((As(h)|0)&1073741823)+1|0;g=nb[c[(c[m>>2]|0)+12>>2]&255](m,h,g,j,i)|0;if(g|0)break v;h=Ft(((As(h)|0)&1073741823)+1|0,0,j|0,i|0)|0;i=z;g=c[p>>2]|0}while(0);k=k+1|0;if((k|0)>=(g|0))break u;else j=h}h=c[m>>2]|0;if(h|0){jb[c[h+4>>2]&255](m)|0;c[m>>2]=0}if(!(c[2]|0))pb[c[56>>2]&255](m);else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}lb[c[n+28>>2]&255](n,o,0)|0;if(c[K+464>>2]|0){Lc(K,o);break r}h=o;do if(h>>>0>=(c[K+296>>2]|0)>>>0){if(h>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[o>>2]=c[H>>2];c[H>>2]=o;break r}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break r}else{H=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break r}}while(0);do if(!((jb[c[(c[m>>2]|0)+48>>2]&255](m)|0)&1024)){g=kb[c[(c[m>>2]|0)+20>>2]&255](m,2)|0;if(!g)break;h=c[m>>2]|0;if(h|0){jb[c[h+4>>2]&255](m)|0;c[m>>2]=0}if(!(c[2]|0))pb[c[56>>2]&255](m);else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}lb[c[n+28>>2]&255](n,o,0)|0;if(c[K+464>>2]|0){Lc(K,o);break r}h=o;do if(h>>>0>=(c[K+296>>2]|0)>>>0){if(h>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[o>>2]=c[H>>2];c[H>>2]=o;break r}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break r}else{H=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break r}}while(0);g=c[p>>2]|0;w:do if((g|0)>0){i=0;while(1){h=c[(c[q>>2]|0)+(i<<4)+4>>2]|0;if(h){g=sh(h,o)|0;if(g|0){h=0;break w}g=c[p>>2]|0}i=i+1|0;if((i|0)>=(g|0)){g=0;h=1;break}}}else{g=0;h=1}while(0);i=c[m>>2]|0;if(i|0){jb[c[i+4>>2]&255](m)|0;c[m>>2]=0}if(!(c[2]|0))pb[c[56>>2]&255](m);else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m)}if(!h){if(c[K+464>>2]|0){Lc(K,o);break r}h=o;do if(h>>>0>=(c[K+296>>2]|0)>>>0){if(h>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[o>>2]=c[H>>2];c[H>>2]=o;break r}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break r}else{H=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break r}}g=lb[c[n+28>>2]&255](n,o,1)|0;n=K+464|0;x:do if(!(c[n>>2]|0)){h=o;do if(h>>>0>=(c[K+296>>2]|0)>>>0){if(h>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[o>>2]=c[H>>2];c[H>>2]=o;break x}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{H=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}else Lc(K,o);while(0);if(g|0)break r;g=c[p>>2]|0;if((g|0)>0){i=0;do{h=c[(c[q>>2]|0)+(i<<4)+4>>2]|0;if(h){rh(h,1)|0;g=c[p>>2]|0}i=i+1|0}while((i|0)<(g|0))}m=c[r>>2]|0;if(m|0){c[r>>2]=0;if((c[s>>2]|0)>0){j=0;do{k=c[m+(j<<2)>>2]|0;i=k+8|0;g=c[i>>2]|0;do if(g|0){h=c[(c[g>>2]|0)+64>>2]|0;if(!h)break;jb[h&255](g)|0}while(0);c[k+20>>2]=0;h=c[k>>2]|0;G=k+12|0;H=(c[G>>2]|0)+-1|0;c[G>>2]=H;y:do if(!H){g=c[i>>2]|0;if(g|0)jb[c[(c[g>>2]|0)+16>>2]&255](g)|0;do if(h|0){if(c[h+464>>2]|0){Lc(h,k);break y}g=k;if(g>>>0<(c[h+296>>2]|0)>>>0)break;if(g>>>0>=(c[h+300>>2]|0)>>>0)break;H=h+292|0;c[k>>2]=c[H>>2];c[H>>2]=k;break y}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{H=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);j=j+1|0}while((j|0)<(c[s>>2]|0))}z:do if(!(c[n>>2]|0)){g=m;do if(g>>>0>=(c[K+296>>2]|0)>>>0){if(g>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[m>>2]=c[H>>2];c[H>>2]=m;break z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}else Lc(K,m);while(0);c[s>>2]=0}C=413;break o}while(0);do if(K|0){if(c[K+464>>2]|0){Lc(K,o);break r}h=o;if(h>>>0<(c[K+296>>2]|0)>>>0)break;if(h>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[o>>2]=c[H>>2];c[H>>2]=o;break r}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{H=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}else g=7;while(0);C=410;break o}while(0);g=c[p>>2]|0;do if((g|0)>0){i=0;while(1){if(h){g=sh(h,0)|0;if(g|0){C=410;break o}g=c[p>>2]|0}h=i+1|0;if((h|0)>=(g|0))break;i=h;h=c[(c[q>>2]|0)+(h<<4)+4>>2]|0}if((g|0)>0)i=0;else break;do{h=c[(c[q>>2]|0)+(i<<4)+4>>2]|0;if(h){g=rh(h,0)|0;if(g|0){C=410;break o}g=c[p>>2]|0}i=i+1|0}while((i|0)<(g|0))}while(0);m=c[r>>2]|0;if(!m){C=413;break}c[r>>2]=0;if((c[s>>2]|0)>0){j=0;do{k=c[m+(j<<2)>>2]|0;i=k+8|0;g=c[i>>2]|0;do if(g|0){h=c[(c[g>>2]|0)+64>>2]|0;if(!h)break;jb[h&255](g)|0}while(0);c[k+20>>2]=0;h=c[k>>2]|0;G=k+12|0;H=(c[G>>2]|0)+-1|0;c[G>>2]=H;A:do if(!H){g=c[i>>2]|0;if(g|0)jb[c[(c[g>>2]|0)+16>>2]&255](g)|0;do if(h|0){if(c[h+464>>2]|0){Lc(h,k);break A}g=k;if(g>>>0<(c[h+296>>2]|0)>>>0)break;if(g>>>0>=(c[h+300>>2]|0)>>>0)break;H=h+292|0;c[k>>2]=c[H>>2];c[H>>2]=k;break A}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{H=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}while(0);j=j+1|0}while((j|0)<(c[s>>2]|0))}B:do if(!(c[K+464>>2]|0)){g=m;do if(g>>>0>=(c[K+296>>2]|0)>>>0){if(g>>>0>=(c[K+300>>2]|0)>>>0)break;H=K+292|0;c[m>>2]=c[H>>2];c[H>>2]=m;break B}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](m);break}else{H=jb[c[64>>2]&255](m)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](m);break}}else Lc(K,m);while(0);c[s>>2]=0;C=413}while(0);if((C|0)==410)switch(g|0){case 5:break;case 0:{C=413;break}default:break k}if((C|0)==413){G=K+448|0;H=K+28|0;c[G>>2]=0;c[G+4>>2]=0;c[G+8>>2]=0;c[G+12>>2]=0;c[H>>2]=c[H>>2]&-524289;H=K+24|0;c[H>>2]=c[H>>2]&-2;break j}if(!((d[I>>0]|d[I+1>>0]<<8)&128)){g=5;break}else f=5;l=N;return f|0}while(0);c[t>>2]=g;Mh(K,0);c[e+44>>2]=0}while(0);g=K+444|0;C=432}else C=416;C:do if((C|0)==416)if(!f)if(!(c[t>>2]|0)){f=1;C=433}else{switch(a[e+142>>0]|0){case 3:{f=1;C=433;break C}case 2:{f=2;C=433;break C}default:{}}Mh(K,516);i=K+432|0;g=c[i>>2]|0;if(g|0){j=K+464|0;k=K+296|0;m=K+300|0;n=K+292|0;do{c[i>>2]=c[g+24>>2];D:do if(!(c[j>>2]|0)){h=g;do if(h>>>0>=(c[k>>2]|0)>>>0){if(h>>>0>=(c[m>>2]|0)>>>0)break;c[g>>2]=c[n>>2];c[n>>2]=g;break D}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{H=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-H;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else Lc(K,g);while(0);g=c[i>>2]|0}while((g|0)!=0)}c[K+440>>2]=0;c[K+444>>2]=0;a[K+79>>0]=0;a[K+71>>0]=1;g=e+44|0;C=432}else C=433;while(0);if((C|0)==432){c[g>>2]=0;if(!f)f=0;else C=433}if((C|0)==433)if(((c[(c[e>>2]|0)+444>>2]|0)!=0?(c[e+48>>2]|0)!=0:0)?(J=Zh(e,f)|0,(J|0)!=0):0){H=c[t>>2]|0;if((H|0)==0|(H&255|0)==19){c[t>>2]=J;g=e+108|0;h=c[g>>2]|0;E:do if(h|0){if(c[K+464>>2]|0){Lc(K,h);break}i=h;do if(i>>>0>=(c[K+296>>2]|0)>>>0){if(i>>>0>=(c[K+300>>2]|0)>>>0)break;J=K+292|0;c[h>>2]=c[J>>2];c[J>>2]=h;break E}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{J=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[g>>2]=0}Mh(K,516);i=K+432|0;g=c[i>>2]|0;if(g|0){j=K+464|0;k=K+296|0;m=K+300|0;n=K+292|0;do{c[i>>2]=c[g+24>>2];F:do if(!(c[j>>2]|0)){h=g;do if(h>>>0>=(c[k>>2]|0)>>>0){if(h>>>0>=(c[m>>2]|0)>>>0)break;c[g>>2]=c[n>>2];c[n>>2]=g;break F}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{J=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-J;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else Lc(K,g);while(0);g=c[i>>2]|0}while((g|0)!=0)}c[K+440>>2]=0;c[K+444>>2]=0;a[K+79>>0]=0;a[K+71>>0]=1;c[e+44>>2]=0}if((d[I>>0]|d[I+1>>0]<<8)&16){g=e+44|0;if((f|0)==2)f=0;else{f=c[g>>2]|0;J=K+96|0;c[J>>2]=(c[J>>2]|0)+f}c[K+92>>2]=f;c[g>>2]=0}}if((c[u>>2]|0)>-1){f=K+160|0;c[f>>2]=(c[f>>2]|0)+-1;f=d[I>>0]|d[I+1>>0]<<8;if(!(f&128)){f=K+168|0;c[f>>2]=(c[f>>2]|0)+-1;f=d[I>>0]|d[I+1>>0]<<8}if(f&256){K=K+164|0;c[K>>2]=(c[K>>2]|0)+-1}}}c[L>>2]=832317811;f=e+40|0;if(!(a[M>>0]|0)){M=(c[f>>2]|0)==5?5:0;l=N;return M|0}else{c[f>>2]=7;M=0;l=N;return M|0}return 0}function Vh(d){d=d|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0;k=c[d>>2]|0;l=c[d+40>>2]|0;i=d+108|0;if(!(c[i>>2]|0)){d=c[k+248>>2]|0;if(!d){k=k+56|0;c[k>>2]=l;return l|0}f=d+8|0;if(!(b[f>>1]&9312)){b[f>>1]=1;k=k+56|0;c[k>>2]=l;return l|0}else{Ye(d);k=k+56|0;c[k>>2]=l;return l|0}}j=k+74|0;a[j>>0]=(a[j>>0]|0)+1<<24>>24;h=k+248|0;d=c[h>>2]|0;do if(!d){do if(c[k+264>>2]|0){if(!(a[k+73>>0]|0))g=11}else{if((e[k+268>>1]|0)>=40){d=k+292|0;f=c[d>>2]|0;if(f|0){c[d>>2]=c[f>>2];g=k+276|0;c[g>>2]=(c[g>>2]|0)+1;g=12;break}d=k+288|0;f=c[d>>2]|0;if(!f)d=2;else{c[d>>2]=c[f>>2];g=k+276|0;c[g>>2]=(c[g>>2]|0)+1;g=12;break}}else d=1;g=k+276+(d<<2)|0;c[g>>2]=(c[g>>2]|0)+1;g=11}while(0);if((g|0)==11){f=Ec(k,40,0)|0;g=12}if((g|0)==12?f|0:0){d=f;g=d+40|0;do{a[d>>0]=0;d=d+1|0}while((d|0)<(g|0));b[f+8>>1]=1;c[f+32>>2]=k;c[h>>2]=f;d=f;g=15;break}c[h>>2]=0}else g=15;while(0);if((g|0)==15)Ve(d,c[i>>2]|0,-1,1,-1)|0;a[j>>0]=(a[j>>0]|0)+-1<<24>>24;k=k+56|0;c[k>>2]=l;return l|0}function Wh(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0,j=0;h=c[a>>2]|0;g=h+112|0;e=c[g>>2]|0;f=h+28|0;a:do if(e|0?(d=c[f>>2]|0,(d|0)>0):0){b=0;while(1){e=c[e+(b<<2)>>2]|0;if(e){Xh(h,e);c[(c[g>>2]|0)+(b<<2)>>2]=0;d=c[f>>2]|0}b=b+1|0;if((b|0)>=(d|0))break a;e=c[g>>2]|0}}while(0);c[h+88>>2]=c[a+8>>2];c[h+136>>2]=c[a+52>>2];c[h+92>>2]=c[a+16>>2];c[h+24>>2]=c[a+56>>2];c[g>>2]=c[a+20>>2];c[f>>2]=c[a+44>>2];g=a+32|0;b=c[g+4>>2]|0;i=c[h>>2]|0;j=i+32|0;c[j>>2]=c[g>>2];c[j+4>>2]=b;c[h+44>>2]=c[a+68>>2];c[i+92>>2]=c[a+72>>2];j=h+212|0;b=c[j>>2]|0;if(!b){i=a+40|0;h=c[i>>2]|0;c[j>>2]=h;c[i>>2]=0;a=a+48|0;a=c[a>>2]|0;return a|0}e=i+464|0;f=i+296|0;g=i+300|0;h=i+292|0;if(!i){do{d=c[b+12>>2]|0;if(d|0)pb[d&255](c[b+8>>2]|0);c[j>>2]=c[b+16>>2];if(!(c[2]|0))pb[c[56>>2]&255](b);else{i=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b)}b=c[j>>2]|0}while((b|0)!=0);i=a+40|0;h=c[i>>2]|0;c[j>>2]=h;c[i>>2]=0;a=a+48|0;a=c[a>>2]|0;return a|0}do{d=c[b+12>>2]|0;if(d|0)pb[d&255](c[b+8>>2]|0);c[j>>2]=c[b+16>>2];do if(!(c[e>>2]|0)){d=b;if(d>>>0>=(c[f>>2]|0)>>>0?d>>>0<(c[g>>2]|0)>>>0:0){c[b>>2]=c[h>>2];c[h>>2]=b;break}if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{d=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}}else Lc(i,b);while(0);b=c[j>>2]|0}while((b|0)!=0);i=a+40|0;h=c[i>>2]|0;c[j>>2]=h;c[i>>2]=0;a=a+48|0;a=c[a>>2]|0;return a|0}function Xh(b,d){b=b|0;d=d|0;var e=0,f=0,g=0,h=0;if(!d)return;switch(a[d>>0]|0){case 1:{f=c[b>>2]|0;b=d+40|0;d=c[b>>2]|0;if(!d)return;_h(f,d);e=c[d+40>>2]|0;do if(e|0)if(!(c[2]|0)){pb[c[56>>2]&255](e);break}else{h=jb[c[64>>2]&255](e)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](e);break}while(0);do if(f){if(c[f+464>>2]|0){Lc(f,d);break}h=d;if(h>>>0>=(c[f+296>>2]|0)>>>0?h>>>0<(c[f+300>>2]|0)>>>0:0){h=f+292|0;c[d>>2]=c[h>>2];c[h>>2]=d}else g=14}else g=14;while(0);do if((g|0)==14)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{h=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);c[b>>2]=0;return}case 0:{if(!(a[d+5>>0]&1)){Oh(c[d+40>>2]|0);return}b=c[d+8>>2]|0;if(!b)return;Nh(b);return}case 2:{h=c[d+40>>2]|0;f=c[h>>2]|0;g=c[f>>2]|0;f=f+4|0;c[f>>2]=(c[f>>2]|0)+-1;jb[c[g+28>>2]&255](h)|0;return}default:return}}function Yh(b,d,e){b=b|0;d=d|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,m=0,n=0,o=0;o=l;l=l+112|0;h=o+40|0;m=o+16|0;k=o;f=c[b>>2]|0;n=b+108|0;g=c[n>>2]|0;do if(g|0){if(f|0){if(c[f+464>>2]|0){Lc(f,g);break}j=g;if(j>>>0>=(c[f+296>>2]|0)>>>0?j>>>0<(c[f+300>>2]|0)>>>0:0){j=f+292|0;c[g>>2]=c[j>>2];c[j>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{j=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-j;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);c[k>>2]=e;j=c[b>>2]|0;g=c[j+100>>2]|0;i=m+4|0;c[i>>2]=h;c[m>>2]=j;c[m+8>>2]=70;f=m+12|0;c[f>>2]=g;g=m+16|0;c[g>>2]=0;h=m+20|0;a[h>>0]=0;e=m+21|0;a[e>>0]=1;Cc(m,d,k);b=c[i>>2]|0;if(((b|0)!=0?(a[b+(c[g>>2]|0)>>0]=0,(c[f>>2]|0)!=0):0)?(a[e>>0]&4)==0:0)f=Dc(m)|0;else f=c[i>>2]|0;if((a[h>>0]|0)!=1){c[n>>2]=f;l=o;return}b=j+73|0;if(a[b>>0]|0){c[n>>2]=f;l=o;return}if(a[j+74>>0]|0){c[n>>2]=f;l=o;return}a[b>>0]=1;if((c[j+172>>2]|0)>0)c[j+256>>2]=1;m=j+264|0;c[m>>2]=(c[m>>2]|0)+1;c[n>>2]=f;l=o;return}function Zh(e,f){e=e|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0;C=c[e>>2]|0;s=e+48|0;A=c[s>>2]|0;B=A+-1|0;t=C+20|0;j=c[t>>2]|0;if((j|0)>0){o=C+16|0;p=(f|0)==2;q=(A|0)<1;n=0;g=0;do{m=c[(c[o>>2]|0)+(n<<4)+4>>2]|0;if(m){k=m+8|0;do if(p?(a[k>>0]|0)==2:0){l=c[m+4>>2]|0;c[l+4>>2]=c[m>>2];j=c[l+8>>2]|0;if(j|0?(r=th(j,0,0)|0,r|0):0){j=r;break}j=Cg(c[l>>2]|0,2,B)|0;if(!j){if(q?b[l+22>>1]&16:0)c[l+44>>2]=0;j=oh(l)|0;D=c[(c[l+12>>2]|0)+56>>2]|0;c[l+44>>2]=d[D+29>>0]<<16|d[D+28>>0]<<24|d[D+30>>0]<<8|d[D+31>>0];if(!j)u=14}}else u=14;while(0);if((u|0)==14){u=0;if((a[k>>0]|0)==2){k=c[m+4>>2]|0;c[k+4>>2]=c[m>>2];j=Cg(c[k>>2]|0,1,B)|0;if(!j){if(q?b[k+22>>1]&16:0)c[k+44>>2]=0;j=oh(k)|0;D=c[(c[k+12>>2]|0)+56>>2]|0;c[k+44>>2]=d[D+29>>0]<<16|d[D+28>>0]<<24|d[D+30>>0]<<8|d[D+31>>0]}}else j=0}g=(g|0)==0?j:g;j=c[t>>2]|0}n=n+1|0}while((n|0)<(j|0));D=C+444|0;c[D>>2]=(c[D>>2]|0)+-1;c[s>>2]=0;if(!g)u=23}else{u=C+444|0;c[u>>2]=(c[u>>2]|0)+-1;c[s>>2]=0;u=23}a:do if((u|0)==23){m=C+348|0;b:do if(((f|0)==2?(v=c[m>>2]|0,v|0):0)?(w=C+324|0,i=c[w>>2]|0,(i|0)>0):0){l=0;g=v;while(1){g=c[g+(l<<2)>>2]|0;j=c[c[g+4>>2]>>2]|0;k=c[g+8>>2]|0;if((((k|0)!=0?(c[j>>2]|0)>1:0)?(x=c[j+88>>2]|0,(x|0)!=0):0)?(c[g+20>>2]|0)>=(A|0):0){g=kb[x&255](k,B)|0;if(g|0)break a;i=c[w>>2]|0}g=l+1|0;if((g|0)>=(i|0))break b;l=g;g=c[m>>2]|0}}while(0);g=c[m>>2]|0;if((g|0)!=0?(y=C+324|0,h=c[y>>2]|0,(h|0)>0):0){k=0;while(1){g=c[g+(k<<2)>>2]|0;i=c[c[g+4>>2]>>2]|0;j=c[g+8>>2]|0;if((((j|0)!=0?(c[i>>2]|0)>1:0)?(z=c[i+84>>2]|0,(z|0)!=0):0)?(c[g+20>>2]|0)>=(A|0):0){g=kb[z&255](j,B)|0;if(g|0)break a;h=c[y>>2]|0}g=k+1|0;if((g|0)>=(h|0)){g=0;break a}k=g;g=c[m>>2]|0}}else g=0}while(0);if((f|0)!=2)return g|0;B=e+72|0;D=c[B+4>>2]|0;f=C+448|0;c[f>>2]=c[B>>2];c[f+4>>2]=D;e=e+80|0;f=c[e+4>>2]|0;D=C+456|0;c[D>>2]=c[e>>2];c[D+4>>2]=f;return g|0}function _h(b,e){b=b|0;e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0;k=e+20|0;l=c[k>>2]|0;do if(l|0){if((c[l>>2]|0)>0){m=l+12|0;j=0;do{h=c[m>>2]|0;i=h+(j*56|0)|0;g=c[h+(j*56|0)+28>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);g=c[h+(j*56|0)+36>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{p=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);$h(c[h+(j*56|0)+48>>2]|0);g=i+56|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(g|0));j=j+1|0}while((j|0)<(c[l>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](l);break}else{p=jb[c[64>>2]&255](l)|0;c[11822]=(c[11822]|0)-p;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](l);break}}while(0);c[k>>2]=0;k=e+59|0;if(a[k>>0]|0){l=(b|0)==0;m=b+464|0;n=b+296|0;o=b+300|0;p=b+292|0;j=0;do{i=e+64+(j*72|0)|0;g=c[e+64+(j*72|0)+12>>2]|0;do if(g|0){if(!l){if(c[m>>2]|0){Lc(b,g);break}h=g;if(h>>>0>=(c[n>>2]|0)>>>0?h>>>0<(c[o>>2]|0)>>>0:0){c[g>>2]=c[p>>2];c[p>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{h=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-h;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);g=c[e+64+(j*72|0)+16>>2]|0;if(g|0)do{h=g;g=c[g+4>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](h);else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h)}}while((g|0)!=0);h=c[e+64+(j*72|0)+40>>2]|0;do if(h|0){g=c[h>>2]|0;if(g|0){jb[c[g+4>>2]&255](h)|0;c[h>>2]=0}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);g=c[e+64+(j*72|0)+56>>2]|0;do if(g|0){h=c[g>>2]|0;if(h|0){jb[c[h+4>>2]&255](g)|0;c[g>>2]=0}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{q=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);g=i+72|0;do{c[i>>2]=0;i=i+4|0}while((i|0)<(g|0));c[e+64+(j*72|0)+8>>2]=e;j=j+1|0}while((j|0)<(d[k>>0]|0))}h=e+36|0;if((c[e+40>>2]|0)==0?(f=c[h>>2]|0,f|0):0)do{g=f;f=c[f+4>>2]|0;if(!(c[2]|0))pb[c[56>>2]&255](g);else{q=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g)}}while((f|0)!=0);c[h>>2]=0;c[e+44>>2]=0;a[e+56>>0]=0;c[e+48>>2]=0;c[e+8>>2]=0;f=e+32|0;g=c[f>>2]|0;if(!g){c[f>>2]=0;return}if(b|0){if(c[b+464>>2]|0){Lc(b,g);c[f>>2]=0;return}q=g;if(q>>>0>=(c[b+296>>2]|0)>>>0?q>>>0<(c[b+300>>2]|0)>>>0:0){q=b+292|0;c[g>>2]=c[q>>2];c[q>>2]=g;c[f>>2]=0;return}}if(!(c[2]|0)){pb[c[56>>2]&255](g);c[f>>2]=0;return}else{q=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);c[f>>2]=0;return}}function $h(a){a=a|0;var b=0,d=0,e=0,f=0,g=0,h=0,i=0;if(!a)return;g=c[a+4>>2]|0;do if(g|0){if((c[g>>2]|0)>0){h=g+12|0;f=0;do{e=c[h>>2]|0;b=e+(f*56|0)|0;d=c[e+(f*56|0)+28>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);d=c[e+(f*56|0)+36>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{i=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);$h(c[e+(f*56|0)+48>>2]|0);d=b+56|0;do{c[b>>2]=0;b=b+4|0}while((b|0)<(d|0));f=f+1|0}while((f|0)<(c[g>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{i=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);return}else{i=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);return}}function ai(b){b=b|0;var d=0,e=0,f=0;if(!b){e=0;return e|0}e=c[b>>2]|0;d=b+128|0;f=c[d+4>>2]|0;if((f|0)>0|(f|0)==0&(c[d>>2]|0)>>>0>0)Rh(e,b);d=Sh(b)|0;c[b+20>>2]=770837923;c[b+36>>2]=-1;c[b+40>>2]=0;a[b+142>>0]=2;c[b+44>>2]=0;c[b+32>>2]=1;a[b+143>>0]=-1;c[b+48>>2]=0;f=b+64|0;c[f>>2]=0;c[f+4>>2]=0;if((d|0)==3082|(a[e+73>>0]|0)!=0){Th(e);f=7;return f|0}else{f=c[e+60>>2]&d;return f|0}return 0}function bi(e){e=e|0;var f=0,g=0,h=0,i=0,j=0,k=0;j=e+16|0;f=b[j>>1]|0;if(f<<16>>16>0){k=e+116|0;i=0;g=c[k>>2]|0;do{h=g+(i*40|0)|0;if(!((b[g+(i*40|0)+8>>1]&9312)==0?(c[g+(i*40|0)+24>>2]|0)==0:0)){af(h);g=c[k>>2]|0;f=b[j>>1]|0}b[g+(i*40|0)+8>>1]=1;i=i+1|0}while((i|0)<(f<<16>>16|0))}if(!(c[e+204>>2]|0))return 0;k=e+145|0;j=d[k>>0]|d[k+1>>0]<<8|1;a[k>>0]=j;a[k+1>>0]=j>>8;return 0}function ci(b){b=b|0;var d=0;if(!b){d=0;return d|0}d=e[b+8>>1]|0;if((d&514|0)==514?(a[b+10>>0]|0)==1:0){d=c[b+16>>2]|0;return d|0}if(d&1|0){d=0;return d|0}d=Jc(b,1)|0;return d|0}function di(b){b=b|0;var d=0,f=0;f=e[b+8>>1]|0;if(f&2|0?(a[b+10>>0]|0)==1:0){f=c[b+12>>2]|0;return f|0}if(!(f&16)){if(f&1|0){f=0;return f|0}f=Ue(b,1)|0;return f|0}else{d=c[b+12>>2]|0;if(!(f&16384)){f=d;return f|0}f=(c[b>>2]|0)+d|0;return f|0}return 0}function ei(b){b=b|0;var d=0,f=0.0;d=e[b+8>>1]|0;if(d&8|0){f=+h[b>>3];return +f}if(d&4|0){d=b;f=+((c[d>>2]|0)>>>0)+4294967296.0*+(c[d+4>>2]|0);return +f}if(!(d&18)){f=0.0;return +f}f=+Ic(a[b+10>>0]|0,c[b+12>>2]|0,c[b+16>>2]|0);return +f}function fi(b){b=b|0;var d=0;d=e[b+8>>1]|0;if(d&4|0){d=c[b>>2]|0;return d|0}if(d&8|0){d=Gc(+h[b>>3])|0;return d|0}if(!(d&18)){d=0;return d|0}d=Hc(a[b+10>>0]|0,c[b+12>>2]|0,c[b+16>>2]|0)|0;return d|0}function gi(b){b=b|0;var d=0;d=e[b+8>>1]|0;if(d&4|0){d=b;b=c[d+4>>2]|0;d=c[d>>2]|0;z=b;return d|0}if(d&8|0){d=Gc(+h[b>>3])|0;b=z;z=b;return d|0}if(!(d&18)){b=0;d=0;z=b;return d|0}d=Hc(a[b+10>>0]|0,c[b+12>>2]|0,c[b+16>>2]|0)|0;b=z;z=b;return d|0}function hi(a){a=a|0;return d[19034+(b[a+8>>1]&31)>>0]|0|0}function ii(a,d){a=a|0;d=+d;var e=0,f=0,g=0,i=0;i=l;l=l+16|0;f=i+8|0;g=i;a=c[a>>2]|0;e=a+8|0;if(!(b[e>>1]&9312))b[e>>1]=1;else Ye(a);h[f>>3]=d;h[g>>3]=+h[f>>3];if(+h[f>>3]!=+h[g>>3]){l=i;return}h[a>>3]=d;b[e>>1]=8;l=i;return}function ji(b,d,e){b=b|0;d=d|0;e=e|0;c[b+20>>2]=1;a[b+25>>0]=1;Ve(c[b>>2]|0,d,e,1,-1)|0;return}function ki(a,d){a=a|0;d=d|0;var e=0,f=0;a=c[a>>2]|0;e=((d|0)<0)<<31>>31;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4;return}else{Xe(a,d,e);return}}function li(a,d,e){a=a|0;d=d|0;e=e|0;var f=0;a=c[a>>2]|0;f=a+8|0;if(!(b[f>>1]&9312)){c[a>>2]=d;c[a+4>>2]=e;b[f>>1]=4;return}else{Xe(a,d,e);return}}function mi(a){a=a|0;var d=0;a=c[a>>2]|0;d=a+8|0;if(!(b[d>>1]&9312)){b[d>>1]=1;return}else{Ye(a);return}}function ni(a){a=a|0;return}function oi(b,d,e,f){b=b|0;d=d|0;e=e|0;f=f|0;if((Ve(c[b>>2]|0,d,e,1,f)|0)!=18)return;c[b+20>>2]=18;a[b+25>>0]=1;Ve(c[b>>2]|0,18992,-1,1,0)|0;return}function pi(d){d=d|0;var e=0,f=0;e=c[d>>2]|0;f=e+8|0;if(!(b[f>>1]&9312))b[f>>1]=1;else{Ye(e);e=c[d>>2]|0}c[d+20>>2]=7;a[d+25>>0]=1;e=c[e+32>>2]|0;f=e+73|0;if(a[f>>0]|0)return;if(a[e+74>>0]|0)return;a[f>>0]=1;if((c[e+172>>2]|0)>0)c[e+256>>2]=1;d=e+264|0;c[d>>2]=(c[d>>2]|0)+1;return}function qi(f){f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,O=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0.0;za=l;l=l+368|0;ua=za+360|0;ta=za+352|0;sa=za+344|0;ra=za+336|0;qa=za+328|0;pa=za+320|0;oa=za+312|0;na=za+304|0;ma=za+296|0;la=za+288|0;ka=za+280|0;ja=za+272|0;ia=za+264|0;wa=za+256|0;va=za+248|0;i=za+232|0;g=za+224|0;da=za;ga=za+364|0;do if(!f)Bc(21,22046,za+216|0);else{ya=c[f>>2]|0;if(!ya){Bc(21,21366,g);break}$=f+145|0;aa=f+20|0;ba=f+36|0;y=f+184|0;z=f+128|0;xa=f+40|0;C=f+92|0;D=f+104|0;E=f+136|0;F=f+88|0;G=da+4|0;H=da+8|0;I=da+12|0;J=da+16|0;K=da+21|0;L=f+140|0;M=f+144|0;O=f+8|0;Q=f+4|0;R=f+204|0;S=f+156|0;T=f+176|0;U=f+116|0;V=f+142|0;W=f+44|0;X=f+32|0;Y=f+143|0;Z=f+48|0;_=f+64|0;g=0;i=(d[$>>0]|d[$+1>>0]<<8)&-3;a:while(1){a[$>>0]=i;a[$+1>>0]=i>>8;x=g;do{if((c[aa>>2]|0)!=770837923){g=c[f>>2]|0;v=z;u=c[v+4>>2]|0;if((u|0)>0|(u|0)==0&(c[v>>2]|0)>>>0>0)Rh(g,f);v=Sh(f)|0;c[aa>>2]=770837923;c[ba>>2]=-1;c[xa>>2]=0;a[V>>0]=2;c[W>>2]=0;c[X>>2]=1;a[Y>>0]=-1;c[Z>>2]=0;u=_;c[u>>2]=0;c[u+4>>2]=0;if((v|0)==3082|(a[g+73>>0]|0)!=0)Th(g)}v=c[f>>2]|0;if(a[v+73>>0]|0){w=14;break a}g=c[ba>>2]|0;if((g|0)<1)if(!((d[$>>0]|d[$+1>>0]<<8)&1))if((g|0)<0){i=v+160|0;if(!(c[i>>2]|0))c[v+256>>2]=0;if(!((c[v+196>>2]|0)==0?!(a[v+80>>0]&2):0))w=22;do if(((w|0)==22?(0,(a[v+157>>0]|0)==0):0)?c[y>>2]|0:0){g=c[v>>2]|0;if((c[g>>2]|0)>1?(ha=c[g+72>>2]|0,ha|0):0){kb[ha&255](g,z)|0;break}kb[c[g+64>>2]&255](g,da)|0;Aa=+h[da>>3]*864.0e5;u=+B(Aa)>=1.0?(Aa>0.0?~~+P(+A(Aa/4294967296.0),4294967295.0)>>>0:~~+N((Aa-+(~~Aa>>>0))/4294967296.0)>>>0):0;w=z;c[w>>2]=~~Aa>>>0;c[w+4>>2]=u}while(0);c[i>>2]=(c[i>>2]|0)+1;g=d[$>>0]|d[$+1>>0]<<8;if(!(g&128)){g=v+168|0;c[g>>2]=(c[g>>2]|0)+1;g=d[$>>0]|d[$+1>>0]<<8}if(g&256){w=v+164|0;c[w>>2]=(c[w>>2]|0)+1}c[ba>>2]=0;w=33}else w=33;else{g=1;i=17;w=179}else w=33;do if((w|0)==33){w=0;do if(!((d[$>>0]|d[$+1>>0]<<8)&12)){u=v+172|0;c[u>>2]=(c[u>>2]|0)+1;g=ri(f)|0;c[u>>2]=(c[u>>2]|0)+-1;if((g|0)==100)g=100;else w=163}else{s=c[f>>2]|0;u=c[C>>2]|0;t=u+40|0;n=c[u+72>>2]|0;o=n+464|0;g=(n|0)==0;p=n+296|0;q=n+300|0;r=n+292|0;b:do if(!(c[o>>2]|0)){if(g){g=1;while(1){i=u+(g*40|0)+8|0;if(!(b[i>>1]&9312)){j=u+(g*40|0)+24|0;if(c[j>>2]|0){k=c[u+(g*40|0)+20>>2]|0;do if(k|0)if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{w=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}while(0);c[j>>2]=0}}else af(u+(g*40|0)|0);b[i>>1]=128;g=g+1|0;if((g|0)==9)break b}}else g=1;do{i=u+(g*40|0)+8|0;if(!(b[i>>1]&9312)){j=u+(g*40|0)+24|0;if(c[j>>2]|0){k=c[u+(g*40|0)+20>>2]|0;c:do if(!(c[o>>2]|0)){m=k;do if(m>>>0>=(c[p>>2]|0)>>>0){if(m>>>0>=(c[q>>2]|0)>>>0)break;c[k>>2]=c[r>>2];c[r>>2]=k;break c}while(0);if(!k)break;if(!(c[2]|0)){pb[c[56>>2]&255](k);break}else{w=jb[c[64>>2]&255](k)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](k);break}}else Lc(n,k);while(0);c[j>>2]=0}}else af(u+(g*40|0)|0);b[i>>1]=128;g=g+1|0}while((g|0)!=9)}else{if(g){g=1;while(1){do if(c[u+(g*40|0)+24>>2]|0?(ea=c[u+(g*40|0)+20>>2]|0,ea|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](ea);break}else{w=jb[c[64>>2]&255](ea)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](ea);break}while(0);g=g+1|0;if((g|0)==9)break b}}else g=1;do{d:do if(c[u+(g*40|0)+24>>2]|0?(fa=c[u+(g*40|0)+20>>2]|0,fa|0):0){if(c[o>>2]|0){Lc(n,fa);break}i=fa;do if(i>>>0>=(c[p>>2]|0)>>>0){if(i>>>0>=(c[q>>2]|0)>>>0)break;c[fa>>2]=c[r>>2];c[r>>2]=fa;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](fa);break}else{w=jb[c[64>>2]&255](fa)|0;c[11822]=(c[11822]|0)-w;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](fa);break}}while(0);g=g+1|0}while((g|0)!=9)}while(0);c[D>>2]=0;if((c[xa>>2]|0)==7){g=s+73|0;if(a[g>>0]|0){g=1;w=163;break}if(a[s+74>>0]|0){g=1;w=163;break}a[g>>0]=1;if((c[s+172>>2]|0)>0)c[s+256>>2]=1;g=s+264|0;c[g>>2]=(c[g>>2]|0)+1;g=1;w=163;break}p=c[E>>2]|0;n=(d[$>>0]|d[$+1>>0]<<8)&12;r=n<<16>>16==4;e:do if(r){g=c[C>>2]|0;k=g+360|0;if(b[g+368>>1]&16){m=(c[g+372>>2]|0)>>>2;g=c[g+376>>2]|0;if(m){i=p;j=0;while(1){i=(c[(c[g+(j<<2)>>2]|0)+4>>2]|0)+i|0;j=j+1|0;if((j|0)==(m|0)){j=g;w=85;break e}}}}else g=0;i=p;m=0;j=g;n=c[ba>>2]|0;w=91}else{k=0;i=p;m=0;j=0;w=85}while(0);f:do if((w|0)==85){w=0;g=c[ba>>2]|0;if(n<<16>>16==8){n=g;while(1){g=n+1|0;if((n|0)>=(i|0)){w=92;break f}if((a[(c[F>>2]|0)+(n*20|0)>>0]|0)==-89){q=k;o=j;i=n;break}else n=g}}else{n=g;w=91}}while(0);if((w|0)==91){w=0;g=n+1|0;if((n|0)<(i|0)){q=k;o=j;i=n}else w=92}if((w|0)==92){c[ba>>2]=g;c[xa>>2]=0;g=101;w=163;break}c[ba>>2]=g;if(c[s+256>>2]|0){c[xa>>2]=9;Yh(f,21698,va);g=1;w=163;break}if((i|0)<(p|0)){s=(c[F>>2]|0)+(i*20|0)|0;g=i}else{g=i-p|0;i=c[o>>2]|0;j=c[i+4>>2]|0;if((g|0)>=(j|0)){k=0;do{g=g-j|0;k=k+1|0;i=c[o+(k<<2)>>2]|0;j=c[i+4>>2]|0}while((g|0)>=(j|0))}s=(c[i>>2]|0)+(g*20|0)|0}do if(r){b[u+48>>1]=4;j=t;c[j>>2]=g;c[j+4>>2]=((g|0)<0)<<31>>31;b[u+88>>1]=2562;j=c[4176+(d[s>>0]<<2)>>2]|0;c[u+96>>2]=j;c[u+92>>2]=(As(j)|0)&1073741823;a[u+90>>0]=1;j=u+120|0;if((a[s+1>>0]|0)==-4){k=(m<<2)+4|0;if(m){i=c[s+16>>2]|0;g=0;do{if((c[o+(g<<2)>>2]|0)==(i|0))break;g=g+1|0}while((g|0)<(m|0));if((g|0)==(m|0))g=m;else{q=j;break}}else g=0;if(_e(q,k,(g|0)!=0&1)|0){q=j;break}c[(c[q+16>>2]|0)+(g<<2)>>2]=c[s+16>>2];u=q+8|0;b[u>>1]=b[u>>1]|16;c[q+12>>2]=k;q=j}else q=j}else q=t;while(0);b[q+8>>1]=4;i=c[s+4>>2]|0;p=q;c[p>>2]=i;c[p+4>>2]=((i|0)<0)<<31>>31;b[q+48>>1]=4;p=c[s+8>>2]|0;i=q+40|0;c[i>>2]=p;c[i+4>>2]=((p|0)<0)<<31>>31;b[q+88>>1]=4;i=c[s+12>>2]|0;p=q+80|0;c[p>>2]=i;c[p+4>>2]=((i|0)<0)<<31>>31;p=q+120|0;i=q+144|0;j=c[i>>2]|0;if((j|0)<100){if(_e(p,100,0)|0){g=1;w=163;break}g=q+136|0;k=q+128|0;o=g;g=c[g>>2]|0;j=c[i>>2]|0}else{g=c[q+140>>2]|0;o=q+136|0;c[o>>2]=g;k=q+128|0;b[k>>1]=b[k>>1]&13}b[k>>1]=514;c[G>>2]=g;c[da>>2]=0;c[H>>2]=j;c[I>>2]=0;c[I+4>>2]=0;b[I+8>>1]=0;g:do switch(a[s+1>>0]|0){case -9:{k=c[s+16>>2]|0;m=k+6|0;c[wa>>2]=e[m>>1];mf(da,22086,wa);if(b[m>>1]|0){n=k+16|0;j=0;do{i=c[k+20+(j<<2)>>2]|0;if(!i)i=47328;else i=c[i>>2]|0;u=(Ls(i,22091)|0)==0;c[ia>>2]=a[(c[n>>2]|0)+j>>0]|0?22100:47328;c[ia+4>>2]=u?22098:i;mf(da,22102,ia);j=j+1|0}while((j|0)<(e[m>>1]|0))}i=c[J>>2]|0;j=i+1|0;if(j>>>0<(c[H>>2]|0)>>>0){c[J>>2]=j;a[(c[G>>2]|0)+i>>0]=41;break g}else{Fc(da,22108,1);break g}}case -2:{c[ja>>2]=c[c[s+16>>2]>>2];mf(da,22110,ja);break}case -8:{t=c[s+16>>2]|0;u=a[t>>0]|0;c[ka>>2]=c[t+20>>2];c[ka+4>>2]=u;mf(da,22118,ka);break}case -14:{r=c[s+16>>2]|0;t=c[r+4>>2]|0;u=la;c[u>>2]=c[r>>2];c[u+4>>2]=t;mf(da,19366,la);break}case -3:{c[ma>>2]=c[s+16>>2];mf(da,22125,ma);break}case -13:{h[na>>3]=+h[c[s+16>>2]>>3];mf(da,19360,na);break}case -11:{i=c[s+16>>2]|0;j=e[i+8>>1]|0;if(j&2|0){g=c[i+16>>2]|0;break g}if(j&4|0){r=i;t=c[r+4>>2]|0;u=oa;c[u>>2]=c[r>>2];c[u+4>>2]=t;mf(da,19366,oa);break g}if(!(j&8)){g=(j&1|0)==0?22128:17306;break g}else{h[pa>>3]=+h[i>>3];mf(da,19360,pa);break g}}case -12:{c[qa>>2]=c[(c[s+16>>2]|0)+8>>2];mf(da,22135,qa);break}case -15:{k=c[s+16>>2]|0;m=c[k>>2]|0;if((m|0)<1)k=0;else{i=1;while(1){c[ra>>2]=c[k+(i<<2)>>2];mf(da,22143,ra);if((i|0)==(m|0))break;else i=i+1|0}k=c[J>>2]|0;j=c[H>>2]|0}a[g>>0]=91;i=k+1|0;if(i>>>0>>0){c[J>>2]=i;a[(c[G>>2]|0)+k>>0]=93;break g}else{Fc(da,22147,1);break g}}case -4:{mf(da,22149,sa);break}case -5:{a[g>>0]=0;break}case -6:{c[ta>>2]=c[c[s+16>>2]>>2];mf(da,17859,ta);break}default:{i=c[s+16>>2]|0;if(!i)a[g>>0]=0;else g=i}}while(0);i=c[G>>2]|0;do if(i|0){a[i+(c[J>>2]|0)>>0]=0;if(!(c[I>>2]|0))break;if(a[K>>0]&4)break;Dc(da)|0}while(0);if((g|0)==(c[o>>2]|0)){if(!g)g=0;else g=(As(g)|0)&1073741823;c[q+132>>2]=g;a[q+130>>0]=1}else{c[q+132>>2]=0;Ve(p,g,-1,1,0)|0}g=d[$>>0]|d[$+1>>0]<<8;if((g&12)==4){if((c[q+184>>2]|0)<4){if(_e(q+160|0,4,0)|0){g=1;w=163;break}g=q+168|0;i=c[q+176>>2]|0}else{i=c[q+180>>2]|0;c[q+176>>2]=i;g=q+168|0;b[g>>1]=b[g>>1]&13}b[g>>1]=514;c[q+172>>2]=2;c[ua>>2]=e[s+2>>1];wd(3,i,22157,ua)|0;a[q+170>>0]=1;b[q+208>>1]=1;g=d[$>>0]|d[$+1>>0]<<8}b[L>>1]=12-(g&12);c[D>>2]=(c[C>>2]|0)+40;c[xa>>2]=0;g=100}while(0);if((w|0)==163){w=0;u=z;t=c[u+4>>2]|0;if((t|0)>0|(t|0)==0&(c[u>>2]|0)>>>0>0)Rh(v,f);if((g|0)==101)if(!(a[v+71>>0]|0))g=101;else{o=v+20|0;i=c[o>>2]|0;if((i|0)>0){p=v+16|0;q=v+228|0;r=v+232|0;n=0;g=0;do{m=c[p>>2]|0;j=c[m+(n<<4)+4>>2]|0;do if((j|0)!=0?(ca=c[j+4>>2]|0,c[ca+4>>2]=c[j>>2],ca=c[(c[ca>>2]|0)+212>>2]|0,(ca|0)!=0):0){u=ca+12|0;j=c[u>>2]|0;c[u>>2]=0;if((j|0)<=0)break;k=c[q>>2]|0;if(!((g|0)==0&(k|0)!=0))break;g=mb[k&255](c[r>>2]|0,v,c[m+(n<<4)>>2]|0,j)|0;i=c[o>>2]|0}while(0);n=n+1|0}while((n|0)<(i|0))}else g=0;c[xa>>2]=g;g=(g|0)==0?101:1}}c[v+56>>2]=g;i=c[f>>2]|0;j=c[xa>>2]|0;if(!((j|0)==3082|(a[i+73>>0]|0)!=0))if((c[i+60>>2]&j|0)==7){i=7;w=179;break}else break;else{Th(i);i=7;w=179;break}}while(0);if((w|0)==179){w=0;c[xa>>2]=i}if((g&-2|0)!=100&(a[M>>0]|0)<0)g=Vh(f)|0;g=c[v+60>>2]&g;if((g|0)!=17){w=252;break a}v=x;x=x+1|0;if((v|0)>=50){g=17;w=252;break a}s=c[ba>>2]|0;i=c[f>>2]|0;o=si(i,c[y>>2]|0,-1,d[M>>0]|0,f,ga,0)|0;switch(o|0){case 7:{w=185;break a}case 0:break;default:{w=214;break a}}r=c[ga>>2]|0;Tt(da|0,r|0,216)|0;Tt(r|0,f|0,216)|0;Tt(f|0,da|0,216)|0;q=r+8|0;p=c[q>>2]|0;c[q>>2]=c[O>>2];c[O>>2]=p;p=r+4|0;v=c[p>>2]|0;c[p>>2]=c[Q>>2];c[Q>>2]=v;v=r+184|0;m=c[v>>2]|0;c[v>>2]=c[y>>2];c[y>>2]=m;c[R>>2]=c[r+204>>2];a[M>>0]=a[r+144>>0]|0;m=r+156|0;c[S>>2]=c[m>>2];c[S+4>>2]=c[m+4>>2];c[S+8>>2]=c[m+8>>2];c[S+12>>2]=c[m+12>>2];c[S+16>>2]=c[m+16>>2];c[S+20>>2]=c[m+20>>2];c[S+24>>2]=c[m+24>>2];c[T>>2]=(c[T>>2]|0)+1;m=r+16|0;if((b[m>>1]|0)>0){n=r+116|0;k=0;do{v=c[U>>2]|0;g=v+(k*40|0)|0;o=c[n>>2]|0;i=o+(k*40|0)|0;if(!((b[v+(k*40|0)+8>>1]&9312)==0?!(c[v+(k*40|0)+24>>2]|0):0))af(g);j=g+40|0;do{c[g>>2]=c[i>>2];g=g+4|0;i=i+4|0}while((g|0)<(j|0));b[o+(k*40|0)+8>>1]=1;c[o+(k*40|0)+24>>2]=0;k=k+1|0}while((k|0)<(b[m>>1]|0))}c[r+40>>2]=0;k=r+20|0;g=c[k>>2]|0;if((g|0)<832317811)switch(g|0){case 770837923:{w=197;break}default:{}}else switch(g|0){case 832317811:{w=197;break}default:{}}if((w|0)==197){w=0;Sh(r)|0}j=c[r>>2]|0;Uf(j,r);i=c[p>>2]|0;g=c[q>>2]|0;if(!i)c[j+4>>2]=g;else{c[i+8>>2]=g;g=c[q>>2]|0}if(g|0)c[g+4>>2]=i;c[k>>2]=1443283912;c[r>>2]=0;do if(j){if(c[j+464>>2]|0){Lc(j,r);break}v=r;if(v>>>0>=(c[j+296>>2]|0)>>>0?v>>>0<(c[j+300>>2]|0)>>>0:0){v=j+292|0;c[r>>2]=c[v>>2];c[v>>2]=r}else w=209}else w=209;while(0);do if((w|0)==209){w=0;if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{v=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-v;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);g=c[f>>2]|0;v=z;u=c[v+4>>2]|0;if((u|0)>0|(u|0)==0&(c[v>>2]|0)>>>0>0)Rh(g,f);v=Sh(f)|0;c[aa>>2]=770837923;c[ba>>2]=-1;c[xa>>2]=0;a[V>>0]=2;c[W>>2]=0;c[X>>2]=1;a[Y>>0]=-1;c[Z>>2]=0;u=_;c[u>>2]=0;c[u+4>>2]=0;if((v|0)==3082|(a[g+73>>0]|0)!=0)Th(g)}while((s|0)<=-1);g=x;i=d[$>>0]|d[$+1>>0]<<8|2}if((w|0)==14){c[xa>>2]=7;ya=7;l=za;return ya|0}else if((w|0)==185){g=i+73|0;if((a[g>>0]|0)==0?(a[i+74>>0]|0)==0:0){a[g>>0]=1;if((c[i+172>>2]|0)>0)c[i+256>>2]=1;wa=i+264|0;c[wa>>2]=(c[wa>>2]|0)+1}o=7}else if((w|0)!=214)if((w|0)==252){l=za;return g|0}g=c[ya+248>>2]|0;do if(g){i=e[g+8>>1]|0;if((i&514|0)==514?(a[g+10>>0]|0)==1:0){m=c[g+16>>2]|0;break}if(!(i&1))m=Jc(g,1)|0;else m=0}else m=0;while(0);n=f+108|0;g=c[n>>2]|0;do if(g|0){if(c[ya+464>>2]|0){Lc(ya,g);break}f=g;if(f>>>0>=(c[ya+296>>2]|0)>>>0?f>>>0<(c[ya+300>>2]|0)>>>0:0){f=ya+292|0;c[g>>2]=c[f>>2];c[f>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{f=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-f;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);k=ya+73|0;do if(!(a[k>>0]|0)){if(m){j=(As(m)|0)+1|0;do if(!(c[ya+264>>2]|0)){if(!(0<0|(0==0?(e[ya+268>>1]|0)>>>0>>0:0))){i=ya+292|0;g=c[i>>2]|0;if(g|0){c[i>>2]=c[g>>2];f=ya+276|0;c[f>>2]=(c[f>>2]|0)+1;break}i=ya+288|0;g=c[i>>2]|0;if(!g)g=2;else{c[i>>2]=c[g>>2];f=ya+276|0;c[f>>2]=(c[f>>2]|0)+1;break}}else g=1;w=ya+276+(g<<2)|0;c[w>>2]=(c[w>>2]|0)+1;w=239}else w=239;while(0);if((w|0)==239)g=Ec(ya,j,0)|0;if(g)Tt(g|0,m|0,j|0)|0;else g=0}else g=0;c[n>>2]=g;if((o|0)==3082|(a[k>>0]|0)!=0){Th(ya);g=7;break}else{g=c[ya+60>>2]&o;break}}else{c[n>>2]=0;g=7}while(0);c[xa>>2]=g;ya=g;l=za;return ya|0}while(0);c[i>>2]=17025;c[i+4>>2]=77982;c[i+8>>2]=17052;Bc(21,17e3,i);ya=21;l=za;return ya|0}function ri(f){f=f|0;var g=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0.0,u=0.0,v=0,w=0,x=0,y=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,Q=0,R=0,S=0,T=0,U=0,V=0,W=0,X=0,Y=0,Z=0,_=0,$=0,aa=0,ba=0,ca=0,da=0,ea=0,fa=0,ga=0,ha=0,ia=0,ja=0,ka=0,la=0,ma=0,na=0,oa=0,pa=0,qa=0,ra=0,sa=0,ta=0,ua=0,va=0,wa=0,xa=0,ya=0,za=0,Aa=0,Ba=0,Ca=0,Da=0,Ea=0,Fa=0,Ga=0,Ha=0,Ia=0,Ja=0,Ka=0,La=0,Ma=0,Na=0,Oa=0,Pa=0,Qa=0,Ra=0,Sa=0,Ta=0,Ua=0,Va=0,Wa=0,Xa=0,Ya=0,Za=0,_a=0,$a=0,ab=0,bb=0,cb=0,db=0,eb=0,fb=0,gb=0,hb=0,ib=0,ob=0,sb=0,ub=0,vb=0,wb=0,xb=0,yb=0,zb=0,Ab=0,Bb=0,Cb=0,Db=0,Eb=0,Fb=0,Gb=0,Hb=0,Ib=0,Jb=0,Kb=0,Lb=0,Mb=0,Nb=0,Ob=0,Pb=0,Qb=0,Rb=0,Sb=0,Tb=0,Ub=0,Vb=0,Wb=0,Xb=0,Yb=0,Zb=0,_b=0,$b=0,ac=0,bc=0,cc=0,dc=0,ec=0,fc=0,gc=0,hc=0,ic=0,jc=0,kc=0,lc=0,mc=0,nc=0,oc=0,pc=0,qc=0,rc=0,sc=0,tc=0,uc=0,vc=0,wc=0,xc=0,yc=0,zc=0,Ac=0,Cc=0,Fc=0,Kc=0,Nc=0,Pc=0,Qc=0,Rc=0,Sc=0,Tc=0,Uc=0,Vc=0,Wc=0,Xc=0,Yc=0,Zc=0,_c=0,$c=0,ad=0,bd=0,cd=0,dd=0,ed=0,fd=0,gd=0,hd=0,id=0,jd=0,kd=0,ld=0,md=0,nd=0,od=0,pd=0,qd=0,rd=0,sd=0,td=0,ud=0,vd=0,wd=0,xd=0,yd=0,Ad=0,Bd=0,Cd=0,Dd=0,Ed=0,Fd=0,Gd=0,Hd=0,Id=0,Jd=0,Kd=0,Ld=0,Md=0,Nd=0,Od=0,Pd=0,Qd=0,Rd=0,Sd=0,Td=0,Ud=0,Vd=0,Wd=0,Xd=0,Yd=0,Zd=0,_d=0,$d=0,ae=0,be=0,ce=0,de=0,ee=0,fe=0,ge=0,he=0,ie=0,je=0,ke=0,le=0,me=0,ne=0,oe=0,pe=0,qe=0,re=0,se=0,te=0,ue=0,ve=0,we=0,xe=0,ye=0,ze=0,Ae=0,Be=0,Ce=0,De=0,Ee=0,Fe=0,Ge=0,He=0,Ie=0,Je=0,Ke=0,Le=0,Me=0,Ne=0,Oe=0,Pe=0,Qe=0,Re=0,Se=0,Te=0,Ue=0,We=0,$e=0,cf=0,ff=0,gf=0;ff=l;l=l+704|0;ve=ff+584|0;Ne=ff+576|0;Ld=ff+568|0;Se=ff+552|0;Ue=ff+536|0;Re=ff+528|0;Kd=ff+520|0;Jd=ff+512|0;Id=ff+504|0;Hd=ff+496|0;fe=ff+480|0;ee=ff+472|0;de=ff+464|0;ce=ff+456|0;be=ff+448|0;ae=ff+440|0;ke=ff+432|0;$d=ff+424|0;_d=ff+416|0;Zd=ff+408|0;Yd=ff+400|0;Xd=ff+376|0;Wd=ff+368|0;Vd=ff+352|0;Ud=ff+336|0;Td=ff+320|0;Sd=ff+304|0;je=ff+296|0;ie=ff+288|0;he=ff+280|0;Rd=ff+272|0;Qd=ff+264|0;Pd=ff+256|0;Od=ff+248|0;Nd=ff+232|0;Md=ff+216|0;ge=ff+208|0;ue=ff+192|0;qe=ff+184|0;te=ff+176|0;pe=ff+168|0;Nc=ff+120|0;Yc=ff+80|0;dd=ff+8|0;gd=ff+588|0;md=ff;rd=ff+688|0;vd=f+88|0;q=c[vd>>2]|0;cf=c[f>>2]|0;Uc=a[cf+70>>0]|0;Vc=f+92|0;r=c[Vc>>2]|0;i=c[f+152>>2]|0;if(i|0?(j=c[cf+16>>2]|0,n=c[cf+20>>2]|0,(n|0)>0):0){g=0;do{if(((g|0)!=1?1<>2]|0,p|0):0)c[(c[p+4>>2]|0)+4>>2]=c[p>>2];g=g+1|0}while((g|0)!=(n|0))}Te=f+40|0;a:do if((c[Te>>2]|0)==7){o=q;i=0;g=q;j=0;n=cf+73|0;U=3026}else{rc=f+56|0;c[rc>>2]=0;c[rc+4>>2]=0;rc=f+104|0;c[rc>>2]=0;c[cf+396>>2]=0;Sb=cf+256|0;b:do if(!(c[Sb>>2]|0)){Tb=cf+312|0;if(!(c[Tb>>2]|0)){j=-1;aa=cf+320|0}else{aa=cf+320|0;j=c[aa>>2]|0;j=j-(((c[f+172>>2]|0)>>>0)%(j>>>0)|0)|0}De=f+36|0;pc=cf+316|0;Ub=f+192|0;Vb=f+200|0;Wb=f+44|0;Xb=cf+92|0;Yb=cf+96|0;Zb=Uc<<24>>24==1;_b=cf+100|0;He=cf+464|0;Ie=cf+296|0;Je=cf+300|0;Ke=cf+292|0;$b=f+116|0;xe=cf+80|0;ac=f+180|0;bc=f+136|0;Ce=f+145|0;wc=f+184|0;ye=cf+188|0;ze=cf+192|0;cc=cf+172|0;dc=f+112|0;qc=f+32|0;ec=Yc+16|0;fc=Yc+8|0;gc=Yc+12|0;hc=Yc+24|0;ic=f+143|0;sc=cf+168|0;Ad=cf+444|0;Bd=cf+440|0;jc=cf+348|0;tc=cf+264|0;uc=cf+268|0;re=cf+288|0;se=cf+276|0;vc=cf+71|0;Ed=cf+432|0;kc=cf+448|0;lc=cf+456|0;Fd=cf+79|0;n=cf+73|0;ba=cf+324|0;we=cf+24|0;Le=cf+20|0;Me=cf+16|0;Ae=cf+4|0;Be=cf+352|0;Fe=cf+400|0;mc=f+48|0;ca=f+72|0;da=f+80|0;ea=cf+164|0;fa=cf+28|0;ga=f+24|0;Y=cf+72|0;ha=cf+8|0;ia=gd+8|0;ja=gd+10|0;ka=gd+4|0;la=gd+14|0;ma=Yc+8|0;na=Yc+4|0;oa=Nc+8|0;pa=cf+224|0;qa=Nc+16|0;ra=Nc+28|0;sa=Nc+32|0;ta=cf+220|0;ua=cf+32|0;Ee=f+108|0;va=f+164|0;wa=Yc+8|0;xa=Yc+20|0;ya=Yc+24|0;za=Yc+8|0;Aa=Yc+10|0;Ba=Yc+4|0;Ca=Yc+8|0;Da=Yc+32|0;Ea=Yc+24|0;_=Yc+16|0;Fa=Yc+12|0;Ga=Yc+8|0;Ha=Yc+10|0;Ia=Yc+4|0;Ja=Nc+8|0;Ka=Nc+32|0;La=Nc+24|0;Z=Nc+12|0;$=Nc+16|0;nc=cf+176|0;Ma=cf+82|0;Na=Nc+8|0;Oa=Nc+4|0;Pa=cf+157|0;Qa=Nc+12|0;Ra=dd+4|0;Sa=dd+12|0;Ta=dd+16|0;Ua=dd+20|0;Va=dd+24|0;Wa=dd+28|0;Xa=dd+8|0;Ya=dd+64|0;Za=dd+40|0;_a=dd+44|0;$a=dd+48|0;ab=dd+52|0;bb=dd+56|0;cb=dd+60|0;db=dd+61|0;eb=Nc+8|0;fb=cf+140|0;gb=f+28|0;hb=f+212|0;oc=f+64|0;ib=Nc+8|0;ob=Nc+32|0;sb=Nc+24|0;ub=Nc+10|0;vb=Nc+16|0;wb=Nc+8|0;xb=Nc+4|0;yb=cf+160|0;zb=cf+84|0;Ab=cf+76|0;Bb=cf+156|0;Cb=Nc+20|0;Db=Nc+24|0;Eb=Nc+4|0;Fb=Nc+16|0;Gb=Nc+32|0;Hb=Nc+8|0;Ib=Nc+10|0;Jb=Nc+16|0;Kb=cf+328|0;Lb=Nc+24|0;Mb=Nc+20|0;Nb=Nc+12|0;Ob=f+96|0;Pb=Nc+20|0;Qb=cf+78|0;Xc=f+142|0;Rb=Nc+4|0;Qe=q;Oe=q+((c[De>>2]|0)*20|0)|0;g=0;Pe=0;W=0;i=0;V=r;X=j;c:while(1){i=i+1|0;E=a[Oe>>0]|0;d:do switch(E<<24>>24){case 78:{U=146;break c}case 1:{U=843;break c}case 13:{U=20;break}case 14:{U=c[Oe+4>>2]|0;b[V+(U*40|0)+8>>1]=4;T=(Oe-Qe|0)/20|0;U=V+(U*40|0)|0;c[U>>2]=T;c[U+4>>2]=((T|0)<0)<<31>>31;U=26;break}case 63:{y=c[Oe+4>>2]|0;p=Qe+((c[V+(y*40|0)>>2]|0)*20|0)|0;b[V+(y*40|0)+8>>1]=128;y=X;x=Qe;r=Pe;s=V;q=W;break}case 15:{T=c[Oe+4>>2]|0;R=(c[Oe+12>>2]|0)+-1|0;S=V+(T*40|0)|0;c[S>>2]=R;c[S+4>>2]=((R|0)<0)<<31>>31;b[V+(T*40|0)+8>>1]=4;if(!(c[Oe+8>>2]|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else U=26;break}case 64:{y=c[Oe+4>>2]|0;p=Qe+(((c[Qe+((c[V+(y*40|0)>>2]|0)*20|0)+8>>2]|0)+-1|0)*20|0)|0;b[V+(y*40|0)+8>>1]=128;y=X;x=Qe;r=Pe;s=V;q=W;break}case 16:{y=c[Oe+4>>2]|0;b[V+(y*40|0)+8>>1]=4;y=V+(y*40|0)|0;p=c[y>>2]|0;x=(Oe-Qe|0)/20|0;c[y>>2]=x;c[y+4>>2]=((x|0)<0)<<31>>31;y=X;x=Qe;r=Pe;s=V;q=W;p=Qe+(p*20|0)|0;break}case 65:{if(!(b[V+((c[Oe+12>>2]|0)*40|0)+8>>1]&1)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else U=32;break}case 66:{U=32;break}case 67:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;x=c[Oe+4>>2]|0;y=j;c[y>>2]=x;c[y+4>>2]=((x|0)<0)<<31>>31;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 68:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;r=c[Oe+16>>2]|0;x=c[r+4>>2]|0;y=j;c[y>>2]=c[r>>2];c[y+4>>2]=x;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -124:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;b[j+8>>1]=8;h[j>>3]=+h[c[Oe+16>>2]>>3];y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 97:{U=c[Vc>>2]|0;v=Oe+8|0;p=c[v>>2]|0;j=U+(p*40|0)|0;p=U+(p*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=4;q=j}else{An(j)|0;q=j}a[Oe>>0]=69;r=Oe+16|0;p=c[r>>2]|0;if(!p)j=0;else j=(As(p)|0)&1073741823;s=Oe+4|0;c[s>>2]=j;if(!Zb){g=Ve(q,p,-1,1,0)|0;p=q+8|0;j=b[p>>1]|0;if((j&2)!=0?(a[q+10>>0]|0)!=Uc<<24>>24:0){if(Of(q,Uc)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=b[p>>1]|0}c[q+24>>2]=0;b[p>>1]=j|2048;j=Oe+1|0;do if((a[j>>0]|0)==-7?(id=c[r>>2]|0,id|0):0){if(c[He>>2]|0){Lc(cf,id);break}U=id;if(U>>>0>=(c[Ie>>2]|0)>>>0?U>>>0<(c[Je>>2]|0)>>>0:0){c[id>>2]=c[Ke>>2];c[Ke>>2]=id;break}if(!(c[2]|0)){pb[c[56>>2]&255](id);break}else{U=jb[c[64>>2]&255](id)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](id);break}}while(0);a[j>>0]=-7;c[r>>2]=c[q+16>>2];j=c[q+12>>2]|0;c[s>>2]=j}if((j|0)>(c[_b>>2]|0)){U=3025;break c}else{j=v;U=80}break}case 69:{j=Oe+8|0;U=80;break}case 70:{q=c[Vc>>2]|0;r=Oe+8|0;j=c[r>>2]|0;p=q+(j*40|0)|0;q=q+(j*40|0)+8|0;if(!(b[q>>1]&9312))b[q>>1]=4;else{An(p)|0;j=c[r>>2]|0}j=(c[Oe+12>>2]|0)-j|0;s=c[Oe+4>>2]|0?257:1;b[p+8>>1]=s;c[p+12>>2]=0;if((j|0)>0)while(1){q=p;p=p+40|0;r=q+48|0;if(!(b[r>>1]&9312))b[r>>1]=1;else Ye(p);b[r>>1]=s;c[q+52>>2]=0;if((j|0)<=1){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}else j=j+-1|0}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 71:{y=V+((c[Oe+4>>2]|0)*40|0)+8|0;b[y>>1]=b[y>>1]&-160|1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 72:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;Ve(j,c[Oe+16>>2]|0,c[Oe+4>>2]|0,0,0)|0;a[j+10>>0]=Uc;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 73:{q=c[$b>>2]|0;r=(c[Oe+4>>2]|0)+-1|0;s=q+(r*40|0)|0;v=q+(r*40|0)+8|0;p=e[v>>1]|0;if(p&18|0){j=c[q+(r*40|0)+12>>2]|0;if(p&16384)j=(c[s>>2]|0)+j|0;if((j|0)>(c[(c[q+(r*40|0)+32>>2]|0)+100>>2]|0)){U=3025;break c}}p=c[Oe+8>>2]|0;j=V+(p*40|0)|0;p=V+(p*40|0)+8|0;if(b[p>>1]&9312){Bn(j,s,2048);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d};c[j>>2]=c[s>>2];c[j+4>>2]=c[s+4>>2];c[j+8>>2]=c[s+8>>2];c[j+12>>2]=c[s+12>>2];c[j+16>>2]=c[s+16>>2];if(!(b[v>>1]&2048)){b[p>>1]=b[p>>1]&-7169|2048;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 74:{r=V+((c[Oe+4>>2]|0)*40|0)|0;s=c[Oe+12>>2]|0;v=V+((c[Oe+8>>2]|0)*40|0)|0;while(1){w=v+8|0;if(!((b[w>>1]&9312)==0?!(c[v+24>>2]|0):0))af(v);q=v;j=r;S=q+40|0;do{c[q>>2]=c[j>>2];q=q+4|0;j=j+4|0}while((q|0)<(S|0));b[r+8>>1]=1;c[r+24>>2]=0;j=b[w>>1]|0;if(j&4096){p=j&65535;do if(p&18){if(p&16384){j=v+12|0;T=(c[v>>2]|0)+(c[j>>2]|0)|0;if(_e(v,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[v+16>>2]|0)+(c[j>>2]|0)|0,0,c[v>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+(c[v>>2]|0);j=b[w>>1]&-16897;b[w>>1]=j}if(c[v+24>>2]|0?(c[v+16>>2]|0)==(c[v+20>>2]|0):0)break;if(bf(v)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=b[w>>1]|0}while(0);b[w>>1]=j&-4097}s=s+-1|0;if(!s){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}else{r=r+40|0;v=v+40|0}}break}case 75:{q=c[Oe+12>>2]|0;r=V+((c[Oe+4>>2]|0)*40|0)|0;s=V+((c[Oe+8>>2]|0)*40|0)|0;while(1){v=s+8|0;if(!(b[v>>1]&9312)){c[s>>2]=c[r>>2];c[s+4>>2]=c[r+4>>2];c[s+8>>2]=c[r+8>>2];c[s+12>>2]=c[r+12>>2];c[s+16>>2]=c[r+16>>2];if(!(b[r+8>>1]&2048))b[v>>1]=b[v>>1]&-7169|4096}else Bn(s,r,4096);j=b[v>>1]|0;if(j&4096){p=j&65535;do if(p&18){if(p&16384){j=s+12|0;T=(c[s>>2]|0)+(c[j>>2]|0)|0;if(_e(s,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[s+16>>2]|0)+(c[j>>2]|0)|0,0,c[s>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+(c[s>>2]|0);j=b[v>>1]&-16897;b[v>>1]=j}if(c[s+24>>2]|0?(c[s+16>>2]|0)==(c[s+20>>2]|0):0)break;if(bf(s)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=b[v>>1]|0}while(0);b[v>>1]=j&-4097}if(!q){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}q=q+-1|0;r=r+40|0;s=s+40|0}}case 76:{j=c[Oe+4>>2]|0;p=V+(j*40|0)|0;r=c[Oe+8>>2]|0;q=V+(r*40|0)|0;r=V+(r*40|0)+8|0;if(b[r>>1]&9312){Bn(q,p,4096);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d};c[q>>2]=c[p>>2];c[q+4>>2]=c[p+4>>2];c[q+8>>2]=c[p+8>>2];c[q+12>>2]=c[p+12>>2];c[q+16>>2]=c[p+16>>2];if(!(b[V+(j*40|0)+8>>1]&2048)){b[r>>1]=b[r>>1]&-7169|4096;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 77:{r=c[Oe+8>>2]|0;j=V+(r*40|0)|0;q=V+((c[Oe+4>>2]|0)*40|0)|0;p=c[q>>2]|0;q=c[q+4>>2]|0;r=V+(r*40|0)+8|0;if(!(b[r>>1]&9312)){y=j;c[y>>2]=p;c[y+4>>2]=q;b[r>>1]=4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{Xe(j,p,q);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}case 93:{C=c[Oe+4>>2]|0;r=V+(C*40|0)|0;x=c[Oe+8>>2]|0;v=V+(x*40|0)|0;D=c[Oe+12>>2]|0;y=V+(D*40|0)|0;q=V+(C*40|0)+8|0;p=b[q>>1]|0;s=V+(x*40|0)+8|0;j=b[s>>1]|0;if((j|p)&1){j=V+(D*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{Ye(y);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}if(p&16384){j=V+(C*40|0)+12|0;T=(c[r>>2]|0)+(c[j>>2]|0)|0;if(_e(r,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[V+(C*40|0)+16>>2]|0)+(c[j>>2]|0)|0,0,c[r>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+(c[r>>2]|0);p=b[q>>1]&-16897;b[q>>1]=p;j=b[s>>1]|0}if(j&16384){j=V+(x*40|0)+12|0;T=(c[v>>2]|0)+(c[j>>2]|0)|0;if(_e(v,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[V+(x*40|0)+16>>2]|0)+(c[j>>2]|0)|0,0,c[v>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+(c[v>>2]|0);j=b[s>>1]&-16897;b[s>>1]=j;p=b[q>>1]|0}if(!(p&18)){if(Pf(r,Uc,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=b[s>>1]|0}if((j&18)==0?Pf(v,Uc,0)|0:0){o=Oe;g=Qe;j=Pe;U=3026;break a}s=V+(C*40|0)+12|0;v=V+(x*40|0)+12|0;w=(c[v>>2]|0)+(c[s>>2]|0)|0;if((w|0)>(c[_b>>2]|0)){U=3025;break c}q=(D|0)==(x|0);if(_e(y,w+2|0,q&1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}r=V+(D*40|0)+8|0;b[r>>1]=b[r>>1]&15872|2;j=V+(x*40|0)+16|0;p=V+(D*40|0)+16|0;if(!q){Tt(c[p>>2]|0,c[j>>2]|0,c[v>>2]|0)|0;j=p}Tt((c[j>>2]|0)+(c[v>>2]|0)|0,c[V+(C*40|0)+16>>2]|0,c[s>>2]|0)|0;a[(c[j>>2]|0)+w>>0]=0;a[(c[j>>2]|0)+(w+1)>>0]=0;b[r>>1]=b[r>>1]|512;c[V+(D*40|0)+12>>2]=w;a[V+(D*40|0)+10>>0]=Uc;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 92:case 91:case 90:case 89:case 88:{w=c[Oe+4>>2]|0;x=V+(w*40|0)|0;s=V+(w*40|0)+8|0;j=e[s>>1]|0;p=j&12;if(!p)if(!(j&18))F=0;else F=Cn(x)|0;else F=p&65535;y=c[Oe+8>>2]|0;C=V+(y*40|0)|0;v=V+(y*40|0)+8|0;j=e[v>>1]|0;p=j&12;if(!p)if(!(j&18))E=0;else E=Cn(C)|0;else E=p&65535;G=c[Oe+12>>2]|0;H=V+(G*40|0)|0;e:do if(!((F&4&E)<<16>>16)){if(!((b[v>>1]|b[s>>1])&1)){D=0;U=233}}else{j=x;q=c[j>>2]|0;j=c[j+4>>2]|0;r=C;p=c[r>>2]|0;r=c[r+4>>2]|0;f:do switch(a[Oe>>0]|0){case 88:{if((j|0)>-1|(j|0)==-1&q>>>0>4294967295){T=Gt(-1,2147483647,p|0,r|0)|0;S=z;if(((r|0)>0|(r|0)==0&p>>>0>0)&((S|0)<(j|0)|(S|0)==(j|0)&T>>>0>>0)){D=1;U=233;break e}}else if((r|0)<0?(S=Gt(1,-2147483648,p|0,r|0)|0,Q=z,T=Ft(q|0,j|0,1,0)|0,R=z,(Q|0)>(R|0)|(Q|0)==(R|0)&S>>>0>T>>>0):0){D=1;U=233;break e}p=Ft(p|0,r|0,q|0,j|0)|0;j=z;break}case 89:{if((q|0)==0&(j|0)==-2147483648)if((r|0)>-1|(r|0)==-1&p>>>0>4294967295){D=1;U=233;break e}else{j=r^-2147483648;break f}if((j|0)<0|(j|0)==0&q>>>0<1){T=Gt(0,0,q|0,j|0)|0;R=z;S=Gt(-1,2147483647,p|0,r|0)|0;Q=z;if(((r|0)>0|(r|0)==0&p>>>0>0)&((Q|0)<(R|0)|(Q|0)==(R|0)&S>>>0>>0)){D=1;U=233;break e}}else if((r|0)<0?(S=Gt(1,-2147483648,p|0,r|0)|0,Q=z,T=Gt(1,0,q|0,j|0)|0,R=z,(Q|0)>(R|0)|(Q|0)==(R|0)&S>>>0>T>>>0):0){D=1;U=233;break e}p=Gt(p|0,r|0,q|0,j|0)|0;j=z;break}case 90:{do if((j|0)>0|(j|0)==0&q>>>0>0){T=Nt(-1,2147483647,q|0,j|0)|0;S=z;if((r|0)>(S|0)|(r|0)==(S|0)&p>>>0>T>>>0){D=1;U=233;break e}T=Jt(0,-2147483648,q|0,j|0)|0;S=z;if((r|0)<(S|0)|(r|0)==(S|0)&p>>>0>>0){D=1;U=233;break e}}else if((j|0)<0){if((r|0)>0|(r|0)==0&p>>>0>0){T=Jt(0,-2147483648,p|0,r|0)|0;S=z;if((S|0)>(j|0)|(S|0)==(j|0)&T>>>0>q>>>0){D=1;U=233;break e}else break}if((r|0)<0){if((q|0)==0&(j|0)==-2147483648|(p|0)==0&(r|0)==-2147483648){D=1;U=233;break e}T=Gt(0,0,p|0,r|0)|0;R=z;S=Gt(0,0,q|0,j|0)|0;S=Jt(-1,2147483647,S|0,z|0)|0;Q=z;if((Q|0)<(R|0)|(Q|0)==(R|0)&S>>>0>>0){D=1;U=233;break e}}}while(0);p=Lt(p|0,r|0,q|0,j|0)|0;j=z;break}case 91:{if((q|0)==0&(j|0)==0)break e;if((q|0)==-1&(j|0)==-1&((p|0)==0&(r|0)==-2147483648)){D=1;U=233;break e}p=Jt(p|0,r|0,q|0,j|0)|0;j=z;break}default:{switch(q|0){case 0:{if(!j)break e;break}case -1:{if((j|0)==-1){q=1;j=0}break}default:{}}p=Mt(p|0,r|0,q|0,j|0)|0;j=z}}while(0);y=H;c[y>>2]=p;c[y+4>>2]=j;y=V+(G*40|0)+8|0;b[y>>1]=b[y>>1]&15872|4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}while(0);g:do if((U|0)==233){U=0;j=e[s>>1]|0;do if(!(j&8)){if(j&4|0){T=x;u=+((c[T>>2]|0)>>>0)+4294967296.0*+(c[T+4>>2]|0);break}if(!(j&18))u=0.0;else u=+Ic(a[V+(w*40|0)+10>>0]|0,c[V+(w*40|0)+12>>2]|0,c[V+(w*40|0)+16>>2]|0)}else u=+h[x>>3];while(0);j=e[v>>1]|0;do if(!(j&8)){if(j&4|0){T=C;t=+((c[T>>2]|0)>>>0)+4294967296.0*+(c[T+4>>2]|0);break}if(!(j&18))t=0.0;else t=+Ic(a[V+(y*40|0)+10>>0]|0,c[V+(y*40|0)+12>>2]|0,c[V+(y*40|0)+16>>2]|0)}else t=+h[C>>3];while(0);switch(a[Oe>>0]|0){case 88:{t=u+t;break}case 89:{t=t-u;break}case 90:{t=u*t;break}case 91:{if(u==0.0)break g;t=t/u;break}default:{p=~~u>>>0;j=+B(u)>=1.0?(u>0.0?~~+P(+A(u/4294967296.0),4294967295.0)>>>0:~~+N((u-+(~~u>>>0))/4294967296.0)>>>0):0;r=~~t>>>0;q=+B(t)>=1.0?(t>0.0?~~+P(+A(t/4294967296.0),4294967295.0)>>>0:~~+N((t-+(~~t>>>0))/4294967296.0)>>>0):0;switch(p|0){case 0:{if(!j)break g;break}case -1:{if((j|0)==-1){p=1;j=0}break}default:{}}t=+((Mt(r|0,q|0,p|0,j|0)|0)>>>0)+4294967296.0*+(z|0)}}h[Nc>>3]=t;h[Yc>>3]=+h[Nc>>3];if(!(+h[Nc>>3]!=+h[Yc>>3])){h[H>>3]=t;q=V+(G*40|0)+8|0;r=b[q>>1]&15872;b[q>>1]=r|8;if(((E|F)&8)!=0|D<<24>>24!=0){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}j=Gc(t)|0;p=z;T=Ft(j|0,p|0,1,-2147483648)|0;S=z;if(!((S>>>0>0|(S|0)==0&T>>>0>1)&t==+(j>>>0)+4294967296.0*+(p|0))){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}y=H;c[y>>2]=j;c[y+4>>2]=p;b[q>>1]=r|4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}while(0);j=V+(G*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{Ye(H);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}case 79:{j=c[Oe+4>>2]|0;if(j){p=V+(j*40|0)|0;j=V+(j*40|0)+8|0;if(!(b[j>>1]&9312)){y=p;c[y>>2]=0;c[y+4>>2]=0;b[j>>1]=4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{Xe(p,0,0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 87:case 86:case 85:case 84:{v=c[Oe+4>>2]|0;p=c[Oe+8>>2]|0;x=c[Oe+12>>2]|0;y=V+(x*40|0)|0;r=V+(v*40|0)+8|0;q=b[r>>1]|0;j=b[V+(p*40|0)+8>>1]|0;if((j|q)&1){j=V+(x*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{Ye(y);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}s=V+(p*40|0)|0;w=V+(v*40|0)|0;j=j&65535;do if(!(j&4)){if(j&8|0){p=Gc(+h[s>>3])|0;j=z;break}if(!(j&18)){p=0;j=0}else{p=Hc(a[V+(p*40|0)+10>>0]|0,c[V+(p*40|0)+12>>2]|0,c[V+(p*40|0)+16>>2]|0)|0;q=b[r>>1]|0;j=z}}else{j=s;p=c[j>>2]|0;j=c[j+4>>2]|0}while(0);q=q&65535;do if(!(q&4)){if(q&8|0){r=Gc(+h[w>>3])|0;v=z;break}if(!(q&18)){r=0;v=0}else{r=Hc(a[V+(v*40|0)+10>>0]|0,c[V+(v*40|0)+12>>2]|0,c[V+(v*40|0)+16>>2]|0)|0;v=z}}else{v=w;r=c[v>>2]|0;v=c[v+4>>2]|0}while(0);q=a[Oe>>0]|0;h:do switch(q<<24>>24){case 84:{p=r&p;j=v&j;break}case 85:{p=r|p;j=v|j;break}default:if(!((r|0)==0&(v|0)==0)){S=(v|0)<0;T=(v|0)>-1|(v|0)==-1&r>>>0>4294967232;R=Gt(0,0,r|0,v|0)|0;s=S?173-(q&255)&255:q;r=S?(T?R:64):r;q=S?(T?z:0):v;if((q|0)>0|(q|0)==0&r>>>0>63){j=((j|0)<0&s<<24>>24!=86)<<31>>31;p=j;j=((j|0)<0)<<31>>31;break h}if(s<<24>>24==86){p=Rt(p|0,j|0,r|0)|0;j=z;break h}else{p=Qt(p|0,j|0,r|0)|0;T=z;j=(j|0)<0;S=Gt(64,0,r|0,q|0)|0;S=Rt(-1,-1,S|0)|0;p=(j?S:0)|p;j=(j?z:0)|T;break h}}}while(0);c[y>>2]=p;c[y+4>>2]=j;y=V+(x*40|0)+8|0;b[y>>1]=b[y>>1]&15872|4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 80:{j=c[Oe+4>>2]|0;r=V+(j*40|0)|0;s=V+(j*40|0)+8|0;p=b[s>>1]|0;q=p&65535;do if(!(q&4)){if(q&8|0){j=Gc(+h[r>>3])|0;q=z;break}if(!(q&18)){j=0;q=0}else{j=Hc(a[V+(j*40|0)+10>>0]|0,c[V+(j*40|0)+12>>2]|0,c[V+(j*40|0)+16>>2]|0)|0;p=b[s>>1]|0;q=z}}else{q=r;j=c[q>>2]|0;q=c[q+4>>2]|0}while(0);b[s>>1]=p&15872|4;x=c[Oe+8>>2]|0;x=Ft(x|0,((x|0)<0)<<31>>31|0,j|0,q|0)|0;y=r;c[y>>2]=x;c[y+4>>2]=z;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 17:{p=c[Oe+4>>2]|0;v=V+(p*40|0)+8|0;j=b[v>>1]|0;if(!(j&4)){s=V+(p*40|0)|0;p=j&65535;do if(!(p&4))if(!(p&8)){if(!(p&2))break;Ij(s,1);j=b[v>>1]|0;break}else{u=+h[s>>3];p=Gc(u)|0;q=z;T=Ft(p|0,q|0,1,-2147483648)|0;S=z;r=j&15872|4;if(!((S>>>0>0|(S|0)==0&T>>>0>1)&u==+(p>>>0)+4294967296.0*+(q|0)))break;j=s;c[j>>2]=p;c[j+4>>2]=q;b[v>>1]=r;j=r;break}while(0);if(!(j&4))if(!(c[Oe+8>>2]|0)){r=Qe;q=Pe;g=20;p=Oe;j=n;U=3e3;break a}else{U=26;break d}}b[v>>1]=j&15872|4;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 81:{p=c[Oe+4>>2]|0;r=V+(p*40|0)+8|0;j=b[r>>1]|0;if(!(j&4)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{s=V+(p*40|0)|0;q=j&65535;do if(!(q&8)){if(q&4|0){T=s;t=+((c[T>>2]|0)>>>0)+4294967296.0*+(c[T+4>>2]|0);break}if(!(q&18))t=0.0;else{t=+Ic(a[V+(p*40|0)+10>>0]|0,c[V+(p*40|0)+12>>2]|0,c[V+(p*40|0)+16>>2]|0);j=b[r>>1]|0}}else t=+h[s>>3];while(0);h[s>>3]=t;b[r>>1]=j&15872|8;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 82:{g=c[Oe+4>>2]|0;q=V+(g*40|0)|0;j=V+(g*40|0)+8|0;if(b[j>>1]&16384){p=V+(g*40|0)+12|0;T=(c[q>>2]|0)+(c[p>>2]|0)|0;if(!(_e(q,(T|0)>1?T:1,1)|0)){Vt((c[V+(g*40|0)+16>>2]|0)+(c[p>>2]|0)|0,0,c[q>>2]|0)|0;c[p>>2]=(c[p>>2]|0)+(c[q>>2]|0);b[j>>1]=b[j>>1]&-16897;g=0}else g=7}else g=0;Gj(q,c[Oe+8>>2]&255,Uc);if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 57:case 54:case 55:case 56:case 52:case 53:{v=c[Oe+4>>2]|0;C=V+(v*40|0)|0;x=c[Oe+12>>2]|0;y=V+(x*40|0)|0;D=V+(v*40|0)+8|0;j=b[D>>1]|0;F=V+(x*40|0)+8|0;p=b[F>>1]|0;r=j&65535;w=p&65535;s=(p|j)&65535;G=Oe+2|0;q=e[G>>1]|0;do if(!(s&1)){q=q&71;if(q>>>0>66){if(s&2){if((r&14|0)==2){q=a[V+(v*40|0)+10>>0]|0;r=V+(v*40|0)+16|0;p=V+(v*40|0)+12|0;if(df(c[r>>2]|0,Nc,c[p>>2]|0,q)|0){T=(ef(c[r>>2]|0,Yc,c[p>>2]|0,q)|0)==0;q=e[D>>1]|0;if(T){S=Yc;T=c[S+4>>2]|0;p=C;c[p>>2]=c[S>>2];c[p+4>>2]=T;p=4}else{h[C>>3]=+h[Nc>>3];p=8}b[D>>1]=p|q}s=b[F>>1]|0}else s=p;if((s&14)==2){q=a[V+(x*40|0)+10>>0]|0;r=V+(x*40|0)+16|0;p=V+(x*40|0)+12|0;if(!(df(c[r>>2]|0,Nc,c[p>>2]|0,q)|0))p=b[F>>1]|0;else{T=(ef(c[r>>2]|0,Yc,c[p>>2]|0,q)|0)==0;q=e[F>>1]|0;if(T){S=Yc;T=c[S+4>>2]|0;p=y;c[p>>2]=c[S>>2];c[p+4>>2]=T;p=4}else{h[y>>3]=+h[Nc>>3];p=8}p=(p|q)&65535;b[F>>1]=p}v=s}else{v=s;p=s}}else v=p;if((p&4&b[D>>1])<<16>>16){s=y;r=c[s>>2]|0;s=c[s+4>>2]|0;q=C;p=c[q>>2]|0;q=c[q+4>>2]|0;if((s|0)>(q|0)|(s|0)==(q|0)&r>>>0>p>>>0){p=v;q=a[Oe>>0]|0;U=357;break}else{r=((s|0)<(q|0)|(s|0)==(q|0)&r>>>0

    >>0)<<31>>31;p=v}}else{p=v;U=353}}else if((q|0)==66){if(!((r&2|0)!=0|(r&12|0)==0)){Pf(C,Uc,1)|0;j=(b[D>>1]&15872|r&49663)&65535}if((w&2|0)!=0|(w&12|0)==0)U=353;else{Pf(y,Uc,1)|0;p=(b[F>>1]&15872|w&49663)&65535;U=353}}else U=353;if((U|0)==353){U=0;r=jf(y,C,c[Oe+16>>2]|0)|0}if((r|0)>=0){s=a[Oe>>0]|0;q=(s&255)+-52|0;if(!r){U=359;break}else{U=360;break}}else{s=a[Oe>>0]|0;v=r;q=35755+((s&255)+-52)|0;break}}else{if(q&128|0){if(!((j&1&p)<<16>>16!=0&(w&256|0)==0)){q=E;U=357;break}s=E;q=(E&255)+-52|0;U=359;break}if(!(q&32))if(!(q&16)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{U=26;break d}else{y=V+((c[Oe+8>>2]|0)*40|0)+8|0;b[y>>1]=b[y>>1]&15872|1;y=X;x=Qe;r=Pe;s=V;q=1;p=Oe;break d}}while(0);if((U|0)==357){r=1;s=q;q=(q&255)+-52|0;U=360}else if((U|0)==359){U=0;v=0;q=35761+q|0}if((U|0)==360){U=0;v=r;q=35767+q|0}q=a[q>>0]|0;r=q&255;b[D>>1]=j;b[F>>1]=p;p=e[G>>1]|0;if(!(p&32))if(!(q<<24>>24)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{U=26;break d}j=c[Oe+8>>2]|0;if(p&8|0?(s<<24>>24==53|0)==(r|0):0){y=X;x=Qe;r=Pe;s=V;q=v;p=Oe;break d}y=V+(j*40|0)+8|0;b[y>>1]=b[y>>1]&15872|4;y=V+(j*40|0)|0;c[y>>2]=q&255;c[y+4>>2]=0;y=X;x=Qe;r=Pe;s=V;q=v;p=Oe;break}case 58:{if(!W){y=X;x=Qe;r=Pe;s=V;q=0;p=Oe}else U=26;break}case 62:{p=a[xe>>0]|0;do if((p&-127)<<24>>24?((d[Ce>>0]|d[Ce+1>>0]<<8)&2)==0:0){j=c[Oe+16>>2]|0;if(!j){j=c[wc>>2]|0;if(!j)break}if(p<<24>>24<0){U=c[ye>>2]|0;j=co(f,j)|0;qb[U&255](c[ze>>2]|0,j);if(!j)break;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{U=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}if((c[cc>>2]|0)<=1){mb[c[ye>>2]&255](1,c[ze>>2]|0,f,j)|0;break}c[Kd>>2]=j;j=Ff(cf,37031,Kd)|0;mb[c[ye>>2]&255](1,c[ze>>2]|0,f,j)|0;if(j|0){if(c[He>>2]|0){Lc(cf,j);break}U=j;if(U>>>0>=(c[Ie>>2]|0)>>>0?U>>>0<(c[Je>>2]|0)>>>0:0){c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{U=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}}while(0);r=Oe+4|0;j=c[r>>2]|0;if((j|0)>=(c[69]|0)){p=c[bc>>2]|0;if((p|0)>1){q=c[vd>>2]|0;j=1;do{if((a[q+(j*20|0)>>0]|0)==20)c[q+(j*20|0)+4>>2]=0;j=j+1|0}while((j|0)!=(p|0))}c[r>>2]=0;j=0}c[r>>2]=j+1;c[ac>>2]=(c[ac>>2]|0)+1;U=26;break}case 94:{if(!(b[Oe+2>>1]&1))r=0;else r=(c[Oe+-4>>2]|0)+4|0;v=c[Oe+12>>2]|0;w=c[Oe+16>>2]|0;x=c[Oe+4>>2]|0;y=c[Oe+8>>2]|0;if((v|0)>0){s=w+16|0;i:do if(!r){p=0;while(1){j=a[(c[s>>2]|0)+p>>0]|0;q=jf(V+((p+x|0)*40|0)|0,V+((p+y|0)*40|0)|0,c[w+20+(p<<2)>>2]|0)|0;p=p+1|0;if(q|0){p=q;break i}if((p|0)>=(v|0)){y=X;x=Qe;r=Pe;s=V;q=0;p=Oe;break d}}}else{q=0;while(1){p=c[r+(q<<2)>>2]|0;j=a[(c[s>>2]|0)+q>>0]|0;p=jf(V+((p+x|0)*40|0)|0,V+((p+y|0)*40|0)|0,c[w+20+(q<<2)>>2]|0)|0;q=q+1|0;if(p|0)break i;if((q|0)>=(v|0)){y=X;x=Qe;r=Pe;s=V;q=0;p=Oe;break d}}}while(0);y=X;x=Qe;r=Pe;s=V;q=j<<24>>24==0?p:0-p|0;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 18:{if((W|0)<0){y=X;x=Qe;r=Pe;s=V;q=W;p=Qe+(((c[Oe+4>>2]|0)+-1|0)*20|0)|0;break d}if(!W){y=X;x=Qe;r=Pe;s=V;q=0;p=Qe+(((c[Oe+8>>2]|0)+-1|0)*20|0)|0;break d}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Qe+(((c[Oe+12>>2]|0)+-1|0)*20|0)|0;break d}}case 43:case 44:{p=c[Oe+4>>2]|0;j=b[V+(p*40|0)+8>>1]|0;if(!(j&1)){q=V+(p*40|0)|0;j=j&65535;do if(!(j&4)){if(j&8|0){j=Gc(+h[q>>3])|0;p=z;break}if(!(j&18)){j=0;p=0}else{j=Hc(a[V+(p*40|0)+10>>0]|0,c[V+(p*40|0)+12>>2]|0,c[V+(p*40|0)+16>>2]|0)|0;p=z}}else{p=q;j=c[p>>2]|0;p=c[p+4>>2]|0}while(0);r=((j|0)!=0|(p|0)!=0)&1}else r=2;p=c[Oe+8>>2]|0;j=b[V+(p*40|0)+8>>1]|0;if(!(j&1)){q=V+(p*40|0)|0;j=j&65535;do if(!(j&4)){if(j&8|0){j=Gc(+h[q>>3])|0;p=z;break}if(!(j&18)){j=0;p=0}else{j=Hc(a[V+(p*40|0)+10>>0]|0,c[V+(p*40|0)+12>>2]|0,c[V+(p*40|0)+16>>2]|0)|0;p=z}}else{p=q;j=c[p>>2]|0;p=c[p+4>>2]|0}while(0);j=((j|0)!=0|(p|0)!=0)&1}else j=2;j=a[((a[Oe>>0]|0)==44?35773:35782)+(j+(r*3|0))>>0]|0;p=c[Oe+12>>2]|0;q=V+(p*40|0)+8|0;r=b[q>>1]&15872;if(j<<24>>24==2)j=1;else{T=V+(p*40|0)|0;c[T>>2]=j&255;c[T+4>>2]=0;j=4}b[q>>1]=j|r;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 19:{q=c[Oe+4>>2]|0;j=c[Oe+8>>2]|0;s=V+(j*40|0)|0;j=V+(j*40|0)+8|0;if(!(b[j>>1]&9312))b[j>>1]=1;else Ye(s);p=V+(q*40|0)+8|0;if(!(b[p>>1]&1)){r=V+(q*40|0)|0;b[j>>1]=4;j=e[p>>1]|0;do if(!(j&4)){if(j&8|0){j=Gc(+h[r>>3])|0;p=z;break}if(!(j&18)){j=0;p=0}else{j=Hc(a[V+(q*40|0)+10>>0]|0,c[V+(q*40|0)+12>>2]|0,c[V+(q*40|0)+16>>2]|0)|0;p=z}}else{p=r;j=c[p>>2]|0;p=c[p+4>>2]|0}while(0);y=s;c[y>>2]=(j|0)==0&(p|0)==0&1;c[y+4>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 95:{q=c[Oe+4>>2]|0;j=c[Oe+8>>2]|0;s=V+(j*40|0)|0;j=V+(j*40|0)+8|0;if(!(b[j>>1]&9312))b[j>>1]=1;else Ye(s);p=V+(q*40|0)+8|0;if(!(b[p>>1]&1)){r=V+(q*40|0)|0;b[j>>1]=4;j=e[p>>1]|0;do if(!(j&4)){if(j&8|0){j=Gc(+h[r>>3])|0;p=z;break}if(!(j&18)){j=0;p=0}else{j=Hc(a[V+(q*40|0)+10>>0]|0,c[V+(q*40|0)+12>>2]|0,c[V+(q*40|0)+16>>2]|0)|0;p=z}}else{p=r;j=c[p>>2]|0;p=c[p+4>>2]|0}while(0);y=s;c[y>>2]=~j;c[y+4>>2]=~p;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 20:{j=c[Ub>>2]|0;if(!j){p=c[(c[vd>>2]|0)+4>>2]|0;j=Oe+4|0;if((p|0)==(c[j>>2]|0)){U=26;break d}}else{q=(Oe-(c[vd>>2]|0)|0)/20|0;j=(c[j+24>>2]|0)+(q>>>3)|0;p=d[j>>0]|0;q=1<<(q&7);if(q&p|0){U=26;break d}a[j>>0]=q|p;j=Oe+4|0;p=c[(c[vd>>2]|0)+4>>2]|0}c[j>>2]=p;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 22:case 21:{p=c[Oe+4>>2]|0;j=b[V+(p*40|0)+8>>1]|0;if(!(j&1)){q=V+(p*40|0)|0;j=j&65535;do if(!(j&8)){if(j&4|0){j=q;t=+((c[j>>2]|0)>>>0)+4294967296.0*+(c[j+4>>2]|0);j=E;break}if(!(j&18)){t=0.0;j=E}else{t=+Ic(a[V+(p*40|0)+10>>0]|0,c[V+(p*40|0)+12>>2]|0,c[V+(p*40|0)+16>>2]|0);j=a[Oe>>0]|0}}else{t=+h[q>>3];j=E}while(0);j=(j<<24>>24==22^t!=0.0)&1}else j=c[Oe+12>>2]|0;if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else U=26;break}case 50:{if(!(b[V+((c[Oe+4>>2]|0)*40|0)+8>>1]&1)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else U=26;break}case 51:{if(!(b[V+((c[Oe+4>>2]|0)*40|0)+8>>1]&1))U=26;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 23:{if(a[(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+2>>0]|0){j=c[Oe+12>>2]|0;p=V+(j*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=1;U=26;break d}else{Ye(V+(j*40|0)|0);U=26;break d}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 96:{q=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;j=c[Oe+8>>2]|0;p=q;do if(!(a[p+3>>0]|0))if((a[c[p+40>>2]>>0]|0)==1)g=q;else{g=En(p)|0;U=450}else{g=c[p+24>>2]|0;if(g|0?(Wc=c[g+(j+1<<2)>>2]|0,(Wc|0)>0):0){j=Wc+-1|0;g=c[p+36>>2]|0;break}g=Dn(p)|0;U=450}while(0);if((U|0)==450){U=0;if(!g)g=q;else{U=543;break c}}H=c[Oe+12>>2]|0;I=V+(H*40|0)|0;F=g;G=c[F+72>>2]|0;q=F+28|0;g=c[qc>>2]|0;j:do if((c[q>>2]|0)!=(g|0)){do if(a[F+2>>0]|0){if((a[F>>0]|0)==3){p=c[F+32>>2]|0;w=c[V+(p*40|0)+12>>2]|0;c[F+84>>2]=w;c[F+80>>2]=w;p=c[V+(p*40|0)+16>>2]|0;w=F+76|0;c[w>>2]=p;break}g=V+(H*40|0)+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;p=Oe;break j}else{Ye(I);p=Oe;break j}}else{T=c[F+40>>2]|0;Ah(T);U=c[T+36>>2]|0;c[F+80>>2]=U;p=c[T+32>>2]|0;g=e[T+40>>1]|0;T=(c[(c[T+116>>2]|0)+60>>2]|0)-p|0;c[F+84>>2]=(g|0)>(T|0)?((T|0)>0?T:0):g;g=F+76|0;c[g>>2]=p;if(U>>>0>(c[_b>>2]|0)>>>0){U=461;break c}w=g;g=c[qc>>2]|0}while(0);c[q>>2]=g;U=a[p>>0]|0;g=U&255;if(U<<24>>24>-1){c[G>>2]=g;v=1}else{q=d[p+1>>0]|0;do if(q&128){r=d[p+2>>0]|0;if(!(r&128)){c[G>>2]=(r|g<<14)&2080895|q<<7&16256;g=3;break}else{g=gh(p,Nc)|0;T=Nc;U=c[T>>2]|0;c[G>>2]=((U|0)==(U|0)?0==(c[T+4>>2]|0):0)?U:-1;break}}else{c[G>>2]=q|g<<7&16256;g=2}while(0);v=g&255}s=F+48|0;c[s>>2]=v;q=F+58|0;b[q>>1]=0;g=F+84|0;r=c[G>>2]|0;if((c[g>>2]|0)>>>0>=r>>>0){p=c[w>>2]|0;g=0;U=482;break}c[w>>2]=0;c[g>>2]=0;U=c[G>>2]|0;if(U>>>0<=98307?U>>>0<=(c[F+80>>2]|0)>>>0:0){w=q;g=0;U=474}else U=539}else{g=F+58|0;w=g;g=b[g>>1]|0;U=474}while(0);do if((U|0)==474){if((g&65535|0)>(j|0)){r=c[F+88+(j<<2)>>2]|0;U=518;break}s=F+48|0;v=c[s>>2]|0;r=c[G>>2]|0;if(v>>>0>>0){p=c[F+76>>2]|0;if(!p){q=Yc;S=q+40|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));q=c[F+40>>2]|0;r=c[G>>2]|0;p=c[q+32>>2]|0;U=e[q+40>>1]|0;T=(c[(c[q+116>>2]|0)+60>>2]|0)-p|0;if(r>>>0>((U|0)>(T|0)?((T|0)>0?T:0):U)>>>0){g=Fn(q,0,r,Yc)|0;if(g|0){U=543;break c}g=b[w>>1]|0;r=c[s>>2]|0;p=c[ec>>2]|0}else{c[ec>>2]=p;b[fc>>1]=4112;c[gc>>2]=r;r=v}q=w;v=r;r=c[G>>2]|0;U=482}else{q=w;U=482}}else{p=0;U=508}}while(0);do if((U|0)==482){C=g&65535;E=p+r|0;g=C;r=p+v|0;C=c[G+(C<<2)>>2]|0;D=0;do{U=a[r>>0]|0;y=U&255;v=r+1|0;if(U<<24>>24>-1){r=v;w=y;v=d[33340+y>>0]|0;x=0}else{w=d[v>>0]|0;do if(w&128){x=d[r+2>>0]|0;if(!(x&128)){v=3;w=(x|y<<14)&2080895|w<<7&16256;U=491;break}v=gh(r,Nc)|0;U=Nc;w=c[U>>2]|0;if((w|0)==(w|0)?0==(c[U+4>>2]|0):0)U=491;else{w=-1;r=r+(v&255)|0;U=492}}else{v=2;w=w|y<<7&16256;U=491}while(0);if((U|0)==491){U=0;r=r+(v&255)|0;if(w>>>0>127)U=492;else v=d[33340+w>>0]|0}if((U|0)==492)v=(w+-12|0)>>>1;x=0}C=Ft(v|0,x|0,C|0,D|0)|0;D=z;U=g;g=g+1|0;c[F+88+(U<<2)>>2]=w;c[G+(g<<2)>>2]=C;v=r>>>0>>0}while((U|0)<(j|0)&v);if(!v)if(r>>>0<=E>>>0?(_c=c[F+80>>2]|0,(C|0)==(_c|0)&(D|0)==0):0){v=_c;U=500}else U=501;else{v=c[F+80>>2]|0;U=500}if((U|0)==500){U=0;if(D>>>0>0|(D|0)==0&C>>>0>v>>>0)U=501}if((U|0)==501)if(!(c[G>>2]|0)){g=0;r=E}else{if(c[F+76>>2]|0){U=539;break}if((b[fc>>1]&9312)==0&(c[hc>>2]|0)==0){U=539;break}af(Yc);U=539;break}g=g&65535;b[q>>1]=g;c[s>>2]=r-p;if((c[F+76>>2]|0)==0?!((b[fc>>1]&9312)==0&(c[hc>>2]|0)==0):0){af(Yc);p=w;g=b[q>>1]|0;U=508}else{p=w;U=508}}while(0);do if((U|0)==508){U=0;if((g&65535|0)<=(j|0)){if((a[Oe+1>>0]|0)!=-11){g=V+(H*40|0)+8|0;if(!(b[g>>1]&9312)){b[g>>1]=1;p=Oe;break}else{Ye(I);p=Oe;break}}j=c[Oe+16>>2]|0;g=V+(H*40|0)+8|0;if(b[g>>1]&9312){Bn(I,j,2048);p=Oe;break};c[I>>2]=c[j>>2];c[I+4>>2]=c[j+4>>2];c[I+8>>2]=c[j+8>>2];c[I+12>>2]=c[j+12>>2];c[I+16>>2]=c[j+16>>2];if(!(b[j+8>>1]&2048)){b[g>>1]=b[g>>1]&-7169|2048;p=Oe}else p=Oe}else{r=p;U=518}}else if((U|0)==539){U=0;g=c[Qe+12>>2]|0;if((g|0)<=0){U=541;break c}p=Qe+((g+-1|0)*20|0)|0}while(0);k:do if((U|0)==518){U=0;s=V+(H*40|0)+8|0;if(b[s>>1]&9312)Ye(I);if((c[F+84>>2]|0)>>>0>=(c[G+(j+1<<2)>>2]|0)>>>0){p=(c[F+76>>2]|0)+(c[G+(j<<2)>>2]|0)|0;if(r>>>0<12){Tm(p,r,I)|0;p=Oe;break}q=(r+-12|0)>>>1;c[V+(H*40|0)+12>>2]=q;a[V+(H*40|0)+10>>0]=Uc;g=q+2|0;if((c[V+(H*40|0)+24>>2]|0)<(g|0)){b[s>>1]=1;if(_e(I,g,0)|0){U=544;break c}j=V+(H*40|0)+16|0;g=j;j=c[j>>2]|0}else{j=c[V+(H*40|0)+20>>2]|0;g=V+(H*40|0)+16|0;c[g>>2]=j}Tt(j|0,p|0,q|0)|0;a[(c[g>>2]|0)+q>>0]=0;a[(c[g>>2]|0)+(q+1)>>0]=0;b[s>>1]=b[14854+((r&1)<<1)>>1]|0;p=Oe;break}a[V+(H*40|0)+10>>0]=Uc;T=e[Oe+2>>1]|0;if(!((T&192|0)!=0?!((r>>>0<12|(r&1|0)!=0)&(T&128|0)==0):0))U=530;do if((U|0)==530){U=0;if(r>>>0<=127){g=a[33340+r>>0]|0;if(!(g<<24>>24))break;else q=g&255}else q=(r+-12|0)>>>1;p=c[F+40>>2]|0;j=c[G+(j<<2)>>2]|0;g=c[p+32>>2]|0;T=e[p+40>>1]|0;S=(c[(c[p+116>>2]|0)+60>>2]|0)-g|0;if((j+q|0)>>>0>((T|0)>(S|0)?((S|0)>0?S:0):T)>>>0){g=Fn(p,j,q,I)|0;if(g|0){U=543;break c}g=c[V+(H*40|0)+16>>2]|0}else{g=g+j|0;c[V+(H*40|0)+16>>2]=g;b[s>>1]=4112;c[V+(H*40|0)+12>>2]=q}Tm(g,r,I)|0;b[s>>1]=b[s>>1]&-4097;p=Oe;break k}while(0);Tm(47358,r,I)|0;p=Oe}while(0);y=X;x=Qe;r=Pe;s=V;q=W;g=0;break}case 98:{q=c[Oe+16>>2]|0;j=q;p=V+((c[Oe+4>>2]|0)*40|0)|0;q=a[q>>0]|0;while(1){j=j+1|0;Hj(p,q,Uc);q=a[j>>0]|0;if(!(q<<24>>24)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}else p=p+40|0}break}case 99:{j=c[Oe+16>>2]|0;w=V+((c[Oe+4>>2]|0)*40|0)|0;G=w+(((c[Oe+8>>2]|0)+-1|0)*40|0)|0;r=a[ic>>0]|0;H=c[Oe+12>>2]|0;I=V+(H*40|0)|0;if(j|0){p=w;q=j;j=a[j>>0]|0;while(1){q=q+1|0;Hj(p,j,Uc);j=a[q>>0]|0;if(!(j<<24>>24))break;else p=p+40|0}}if((r&255)>3){j=0;F=G;E=0;v=0;C=0;D=0;while(1){y=F+8|0;x=b[y>>1]|0;r=x&65535;do if(!(r&1)){if(!(r&4)){if(r&8|0){p=8;q=7;break}p=c[F+12>>2]|0;if(!(r&16384))q=p;else q=(c[F>>2]|0)+p|0;p=q;q=(q<<1)+12|r>>>1&1;break}q=F;p=c[q>>2]|0;q=c[q+4>>2]|0;s=Pt(p|0,q|0,63)|0;s=s^p;r=z^q;if(r>>>0<0|(r|0)==0&s>>>0<128){if(!((p&1|0)==(p|0)&0==(q|0))){p=1;q=1;break}p=0;q=s+8|0;break}else{if(r>>>0<0|(r|0)==0&s>>>0<32768){p=2;q=2;break}S=r>>>0<0|(r|0)==0&s>>>0<8388608;T=r>>>0<0|(r|0)==0&s>>>0<2147483648;q=r>>>0<32768|(r|0)==32768&s>>>0<0;p=S?3:T?4:q?6:8;q=S?3:T?4:q?5:6;break}}else{p=0;q=0}while(0);c[F+28>>2]=q;do if(x&16384){if((E|0)==0&(v|0)==0){T=c[F>>2]|0;C=Ft(T|0,((T|0)<0)<<31>>31|0,C|0,D|0)|0;p=p-T|0;D=z;break}r=F+12|0;T=(c[F>>2]|0)+(c[r>>2]|0)|0;if(_e(F,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[F+16>>2]|0)+(c[r>>2]|0)|0,0,c[F>>2]|0)|0;c[r>>2]=(c[r>>2]|0)+(c[F>>2]|0);b[y>>1]=b[y>>1]&-16897}while(0);s=Ft(p|0,0,E|0,v|0)|0;v=z;if(q>>>0<128)p=1;else{p=1;r=0;while(1){q=Qt(q|0,r|0,7)|0;r=z;if((q|0)==0&(r|0)==0)break;else p=p+1|0}}j=p+j|0;if((F|0)==(w|0)){x=s;break}else{F=F+-40|0;E=s}}}else{j=0;E=G;s=0;v=0;C=0;D=0;while(1){y=E+8|0;x=b[y>>1]|0;r=x&65535;do if(!(r&1)){if(r&4|0){q=E;p=c[q>>2]|0;q=c[q+4>>2]|0;T=Pt(p|0,q|0,63)|0;p=T^p;q=z^q;if(q>>>0<0|(q|0)==0&p>>>0<128){p=1;q=1;break}if(q>>>0<0|(q|0)==0&p>>>0<32768){p=2;q=2;break}S=q>>>0<0|(q|0)==0&p>>>0<8388608;T=q>>>0<0|(q|0)==0&p>>>0<2147483648;q=q>>>0<32768|(q|0)==32768&p>>>0<0;p=S?3:T?4:q?6:8;q=S?3:T?4:q?5:6;break}if(!(r&8)){p=c[E+12>>2]|0;if(!(r&16384))q=p;else q=(c[E>>2]|0)+p|0;p=q;q=(q<<1)+12|r>>>1&1}else{p=8;q=7}}else{p=0;q=0}while(0);c[E+28>>2]=q;do if(x&16384){if((s|0)==0&(v|0)==0){T=c[E>>2]|0;C=Ft(T|0,((T|0)<0)<<31>>31|0,C|0,D|0)|0;p=p-T|0;D=z;break}r=E+12|0;T=(c[E>>2]|0)+(c[r>>2]|0)|0;if(_e(E,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[E+16>>2]|0)+(c[r>>2]|0)|0,0,c[E>>2]|0)|0;c[r>>2]=(c[r>>2]|0)+(c[E>>2]|0);b[y>>1]=b[y>>1]&-16897}while(0);s=Ft(p|0,0,s|0,v|0)|0;v=z;if(q>>>0<128)p=1;else{p=1;r=0;while(1){q=Qt(q|0,r|0,7)|0;r=z;if((q|0)==0&(r|0)==0)break;else p=p+1|0}}j=p+j|0;if((E|0)==(w|0)){x=s;break}else E=E+-40|0}}if((j|0)<127)p=j+1|0;else{s=1;p=j;q=((j|0)<0)<<31>>31;while(1){p=Qt(p|0,q|0,7)|0;q=z;if((p|0)==0&(q|0)==0)break;else s=s+1|0}p=s+j|0;j=1;q=p;r=((p|0)<0)<<31>>31;while(1){q=Qt(q|0,r|0,7)|0;r=z;if((q|0)==0&(r|0)==0)break;else j=j+1|0}p=((s|0)<(j|0)&1)+p|0}j=((p|0)<0)<<31>>31;y=Ft(p|0,j|0,x|0,v|0)|0;S=Ft(y|0,z|0,C|0,D|0)|0;Q=z;T=c[_b>>2]|0;R=((T|0)<0)<<31>>31;if((Q|0)>(R|0)|(Q|0)==(R|0)&S>>>0>T>>>0){U=3025;break c}if((c[V+(H*40|0)+24>>2]|0)<(y|0)){if(_e(I,y,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}E=c[V+(H*40|0)+16>>2]|0}else{E=c[V+(H*40|0)+20>>2]|0;c[V+(H*40|0)+16>>2]=E;T=V+(H*40|0)+8|0;b[T>>1]=b[T>>1]&13}do if(p>>>0>=128)if(p>>>0<16384){j=Qt(p|0,j|0,7)|0;a[E>>0]=j&255|-128;a[E+1>>0]=p&127;j=2;break}else{j=Gn(E,p,j)|0;break}else{a[E>>0]=p;j=1}while(0);x=j&255;while(1){q=c[w+28>>2]|0;do if(q>>>0>=128){j=E+x|0;if(q>>>0<16384){a[j>>0]=q>>>7&255|-128;a[j+1>>0]=q&127;j=2;break}else{j=Gn(j,q,0)|0;break}}else{a[E+x>>0]=q;j=1}while(0);x=(j&255)+x|0;v=E+p|0;if((q+-1|0)>>>0>=7)if(q>>>0>11?($c=c[w+12>>2]|0,($c|0)!=0):0){Tt(v|0,c[w+16>>2]|0,$c|0)|0;j=$c}else j=0;else{s=w;j=d[33340+q>>0]|0;q=j;r=c[s>>2]|0;s=c[s+4>>2]|0;while(1){q=q+-1|0;a[v+q>>0]=r;r=Qt(r|0,s|0,8)|0;if(!q)break;else s=z}}w=w+40|0;if(w>>>0>G>>>0)break;else p=j+p|0}c[V+(H*40|0)+12>>2]=y;j=V+(H*40|0)+8|0;b[j>>1]=16;if((C|0)==0&(D|0)==0){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{c[I>>2]=C;b[j>>1]=16400;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 100:{F=c[(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+40>>2]|0;g=Ym(F)|0;switch(g|0){case 16:{q=0;p=0;break}case 0:{v=F+116|0;w=F+70|0;x=F+68|0;y=F+12|0;C=F+42|0;D=F+1|0;E=F+2|0;q=0;p=0;l:while(1){g=c[v>>2]|0;if(!(a[g+8>>0]|0)){j=(a[g+2>>0]|0)==0;T=b[g+22>>1]|0;q=Ft((j?T&65535:0)|0,(j?0:0)|0,q|0,p|0)|0;j=g;p=z;s=b[w>>1]|0;g=T}else{q=Ft(e[g+22>>1]|0,0,q|0,p|0)|0;p=z;do{j=a[x>>0]|0;if(!(j<<24>>24))break l;b[C>>1]=0;a[D>>0]=a[D>>0]&-7;r=b[F+72+((j<<24>>24)+-1<<1)>>1]|0;b[w>>1]=r;j=j+-1<<24>>24;a[x>>0]=j;j=c[F+120+(j<<24>>24<<2)>>2]|0;c[v>>2]=j;g=c[g+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);g=c[v>>2]|0;j=b[w>>1]|0}else{T=c[g+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[g+16>>2]=c[T>>2];c[T>>2]=g;g=j;j=r}r=b[g+22>>1]|0}while((j&65535)>=(r&65535));s=j+1<<16>>16;b[w>>1]=s;j=g;g=r}if(s<<16>>16==g<<16>>16)g=(d[j+9>>0]|0)+8|0;else{g=(c[j+64>>2]|0)+((s&65535)<<1)|0;g=(d[g>>0]<<8|d[g+1>>0])&e[j+24>>1]}g=(c[j+56>>2]|0)+g|0;j=a[x>>0]|0;if(j<<24>>24>18){U=636;break c}g=d[g>>0]<<24|d[g+1>>0]<<16|d[g+2>>0]<<8|d[g+3>>0];T=c[y>>2]|0;b[C>>1]=0;a[D>>0]=a[D>>0]&-7;b[F+72+(j<<24>>24<<1)>>1]=s;c[F+120+(a[x>>0]<<2)>>2]=c[v>>2];b[w>>1]=0;a[x>>0]=(a[x>>0]|0)+1<<24>>24;g=Pm(T,g,v,F,d[E>>0]|0)|0;if(g){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}g=Ym(F)|0;if(g){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}default:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}T=c[Vc>>2]|0;j=c[Oe+8>>2]|0;g=T+(j*40|0)|0;j=T+(j*40|0)+8|0;if(!(b[j>>1]&9312))b[j>>1]=4;else An(g)|0;y=g;c[y>>2]=q;c[y+4>>2]=p;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 0:{E=c[Oe+4>>2]|0;w=c[Oe+16>>2]|0;if(!E){if((c[sc>>2]|0)>0){U=645;break c}if(!w)v=0;else v=(As(w)|0)&1073741823;s=(c[Bd>>2]|0)+(c[Ad>>2]|0)|0;g=c[jc>>2]|0;m:do if(g|0?(ad=s+1|0,bd=c[ba>>2]|0,(bd|0)>0):0){r=0;j=bd;while(1){g=c[g+(r<<2)>>2]|0;p=c[c[g+4>>2]>>2]|0;q=c[g+8>>2]|0;if(((q|0)!=0?(c[p>>2]|0)>1:0)?(cd=c[p+80>>2]|0,c[g+20>>2]=ad,(cd|0)!=0):0){g=kb[cd&255](q,s)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[ba>>2]|0}g=r+1|0;if((g|0)>=(j|0))break m;r=g;g=c[jc>>2]|0}}while(0);j=v+33|0;do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=665;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}else{if(!(0<0|(0==0?(e[uc>>1]|0)>>>0>>0:0))){g=c[Ke>>2]|0;if(g|0){c[Ke>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;break}g=c[re>>2]|0;if(!g)g=2;else{c[re>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;break}}else g=1;U=cf+276+(g<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=665}while(0);if((U|0)==665){U=0;g=Ec(cf,j,0)|0}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}T=g+32|0;c[g>>2]=T;Tt(T|0,w|0,v+1|0)|0;if(!(a[vc>>0]|0))c[Bd>>2]=(c[Bd>>2]|0)+1;else{a[vc>>0]=0;a[Fd>>0]=1}c[g+24>>2]=c[Ed>>2];c[Ed>>2]=g;y=kc;x=c[y+4>>2]|0;r=g+8|0;c[r>>2]=c[y>>2];c[r+4>>2]=x;r=lc;x=c[r+4>>2]|0;y=g+16|0;c[y>>2]=c[r>>2];c[y+4>>2]=x;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}j=c[Ed>>2]|0;if(!j){U=677;break c}s=d[17324+(d[w>>0]|0)>>0]|0;v=0;while(1){q=c[j>>2]|0;T=a[q>>0]|0;p=(d[17324+(T&255)>>0]|0)-s|0;if(!(T<<24>>24==0|(p|0)!=0)){r=w;do{q=q+1|0;r=r+1|0;T=a[q>>0]|0;p=(d[17324+(T&255)>>0]|0)-(d[17324+(d[r>>0]|0)>>0]|0)|0}while(!(T<<24>>24==0|(p|0)!=0))}if(!p)break;j=c[j+24>>2]|0;if(!j){U=677;break c}else v=v+1|0}C=(E|0)==1;if(C&(c[sc>>2]|0)>0){U=679;break c}D=j+24|0;if(!(c[D>>2]|0)){p=(a[Fd>>0]|0)!=0;if(C&p){S=c[f>>2]|0;T=S+448|0;S=S+456|0;T=Ft(c[S>>2]|0,c[S+4>>2]|0,c[T>>2]|0,c[T+4>>2]|0)|0;S=z;if((S|0)>0|(S|0)==0&T>>>0>0){U=683;break c}a[vc>>0]=1;if((Uh(f)|0)==5){U=685;break c}a[Fd>>0]=0;g=c[Te>>2]|0;r=1}else U=687}else{p=0;U=687}if((U|0)==687){U=0;w=(c[Bd>>2]|0)-v|0;y=w+-1|0;x=(E|0)==2;if(x){v=c[we>>2]&1;r=c[Le>>2]|0;if((r|0)>0){s=v^1;q=0;while(1){g=Ph(c[(c[Me>>2]|0)+(q<<4)+4>>2]|0,516,s)|0;q=q+1|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}r=c[Le>>2]|0;if((q|0)>=(r|0)){g=0;U=693;break}}}}else{v=0;r=c[Le>>2]|0;U=693}n:do if((U|0)==693){U=0;if((r|0)>0){g=(w|0)<1;if(!x){if(g)s=0;else{s=0;while(1){g=c[(c[Me>>2]|0)+(s<<4)+4>>2]|0;do if(g){if((a[g+8>>0]|0)!=2)break;q=c[g+4>>2]|0;c[q+4>>2]=c[g>>2];g=Cg(c[q>>2]|0,E,y)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}g=oh(q)|0;T=c[(c[q+12>>2]|0)+56>>2]|0;c[q+44>>2]=d[T+29>>0]<<16|d[T+28>>0]<<24|d[T+30>>0]<<8|d[T+31>>0];if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}r=c[Le>>2]|0}while(0);s=s+1|0;if((s|0)>=(r|0)){g=0;break n}}}while(1){g=c[(c[Me>>2]|0)+(s<<4)+4>>2]|0;do if(g){if((a[g+8>>0]|0)!=2)break;r=c[g+4>>2]|0;c[r+4>>2]=c[g>>2];g=Cg(c[r>>2]|0,E,y)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}q=r+44|0;if(b[r+22>>1]&16)c[q>>2]=0;g=oh(r)|0;T=c[(c[r+12>>2]|0)+56>>2]|0;c[q>>2]=d[T+29>>0]<<16|d[T+28>>0]<<24|d[T+30>>0]<<8|d[T+31>>0];if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}r=c[Le>>2]|0}while(0);s=s+1|0;if((s|0)>=(r|0)){g=0;break n}}}if(g)s=0;else{s=0;while(1){g=c[(c[Me>>2]|0)+(s<<4)+4>>2]|0;do if(g){if((a[g+8>>0]|0)!=2)break;q=c[g+4>>2]|0;c[q+4>>2]=c[g>>2];g=c[q+8>>2]|0;if(g|0?(ne=th(g,0,0)|0,ne|0):0){r=Qe;q=Pe;g=ne;p=Oe;j=n;U=3e3;break a}g=Cg(c[q>>2]|0,2,y)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}g=oh(q)|0;T=c[(c[q+12>>2]|0)+56>>2]|0;c[q+44>>2]=d[T+29>>0]<<16|d[T+28>>0]<<24|d[T+30>>0]<<8|d[T+31>>0];if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}r=c[Le>>2]|0}while(0);s=s+1|0;if((s|0)>=(r|0)){g=0;break n}}}while(1){g=c[(c[Me>>2]|0)+(s<<4)+4>>2]|0;do if(g){if((a[g+8>>0]|0)!=2)break;r=c[g+4>>2]|0;c[r+4>>2]=c[g>>2];g=c[r+8>>2]|0;if(g|0?(me=th(g,0,0)|0,me|0):0){r=Qe;q=Pe;g=me;p=Oe;j=n;U=3e3;break a}g=Cg(c[r>>2]|0,2,y)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}q=r+44|0;if(b[r+22>>1]&16)c[q>>2]=0;g=oh(r)|0;T=c[(c[r+12>>2]|0)+56>>2]|0;c[q>>2]=d[T+29>>0]<<16|d[T+28>>0]<<24|d[T+30>>0]<<8|d[T+31>>0];if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}r=c[Le>>2]|0}while(0);s=s+1|0;if((s|0)>=(r|0)){g=0;break}}}}while(0);if(!v){v=y;r=p}else{q=c[Ae>>2]|0;if(!q)q=r;else{do{T=q+145|0;S=d[T>>0]|d[T+1>>0]<<8|1;a[T>>0]=S;a[T+1>>0]=S>>8;q=c[q+8>>2]|0}while((q|0)!=0);q=c[Le>>2]|0}o:do if((q|0)>0){s=c[Me>>2]|0;r=0;do{v=c[s+(r<<4)+4>>2]|0;if(v|0)c[(c[v+4>>2]|0)+4>>2]=c[v>>2];r=r+1|0}while((r|0)!=(q|0));r=0;while(1){s=c[s+(r<<4)+12>>2]|0;if(s){ph(s);q=c[Le>>2]|0}r=r+1|0;if((r|0)>=(q|0))break o;s=c[Me>>2]|0}}while(0);c[we>>2]=c[we>>2]&-2;r=c[Be>>2]|0;c[Be>>2]=0;if(r){q=c[Ae>>2]|0;if(q)do{T=q+145|0;S=d[T>>0]|d[T+1>>0]<<8|1;a[T>>0]=S;a[T+1>>0]=S>>8;q=c[q+8>>2]|0}while((q|0)!=0);do{s=r;r=c[r+24>>2]|0;v=c[s>>2]|0;S=s+12|0;T=(c[S>>2]|0)+-1|0;c[S>>2]=T;p:do if(!T){q=c[s+8>>2]|0;if(q|0)jb[c[(c[q>>2]|0)+16>>2]&255](q)|0;do if(v|0){if(c[v+464>>2]|0){Lc(v,s);break p}q=s;if(q>>>0<(c[v+296>>2]|0)>>>0)break;if(q>>>0>=(c[v+300>>2]|0)>>>0)break;T=v+292|0;c[s>>2]=c[T>>2];c[T>>2]=s;break p}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{T=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0)}while((r|0)!=0);q=c[Le>>2]|0}if((q|0)>2){w=2;q=2;do{r=c[Me>>2]|0;v=r+(w<<4)|0;if(!(c[r+(w<<4)+4>>2]|0)){r=c[v>>2]|0;q:do if(r|0){if(c[He>>2]|0){Lc(cf,r);break}s=r;do if(s>>>0>=(c[Ie>>2]|0)>>>0){if(s>>>0>=(c[Je>>2]|0)>>>0)break;c[r>>2]=c[Ke>>2];c[Ke>>2]=r;break q}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{T=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);c[v>>2]=0}else{if((q|0)<(w|0)){T=r+(q<<4)|0;c[T>>2]=c[v>>2];c[T+4>>2]=c[v+4>>2];c[T+8>>2]=c[v+8>>2];c[T+12>>2]=c[v+12>>2]}q=q+1|0}w=w+1|0}while((w|0)<(c[Le>>2]|0));c[Le>>2]=q;if((q|0)<3)U=777}else{c[Le>>2]=2;U=777}do if((U|0)==777){U=0;q=c[Me>>2]|0;if((q|0)==(Fe|0))break;c[Fe>>2]=c[q>>2];c[Fe+4>>2]=c[q+4>>2];c[Fe+8>>2]=c[q+8>>2];c[Fe+12>>2]=c[q+12>>2];c[Fe+16>>2]=c[q+16>>2];c[Fe+20>>2]=c[q+20>>2];c[Fe+24>>2]=c[q+24>>2];c[Fe+28>>2]=c[q+28>>2];r:do if(q|0){if(c[He>>2]|0){Lc(cf,q);break}r=q;do if(r>>>0>=(c[Ie>>2]|0)>>>0){if(r>>>0>=(c[Je>>2]|0)>>>0)break;c[q>>2]=c[Ke>>2];c[Ke>>2]=q;break r}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{T=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[Me>>2]=Fe}while(0);c[we>>2]=c[we>>2]|1;v=y;r=p}}p=c[Ed>>2]|0;if((p|0)!=(j|0))do{c[Ed>>2]=c[p+24>>2];s:do if(p|0){if(c[He>>2]|0){Lc(cf,p);break}q=p;do if(q>>>0>=(c[Ie>>2]|0)>>>0){if(q>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break s}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Bd>>2]=(c[Bd>>2]|0)+-1;p=c[Ed>>2]|0}while((p|0)!=(j|0));if(C){c[Ed>>2]=c[D>>2];t:do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}p=j;do if(p>>>0>=(c[Ie>>2]|0)>>>0){if(p>>>0>=(c[Je>>2]|0)>>>0)break;c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break t}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);if(r){ed=1;U=813}else c[Bd>>2]=(c[Bd>>2]|0)+-1}else{ed=j+8|0;U=c[ed+4>>2]|0;T=kc;c[T>>2]=c[ed>>2];c[T+4>>2]=U;T=j+16|0;U=c[T+4>>2]|0;ed=lc;c[ed>>2]=c[T>>2];c[ed+4>>2]=U;ed=r;U=813}if((U|0)==813?(U=0,!((E|0)==2|ed^1)):0)if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[jc>>2]|0;if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{s=v+1|0;switch(E|0){case 0:{g=c[ba>>2]|0;if((g|0)>0)r=0;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}while(1){p=c[j+(r<<2)>>2]|0;j=c[c[p+4>>2]>>2]|0;q=c[p+8>>2]|0;do if(!q)j=g;else{if((c[j>>2]|0)<=1){j=g;break}j=c[j+80>>2]|0;c[p+20>>2]=s;if(!j){j=g;break}g=kb[j&255](q,v)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[ba>>2]|0}while(0);g=r+1|0;if((g|0)>=(j|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}r=g;g=j;j=c[jc>>2]|0}}case 2:{g=c[ba>>2]|0;if((g|0)>0)r=0;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}while(1){p=c[j+(r<<2)>>2]|0;j=c[c[p+4>>2]>>2]|0;q=c[p+8>>2]|0;do if(!q)j=g;else{if((c[j>>2]|0)<=1){j=g;break}j=c[j+88>>2]|0;if(!j){j=g;break}if((c[p+20>>2]|0)<=(v|0)){j=g;break}g=kb[j&255](q,v)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[ba>>2]|0}while(0);g=r+1|0;if((g|0)>=(j|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}r=g;g=j;j=c[jc>>2]|0}}default:{g=c[ba>>2]|0;if((g|0)>0)r=0;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}while(1){p=c[j+(r<<2)>>2]|0;j=c[c[p+4>>2]>>2]|0;q=c[p+8>>2]|0;do if(!q)j=g;else{if((c[j>>2]|0)<=1){j=g;break}j=c[j+84>>2]|0;if(!j){j=g;break}if((c[p+20>>2]|0)<=(v|0)){j=g;break}g=kb[j&255](q,v)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[ba>>2]|0}while(0);g=r+1|0;if((g|0)>=(j|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}r=g;g=j;j=c[jc>>2]|0}}}}break}case 2:{p=Oe+8|0;j=c[p>>2]|0;if(j|0?c[fa>>2]&1048576|0:0){r=Qe;q=Pe;g=8;p=Oe;j=n;U=3e3;break a}x=Oe+4|0;w=c[(c[Me>>2]|0)+(c[x>>2]<<4)+4>>2]|0;if(!w){j=0;r=0}else{g=nh(w,j)|0;if(g|0){U=870;break c}do if((c[p>>2]|0)!=0?((d[Ce>>0]|d[Ce+1>>0]<<8)&64)!=0:0){if(a[vc>>0]|0?(c[ea>>2]|0)<=1:0){g=0;break}g=c[mc>>2]|0;if(!g){j=(c[Ad>>2]|0)+1|0;c[Ad>>2]=j;j=(c[Bd>>2]|0)+j|0;c[mc>>2]=j}else j=g;v=j+-1|0;g=c[jc>>2]|0;u:do if((g|0)!=0?(fd=c[ba>>2]|0,(fd|0)>0):0){s=0;p=fd;while(1){q=c[g+(s<<2)>>2]|0;g=c[c[q+4>>2]>>2]|0;r=c[q+8>>2]|0;do if(r){if((c[g>>2]|0)<=1)break;g=c[g+80>>2]|0;c[q+20>>2]=j;if(!g)break;g=kb[g&255](r,v)|0;if(g|0)break u;p=c[ba>>2]|0}while(0);g=s+1|0;if((g|0)>=(p|0))break;s=g;g=c[jc>>2]|0}j=c[mc>>2]|0;U=888}else U=888;while(0);do if((U|0)==888){U=0;g=c[w+4>>2]|0;c[g+4>>2]=c[w>>2];g=c[g>>2]|0;if((c[g+96>>2]|0)<(j|0)){if(!(a[g+6>>0]|0)){g=0;break}g=Ih(g,j)|0}else g=0}while(0);T=kc;S=c[T+4>>2]|0;R=ca;c[R>>2]=c[T>>2];c[R+4>>2]=S;R=lc;S=c[R+4>>2]|0;T=da;c[T>>2]=c[R>>2];c[T+4>>2]=S}else g=0;while(0);r=c[w+4>>2]|0;c[r+4>>2]=c[w>>2];r=c[(c[r+12>>2]|0)+56>>2]|0;j=c[(c[(c[Me>>2]|0)+(c[x>>2]<<4)+12>>2]|0)+4>>2]|0;r=d[r+41>>0]<<16|d[r+40>>0]<<24|d[r+42>>0]<<8|d[r+43>>0]}if(b[Oe+2>>1]|0){if((r|0)!=(c[Oe+12>>2]|0)){U=896;break c}if((j|0)!=(c[Oe+16>>2]|0)){U=896;break c}}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 101:{j=c[Oe+12>>2]|0;p=c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0;q=c[p+4>>2]|0;c[q+4>>2]=c[p>>2];if((j|0)==15)q=(c[p+20>>2]|0)+(c[(c[q>>2]|0)+100>>2]|0)|0;else{q=(c[(c[q+12>>2]|0)+56>>2]|0)+((j<<2)+36)|0;q=d[q+1>>0]<<16|d[q>>0]<<24|d[q+2>>0]<<8|d[q+3>>0]}T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;y=j;c[y>>2]=q;c[y+4>>2]=((q|0)<0)<<31>>31;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 102:{w=c[Me>>2]|0;x=Oe+4|0;y=c[x>>2]|0;j=c[w+(y<<4)+4>>2]|0;C=Oe+8|0;s=c[C>>2]|0;D=Oe+12|0;q=c[D>>2]|0;v=c[j+4>>2]|0;c[v+4>>2]=c[j>>2];j=c[v+12>>2]|0;r=c[j+56>>2]|0;j=c[j+72>>2]|0;p=c[j+20>>2]|0;if((b[j+28>>1]&4)!=0?(c[p+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[p+96>>2]|0))U=943;else{g=Mg(j)|0;U=942}else U=938;do if((U|0)==938){U=0;g=c[p+40>>2]|0;if(!g)if((c[p+148>>2]|0)>>>0>(c[p+152>>2]|0)>>>0){g=Ng(j)|0;U=942;break}else{g=Og(j)|0;U=942;break}else p=0}while(0);if((U|0)==942){U=0;if(!g)U=943;else p=0}if((U|0)==943){U=0;T=r+((s<<2)+36)|0;a[T>>0]=q>>>24;a[T+1>>0]=q>>>16;a[T+2>>0]=q>>>8;g=q&255;a[T+3>>0]=g;if((s|0)==7){a[v+18>>0]=g;g=0;p=1}else{g=0;p=1}}switch(c[C>>2]|0){case 1:{c[c[w+(y<<4)+12>>2]>>2]=c[D>>2];c[we>>2]=c[we>>2]|1;break}case 2:{a[(c[w+(y<<4)+12>>2]|0)+76>>0]=c[D>>2];break}default:{}}if((c[x>>2]|0)==1){j=c[Ae>>2]|0;if(j|0)do{T=j+145|0;S=d[T>>0]|d[T+1>>0]<<8|1;a[T>>0]=S;a[T+1>>0]=S>>8;j=c[j+8>>2]|0}while((j|0)!=0);T=(d[Ce>>0]|d[Ce+1>>0]<<8)&-2;a[Ce>>0]=T;a[Ce+1>>0]=T>>8}if(p){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 103:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;if((j|0)!=0?(c[j+52>>2]|0)==(c[Oe+8>>2]|0):0){p=Oe+2|0;U=981}else U=956;break}case 105:case 104:{U=956;break}case 106:{j=c[dc>>2]|0;w=c[j+(c[Oe+8>>2]<<2)>>2]|0;q=c[Oe+4>>2]|0;s=b[w+56>>1]|0;v=s<<16>>16;g=c[Vc>>2]|0;if((q|0)>0)g=g+(((c[ga>>2]|0)-q|0)*40|0)|0;p=v<<3;r=p+96|0;p=p+296|0;j=c[j+(q<<2)>>2]|0;if(j|0){Xh(f,j);c[(c[dc>>2]|0)+(q<<2)>>2]=0}if((c[g+24>>2]|0)<(p|0)){if(_e(g,p,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}p=g+16|0;j=p;p=c[p>>2]|0}else{p=c[g+20>>2]|0;j=g+16|0;c[j>>2]=p;T=g+8|0;b[T>>1]=b[T>>1]&13}c[(c[dc>>2]|0)+(q<<2)>>2]=p;g=p+1|0;q=p;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[g>>0]=-1;b[p+56>>1]=s;c[p+72>>2]=p+88+(v<<2);q=(c[j>>2]|0)+r|0;g=p+40|0;c[g>>2]=q;S=q+68|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));if(!p){o=Oe;g=Qe;j=Pe;U=3026;break a}a[p+2>>0]=1;T=p+5|0;a[T>>0]=a[T>>0]|1;T=c[w+44>>2]|0;c[p+44>>2]=T;a[p+4>>0]=a[w+4>>0]|0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=Hn(c[w+8>>2]|0,1,4,T,c[g>>2]|0)|0;break}case 108:case 107:{q=c[Oe+4>>2]|0;s=c[Oe+8>>2]|0;g=c[Vc>>2]|0;if((q|0)>0)g=g+(((c[ga>>2]|0)-q|0)*40|0)|0;j=s<<3;r=j+96|0;j=j+296|0;p=c[(c[dc>>2]|0)+(q<<2)>>2]|0;if(p|0){Xh(f,p);c[(c[dc>>2]|0)+(q<<2)>>2]=0}if((c[g+24>>2]|0)<(j|0)){if(_e(g,j,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}v=g+16|0;j=v;v=c[v>>2]|0}else{v=c[g+20>>2]|0;j=g+16|0;c[j>>2]=v;T=g+8|0;b[T>>1]=b[T>>1]&13}c[(c[dc>>2]|0)+(q<<2)>>2]=v;g=v+1|0;q=v;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[g>>0]=-1;b[v+56>>1]=s;c[v+72>>2]=v+88+(s<<2);q=(c[j>>2]|0)+r|0;r=v+40|0;c[r>>2]=q;S=q+68|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));if(!v){o=Oe;g=Qe;j=Pe;U=3026;break a}a[v+2>>0]=1;q=v+5|0;a[q>>0]=a[q>>0]|1;p=v+8|0;s=Oe+2|0;g=fg(c[cf>>2]|0,0,cf,p,(b[s>>1]|5)&65535,1054)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}g=nh(c[p>>2]|0,1)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}j=c[Oe+16>>2]|0;c[v+44>>2]=j;if(!j){g=Hn(c[p>>2]|0,1,4,0,c[r>>2]|0)|0;a[v+4>>0]=1}else{g=In(c[p>>2]|0,Nc,(b[s>>1]|2)&65535)|0;if(!g)g=Hn(c[p>>2]|0,c[Nc>>2]|0,4,j,c[r>>2]|0)|0;a[v+4>>0]=0}if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}a[q>>0]=((b[s>>1]|0)!=8&1)<<2&255|a[q>>0]&-5;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 109:{q=c[Oe+4>>2]|0;r=c[Oe+8>>2]|0;g=c[Vc>>2]|0;if((q|0)>0)g=g+(((c[ga>>2]|0)-q|0)*40|0)|0;j=(r<<3)+96|0;p=c[(c[dc>>2]|0)+(q<<2)>>2]|0;if(p|0){Xh(f,p);c[(c[dc>>2]|0)+(q<<2)>>2]=0}if((c[g+24>>2]|0)<(j|0)){if(_e(g,j,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}s=c[g+16>>2]|0}else{s=c[g+20>>2]|0;c[g+16>>2]=s;T=g+8|0;b[T>>1]=b[T>>1]&13}c[(c[dc>>2]|0)+(q<<2)>>2]=s;q=s;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[s>>0]=1;a[s+1>>0]=-1;b[s+56>>1]=r;c[s+72>>2]=s+88+(r<<2);if(!s){o=Oe;g=Qe;j=Pe;U=3026;break a}q=c[Oe+16>>2]|0;j=s+44|0;c[j>>2]=q;p=c[Oe+12>>2]|0;q=e[q+6>>1]<<2;r=q+156|0;do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=1027;else{U=1029;break c}else{if(!(0<0|(0==0?(e[uc>>1]|0)>>>0>>0:0))){g=c[Ke>>2]|0;if(g|0){c[Ke>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;v=g;break}g=c[re>>2]|0;if(!g)g=2;else{c[re>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;v=g;break}}else g=1;U=cf+276+(g<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=1027}while(0);if((U|0)==1027){U=0;v=Ec(cf,r,0)|0}if(!v){U=1029;break c}Vt(v|0,0,r|0)|0;c[s+40>>2]=v;T=v+136|0;c[v+28>>2]=T;Tt(T|0,c[j>>2]|0,q+20|0)|0;c[v+148>>2]=0;if(p|0)b[v+142>>1]=p;j=c[Me>>2]|0;r=c[(c[(c[j+4>>2]|0)+4>>2]|0)+32>>2]|0;c[v+12>>2]=r;p=v+59|0;a[p>>0]=1;a[v+58>>0]=-1;a[v+57>>0]=0;c[v+24>>2]=cf;q=v+64|0;g=0;do{c[q+(g*72|0)+8>>2]=v;g=g+1|0}while((g|0)<(d[p>>0]|0));if((a[Y>>0]|0)!=2?(S=O(c[57]|0,r)|0,c[v>>2]=S,T=c[(c[j+12>>2]|0)+80>>2]|0,R=(T|0)<0,hd=((r|0)<0)<<31>>31,T=Lt((R?-1024:r)|0,(R?-1:hd)|0,T|0,((T|0)<0)<<31>>31|0)|0,R=z,Q=(R|0)<0|(R|0)==0&T>>>0<536870912,T=Q?T:536870912,Q?R:0,c[v+4>>2]=(S|0)>(T|0)?S:T,(c[7]|0)==0):0){c[v+52>>2]=r;T=Ft(r|0,hd|0,-1,-1)|0;S=z;do if(S>>>0>0|(S|0)==0&T>>>0>2147483390)g=0;else{if(!(c[2]|0)){g=jb[c[52>>2]&255](r)|0;break}p=jb[c[68>>2]&255](r)|0;if((c[11829]|0)>>>0>>0)c[11829]=r;j=46456;g=c[j>>2]|0;j=c[j+4>>2]|0;if((j|0)>0|(j|0)==0&g>>>0>0){S=c[11822]|0;T=Gt(g|0,j|0,p|0,((p|0)<0)<<31>>31|0)|0;R=z;c[11616]=(0>(R|0)|0==(R|0)&S>>>0>=T>>>0)&1}g=jb[c[52>>2]&255](p)|0;if(!g){g=0;break}j=jb[c[64>>2]&255](g)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0)break;c[11831]=j}while(0);c[v+40>>2]=g;g=(g|0)==0?7:0}else g=0;do if((e[v+144>>1]|0)<13){T=c[v+156>>2]|0;if(T|0?(T|0)!=(c[ha>>2]|0):0)break;a[v+60>>0]=3}while(0);if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 110:{R=(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+16|0;T=R;S=c[T>>2]|0;T=c[T+4>>2]|0;Q=Ft(S|0,T|0,1,0)|0;c[R>>2]=Q;c[R+4>>2]=z;if((S|0)==0&(T|0)==0)U=26;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 111:{r=c[Oe+4>>2]|0;s=c[Oe+12>>2]|0;j=c[Vc>>2]|0;if((r|0)>0)j=j+(((c[ga>>2]|0)-r|0)*40|0)|0;p=(s<<3)+96|0;q=c[(c[dc>>2]|0)+(r<<2)>>2]|0;if(q|0){Xh(f,q);c[(c[dc>>2]|0)+(r<<2)>>2]=0}if((c[j+24>>2]|0)<(p|0)){if(_e(j,p,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=c[j+16>>2]|0}else{T=c[j+20>>2]|0;c[j+16>>2]=T;j=j+8|0;b[j>>1]=b[j>>1]&13;j=T}c[(c[dc>>2]|0)+(r<<2)>>2]=j;q=j;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[j>>0]=3;a[j+1>>0]=-1;b[j+56>>1]=s;c[j+72>>2]=j+88+(s<<2);if(!j){o=Oe;g=Qe;j=Pe;U=3026;break a}a[j+2>>0]=1;c[j+32>>2]=c[Oe+8>>2];a[j+4>>0]=1;c[j+40>>2]=36105;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 112:{y=Oe+4|0;Xh(f,c[(c[dc>>2]|0)+(c[y>>2]<<2)>>2]|0);c[(c[dc>>2]|0)+(c[y>>2]<<2)>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 27:case 26:case 25:case 24:{x=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;j=E&255;a[x+2>>0]=0;v:do if(!(a[x+4>>0]|0)){g=c[x+40>>2]|0;p=(d[g+3>>0]|0)>>>1&1;U=c[Oe+16>>2]|0;c[gd>>2]=c[x+44>>2];b[ia>>1]=U;a[ja>>0]=(j<<1&2^2)+255;c[ka>>2]=V+((c[Oe+12>>2]|0)*40|0);a[la>>0]=0;g=Qm(g,gd,0,0,0,dd)|0;if(g|0){U=1105;break c}if(p<<24>>24!=0&(a[la>>0]|0)==0){g=1;j=c[dd>>2]|0;U=1104}else{p=p&255;U=1090}}else{s=c[Oe+12>>2]|0;w=V+(s*40|0)|0;v=V+(s*40|0)+8|0;p=b[v>>1]|0;if((p&14)==2){p=a[V+(s*40|0)+10>>0]|0;q=V+(s*40|0)+16|0;r=V+(s*40|0)+12|0;if(!(df(c[q>>2]|0,Nc,c[r>>2]|0,p)|0))p=b[v>>1]|0;else{U=(ef(c[q>>2]|0,Yc,c[r>>2]|0,p)|0)==0;q=e[v>>1]|0;if(U){T=Yc;U=c[T+4>>2]|0;p=w;c[p>>2]=c[T>>2];c[p+4>>2]=U;p=4}else{h[w>>3]=+h[Nc>>3];p=8}p=(p|q)&65535;b[v>>1]=p}}q=p&65535;do if(!(q&4)){if(q&8|0){r=Gc(+h[w>>3])|0;q=z;break}if(!(q&18)){q=0;r=0}else{r=Hc(a[V+(s*40|0)+10>>0]|0,c[V+(s*40|0)+12>>2]|0,c[V+(s*40|0)+16>>2]|0)|0;p=b[v>>1]|0;q=z}}else{r=w;q=c[r+4>>2]|0;r=c[r>>2]|0}while(0);p=p&65535;do if(!(p&4)){if(!(p&8)){U=1106;break v}t=+h[w>>3];u=+(r>>>0)+4294967296.0*+(q|0);if(t>31)+j|0;break}else{j=((j&1|0)==0&t>u&1)+j|0;break}}while(0);g=Qm(c[x+40>>2]|0,0,r,q,0,dd)|0;U=x+64|0;c[U>>2]=r;c[U+4>>2]=q;if(!g){p=0;U=1090}else{U=1105;break c}}while(0);w:do if((U|0)==1090){a[x+3>>0]=0;c[x+28>>2]=0;g=c[dd>>2]|0;if((j|0)>25){c[dd>>2]=0;if((g|0)>=0?!((j|0)==27&(g|0)==0):0){g=p;U=1107;break}g=Lm(c[x+40>>2]|0,0)|0;switch(g|0){case 0:{g=p;U=1107;break w}case 101:break;default:{U=1105;break c}}c[dd>>2]=1;g=0;U=1106;break}if((g|0)<=0?!((j|0)==24&(g|0)==0):0){j=(a[c[x+40>>2]>>0]|0)!=1&1;c[dd>>2]=j;g=p;U=1104;break}c[dd>>2]=0;g=c[x+40>>2]|0;U=g+1|0;a[U>>0]=a[U>>0]&-15;b[g+42>>1]=0;if(((a[g>>0]|0)==1?(jd=g+70|0,kd=b[jd>>1]|0,kd<<16>>16):0)?a[(c[g+116>>2]|0)+8>>0]|0:0){b[jd>>1]=kd+-1<<16>>16;g=p;U=1107;break}g=Nm(g)|0;switch(g|0){case 0:{g=p;U=1107;break w}case 101:break;default:{U=1105;break c}}c[dd>>2]=1;g=0;U=1106}while(0);if((U|0)==1104)if(!j)U=1107;else{g=0;U=1106}if((U|0)==1106){U=26;break d}else if((U|0)==1107){U=0;y=X;x=Qe;r=Pe;s=V;q=W;p=(g|0)==0?Oe:Oe+20|0;g=0;break d}break}case 30:case 29:case 28:{s=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;q=c[Oe+12>>2]|0;p=V+(q*40|0)|0;g=c[Oe+16>>2]|0;if((g|0)>0){c[Yc>>2]=c[s+44>>2];b[ma>>1]=g;c[na>>2]=p;r=0;q=Yc;g=E}else{g=V+(q*40|0)+8|0;if(b[g>>1]&16384){j=V+(q*40|0)+12|0;U=(c[p>>2]|0)+(c[j>>2]|0)|0;if(_e(p,(U|0)>1?U:1,1)|0){U=1135;break c}Vt((c[V+(q*40|0)+16>>2]|0)+(c[j>>2]|0)|0,0,c[p>>2]|0)|0;c[j>>2]=(c[j>>2]|0)+(c[p>>2]|0);b[g>>1]=b[g>>1]&-16897}g=s+44|0;j=Rm(c[g>>2]|0)|0;if(!j){U=1135;break c}Sm(c[g>>2]|0,c[V+(q*40|0)+12>>2]|0,c[V+(q*40|0)+16>>2]|0,j);r=j;q=j;g=a[Oe>>0]|0}a[q+10>>0]=0;x:do if(g<<24>>24==28?(ld=b[q+8>>1]|0,ld<<16>>16!=0):0){j=c[q+4>>2]|0;p=ld&65535;g=0;while(1){if(b[j+(g*40|0)+8>>1]&1){p=1;break x}g=g+1|0;if((g|0)>=(p|0)){p=0;break}}}else p=0;while(0);g=Qm(c[s+40>>2]|0,q,0,0,0,Nc)|0;do if(r|0){if(c[He>>2]|0){Lc(cf,r);break}U=r;if(U>>>0>=(c[Ie>>2]|0)>>>0?U>>>0<(c[Je>>2]|0)>>>0:0){c[r>>2]=c[Ke>>2];c[Ke>>2]=r;break}if(!(c[2]|0)){pb[c[56>>2]&255](r);break}else{U=jb[c[64>>2]&255](r)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](r);break}}while(0);if(g|0){U=1136;break c}g=c[Nc>>2]|0;c[s+32>>2]=g;j=(g|0)==0;a[s+2>>0]=(j^1)&1;a[s+3>>0]=0;c[s+28>>2]=0;if((a[Oe>>0]|0)==30)if(j)U=1134;else U=1133;else if(!(g|p))U=1133;else U=1134;if((U|0)==1133){U=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}else if((U|0)==1134){g=0;U=26;break d}break}case 31:{w=Oe+12|0;p=c[w>>2]|0;v=V+(p*40|0)+8|0;j=b[v>>1]|0;if(!(j&4)){s=V+(p*40|0)|0;p=j&65535;do if(!(p&4))if(!(p&8)){if(!(p&2))break;Ij(s,1);j=b[v>>1]|0;break}else{u=+h[s>>3];p=Gc(u)|0;q=z;U=Ft(p|0,q|0,1,-2147483648)|0;T=z;r=j&15872|4;if(!((T>>>0>0|(T|0)==0&U>>>0>1)&u==+(p>>>0)+4294967296.0*+(q|0)))break;j=s;c[j>>2]=p;c[j+4>>2]=q;b[v>>1]=r;j=r;break}while(0);if(!(j&4))U=26;else{g=w;U=1145}}else{g=w;U=1145}break}case 32:{g=Oe+12|0;U=1145;break}case 114:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;y=(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+16|0;x=y;r=c[x>>2]|0;x=c[x+4>>2]|0;s=Ft(r|0,x|0,1,0)|0;c[y>>2]=s;c[y+4>>2]=z;y=j;c[y>>2]=r;c[y+4>>2]=x;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 115:{T=Nc;c[T>>2]=0;c[T+4>>2]=0;c[Yc>>2]=0;T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;C=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;y=C+5|0;do if(!(a[y>>0]&2)){p=C+40|0;g=Jn(c[p>>2]|0,Yc)|0;if(g|0){U=1185;break c}if(c[Yc>>2]|0){g=Nc;c[g>>2]=1;c[g+4>>2]=0;g=0;break}p=c[p>>2]|0;Ah(p);p=p+24|0;g=c[p>>2]|0;p=c[p+4>>2]|0;T=Nc;c[T>>2]=g;c[T+4>>2]=p;if((g|0)==-1&(p|0)==2147483647){a[y>>0]=a[y>>0]|2;g=0;break}else{T=Ft(g|0,p|0,1,0)|0;g=Nc;c[g>>2]=T;c[g+4>>2]=z;g=0;break}}while(0);s=c[Oe+12>>2]|0;if(s|0){p=c[Ub>>2]|0;if(!p)q=V;else{while(1){q=c[p+4>>2]|0;if(!q)break;else p=q}q=c[p+16>>2]|0}x=q+(s*40|0)|0;v=q+(s*40|0)+8|0;p=b[v>>1]|0;r=p&65535;do if(!(r&4)){if(r&8|0){r=Gc(+h[x>>3])|0;q=z;U=1174;break}if(!(r&18)){w=x;c[w>>2]=0;c[w+4>>2]=0;b[v>>1]=p&15872|4;w=0;r=0;break}else{r=Hc(a[q+(s*40|0)+10>>0]|0,c[q+(s*40|0)+12>>2]|0,c[q+(s*40|0)+16>>2]|0)|0;q=z;p=b[v>>1]|0;U=1174;break}}else{q=x;r=c[q>>2]|0;q=c[q+4>>2]|0;U=1174}while(0);if((U|0)==1174){U=0;T=x;c[T>>2]=r;c[T+4>>2]=q;b[v>>1]=p&15872|4;if((r|0)==-1&(q|0)==2147483647){g=13;U=1185;break c}else w=q}if(a[y>>0]&2){g=13;U=1185;break c}p=Nc;q=c[p>>2]|0;p=c[p+4>>2]|0;s=Ft(r|0,w|0,1,0)|0;v=z;if(!((p|0)>(w|0)|(p|0)==(w|0)&q>>>0>r>>>0)){q=Nc;c[q>>2]=s;c[q+4>>2]=v;q=s;p=v}T=x;c[T>>2]=q;c[T+4>>2]=p}if(a[y>>0]&2){q=C+40|0;p=0;do{zd(8,Nc);r=Nc;r=Ft(c[r>>2]|0,c[r+4>>2]&1073741823|0,1,0)|0;g=z;T=Nc;c[T>>2]=r;c[T+4>>2]=g;g=Qm(c[q>>2]|0,0,r,g,0,Yc)|0;r=c[Yc>>2]|0;if(r|g|0)break;p=p+1|0}while((p|0)<100);if(g|0){U=1185;break c}if(!r){g=13;U=1185;break c}else g=0}a[C+3>>0]=0;c[C+28>>2]=0;r=Nc;x=c[r+4>>2]|0;y=j;c[y>>2]=c[r>>2];c[y+4>>2]=x;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 117:case 116:{q=c[Oe+8>>2]|0;x=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;g=c[Oe+12>>2]|0;if(E<<24>>24==116){w=V+(g*40|0)|0;y=c[w>>2]|0;w=c[w+4>>2]|0}else{y=g;w=((g|0)<0)<<31>>31}T=oa;c[T>>2]=y;c[T+4>>2]=w;if((a[Oe+1>>0]|0)==-6?(c[pa>>2]|0)!=0:0){r=c[(c[Me>>2]|0)+(a[x+1>>0]<<4)>>2]|0;s=c[Oe+16>>2]|0;v=b[Oe+2>>1]&4?23:18}else{r=0;s=0;v=0}j=e[Oe+2>>1]|0;if(j&1|0)c[Wb>>2]=(c[Wb>>2]|0)+1;if(j&32|0){T=ua;c[T>>2]=y;c[T+4>>2]=w}c[qa>>2]=c[V+(q*40|0)+16>>2];c[ra>>2]=c[V+(q*40|0)+12>>2];if(!(j&16))p=0;else p=c[x+32>>2]|0;if(!(b[V+(q*40|0)+8>>1]&16384))g=0;else g=c[V+(q*40|0)>>2]|0;c[sa>>2]=g;c[Nc>>2]=0;g=Kn(c[x+40>>2]|0,Nc,j&10,p)|0;a[x+3>>0]=0;c[x+28>>2]=0;if(g|0){U=1205;break c}g=c[pa>>2]|0;if((v|0)!=0&(g|0)!=0)tb[g&255](c[ta>>2]|0,v,r,c[s>>2]|0,y,w);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 118:{q=c[Oe+8>>2]|0;r=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;if((a[Oe+1>>0]|0)==-6?(c[pa>>2]|0)!=0:0){g=c[(c[Me>>2]|0)+(a[r+1>>0]<<4)>>2]|0;j=c[Oe+16>>2]|0;if((b[Oe+2>>1]&2)!=0?(a[r+4>>0]|0)!=0:0){S=c[r+40>>2]|0;Ah(S);S=S+24|0;T=c[S+4>>2]|0;p=r+64|0;c[p>>2]=c[S>>2];c[p+4>>2]=T;p=g}else p=g}else{p=0;j=0}g=Ln(c[r+40>>2]|0,b[Oe+2>>1]&255)|0;c[r+28>>2]=0;c[r+32>>2]=0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}if(((q&1|0)!=0?(c[Wb>>2]=(c[Wb>>2]|0)+1,nd=c[pa>>2]|0,(nd|0)!=0):0)?(c[j+36>>2]&32|0)==0:0){y=r+64|0;tb[nd&255](c[ta>>2]|0,9,p,c[j>>2]|0,c[y>>2]|0,c[y+4>>2]|0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case 119:{y=c[Wb>>2]|0;c[Xb>>2]=y;c[Yb>>2]=(c[Yb>>2]|0)+y;c[Wb>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 120:{r=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;s=c[Oe+12>>2]|0;v=c[Oe+16>>2]|0;p=c[r+40>>2]|0;j=p+32|0;g=c[j>>2]|0;r=c[r+44>>2]|0;if(!g){g=Rm(r)|0;c[j>>2]=g;if(!g){r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}b[g+8>>1]=v;q=g}else q=g;if(!(a[p+56>>0]|0)){j=c[p+36>>2]|0;g=j+8|0}else{j=c[p+20>>2]|0;T=c[j+12>>2]|0;j=c[(c[j+8>>2]|0)+4>>2]|0;g=c[T+(j*56|0)+32>>2]|0;j=T+(j*56|0)+20|0}Sm(r,c[j>>2]|0,g,q);if((v|0)>0){j=c[q+4>>2]|0;g=0;do{if(b[j+(g*40|0)+8>>1]&1){g=0;U=26;break d}g=g+1|0}while((g|0)<(v|0))}if(!(Zm(c[V+(s*40|0)+12>>2]|0,c[V+(s*40|0)+16>>2]|0,q,0)|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{g=0;U=26}break}case 121:{s=c[Oe+8>>2]|0;g=c[(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+40>>2]|0;if(!(a[g+56>>0]|0)){g=c[g+36>>2]|0;r=g+8|0}else{g=c[g+20>>2]|0;T=c[g+12>>2]|0;g=c[(c[g+8>>2]|0)+4>>2]|0;r=c[T+(g*56|0)+32>>2]|0;g=T+(g*56|0)+20|0}g=c[g>>2]|0;if((c[V+(s*40|0)+24>>2]|0)<(g|0)){if(_e(V+(s*40|0)|0,g,0)|0){r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}p=V+(s*40|0)+8|0;j=p;p=b[p>>1]|0;q=c[V+(s*40|0)+16>>2]|0}else{q=c[V+(s*40|0)+20>>2]|0;c[V+(s*40|0)+16>>2]=q;j=V+(s*40|0)+8|0;p=b[j>>1]&13;b[j>>1]=p}c[V+(s*40|0)+12>>2]=g;b[j>>1]=p&15872|16;Tt(q|0,r|0,g|0)|0;c[(c[(c[dc>>2]|0)+(c[Oe+12>>2]<<2)>>2]|0)+28>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 122:{T=c[Vc>>2]|0;j=c[Oe+8>>2]|0;g=T+(j*40|0)|0;j=T+(j*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=4;q=g}else{An(g)|0;q=g}j=c[(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+40>>2]|0;Ah(j);p=c[j+36>>2]|0;if(p>>>0>(c[_b>>2]|0)>>>0){U=3025;break c}g=c[j+32>>2]|0;T=e[j+40>>1]|0;S=(c[(c[j+116>>2]|0)+60>>2]|0)-g|0;if(p>>>0>((T|0)>(S|0)?((S|0)>0?S:0):T)>>>0){g=Fn(j,0,p,q)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}else{c[q+16>>2]=g;b[q+8>>1]=4112;c[q+12>>2]=p}if((c[Oe+12>>2]|0)==0?(od=q+8|0,pd=b[od>>1]|0,(pd&4096)!=0):0){g=pd&65535;do if(!(g&18))g=pd;else{if(!(g&16384))g=pd;else{g=q+12|0;T=(c[q>>2]|0)+(c[g>>2]|0)|0;if(_e(q,(T|0)>1?T:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[q+16>>2]|0)+(c[g>>2]|0)|0,0,c[q>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+(c[q>>2]|0);g=b[od>>1]&-16897;b[od>>1]=g}if(c[q+24>>2]|0?(c[q+16>>2]|0)==(c[q+20>>2]|0):0)break;if(bf(q)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}g=b[od>>1]|0}while(0);b[od>>1]=g&-4097;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case 123:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;p=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;r=p+2|0;y:do if(!(a[r>>0]|0)){do if(!(a[p+3>>0]|0)){if((a[p>>0]|0)!=2){q=p+40|0;g=c[q>>2]|0;do if((a[g>>0]|0)!=1){g=En(p)|0;if(g|0){U=1288;break c}if(!(a[r>>0]|0)){g=c[q>>2]|0;break}else{b[j+8>>1]=1;g=0;break y}}while(0);Ah(g);q=g+24|0;p=c[q>>2]|0;q=c[q+4>>2]|0;g=Nc;c[g>>2]=p;c[g+4>>2]=q;g=0;break}g=c[p+40>>2]|0;s=c[g>>2]|0;g=kb[c[(c[s>>2]|0)+48>>2]&255](g,Nc)|0;s=s+8|0;if(c[s>>2]|0){p=c[f>>2]|0;q=c[Ee>>2]|0;z:do if(q|0){do if(p|0){if(c[p+464>>2]|0){Lc(p,q);break z}r=q;if(r>>>0<(c[p+296>>2]|0)>>>0)break;if(r>>>0>=(c[p+300>>2]|0)>>>0)break;T=p+292|0;c[q>>2]=c[T>>2];c[T>>2]=q;break z}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{T=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[Ee>>2]=kg(p,c[s>>2]|0)|0;p=c[s>>2]|0;do if(p|0)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);c[s>>2]=0}if(g|0){U=1288;break c}q=Nc;g=0;p=c[q>>2]|0;q=c[q+4>>2]|0}else{q=p+64|0;p=c[q>>2]|0;q=c[q+4>>2]|0;T=Nc;c[T>>2]=p;c[T+4>>2]=q}while(0);T=j;c[T>>2]=p;c[T+4>>2]=q}else b[j+8>>1]=1;while(0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 124:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;a[j+2>>0]=1;c[j+28>>2]=0;if(!(a[j>>0]|0)){j=c[j+40>>2]|0;p=j+56|0;q=c[p>>2]|0;do if(q|0)if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{T=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}while(0);c[p>>2]=0;a[j>>0]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 33:case 125:{p=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;j=c[p+40>>2]|0;c[Nc>>2]=0;if(E<<24>>24==125?(c[p+32>>2]=-1,(a[j>>0]|0)==1):0){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}g=Jn(j,Nc)|0;j=c[Nc>>2]|0;a[p+2>>0]=j;a[p+3>>0]=0;c[p+28>>2]=0;if(g|0){U=1299;break c}if((j|0)!=0&(c[Oe+8>>2]|0)>0){g=0;U=26}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case 34:{s=c[(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)+40>>2]|0;g=Mn(s,Nc)|0;if(g|0){U=1302;break c}A:do if(!(c[Nc>>2]|0)){do if((a[s>>0]|0)==1?(qd=c[s+116>>2]|0,a[qd+8>>0]|0):0){g=e[qd+22>>1]|0;j=a[s+68>>0]|0;if(j<<24>>24>0){q=j<<24>>24;p=0;r=0;j=0;do{g=Lt(e[(c[s+120+(r<<2)>>2]|0)+22>>1]|0,0,g|0,j|0)|0;j=z;p=p+1<<24>>24;r=p&255}while((r|0)<(q|0));if(!((j|0)>-1|(j|0)==-1&g>>>0>4294967295))break}else j=0;if(j>>>0<0|(j|0)==0&g>>>0<8)if(j>>>0<0|(j|0)==0&g>>>0<2)g=0;else{p=40;do{p=(p&65535)+65526|0;g=Rt(g|0,j|0,1)|0;j=z}while(j>>>0<0|(j|0)==0&g>>>0<8);p=p&65535;U=1320}else{if(j>>>0>0|(j|0)==0&g>>>0>255){p=40;do{p=(p&65535)+40|0;U=g;g=Qt(g|0,j|0,4)|0;T=j;j=z}while(T>>>0>0|(T|0)==0&U>>>0>4095);p=p&65535}else p=40;if(j>>>0>0|(j|0)==0&g>>>0>15){while(1){p=(p&65535)+10&65535;U=g;g=Qt(g|0,j|0,1)|0;if(!(j>>>0>0|(j|0)==0&U>>>0>31))break;else j=z}U=1320}else U=1320}if((U|0)==1320){U=0;g=(p&65535)+65526+(e[14834+((g&7)<<1)>>1]|0)|0}if((g<<16>>16|0)<(c[Oe+12>>2]|0)){c[Nc>>2]=1;break A}}while(0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}while(0);g=0;U=26;break}case 36:case 35:{c[va>>2]=(c[va>>2]|0)+1;U=1326;break}case 37:{U=1326;break}case 3:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;g=c[j+40>>2]|0;if(a[g+56>>0]|0){c[Nc>>2]=0;g=Rn(c[g+20>>2]|0,Nc)|0;g=(g|0)==0&(c[Nc>>2]|0)!=0?101:g;U=1493;break d}q=g+36|0;p=c[q>>2]|0;U=p+4|0;c[q>>2]=c[U>>2];c[U>>2]=0;do if(!((p|0)==0|(c[g+40>>2]|0)!=0)){if(c[He>>2]|0){Lc(cf,p);break}U=p;if(U>>>0>=(c[Ie>>2]|0)>>>0?U>>>0<(c[Je>>2]|0)>>>0:0){c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{U=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);g=c[q>>2]|0?0:101;U=1493;break}case 5:case 4:{if(!(c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else U=1492;break}case 7:case 6:{U=1492;break}case 127:case 126:{r=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;s=c[Oe+8>>2]|0;j=V+(s*40|0)|0;q=Oe+2|0;if(b[q>>1]&1)c[Wb>>2]=(c[Wb>>2]|0)+1;p=V+(s*40|0)+8|0;if(!(b[p>>1]&16384))g=E;else{g=V+(s*40|0)+12|0;T=(c[j>>2]|0)+(c[g>>2]|0)|0;if(_e(j,(T|0)>1?T:1,1)|0){U=1500;break c}Vt((c[V+(s*40|0)+16>>2]|0)+(c[g>>2]|0)|0,0,c[j>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+(c[j>>2]|0);b[p>>1]=b[p>>1]&-16897;g=a[Oe>>0]|0}if(g<<24>>24==126){y=c[r+40>>2]|0;F=V+(s*40|0)+16|0;j=c[F>>2]|0;p=j+1|0;T=a[p>>0]|0;g=T&255;do if(T<<24>>24<=-1){q=d[j+2>>0]|0;if(!(q&128)){g=q|g<<7&16256;break}j=d[j+3>>0]|0;if(!(j&128)){g=(j|g<<14)&2080895|q<<7&16256;break}else{gh(p,Nc)|0;T=Nc;g=c[T>>2]|0;g=((g|0)==(g|0)?0==(c[T+4>>2]|0):0)?g:-1;break}}while(0);do if(!((g|0)!=7&(g+-1|0)>>>0<9)){j=y+60|0;if((g|0)<11|(g&1|0)==0){a[j>>0]=0;break}else{a[j>>0]=a[j>>0]&2;break}}else{T=y+60|0;a[T>>0]=a[T>>0]&1}while(0);E=V+(s*40|0)+12|0;C=c[E>>2]|0;p=1;g=C;j=((C|0)<0)<<31>>31;while(1){g=Qt(g|0,j|0,7)|0;j=z;if((g|0)==0&(j|0)==0)break;else p=p+1|0}v=C+8|0;p=p+C|0;q=y+4|0;j=c[q>>2]|0;do if(!j)g=0;else{if(!(c[y+40>>2]|0)){g=y+44|0;T=c[g>>2]|0;if((T|0)<=(j|0)?!(c[11616]|0?(T|0)>(c[y>>2]|0):0):0){g=0;break}}else{T=c[y+48>>2]|0;if(!((T|0)!=0&(T+v|0)>(j|0))){g=0;break}g=y+44|0}T=On(y)|0;c[g>>2]=0;c[y+48>>2]=0;g=T}while(0);D=y+36|0;j=y+44|0;c[j>>2]=(c[j>>2]|0)+p;j=y+8|0;if((p|0)>(c[j>>2]|0))c[j>>2]=p;w=y+40|0;s=c[w>>2]|0;if(s){x=y+48|0;r=c[x>>2]|0;p=r+v|0;v=y+52|0;j=c[v>>2]|0;if((p|0)>(j|0)){r=c[D>>2]|0;do j=j<<1;while((j|0)<(p|0));q=c[q>>2]|0;j=(j|0)>(q|0)?q:j;j=(j|0)<(p|0)?p:j;q=Oc(s,j,((j|0)<0)<<31>>31)|0;if(!q){U=1551;break c}T=q+(r-s)|0;c[D>>2]=T;c[w>>2]=q;c[v>>2]=j;p=D;s=q;r=c[x>>2]|0;q=T}else{p=D;q=c[D>>2]|0}j=s+r|0;c[x>>2]=r+(C+15&-8);if(q)c[j+4>>2]=q-s}else{T=Ft(v|0,((v|0)<0)<<31>>31|0,-1,-1)|0;S=z;if(S>>>0>0|(S|0)==0&T>>>0>2147483390){U=1551;break c}do if(!(c[2]|0)){j=jb[c[52>>2]&255](v)|0;if(!j){U=1551;break c}}else{q=jb[c[68>>2]&255](v)|0;if((c[11829]|0)>>>0>>0)c[11829]=v;p=46456;j=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&j>>>0>0){S=c[11822]|0;T=Gt(j|0,p|0,q|0,((q|0)<0)<<31>>31|0)|0;R=z;c[11616]=(0>(R|0)|0==(R|0)&S>>>0>=T>>>0)&1}j=jb[c[52>>2]&255](q)|0;if(!j){U=1551;break c}p=jb[c[64>>2]&255](j)|0;p=(c[11822]|0)+p|0;c[11822]=p;if(p>>>0>(c[11826]|0)>>>0)c[11826]=p;p=(c[11825]|0)+1|0;c[11825]=p;if(p>>>0<=(c[11831]|0)>>>0)break;c[11831]=p}while(0);c[j+4>>2]=c[D>>2];p=D}Tt(j+8|0,c[F>>2]|0,c[E>>2]|0)|0;c[j>>2]=c[E>>2];c[p>>2]=j}else{T=c[V+(s*40|0)+12>>2]|0;g=wa;c[g>>2]=T;c[g+4>>2]=((T|0)<0)<<31>>31;c[Yc>>2]=c[V+(s*40|0)+16>>2];c[xa>>2]=V+((c[Oe+12>>2]|0)*40|0);b[ya>>1]=c[Oe+16>>2];g=e[q>>1]|0;if(!(g&16))j=0;else j=c[r+32>>2]|0;g=Kn(c[r+40>>2]|0,Yc,g&10,j)|0;c[r+28>>2]=0}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -128:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;p=c[j+40>>2]|0;c[Yc>>2]=c[j+44>>2];b[za>>1]=c[Oe+12>>2];a[Aa>>0]=0;c[Ba>>2]=V+((c[Oe+8>>2]|0)*40|0);g=Qm(p,Yc,0,0,0,Nc)|0;if(g|0){U=1556;break c}if((c[Nc>>2]|0)==0?(sd=Ln(p,4)|0,sd|0):0){g=sd;U=1556;break c}c[j+28>>2]=0;c[j+32>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case -126:case -127:{s=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;g=s+40|0;if((a[c[g>>2]>>0]|0)!=1?(oe=En(s)|0,oe|0):0){r=Qe;q=Pe;g=oe;p=Oe;j=n;U=3e3;break a}if(a[s+2>>0]|0){g=c[Oe+8>>2]|0;j=V+(g*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}else{Ye(V+(g*40|0)|0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}}j=c[g>>2]|0;Ah(j);p=c[j+36>>2]|0;b[Ca>>1]=0;c[Da>>2]=cf;c[Ea>>2]=0;g=c[j+32>>2]|0;T=e[j+40>>1]|0;S=(c[(c[j+116>>2]|0)+60>>2]|0)-g|0;if(p>>>0>((T|0)>(S|0)?((S|0)>0?S:0):T)>>>0){g=Fn(j,0,p,Yc)|0;if(g|0){U=1586;break c}j=c[_>>2]|0}else{c[_>>2]=g;b[Ca>>1]=4112;c[Fa>>2]=p;j=g}T=a[j>>0]|0;g=T&255;do if(T<<24>>24<=-1){p=d[j+1>>0]|0;if(!(p&128)){g=p|g<<7&16256;U=1571;break}q=d[j+2>>0]|0;if(q&128){gh(j,Nc)|0;T=Nc;g=c[T>>2]|0;if((g|0)==(g|0)?0==(c[T+4>>2]|0):0){U=1571;break}else{g=-1;break}}else{g=(q|g<<14)&2080895|p<<7&16256;U=1571;break}}else U=1571;while(0);if((U|0)==1571){U=0;if(g>>>0<3){U=1583;break c}}if((g|0)>(c[Fa>>2]|0)){U=1583;break c}p=(c[_>>2]|0)+(g+-1)|0;T=a[p>>0]|0;j=T&255;do if(T<<24>>24<=-1){q=d[p+1>>0]|0;if(!(q&128)){j=q|j<<7&16256;break}r=d[p+2>>0]|0;if(!(r&128)){j=(r|j<<14)&2080895|q<<7&16256;break}else{gh(p,Nc)|0;T=Nc;j=c[T>>2]|0;j=((j|0)==(j|0)?0==(c[T+4>>2]|0):0)?j:-1;break}}while(0);if((j|0)==7|(j+-1|0)>>>0>8){U=1583;break c}p=d[33340+j>>0]|0;q=c[Fa>>2]|0;if(q>>>0<(p+g|0)>>>0){U=1583;break c}Tm((c[_>>2]|0)+(q-p)|0,j,dd)|0;q=dd;p=c[q>>2]|0;q=c[q+4>>2]|0;if(!((b[Ca>>1]&9312)==0&(c[Ea>>2]|0)==0))af(Yc);if((a[Oe>>0]|0)==-127){y=c[(c[dc>>2]|0)+(c[Oe+12>>2]<<2)>>2]|0;a[y+2>>0]=0;x=y+64|0;c[x>>2]=p;c[x+4>>2]=q;a[y+3>>0]=1;c[y+24>>2]=c[Oe+16>>2];c[y+36>>2]=s;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}T=c[Vc>>2]|0;j=c[Oe+8>>2]|0;g=T+(j*40|0)|0;j=T+(j*40|0)+8|0;if(!(b[j>>1]&9312))b[j>>1]=4;else An(g)|0;y=g;c[y>>2]=p;c[y+4>>2]=q;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 41:case 40:case 39:case 38:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;c[Yc>>2]=c[j+44>>2];b[Ga>>1]=c[Oe+16>>2];a[Ha>>0]=((E&255)<40)<<31>>31;c[Ia>>2]=V+((c[Oe+12>>2]|0)*40|0);j=c[j+40>>2]|0;Ah(j);p=c[j+36>>2]|0;if((p|0)<1){U=1597;break c}b[Ja>>1]=0;c[Ka>>2]=cf;c[La>>2]=0;g=c[j+32>>2]|0;T=e[j+40>>1]|0;S=(c[(c[j+116>>2]|0)+60>>2]|0)-g|0;if(p>>>0>((T|0)>(S|0)?((S|0)>0?S:0):T)>>>0){g=Fn(j,0,p,Nc)|0;if(g|0){U=1604;break c}p=c[Z>>2]|0;g=c[$>>2]|0}else{c[$>>2]=g;b[Ja>>1]=4112;c[Z>>2]=p}g=Zm(p,g,Yc,0)|0;if(!((b[Ja>>1]&9312)==0&(c[La>>2]|0)==0))af(Nc);if((((a[Oe>>0]&1)==0?0-g|0:g+1|0)|0)>0){g=0;U=26}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case -125:{T=c[Vc>>2]|0;j=c[Oe+8>>2]|0;g=T+(j*40|0)|0;j=T+(j*40|0)+8|0;if(!(b[j>>1]&9312)){b[j>>1]=4;D=g}else{An(g)|0;D=g}E=D+8|0;b[E>>1]=1;if((c[ea>>2]|0)>((c[nc>>2]|0)+1|0)){U=1610;break c}F=c[Oe+12>>2]|0;x=c[(c[Me>>2]|0)+(F<<4)+4>>2]|0;C=Oe+4|0;v=c[C>>2]|0;y=x+4|0;w=c[y>>2]|0;c[w+4>>2]=c[x>>2];g=c[w>>2]|0;g=mb[c[g+200>>2]&255](g,v,Nc,0)|0;if(g|0){U=1614;break c}g=c[Nc>>2]|0;r=c[g+8>>2]|0;q=r+4|0;if((c[q>>2]|0)!=(v|0)){c[r+56>>2]=c[g+4>>2];c[r+72>>2]=g;c[r+52>>2]=w;c[q>>2]=v;a[r+9>>0]=(v|0)==1?100:0}p=c[y>>2]|0;c[p+4>>2]=c[x>>2];g=c[p+8>>2]|0;B:do if(g|0){C:do if(v)while(1){if((c[g+60>>2]|0)==(v|0))break C;g=c[g+16>>2]|0;if(!g)break B}while(0);g=th(g,v,0)|0;if(g|0){U=1627;break c}}while(0);j=x+11|0;if(a[j>>0]|0?(a[j>>0]=0,Fc=c[(c[y>>2]|0)+8>>2]|0,Fc|0):0){g=Fc;do{if(a[g+1>>0]&16?(a[j>>0]=1,(c[g+60>>2]|0)==(v|0)):0)a[g>>0]=0;g=c[g+16>>2]|0}while((g|0)!=0)}g=Sn(p,v,0,0)|0;if(g|0){U=1627;break c}if(!(a[w+17>>0]|0)){g=Tn(c[r+52>>2]|0,r,c[q>>2]|0)|0;do if(r|0){j=c[r+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{T=c[j+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[j+16>>2]=c[T>>2];c[T>>2]=j;break}}while(0);b[E>>1]=4;T=D;c[T>>2]=0;c[T+4>>2]=0;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}s=c[y>>2]|0;c[s+4>>2]=c[x>>2];s=c[(c[s+12>>2]|0)+56>>2]|0;s=d[s+53>>0]<<16|d[s+52>>0]<<24|d[s+54>>0]<<8|d[s+55>>0];if((s|0)==(v|0)){g=Tn(c[r+52>>2]|0,r,c[q>>2]|0)|0;do if(r|0){j=c[r+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{T=c[j+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[j+16>>2]=c[T>>2];c[T>>2]=j;break}}while(0);if(!g)j=0;else{j=0;U=1678;break c}}else{do if(r|0){g=c[r+72>>2]|0;if(!(b[g+28>>1]&32)){Kg(g);break}else{T=c[g+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[g+16>>2]=c[T>>2];c[T>>2]=g;break}}while(0);g=c[w>>2]|0;g=mb[c[g+200>>2]&255](g,s,Nc,0)|0;if(g|0){U=1645;break c}g=c[Nc>>2]|0;p=c[g+8>>2]|0;j=p+4|0;if((c[j>>2]|0)!=(s|0)){c[p+56>>2]=c[g+4>>2];c[p+72>>2]=g;c[p+52>>2]=w;c[j>>2]=s;a[p+9>>0]=(s|0)==1?100:0}g=xh(w,p,1,0,v,0)|0;do if(p|0){j=c[p+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);break}else{T=c[j+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[j+16>>2]=c[T>>2];c[T>>2]=j;break}}while(0);if(g|0){j=0;U=1678;break c}g=c[w>>2]|0;g=mb[c[g+200>>2]&255](g,s,Nc,0)|0;if(g|0){U=1655;break c}g=c[Nc>>2]|0;p=c[g+8>>2]|0;j=p+4|0;if((c[j>>2]|0)==(s|0)){j=p+72|0;g=c[p+52>>2]|0}else{c[p+56>>2]=c[g+4>>2];T=p+72|0;c[T>>2]=g;c[p+52>>2]=w;c[j>>2]=s;a[p+9>>0]=(s|0)==1?100:0;j=T;g=w}g=Tn(g,p,s)|0;j=c[j>>2]|0;if(!(b[j+28>>1]&32))Kg(j);else{T=c[j+20>>2]|0;S=T+120|0;c[S>>2]=(c[S>>2]|0)+-1;T=T+136|0;c[j+16>>2]=c[T>>2];c[T>>2]=j}if(!g)j=s;else{j=0;U=1678;break c}}q=1073741824/((c[w+32>>2]|0)>>>0)|0;r=q+1|0;p=w+36|0;while(1){g=s;s=s+-1|0;if((s|0)==(r|0))continue;if(s>>>0<2)g=0;else{g=g+-3|0;g=g-((g>>>0)%(((((c[p>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;g=((g+1|0)==(q|0)?3:2)+g|0}if((g|0)!=(s|0))break}q=c[y>>2]|0;c[q+4>>2]=c[x>>2];q=c[q+12>>2]|0;p=c[q+56>>2]|0;q=c[q+72>>2]|0;r=c[q+20>>2]|0;do if((b[q+28>>1]&4)!=0?(c[r+24>>2]|0)>>>0>=(c[q+24>>2]|0)>>>0:0){if(!(c[r+96>>2]|0))break;zc=Mg(q)|0;U=1673}else U=1669;while(0);do if((U|0)==1669){g=c[r+40>>2]|0;if(g|0){U=1678;break c}if((c[r+148>>2]|0)>>>0>(c[r+152>>2]|0)>>>0){zc=Ng(q)|0;U=1673;break}else{zc=Og(q)|0;U=1673;break}}while(0);if((U|0)==1673?(U=0,zc|0):0){g=zc;U=1678;break c}a[p+52>>0]=s>>>24;a[p+53>>0]=s>>>16;a[p+54>>0]=s>>>8;a[p+55>>0]=s;b[E>>1]=4;T=D;c[T>>2]=j;c[T+4>>2]=((j|0)<0)<<31>>31;if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=c[C>>2]|0;q=c[(c[Me>>2]|0)+(F<<4)+12>>2]|0;g=c[q+16>>2]|0;if(g|0)do{p=(c[g+8>>2]|0)+28|0;if((c[p>>2]|0)==(j|0))c[p>>2]=r;g=c[g>>2]|0}while((g|0)!=0);g=c[q+32>>2]|0;if(g|0)do{p=(c[g+8>>2]|0)+44|0;if((c[p>>2]|0)==(j|0))c[p>>2]=r;g=c[g>>2]|0}while((g|0)!=0);y=X;x=Qe;r=F+1&255;s=V;q=W;p=Oe;g=0}break}case -123:{c[Nc>>2]=0;j=c[(c[Me>>2]|0)+(c[Oe+8>>2]<<4)+4>>2]|0;r=c[Oe+4>>2]|0;v=Oe+12|0;q=c[v>>2]|0?Nc:0;p=j+4|0;s=c[p>>2]|0;c[s+4>>2]=c[j>>2];g=c[s+8>>2]|0;D:do if(g){E:do if(r)while(1){if((c[g+60>>2]|0)==(r|0))break E;g=c[g+16>>2]|0;if(!g){U=1695;break D}}while(0);g=th(g,r,0)|0;if(!g)U=1695}else U=1695;while(0);if((U|0)==1695){U=0;j=j+11|0;if(a[j>>0]|0?(a[j>>0]=0,Ac=c[(c[p>>2]|0)+8>>2]|0,Ac|0):0){g=Ac;do{if(a[g+1>>0]&16?(a[j>>0]=1,(c[g+60>>2]|0)==(r|0)):0)a[g>>0]=0;g=c[g+16>>2]|0}while((g|0)!=0)}g=Sn(s,r,0,q)|0}j=c[v>>2]|0;if(j|0?(td=c[Nc>>2]|0,c[Wb>>2]=(c[Wb>>2]|0)+td,ud=V+(j*40|0)|0,(j|0)>0):0){S=ud;S=Ft(c[S>>2]|0,c[S+4>>2]|0,td|0,((td|0)<0)<<31>>31|0)|0;T=ud;c[T>>2]=S;c[T+4>>2]=z}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -122:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;if((a[j>>0]|0)==1){_h(cf,c[j+40>>2]|0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}q=c[j+40>>2]|0;j=c[q+8>>2]|0;q=c[q+60>>2]|0;p=j+4|0;r=c[p>>2]|0;c[r+4>>2]=c[j>>2];g=c[r+8>>2]|0;F:do if(g|0){G:do if(q)while(1){if((c[g+60>>2]|0)==(q|0))break G;g=c[g+16>>2]|0;if(!g)break F}while(0);g=th(g,q,0)|0;if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}while(0);j=j+11|0;if(a[j>>0]|0?(a[j>>0]=0,Cc=c[(c[p>>2]|0)+8>>2]|0,Cc|0):0){g=Cc;do{if(a[g+1>>0]&16?(a[j>>0]=1,(c[g+60>>2]|0)==(q|0)):0)a[g>>0]=0;g=c[g+16>>2]|0}while((g|0)!=0)}g=Sn(r,q,0,0)|0;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -121:{T=c[Vc>>2]|0;g=c[Oe+8>>2]|0;j=T+(g*40|0)|0;g=T+(g*40|0)+8|0;if(!(b[g>>1]&9312))b[g>>1]=4;else An(j)|0;c[Nc>>2]=0;g=In(c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0,Nc,c[Oe+12>>2]|0)|0;if(g|0){U=1725;break c}x=c[Nc>>2]|0;y=j;c[y>>2]=x;c[y+4>>2]=((x|0)<0)<<31>>31;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case -120:{a[Ma>>0]=(a[Ma>>0]|0)+1<<24>>24;g=bl(cf,c[Oe+16>>2]|0,0,0,0)|0;a[Ma>>0]=(a[Ma>>0]|0)+-1<<24>>24;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -119:{T=c[Oe+4>>2]|0;c[Nc>>2]=cf;c[Na>>2]=T;c[Oa>>2]=Ee;j=c[Oe+16>>2]|0;c[Vd>>2]=c[(c[Me>>2]|0)+(T<<4)>>2];c[Vd+4>>2]=25345;c[Vd+8>>2]=j;j=Ff(cf,36106,Vd)|0;if(!j){g=7;U=1738;break c}a[Pa>>0]=1;c[Qa>>2]=0;g=bl(cf,j,140,Nc,0)|0;g=(g|0)==0?c[Qa>>2]|0:g;do if(!(c[He>>2]|0)){T=j;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else Lc(cf,j);while(0);a[Pa>>0]=0;if(g|0){U=1738;break c}y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case -118:{g=cl(cf,c[Oe+4>>2]|0)|0;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -117:{j=_f((c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+12>>2]|0)+8|0,c[Oe+16>>2]|0,0)|0;do if(j|0){if((c[He>>2]|0)==0?(S=j+32|0,T=(c[S>>2]|0)+-1|0,c[S>>2]=T,T|0):0)break;Tf(cf,j)}while(0);c[we>>2]=c[we>>2]|1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -116:{q=_f((c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+12>>2]|0)+24|0,c[Oe+16>>2]|0,0)|0;do if(q|0){j=(c[q+12>>2]|0)+8|0;p=c[j>>2]|0;H:do if((p|0)==(q|0))U=1804;else while(1){if(!p)break H;j=p+20|0;p=c[j>>2]|0;if((p|0)==(q|0)){U=1804;break}}while(0);if((U|0)==1804){U=0;c[j>>2]=c[q+20>>2]}j=c[q+36>>2]|0;if(j|0)Qf(cf,j);j=c[q+40>>2]|0;if(j|0)Rf(cf,j);j=c[q+16>>2]|0;do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}T=j;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);I:do if(a[q+55>>0]&16?(wd=c[q+32>>2]|0,wd|0):0){if(c[He>>2]|0){Lc(cf,wd);break}j=wd;do if(j>>>0>=(c[Ie>>2]|0)>>>0){if(j>>>0>=(c[Je>>2]|0)>>>0)break;c[wd>>2]=c[Ke>>2];c[Ke>>2]=wd;break I}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](wd);break}else{T=jb[c[64>>2]&255](wd)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](wd);break}}while(0);if(c[He>>2]|0){Lc(cf,q);break}T=q;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[q>>2]=c[Ke>>2];c[Ke>>2]=q;break}if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{T=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0);c[we>>2]=c[we>>2]|1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -115:{x=_f((c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+12>>2]|0)+40|0,c[Oe+16>>2]|0,0)|0;if(!x){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{j=c[x+20>>2]|0;if((j|0)==(c[x+24>>2]|0)){j=(c[($f(j+8|0,c[x+4>>2]|0,0)|0)+8>>2]|0)+68|0;while(1){T=c[j>>2]|0;p=T+32|0;if((T|0)==(x|0))break;else j=p}c[j>>2]=c[p>>2]}j=c[x+28>>2]|0;if(j|0)do{w=j;j=c[j+28>>2]|0;p=c[w+16>>2]|0;if(p|0)Qf(cf,p);p=c[w+20>>2]|0;if(p|0)Rf(cf,p);p=c[w+8>>2]|0;if(p|0)Sf(cf,p,1);v=c[w+24>>2]|0;if(v){s=v+4|0;p=c[v>>2]|0;if((c[s>>2]|0)>0){r=0;do{p=c[p+(r<<3)>>2]|0;J:do if(p|0){if(c[He>>2]|0){Lc(cf,p);break}q=p;do if(q>>>0>=(c[Ie>>2]|0)>>>0){if(q>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break J}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);r=r+1|0;p=c[v>>2]|0}while((r|0)<(c[s>>2]|0))}K:do if(p|0){if(c[He>>2]|0){Lc(cf,p);break}q=p;do if(q>>>0>=(c[Ie>>2]|0)>>>0){if(q>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break K}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);L:do if(!(c[He>>2]|0)){p=v;do if(p>>>0>=(c[Ie>>2]|0)>>>0){if(p>>>0>=(c[Je>>2]|0)>>>0)break;c[v>>2]=c[Ke>>2];c[Ke>>2]=v;break L}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](v);break}else{T=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);break}}else Lc(cf,v);while(0);if(w|0)U=1879}else U=1879;M:do if((U|0)==1879){U=0;if(c[He>>2]|0){Lc(cf,w);break}p=w;do if(p>>>0>=(c[Ie>>2]|0)>>>0){if(p>>>0>=(c[Je>>2]|0)>>>0)break;c[w>>2]=c[Ke>>2];c[Ke>>2]=w;break M}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](w);break}else{T=jb[c[64>>2]&255](w)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](w);break}}while(0)}while((j|0)!=0);j=c[x>>2]|0;do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}T=j;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);j=c[x+4>>2]|0;do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}T=j;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);j=c[x+12>>2]|0;if(j|0)Qf(cf,j);s=c[x+16>>2]|0;N:do if(s|0){r=s+4|0;j=c[s>>2]|0;if((c[r>>2]|0)>0){q=0;do{j=c[j+(q<<3)>>2]|0;O:do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}p=j;do if(p>>>0>=(c[Ie>>2]|0)>>>0){if(p>>>0>=(c[Je>>2]|0)>>>0)break;c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break O}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);q=q+1|0;j=c[s>>2]|0}while((q|0)<(c[r>>2]|0))}P:do if(j|0){if(c[He>>2]|0){Lc(cf,j);break}p=j;do if(p>>>0>=(c[Ie>>2]|0)>>>0){if(p>>>0>=(c[Je>>2]|0)>>>0)break;c[j>>2]=c[Ke>>2];c[Ke>>2]=j;break P}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);if(c[He>>2]|0){Lc(cf,s);break}j=s;do if(j>>>0>=(c[Ie>>2]|0)>>>0){if(j>>>0>=(c[Je>>2]|0)>>>0)break;c[s>>2]=c[Ke>>2];c[Ke>>2]=s;break N}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{T=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}while(0);do if(!(c[He>>2]|0)){T=x;if(T>>>0>=(c[Ie>>2]|0)>>>0?T>>>0<(c[Je>>2]|0)>>>0:0){c[x>>2]=c[Ke>>2];c[Ke>>2]=x;break}if(!(c[2]|0)){pb[c[56>>2]&255](x);break}else{T=jb[c[64>>2]&255](x)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](x);break}}else Lc(cf,x);while(0);c[we>>2]=c[we>>2]|1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -114:{w=c[Oe+8>>2]|0;F=c[Oe+4>>2]|0;G=V+(F*40|0)|0;j=c[(c[Me>>2]|0)+(e[Oe+2>>1]<<4)+4>>2]|0;x=(c[Oe+16>>2]|0)+4|0;H=V+((c[Oe+12>>2]|0)*40|0)|0;T=(c[H>>2]|0)+1|0;E=c[j+4>>2]|0;y=E+4|0;D=c[(c[y>>2]|0)+28>>2]|0;c[y>>2]=c[j>>2];c[dd>>2]=E;c[Ra>>2]=c[E>>2];j=c[E+44>>2]|0;c[Sa>>2]=j;c[Ta>>2]=T;c[Xa>>2]=0;c[Ya>>2]=0;c[Ua>>2]=0;c[Ua+4>>2]=0;c[Ua+8>>2]=0;c[Ua+12>>2]=0;c[Ua+16>>2]=0;c[_a>>2]=gd;c[Za>>2]=0;c[$a>>2]=100;c[ab>>2]=1e9;c[bb>>2]=0;a[cb>>0]=0;a[db>>0]=1;Q:do if(j|0){r=(j>>>3)+1|0;if(!(c[2]|0)){j=jb[c[52>>2]&255](r)|0;if(!j)U=1959;else U=1957}else{j=jb[c[68>>2]&255](r)|0;if((c[11829]|0)>>>0>>0)c[11829]=r;q=46456;p=c[q>>2]|0;q=c[q+4>>2]|0;if((q|0)>0|(q|0)==0&p>>>0>0){S=c[11822]|0;T=Gt(p|0,q|0,j|0,((j|0)<0)<<31>>31|0)|0;R=z;c[11616]=(0>(R|0)|0==(R|0)&S>>>0>=T>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(j){p=jb[c[64>>2]&255](j)|0;p=(c[11822]|0)+p|0;c[11822]=p;if(p>>>0>(c[11826]|0)>>>0)c[11826]=p;p=(c[11825]|0)+1|0;c[11825]=p;if(p>>>0>(c[11831]|0)>>>0){c[11831]=p;Vt(j|0,0,r|0)|0}else U=1957}else U=1959}if((U|0)==1957){U=0;Vt(j|0,0,r|0)|0}else if((U|0)==1959){U=0;c[Xa>>2]=0;c[Va>>2]=1;break}c[Xa>>2]=j;C=E+32|0;r=c[C>>2]|0;if((c[11659]|0)>=(r|0)?(xd=c[11665]|0,(xd|0)!=0):0){c[11665]=c[xd>>2];T=c[11666]|0;c[11666]=T+-1;c[11667]=(T|0)<=(c[11661]|0)&1;if((c[11830]|0)>>>0>>0)c[11830]=r;j=(c[11823]|0)+1|0;c[11823]=j;if(j>>>0>(c[11827]|0)>>>0){c[11827]=j;j=xd}else j=xd}else U=1966;R:do if((U|0)==1966){U=0;T=Ft(r|0,((r|0)<0)<<31>>31|0,-1,-1)|0;S=z;S:do if(!(S>>>0>0|(S|0)==0&T>>>0>2147483390)){do if(!(c[2]|0)){j=jb[c[52>>2]&255](r)|0;if(!j)break S}else{j=jb[c[68>>2]&255](r)|0;if((c[11829]|0)>>>0>>0)c[11829]=r;q=46456;p=c[q>>2]|0;q=c[q+4>>2]|0;if((q|0)>0|(q|0)==0&p>>>0>0){S=c[11822]|0;T=Gt(p|0,q|0,j|0,((j|0)<0)<<31>>31|0)|0;R=z;c[11616]=(0>(R|0)|0==(R|0)&S>>>0>=T>>>0)&1}j=jb[c[52>>2]&255](j)|0;if(!j)break S;p=jb[c[64>>2]&255](j)|0;p=(c[11822]|0)+p|0;c[11822]=p;if(p>>>0>(c[11826]|0)>>>0)c[11826]=p;p=(c[11825]|0)+1|0;c[11825]=p;if(p>>>0<=(c[11831]|0)>>>0)break;c[11831]=p}while(0);p=jb[c[64>>2]&255](j)|0;if((c[11830]|0)>>>0>>0)c[11830]=r;p=(c[11824]|0)+p|0;c[11824]=p;if(p>>>0<=(c[11828]|0)>>>0)break R;c[11828]=p;break R}while(0);c[Ya>>2]=0;c[Va>>2]=1;break Q}while(0);c[Ya>>2]=j;j=(1073741824/((c[C>>2]|0)>>>0)|0)+1|0;if(j>>>0<=(c[Sa>>2]|0)>>>0){T=(c[Xa>>2]|0)+(j>>>3)|0;a[T>>0]=d[T>>0]|1<<(j&7)}c[Wa>>2]=36170;p=c[(c[E+12>>2]|0)+56>>2]|0;Un(dd,1,d[p+33>>0]<<16|d[p+32>>0]<<24|d[p+34>>0]<<8|d[p+35>>0],d[p+37>>0]<<16|d[p+36>>0]<<24|d[p+38>>0]<<8|d[p+39>>0]);c[Wa>>2]=0;p=c[y>>2]|0;j=p+28|0;c[j>>2]=c[j>>2]&-2097153;j=c[Ta>>2]|0;if((w|0)>0&(j|0)!=0){v=E+17|0;s=0;do{q=x+(s<<2)|0;r=c[q>>2]|0;if(r){if((r|0)>1&(a[v>>0]|0)!=0){j=vh(c[dd>>2]|0,r,Nc,Yc)|0;T:do if((j|0)<7){switch(j|0){case 0:break;default:{U=1991;break T}}j=a[Nc>>0]|0;p=c[Yc>>2]|0;if(j<<24>>24==1&(p|0)==0)break;c[Xd>>2]=r;c[Xd+4>>2]=1;c[Xd+8>>2]=0;c[Xd+12>>2]=j&255;c[Xd+16>>2]=p;Vn(dd,36215,Xd)}else{if((j|0)<3082)switch(j|0){case 7:break;default:{U=1991;break T}}else switch(j|0){case 3082:break;default:{U=1991;break T}}c[Va>>2]=1;U=1991}while(0);if((U|0)==1991){U=0;c[Wd>>2]=r;Vn(dd,36186,Wd)}j=c[q>>2]|0}else j=r;Wn(dd,j,md,-1,2147483647)|0;j=c[Ta>>2]|0}s=s+1|0}while((s|0)<(w|0)&(j|0)!=0);p=c[y>>2]|0}c[p+28>>2]=D;if((j|0)!=0&(c[Sa>>2]|0)!=0){w=E+17|0;v=E+36|0;s=1;do{q=s>>>3;j=a[(c[Xa>>2]|0)+q>>0]|0;r=1<<(s&7);do if(!(j&255&r)){if(s>>>0<2)p=0;else{p=s+-2|0;p=p-((p>>>0)%(((((c[v>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;p=((p+1|0)==(1073741824/((c[C>>2]|0)>>>0)|0|0)?3:2)+p|0}if((p|0)==(s|0)?a[w>>0]|0:0)break;c[Yd>>2]=s;Vn(dd,36269,Yd);j=a[(c[Xa>>2]|0)+q>>0]|0}while(0);do if(j&255&r|0){if(s>>>0<2)j=0;else{j=s+-2|0;j=j-((j>>>0)%(((((c[v>>2]|0)>>>0)/5|0)+1|0)>>>0)|0)|0;j=((j+1|0)==(1073741824/((c[C>>2]|0)>>>0)|0|0)?3:2)+j|0}if((j|0)!=(s|0))break;if(!(a[w>>0]|0))break;c[Zd>>2]=s;Vn(dd,36291,Zd)}while(0);s=s+1|0}while(c[Ta>>2]|0?s>>>0<=(c[Sa>>2]|0)>>>0:0)}}while(0);j=c[Ya>>2]|0;do if(j|0){T=j;if(T>>>0>=(c[11662]|0)>>>0&T>>>0<(c[11663]|0)>>>0){c[11823]=(c[11823]|0)+-1;c[j>>2]=c[11665];c[11665]=j;T=(c[11666]|0)+1|0;c[11666]=T;c[11667]=(T|0)<(c[11661]|0)&1;break}T=jb[c[64>>2]&255](j)|0;c[11824]=(c[11824]|0)-T;if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);j=c[Xa>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);if(!(c[Va>>2]|0))r=c[Ua>>2]|0;else{if(a[db>>0]&4){j=c[Za>>2]|0;p=c[_a>>2]|0;U:do if(p|0){do if(j|0){if(c[j+464>>2]|0){Lc(j,p);break U}q=p;if(q>>>0<(c[j+296>>2]|0)>>>0)break;if(q>>>0>=(c[j+300>>2]|0)>>>0)break;T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break U}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);a[db>>0]=a[db>>0]&-5}c[_a>>2]=0;r=(c[Ua>>2]|0)+1|0;c[Ua>>2]=r}s=(r|0)==0;if(!s){j=c[_a>>2]|0;if(((j|0)!=0?(a[j+(c[bb>>2]|0)>>0]=0,(c[ab>>2]|0)!=0):0)?(a[db>>0]&4)==0:0)j=Dc(Za)|0;else U=2056}else{if(a[db>>0]&4){j=c[Za>>2]|0;p=c[_a>>2]|0;V:do if(p|0){do if(j|0){if(c[j+464>>2]|0){Lc(j,p);break V}q=p;if(q>>>0<(c[j+296>>2]|0)>>>0)break;if(q>>>0>=(c[j+300>>2]|0)>>>0)break;U=j+292|0;c[p>>2]=c[U>>2];c[U>>2]=p;break V}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{U=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);a[db>>0]=a[db>>0]&-5}c[_a>>2]=0;U=2056}if((U|0)==2056){U=0;j=c[_a>>2]|0}p=V+(F*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=1;else Ye(G);if(!s){if(!j){o=Oe;g=Qe;j=Pe;U=3026;break a}S=r+-1|0;T=H;S=Gt(c[T>>2]|0,c[T+4>>2]|0,S|0,((S|0)<0)<<31>>31|0)|0;T=H;c[T>>2]=S;c[T+4>>2]=z;Ve(G,j,-1,1,148)|0}if((b[p>>1]&2)!=0?(a[V+(F*40|0)+10>>0]|0)!=Uc<<24>>24:0){Of(G,Uc)|0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -113:{p=c[Oe+4>>2]|0;j=V+(p*40|0)|0;q=c[Oe+8>>2]|0;p=V+(p*40|0)+8|0;if((b[p>>1]&32)==0?(Xn(j),(b[p>>1]&32)==0):0){o=Oe;g=Qe;j=Pe;U=3026;break a}w=c[j>>2]|0;v=V+(q*40|0)|0;s=c[v>>2]|0;v=c[v+4>>2]|0;r=w+24|0;j=b[r>>1]|0;if(!(j<<16>>16)){q=c[w+4>>2]|0;do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))U=2078;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{if((e[q+268>>1]|0)>=1016){p=q+292|0;j=c[p>>2]|0;if(j|0){c[p>>2]=c[j>>2];T=q+276|0;c[T>>2]=(c[T>>2]|0)+1;break}p=q+288|0;j=c[p>>2]|0;if(!j)j=2;else{c[p>>2]=c[j>>2];T=q+276|0;c[T>>2]=(c[T>>2]|0)+1;break}}else j=1;U=q+276+(j<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2078}while(0);if((U|0)==2078){U=0;j=Ec(q,1016,0)|0}if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}c[j>>2]=c[w>>2];c[w>>2]=j;q=j+8|0;p=w+16|0;c[p>>2]=q;b[r>>1]=63;j=62}else{q=w+16|0;p=q;j=j+-1<<16>>16;q=c[q>>2]|0}b[r>>1]=j;c[p>>2]=q+16;if(!q){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{j=q;c[j>>2]=s;c[j+4>>2]=v;c[q+8>>2]=0;j=w+12|0;p=c[j>>2]|0;if(!p)c[w+8>>2]=q;else{T=p;S=c[T+4>>2]|0;if(!((S|0)<(v|0)|((S|0)==(v|0)?(c[T>>2]|0)>>>0>>0:0))){T=w+26|0;b[T>>1]=b[T>>1]&-2}c[p+8>>2]=q}c[j>>2]=q;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 42:{r=c[Oe+4>>2]|0;q=V+(r*40|0)|0;r=V+(r*40|0)+8|0;j=b[r>>1]|0;do if(j&32){y=c[q>>2]|0;C=y+26|0;j=b[C>>1]|0;p=j&65535;if(!(p&2)){if(!(p&1)){j=y+8|0;c[j>>2]=Yn(c[j>>2]|0)|0;j=b[C>>1]|0}b[C>>1]=j|3}v=y+8|0;j=c[v>>2]|0;if(!j){j=b[r>>1]|0;break}x=j;w=c[x>>2]|0;x=c[x+4>>2]|0;T=c[j+8>>2]|0;c[v>>2]=T;if(!T){j=c[y>>2]|0;if(j|0){s=y+4|0;do{p=j;j=c[j>>2]|0;q=c[s>>2]|0;do if(!q)U=2105;else{if(c[q+464>>2]|0){Lc(q,p);break}r=p;if(r>>>0<(c[q+296>>2]|0)>>>0){U=2105;break}if(r>>>0>=(c[q+300>>2]|0)>>>0){U=2105;break}T=q+292|0;c[p>>2]=c[T>>2];c[T>>2]=p}while(0);do if((U|0)==2105){U=0;if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0)}while((j|0)!=0)}c[y>>2]=0;b[y+24>>1]=0;c[v>>2]=0;c[y+12>>2]=0;c[y+20>>2]=0;b[C>>1]=1}p=c[Oe+12>>2]|0;j=V+(p*40|0)|0;p=V+(p*40|0)+8|0;if(!(b[p>>1]&9312)){U=j;c[U>>2]=w;c[U+4>>2]=x;b[p>>1]=4;p=Oe;U=21;break d}else{Xe(j,w,x);p=Oe;U=21;break d}}while(0);if(!(j&9312)){b[r>>1]=1;U=20;break d}else{Ye(q);U=20;break d}}case 45:{p=c[Oe+4>>2]|0;J=V+(p*40|0)|0;j=V+((c[Oe+12>>2]|0)*40|0)|0;I=c[Oe+16>>2]|0;p=V+(p*40|0)+8|0;if((b[p>>1]&32)==0?(Xn(J),(b[p>>1]&32)==0):0){o=Oe;g=Qe;j=Pe;U=3026;break a}if(I){C=c[J>>2]|0;H=j;G=c[H>>2]|0;H=c[H+4>>2]|0;D=C+28|0;if((c[D>>2]|0)!=(I|0)){E=C+8|0;p=c[E>>2]|0;if(p|0){r=C+20|0;F=C+26|0;if(!(b[F>>1]&1))p=Yn(p)|0;q=c[r>>2]|0;W:do if(!q)U=2138;else{while(1){y=q+8|0;s=q+12|0;q=c[s>>2]|0;if(!q)break;_n(q,Yc,dd);c[s>>2]=0;q=Nc;r=c[Yc>>2]|0;X:while(1){x=r;w=c[x>>2]|0;x=c[x+4>>2]|0;while(1){v=p;s=c[v>>2]|0;v=c[v+4>>2]|0;if(!((x|0)>(v|0)|(x|0)==(v|0)&w>>>0>s>>>0))break;c[q+8>>2]=p;q=c[p+8>>2]|0;if(!q)break X;else{T=p;p=q;q=T}}if((x|0)<(v|0)|(x|0)==(v|0)&w>>>0>>0){c[q+8>>2]=r;q=r}r=c[r+8>>2]|0;if(!r){r=p;p=q;break}}c[p+8>>2]=r;p=c[eb>>2]|0;q=c[y>>2]|0;if(!q){r=y;U=2138;break W}}T=p+8|0;q=c[T>>2]|0;c[Nc>>2]=q;c[T>>2]=0;c[p+12>>2]=0;if(!q){c[s>>2]=p;break}r=1;while(1){T=q+8|0;c[Nc>>2]=c[T>>2];c[q+12>>2]=p;c[T>>2]=Zn(Nc,r)|0;p=c[Nc>>2]|0;if(!p)break;else{T=q;r=r+1|0;q=p;p=T}}c[s>>2]=q}while(0);Y:do if((U|0)==2138){U=0;w=C+24|0;q=b[w>>1]|0;Z:do if(!(q<<16>>16)){v=c[C+4>>2]|0;_:do if(c[v+264>>2]|0){if(!(a[v+73>>0]|0))U=2148}else{do if((e[v+268>>1]|0)<1016)q=1;else{s=v+292|0;q=c[s>>2]|0;if(q|0){c[s>>2]=c[q>>2];U=v+276|0;c[U>>2]=(c[U>>2]|0)+1;U=2149;break _}s=v+288|0;q=c[s>>2]|0;if(!q){q=2;break}c[s>>2]=c[q>>2];U=v+276|0;c[U>>2]=(c[U>>2]|0)+1;U=2149;break _}while(0);U=v+276+(q<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2148}while(0);if((U|0)==2148){q=Ec(v,1016,0)|0;U=2149}do if((U|0)==2149){U=0;if(!q)break;c[q>>2]=c[C>>2];c[C>>2]=q;v=q+8|0;s=C+16|0;c[s>>2]=v;b[w>>1]=63;q=62;break Z}while(0);c[r>>2]=0;break Y}else{v=C+16|0;s=v;q=q+-1<<16>>16;v=c[v>>2]|0}while(0);b[w>>1]=q;c[s>>2]=v+16;c[r>>2]=v;if(v|0){T=v;c[T>>2]=0;c[T+4>>2]=0;c[v+8>>2]=0;T=p+8|0;q=c[T>>2]|0;c[Nc>>2]=q;c[T>>2]=0;c[p+12>>2]=0;if(q){r=1;while(1){T=q+8|0;c[Nc>>2]=c[T>>2];c[q+12>>2]=p;c[T>>2]=Zn(Nc,r)|0;p=c[Nc>>2]|0;if(!p){p=q;break}else{T=q;r=r+1|0;q=p;p=T}}}c[v+12>>2]=p}}while(0);c[E>>2]=0;c[C+12>>2]=0;b[F>>1]=b[F>>1]|1}c[D>>2]=I}p=c[C+20>>2]|0;if(p|0)do{q=c[p+12>>2]|0;if(q|0)do{s=q;r=c[s>>2]|0;s=c[s+4>>2]|0;if((s|0)<(H|0)|(s|0)==(H|0)&r>>>0>>0)q=q+8|0;else{if(!((s|0)>(H|0)|(s|0)==(H|0)&r>>>0>G>>>0)){U=26;break d}q=q+12|0}q=c[q>>2]|0}while((q|0)!=0);p=c[p+8>>2]|0}while((p|0)!=0);if((I|0)<=-1){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}w=c[J>>2]|0;v=j;s=c[v>>2]|0;v=c[v+4>>2]|0;r=w+24|0;j=b[r>>1]|0;if(!(j<<16>>16)){q=c[w+4>>2]|0;do if(c[q+264>>2]|0)if(!(a[q+73>>0]|0))U=2178;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}else{if((e[q+268>>1]|0)>=1016){p=q+292|0;j=c[p>>2]|0;if(j|0){c[p>>2]=c[j>>2];T=q+276|0;c[T>>2]=(c[T>>2]|0)+1;break}p=q+288|0;j=c[p>>2]|0;if(!j)j=2;else{c[p>>2]=c[j>>2];T=q+276|0;c[T>>2]=(c[T>>2]|0)+1;break}}else j=1;U=q+276+(j<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2178}while(0);if((U|0)==2178){U=0;j=Ec(q,1016,0)|0}if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}c[j>>2]=c[w>>2];c[w>>2]=j;q=j+8|0;p=w+16|0;c[p>>2]=q;b[r>>1]=63;j=62}else{q=w+16|0;p=q;j=j+-1<<16>>16;q=c[q>>2]|0}b[r>>1]=j;c[p>>2]=q+16;if(!q){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{j=q;c[j>>2]=s;c[j+4>>2]=v;c[q+8>>2]=0;j=w+12|0;p=c[j>>2]|0;if(!p)c[w+8>>2]=q;else{T=p;S=c[T+4>>2]|0;if(!((S|0)<(v|0)|((S|0)==(v|0)?(c[T>>2]|0)>>>0>>0:0))){T=w+26|0;b[T>>1]=b[T>>1]&-2}c[p+8>>2]=q}c[j>>2]=q;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 46:{D=c[Oe+16>>2]|0;w=c[Oe+12>>2]|0;x=V+(w*40|0)|0;if(b[Oe+2>>1]|0?(yd=c[D+20>>2]|0,Kc=c[Ub>>2]|0,Kc|0):0){j=Kc;do{if((c[j+28>>2]|0)==(yd|0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}j=c[j+4>>2]|0}while((j|0)!=0)}if((c[Vb>>2]|0)>=(c[fb>>2]|0)){U=2193;break c}r=V+(w*40|0)+8|0;if(!(b[r>>1]&64)){s=D+12|0;v=c[s>>2]|0;C=v+(c[D+8>>2]|0)+((v|0)==0&1)|0;q=D+4|0;v=(v<<2)+80+(((c[q>>2]|0)+7|0)/8|0)+(C*40|0)|0;p=((v|0)<0)<<31>>31;do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=2203;else{o=Oe;g=Qe;j=Pe;U=3026;break a}else{if(!(0

    >>0|(0==(p|0)?(e[uc>>1]|0)>>>0>>0:0))){j=c[Ke>>2]|0;if(j|0){c[Ke>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;y=j;break}j=c[re>>2]|0;if(!j)j=2;else{c[re>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;y=j;break}}else j=1;U=cf+276+(j<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2203}while(0);if((U|0)==2203){U=0;y=Ec(cf,v,p)|0}if(!y){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt(y|0,0,v|0)|0;if(!((b[r>>1]&9312)==0?!(c[V+(w*40|0)+24>>2]|0):0))af(x);b[r>>1]=64;c[x>>2]=y;c[y>>2]=f;c[y+60>>2]=C;j=c[s>>2]|0;c[y+64>>2]=j;c[y+48>>2]=(Oe-Qe|0)/20|0;c[y+16>>2]=c[Vc>>2];c[y+56>>2]=c[ga>>2];c[y+20>>2]=c[dc>>2];c[y+44>>2]=c[gb>>2];c[y+8>>2]=c[vd>>2];c[y+52>>2]=c[bc>>2];c[y+28>>2]=c[D+20>>2];p=y+80|0;r=p+(C*40|0)|0;if((p|0)==(r|0)){r=y;p=y}else{do{b[p+8>>1]=128;c[p+32>>2]=cf;p=p+40|0}while((p|0)!=(r|0));r=y;p=y}}else{p=c[x>>2]|0;r=p;q=D+4|0;j=c[D+12>>2]|0}c[Vb>>2]=(c[Vb>>2]|0)+1;c[r+4>>2]=c[Ub>>2];x=ua;y=c[x+4>>2]|0;s=r+32|0;c[s>>2]=c[x>>2];c[s+4>>2]=y;c[r+68>>2]=c[Wb>>2];c[r+72>>2]=c[(c[f>>2]|0)+92>>2];c[r+40>>2]=c[hb>>2];c[hb>>2]=0;c[Wb>>2]=0;c[Ub>>2]=p;s=p+80|0;c[Vc>>2]=s;p=c[r+60>>2]|0;c[ga>>2]=p;c[gb>>2]=c[r+64>>2]&65535;p=s+(p*40|0)|0;c[dc>>2]=p;p=p+(j<<2)|0;c[r+24>>2]=p;Vt(p|0,0,((c[q>>2]|0)+7|0)/8|0|0)|0;p=c[D>>2]|0;c[vd>>2]=p;c[bc>>2]=c[q>>2];y=X;x=p;r=Pe;q=W;p=p+-20|0;break}case -112:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;q=c[Ub>>2]|0;p=c[q+16>>2]|0;q=(c[(c[q+8>>2]|0)+((c[q+48>>2]|0)*20|0)+4>>2]|0)+(c[Oe+4>>2]|0)|0;r=p+(q*40|0)|0;s=j+8|0;if(b[s>>1]&9312){Bn(j,r,4096);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d};c[j>>2]=c[r>>2];c[j+4>>2]=c[r+4>>2];c[j+8>>2]=c[r+8>>2];c[j+12>>2]=c[r+12>>2];c[j+16>>2]=c[r+16>>2];if(!(b[p+(q*40|0)+8>>1]&2048)){b[s>>1]=b[s>>1]&-7169|4096;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -111:{p=c[Oe+8>>2]|0;if(!(c[fa>>2]&524288))j=c[Oe+4>>2]|0?kc:oc;else j=lc;x=j;x=Ft(c[x>>2]|0,c[x+4>>2]|0,p|0,((p|0)<0)<<31>>31|0)|0;y=j;c[y>>2]=x;c[y+4>>2]=z;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 47:if(!(c[Oe+4>>2]|0)){T=oc;if(!((c[T>>2]|0)==0&(c[T+4>>2]|0)==0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}T=lc;if((c[T>>2]|0)==0&(c[T+4>>2]|0)==0){U=26;break d}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}else{T=kc;if(!((c[T>>2]|0)==0&(c[T+4>>2]|0)==0)){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}T=lc;if((c[T>>2]|0)==0&(c[T+4>>2]|0)==0){U=26;break d}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}}case -110:{j=c[Ub>>2]|0;if(!j)p=V;else{while(1){p=c[j+4>>2]|0;if(!p)break;else j=p}p=c[j+16>>2]|0}q=c[Oe+4>>2]|0;w=p+(q*40|0)|0;s=p+(q*40|0)+8|0;j=b[s>>1]|0;r=j&65535;do if(!(r&4)){if(r&8|0){p=Gc(+h[w>>3])|0;q=z;break}if(!(r&18)){p=0;q=0}else{p=Hc(a[p+(q*40|0)+10>>0]|0,c[p+(q*40|0)+12>>2]|0,c[p+(q*40|0)+16>>2]|0)|0;q=z;j=b[s>>1]|0}}else{q=w;p=c[q>>2]|0;q=c[q+4>>2]|0}while(0);v=w;c[v>>2]=p;c[v+4>>2]=q;b[s>>1]=j&15872|4;j=c[Oe+8>>2]|0;s=V+(j*40|0)|0;v=V+(j*40|0)+8|0;r=b[v>>1]|0;p=r&65535;do if(!(p&4)){if(p&8|0){p=Gc(+h[s>>3])|0;q=z;j=r;break}if(!(p&18)){p=0;q=0;j=r}else{p=Hc(a[V+(j*40|0)+10>>0]|0,c[V+(j*40|0)+12>>2]|0,c[V+(j*40|0)+16>>2]|0)|0;q=z;j=b[v>>1]|0}}else{q=s;p=c[q>>2]|0;q=c[q+4>>2]|0;j=r}while(0);T=s;c[T>>2]=p;c[T+4>>2]=q;b[v>>1]=j&15872|4;T=w;S=c[T+4>>2]|0;if((S|0)<(q|0)|((S|0)==(q|0)?(c[T>>2]|0)>>>0

    >>0:0)){y=w;c[y>>2]=p;c[y+4>>2]=q;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 48:{j=V+((c[Oe+4>>2]|0)*40|0)|0;q=j;p=c[q>>2]|0;q=c[q+4>>2]|0;if((q|0)>0|(q|0)==0&p>>>0>0){T=c[Oe+12>>2]|0;T=Gt(p|0,q|0,T|0,((T|0)<0)<<31>>31|0)|0;U=j;c[U>>2]=T;c[U+4>>2]=z;U=26}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -109:{q=c[Oe+4>>2]|0;s=c[Oe+12>>2]|0;T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312)){b[p>>1]=4;r=j}else{An(j)|0;r=j}p=V+(q*40|0)|0;j=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)<0|(p|0)==0&j>>>0<1){j=-1;p=-1}else{S=V+(s*40|0)|0;R=c[S>>2]|0;S=c[S+4>>2]|0;T=(S|0)>0|(S|0)==0&R>>>0>0;R=T?R:0;S=T?S:0;T=Gt(-1,2147483647,j|0,p|0)|0;Q=z;T=((S|0)>-1|(S|0)==-1&R>>>0>4294967295)&((Q|0)<(S|0)|(Q|0)==(S|0)&T>>>0>>0);j=Ft(R|0,S|0,j|0,p|0)|0;j=T?-1:j;p=T?-1:z}y=r;c[y>>2]=j;c[y+4>>2]=p;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case 49:{j=V+((c[Oe+4>>2]|0)*40|0)|0;q=j;p=c[q>>2]|0;q=c[q+4>>2]|0;if(!((p|0)==0&(q|0)==0))if((q|0)>0|(q|0)==0&p>>>0>0){T=Ft(p|0,q|0,-1,-1)|0;U=j;c[U>>2]=T;c[U+4>>2]=z;U=26}else U=26;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case 59:{j=V+((c[Oe+4>>2]|0)*40|0)|0;T=j;S=c[T>>2]|0;T=c[T+4>>2]|0;p=Ft(S|0,T|0,-1,-1)|0;q=z;if(!((S|0)==0&(T|0)==-2147483648)?(T=j,c[T>>2]=p,c[T+4>>2]=q,(p|0)==0&(q|0)==0):0)U=26;else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -108:{q=b[Oe+2>>1]|0;p=((q&65535)<<2)+28|0;do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=2265;else{o=Oe;g=Qe;j=Pe;U=3026;break a}else{if(!(0<0|(0==0?(e[uc>>1]|0)>>>0

    >>0:0))){j=c[Ke>>2]|0;if(j|0){c[Ke>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;break}j=c[re>>2]|0;if(!j)j=2;else{c[re>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;break}}else j=1;U=cf+276+(j<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2265}while(0);if((U|0)==2265)j=Ec(cf,p,0)|0;if(!j){o=Oe;g=Qe;j=Pe;U=3026;break a}c[j+8>>2]=0;U=Oe+16|0;c[j+4>>2]=c[U>>2];c[j+16>>2]=(Oe-Qe|0)/20|0;c[j+12>>2]=f;a[j+26>>0]=q;a[Oe+1>>0]=-16;c[U>>2]=j;a[Oe>>0]=-107;U=2268;break}case -107:{j=c[Oe+16>>2]|0;U=2268;break}case -106:{q=c[Oe+4>>2]|0;p=V+(q*40|0)|0;g=Ze(p,c[Oe+16>>2]|0)|0;if(g|0){U=2291;break c}j=V+(q*40|0)+8|0;g=b[j>>1]|0;if((g&2)!=0?(a[V+(q*40|0)+10>>0]|0)!=Uc<<24>>24:0){Of(p,Uc)|0;g=b[j>>1]|0}j=g&65535;if(j&18){g=c[V+(q*40|0)+12>>2]|0;if(j&16384)g=(c[p>>2]|0)+g|0;if((g|0)>(c[(c[V+(q*40|0)+32>>2]|0)+100>>2]|0)){U=3025;break c}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case 8:{c[Nc>>2]=0;c[wb>>2]=-1;c[xb>>2]=-1;g=Dl(cf,c[Oe+4>>2]|0,c[Oe+8>>2]|0,xb,wb)|0;switch(g|0){case 0:{j=c[Nc>>2]|0;break}case 5:{c[Nc>>2]=1;j=1;break}default:{U=2312;break c}}q=c[Oe+12>>2]|0;g=V+(q*40|0)|0;p=((j|0)<0)<<31>>31;q=V+(q*40|0)+8|0;if(!(b[q>>1]&9312)){T=g;c[T>>2]=j;c[T+4>>2]=p;b[q>>1]=4}else Xe(g,j,p);g=g+40|0;j=c[xb>>2]|0;p=((j|0)<0)<<31>>31;q=g+8|0;if(!(b[q>>1]&9312)){T=g;c[T>>2]=j;c[T+4>>2]=p;b[q>>1]=4}else Xe(g,j,p);g=g+40|0;j=c[wb>>2]|0;p=((j|0)<0)<<31>>31;q=g+8|0;if(!(b[q>>1]&9312)){T=g;c[T>>2]=j;c[T+4>>2]=p;b[q>>1]=4}else Xe(g,j,p);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 9:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;p=c[Oe+12>>2]|0;C=c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0;w=C+4|0;D=c[c[w>>2]>>2]|0;r=a[D+5>>0]|0;E=r&255;p=(p|0)==-1?E:p;do if((d[D+16>>0]|0)>2)p=E;else if(c[c[D+64>>2]>>2]|0?(T=D+72|0,S=c[T+4>>2]|0,(S|0)>0|(S|0)==0&(c[T>>2]|0)>>>0>0):0){p=E;break}while(0);if(!(a[D+15>>0]|0))q=c[D+168>>2]|0;else q=47328;if((p|0)==5)if(((q|0)!=0?((As(q)|0)&1073741823|0)!=0:0)?(Dd=c[c[D+60>>2]>>2]|0,(a[D+13>>0]|0)==0):0)if(!(a[D+4>>0]|0))if((c[Dd>>2]|0)>1?(c[Dd+52>>2]|0)!=0:0){p=5;U=2329}else p=E;else{p=5;U=2329}else p=E;else U=2329;$:do if((U|0)==2329){U=0;if((p|0)!=(E|0)){q=r<<24>>24==5;y=(p|0)==5;if(q|y){if(!(a[vc>>0]|0)){U=2333;break c}if((c[ea>>2]|0)>1){U=2333;break c}if(!q){if(r<<24>>24==4)$n(D,2)|0;if(g|0)break}else{r=D+212|0;g=c[r>>2]|0;if(!g){c[Nc>>2]=0;q=D+17|0;g=a[q>>0]|0;aa:do switch(g<<24>>24){case 0:case 5:{do if(!(a[D+13>>0]|0)){g=c[D+60>>2]|0;g=kb[c[(c[g>>2]|0)+28>>2]&255](g,1)|0;if(!g){g=a[q>>0]|0;break}else break $}while(0);if(g<<24>>24==5)break aa;a[q>>0]=1;break}default:{}}while(0);g=c[D>>2]|0;g=mb[c[g+32>>2]&255](g,c[D+216>>2]|0,0,Nc)|0;if((g|0)==0&(c[Nc>>2]|0)!=0)g=Hh(D)|0;if(g|0)break;g=c[r>>2]|0;if(g|0){v=q;U=2348}}else{v=D+17|0;U=2348}do if((U|0)==2348){U=0;switch(a[v>>0]|0){case 0:case 1:case 2:case 3:case 5:{s=D+13|0;do if(!(a[s>>0]|0)){q=D+60|0;g=c[q>>2]|0;g=kb[c[(c[g>>2]|0)+28>>2]&255](g,4)|0;if(!g){g=c[r>>2]|0;break}q=c[q>>2]|0;r=c[q>>2]|0;if(!r)break $;if(!(a[s>>0]|0))kb[c[r+32>>2]&255](q,1)|0;if((a[v>>0]|0)==5)break $;a[v>>0]=1;break $}while(0);a[v>>0]=4;break}default:{}}g=rg(g,cf,d[D+11>>0]|0,c[D+152>>2]|0,c[D+204>>2]|0)|0;c[r>>2]=0;if(!g)break;if(a[D+4>>0]|0)break $;q=c[D+60>>2]|0;r=c[q>>2]|0;if(!r)break $;if(!(a[D+13>>0]|0))kb[c[r+32>>2]&255](q,1)|0;if((a[v>>0]|0)==5)break $;a[v>>0]=1;break $}while(0);$n(D,p)|0}q=c[w>>2]|0;x=q+22|0;g=b[x>>1]|0;b[x>>1]=y?g&-33:g|32;g=nh(C,0)|0;ba:do if(!g){q=q+12|0;v=c[(c[q>>2]|0)+56>>2]|0;w=v+18|0;T=a[w>>0]|0;s=y?2:1;if(T<<24>>24==s<<24>>24?(a[v+19>>0]|0)==T<<24>>24:0){g=0;break}g=nh(C,2)|0;if(g|0)break;q=c[(c[q>>2]|0)+72>>2]|0;r=c[q+20>>2]|0;do if(!(b[q+28>>1]&4))U=2377;else{if((c[r+24>>2]|0)>>>0<(c[q+24>>2]|0)>>>0){U=2377;break}if(!(c[r+96>>2]|0))break;xc=Mg(q)|0;U=2381}while(0);do if((U|0)==2377){U=0;g=c[r+40>>2]|0;if(g|0)break ba;if((c[r+148>>2]|0)>>>0>(c[r+152>>2]|0)>>>0){xc=Ng(q)|0;U=2381;break}else{xc=Og(q)|0;U=2381;break}}while(0);if((U|0)==2381?(U=0,xc|0):0){g=xc;break}a[w>>0]=s;a[v+19>>0]=s;g=0}while(0);b[x>>1]=b[x>>1]&-33}}else p=E}while(0);q=(g|0)!=0;p=$n(D,q?E:p)|0;b[j+8>>1]=2562;if((p|0)==6){c[j+16>>2]=0;p=0}else{p=c[6160+(p<<2)>>2]|0;c[j+16>>2]=p;p=(As(p)|0)&1073741823}c[j+12>>2]=p;a[j+10>>0]=1;if(!Zb)Of(j,Uc)|0;if(q){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case 10:{j=c[Oe+4>>2]|0;if(!(a[vc>>0]|0)){U=2391;break c}if((c[yb>>2]|0)>1){U=2413;break c}H=c[fa>>2]|0;I=c[we>>2]|0;J=c[Xb>>2]|0;K=c[Yb>>2]|0;L=a[xe>>0]|0;c[we>>2]=I|6;c[fa>>2]=H&-21122|513;a[xe>>0]=0;F=c[Me>>2]|0;x=c[F+(j<<4)>>2]|0;F=c[F+(j<<4)+4>>2]|0;G=F+4|0;v=a[(c[c[G>>2]>>2]|0)+12>>0]|0;w=c[Le>>2]|0;g=ao(cf,Ee,36509)|0;ca:do if(!g){D=c[Me>>2]|0;E=D+(w<<4)|0;D=c[D+(w<<4)+4>>2]|0;y=D+4|0;c[(c[y>>2]|0)+4>>2]=c[D>>2];if(!(sh(D,0)|0))rh(D,0)|0;p=c[G>>2]|0;c[p+4>>2]=c[F>>2];p=(c[p+32>>2]|0)-(c[p+36>>2]|0)|0;g=c[(c[(c[Me>>2]|0)+(j<<4)+12>>2]|0)+80>>2]|0;j=c[y>>2]|0;c[j+4>>2]=c[D>>2];j=c[(c[j>>2]|0)+208>>2]|0;c[j+16>>2]=g;q=c[35]|0;r=c[j+44>>2]|0;if((g|0)<=-1){T=Lt(g|0,((g|0)<0)<<31>>31|0,-1024,-1)|0;g=(c[j+28>>2]|0)+(c[j+24>>2]|0)|0;g=Jt(T|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0}qb[q&255](r,g);j=c[G>>2]|0;c[j+4>>2]=c[F>>2];j=c[(c[j>>2]|0)+208>>2]|0;g=c[j+16>>2]|0;if((g|0)<=-1){T=Lt(g|0,((g|0)<0)<<31>>31|0,-1024,-1)|0;g=(c[j+28>>2]|0)+(c[j+24>>2]|0)|0;g=Jt(T|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0}s=c[j+20>>2]|0;g=(g|0)<(s|0)?s:g;s=c[y>>2]|0;q=c[D>>2]|0;r=s+4|0;c[r>>2]=q;s=c[s>>2]|0;j=c[s+208>>2]|0;if(g|0){if((g|0)<0){T=Lt(g|0,((g|0)<0)<<31>>31|0,-1024,-1)|0;g=(c[j+28>>2]|0)+(c[j+24>>2]|0)|0;g=Jt(T|0,z|0,g|0,((g|0)<0)<<31>>31|0)|0}c[j+20>>2]=g}c[r>>2]=q;a[s+7>>0]=1;g=s+20|0;c[s+8>>2]=0;a[g>>0]=a[g>>0]&-2;g=ao(cf,Ee,24755)|0;if(!g){g=nh(F,2)|0;if(!g){g=c[G>>2]|0;if((a[(c[g>>2]|0)+5>>0]|0)==5)c[zb>>2]=0;g=c[g+32>>2]|0;r=c[y>>2]|0;c[r+4>>2]=c[D>>2];if(!(b[r+22>>1]&2)){C=(p|0)<0;if(C)q=(c[r+32>>2]|0)-(c[r+36>>2]|0)|0;else q=p;do if((g+-512|0)>>>0<65025){if(g+-1&g|0)break;c[r+32>>2]=g;j=r+80|0;g=c[j>>2]|0;if(!g)break;g=g+-4|0;c[j>>2]=g;T=g;do if(!(T>>>0>=(c[11662]|0)>>>0&T>>>0<(c[11663]|0)>>>0)){T=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-T;if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{T=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else{c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;T=(c[11666]|0)+1|0;c[11666]=T;c[11667]=(T|0)<(c[11661]|0)&1}while(0);c[j>>2]=0}while(0);S=r+32|0;T=gg(c[r>>2]|0,S,q)|0;c[r+36>>2]=(c[S>>2]|0)-(q&65535);if(T|0){q=E;g=7;j=F;break}if(!(v<<24>>24)){g=c[zb>>2]|0;r=c[y>>2]|0;c[r+4>>2]=c[D>>2];if(b[r+22>>1]&2){q=E;g=7;j=F;break}if(C)q=(c[r+32>>2]|0)-(c[r+36>>2]|0)|0;else q=p;do if((g+-512|0)>>>0<65025){if(g+-1&g|0)break;c[r+32>>2]=g;j=r+80|0;g=c[j>>2]|0;if(!g)break;g=g+-4|0;c[j>>2]=g;T=g;do if(!(T>>>0>=(c[11662]|0)>>>0&T>>>0<(c[11663]|0)>>>0)){T=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-T;if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{T=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else{c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;T=(c[11666]|0)+1|0;c[11666]=T;c[11667]=(T|0)<(c[11661]|0)&1}while(0);c[j>>2]=0}while(0);S=r+32|0;T=gg(c[r>>2]|0,S,q)|0;c[r+36>>2]=(c[S>>2]|0)-(q&65535);if(T|0){q=E;g=7;j=F;break}}if(a[n>>0]|0){q=E;g=7;j=F;break}g=a[Ab>>0]|0;do if(g<<24>>24>-1)g=g<<24>>24;else{g=c[G>>2]|0;c[g+4>>2]=c[F>>2];if(!(a[g+17>>0]|0)){g=0;break}g=(a[g+18>>0]|0)==0?1:2}while(0);r=c[y>>2]|0;c[r+4>>2]=c[D>>2];j=g&255;q=(j|0)!=0;if(b[r+22>>1]&2){g=r+17|0;if((q&1|0)==(d[g>>0]|0))U=2485}else{g=r+17|0;U=2485}if((U|0)==2485){U=0;a[g>>0]=q&1;a[r+18>>0]=(j|0)==2&1}a[Bb>>0]=w;c[be>>2]=x;g=bo(cf,Ee,36530,be)|0;if(g|0){q=E;j=F;break}c[ce>>2]=x;g=bo(cf,Ee,36638,ce)|0;if(g|0){q=E;j=F;break}a[Bb>>0]=0;c[de>>2]=x;g=bo(cf,Ee,36711,de)|0;c[we>>2]=c[we>>2]&-5;if(g|0){q=E;j=F;break}c[ee>>2]=x;g=bo(cf,Ee,36862,ee)|0;if(!g)j=0;else{q=E;j=F;break}do{q=d[36992+j>>0]|0;r=c[G>>2]|0;c[r+4>>2]=c[F>>2];q=(q<<2)+36|0;r=(c[(c[r+12>>2]|0)+56>>2]|0)+q|0;r=(d[r+1>>0]<<16|d[r>>0]<<24|d[r+2>>0]<<8|d[r+3>>0])+(d[36992+(j|1)>>0]|0)|0;v=c[y>>2]|0;c[v+4>>2]=c[D>>2];v=c[v+12>>2]|0;s=c[v+56>>2]|0;v=c[v+72>>2]|0;w=c[v+20>>2]|0;do if(!(b[v+28>>1]&4))U=2494;else{if((c[w+24>>2]|0)>>>0<(c[v+24>>2]|0)>>>0){U=2494;break}if(!(c[w+96>>2]|0))break;yc=Mg(v)|0;U=2498}while(0);do if((U|0)==2494){U=0;g=c[w+40>>2]|0;if(g|0){q=E;j=F;break ca}if((c[w+148>>2]|0)>>>0>(c[w+152>>2]|0)>>>0){yc=Ng(v)|0;U=2498;break}else{yc=Og(v)|0;U=2498;break}}while(0);if((U|0)==2498?(U=0,yc|0):0){q=E;g=yc;j=F;break ca}T=s+q|0;a[T>>0]=r>>>24;a[T+1>>0]=r>>>16;a[T+2>>0]=r>>>8;a[T+3>>0]=r;j=j+2|0}while((j|0)<10);j=c[G>>2]|0;c[j+4>>2]=c[F>>2];g=c[D>>2]|0;q=c[y>>2]|0;c[q+4>>2]=g;j=c[(c[j>>2]|0)+60>>2]|0;r=c[j>>2]|0;do if(!r)U=2503;else{T=c[q+32>>2]|0;T=Lt(c[q+44>>2]|0,0,T|0,((T|0)<0)<<31>>31|0)|0;g=Yc;c[g>>2]=T;c[g+4>>2]=z;g=lb[c[r+40>>2]&255](j,11,Yc)|0;g=(g|0)==12?0:g;if(g|0)break;g=c[D>>2]|0;U=2503}while(0);do if((U|0)==2503){U=0;q=Nc;S=q+48|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));c[Cb>>2]=g;c[Db>>2]=D;c[Eb>>2]=F;c[Fb>>2]=1;mh(Nc,2147483647)|0;g=Jh(Nc)|0;if(g|0){j=c[c[(c[Eb>>2]|0)+4>>2]>>2]|0;if(a[j+12>>0]|0)break;jg(j);break}g=(c[G>>2]|0)+22|0;b[g>>1]=b[g>>1]&-3;c[(c[y>>2]|0)+4>>2]=c[D>>2];g=sh(D,0)|0;if(g|0){q=E;j=F;break ca}g=rh(D,0)|0;if(g|0){q=E;j=F;break ca}r=c[y>>2]|0;c[r+4>>2]=c[D>>2];if(!(a[r+17>>0]|0))j=0;else j=(a[r+18>>0]|0)==0?1:2;x=c[G>>2]|0;s=c[F>>2]|0;v=x+4|0;c[v>>2]=s;y=x+22|0;w=(b[y>>1]&2)==0;q=(j|0)!=0;do if(w)g=x+17|0;else{g=x+17|0;if((q&1|0)==(d[g>>0]|0))break;c[v>>2]=s;q=E;g=8;j=F;break ca}while(0);a[g>>0]=q&1;a[x+18>>0]=(j|0)==2&1;g=c[r+32>>2]|0;c[v>>2]=s;if(!w){q=E;g=8;j=F;break ca}if(C)p=(c[x+32>>2]|0)-(c[x+36>>2]|0)|0;do if((g+-512|0)>>>0<65025){if(g+-1&g|0)break;c[x+32>>2]=g;j=x+80|0;g=c[j>>2]|0;if(!g)break;g=g+-4|0;c[j>>2]=g;T=g;do if(!(T>>>0>=(c[11662]|0)>>>0&T>>>0<(c[11663]|0)>>>0)){T=jb[c[64>>2]&255](g)|0;c[11824]=(c[11824]|0)-T;if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{T=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else{c[11823]=(c[11823]|0)+-1;c[g>>2]=c[11665];c[11665]=g;T=(c[11666]|0)+1|0;c[11666]=T;c[11667]=(T|0)<(c[11661]|0)&1}while(0);c[j>>2]=0}while(0);q=x+32|0;g=gg(c[x>>2]|0,q,p)|0;c[x+36>>2]=(c[q>>2]|0)-(p&65535);b[y>>1]=b[y>>1]|2;q=E;j=F;break ca}while(0);q=E;j=F}else{q=E;g=7;j=F}}else{q=E;j=F}}else{q=E;j=F}}else{q=0;j=F}while(0);a[Bb>>0]=0;c[we>>2]=I&65535;c[fa>>2]=H;c[Xb>>2]=J;c[Yb>>2]=K;a[xe>>0]=L;p=c[G>>2]|0;c[p+4>>2]=c[j>>2];j=p+22|0;if(!(b[j>>1]&2)){R=p+32|0;T=p+36|0;S=(c[R>>2]|0)-(c[T>>2]|0)|0;gg(c[p>>2]|0,R,S)|0;c[T>>2]=(c[R>>2]|0)-(S&65535);b[j>>1]=b[j>>1]|2}a[vc>>0]=1;if(q|0){T=q+4|0;Nh(c[T>>2]|0);c[T>>2]=0;c[q+12>>2]=0}j=c[Le>>2]|0;da:do if((j|0)>0){q=c[Me>>2]|0;p=0;do{r=c[q+(p<<4)+4>>2]|0;if(r|0)c[(c[r+4>>2]|0)+4>>2]=c[r>>2];p=p+1|0}while((p|0)!=(j|0));p=0;while(1){q=c[q+(p<<4)+12>>2]|0;if(q){ph(q);j=c[Le>>2]|0}p=p+1|0;if((p|0)>=(j|0))break da;q=c[Me>>2]|0}}while(0);c[we>>2]=c[we>>2]&-2;p=c[Be>>2]|0;c[Be>>2]=0;if(p){j=c[Ae>>2]|0;if(j)do{T=j+145|0;S=d[T>>0]|d[T+1>>0]<<8|1;a[T>>0]=S;a[T+1>>0]=S>>8;j=c[j+8>>2]|0}while((j|0)!=0);do{q=p;p=c[p+24>>2]|0;r=c[q>>2]|0;S=q+12|0;T=(c[S>>2]|0)+-1|0;c[S>>2]=T;ea:do if(!T){j=c[q+8>>2]|0;if(j|0)jb[c[(c[j>>2]|0)+16>>2]&255](j)|0;do if(r|0){if(c[r+464>>2]|0){Lc(r,q);break ea}j=q;if(j>>>0<(c[r+296>>2]|0)>>>0)break;if(j>>>0>=(c[r+300>>2]|0)>>>0)break;T=r+292|0;c[q>>2]=c[T>>2];c[T>>2]=q;break ea}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](q);break}else{T=jb[c[64>>2]&255](q)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](q);break}}while(0)}while((p|0)!=0);j=c[Le>>2]|0}if((j|0)>2){s=2;j=2;do{p=c[Me>>2]|0;r=p+(s<<4)|0;if(!(c[p+(s<<4)+4>>2]|0)){p=c[r>>2]|0;fa:do if(p|0){if(c[He>>2]|0){Lc(cf,p);break}q=p;do if(q>>>0>=(c[Ie>>2]|0)>>>0){if(q>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break fa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[r>>2]=0}else{if((j|0)<(s|0)){T=p+(j<<4)|0;c[T>>2]=c[r>>2];c[T+4>>2]=c[r+4>>2];c[T+8>>2]=c[r+8>>2];c[T+12>>2]=c[r+12>>2]}j=j+1|0}s=s+1|0}while((s|0)<(c[Le>>2]|0));c[Le>>2]=j;if((j|0)<3)U=2576}else{c[Le>>2]=2;U=2576}if((U|0)==2576?(U=0,Gd=c[Me>>2]|0,(Gd|0)!=(Fe|0)):0){c[Fe>>2]=c[Gd>>2];c[Fe+4>>2]=c[Gd+4>>2];c[Fe+8>>2]=c[Gd+8>>2];c[Fe+12>>2]=c[Gd+12>>2];c[Fe+16>>2]=c[Gd+16>>2];c[Fe+20>>2]=c[Gd+20>>2];c[Fe+24>>2]=c[Gd+24>>2];c[Fe+28>>2]=c[Gd+28>>2];ga:do if(Gd|0){if(c[He>>2]|0){Lc(cf,Gd);break}j=Gd;do if(j>>>0>=(c[Ie>>2]|0)>>>0){if(j>>>0>=(c[Je>>2]|0)>>>0)break;c[Gd>>2]=c[Ke>>2];c[Ke>>2]=Gd;break ga}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](Gd);break}else{T=jb[c[64>>2]&255](Gd)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](Gd);break}}while(0);c[Me>>2]=Fe}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 60:{T=c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0;w=c[T+4>>2]|0;c[w+4>>2]=c[T>>2];if(a[w+17>>0]|0){x=w+44|0;v=c[x>>2]|0;y=w+12|0;s=c[(c[y>>2]|0)+56>>2]|0;s=d[s+37>>0]<<16|d[s+36>>0]<<24|d[s+38>>0]<<8|d[s+39>>0];j=((c[w+36>>2]|0)>>>0)/5|0;if(v>>>0<2){g=0;r=j+1|0;p=c[w+32>>2]|0;q=1073741824}else{r=j+1|0;g=v+-2|0;g=g-((g>>>0)%(r>>>0)|0)|0;p=c[w+32>>2]|0;g=((g+1|0)==(1073741824/(p>>>0)|0|0)?3:2)+g|0;q=1073741824}T=v-s-(((j-v+s+g|0)>>>0)/(j>>>0)|0)|0;j=(q>>>0)/(p>>>0)|0;p=j+1|0;q=((p>>>0>>0&T>>>0

    >>0)<<31>>31)+T|0;while(1){if(q>>>0<2)g=0;else{g=q+-2|0;g=g-((g>>>0)%(r>>>0)|0)|0;g=((g+1|0)==(j|0)?3:2)+g|0}if((q|0)==(p|0)|(g|0)==(q|0))q=q+-1|0;else break}if(v>>>0>>0){U=2597;break c}if(s){j=w+8|0;g=c[j>>2]|0;if(g){g=th(g,0,0)|0;if(!g){g=c[j>>2]|0;if(!g)U=2603;else{do{U=g+1|0;a[U>>0]=a[U>>0]&-5;g=c[g+16>>2]|0}while((g|0)!=0);U=2603}}}else U=2603;if((U|0)==2603){U=0;g=uh(w,q,v,0)|0;if(!g){j=c[(c[y>>2]|0)+72>>2]|0;p=c[j+20>>2]|0;if((b[j+28>>1]&4)!=0?(c[p+24>>2]|0)>>>0>=(c[j+24>>2]|0)>>>0:0)if(!(c[p+96>>2]|0))g=0;else g=Mg(j)|0;else U=2608;do if((U|0)==2608){U=0;g=c[p+40>>2]|0;if(!g)if((c[p+148>>2]|0)>>>0>(c[p+152>>2]|0)>>>0){g=Ng(j)|0;break}else{g=Og(j)|0;break}}while(0);T=c[(c[y>>2]|0)+56>>2]|0;S=c[x>>2]|0;a[T+28>>0]=S>>>24;a[T+29>>0]=S>>>16;a[T+30>>0]=S>>>8;a[T+31>>0]=S}}switch(g|0){case 101:{g=0;U=26;break}case 0:{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}default:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}}else{g=0;U=26}}else{g=0;U=26}break}case -105:{if(c[Oe+4>>2]|0){y=d[Ce>>0]|d[Ce+1>>0]<<8|1;a[Ce>>0]=y;a[Ce+1>>0]=y>>8;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}j=c[Ae>>2]|0;if(!j){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{do{T=j+145|0;S=d[T>>0]|d[T+1>>0]<<8|1;a[T>>0]=S;a[T+1>>0]=S>>8;j=c[j+8>>2]|0}while((j|0)!=0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -104:{j=c[Oe+12>>2]|0;if((j&255|0)==0?c[fa>>2]&1024|0:0){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}s=c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0;v=c[Oe+8>>2]|0;if(a[s+9>>0]|0){w=j+1&255;p=c[s+4>>2]|0;c[p+4>>2]=c[s>>2];if((c[p+76>>2]|0)!=(s|0)?b[p+22>>1]&64:0){U=2648;break c}r=p+72|0;g=c[r>>2]|0;ha:do if(!g)U=2633;else{j=g;do{if(((c[j>>2]|0)!=(s|0)?(c[j+4>>2]|0)==(v|0):0)?(a[j+8>>0]|0)!=w<<24>>24:0){U=2627;break c}j=c[j+12>>2]|0}while((j|0)!=0);while(1){if((c[g+4>>2]|0)==(v|0)?(c[g>>2]|0)==(s|0):0)break ha;g=c[g+12>>2]|0;if(!g){U=2633;break}}}while(0);if((U|0)==2633){U=0;if(!(c[2]|0)){g=jb[c[52>>2]&255](16)|0;if(!g){r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}else U=2643}else{g=jb[c[68>>2]&255](16)|0;if((c[11829]|0)>>>0<16)c[11829]=16;p=46456;j=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&j>>>0>0){S=c[11822]|0;T=Gt(j|0,p|0,g|0,((g|0)<0)<<31>>31|0)|0;R=z;c[11616]=(0>(R|0)|0==(R|0)&S>>>0>=T>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}j=jb[c[64>>2]&255](g)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0>(c[11831]|0)>>>0){c[11831]=j;q=g;S=q+16|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0))}else U=2643}if((U|0)==2643){U=0;q=g;S=q+16|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0))}c[g+4>>2]=v;c[g>>2]=s;c[g+12>>2]=c[r>>2];c[r>>2]=g}g=g+8|0;if((d[g>>0]|0)<(w&255)){a[g>>0]=w;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}break}case -103:{x=c[Oe+16>>2]|0;s=c[ba>>2]|0;q=(s|0)>0;if(q?(c[jc>>2]|0)==0:0){g=6;U=2664}else U=2651;ia:do if((U|0)==2651){U=0;if(!x){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break d}j=x+8|0;g=c[j>>2]|0;w=c[g>>2]|0;v=w+56|0;p=c[v>>2]|0;if(p){if(q){r=c[jc>>2]|0;q=0;do{if((c[r+(q<<2)>>2]|0)==(x|0)){g=0;U=2664;break ia}q=q+1|0}while((q|0)<(s|0))}if(!((s|0)%5|0)){g=(s<<2)+20|0;g=Mc(cf,c[jc>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!g){g=7;U=2664;break}p=g+(c[ba>>2]<<2)|0;c[p>>2]=0;c[p+4>>2]=0;c[p+8>>2]=0;c[p+12>>2]=0;c[p+16>>2]=0;c[jc>>2]=g;p=c[v>>2]|0;g=c[j>>2]|0}g=jb[p&255](g)|0;if(!g){g=(c[Bd>>2]|0)+(c[Ad>>2]|0)|0;T=c[jc>>2]|0;U=c[ba>>2]|0;c[ba>>2]=U+1;c[T+(U<<2)>>2]=x;U=x+12|0;c[U>>2]=(c[U>>2]|0)+1;if((g|0)!=0?(Pc=c[w+80>>2]|0,(Pc|0)!=0):0){c[x+20>>2]=g;g=kb[Pc&255](c[j>>2]|0,g+-1|0)|0;U=2666}else{g=0;U=2666}}else U=2664}else{g=0;U=2666}}while(0);if((U|0)==2664){U=0;if(x){j=x+8|0;U=2666}}if((U|0)==2666){U=0;q=(c[j>>2]|0)+8|0;if(c[q>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;do if(p|0){if(j|0){if(c[j+464>>2]|0){Lc(j,p);break}T=p;if(T>>>0>=(c[j+296>>2]|0)>>>0?T>>>0<(c[j+300>>2]|0)>>>0:0){T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[q>>2]|0)|0;j=c[q>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[q>>2]=0}}if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -102:{q=Nc;S=q+40|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));c[Gb>>2]=cf;T=c[Oe+8>>2]|0;g=V+(T*40|0)|0;c[Nc>>2]=c[g>>2];c[Nc+4>>2]=c[g+4>>2];c[Nc+8>>2]=c[g+8>>2];c[Nc+12>>2]=c[g+12>>2];c[Nc+16>>2]=c[g+16>>2];g=b[Hb>>1]&-1025;b[Hb>>1]=g;g=g&65535;do if((g&18|0)!=0?(b[V+(T*40|0)+8>>1]&2048)==0:0){b[Hb>>1]=g|4096;if(g&16384){T=(c[Nc>>2]|0)+(c[Nb>>2]|0)|0;if(_e(Nc,(T|0)>1?T:1,1)|0){g=7;break}Vt((c[Jb>>2]|0)+(c[Nb>>2]|0)|0,0,c[Nc>>2]|0)|0;c[Nb>>2]=(c[Nb>>2]|0)+(c[Nc>>2]|0);g=b[Hb>>1]&-16897;b[Hb>>1]=g;if(!((c[Lb>>2]|0)!=0?(c[Jb>>2]|0)==(c[Mb>>2]|0):0))U=2689}else U=2689;if((U|0)==2689){U=0;g=bf(Nc)|0;if(g|0)break;g=b[Hb>>1]|0}b[Hb>>1]=g&-4097;g=0}else g=0;while(0);j=e[Hb>>1]|0;if(!((a[Ib>>0]|0)==1&(j&514|0)==514)){if(!(j&1)){j=Jc(Nc,1)|0;U=2696}}else{j=c[Jb>>2]|0;U=2696}ja:do if((U|0)==2696){U=0;if(j){p=jj(cf,j,c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)>>2]|0)|0;g=c[c[p+60>>2]>>2]|0;j=c[($f(Kb,g,0)|0)+8>>2]|0;if((j|0?(Qc=c[j>>2]|0,Rc=c[Qc+4>>2]|0,Rc|0):0)?c[Qc+20>>2]|0:0){g=Jj(cf,p,j,Rc,Ee)|0;if(g|0)break;p=p+64|0;g=c[p>>2]|0;if(!g){g=0;break}else j=g;while(1){if((c[j>>2]|0)==(cf|0))break;j=c[j+24>>2]|0;if(!j){g=0;break ja}}j=c[ba>>2]|0;if(!((j|0)%5|0)){g=(j<<2)+20|0;g=Mc(cf,c[jc>>2]|0,g,((g|0)<0)<<31>>31)|0;if(!g){g=7;break}T=g+(c[ba>>2]<<2)|0;c[T>>2]=0;c[T+4>>2]=0;c[T+8>>2]=0;c[T+12>>2]=0;c[T+16>>2]=0;c[jc>>2]=g;g=c[p>>2]|0}ka:do if(!g)g=0;else while(1){if((c[g>>2]|0)==(cf|0))break ka;g=c[g+24>>2]|0;if(!g){g=0;break}}while(0);S=c[jc>>2]|0;T=c[ba>>2]|0;c[ba>>2]=T+1;c[S+(T<<2)>>2]=g;g=g+12|0;c[g>>2]=(c[g>>2]|0)+1;g=0;break}c[Id>>2]=g;c[Ee>>2]=Ff(cf,27483,Id)|0;g=1}}while(0);if(!((b[Hb>>1]&9312)==0&(c[Lb>>2]|0)==0))af(Nc);if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case -101:{c[nc>>2]=(c[nc>>2]|0)+1;g=jj(cf,c[Oe+16>>2]|0,c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)>>2]|0)|0;do if(g|0?(Sc=g+64|0,Tc=c[Sc>>2]|0,Tc|0):0){g=Tc;do{if((c[(c[g+8>>2]|0)+4>>2]|0)>0){g=6;U=2736;break c}g=c[g+24>>2]|0}while((g|0)!=0);c[Sc>>2]=0;p=0;g=Tc;la:while(1){while(1){j=c[g>>2]|0;q=g+24|0;r=c[q>>2]|0;if((j|0)==(cf|0))break;T=j+352|0;c[q>>2]=c[T>>2];c[T>>2]=g;if(!r)break la;else g=r}c[Sc>>2]=g;c[q>>2]=0;if(!r){p=g;break}else{p=g;g=r}}j=p+8|0;g=jb[c[(c[c[p+4>>2]>>2]|0)+20>>2]&255](c[j>>2]|0)|0;if(g|0){U=2736;break c}c[j>>2]=0;c[Sc>>2]=0;g=c[p>>2]|0;S=p+12|0;T=(c[S>>2]|0)+-1|0;c[S>>2]=T;if(!T){if(g|0){if(c[g+464>>2]|0){Lc(g,p);break}T=p;if(T>>>0>=(c[g+296>>2]|0)>>>0?T>>>0<(c[g+300>>2]|0)>>>0:0){T=g+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}}while(0);c[nc>>2]=(c[nc>>2]|0)+-1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case -100:{c[Nc>>2]=0;r=c[(c[Oe+16>>2]|0)+8>>2]|0;if(!r){g=6;U=2767;break c}s=c[r>>2]|0;if(!s){g=6;U=2767;break c}g=kb[c[s+24>>2]&255](r,Nc)|0;q=r+8|0;if(c[q>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;do if(p|0){if(j|0){if(c[j+464>>2]|0){Lc(j,p);break}T=p;if(T>>>0>=(c[j+296>>2]|0)>>>0?T>>>0<(c[j+300>>2]|0)>>>0:0){T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[q>>2]|0)|0;j=c[q>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[q>>2]=0}if(g|0){U=2767;break c}c[c[Nc>>2]>>2]=r;p=c[Oe+4>>2]|0;g=c[Vc>>2]|0;if((p|0)>0)g=g+(((c[ga>>2]|0)-p|0)*40|0)|0;j=c[(c[dc>>2]|0)+(p<<2)>>2]|0;if(j|0){Xh(f,j);c[(c[dc>>2]|0)+(p<<2)>>2]=0}if((c[g+24>>2]|0)<96){if(_e(g,96,0)|0){U=2763;break c}j=c[g+16>>2]|0}else{j=c[g+20>>2]|0;c[g+16>>2]=j;T=g+8|0;b[T>>1]=b[T>>1]&13}c[(c[dc>>2]|0)+(p<<2)>>2]=j;q=j;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[j>>0]=2;a[j+1>>0]=-1;b[j+56>>1]=0;c[j+72>>2]=j+88;g=c[Nc>>2]|0;if(!j){U=2768;break c}c[j+40>>2]=g;y=r+4|0;c[y>>2]=(c[y>>2]|0)+1;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}case 11:{q=V+((c[Oe+12>>2]|0)*40|0)|0;j=q+40|0;v=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;w=c[v+40>>2]|0;s=c[w>>2]|0;x=c[s>>2]|0;p=c[j>>2]|0;q=c[q>>2]|0;r=c[Ob>>2]|0;if((p|0)>0){g=0;do{T=g;g=g+1|0;c[r+(T<<2)>>2]=j+(g*40|0)}while((g|0)!=(p|0))}g=nb[c[x+32>>2]&255](w,q,c[Oe+16>>2]|0,p,r)|0;q=s+8|0;if(c[q>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;do if(p|0){if(j|0){if(c[j+464>>2]|0){Lc(j,p);break}T=p;if(T>>>0>=(c[j+296>>2]|0)>>>0?T>>>0<(c[j+300>>2]|0)>>>0:0){T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[q>>2]|0)|0;j=c[q>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[q>>2]=0}if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}T=jb[c[x+40>>2]&255](w)|0;a[v+2>>0]=0;if(!T){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{g=0;U=26}break}case -99:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;s=c[Oe+12>>2]|0;v=V+(s*40|0)|0;if(a[j+2>>0]|0){j=V+(s*40|0)+8|0;if(!(b[j>>1]&9312))b[j>>1]=1;else Ye(v);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break d}p=c[j+40>>2]|0;q=c[p>>2]|0;T=c[q>>2]|0;c[Rb>>2]=0;c[Rb+4>>2]=0;c[Rb+8>>2]=0;c[Rb+12>>2]=0;c[Rb+16>>2]=0;c[Rb+20>>2]=0;c[Rb+24>>2]=0;c[Nc>>2]=v;r=V+(s*40|0)+8|0;b[r>>1]=b[r>>1]&15872|1;p=lb[c[T+44>>2]&255](p,Nc,c[Oe+8>>2]|0)|0;q=q+8|0;if(c[q>>2]|0){g=c[f>>2]|0;j=c[Ee>>2]|0;do if(j|0){if(g|0){if(c[g+464>>2]|0){Lc(g,j);break}T=j;if(T>>>0>=(c[g+296>>2]|0)>>>0?T>>>0<(c[g+300>>2]|0)>>>0:0){T=g+292|0;c[j>>2]=c[T>>2];c[T>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);c[Ee>>2]=kg(g,c[q>>2]|0)|0;g=c[q>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{T=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);c[q>>2]=0}g=c[Pb>>2]|0;g=(g|0)==0?p:g;j=b[r>>1]|0;if((j&2)!=0?(a[V+(s*40|0)+10>>0]|0)!=Uc<<24>>24:0){Of(v,Uc)|0;j=b[r>>1]|0}p=j&65535;if(p&18){j=c[V+(s*40|0)+12>>2]|0;if(p&16384)j=(c[v>>2]|0)+j|0;if((j|0)>(c[(c[V+(s*40|0)+32>>2]|0)+100>>2]|0)){U=2817;break c}else j=(g|0)==0?7:10}else j=(g|0)==0?7:10;switch(j&15){case 10:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 7:{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}default:{g=0;U=3033;break c}}break}case 61:{j=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;if(!(a[j+2>>0]|0)){q=j+40|0;g=c[q>>2]|0;s=c[g>>2]|0;r=c[s>>2]|0;g=jb[c[r+36>>2]&255](g)|0;s=s+8|0;if(c[s>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;do if(p|0){if(j|0){if(c[j+464>>2]|0){Lc(j,p);break}U=p;if(U>>>0>=(c[j+296>>2]|0)>>>0?U>>>0<(c[j+300>>2]|0)>>>0:0){U=j+292|0;c[p>>2]=c[U>>2];c[U>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{U=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[s>>2]|0)|0;j=c[s>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{U=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[s>>2]=0}if(g|0){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}if(!(jb[c[r+40>>2]&255](c[q>>2]|0)|0)){g=0;U=20}else{p=Oe;g=0;U=21}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}break}case -98:{p=c[(c[Oe+16>>2]|0)+8>>2]|0;g=c[Oe+4>>2]|0;j=V+(g*40|0)|0;if((b[V+(g*40|0)+8>>1]&2?(a[V+(g*40|0)+10>>0]|0)!=1:0)?(le=Of(j,1)|0,le|0):0){r=Qe;q=Pe;g=le;p=Oe;j=n;U=3e3;break a}g=kb[c[(c[p>>2]|0)+76>>2]&255](p,c[V+(g*40|0)+16>>2]|0)|0;q=p+8|0;if(c[q>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;do if(p|0){if(j|0){if(c[j+464>>2]|0){Lc(j,p);break}T=p;if(T>>>0>=(c[j+296>>2]|0)>>>0?T>>>0<(c[j+300>>2]|0)>>>0:0){T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break}}if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[q>>2]|0)|0;j=c[q>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[q>>2]=0}T=(d[Ce>>0]|d[Ce+1>>0]<<8)&-2;a[Ce>>0]=T;a[Ce+1>>0]=T>>8;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}break}case 12:{x=Oe+16|0;v=c[(c[x>>2]|0)+8>>2]|0;if(!v){U=2893;break c}j=c[v>>2]|0;if(!j){U=2893;break c}s=c[Oe+8>>2]|0;p=j+52|0;j=c[p>>2]|0;ma:do if(j){r=a[Qb>>0]|0;q=c[Ob>>2]|0;if((s|0)>0){g=V+((c[Oe+12>>2]|0)*40|0)|0;j=0;while(1){c[q+(j<<2)>>2]=g;j=j+1|0;if((j|0)==(s|0))break;else g=g+40|0}g=c[p>>2]|0}else g=j;w=Oe+2|0;a[Qb>>0]=b[w>>1];g=mb[g&255](v,s,q,Nc)|0;a[Qb>>0]=r;r=v+8|0;if(c[r>>2]|0){j=c[f>>2]|0;p=c[Ee>>2]|0;na:do if(p|0){do if(j|0){if(c[j+464>>2]|0){Lc(j,p);break na}q=p;if(q>>>0<(c[j+296>>2]|0)>>>0)break;if(q>>>0>=(c[j+300>>2]|0)>>>0)break;T=j+292|0;c[p>>2]=c[T>>2];c[T>>2]=p;break na}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{T=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}while(0);c[Ee>>2]=kg(j,c[r>>2]|0)|0;j=c[r>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{T=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-T;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[r>>2]=0}p=(g|0)==0;if(p)if(!(c[Oe+4>>2]|0))U=2890;else{S=Nc;T=c[S+4>>2]|0;U=ua;c[U>>2]=c[S>>2];c[U+4>>2]=T;U=2890}else if((g&255|0)==19?(a[(c[x>>2]|0)+16>>0]|0)!=0:0){j=b[w>>1]|0;switch(j<<16>>16){case 4:{g=0;break ma}case 5:{j=2;break}default:j=j&65535}a[Xc>>0]=j}else U=2890;if((U|0)==2890){U=0;c[Wb>>2]=(c[Wb>>2]|0)+1}if(p)g=0;else{U=2894;break c}}while(0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -97:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;y=j;c[y>>2]=c[(c[(c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0)+4>>2]|0)+44>>2];c[y+4>>2]=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -96:{T=c[Vc>>2]|0;p=c[Oe+8>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;r=c[(c[Me>>2]|0)+(c[Oe+4>>2]<<4)+4>>2]|0;p=c[Oe+12>>2]|0;q=c[r+4>>2]|0;if(!p)p=0;else{T=c[q+44>>2]|0;p=T>>>0

    >>0?p:T}c[q+4>>2]=c[r>>2];q=(c[q>>2]|0)+156|0;if((p|0)>0)c[q>>2]=p;else p=c[q>>2]|0;y=j;c[y>>2]=p;c[y+4>>2]=((p|0)<0)<<31>>31;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;break}case -94:case -95:{q=b[Oe+2>>1]|0;p=((q&65535)<<2)+28|0;do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=2916;else{o=Oe;g=Qe;j=Pe;U=3026;break a}else{if(!(0<0|(0==0?(e[uc>>1]|0)>>>0

    >>0:0))){j=c[Ke>>2]|0;if(j|0){c[Ke>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;break}j=c[re>>2]|0;if(!j)j=2;else{c[re>>2]=c[j>>2];c[se>>2]=(c[se>>2]|0)+1;break}}else j=1;U=cf+276+(j<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2916}while(0);if((U|0)==2916)j=Ec(cf,p,0)|0;if(!j){o=Oe;g=Qe;j=Pe;U=3026;break a}c[j>>2]=0;U=Oe+16|0;c[j+4>>2]=c[U>>2];c[j+16>>2]=(Oe-Qe|0)/20|0;c[j+12>>2]=f;a[j+26>>0]=q;a[Oe+1>>0]=-16;c[U>>2]=j;a[Oe>>0]=(d[Oe>>0]|0)+2;U=2919;break}case -92:case -93:{U=2919;break}default:{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}}while(0);oa:do if((U|0)==32){U=0;p=Oe+4|0;j=c[p>>2]|0;if(j|0){g=j;U=36;break c}j=c[Ub>>2]|0;if(!j){g=0;U=36;break c}c[Ub>>2]=c[j+4>>2];c[Vb>>2]=(c[Vb>>2]|0)+-1;p=c[Wb>>2]|0;c[Xb>>2]=p;c[Yb>>2]=(c[Yb>>2]|0)+p;j=Wh(j)|0;p=c[vd>>2]|0;if((c[Oe+8>>2]|0)==4)j=(c[p+(j*20|0)+8>>2]|0)+-1|0;y=X;x=p;r=Pe;s=c[Vc>>2]|0;q=W;p=p+(j*20|0)|0}else if((U|0)==80){U=0;T=c[Vc>>2]|0;p=c[j>>2]|0;j=T+(p*40|0)|0;p=T+(p*40|0)+8|0;if(!(b[p>>1]&9312))b[p>>1]=4;else An(j)|0;p=j+8|0;b[p>>1]=2562;c[j+16>>2]=c[Oe+16>>2];c[j+12>>2]=c[Oe+4>>2];a[j+10>>0]=Uc;j=c[Oe+12>>2]|0;if((j|0)>0?(T=V+(j*40|0)|0,(c[T+4>>2]|0)==0?(c[T>>2]|0)==(e[Oe+2>>1]|0):0):0){b[p>>1]=2576;y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}}else if((U|0)==956){if((d[Ce>>0]|d[Ce+1>>0]<<8)&1){r=Qe;q=Pe;g=516;p=Oe;j=n;U=3e3;break a}w=c[Oe+8>>2]|0;D=c[Oe+12>>2]|0;g=c[Me>>2]|0;F=c[g+(D<<4)+4>>2]|0;p=Oe+2|0;q=b[p>>1]|0;if(E<<24>>24==105){j=(q&8|4)&65535;g=a[(c[g+(D<<4)+12>>2]|0)+76>>0]|0;if((g&255)<(d[ic>>0]|0)){a[ic>>0]=g;E=j}else E=j}else E=0;if(q&16){s=V+(w*40|0)|0;v=V+(w*40|0)+8|0;r=b[v>>1]|0;g=r&65535;do if(!(g&4)){if(g&8|0){j=Gc(+h[s>>3])|0;q=z;g=r;break}if(!(g&18)){j=0;q=0;g=r}else{j=Hc(a[V+(w*40|0)+10>>0]|0,c[V+(w*40|0)+12>>2]|0,c[V+(w*40|0)+16>>2]|0)|0;q=z;g=b[v>>1]|0}}else{q=s;j=c[q>>2]|0;q=c[q+4>>2]|0;g=r}while(0);w=s;c[w>>2]=j;c[w+4>>2]=q;b[v>>1]=g&15872|4;w=j}C=Oe+1|0;switch(a[C>>0]|0){case -9:{y=c[Oe+16>>2]|0;x=e[y+8>>1]|0;break}case -3:{x=c[Oe+16>>2]|0;y=0;break}default:{x=0;y=0}}r=c[Oe+4>>2]|0;g=c[Vc>>2]|0;if((r|0)>0)g=g+(((c[ga>>2]|0)-r|0)*40|0)|0;j=x<<3;v=j+96|0;j=j+296|0;q=c[(c[dc>>2]|0)+(r<<2)>>2]|0;if(q|0){Xh(f,q);c[(c[dc>>2]|0)+(r<<2)>>2]=0}if((c[g+24>>2]|0)<(j|0)){if(_e(g,j,0)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}j=g+16|0;s=j;j=c[j>>2]|0}else{j=c[g+20>>2]|0;s=g+16|0;c[s>>2]=j;U=g+8|0;b[U>>1]=b[U>>1]&13}c[(c[dc>>2]|0)+(r<<2)>>2]=j;g=D&255;r=j+1|0;q=j;S=q+36|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));a[r>>0]=g;b[j+56>>1]=x;c[j+72>>2]=j+88+(x<<2);q=(c[s>>2]|0)+v|0;g=j+40|0;c[g>>2]=q;S=q+68|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));if(!j){o=Oe;g=Qe;j=Pe;U=3026;break a}a[j+2>>0]=1;U=j+5|0;a[U>>0]=a[U>>0]|4;c[j+52>>2]=w;g=Hn(F,w,E,y,c[g>>2]|0)|0;c[j+44>>2]=y;a[j+4>>0]=(a[C>>0]|0)!=-9&1;U=981}else if((U|0)==1145){U=0;R=c[g>>2]|0;S=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;g=c[S+40>>2]|0;c[rd>>2]=0;R=V+(R*40|0)|0;Q=c[R>>2]|0;R=c[R+4>>2]|0;g=Qm(g,0,Q,R,0,rd)|0;T=S+64|0;c[T>>2]=Q;c[T+4>>2]=R;a[S+2>>0]=0;c[S+28>>2]=0;a[S+3>>0]=0;T=c[rd>>2]|0;c[S+32>>2]=T;if(!T)if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0;break}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else if(!(c[Oe+8>>2]|0)){U=1147;break c}else{U=26;break}}else if((U|0)==1326){U=0;T=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;c[gd>>2]=1;do if((a[T>>0]|0)==1){Q=c[T+40>>2]|0;if(!(a[Q+56>>0]|0)){g=Q+36|0;if(!(c[g>>2]|0)){a[T+2>>0]=1;g=0;U=26;break oa}else{c[gd>>2]=0;g=Nn(Q+64|0,g)|0;break}}g=On(Q)|0;if(g|0){U=1477;break c}M=Q+59|0;pa:do if(a[M>>0]|0){L=0;R=0;while(1){I=Q+64+(L*72|0)|0;c[Nc>>2]=0;J=Q+64+(L*72|0)+28|0;g=c[J>>2]|0;j=((g|0)<0)<<31>>31;if((g|0)>16){H=0;p=16;q=0;while(1){p=Rt(p|0,q|0,4)|0;q=z;K=H+1|0;if(!((q|0)<(j|0)|(q|0)==(j|0)&p>>>0>>0))break;else H=K}S=Yc;c[S>>2]=0;c[S+4>>2]=0;if((g|0)>=17){g=c[67]|0;if((g|0)!=0?(jb[g&255](100)|0)!=0:0)g=0;else U=1340;qa:do if((U|0)==1340){U=0;do if(!(c[2]|0)){g=jb[c[52>>2]&255](976)|0;if(!g){g=0;break qa}}else{g=jb[c[68>>2]&255](976)|0;if((c[11829]|0)>>>0<976)c[11829]=976;p=46456;j=c[p>>2]|0;p=c[p+4>>2]|0;if((p|0)>0|(p|0)==0&j>>>0>0){G=c[11822]|0;S=Gt(j|0,p|0,g|0,((g|0)<0)<<31>>31|0)|0;F=z;c[11616]=(0>(F|0)|0==(F|0)&G>>>0>=S>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){g=0;break qa}j=jb[c[64>>2]&255](g)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0)break;c[11831]=j}while(0);S=g+16|0;Vt(S|0,0,960)|0;c[g>>2]=16;c[g+4>>2]=0;c[g+12>>2]=S;c[g+8>>2]=g+912}while(0);c[Nc>>2]=g;S=(g|0)==0;g=S?7:0;j=c[J>>2]|0;if((j|0)>0&(S^1)){E=Q+64+(L*72|0)+8|0;F=Q+64+(L*72|0)+64|0;G=(H|0)>0;p=0;D=0;do{c[dd>>2]=0;g=j-D|0;g=Pn(I,(g|0)<16?g:16,Yc,dd)|0;do if(!g){C=p+1|0;w=c[Nc>>2]|0;v=c[dd>>2]|0;g=c[67]|0;if((g|0)!=0?(jb[g&255](100)|0)!=0:0)U=1370;else U=1357;ra:do if((U|0)==1357){U=0;do if(!(c[2]|0)){g=jb[c[52>>2]&255](64)|0;if(!g){U=1370;break ra}else U=1367}else{g=jb[c[68>>2]&255](64)|0;if((c[11829]|0)>>>0<64)c[11829]=64;q=46456;j=c[q>>2]|0;q=c[q+4>>2]|0;if((q|0)>0|(q|0)==0&j>>>0>0){y=c[11822]|0;S=Gt(j|0,q|0,g|0,((g|0)<0)<<31>>31|0)|0;x=z;c[11616]=(0>(x|0)|0==(x|0)&y>>>0>=S>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){U=1370;break ra}j=jb[c[64>>2]&255](g)|0;j=(c[11822]|0)+j|0;c[11822]=j;if(j>>>0>(c[11826]|0)>>>0)c[11826]=j;j=(c[11825]|0)+1|0;c[11825]=j;if(j>>>0<=(c[11831]|0)>>>0){U=1367;break}c[11831]=j;q=g;S=q+64|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0));j=g}while(0);if((U|0)==1367){U=0;q=g;S=q+64|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0));j=g}c[j+4>>2]=v;c[j>>2]=I;g=c[E>>2]|0;S=(c[g+8>>2]|0)+9|0;g=(c[g+4>>2]|0)/2|0;g=(S|0)>(g|0)?S:g;c[j+16>>2]=g;S=F;S=Ft(g|0,((g|0)<0)<<31>>31|0,c[S>>2]|0,c[S+4>>2]|0)|0;g=F;c[g>>2]=S;c[g+4>>2]=z;g=0}while(0);do if((U|0)==1370){U=0;if(!v){g=7;j=0;break}if((c[v>>2]|0)>0){s=v+12|0;r=0;do{j=c[s>>2]|0;q=j+(r*56|0)|0;g=c[j+(r*56|0)+28>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{S=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);g=c[j+(r*56|0)+36>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{S=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-S;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);$h(c[j+(r*56|0)+48>>2]|0);S=q+56|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));r=r+1|0}while((r|0)<(c[v>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](v);g=7;j=0;break}else{g=jb[c[64>>2]&255](v)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](v);g=7;j=0;break}}while(0);sa:do if(G){r=1;q=1;do{r=r<<4;q=q+1|0}while((q|0)!=(K|0));if(!g){g=w;y=1}else{U=1436;break}ta:while(1){x=(c[g+12>>2]|0)+((((p|0)/(r|0)|0|0)%16|0)*56|0)+48|0;g=c[x>>2]|0;if(!g){g=c[67]|0;if(g|0?jb[g&255](100)|0:0){g=7;U=1436;break sa}do if(!(c[2]|0)){g=jb[c[52>>2]&255](976)|0;if(!g){g=7;U=1436;break sa}else w=g}else{g=jb[c[68>>2]&255](976)|0;if((c[11829]|0)>>>0<976)c[11829]=976;s=46456;q=c[s>>2]|0;s=c[s+4>>2]|0;if((s|0)>0|(s|0)==0&q>>>0>0){w=c[11822]|0;S=Gt(q|0,s|0,g|0,((g|0)<0)<<31>>31|0)|0;v=z;c[11616]=(0>(v|0)|0==(v|0)&w>>>0>=S>>>0)&1}q=jb[c[52>>2]&255](g)|0;if(!q){g=7;U=1436;break sa}g=jb[c[64>>2]&255](q)|0;g=(c[11822]|0)+g|0;c[11822]=g;if(g>>>0>(c[11826]|0)>>>0)c[11826]=g;g=(c[11825]|0)+1|0;c[11825]=g;if(g>>>0<=(c[11831]|0)>>>0){w=q;break}c[11831]=g;w=q}while(0);g=w+16|0;Vt(g|0,0,960)|0;v=w+12|0;c[w>>2]=16;c[w+4>>2]=0;c[v>>2]=g;c[w+8>>2]=w+912;g=c[67]|0;if(g|0?jb[g&255](100)|0:0){U=1405;break}do if(!(c[2]|0)){g=jb[c[52>>2]&255](64)|0;if(!g){U=1416;break ta}else U=1417}else{g=jb[c[68>>2]&255](64)|0;if((c[11829]|0)>>>0<64)c[11829]=64;s=46456;q=c[s>>2]|0;s=c[s+4>>2]|0;if((s|0)>0|(s|0)==0&q>>>0>0){gf=c[11822]|0;S=Gt(q|0,s|0,g|0,((g|0)<0)<<31>>31|0)|0;s=z;c[11616]=(0>(s|0)|0==(s|0)&gf>>>0>=S>>>0)&1}g=jb[c[52>>2]&255](g)|0;if(!g){U=1416;break ta}q=jb[c[64>>2]&255](g)|0;q=(c[11822]|0)+q|0;c[11822]=q;if(q>>>0>(c[11826]|0)>>>0)c[11826]=q;q=(c[11825]|0)+1|0;c[11825]=q;if(q>>>0<=(c[11831]|0)>>>0){U=1417;break}c[11831]=q;q=g;S=q+64|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0))}while(0);if((U|0)==1417){U=0;q=g;S=q+64|0;do{a[q>>0]=0;q=q+1|0}while((q|0)<(S|0))}c[x>>2]=g;c[g+4>>2]=w;c[g>>2]=I;gf=c[E>>2]|0;S=(c[gf+8>>2]|0)+9|0;gf=(c[gf+4>>2]|0)/2|0;gf=(S|0)>(gf|0)?S:gf;c[g+16>>2]=gf;S=F;S=Ft(gf|0,((gf|0)<0)<<31>>31|0,c[S>>2]|0,c[S+4>>2]|0)|0;gf=F;c[gf>>2]=S;c[gf+4>>2]=z}g=c[g+4>>2]|0;if((y|0)<(H|0)){r=(r|0)/16|0;y=y+1|0}else{U=1435;break sa}}if((U|0)==1405)c[x>>2]=0;else if((U|0)==1416)c[x>>2]=0;if((c[w>>2]|0)>0){r=0;do{p=c[v>>2]|0;q=p+(r*56|0)|0;g=c[p+(r*56|0)+28>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);g=c[p+(r*56|0)+36>>2]|0;do if(g|0)if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}while(0);$h(c[p+(r*56|0)+48>>2]|0);S=q+56|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));r=r+1|0}while((r|0)<(c[w>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](w);g=7;U=1436;break}else{g=jb[c[64>>2]&255](w)|0;c[11822]=(c[11822]|0)-g;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](w);g=7;U=1436;break}}else if(!g){g=w;U=1435}else U=1436;while(0);if((U|0)==1435){U=0;c[(c[g+12>>2]|0)+(((p|0)%16|0)*56|0)+48>>2]=j;p=C;g=0;break}else if((U|0)==1436){U=0;$h(j);p=C;break}}while(0);D=D+16|0;j=c[J>>2]|0}while((g|0)==0&(D|0)<(j|0))}}else U=1338}else{U=Yc;c[U>>2]=0;c[U+4>>2]=0;U=1338}if((U|0)==1338){U=0;g=Pn(I,g,Yc,Nc)|0}j=c[Nc>>2]|0;if(g|0)break;L=L+1|0;if((L|0)>=(d[M>>0]|0)){U=1472;break pa}else R=j}if(j){if((c[j>>2]|0)>0){v=j+12|0;s=0;do{r=c[v>>2]|0;q=r+(s*56|0)|0;p=c[r+(s*56|0)+28>>2]|0;do if(p|0)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{gf=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);p=c[r+(s*56|0)+36>>2]|0;do if(p|0)if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{gf=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}while(0);$h(c[r+(s*56|0)+48>>2]|0);S=q+56|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));s=s+1|0}while((s|0)<(c[j>>2]|0))}if(!(c[2]|0))pb[c[56>>2]&255](j);else{gf=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j)}}if(R){if((c[R>>2]|0)>0){s=R+12|0;r=0;do{p=c[s>>2]|0;q=p+(r*56|0)|0;j=c[p+(r*56|0)+28>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{gf=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);j=c[p+(r*56|0)+36>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{gf=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);$h(c[p+(r*56|0)+48>>2]|0);S=q+56|0;do{c[q>>2]=0;q=q+4|0}while((q|0)<(S|0));r=r+1|0}while((r|0)<(c[R>>2]|0))}if(!(c[2]|0)){pb[c[56>>2]&255](R);U=1473;break}else{U=jb[c[64>>2]&255](R)|0;c[11822]=(c[11822]|0)-U;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](R);U=1473;break}}else U=1473}else{j=0;U=1472}while(0);if((U|0)==1472){U=0;g=Qn(Q+64|0,j)|0;c[Q+20>>2]=j;if(!g)g=0;else U=1473}if((U|0)==1473)U=0;c[gd>>2]=0}else{g=Mn(c[T+40>>2]|0,gd)|0;a[T+3>>0]=0;c[T+28>>2]=0}while(0);if(g|0){U=1477;break c}gf=c[gd>>2]|0;a[T+2>>0]=gf;if(!gf){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{g=0;U=26}}else if((U|0)==1492){g=c[(c[dc>>2]|0)+(c[Oe+4>>2]<<2)>>2]|0;j=g;g=kb[c[Oe+16>>2]&255](c[g+40>>2]|0,c[Oe+12>>2]|0)|0;U=1493}else if((U|0)==2268){U=0;s=c[Oe+12>>2]|0;p=V+(s*40|0)|0;q=j+8|0;if((c[q>>2]|0)!=(p|0)){c[q>>2]=p;p=j+26|0;q=a[p>>0]|0;if(q<<24>>24){r=c[Oe+8>>2]|0;q=q&255;do{gf=q;q=q+-1|0;c[j+28+(q<<2)>>2]=V+((q+r|0)*40|0)}while((gf|0)>1)}}else p=j+26|0;gf=V+(s*40|0)+12|0;c[gf>>2]=(c[gf>>2]|0)+1;b[ib>>1]=1;c[ob>>2]=cf;c[sb>>2]=0;c[j>>2]=Nc;gf=j+25|0;a[gf>>0]=0;q=j+24|0;a[q>>0]=0;rb[c[(c[j+4>>2]|0)+12>>2]&255](j,d[p>>0]|0,j+28|0);if(a[gf>>0]|0){j=j+20|0;if(c[j>>2]|0){g=e[ib>>1]|0;if(!((a[ub>>0]|0)==1&(g&514|0)==514))if(!(g&1))g=Jc(Nc,1)|0;else g=0;else g=c[vb>>2]|0;c[$d>>2]=g;Yh(f,17859,$d);g=c[j>>2]|0}if(!((b[ib>>1]&9312)==0&(c[sb>>2]|0)==0))af(Nc);if(!g)g=0;else{U=2289;break c}}do if(a[q>>0]|0?(Cd=c[Oe+-16>>2]|0,Cd|0):0){j=V+(Cd*40|0)|0;p=V+(Cd*40|0)+8|0;if(!(b[p>>1]&9312)){gf=j;c[gf>>2]=1;c[gf+4>>2]=0;b[p>>1]=4;break}else{Xe(j,1,0);break}}while(0);y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}else if((U|0)==2919){U=0;r=c[Oe+16>>2]|0;x=c[Oe+12>>2]|0;w=V+(x*40|0)|0;if((c[r>>2]|0)!=(w|0)){c[r>>2]=w;j=r+26|0;p=a[j>>0]|0;if(p<<24>>24){q=c[Oe+8>>2]|0;p=p&255;do{gf=p;p=p+-1|0;c[r+28+(p<<2)>>2]=V+((p+q|0)*40|0)}while((gf|0)>1)}}else j=r+26|0;v=V+(x*40|0)+8|0;b[v>>1]=b[v>>1]&15872|1;gf=r+25|0;a[gf>>0]=0;rb[c[(c[r+4>>2]|0)+12>>2]&255](r,d[j>>0]|0,r+28|0);if(a[gf>>0]|0){j=r+20|0;if(c[j>>2]|0){g=e[v>>1]|0;if((g&514|0)==514?(a[V+(x*40|0)+10>>0]|0)==1:0)g=c[V+(x*40|0)+16>>2]|0;else if(!(g&1))g=Jc(w,1)|0;else g=0;c[Jd>>2]=g;Yh(f,17859,Jd);g=c[j>>2]|0}r=c[r+16>>2]|0;s=c[Oe+4>>2]|0;p=c[hb>>2]|0;ua:do if(p|0){if((r|0)<0)while(1){j=c[p+12>>2]|0;if(j|0)pb[j&255](c[p+8>>2]|0);c[hb>>2]=c[p+16>>2];va:do if(!(c[He>>2]|0)){j=p;do if(j>>>0>=(c[Ie>>2]|0)>>>0){if(j>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break va}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{gf=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}else Lc(cf,p);while(0);p=c[hb>>2]|0;if(!p)break ua}else q=hb;do{while(1){if((c[p>>2]|0)!=(r|0))break;j=c[p+4>>2]|0;if((j|0)<=-1)break;if((j|0)<=31?1<>2]|0;if(j|0)pb[j&255](c[p+8>>2]|0);c[q>>2]=c[p+16>>2];wa:do if(!(c[He>>2]|0)){j=p;do if(j>>>0>=(c[Ie>>2]|0)>>>0){if(j>>>0>=(c[Je>>2]|0)>>>0)break;c[p>>2]=c[Ke>>2];c[Ke>>2]=p;break wa}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](p);break}else{gf=jb[c[64>>2]&255](p)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](p);break}}else Lc(cf,p);while(0);p=c[q>>2]|0;if(!p)break ua}q=p+16|0;p=c[q>>2]|0}while((p|0)!=0)}while(0);if(!g)g=0;else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}j=b[v>>1]|0;if(j&18){if((j&2)!=0?(a[V+(x*40|0)+10>>0]|0)!=Uc<<24>>24:0){Of(w,Uc)|0;j=b[v>>1]|0}p=j&65535;if(p&18){j=c[V+(x*40|0)+12>>2]|0;if(p&16384)j=(c[w>>2]|0)+j|0;if((j|0)>(c[(c[V+(x*40|0)+32>>2]|0)+100>>2]|0)){U=3025;break c}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}}else{y=X;x=Qe;r=Pe;s=V;q=W;p=Oe}}while(0);xa:do if((U|0)==26){U=0;y=X;x=Qe;r=Pe;s=V;q=W;p=Qe+(((c[Oe+8>>2]|0)+-1|0)*20|0)|0}else if((U|0)==981){U=0;a[(c[j+40>>2]|0)+3>>0]=b[p>>1]&3;if(!g){y=X;x=Qe;r=Pe;s=V;q=W;p=Oe;g=0}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}else if((U|0)==1493){c[j+28>>2]=0;switch(g|0){case 0:{a[j+2>>0]=0;g=f+156+(e[Oe+2>>1]<<2)|0;c[g>>2]=(c[g>>2]|0)+1;g=0;U=20;break xa}case 101:{a[j+2>>0]=1;p=Oe;g=0;U=21;break xa}default:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}}while(0);if((U|0)==20){p=Qe+(((c[Oe+8>>2]|0)+-1|0)*20|0)|0;U=21}if((U|0)==21){U=0;if(c[Sb>>2]|0){o=p;g=Qe;j=Pe;break b}if(i>>>0>=X>>>0?(Zc=c[Tb>>2]|0,(Zc|0)!=0):0){j=c[aa>>2]|0;if(!(jb[Zc&255](c[pc>>2]|0)|0)){y=j+i-((i>>>0)%(j>>>0)|0)|0;x=Qe;r=Pe;s=V;q=W}else{r=Qe;q=Pe;g=9;j=n;U=3e3;break a}}else{y=X;x=Qe;r=Pe;s=V;q=W}}Qe=x;Oe=p+20|0;Pe=r;W=q;V=s;X=y}switch(U|0){case 36:{j=(Oe-Qe|0)/20|0;c[Te>>2]=g;a[Xc>>0]=c[Oe+8>>2];c[De>>2]=j;if(g|0){g=b[Oe+2>>1]|0;if(g<<16>>16){c[pe>>2]=c[6320+((g&65535)+-1<<2)>>2];Yh(f,35703,pe);g=c[Oe+16>>2]|0;if(g|0){c[te>>2]=c[Ee>>2];c[te+4>>2]=g;c[Ee>>2]=Ff(cf,35724,te)|0}}else{c[qe>>2]=c[Oe+16>>2];Yh(f,17859,qe)}gf=c[p>>2]|0;$e=c[wc>>2]|0;cf=c[Ee>>2]|0;c[ue>>2]=j;c[ue+4>>2]=$e;c[ue+8>>2]=cf;Bc(gf,35731,ue)}if((Uh(f)|0)==5){c[Te>>2]=5;g=5;break a}else{g=c[Te>>2]|0?1:101;break a}}case 146:{g=c[Tb>>2]|0;if(!(i>>>0>>0|(g|0)==0)?jb[g&255](c[pc>>2]|0)|0:0){r=Qe;q=Pe;g=9;p=Oe;j=n;U=3e3;break a}gf=oc;Me=c[gf+4>>2]|0;if((Me|0)>0|(Me|0)==0&(c[gf>>2]|0)>>>0>0){c[Te>>2]=787;a[Xc>>0]=2;Yh(f,21411,ge);r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}if(c[(c[f>>2]|0)+444>>2]|0?c[mc>>2]|0:0)Zh(f,1)|0;c[qc>>2]=(c[qc>>2]|0)+2|1;s=V+((c[Oe+4>>2]|0)*40|0)|0;c[rc>>2]=s;q=Oe+8|0;if((c[q>>2]|0)>0){p=0;do{r=s+(p*40|0)|0;o=r+8|0;g=b[o>>1]|0;if(g&4096){j=g&65535;do if(j&18){if(j&16384){g=r+12|0;gf=(c[r>>2]|0)+(c[g>>2]|0)|0;if(_e(r,(gf|0)>1?gf:1,1)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}Vt((c[r+16>>2]|0)+(c[g>>2]|0)|0,0,c[r>>2]|0)|0;c[g>>2]=(c[g>>2]|0)+(c[r>>2]|0);g=b[o>>1]&-16897;b[o>>1]=g}if(c[r+24>>2]|0?(c[r+16>>2]|0)==(c[r+20>>2]|0):0)break;if(bf(r)|0){o=Oe;g=Qe;j=Pe;U=3026;break a}g=b[o>>1]|0}while(0);g=g&-4097;b[o>>1]=g}if((g&514)==2)bf(r)|0;p=p+1|0}while((p|0)<(c[q>>2]|0))}if(a[n>>0]|0){o=Oe;g=Qe;j=Pe;U=3026;break a}if(a[xe>>0]&4)mb[c[ye>>2]&255](4,c[ze>>2]|0,f,0)|0;c[De>>2]=((Oe-Qe|0)/20|0)+1;g=100;break a}case 461:{U=3025;break}case 541:{c[Md>>2]=21258;c[Md+4>>2]=82185;c[Md+8>>2]=17052;Bc(11,17e3,Md);g=11;U=543;break}case 544:{o=Oe;g=Qe;j=Pe;U=3026;break a}case 636:{c[Nd>>2]=21258;c[Nd+4>>2]=64947;c[Nd+8>>2]=17052;Bc(11,17e3,Nd);r=Qe;q=Pe;g=11;p=Oe;j=n;U=3e3;break a}case 645:{Yh(f,35791,Od);r=Qe;q=Pe;g=5;p=Oe;j=n;U=3e3;break a}case 677:{c[Pd>>2]=w;Yh(f,35842,Pd);r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}case 679:{Yh(f,35864,Qd);r=Qe;q=Pe;g=5;p=Oe;j=n;U=3e3;break a}case 683:{c[Te>>2]=787;a[Xc>>0]=2;Yh(f,21411,Rd);g=1;break a}case 685:{c[De>>2]=(Oe-Qe|0)/20|0;a[vc>>0]=0;c[Te>>2]=5;g=5;break a}case 843:{j=c[Oe+4>>2]|0;g=c[Oe+8>>2]|0;if((j|0)==(d[vc>>0]|0)){Yh(f,(j|0)==0?36057:g|0?35973:36016,je);r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}do if(!g){if(j|0?(c[sc>>2]|0)>0:0){Yh(f,35918,he);r=Qe;q=Pe;g=5;p=Oe;j=n;U=3e3;break a}$e=c[f>>2]|0;gf=$e+448|0;$e=$e+456|0;gf=Ft(c[$e>>2]|0,c[$e+4>>2]|0,c[gf>>2]|0,c[gf+4>>2]|0)|0;$e=z;if(($e|0)>0|($e|0)==0&gf>>>0>0){c[Te>>2]=787;a[Xc>>0]=2;Yh(f,21411,ie);g=1;break a}else{g=j&255;break}}else{Mh(cf,516);g=1}while(0);a[vc>>0]=g;if((Uh(f)|0)==5){c[De>>2]=(Oe-Qe|0)/20|0;a[vc>>0]=1-j;c[Te>>2]=5;g=5;break a}g=c[Ed>>2]|0;if(g|0)do{c[Ed>>2]=c[g+24>>2];do if(!(c[He>>2]|0)){gf=g;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[g>>2]=c[Ke>>2];c[Ke>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}else Lc(cf,g);while(0);g=c[Ed>>2]|0}while((g|0)!=0);c[Bd>>2]=0;c[Ad>>2]=0;a[Fd>>0]=0;g=(c[Te>>2]|0)==0?101:1;break a}case 870:{if((g&255|0)!=5){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}c[De>>2]=(Oe-Qe|0)/20|0;c[Te>>2]=g;break a}case 896:{g=c[Ee>>2]|0;do if(g|0){if(c[He>>2]|0){Lc(cf,g);break}gf=g;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[g>>2]=c[Ke>>2];c[Ke>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=913;else g=0;else{if((e[uc>>1]|0)>=28){g=c[Ke>>2]|0;if(g|0){c[Ke>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=914;break}g=c[re>>2]|0;if(!g)g=2;else{c[re>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=914;break}}else g=1;U=cf+276+(g<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=913}while(0);if((U|0)==913){g=Ec(cf,28,0)|0;U=914}if((U|0)==914)if(!g)g=0;else{q=g;j=21847;S=q+28|0;do{a[q>>0]=a[j>>0]|0;q=q+1|0;j=j+1|0}while((q|0)<(S|0))}c[Ee>>2]=g;j=c[Me>>2]|0;g=c[x>>2]|0;p=c[j+(g<<4)+12>>2]|0;ya:do if((c[p>>2]|0)!=(r|0)){if((g|0)>-1){gf=p+78|0;b[gf>>1]=b[gf>>1]|8;gf=(c[j+28>>2]|0)+78|0;b[gf>>1]=b[gf>>1]|8}if((c[cf+48>>2]|0)==0?(o=c[Le>>2]|0,(o|0)>0):0){g=0;while(1){j=c[j+(g<<4)+12>>2]|0;if(!(b[j+78>>1]&8))j=o;else{ph(j);j=c[Le>>2]|0}g=g+1|0;if((g|0)>=(j|0))break ya;o=j;j=c[Me>>2]|0}}}while(0);r=d[Ce>>0]|d[Ce+1>>0]<<8|1;a[Ce>>0]=r;a[Ce+1>>0]=r>>8;r=Qe;q=Pe;g=17;p=Oe;j=n;U=3e3;break a}case 1029:{c[s+40>>2]=0;r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}case 1105:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1135:{o=Oe;g=Qe;j=Pe;U=3026;break a}case 1136:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1147:{c[Sd>>2]=21258;c[Sd+4>>2]=83723;c[Sd+8>>2]=17052;Bc(11,17e3,Sd);r=Qe;q=Pe;g=11;p=Oe;j=n;U=3e3;break a}case 1185:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1205:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1288:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1299:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1302:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1477:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1500:{r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}case 1551:{r=Qe;q=Pe;g=7;p=Oe;j=n;U=3e3;break a}case 1556:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1583:{if(!((b[Ca>>1]&9312)==0&(c[Ea>>2]|0)==0))af(Yc);c[Td>>2]=21258;c[Td+4>>2]=77033;c[Td+8>>2]=17052;Bc(11,17e3,Td);g=11;U=1586;break}case 1597:{c[Ud>>2]=21258;c[Ud+4>>2]=77066;c[Ud+8>>2]=17052;Bc(11,17e3,Ud);g=11;U=1604;break}case 1610:{a[Xc>>0]=2;r=Qe;q=Pe;g=6;p=Oe;j=n;U=3e3;break a}case 1614:{j=0;U=1678;break}case 1627:{if(r){j=c[r+72>>2]|0;if(!(b[j+28>>1]&32)){Kg(j);j=0;U=1678;break}else{U=c[j+20>>2]|0;gf=U+120|0;c[gf>>2]=(c[gf>>2]|0)+-1;U=U+136|0;c[j+16>>2]=c[U>>2];c[U>>2]=j;j=0;U=1678;break}}else{j=0;U=1678}break}case 1645:{j=0;U=1678;break}case 1655:{j=0;U=1678;break}case 1725:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 1738:{j=c[Le>>2]|0;za:do if((j|0)>0){p=c[Me>>2]|0;o=0;do{q=c[p+(o<<4)+4>>2]|0;if(q|0)c[(c[q+4>>2]|0)+4>>2]=c[q>>2];o=o+1|0}while((o|0)!=(j|0));o=0;while(1){p=c[p+(o<<4)+12>>2]|0;if(p){ph(p);j=c[Le>>2]|0}o=o+1|0;if((o|0)>=(j|0))break za;p=c[Me>>2]|0}}while(0);c[we>>2]=c[we>>2]&-2;o=c[Be>>2]|0;c[Be>>2]=0;if(o){j=c[Ae>>2]|0;if(!j)j=o;else{do{gf=j+145|0;Ee=d[gf>>0]|d[gf+1>>0]<<8|1;a[gf>>0]=Ee;a[gf+1>>0]=Ee>>8;j=c[j+8>>2]|0}while((j|0)!=0);j=o}do{o=j;j=c[j+24>>2]|0;p=c[o>>2]|0;Ee=o+12|0;gf=(c[Ee>>2]|0)+-1|0;c[Ee>>2]=gf;do if(!gf){q=c[o+8>>2]|0;if(q|0)jb[c[(c[q>>2]|0)+16>>2]&255](q)|0;if(p|0){if(c[p+464>>2]|0){Lc(p,o);break}gf=o;if(gf>>>0>=(c[p+296>>2]|0)>>>0?gf>>>0<(c[p+300>>2]|0)>>>0:0){gf=p+292|0;c[o>>2]=c[gf>>2];c[gf>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{gf=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0)}while((j|0)!=0);j=c[Le>>2]|0}if((j|0)>2){q=2;j=2;do{o=c[Me>>2]|0;p=o+(q<<4)|0;if(!(c[o+(q<<4)+4>>2]|0)){o=c[p>>2]|0;do if(o|0){if(c[He>>2]|0){Lc(cf,o);break}gf=o;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[o>>2]=c[Ke>>2];c[Ke>>2]=o;break}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{gf=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);c[p>>2]=0}else{if((j|0)<(q|0)){gf=o+(j<<4)|0;c[gf>>2]=c[p>>2];c[gf+4>>2]=c[p+4>>2];c[gf+8>>2]=c[p+8>>2];c[gf+12>>2]=c[p+12>>2]}j=j+1|0}q=q+1|0}while((q|0)<(c[Le>>2]|0));c[Le>>2]=j;if((j|0)<3)U=1782}else{c[Le>>2]=2;U=1782}if((U|0)==1782?(Ge=c[Me>>2]|0,(Ge|0)!=(Fe|0)):0){c[Fe>>2]=c[Ge>>2];c[Fe+4>>2]=c[Ge+4>>2];c[Fe+8>>2]=c[Ge+8>>2];c[Fe+12>>2]=c[Ge+12>>2];c[Fe+16>>2]=c[Ge+16>>2];c[Fe+20>>2]=c[Ge+20>>2];c[Fe+24>>2]=c[Ge+24>>2];c[Fe+28>>2]=c[Ge+28>>2];do if(Ge|0){if(c[He>>2]|0){Lc(cf,Ge);break}gf=Ge;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[Ge>>2]=c[Ke>>2];c[Ke>>2]=Ge;break}if(!(c[2]|0)){pb[c[56>>2]&255](Ge);break}else{gf=jb[c[64>>2]&255](Ge)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](Ge);break}}while(0);c[Me>>2]=Fe}if((g|0)==7){o=Oe;g=Qe;j=Pe;U=3026;break a}else{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}}case 2193:{Yh(f,36325,_d);r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}case 2289:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 2291:{do if(p){j=e[V+(q*40|0)+8>>1]|0;if((j&514|0)==514?(a[V+(q*40|0)+10>>0]|0)==1:0){j=c[V+(q*40|0)+16>>2]|0;break}if(!(j&1))j=Jc(p,1)|0;else j=0}else j=0;while(0);c[ke>>2]=j;Yh(f,17859,ke);r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 2312:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 2333:{c[ae>>2]=y?36362:36367;Yh(f,36374,ae);r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}case 2391:{g=c[Ee>>2]|0;do if(g|0){if(c[He>>2]|0){Lc(cf,g);break}gf=g;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[g>>2]=c[Ke>>2];c[Ke>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=2408;else g=0;else{if((e[uc>>1]|0)>=40){g=c[Ke>>2]|0;if(g|0){c[Ke>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=2409;break}g=c[re>>2]|0;if(!g)g=2;else{c[re>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=2409;break}}else g=1;U=cf+276+(g<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2408}while(0);if((U|0)==2408){g=Ec(cf,40,0)|0;U=2409}if((U|0)==2409)if(!g)g=0;else{q=g;j=36426;S=q+40|0;do{a[q>>0]=a[j>>0]|0;q=q+1|0;j=j+1|0}while((q|0)<(S|0))}c[Ee>>2]=g;r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}case 2413:{g=c[Ee>>2]|0;do if(g|0){if(c[He>>2]|0){Lc(cf,g);break}gf=g;if(gf>>>0>=(c[Ie>>2]|0)>>>0?gf>>>0<(c[Je>>2]|0)>>>0:0){c[g>>2]=c[Ke>>2];c[Ke>>2]=g;break}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{gf=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-gf;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0);do if(c[tc>>2]|0)if(!(a[n>>0]|0))U=2430;else g=0;else{if((e[uc>>1]|0)>=43){g=c[Ke>>2]|0;if(g|0){c[Ke>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=2431;break}g=c[re>>2]|0;if(!g)g=2;else{c[re>>2]=c[g>>2];c[se>>2]=(c[se>>2]|0)+1;U=2431;break}}else g=1;U=cf+276+(g<<2)|0;c[U>>2]=(c[U>>2]|0)+1;U=2430}while(0);if((U|0)==2430){g=Ec(cf,43,0)|0;U=2431}if((U|0)==2431)if(!g)g=0;else{q=g;j=36466;S=q+43|0;do{a[q>>0]=a[j>>0]|0;q=q+1|0;j=j+1|0}while((q|0)<(S|0))}c[Ee>>2]=g;r=Qe;q=Pe;g=1;p=Oe;j=n;U=3e3;break a}case 2597:{c[fe>>2]=21258;c[fe+4>>2]=63808;c[fe+8>>2]=17052;Bc(11,17e3,fe);r=Qe;q=Pe;g=11;p=Oe;j=n;U=3e3;break a}case 2627:{if(w<<24>>24==2){U=p+22|0;b[U>>1]=b[U>>1]|128;U=2648}else U=2648;break}case 2736:{c[nc>>2]=(c[nc>>2]|0)+-1;r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 2763:{g=c[Nc>>2]|0;U=2768;break}case 2767:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 2817:{U=3025;break}case 2893:{r=Qe;q=Pe;g=6;p=Oe;j=n;U=3e3;break a}case 2894:{r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}case 3033:{l=ff;return g|0}}if((U|0)==543){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else if((U|0)==1586){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else if((U|0)==1604){r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else if((U|0)==1678){b[E>>1]=4;r=D;c[r>>2]=j;c[r+4>>2]=((j|0)<0)<<31>>31;r=Qe;q=Pe;p=Oe;j=n;U=3e3;break a}else if((U|0)==2648){c[Hd>>2]=c[Oe+16>>2];Yh(f,37002,Hd);r=Qe;q=Pe;g=262;p=Oe;j=n;U=3e3;break a}else if((U|0)==2768){jb[c[s+28>>2]&255](g)|0;o=Oe;g=Qe;j=Pe;U=3026;break a}else if((U|0)==3025){Yh(f,18992,Ld);r=Qe;q=Pe;g=18;p=Oe;j=n;U=3e3;break a}}else{o=q;i=0;g=q;j=0;n=cf+73|0}while(0);p=a[n>>0]|0?7:9;c[Te>>2]=p;c[ve>>2]=c[4068+(p<<2)>>2];Yh(f,17859,ve);r=g;q=j;g=p;p=o;j=n;U=3e3}while(0);if((U|0)==3026){if((a[n>>0]|0)==0?(a[cf+74>>0]|0)==0:0){a[n>>0]=1;if((c[cf+172>>2]|0)>0)c[cf+256>>2]=1;gf=cf+264|0;c[gf>>2]=(c[gf>>2]|0)+1}Yh(f,21647,Ne);r=g;q=j;g=7;p=o;j=n;U=3e3}Aa:do if((U|0)==3e3){n=(a[j>>0]|0)==0?g:7;o=f+108|0;if((c[o>>2]|0)==0&(n|0)!=3082){if((n|0)!=516){g=n&255;if(g>>>0<27?(117374971>>>g&1|0)!=0:0)g=c[4068+(g<<2)>>2]|0;else g=21499}else g=21513;c[Re>>2]=g;Yh(f,17859,Re)}c[Te>>2]=n;if((n|0)==3082){Ue=c[f+184>>2]|0;gf=c[o>>2]|0;c[Se>>2]=(p-r|0)/20|0;c[Se+4>>2]=Ue;c[Se+8>>2]=gf;Bc(3082,37037,Se);Uh(f)|0;if((a[j>>0]|0)==0?(a[cf+74>>0]|0)==0:0){a[j>>0]=1;if((c[cf+172>>2]|0)>0)c[cf+256>>2]=1;gf=cf+264|0;c[gf>>2]=(c[gf>>2]|0)+1}}else{if((n&251|4|0)==14){g=c[cf>>2]|0;j=c[g+68>>2]|0;if(!j)g=0;else g=lb[j&255](g,0,0)|0;c[cf+64>>2]=g}Te=c[f+184>>2]|0;gf=c[o>>2]|0;c[Ue>>2]=(p-r|0)/20|0;c[Ue+4>>2]=Te;c[Ue+8>>2]=gf;Bc(n,37037,Ue);Uh(f)|0}if((q<<24>>24!=0?(We=cf+16|0,m=c[We>>2]|0,gf=(c[m+((q&255)+-1<<4)+12>>2]|0)+78|0,b[gf>>1]=b[gf>>1]|8,gf=(c[m+28>>2]|0)+78|0,b[gf>>1]=b[gf>>1]|8,(c[cf+48>>2]|0)==0):0)?($e=cf+20|0,k=c[$e>>2]|0,(k|0)>0):0){g=0;while(1){j=c[m+(g<<4)+12>>2]|0;if(!(b[j+78>>1]&8))j=k;else{ph(j);j=c[$e>>2]|0}g=g+1|0;if((g|0)>=(j|0)){g=1;break Aa}m=c[We>>2]|0;k=j}}else g=1}while(0);gf=f+172|0;c[gf>>2]=(c[gf>>2]|0)+i;gf=g;l=ff;return gf|0}function si(a,d,e,f,g,h,i){a=a|0;d=d|0;e=e|0;f=f|0;g=g|0;h=h|0;i=i|0;var j=0,k=0,m=0,n=0,o=0,p=0,q=0;q=l;l=l+48|0;n=q+24|0;m=q+16|0;k=q+8|0;j=q;c[h>>2]=0;a:do if(!a){c[j>>2]=17306;Bc(21,22162,j)}else{j=c[a+88>>2]|0;b:do if((j|0)<-264537850){switch(j|0){case -1607883113:break;default:break b}if(!d)break a;o=a+20|0;k=c[o>>2]|0;if((k|0)>0){m=c[a+16>>2]|0;j=0;do{n=c[m+(j<<4)+4>>2]|0;if(n|0)c[(c[n+4>>2]|0)+4>>2]=c[n>>2];j=j+1|0}while((j|0)!=(k|0))}j=ti(a,d,e,f,g,h,i)|0;if((j|0)!=17){i=j;l=q;return i|0}if((c[a+48>>2]|0)==0?(p=c[o>>2]|0,(p|0)>0):0){n=a+16|0;m=0;j=p;do{k=c[(c[n>>2]|0)+(m<<4)+12>>2]|0;if(b[k+78>>1]&8){ph(k);j=c[o>>2]|0}m=m+1|0}while((m|0)<(j|0))}Qh(c[h>>2]|0)|0;i=ti(a,d,e,f,g,h,i)|0;l=q;return i|0}else{if((j|0)<1266094736)switch(j|0){case -264537850:break;default:break b}else switch(j|0){case 1266094736:break;default:break b}c[m>>2]=22215;Bc(21,22162,m);break a}while(0);c[k>>2]=22207;Bc(21,22162,k)}while(0);c[n>>2]=17025;c[n+4>>2]=117891;c[n+8>>2]=17052;Bc(21,17e3,n);i=21;l=q;return i|0}function ti(f,g,h,i,j,k,m){f=f|0;g=g|0;h=h|0;i=i|0;j=j|0;k=k|0;m=m|0;var n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0;H=l;l=l+512|0;F=H+16|0;t=H+8|0;s=H;D=H+496|0;G=H+24|0;c[D>>2]=0;Vt(G|0,0,148)|0;n=G+388|0;o=n+84|0;do{c[n>>2]=0;n=n+4|0}while((n|0)<(o|0));c[G+424>>2]=j;if(i&1|0){a[G+24>>0]=1;u=f+264|0;c[u>>2]=(c[u>>2]|0)+1}q=c[f+20>>2]|0;a:do if((q|0)>0){p=c[f+16>>2]|0;j=0;b:while(1){o=c[p+(j<<4)+4>>2]|0;if(o|0?(r=c[o+4>>2]|0,c[r+4>>2]=c[o>>2],a[o+9>>0]|0):0){if((c[r+76>>2]|0)!=(o|0)?b[r+22>>1]&64:0)break;n=c[r+72>>2]|0;if(n|0)do{if(((c[n>>2]|0)!=(o|0)?(c[n+4>>2]|0)==1:0)?(a[n+8>>0]|0)!=1:0)break b;n=c[n+12>>2]|0}while((n|0)!=0)}j=j+1|0;if((j|0)>=(q|0)){E=16;break a}}c[s>>2]=c[p+(j<<4)>>2];cg(f,262,22224,s);n=262;j=f+73|0}else E=16;while(0);c:do if((E|0)==16){u=f+352|0;n=c[u>>2]|0;c[u>>2]=0;if(n|0){j=c[f+4>>2]|0;if(j)do{u=j+145|0;s=d[u>>0]|d[u+1>>0]<<8|1;a[u>>0]=s;a[u+1>>0]=s>>8;j=c[j+8>>2]|0}while((j|0)!=0);do{j=n;n=c[n+24>>2]|0;o=c[j>>2]|0;s=j+12|0;u=(c[s>>2]|0)+-1|0;c[s>>2]=u;do if(!u){p=c[j+8>>2]|0;if(p|0)jb[c[(c[p>>2]|0)+16>>2]&255](p)|0;if(o|0){if(c[o+464>>2]|0){Lc(o,j);break}u=j;if(u>>>0>=(c[o+296>>2]|0)>>>0?u>>>0<(c[o+300>>2]|0)>>>0:0){u=o+292|0;c[j>>2]=c[u>>2];c[u>>2]=j;break}}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0)}while((n|0)!=0)}c[G>>2]=f;d:do if((h|0)>-1){if(h|0?(a[g+(h+-1)>>0]|0)==0:0){E=59;break}if((c[f+104>>2]|0)<(h|0)){cg(f,18,22254,t);j=f+73|0;if(!(a[j>>0]|0)){n=c[f+60>>2]&18;break c}else{Th(f);n=7;break c}}e:do if(g|0){o=Ft(h|0,((h|0)<0)<<31>>31|0,1,0)|0;p=z;do if(c[f+264>>2]|0)if(!(a[f+73>>0]|0))E=48;else break e;else{if(!(0

    >>0|(0==(p|0)?(e[f+268>>1]|0)>>>0>>0:0))){j=f+292|0;n=c[j>>2]|0;if(n|0){c[j>>2]=c[n>>2];u=f+276|0;c[u>>2]=(c[u>>2]|0)+1;break}j=f+288|0;n=c[j>>2]|0;if(!n)j=2;else{c[j>>2]=c[n>>2];u=f+276|0;c[u>>2]=(c[u>>2]|0)+1;break}}else j=1;E=f+276+(j<<2)|0;c[E>>2]=(c[E>>2]|0)+1;E=48}while(0);if((E|0)==48)n=Ec(f,o,p)|0;if(n|0){Tt(n|0,g|0,h|0)|0;a[n+h>>0]=0;ui(G,n,D)|0;u=G+428|0;j=n;c[u>>2]=g+((c[u>>2]|0)-j);if(c[f+464>>2]|0){Lc(f,n);break d}if(j>>>0>=(c[f+296>>2]|0)>>>0?j>>>0<(c[f+300>>2]|0)>>>0:0){u=f+292|0;c[n>>2]=c[u>>2];c[u>>2]=n;break d}if(!(c[2]|0)){pb[c[56>>2]&255](n);break d}else{u=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break d}}}while(0);c[G+428>>2]=g+h}else E=59;while(0);if((E|0)==59)ui(G,g,D)|0;u=G+12|0;if((c[u>>2]|0)==101)c[u>>2]=0;f:do if(a[G+17>>0]|0?(x=c[G>>2]|0,v=x+20|0,(c[v>>2]|0)>0):0){s=x+16|0;t=x+48|0;r=0;while(1){j=c[s>>2]|0;h=c[j+(r<<4)+4>>2]|0;if(h|0){if(!(a[h+8>>0]|0)){j=nh(h,0)|0;if((j|0)>=7)break;switch(j|0){case 0:break;default:break f}q=1;j=c[s>>2]|0}else q=0;p=h+4|0;o=c[p>>2]|0;c[o+4>>2]=c[h>>2];o=c[(c[o+12>>2]|0)+56>>2]|0;n=c[j+(r<<4)+12>>2]|0;if((d[o+41>>0]<<16|d[o+40>>0]<<24|d[o+42>>0]<<8|d[o+43>>0]|0)!=(c[n>>2]|0)){o=n+78|0;b[o>>1]=b[o>>1]|8;o=(c[j+28>>2]|0)+78|0;b[o>>1]=b[o>>1]|8;g:do if((c[t>>2]|0)==0?(w=c[v>>2]|0,(w|0)>0):0){o=0;n=w;while(1){j=c[j+(o<<4)+12>>2]|0;if(b[j+78>>1]&8){ph(j);n=c[v>>2]|0}j=o+1|0;if((j|0)>=(n|0))break g;o=j;j=c[s>>2]|0}}while(0);c[u>>2]=17}if(q|0?(c[(c[p>>2]|0)+4>>2]=c[h>>2],(sh(h,0)|0)==0):0)rh(h,0)|0}r=r+1|0;if((r|0)>=(c[v>>2]|0))break f}if((j|0)<3082)switch(j|0){case 7:break;default:break f}else switch(j|0){case 3082:break;default:break f}j=x+73|0;if((a[j>>0]|0)==0?(a[x+74>>0]|0)==0:0){a[j>>0]=1;if((c[x+172>>2]|0)>0)c[x+256>>2]=1;x=x+264|0;c[x>>2]=(c[x>>2]|0)+1}}while(0);j=f+73|0;if(a[j>>0]|0)c[u>>2]=7;if(m|0)c[m>>2]=c[G+428>>2];h=c[u>>2]|0;t=(h|0)==0;s=G+8|0;h:do if(t?(y=c[s>>2]|0,y|0):0){switch(a[G+399>>0]|0){case 0:break h;case 2:{vi(y,4);n=12;o=8;break}default:{vi(y,8);n=8;o=0}}p=o;do{q=c[s>>2]|0;if(!(a[(c[q>>2]|0)+73>>0]|0))Ve((c[q+100>>2]|0)+((p-o|0)*40|0)|0,c[4848+(p<<2)>>2]|0,-1,1,0)|0;p=p+1|0}while((p|0)<(n|0))}while(0);if((a[f+157>>0]|0)==0?(C=c[s>>2]|0,B=(c[G+428>>2]|0)-g|0,A=i&255,C|0):0){a[C+144>>0]=A;if(A<<24>>24>-1)c[C+204>>2]=0;p=c[C>>2]|0;i:do if(g){q=Ft(B|0,((B|0)<0)<<31>>31|0,1,0)|0;r=z;j:do if(c[p+264>>2]|0)if(!(a[p+73>>0]|0))E=112;else{n=0;break i}else{do if(0>>0|(0==(r|0)?(e[p+268>>1]|0)>>>0>>0:0))n=1;else{o=p+292|0;n=c[o>>2]|0;if(n|0){c[o>>2]=c[n>>2];A=p+276|0;c[A>>2]=(c[A>>2]|0)+1;break j}o=p+288|0;n=c[o>>2]|0;if(!n){n=2;break}c[o>>2]=c[n>>2];A=p+276|0;c[A>>2]=(c[A>>2]|0)+1;break j}while(0);E=p+276+(n<<2)|0;c[E>>2]=(c[E>>2]|0)+1;E=112}while(0);if((E|0)==112)n=Ec(p,q,r)|0;if(n){Tt(n|0,g|0,B|0)|0;a[n+B>>0]=0}else n=0}else n=0;while(0);c[C+184>>2]=n}s=c[s>>2]|0;k:do if(s){if(t?(a[j>>0]|0)==0:0){E=135;break}q=s+20|0;n=c[q>>2]|0;if((n|0)<832317811)switch(n|0){case 770837923:{E=120;break}default:{}}else switch(n|0){case 832317811:{E=120;break}default:{}}if((E|0)==120)Sh(s)|0;r=c[s>>2]|0;Uf(r,s);p=c[s+4>>2]|0;o=s+8|0;n=c[o>>2]|0;if(!p)c[r+4>>2]=n;else{c[p+8>>2]=n;n=c[o>>2]|0}if(n|0)c[n+4>>2]=p;c[q>>2]=1443283912;c[s>>2]=0;do if(r|0){if(c[r+464>>2]|0){Lc(r,s);break k}n=s;if(n>>>0<(c[r+296>>2]|0)>>>0)break;if(n>>>0>=(c[r+300>>2]|0)>>>0)break;k=r+292|0;c[s>>2]=c[k>>2];c[k>>2]=s;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](s);break}else{k=jb[c[64>>2]&255](s)|0;c[11822]=(c[11822]|0)-k;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](s);break}}else E=135;while(0);if((E|0)==135)c[k>>2]=s;n=c[D>>2]|0;do if(n){c[F>>2]=n;cg(f,h,17859,F);if(f|0){if(c[f+464>>2]|0){Lc(f,n);break}F=n;if(F>>>0>=(c[f+296>>2]|0)>>>0?F>>>0<(c[f+300>>2]|0)>>>0:0){F=f+292|0;c[n>>2]=c[F>>2];c[F>>2]=n;break}}if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{F=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}else{c[f+56>>2]=h;if(t?(c[f+248>>2]|0)==0:0)break;dg(f,h)}while(0);t=G+460|0;n=c[t>>2]|0;if(!n)n=h;else{p=f+464|0;q=f+296|0;r=f+300|0;s=f+292|0;if(!f)while(1){c[t>>2]=c[n+4>>2];if(!(c[2]|0))pb[c[56>>2]&255](n);else{F=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n)}n=c[t>>2]|0;if(!n){n=h;break c}}while(1){c[t>>2]=c[n+4>>2];l:do if(!(c[p>>2]|0)){o=n;do if(o>>>0>=(c[q>>2]|0)>>>0){if(o>>>0>=(c[r>>2]|0)>>>0)break;c[n>>2]=c[s>>2];c[s>>2]=n;break l}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{F=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-F;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}else Lc(f,n);while(0);n=c[t>>2]|0;if(!n){n=h;break}}}}while(0);ig(G);if((n|0)==3082|(a[j>>0]|0)!=0){Th(f);G=7;l=H;return G|0}else{G=c[f+60>>2]&n;l=H;return G|0}return 0}function ui(d,f,g){d=d|0;f=f|0;g=g|0;var h=0,i=0,j=0,k=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0,v=0,w=0,x=0,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R=0,S=0,T=0;T=l;l=l+1680|0;P=T+56|0;N=T+48|0;F=T+40|0;E=T+32|0;D=T+24|0;z=T+16|0;A=T;B=T+1672|0;K=T+60|0;S=c[d>>2]|0;h=c[S+104>>2]|0;u=S+256|0;if(!(c[S+160>>2]|0))c[u>>2]=0;O=d+12|0;c[O>>2]=0;G=d+428|0;c[G>>2]=f;H=K+8|0;c[K>>2]=H;b[H>>1]=0;a[K+10>>0]=0;v=K+1608|0;c[v>>2]=K+1592;w=d+388|0;x=d+392|0;I=K+4|0;y=K+8|0;J=S+73|0;t=A+4|0;s=z+4|0;i=0;k=-1;a:while(1){b:do if(!(a[f>>0]|0)){j=i;R=7}else while(1){j=Ef(f,B)|0;h=h-j|0;if((h|0)<0){R=6;break a}i=c[B>>2]|0;if((i|0)<=157){r=j;break b}if(c[u>>2]|0){R=12;break a}if((i|0)==159){R=14;break a}f=f+j|0;if(!(a[f>>0]|0)){R=7;break}}while(0);if((R|0)==7){R=0;switch(k|0){case 0:break a;case 1:{i=0;break}default:i=1}c[B>>2]=i;r=j;f=f+(0-j)|0}c[w>>2]=f;c[x>>2]=r;q=f;c[I>>2]=d;p=i&255;i=c[K>>2]|0;do{o=b[i>>1]|0;j=o&65535;if((o&65535)<=992){n=b[9224+(j<<1)>>1]|0;o=p;while(1){k=o&255;m=k+n|0;if(m>>>0<=1565?(a[22362+m>>0]|0)==o<<24>>24:0){R=27;break}if((o&255)>=83){R=23;break}k=a[23928+k>>0]|0;if(!(k<<24>>24)){R=23;break}else o=k}do if((R|0)==23){R=0;k=n+83|0;if(k>>>0<1566?!(o<<24>>24==0|(a[22362+k>>0]|0)!=83):0){j=10134+(k<<1)|0;break}j=13266+(j<<1)|0}else if((R|0)==27){R=0;j=10134+(m<<1)|0}while(0);j=e[j>>1]|0}if(j>>>0<993){R=30;break}if(j>>>0>=1322){R=37;break}xi(K,j+-993|0);i=c[K>>2]|0}while(i>>>0>H>>>0);do if((R|0)==30){R=0;k=i+16|0;c[K>>2]=k;if(k>>>0<=(c[v>>2]|0)>>>0){b[k>>1]=j>>>0>454?j+329|0:j;a[i+18>>0]=p;c[i+20>>2]=q;c[i+24>>2]=r;break}c[K>>2]=i;j=c[I>>2]|0;if(i>>>0>y>>>0?(c[K>>2]=i+-16,wi(j,a[i+2>>0]|0,i+4|0),C=c[K>>2]|0,C>>>0>y>>>0):0){i=C;do{q=c[I>>2]|0;c[K>>2]=i+-16;wi(q,a[i+2>>0]|0,i+4|0);i=c[K>>2]|0}while(i>>>0>y>>>0)}hg(j,24011,E);c[I>>2]=j}else if((R|0)==37){R=0;o=c[I>>2]|0;c[A>>2]=q;c[t>>2]=r;c[z>>2]=f;c[s>>2]=r;c[F>>2]=z;hg(o,24033,F);c[I>>2]=o;wi(o,p,A)}while(0);f=f+r|0;if(c[O>>2]|0)break;if(!(a[J>>0]|0)){i=r;k=c[B>>2]|0}else break}if((R|0)==6)c[O>>2]=18;else if((R|0)==12)c[O>>2]=9;else if((R|0)==14){c[D>>2]=j;c[D+4>>2]=f;hg(d,22335,D)}c[G>>2]=f;f=c[K>>2]|0;if(f>>>0>H>>>0)do{c[K>>2]=f+-16;wi(c[I>>2]|0,a[f+2>>0]|0,f+4|0);f=c[K>>2]|0}while(f>>>0>H>>>0);if(!(a[J>>0]|0)){f=c[O>>2]|0;switch(f|0){case 101:case 0:break;default:{L=f;R=46}}}else{c[O>>2]=7;L=7;R=46}if((R|0)==46?(M=d+4|0,(c[M>>2]|0)==0):0){if((L|0)!=516){f=L&255;if(f>>>0<27?(117374971>>>f&1|0)!=0:0)f=c[4068+(f<<2)>>2]|0;else f=21499}else f=21513;c[N>>2]=f;c[M>>2]=Ff(S,17859,N)|0}f=d+4|0;h=c[f>>2]|0;if(!h)u=0;else{c[g>>2]=h;u=c[O>>2]|0;c[P>>2]=h;Bc(u,17859,P);c[f>>2]=0;u=1}i=d+8|0;j=c[i>>2]|0;if((j|0?(c[d+36>>2]|0)>0:0)?(a[d+18>>0]|0)==0:0){k=c[j>>2]|0;Uf(k,j);m=c[j+4>>2]|0;h=j+8|0;f=c[h>>2]|0;if(!m)c[k+4>>2]=f;else{c[m+8>>2]=f;f=c[h>>2]|0}if(f|0)c[f+4>>2]=m;c[j+20>>2]=1443283912;c[j>>2]=0;do if(k){if(c[k+464>>2]|0){Lc(k,j);break}P=j;if(P>>>0>=(c[k+296>>2]|0)>>>0?P>>>0<(c[k+300>>2]|0)>>>0:0){P=k+292|0;c[j>>2]=c[P>>2];c[P>>2]=j}else R=68}else R=68;while(0);do if((R|0)==68)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{P=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[i>>2]=0}if(!(a[d+18>>0]|0)){f=d+112|0;h=c[f>>2]|0;do if(h|0){if(S|0){if(c[S+464>>2]|0){Lc(S,h);break}P=h;if(P>>>0>=(c[S+296>>2]|0)>>>0?P>>>0<(c[S+300>>2]|0)>>>0:0){P=S+292|0;c[h>>2]=c[P>>2];c[P>>2]=h;break}}if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{P=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);c[f>>2]=0;c[d+108>>2]=0}f=c[d+452>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{P=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-P;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);do if((a[d+400>>0]|0)==0?(Q=c[d+432>>2]|0,Q|0):0){if(!((S|0)!=0?(c[S+464>>2]|0)!=0:0))R=92;if((R|0)==92?(P=Q+32|0,R=(c[P>>2]|0)+-1|0,c[P>>2]=R,R|0):0)break;Tf(S,Q)}while(0);o=c[d+468>>2]|0;do if(o|0){c:do if((c[o>>2]|0)>0){j=S+464|0;k=S+296|0;m=S+300|0;n=S+292|0;if(!S){h=0;while(1){f=c[o+8+(h<<4)+4>>2]|0;if(f|0)Rf(0,f);f=c[o+8+(h<<4)+8>>2]|0;if(f|0)Sf(0,f,1);f=c[o+8+(h<<4)>>2]|0;do if(f|0)if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}while(0);h=h+1|0;if((h|0)>=(c[o>>2]|0))break c}}else i=0;do{f=c[o+8+(i<<4)+4>>2]|0;if(f|0)Rf(S,f);f=c[o+8+(i<<4)+8>>2]|0;if(f|0)Sf(S,f,1);f=c[o+8+(i<<4)>>2]|0;d:do if(f|0){if(c[j>>2]|0){Lc(S,f);break}h=f;do if(h>>>0>=(c[k>>2]|0)>>>0){if(h>>>0>=(c[m>>2]|0)>>>0)break;c[f>>2]=c[n>>2];c[n>>2]=f;break d}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);i=i+1|0}while((i|0)<(c[o>>2]|0))}while(0);if(S|0){if(c[S+464>>2]|0){Lc(S,o);break}R=o;if(R>>>0>=(c[S+296>>2]|0)>>>0?R>>>0<(c[S+300>>2]|0)>>>0:0){R=S+292|0;c[o>>2]=c[R>>2];c[R>>2]=o;break}}if(!(c[2]|0)){pb[c[56>>2]&255](o);break}else{R=jb[c[64>>2]&255](o)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](o);break}}while(0);t=c[d+436>>2]|0;do if(t|0){f=c[t+28>>2]|0;if(f|0){o=(S|0)==0;p=S+464|0;q=S+296|0;r=S+300|0;s=S+292|0;do{n=f;f=c[f+28>>2]|0;h=c[n+16>>2]|0;if(h|0)Qf(S,h);h=c[n+20>>2]|0;if(h|0)Rf(S,h);h=c[n+8>>2]|0;if(h|0)Sf(S,h,1);h=c[n+24>>2]|0;if(h){m=h+4|0;i=c[h>>2]|0;e:do if((c[m>>2]|0)>0){if(o){j=0;while(1){i=c[i+(j<<3)>>2]|0;do if(i|0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{R=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);j=j+1|0;i=c[h>>2]|0;if((j|0)>=(c[m>>2]|0))break e}}else k=0;do{i=c[i+(k<<3)>>2]|0;f:do if(i|0){if(c[p>>2]|0){Lc(S,i);break}j=i;do if(j>>>0>=(c[q>>2]|0)>>>0){if(j>>>0>=(c[r>>2]|0)>>>0)break;c[i>>2]=c[s>>2];c[s>>2]=i;break f}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{R=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}}while(0);k=k+1|0;i=c[h>>2]|0}while((k|0)<(c[m>>2]|0))}while(0);g:do if(i){do if(!o){if(!(c[p>>2]|0)){j=i;if(j>>>0<(c[q>>2]|0)>>>0)break;if(j>>>0>=(c[r>>2]|0)>>>0)break;c[i>>2]=c[s>>2];c[s>>2]=i}else Lc(S,i);R=168;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](i);R=167;break}else{R=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);R=167;break}}else R=167;while(0);if((R|0)==167)if(o)R=173;else R=168;do if((R|0)==168){R=0;if(c[p>>2]|0){Lc(S,h);break}i=h;if(i>>>0<(c[q>>2]|0)>>>0){R=173;break}if(i>>>0>=(c[r>>2]|0)>>>0){R=173;break}c[h>>2]=c[s>>2];c[s>>2]=h}while(0);do if((R|0)==173){R=0;if(!h)break;if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{Q=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-Q;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);if(n|0)R=178}else R=178;h:do if((R|0)==178){do if(!o){if(c[p>>2]|0){Lc(S,n);break h}h=n;if(h>>>0<(c[q>>2]|0)>>>0)break;if(h>>>0>=(c[r>>2]|0)>>>0)break;c[n>>2]=c[s>>2];c[s>>2]=n;break h}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{R=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}}while(0)}while((f|0)!=0)}f=c[t>>2]|0;do if(f|0){if(S|0){if(c[S+464>>2]|0){Lc(S,f);break}R=f;if(R>>>0>=(c[S+296>>2]|0)>>>0?R>>>0<(c[S+300>>2]|0)>>>0:0){R=S+292|0;c[f>>2]=c[R>>2];c[R>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=c[t+4>>2]|0;do if(f|0){if(S|0){if(c[S+464>>2]|0){Lc(S,f);break}R=f;if(R>>>0>=(c[S+296>>2]|0)>>>0?R>>>0<(c[S+300>>2]|0)>>>0:0){R=S+292|0;c[f>>2]=c[R>>2];c[R>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=c[t+12>>2]|0;if(f|0)Qf(S,f);f=c[t+16>>2]|0;i:do if(f){p=f+4|0;h=c[f>>2]|0;j:do if((c[p>>2]|0)>0){k=S+464|0;m=S+296|0;n=S+300|0;o=S+292|0;if(!S){i=0;while(1){h=c[h+(i<<3)>>2]|0;do if(h|0)if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{R=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}while(0);i=i+1|0;h=c[f>>2]|0;if((i|0)>=(c[p>>2]|0))break j}}else j=0;do{h=c[h+(j<<3)>>2]|0;k:do if(h|0){if(c[k>>2]|0){Lc(S,h);break}i=h;do if(i>>>0>=(c[m>>2]|0)>>>0){if(i>>>0>=(c[n>>2]|0)>>>0)break;c[h>>2]=c[o>>2];c[o>>2]=h;break k}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);break}else{R=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);break}}while(0);j=j+1|0;h=c[f>>2]|0}while((j|0)<(c[p>>2]|0))}while(0);l:do if(h){do if(S|0){i=S+464|0;if(!(c[i>>2]|0)){j=h;if(j>>>0<(c[S+296>>2]|0)>>>0)break;if(j>>>0>=(c[S+300>>2]|0)>>>0)break;R=S+292|0;c[h>>2]=c[R>>2];c[R>>2]=h}else Lc(S,h);h=i;i=f;R=241;break l}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](h);R=239;break}else{R=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);R=239;break}}else R=239;while(0);do if((R|0)==239){if(!S)break;h=S+464|0;i=f;R=241}while(0);do if((R|0)==241){if(!(c[h>>2]|0)){f=i;if(f>>>0<(c[S+296>>2]|0)>>>0){f=i;break}if(f>>>0>=(c[S+300>>2]|0)>>>0){f=i;break}R=S+292|0;c[i>>2]=c[R>>2];c[R>>2]=i}else Lc(S,i);f=t;R=252;break i}while(0);if(f)if(!(c[2]|0)){pb[c[56>>2]&255](f);R=251;break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);R=251;break}else R=251}else R=251;while(0);if((R|0)==251)if(!S)f=t;else{f=t;R=252}if((R|0)==252){if(c[S+464>>2]|0){Lc(S,f);break}R=t;if(R>>>0>=(c[S+296>>2]|0)>>>0?R>>>0<(c[S+300>>2]|0)>>>0:0){R=S+292|0;c[t>>2]=c[R>>2];c[R>>2]=t;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);f=c[d+420>>2]|0;do if(f|0){if(S|0){if(c[S+464>>2]|0){Lc(S,f);break}R=f;if(R>>>0>=(c[S+296>>2]|0)>>>0?R>>>0<(c[S+300>>2]|0)>>>0:0){R=S+292|0;c[f>>2]=c[R>>2];c[R>>2]=f;break}}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}while(0);m=d+116|0;f=c[m>>2]|0;m:do if(f|0){h=S+464|0;i=S+296|0;j=S+300|0;k=S+292|0;if(!S)while(1){c[m>>2]=c[f>>2];if(!(c[2]|0))pb[c[56>>2]&255](f);else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f)}f=c[m>>2]|0;if(!f)break m}do{c[m>>2]=c[f>>2];do if(!(c[h>>2]|0)){R=f;if(R>>>0>=(c[i>>2]|0)>>>0?R>>>0<(c[j>>2]|0)>>>0:0){c[f>>2]=c[k>>2];c[k>>2]=f;break}if(!(c[2]|0)){pb[c[56>>2]&255](f);break}else{R=jb[c[64>>2]&255](f)|0;c[11822]=(c[11822]|0)-R;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](f);break}}else Lc(S,f);while(0);f=c[m>>2]|0}while((f|0)!=0)}while(0);j=d+456|0;f=c[j>>2]|0;if(!f){l=T;return u|0}i=S+464|0;if(!S){do{h=c[f+76>>2]|0;c[j>>2]=h;d=f+32|0;S=(c[d>>2]|0)+-1|0;c[d>>2]=S;if(!S){Tf(0,f);f=c[j>>2]|0}else f=h}while((f|0)!=0);l=T;return u|0}do{h=c[f+76>>2]|0;c[j>>2]=h;if((c[i>>2]|0)==0?(R=f+32|0,d=(c[R>>2]|0)+-1|0,c[R>>2]=d,(d|0)!=0):0)f=h;else{Tf(S,f);f=c[j>>2]|0}}while((f|0)!=0);l=T;return u|0}function vi(d,f){d=d|0;f=f|0;var g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0,p=0,q=0,r=0,s=0,t=0,u=0;t=c[d>>2]|0;r=d+140|0;h=b[r>>1]|0;do if(h<<16>>16){q=d+100|0;g=c[q>>2]|0;a:do if(g|0){p=g+(((h&65535)<<1)*40|0)|0;k=c[g+32>>2]|0;l=k+464|0;h=(k|0)==0;m=k+296|0;n=k+300|0;o=k+292|0;if(c[l>>2]|0){if(h)while(1){do if(c[g+24>>2]|0?(i=c[g+20>>2]|0,i|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](i);break}else{o=jb[c[64>>2]&255](i)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](i);break}while(0);g=g+40|0;if(g>>>0>=p>>>0)break a}while(1){do if(c[g+24>>2]|0?(j=c[g+20>>2]|0,j|0):0){if(c[l>>2]|0){Lc(k,j);break}i=j;if(i>>>0>=(c[m>>2]|0)>>>0?i>>>0<(c[n>>2]|0)>>>0:0){c[j>>2]=c[o>>2];c[o>>2]=j;break}if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{i=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-i;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}while(0);g=g+40|0;if(g>>>0>=p>>>0)break a}}if(h)while(1){h=g+8|0;if(!(b[h>>1]&9312)){i=g+24|0;if(c[i>>2]|0){j=c[g+20>>2]|0;do if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{o=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}while(0);c[i>>2]=0}}else af(g);b[h>>1]=128;g=g+40|0;if(g>>>0>=p>>>0)break a}do{h=g+8|0;if(!(b[h>>1]&9312)){i=g+24|0;if(c[i>>2]|0){j=c[g+20>>2]|0;do if(!(c[l>>2]|0)){u=j;if(u>>>0>=(c[m>>2]|0)>>>0?u>>>0<(c[n>>2]|0)>>>0:0){c[j>>2]=c[o>>2];c[o>>2]=j;break}if(j|0)if(!(c[2]|0)){pb[c[56>>2]&255](j);break}else{u=jb[c[64>>2]&255](j)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](j);break}}else Lc(k,j);while(0);c[i>>2]=0}}else af(g);b[h>>1]=128;g=g+40|0}while(g>>>0

    >>0)}while(0);g=c[q>>2]|0;if(g|0){if(t|0){if(c[t+464>>2]|0){Lc(t,g);break}u=g;if(u>>>0>=(c[t+296>>2]|0)>>>0?u>>>0<(c[t+300>>2]|0)>>>0:0){u=t+292|0;c[g>>2]=c[u>>2];c[u>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{u=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-u;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}}while(0);b[r>>1]=f;i=f*80|0;do if(c[t+264>>2]|0)if(!(a[t+73>>0]|0))s=65;else{c[d+100>>2]=0;return}else{if(!(0<0|(0==0?(e[t+268>>1]|0)>>>0>>0:0))){h=t+292|0;g=c[h>>2]|0;if(g|0){c[h>>2]=c[g>>2];u=t+276|0;c[u>>2]=(c[u>>2]|0)+1;break}h=t+288|0;g=c[h>>2]|0;if(!g)g=2;else{c[h>>2]=c[g>>2];u=t+276|0;c[u>>2]=(c[u>>2]|0)+1;break}}else g=1;s=t+276+(g<<2)|0;c[s>>2]=(c[s>>2]|0)+1;s=65}while(0);if((s|0)==65)g=Ec(t,i,0)|0;c[d+100>>2]=g;if(!((g|0)!=0&(f|0)>0))return;h=f<<1;while(1){c[g+32>>2]=t;b[g+8>>1]=1;c[g+24>>2]=0;if((h|0)>1){h=h+-1|0;g=g+40|0}else break}return}function wi(a,b,d){a=a|0;b=b|0;d=d|0;var e=0,f=0,g=0,h=0,i=0,j=0,k=0,l=0,m=0,n=0,o=0;do switch(b<<24>>24){case -50:case -61:case -62:case -93:{b=c[d>>2]|0;if(!b)return;Sf(c[a>>2]|0,b,1);return}case -83:case -84:{b=c[d>>2]|0;if(!b)return;Qf(c[a>>2]|0,b);return}case -30:case -32:case -38:case -47:case -48:case -49:case -52:case -54:case -57:case -69:case -70:case -79:{b=c[d>>2]|0;if(!b)return;Rf(c[a>>2]|0,b);return}case -44:case -45:case -56:case -63:{ag(c[a>>2]|0,c[d>>2]|0);return}case -6:case -60:{i=c[a>>2]|0;h=c[d>>2]|0;if(!h)return;a:do if((c[h>>2]|0)>0){d=i+464|0;e=i+296|0;f=i+300|0;g=i+292|0;if(!i){a=0;while(1){b=c[h+8+(a<<4)+4>>2]|0;if(b|0)Rf(0,b);b=c[h+8+(a<<4)+8>>2]|0;if(b|0)Sf(0,b,1);b=c[h+8+(a<<4)>>2]|0;do if(b|0)if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{n=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}while(0);a=a+1|0;if((a|0)>=(c[h>>2]|0))break a}}else a=0;do{b=c[h+8+(a<<4)+4>>2]|0;if(b|0)Rf(i,b);b=c[h+8+(a<<4)+8>>2]|0;if(b|0)Sf(i,b,1);b=c[h+8+(a<<4)>>2]|0;do if(b|0){if(c[d>>2]|0){Lc(i,b);break}n=b;if(n>>>0>=(c[e>>2]|0)>>>0?n>>>0<(c[f>>2]|0)>>>0:0){c[b>>2]=c[g>>2];c[g>>2]=b;break}if(!(c[2]|0)){pb[c[56>>2]&255](b);break}else{n=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);break}}while(0);a=a+1|0}while((a|0)<(c[h>>2]|0))}while(0);if(i|0){if(c[i+464>>2]|0){Lc(i,h);return}n=h;if(n>>>0>=(c[i+296>>2]|0)>>>0?n>>>0<(c[i+300>>2]|0)>>>0:0){n=i+292|0;c[h>>2]=c[n>>2];c[n>>2]=h;return}}if(!(c[2]|0)){pb[c[56>>2]&255](h);return}else{n=jb[c[64>>2]&255](h)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](h);return}}case -15:case -20:case -29:case -31:case -41:case -53:case -55:{b=c[d>>2]|0;if(!b)return;Qf(c[a>>2]|0,b);return}case -36:case -39:case -40:{j=c[a>>2]|0;b=c[d>>2]|0;if(!b)return;i=b+4|0;a=c[b>>2]|0;b:do if((c[i>>2]|0)>0){e=j+464|0;f=j+296|0;g=j+300|0;h=j+292|0;if(!j){d=0;while(1){a=c[a+(d<<3)>>2]|0;do if(a|0)if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{n=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}while(0);d=d+1|0;a=c[b>>2]|0;if((d|0)>=(c[i>>2]|0))break b}}else d=0;do{a=c[a+(d<<3)>>2]|0;do if(a|0){if(c[e>>2]|0){Lc(j,a);break}n=a;if(n>>>0>=(c[f>>2]|0)>>>0?n>>>0<(c[g>>2]|0)>>>0:0){c[a>>2]=c[h>>2];c[h>>2]=a;break}if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{n=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}while(0);d=d+1|0;a=c[b>>2]|0}while((d|0)<(c[i>>2]|0))}while(0);c:do if(a){do if(j|0){d=j+464|0;if(!(c[d>>2]|0)){e=a;if(e>>>0<(c[j+296>>2]|0)>>>0)break;if(e>>>0>=(c[j+300>>2]|0)>>>0)break;n=j+292|0;c[a>>2]=c[n>>2];c[n>>2]=a}else Lc(j,a);a=d;d=77;break c}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);d=75;break}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);d=75;break}}else d=75;while(0);if((d|0)==75)if(j){a=j+464|0;d=77}if((d|0)==77){if(c[a>>2]|0){Lc(j,b);return}n=b;if(n>>>0>=(c[j+296>>2]|0)>>>0?n>>>0<(c[j+300>>2]|0)>>>0:0){n=j+292|0;c[b>>2]=c[n>>2];c[n>>2]=b;return}}if(!b)return;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{n=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-n;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}case -19:case -24:{m=c[a>>2]|0;b=c[d>>2]|0;if(!b)return;h=(m|0)==0;i=m+464|0;j=m+296|0;k=m+300|0;l=m+292|0;do{g=b;b=c[b+28>>2]|0;a=c[g+16>>2]|0;if(a|0)Qf(m,a);a=c[g+20>>2]|0;if(a|0)Rf(m,a);a=c[g+8>>2]|0;if(a|0)Sf(m,a,1);a=c[g+24>>2]|0;if(a){f=a+4|0;d=c[a>>2]|0;d:do if((c[f>>2]|0)>0){if(h){e=0;while(1){d=c[d+(e<<3)>>2]|0;do if(d|0)if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{o=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}while(0);e=e+1|0;d=c[a>>2]|0;if((e|0)>=(c[f>>2]|0))break d}}else e=0;do{d=c[d+(e<<3)>>2]|0;do if(d|0){if(c[i>>2]|0){Lc(m,d);break}o=d;if(o>>>0>=(c[j>>2]|0)>>>0?o>>>0<(c[k>>2]|0)>>>0:0){c[d>>2]=c[l>>2];c[l>>2]=d;break}if(!(c[2]|0)){pb[c[56>>2]&255](d);break}else{o=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);break}}while(0);e=e+1|0;d=c[a>>2]|0}while((e|0)<(c[f>>2]|0))}while(0);e:do if(d){do if(!h){if(!(c[i>>2]|0)){e=d;if(e>>>0<(c[j>>2]|0)>>>0)break;if(e>>>0>=(c[k>>2]|0)>>>0)break;c[d>>2]=c[l>>2];c[l>>2]=d}else Lc(m,d);d=124;break e}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](d);d=123;break}else{o=jb[c[64>>2]&255](d)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](d);d=123;break}}else d=123;while(0);if((d|0)==123)if(h){n=a;d=129}else d=124;do if((d|0)==124){d=0;if(c[i>>2]|0){Lc(m,a);break}o=a;if(o>>>0>=(c[j>>2]|0)>>>0?o>>>0<(c[k>>2]|0)>>>0:0){c[a>>2]=c[l>>2];c[l>>2]=a}else{n=a;d=129}}while(0);do if((d|0)==129?(d=0,n|0):0)if(!(c[2]|0)){pb[c[56>>2]&255](n);break}else{o=jb[c[64>>2]&255](n)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](n);break}while(0);if(g|0)d=134}else d=134;do if((d|0)==134){if(!h){if(c[i>>2]|0){Lc(m,g);break}o=g;if(o>>>0>=(c[j>>2]|0)>>>0?o>>>0<(c[k>>2]|0)>>>0:0){c[g>>2]=c[l>>2];c[l>>2]=g;break}}if(!(c[2]|0)){pb[c[56>>2]&255](g);break}else{o=jb[c[64>>2]&255](g)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](g);break}}while(0)}while((b|0)!=0);return}case -22:{j=c[a>>2]|0;b=c[d+4>>2]|0;if(!b)return;i=b+4|0;a=c[b>>2]|0;f:do if((c[i>>2]|0)>0){e=j+464|0;f=j+296|0;g=j+300|0;h=j+292|0;if(!j){d=0;while(1){a=c[a+(d<<3)>>2]|0;do if(a|0)if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{o=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}while(0);d=d+1|0;a=c[b>>2]|0;if((d|0)>=(c[i>>2]|0))break f}}else d=0;do{a=c[a+(d<<3)>>2]|0;do if(a|0){if(c[e>>2]|0){Lc(j,a);break}o=a;if(o>>>0>=(c[f>>2]|0)>>>0?o>>>0<(c[g>>2]|0)>>>0:0){c[a>>2]=c[h>>2];c[h>>2]=a;break}if(!(c[2]|0)){pb[c[56>>2]&255](a);break}else{o=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);break}}while(0);d=d+1|0;a=c[b>>2]|0}while((d|0)<(c[i>>2]|0))}while(0);g:do if(a){do if(j|0){d=j+464|0;if(!(c[d>>2]|0)){e=a;if(e>>>0<(c[j+296>>2]|0)>>>0)break;if(e>>>0>=(c[j+300>>2]|0)>>>0)break;o=j+292|0;c[a>>2]=c[o>>2];c[o>>2]=a}else Lc(j,a);a=d;d=175;break g}while(0);if(!(c[2]|0)){pb[c[56>>2]&255](a);d=173;break}else{d=jb[c[64>>2]&255](a)|0;c[11822]=(c[11822]|0)-d;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](a);d=173;break}}else d=173;while(0);if((d|0)==173)if(j){a=j+464|0;d=175}if((d|0)==175){if(c[a>>2]|0){Lc(j,b);return}o=b;if(o>>>0>=(c[j+296>>2]|0)>>>0?o>>>0<(c[j+300>>2]|0)>>>0:0){o=j+292|0;c[b>>2]=c[o>>2];c[o>>2]=b;return}}if(!b)return;if(!(c[2]|0)){pb[c[56>>2]&255](b);return}else{o=jb[c[64>>2]&255](b)|0;c[11822]=(c[11822]|0)-o;c[11825]=(c[11825]|0)+-1;pb[c[56>>2]&255](b);return}}default:return}while(0)} + +// EMSCRIPTEN_END_FUNCS +var ib=[tI,tI,Yt,tI,Zt,tI,_t,tI,$t,tI,au,tI,bu,tI,cu,tI,du,tI,eu,tI,fu,tI,gu,tI,hu,tI,iu,tI,ju,tI,ku,tI,lu,tI,mu,tI,nu,tI,ou,tI,pu,tI,qu,tI,ru,tI,su,tI,tu,tI,uu,tI,vu,tI,wu,tI,xu,tI,yu,tI,zu,tI,Au,tI,Bu,tI,Cu,tI,Du,tI,Eu,tI,Fu,tI,Gu,tI,Hu,tI,Iu,tI,Ju,tI,Ku,tI,Lu,tI,Mu,tI,Nu,tI,Ou,tI,Pu,tI,Qu,tI,Ru,tI,Su,tI,Tu,tI,Uu,tI,Vu,tI,Wu,tI,Xu,tI,Yu,tI,Zu,tI,_u,tI,$u,tI,av,tI,bv,tI,cv,tI,dv,tI,ev,tI,fv,tI,ut,vd,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI,tI];var jb=[uI,uI,hv,uI,iv,uI,jv,uI,kv,uI,lv,uI,mv,uI,nv,uI,ov,uI,pv,uI,qv,uI,rv,uI,sv,uI,tv,uI,uv,uI,vv,uI,wv,uI,xv,uI,yv,uI,zv,uI,Av,uI,Bv,uI,Cv,uI,Dv,uI,Ev,uI,Fv,uI,Gv,uI,Hv,uI,Iv,uI,Jv,uI,Kv,uI,Lv,uI,Mv,uI,Nv,uI,Ov,uI,Pv,uI,Qv,uI,Rv,uI,Sv,uI,Tv,uI,Uv,uI,Vv,uI,Wv,uI,Xv,uI,Yv,uI,Zv,uI,_v,uI,$v,uI,aw,uI,bw,uI,cw,uI,dw,uI,ew,uI,fw,uI,gw,uI,hw,uI,iw,uI,jw,uI,kw,uI,lw,uI,mw,uI,nw,uI,ow,uI,pw,uI,qw,uI,Gf,Jf,Kf,Lf,Rd,Vd,bd,ld,md,Qs,zt,xt,Bd,Jd,wg,ll,nl,pl,ql,Vr,Xr,Zr,_r,Pr,Rr,Gr,Ir,Ar,Cr,Fp,Gp,Ip,Kp,Lp,Pp,Qp,Rp,Sp,pp,rp,tp,up,$e,pg,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI,uI];var kb=[vI,vI,sw,vI,tw,vI,uw,vI,vw,vI,ww,vI,xw,vI,yw,vI,zw,vI,Aw,vI,Bw,vI,Cw,vI,Dw,vI,Ew,vI,Fw,vI,Gw,vI,Hw,vI,Iw,vI,Jw,vI,Kw,vI,Lw,vI,Mw,vI,Nw,vI,Ow,vI,Pw,vI,Qw,vI,Rw,vI,Sw,vI,Tw,vI,Uw,vI,Vw,vI,Ww,vI,Xw,vI,Yw,vI,Zw,vI,_w,vI,$w,vI,ax,vI,bx,vI,cx,vI,dx,vI,ex,vI,fx,vI,gx,vI,hx,vI,ix,vI,jx,vI,kx,vI,lx,vI,mx,vI,nx,vI,ox,vI,px,vI,qx,vI,rx,vI,sx,vI,tx,vI,ux,vI,vx,vI,wx,vI,xx,vI,yx,vI,zx,vI,Ax,vI,Bx,vI,If,Vc,Wc,Yc,_c,$c,Qd,Ad,ad,fd,gd,hd,id,jd,pd,nt,pt,lt,_s,wt,Ct,ud,kt,it,Bt,Cd,Dd,Ed,Kd,Ld,Md,Ag,Bg,kl,ml,sl,Ur,Wr,as,Ep,Hp,Np,Up,Vp,Wp,Xp,op,qp,wp,wc,xc,lg,ah,bh,Xj,Yj,Ok,Pk,jn,kn,mn,Bl,Sj,Tj,Vj,Zj,lk,gk,Em,$l,pm,nm,Lm,Mm,rn,yp,xp,pq,kq,jq,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI,vI];var lb=[wI,wI,Dx,wI,Ex,wI,Fx,wI,Gx,wI,Hx,wI,Ix,wI,Jx,wI,Kx,wI,Lx,wI,Mx,wI,Nx,wI,Ox,wI,Px,wI,Qx,wI,Rx,wI,Sx,wI,Tx,wI,Ux,wI,Vx,wI,Wx,wI,Xx,wI,Yx,wI,Zx,wI,_x,wI,$x,wI,ay,wI,by,wI,cy,wI,dy,wI,ey,wI,fy,wI,gy,wI,hy,wI,iy,wI,jy,wI,ky,wI,ly,wI,my,wI,ny,wI,oy,wI,py,wI,qy,wI,ry,wI,sy,wI,ty,wI,uy,wI,vy,wI,wy,wI,xy,wI,yy,wI,zy,wI,Ay,wI,By,wI,Cy,wI,Dy,wI,Ey,wI,Fy,wI,Gy,wI,Hy,wI,Iy,wI,Jy,wI,Ky,wI,Ly,wI,My,wI,Td,Wd,Rc,Uc,Xc,Zc,ed,kd,td,$s,rt,vt,yt,tt,zg,rl,$r,Or,Fr,zr,Mp,vp,Xm,Wm,Vm,Bq,_q,Zq,xq,Cq,Gq,Iq,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI,wI];var mb=[xI,xI,Oy,xI,Py,xI,Qy,xI,Ry,xI,Sy,xI,Ty,xI,Uy,xI,Vy,xI,Wy,xI,Xy,xI,Yy,xI,Zy,xI,_y,xI,$y,xI,az,xI,bz,xI,cz,xI,dz,xI,ez,xI,fz,xI,gz,xI,hz,xI,iz,xI,jz,xI,kz,xI,lz,xI,mz,xI,nz,xI,oz,xI,pz,xI,qz,xI,rz,xI,sz,xI,tz,xI,uz,xI,vz,xI,wz,xI,xz,xI,yz,xI,zz,xI,Az,xI,Bz,xI,Cz,xI,Dz,xI,Ez,xI,Fz,xI,Gz,xI,Hz,xI,Iz,xI,Jz,xI,Kz,xI,Lz,xI,Mz,xI,Nz,xI,Oz,xI,Pz,xI,Qz,xI,Rz,xI,Sz,xI,Tz,xI,Uz,xI,Vz,xI,Wz,xI,Xz,xI,Sc,Tc,nd,rd,Qr,Hr,Br,Op,og,ng,al,Al,dl,Ap,zp,Ro,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI,xI];var nb=[yI,yI,Zz,yI,_z,yI,$z,yI,aA,yI,bA,yI,cA,yI,dA,yI,eA,yI,fA,yI,gA,yI,hA,yI,iA,yI,jA,yI,kA,yI,lA,yI,mA,yI,nA,yI,oA,yI,pA,yI,qA,yI,rA,yI,sA,yI,tA,yI,uA,yI,vA,yI,wA,yI,xA,yI,yA,yI,zA,yI,AA,yI,BA,yI,CA,yI,DA,yI,EA,yI,FA,yI,GA,yI,HA,yI,IA,yI,JA,yI,KA,yI,LA,yI,MA,yI,NA,yI,OA,yI,PA,yI,QA,yI,RA,yI,SA,yI,TA,yI,UA,yI,VA,yI,WA,yI,XA,yI,YA,yI,ZA,yI,_A,yI,$A,yI,aB,yI,bB,yI,cB,yI,dB,yI,eB,yI,fB,yI,gB,yI,Qc,cd,dd,qd,Nd,xg,yg,ol,Yr,Jp,Tp,sp,gp,ip,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI,yI];var ob=[zI,zI,iB,zI,jB,zI,kB,zI,lB,zI,mB,zI,nB,zI,oB,zI,pB,zI,qB,zI,rB,zI,sB,zI,tB,zI,uB,zI,vB,zI,wB,zI,xB,zI,yB,zI,zB,zI,AB,zI,BB,zI,CB,zI,DB,zI,EB,zI,FB,zI,GB,zI,HB,zI,IB,zI,JB,zI,KB,zI,LB,zI,MB,zI,NB,zI,OB,zI,PB,zI,QB,zI,RB,zI,SB,zI,TB,zI,UB,zI,VB,zI,WB,zI,XB,zI,YB,zI,ZB,zI,_B,zI,$B,zI,aC,zI,bC,zI,cC,zI,dC,zI,eC,zI,fC,zI,gC,zI,hC,zI,iC,zI,jC,zI,kC,zI,lC,zI,mC,zI,nC,zI,oC,zI,pC,zI,qC,zI,rC,zI,Dt,jl,Tr,Sr,Jr,Dr,Cp,Dp,np,mo,lo,no,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI,zI];var pb=[AI,AI,tC,AI,uC,AI,vC,AI,wC,AI,xC,AI,yC,AI,zC,AI,AC,AI,BC,AI,CC,AI,DC,AI,EC,AI,FC,AI,GC,AI,HC,AI,IC,AI,JC,AI,KC,AI,LC,AI,MC,AI,NC,AI,OC,AI,PC,AI,QC,AI,RC,AI,SC,AI,TC,AI,UC,AI,VC,AI,WC,AI,XC,AI,YC,AI,ZC,AI,_C,AI,$C,AI,aD,AI,bD,AI,cD,AI,dD,AI,eD,AI,fD,AI,gD,AI,hD,AI,iD,AI,jD,AI,kD,AI,lD,AI,mD,AI,nD,AI,oD,AI,pD,AI,qD,AI,rD,AI,sD,AI,tD,AI,uD,AI,vD,AI,wD,AI,xD,AI,yD,AI,zD,AI,AD,AI,BD,AI,CD,AI,Hf,Mf,ne,Me,Ne,Oe,Qe,Se,Sd,_d,$d,od,nc,oc,qc,rc,sc,tc,ge,mg,vk,ph,lp,ni,zq,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI,AI];var qb=[BI,BI,ED,BI,FD,BI,GD,BI,HD,BI,ID,BI,JD,BI,KD,BI,LD,BI,MD,BI,ND,BI,OD,BI,PD,BI,QD,BI,RD,BI,SD,BI,TD,BI,UD,BI,VD,BI,WD,BI,XD,BI,YD,BI,ZD,BI,_D,BI,$D,BI,aE,BI,bE,BI,cE,BI,dE,BI,eE,BI,fE,BI,gE,BI,hE,BI,iE,BI,jE,BI,kE,BI,lE,BI,mE,BI,nE,BI,oE,BI,pE,BI,qE,BI,rE,BI,sE,BI,tE,BI,uE,BI,vE,BI,wE,BI,xE,BI,yE,BI,zE,BI,AE,BI,BE,BI,CE,BI,DE,BI,EE,BI,FE,BI,GE,BI,HE,BI,IE,BI,JE,BI,KE,BI,LE,BI,ME,BI,NE,BI,Ud,Zd,ln,Wj,_j,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI,BI];var rb=[CI,CI,PE,CI,QE,CI,RE,CI,SE,CI,TE,CI,UE,CI,VE,CI,WE,CI,XE,CI,YE,CI,ZE,CI,_E,CI,$E,CI,aF,CI,bF,CI,cF,CI,dF,CI,eF,CI,fF,CI,gF,CI,hF,CI,iF,CI,jF,CI,kF,CI,lF,CI,mF,CI,nF,CI,oF,CI,pF,CI,qF,CI,rF,CI,sF,CI,tF,CI,uF,CI,vF,CI,wF,CI,xF,CI,yF,CI,zF,CI,AF,CI,BF,CI,CF,CI,DF,CI,EF,CI,FF,CI,GF,CI,HF,CI,IF,CI,JF,CI,KF,CI,LF,CI,MF,CI,NF,CI,OF,CI,PF,CI,QF,CI,RF,CI,SF,CI,TF,CI,UF,CI,VF,CI,WF,CI,XF,CI,YF,CI,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Xb,Yb,Zb,_b,$b,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc,kc,lc,Bf,Cf,Df,of,pf,qf,rf,sf,tf,uf,vf,he,ie,je,ke,le,me,oe,pe,qe,re,se,te,ue,ve,we,xe,ye,ze,Ae,Be,Ce,De,Ee,Fe,Ge,He,Ie,Je,Ke,Le,Pe,Re,Te,Xd,Yk,Xk,uk,tk,sk,sq,tq,uq,vq,mc,pc,eh,dh,ch,dp,kp,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI,CI];var sb=[DI,DI,_F,DI,$F,DI,aG,DI,bG,DI,cG,DI,dG,DI,eG,DI,fG,DI,gG,DI,hG,DI,iG,DI,jG,DI,kG,DI,lG,DI,mG,DI,nG,DI,oG,DI,pG,DI,qG,DI,rG,DI,sG,DI,tG,DI,uG,DI,vG,DI,wG,DI,xG,DI,yG,DI,zG,DI,AG,DI,BG,DI,CG,DI,DG,DI,EG,DI,FG,DI,GG,DI,HG,DI,IG,DI,JG,DI,KG,DI,LG,DI,MG,DI,NG,DI,OG,DI,PG,DI,QG,DI,RG,DI,SG,DI,TG,DI,UG,DI,VG,DI,WG,DI,XG,DI,YG,DI,ZG,DI,_G,DI,$G,DI,aH,DI,bH,DI,cH,DI,dH,DI,eH,DI,fH,DI,gH,DI,hH,DI,Yd,yc,Ac,Dk,Gk,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI,DI];var tb=[EI,EI,jH,EI,kH,EI,lH,EI,mH,EI,nH,EI,oH,EI,pH,EI,qH,EI,rH,EI,sH,EI,tH,EI,uH,EI,vH,EI,wH,EI,xH,EI,yH,EI,zH,EI,AH,EI,BH,EI,CH,EI,DH,EI,EH,EI,FH,EI,GH,EI,HH,EI,IH,EI,JH,EI,KH,EI,LH,EI,MH,EI,NH,EI,OH,EI,PH,EI,QH,EI,RH,EI,SH,EI,TH,EI,UH,EI,VH,EI,WH,EI,XH,EI,YH,EI,ZH,EI,_H,EI,$H,EI,aI,EI,bI,EI,cI,EI,dI,EI,eI,EI,fI,EI,gI,EI,hI,EI,iI,EI,jI,EI,kI,EI,lI,EI,mI,EI,nI,EI,oI,EI,pI,EI,qI,EI,rI,EI,sI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI,EI];return{_RegisterExtensionFunctions:Bb,___divdi3:Jt,___errno_location:ks,___muldi3:Lt,___remdi3:Mt,___udivdi3:Nt,___uremdi3:Ot,_bitshift64Ashr:Pt,_bitshift64Lshr:Qt,_bitshift64Shl:Rt,_emscripten_get_global_libc:os,_free:cs,_i64Add:Ft,_i64Subtract:Gt,_llvm_bswap_i32:St,_malloc:bs,_memalign:hs,_memcpy:Tt,_memmove:Ut,_memset:Vt,_sbrk:Wt,_sqlite3_bind_blob:Go,_sqlite3_bind_double:Io,_sqlite3_bind_int:Jo,_sqlite3_bind_parameter_index:No,_sqlite3_bind_text:Ko,_sqlite3_changes:Zo,_sqlite3_clear_bindings:bi,_sqlite3_close_v2:ap,_sqlite3_column_blob:zo,_sqlite3_column_bytes:Ao,_sqlite3_column_double:Bo,_sqlite3_column_name:Fo,_sqlite3_column_text:fl,_sqlite3_column_type:Eo,_sqlite3_create_function_v2:cp,_sqlite3_data_count:yo,_sqlite3_errmsg:gl,_sqlite3_exec:bl,_sqlite3_finalize:Qh,_sqlite3_free:ge,_sqlite3_open:ep,_sqlite3_prepare_v2:Vo,_sqlite3_reset:ai,_sqlite3_result_double:ii,_sqlite3_result_null:mi,_sqlite3_result_text:oi,_sqlite3_step:qi,_sqlite3_value_blob:ff,_sqlite3_value_bytes:di,_sqlite3_value_double:ei,_sqlite3_value_int:fi,_sqlite3_value_text:ci,_sqlite3_value_type:hi,dynCall_i:Xt,dynCall_ii:gv,dynCall_iii:rw,dynCall_iiii:Cx,dynCall_iiiii:Ny,dynCall_iiiiii:Yz,dynCall_iiiiiii:hB,dynCall_vi:sC,dynCall_vii:DD,dynCall_viii:OE,dynCall_viiii:ZF,dynCall_viiiiii:iH,establishStackSpace:xb,getTempRet0:Ab,runPostSets:Et,setTempRet0:zb,setThrew:yb,stackAlloc:ub,stackRestore:wb,stackSave:vb}}) + + +// EMSCRIPTEN_END_ASM +(Module.asmGlobalArg,Module.asmLibraryArg,buffer);var _RegisterExtensionFunctions=Module["_RegisterExtensionFunctions"]=asm["_RegisterExtensionFunctions"];var ___divdi3=Module["___divdi3"]=asm["___divdi3"];var ___errno_location=Module["___errno_location"]=asm["___errno_location"];var ___muldi3=Module["___muldi3"]=asm["___muldi3"];var ___remdi3=Module["___remdi3"]=asm["___remdi3"];var ___udivdi3=Module["___udivdi3"]=asm["___udivdi3"];var ___uremdi3=Module["___uremdi3"]=asm["___uremdi3"];var _bitshift64Ashr=Module["_bitshift64Ashr"]=asm["_bitshift64Ashr"];var _bitshift64Lshr=Module["_bitshift64Lshr"]=asm["_bitshift64Lshr"];var _bitshift64Shl=Module["_bitshift64Shl"]=asm["_bitshift64Shl"];var _emscripten_get_global_libc=Module["_emscripten_get_global_libc"]=asm["_emscripten_get_global_libc"];var _free=Module["_free"]=asm["_free"];var _i64Add=Module["_i64Add"]=asm["_i64Add"];var _i64Subtract=Module["_i64Subtract"]=asm["_i64Subtract"];var _llvm_bswap_i32=Module["_llvm_bswap_i32"]=asm["_llvm_bswap_i32"];var _malloc=Module["_malloc"]=asm["_malloc"];var _memalign=Module["_memalign"]=asm["_memalign"];var _memcpy=Module["_memcpy"]=asm["_memcpy"];var _memmove=Module["_memmove"]=asm["_memmove"];var _memset=Module["_memset"]=asm["_memset"];var _sbrk=Module["_sbrk"]=asm["_sbrk"];var _sqlite3_bind_blob=Module["_sqlite3_bind_blob"]=asm["_sqlite3_bind_blob"];var _sqlite3_bind_double=Module["_sqlite3_bind_double"]=asm["_sqlite3_bind_double"];var _sqlite3_bind_int=Module["_sqlite3_bind_int"]=asm["_sqlite3_bind_int"];var _sqlite3_bind_parameter_index=Module["_sqlite3_bind_parameter_index"]=asm["_sqlite3_bind_parameter_index"];var _sqlite3_bind_text=Module["_sqlite3_bind_text"]=asm["_sqlite3_bind_text"];var _sqlite3_changes=Module["_sqlite3_changes"]=asm["_sqlite3_changes"];var _sqlite3_clear_bindings=Module["_sqlite3_clear_bindings"]=asm["_sqlite3_clear_bindings"];var _sqlite3_close_v2=Module["_sqlite3_close_v2"]=asm["_sqlite3_close_v2"];var _sqlite3_column_blob=Module["_sqlite3_column_blob"]=asm["_sqlite3_column_blob"];var _sqlite3_column_bytes=Module["_sqlite3_column_bytes"]=asm["_sqlite3_column_bytes"];var _sqlite3_column_double=Module["_sqlite3_column_double"]=asm["_sqlite3_column_double"];var _sqlite3_column_name=Module["_sqlite3_column_name"]=asm["_sqlite3_column_name"];var _sqlite3_column_text=Module["_sqlite3_column_text"]=asm["_sqlite3_column_text"];var _sqlite3_column_type=Module["_sqlite3_column_type"]=asm["_sqlite3_column_type"];var _sqlite3_create_function_v2=Module["_sqlite3_create_function_v2"]=asm["_sqlite3_create_function_v2"];var _sqlite3_data_count=Module["_sqlite3_data_count"]=asm["_sqlite3_data_count"];var _sqlite3_errmsg=Module["_sqlite3_errmsg"]=asm["_sqlite3_errmsg"];var _sqlite3_exec=Module["_sqlite3_exec"]=asm["_sqlite3_exec"];var _sqlite3_finalize=Module["_sqlite3_finalize"]=asm["_sqlite3_finalize"];var _sqlite3_free=Module["_sqlite3_free"]=asm["_sqlite3_free"];var _sqlite3_open=Module["_sqlite3_open"]=asm["_sqlite3_open"];var _sqlite3_prepare_v2=Module["_sqlite3_prepare_v2"]=asm["_sqlite3_prepare_v2"];var _sqlite3_reset=Module["_sqlite3_reset"]=asm["_sqlite3_reset"];var _sqlite3_result_double=Module["_sqlite3_result_double"]=asm["_sqlite3_result_double"];var _sqlite3_result_null=Module["_sqlite3_result_null"]=asm["_sqlite3_result_null"];var _sqlite3_result_text=Module["_sqlite3_result_text"]=asm["_sqlite3_result_text"];var _sqlite3_step=Module["_sqlite3_step"]=asm["_sqlite3_step"];var _sqlite3_value_blob=Module["_sqlite3_value_blob"]=asm["_sqlite3_value_blob"];var _sqlite3_value_bytes=Module["_sqlite3_value_bytes"]=asm["_sqlite3_value_bytes"];var _sqlite3_value_double=Module["_sqlite3_value_double"]=asm["_sqlite3_value_double"];var _sqlite3_value_int=Module["_sqlite3_value_int"]=asm["_sqlite3_value_int"];var _sqlite3_value_text=Module["_sqlite3_value_text"]=asm["_sqlite3_value_text"];var _sqlite3_value_type=Module["_sqlite3_value_type"]=asm["_sqlite3_value_type"];var establishStackSpace=Module["establishStackSpace"]=asm["establishStackSpace"];var getTempRet0=Module["getTempRet0"]=asm["getTempRet0"];var runPostSets=Module["runPostSets"]=asm["runPostSets"];var setTempRet0=Module["setTempRet0"]=asm["setTempRet0"];var setThrew=Module["setThrew"]=asm["setThrew"];var stackAlloc=Module["stackAlloc"]=asm["stackAlloc"];var stackRestore=Module["stackRestore"]=asm["stackRestore"];var stackSave=Module["stackSave"]=asm["stackSave"];var dynCall_i=Module["dynCall_i"]=asm["dynCall_i"];var dynCall_ii=Module["dynCall_ii"]=asm["dynCall_ii"];var dynCall_iii=Module["dynCall_iii"]=asm["dynCall_iii"];var dynCall_iiii=Module["dynCall_iiii"]=asm["dynCall_iiii"];var dynCall_iiiii=Module["dynCall_iiiii"]=asm["dynCall_iiiii"];var dynCall_iiiiii=Module["dynCall_iiiiii"]=asm["dynCall_iiiiii"];var dynCall_iiiiiii=Module["dynCall_iiiiiii"]=asm["dynCall_iiiiiii"];var dynCall_vi=Module["dynCall_vi"]=asm["dynCall_vi"];var dynCall_vii=Module["dynCall_vii"]=asm["dynCall_vii"];var dynCall_viii=Module["dynCall_viii"]=asm["dynCall_viii"];var dynCall_viiii=Module["dynCall_viiii"]=asm["dynCall_viiii"];var dynCall_viiiiii=Module["dynCall_viiiiii"]=asm["dynCall_viiiiii"];Module["asm"]=asm;if(memoryInitializer){if(!isDataURI(memoryInitializer)){if(typeof Module["locateFile"]==="function"){memoryInitializer=Module["locateFile"](memoryInitializer)}else if(Module["memoryInitializerPrefixURL"]){memoryInitializer=Module["memoryInitializerPrefixURL"]+memoryInitializer}}if(ENVIRONMENT_IS_NODE||ENVIRONMENT_IS_SHELL){var data=Module["readBinary"](memoryInitializer);HEAPU8.set(data,GLOBAL_BASE)}else{addRunDependency("memory initializer");var applyMemoryInitializer=(function(data){if(data.byteLength)data=new Uint8Array(data);HEAPU8.set(data,GLOBAL_BASE);if(Module["memoryInitializerRequest"])delete Module["memoryInitializerRequest"].response;removeRunDependency("memory initializer")});function doBrowserLoad(){Module["readAsync"](memoryInitializer,applyMemoryInitializer,(function(){throw"could not load memory initializer "+memoryInitializer}))}var memoryInitializerBytes=tryParseAsDataURI(memoryInitializer);if(memoryInitializerBytes){applyMemoryInitializer(memoryInitializerBytes.buffer)}else if(Module["memoryInitializerRequest"]){function useRequest(){var request=Module["memoryInitializerRequest"];var response=request.response;if(request.status!==200&&request.status!==0){var data=tryParseAsDataURI(Module["memoryInitializerRequestURL"]);if(data){response=data.buffer}else{console.warn("a problem seems to have happened with Module.memoryInitializerRequest, status: "+request.status+", retrying "+memoryInitializer);doBrowserLoad();return}}applyMemoryInitializer(response)}if(Module["memoryInitializerRequest"].response){setTimeout(useRequest,0)}else{Module["memoryInitializerRequest"].addEventListener("load",useRequest)}}else{doBrowserLoad()}}}function ExitStatus(status){this.name="ExitStatus";this.message="Program terminated with exit("+status+")";this.status=status}ExitStatus.prototype=new Error;ExitStatus.prototype.constructor=ExitStatus;var initialStackTop;var preloadStartTime=null;dependenciesFulfilled=function runCaller(){if(!Module["calledRun"])run();if(!Module["calledRun"])dependenciesFulfilled=runCaller};function run(args){args=args||Module["arguments"];if(preloadStartTime===null)preloadStartTime=Date.now();if(runDependencies>0){return}preRun();if(runDependencies>0)return;if(Module["calledRun"])return;function doRun(){if(Module["calledRun"])return;Module["calledRun"]=true;if(ABORT)return;ensureInitRuntime();preMain();if(Module["onRuntimeInitialized"])Module["onRuntimeInitialized"]();postRun()}if(Module["setStatus"]){Module["setStatus"]("Running...");setTimeout((function(){setTimeout((function(){Module["setStatus"]("")}),1);doRun()}),1)}else{doRun()}}Module["run"]=run;function exit(status,implicit){if(implicit&&Module["noExitRuntime"]&&status===0){return}if(Module["noExitRuntime"]){}else{ABORT=true;EXITSTATUS=status;STACKTOP=initialStackTop;exitRuntime();if(Module["onExit"])Module["onExit"](status)}if(ENVIRONMENT_IS_NODE){process["exit"](status)}Module["quit"](status,new ExitStatus(status))}Module["exit"]=exit;var abortDecorators=[];function abort(what){if(Module["onAbort"]){Module["onAbort"](what)}if(what!==undefined){Module.print(what);Module.printErr(what);what=JSON.stringify(what)}else{what=""}ABORT=true;EXITSTATUS=1;var extra="\nIf this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.";var output="abort("+what+") at "+stackTrace()+extra;if(abortDecorators){abortDecorators.forEach((function(decorator){output=decorator(output,what)}))}throw output}Module["abort"]=abort;if(Module["preInit"]){if(typeof Module["preInit"]=="function")Module["preInit"]=[Module["preInit"]];while(Module["preInit"].length>0){Module["preInit"].pop()()}}Module["noExitRuntime"]=true;run();var Database,NULL,RegisterExtensionFunctions,SQLite,Statement,apiTemp,i,sqlite3_bind_blob,sqlite3_bind_double,sqlite3_bind_int,sqlite3_bind_parameter_index,sqlite3_bind_text,sqlite3_changes,sqlite3_clear_bindings,sqlite3_close_v2,sqlite3_column_blob,sqlite3_column_bytes,sqlite3_column_double,sqlite3_column_name,sqlite3_column_text,sqlite3_column_type,sqlite3_create_function_v2,sqlite3_data_count,sqlite3_errmsg,sqlite3_exec,sqlite3_finalize,sqlite3_free,sqlite3_open,sqlite3_prepare_v2,sqlite3_prepare_v2_sqlptr,sqlite3_reset,sqlite3_result_double,sqlite3_result_null,sqlite3_result_text,sqlite3_step,sqlite3_value_blob,sqlite3_value_bytes,sqlite3_value_double,sqlite3_value_int,sqlite3_value_text,sqlite3_value_type;apiTemp=stackAlloc(4);SQLite={};Statement=(function(){function Statement(stmt1,db){this.stmt=stmt1;this.db=db;this.pos=1;this.allocatedmem=[]}Statement.prototype["bind"]=(function(values){if(!this.stmt){throw"Statement closed"}this["reset"]();if(Array.isArray(values)){return this.bindFromArray(values)}else{return this.bindFromObject(values)}});Statement.prototype["step"]=(function(){var ret;if(!this.stmt){throw"Statement closed"}this.pos=1;switch(ret=sqlite3_step(this.stmt)){case SQLite.ROW:return true;case SQLite.DONE:return false;default:return this.db.handleError(ret)}});Statement.prototype.getNumber=(function(pos){if(pos==null){pos=this.pos++}return sqlite3_column_double(this.stmt,pos)});Statement.prototype.getString=(function(pos){if(pos==null){pos=this.pos++}return sqlite3_column_text(this.stmt,pos)});Statement.prototype.getBlob=(function(pos){var i,k,ptr,ref,result,size;if(pos==null){pos=this.pos++}size=sqlite3_column_bytes(this.stmt,pos);ptr=sqlite3_column_blob(this.stmt,pos);result=new Uint8Array(size);for(i=k=0,ref=size;0<=ref?kref;i=0<=ref?++k:--k){result[i]=HEAP8[ptr+i]}return result});Statement.prototype["get"]=(function(params){var field,k,ref,results1;if(params!=null){this["bind"](params)&&this["step"]()}results1=[];for(field=k=0,ref=sqlite3_data_count(this.stmt);0<=ref?kref;field=0<=ref?++k:--k){switch(sqlite3_column_type(this.stmt,field)){case SQLite.INTEGER:case SQLite.FLOAT:results1.push(this.getNumber(field));break;case SQLite.TEXT:results1.push(this.getString(field));break;case SQLite.BLOB:results1.push(this.getBlob(field));break;default:results1.push(null)}}return results1});Statement.prototype["getColumnNames"]=(function(){var i,k,ref,results1;results1=[];for(i=k=0,ref=sqlite3_data_count(this.stmt);0<=ref?kref;i=0<=ref?++k:--k){results1.push(sqlite3_column_name(this.stmt,i))}return results1});Statement.prototype["getAsObject"]=(function(params){var i,k,len,name,names,rowObject,values;values=this["get"](params);names=this["getColumnNames"]();rowObject={};for(i=k=0,len=names.length;k>>0);if(data!=null){FS.createDataFile("/",this.filename,data,true,true)}this.handleError(sqlite3_open(this.filename,apiTemp));this.db=getValue(apiTemp,"i32");RegisterExtensionFunctions(this.db);this.statements={}}Database.prototype["run"]=(function(sql,params){var stmt;if(!this.db){throw"Database closed"}if(params){stmt=this["prepare"](sql,params);stmt["step"]();stmt["free"]()}else{this.handleError(sqlite3_exec(this.db,sql,0,0,apiTemp))}return this});Database.prototype["exec"]=(function(sql){var curresult,nextSqlPtr,pStmt,pzTail,results,stack,stmt;if(!this.db){throw"Database closed"}stack=stackSave();nextSqlPtr=stackAlloc(sql.length<<2+1);writeStringToMemory(sql,nextSqlPtr);pzTail=stackAlloc(4);results=[];while(getValue(nextSqlPtr,"i8")!==NULL){setValue(apiTemp,0,"i32");setValue(pzTail,0,"i32");this.handleError(sqlite3_prepare_v2_sqlptr(this.db,nextSqlPtr,-1,apiTemp,pzTail));pStmt=getValue(apiTemp,"i32");nextSqlPtr=getValue(pzTail,"i32");if(pStmt===NULL){continue}stmt=new Statement(pStmt,this);curresult=null;while(stmt["step"]()){if(curresult===null){curresult={"columns":stmt["getColumnNames"](),"values":[]};results.push(curresult)}curresult["values"].push(stmt["get"]())}stmt["free"]()}stackRestore(stack);return results});Database.prototype["each"]=(function(sql,params,callback,done){var stmt;if(typeof params==="function"){done=callback;callback=params;params=void 0}stmt=this["prepare"](sql,params);while(stmt["step"]()){callback(stmt["getAsObject"]())}stmt["free"]();if(typeof done==="function"){return done()}});Database.prototype["prepare"]=(function(sql,params){var pStmt,stmt;setValue(apiTemp,0,"i32");this.handleError(sqlite3_prepare_v2(this.db,sql,-1,apiTemp,NULL));pStmt=getValue(apiTemp,"i32");if(pStmt===NULL){throw"Nothing to prepare"}stmt=new Statement(pStmt,this);if(params!=null){stmt.bind(params)}this.statements[pStmt]=stmt;return stmt});Database.prototype["export"]=(function(){var _,binaryDb,ref,stmt;ref=this.statements;for(_ in ref){stmt=ref[_];stmt["free"]()}this.handleError(sqlite3_close_v2(this.db));binaryDb=FS.readFile(this.filename,{encoding:"binary"});this.handleError(sqlite3_open(this.filename,apiTemp));this.db=getValue(apiTemp,"i32");return binaryDb});Database.prototype["close"]=(function(){var _,ref,stmt;ref=this.statements;for(_ in ref){stmt=ref[_];stmt["free"]()}this.handleError(sqlite3_close_v2(this.db));FS.unlink("/"+this.filename);return this.db=null});Database.prototype.handleError=(function(returnCode){var errmsg;if(returnCode===SQLite.OK){return null}else{errmsg=sqlite3_errmsg(this.db);throw new Error(errmsg)}});Database.prototype["getRowsModified"]=(function(){return sqlite3_changes(this.db)});Database.prototype["create_function"]=(function(name,func){var func_ptr,wrapped_func;wrapped_func=(function(cx,argc,argv){var arg,args,data_func,i,k,ref,result,value_ptr,value_type;args=[];for(i=k=0,ref=argc;0<=ref?kref;i=0<=ref?++k:--k){value_ptr=getValue(argv+4*i,"i32");value_type=sqlite3_value_type(value_ptr);data_func=(function(){switch(false){case value_type!==1:return sqlite3_value_int;case value_type!==2:return sqlite3_value_double;case value_type!==3:return sqlite3_value_text;case value_type!==4:return(function(ptr){var blob_arg,blob_ptr,j,l,ref1,size;size=sqlite3_value_bytes(ptr);blob_ptr=sqlite3_value_blob(ptr);blob_arg=new Uint8Array(size);for(j=l=0,ref1=size;0<=ref1?lref1;j=0<=ref1?++l:--l){blob_arg[j]=HEAP8[blob_ptr+j]}return blob_arg});default:return(function(ptr){return null})}})();arg=data_func(value_ptr);args.push(arg)}result=func.apply(null,args);if(!result){return sqlite3_result_null(cx)}else{switch(typeof result){case"number":return sqlite3_result_double(cx,result);case"string":return sqlite3_result_text(cx,result,-1,-1)}}});func_ptr=addFunction(wrapped_func);this.handleError(sqlite3_create_function_v2(this.db,name,func.length,SQLite.UTF8,0,func_ptr,0,0,0));return this});return Database})();sqlite3_open=Module["cwrap"]("sqlite3_open","number",["string","number"]);sqlite3_close_v2=Module["cwrap"]("sqlite3_close_v2","number",["number"]);sqlite3_exec=Module["cwrap"]("sqlite3_exec","number",["number","string","number","number","number"]);sqlite3_free=Module["cwrap"]("sqlite3_free","",["number"]);sqlite3_changes=Module["cwrap"]("sqlite3_changes","number",["number"]);sqlite3_prepare_v2=Module["cwrap"]("sqlite3_prepare_v2","number",["number","string","number","number","number"]);sqlite3_prepare_v2_sqlptr=Module["cwrap"]("sqlite3_prepare_v2","number",["number","number","number","number","number"]);sqlite3_bind_text=Module["cwrap"]("sqlite3_bind_text","number",["number","number","number","number","number"]);sqlite3_bind_blob=Module["cwrap"]("sqlite3_bind_blob","number",["number","number","number","number","number"]);sqlite3_bind_double=Module["cwrap"]("sqlite3_bind_double","number",["number","number","number"]);sqlite3_bind_int=Module["cwrap"]("sqlite3_bind_int","number",["number","number","number"]);sqlite3_bind_parameter_index=Module["cwrap"]("sqlite3_bind_parameter_index","number",["number","string"]);sqlite3_step=Module["cwrap"]("sqlite3_step","number",["number"]);sqlite3_errmsg=Module["cwrap"]("sqlite3_errmsg","string",["number"]);sqlite3_data_count=Module["cwrap"]("sqlite3_data_count","number",["number"]);sqlite3_column_double=Module["cwrap"]("sqlite3_column_double","number",["number","number"]);sqlite3_column_text=Module["cwrap"]("sqlite3_column_text","string",["number","number"]);sqlite3_column_blob=Module["cwrap"]("sqlite3_column_blob","number",["number","number"]);sqlite3_column_bytes=Module["cwrap"]("sqlite3_column_bytes","number",["number","number"]);sqlite3_column_type=Module["cwrap"]("sqlite3_column_type","number",["number","number"]);sqlite3_column_name=Module["cwrap"]("sqlite3_column_name","string",["number","number"]);sqlite3_reset=Module["cwrap"]("sqlite3_reset","number",["number"]);sqlite3_clear_bindings=Module["cwrap"]("sqlite3_clear_bindings","number",["number"]);sqlite3_finalize=Module["cwrap"]("sqlite3_finalize","number",["number"]);sqlite3_create_function_v2=Module["cwrap"]("sqlite3_create_function_v2","number",["number","string","number","number","number","number","number","number","number"]);sqlite3_value_type=Module["cwrap"]("sqlite3_value_type","number",["number"]);sqlite3_value_bytes=Module["cwrap"]("sqlite3_value_bytes","number",["number"]);sqlite3_value_text=Module["cwrap"]("sqlite3_value_text","string",["number"]);sqlite3_value_int=Module["cwrap"]("sqlite3_value_int","number",["number"]);sqlite3_value_blob=Module["cwrap"]("sqlite3_value_blob","number",["number"]);sqlite3_value_double=Module["cwrap"]("sqlite3_value_double","number",["number"]);sqlite3_result_double=Module["cwrap"]("sqlite3_result_double","",["number","number"]);sqlite3_result_null=Module["cwrap"]("sqlite3_result_null","",["number"]);sqlite3_result_text=Module["cwrap"]("sqlite3_result_text","",["number","string","number","number"]);RegisterExtensionFunctions=Module["cwrap"]("RegisterExtensionFunctions","number",["number"]);this["SQL"]={"Database":Database};for(i in this["SQL"]){Module[i]=this["SQL"][i]}NULL=0;SQLite.OK=0;SQLite.ERROR=1;SQLite.INTERNAL=2;SQLite.PERM=3;SQLite.ABORT=4;SQLite.BUSY=5;SQLite.LOCKED=6;SQLite.NOMEM=7;SQLite.READONLY=8;SQLite.INTERRUPT=9;SQLite.IOERR=10;SQLite.CORRUPT=11;SQLite.NOTFOUND=12;SQLite.FULL=13;SQLite.CANTOPEN=14;SQLite.PROTOCOL=15;SQLite.EMPTY=16;SQLite.SCHEMA=17;SQLite.TOOBIG=18;SQLite.CONSTRAINT=19;SQLite.MISMATCH=20;SQLite.MISUSE=21;SQLite.NOLFS=22;SQLite.AUTH=23;SQLite.FORMAT=24;SQLite.RANGE=25;SQLite.NOTADB=26;SQLite.NOTICE=27;SQLite.WARNING=28;SQLite.ROW=100;SQLite.DONE=101;SQLite.INTEGER=1;SQLite.FLOAT=2;SQLite.TEXT=3;SQLite.BLOB=4;SQLite.NULL=5;SQLite.UTF8=1 + + + + +return this['SQL']; +})(); +if (typeof module !== 'undefined') module.exports = SQL; +if (typeof define === 'function') define(SQL); From 9413cb5ac21f2a90bb8bd50ac3170dcd5c4e4d5c Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 20 Sep 2023 20:05:30 -0700 Subject: [PATCH 027/122] Add nanon --- content/extras/_index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content/extras/_index.md b/content/extras/_index.md index f4ad97c..ef4da1b 100644 --- a/content/extras/_index.md +++ b/content/extras/_index.md @@ -24,6 +24,9 @@ layout: single Questions asked of various Post-Self characters, answered by the characters themselves. +## Extra Materials + +* [Nanon](nanon) — the constructed language spoken by the Artemisians. ## Soundtracks From 3932d9043461de34e8d4af82046e29b678191f6b Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Thu, 21 Sep 2023 14:11:35 -0700 Subject: [PATCH 028/122] typo --- content/about/writing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/about/writing.md b/content/about/writing.md index 470f0e0..e45e7a8 100644 --- a/content/about/writing.md +++ b/content/about/writing.md @@ -2,7 +2,7 @@ title: Writing in the Post-Self Universe --- -So you've gone and read [the Post-Self cycle](/cycle) stories, checked out [*Clade*](https://clade.post-self.ink), read up on the [setting](/about/universe) and [timeline](/about/timeline), maybe even taken a peek at some of the [extras](/extra). Are you interested in creating canon material for the Post-Self universe? Wonderful! The setting is open to allow for exploration of topics that are important to all. Here are some guidelines for creating works to be incorporated into the canon. +So you've gone and read [the Post-Self cycle](/cycle) stories, checked out [*Clade*](https://clade.post-self.ink), read up on the [setting](/about/universe) and [timeline](/about/timeline), maybe even taken a peek at some of the [extras](/extras). Are you interested in creating canon material for the Post-Self universe? Wonderful! The setting is open to allow for exploration of topics that are important to all. Here are some guidelines for creating works to be incorporated into the canon. The Lost : From 096b4c2450291de47b2f915890813a0caba42762 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sun, 24 Sep 2023 15:38:40 -0700 Subject: [PATCH 029/122] Hidden story --- content/extras/opportunity-paralysis.md | 375 ++++++++++++++++++++++++ 1 file changed, 375 insertions(+) create mode 100644 content/extras/opportunity-paralysis.md diff --git a/content/extras/opportunity-paralysis.md b/content/extras/opportunity-paralysis.md new file mode 100644 index 0000000..ae22604 --- /dev/null +++ b/content/extras/opportunity-paralysis.md @@ -0,0 +1,375 @@ +--- +title: Opportunity Paralysis +author: Madison Scott-Clary +character: Rena Hatch --- 2368 +type: story +--- + +I thought it would be different. I thought it would be cleaner, maybe. Cleaner, or far more grimy, all exposed pipes and puddles of unexplained liquids pooling in dark corners while the brittle lighting of shitty fluorescents flickered. Give me the clean LEDs over that, the well-polished linoleum and stainless steel, doctors with surgical gowns and nurses with fibrous paper booties strapped over their oh-so-comfortable shoes. + +Saskatoon Central Upload Clinic was none of these. Where one might expect a hospital check-in desk, thick plexiglass separating the clientele from the assistants, there was a row of podiums, each bearing a tablet with a grip-bar beside it, a way to check in using the implants embedded on the middle joints of one's fingers. Where one might expect the cold, hard chairs, blessed with only the thinnest layer of padding, of a hospital waiting room, there were instead plush chairs and loveseats upholstered in linen. Where one might expect cold and white bare walls, calm paintings and potted plants softened the cream-colored paint further, spider plants stringing trails behind water coolers. + +Check-in is simple: slide my fingers around the grip bar until the magnetic contacts pull at those NFC pads embedded in skin. Wait as patiently as I can while the tablet whispers a series of disclaimers against my cochleae through the tendrils of my exo. Shift my weight anxiously from side to side and give my assent to the questions with a nod and a tap of the thumb. + +Yes, I understand that uploading is irreversible. + +Yes, I understand that uploading is destructive. + +Yes, I understand that there's a risk. *There's a risk to staying behind, too,* I think, but carefully do not say. + +Yes, I understand that the financial payout to designated next of kin will be-- cancel. No, there is no next of kin. If you're not going to let me will it to a charity or foundation, I guess the government can have it. + +*Yes, I understand,* I indicate time and time again, perhaps two dozen times in total, then answer a short survey about who I am before I'm finally given a number and told to sit down. + +The wait wouldn't be unbearable if it weren't for the lingering weight of import straddling my shoulders, a petulant child tugging at my hair and whining about how this is the wrong thing to do, that there's gotta be some better way, this is irresponsible. Ten minutes with that weight and those whispered words would be bad enough, but then we hit twenty. Thirty. It wouldn't be so bad if-- + +"Three twenty-seven? Ma'am?" + +I jump at the interruption, looking up to the tired yet kindly eyes of the nurse. "Yeah, sorry," I reply. My own voice echoes strangely in my head, muffled by my own mask, and I realize it's been days since I've said anything aloud. + +I follow them into the procedure room, where the scent of sterilizer and ozone lingers in the air, where the chair that reclines into a bench stands alone, where sets of tracks on either side of the chair lead to barely concealed doors in the wall. I follow their guidance in undressing. They don't give me a gown or anything, and standing in nothing but this awful body that shrivels at the touch of the cold clinic air is decidedly uncomfortable. I sit awkwardly on the chair/bed. The cover looks like fabric until it's touched, at which point the illusion is shattered when my fingers find it unpleasantly rubberized. Another reminder of my skin, of my very real, very ill-fitting body. + +The discussion with the doctor is quick and to the point. + +Yes, I understand this will take about half an hour. + +Yes, I understand I'll be sedated but not asleep. + +Yes, I understand that the point of no return is announced by a beep. + +Yes, I understand, I understand, I understand... + +They smile to me, just as tired as the nurse. "Hey," they say, bowing. "It'll be a jiffy. Seriously. Been a decade since our last failed upload." + +"How many successful ones have you had since then?" + +They shrug. "I do about seven or eight a day, there are five operating rooms, and we're open every day. Never was the best at math, but that's a lot of uploads." + +The chair reclines automatically into a bed, and a faint whirr sounds behind me as the cabinets slide out from the wall from behind their subtle doors, revealing banks of what I imagine must be various scanners, instruments, tools, and whatever else is needed for the largely automated procedure. + +There's a loud beep that fills the room, and the doctor says, "Last chance." Their voice is lazy, calm, hardly an imposition. It's the voice of someone unwilling to sway the listener, merely doing their job. + +I shake my head, and that heavy import resting on my shoulders finally starts to slip, to slide free and drop away from me. The whining fades, the whispered suggestions that I'm doing the wrong thing become inaudible. + +Here is a short list of things that are more unpleasant than the uploading procedure: + +- I don't know, literal torture, maybe? + +It's not that it hurts. The first thing they do is give me one hell of an analgesic, leaving my mind dream-fogged, and then they clip something to my implant's contacts that I'm guessing all but turns off my ability to feel pain. + +It's that they leave the rest of me *on.* The smell is more intense than I'd care to admit. There's little I can see, but the sound is nauseating. I want to tell them to give me some fucking earplugs or something, but whatever's clipped to my contacts has inhibited motor control as well. + +The worst, though, is the way my vision jitters and blurs through all of the work they do on my head. + +And then, without warning, it's over. + +I'm sure there's some sort of discontinuity, that some amount of time passes between when the procedure completes and when I find myself here, fully formed and conscious, in the orientation room. Or perhaps it really is instantaneous. A part of me wonders if there might be some form of the procedure continuing back in the surgical room, some final scan of my dy­-- no, my *body's* dying nervous system, a place I no longer inhabit. + +Relief. The success streak of the clinic will not be broken by me. + +I wake on the floor of a nine-by-nine cube of what appears to be cool, gray stone blocks one meter on a side. I'm pleased to note the utter reality of the space. The stone is just that: stone. It isn't a rendering of stone, not a representation of stone, just...stone. + +The light seems to come from nowhere, leaving only blurry and indistinct shadows around me as I push myself up to sitting, doing my best to ignore my nude body, less than ideal in so many ways. I've gotten quite good at that over the years. + +"Greetings," says a soft voice behind me. I whirl around to see a short person with curly black hair, voice feminine and lilting. She's facing the other way, arms crossed before her. "I am facing the wall, as many here arrive unclothed. I am a construct --- a pretty face for a conversation tree --- and, while I will do my best to answer your questions, anything more difficult will wait until you can talk to a real person." + +"O-oh. Uh," I stammer. I scramble quickly to my feet and cover my body with hands and arms. That she's facing away certainly helps, but still. "How do I get clothes?" + +"I will walk you through the process of making those. It is part of a short tutorial series that will allow you to step into the System proper. Please close your eyes, think of your favorite outfit, and breathe in. As you breathe out, say, "I want to be wearing my favorite outfit," and smile." + +"Smile?" + +"Yes," she says. "We have found that this helps the newly arrived more smoothly project the intent to create something." + +Frowning, I nod and close my eyes, imagining the frowsy cotton skirt and linen blouse that had always been my favorite. Earth tones. No patterns. Muted. A way for me to stay hidden and comfortable both. A way to be overlooked. I breathe in, dreaming of that skirt and blouse, and speak "I want to be wearing my favorite outfit" as a sigh on my exhale. + +There isn't any change, at least not any immediately perceptible one. It's not like the clothes flow down over my shoulders like some sort of pleasant animation as I'd expect from a sim back on the 'net. When I look down, I'm just...clothed. + +I'm once again taken aback by the sheer reality of the place. The linen of my blouse is just as I remember it, that well-beaten fabric almost plush between my fingers. The cotton of my skirt sways just as I expect as I turn to inspect it. The only difference seems to be that the colors are a little fresher than remembered, the hem of the blouse a little lower. + +"I hear the swishing of fabric. May I turn around now, or do you need additional time?" + +"Oh, uh, you can turn around," I say. + +Nodding, the woman turns, smiles, and bows deeply to me. "Welcome to Lagrange, Rena Hatch. You are in the orientation sim AetherBox#5287. Should you care about such, you are upload 38,529,358,059, but will ever be a unique and cherished soul aboard *et cetera, et cetera.*" She laughs. "The next step of the tutorial is to fork for the first time." + +"I...what?" + +"Forking is the process of creating a copy of yourself. This copy is a wholly independent person and is free to either live out their own life completely separate from your own, or to quit. Should they do the latter, you will have the option to merge some or all of their memories with your own." + +"Why would I want to do that?" + +She shrugs, stepping back to the wall to lean casually against it. "Oh, plenty of reasons. You might have an obligation while in the middle of pursuing a hobby, or overlapping invitations to events, or just for shits and giggles." + +The casual demeanor and profanity catch me somewhat off-guard. She isn't what I expect from a construct. I find myself liking her immensely. + +"Oh, well. Sure, how do I do that?" + +"Same as with your clothes. Close your eyes, hold in your mind the desire to fork, breathe in, breathe out, smile, say the words." A lopsided smile tugs at the corner of her mouth. "You do not have to do all of that, mind. You can just do your best to project the intent to fork; you seem like a pretty savvy girl." + +"You're one hell of a guide." + +"Well, according to your file, the answers you gave on your survey, you are one hell of a woman." + +I laugh. "What's your name?" + +She smirks. "Fork, and I will tell you." + +Snrk. Well, might as well. I do my best to keep the eye-closing and mumbling-to-myself to a minimum, instead taking a deep breath in and then... + +"Well done, Rena," the guide says, grinning. + +Beside me stands another version of myself. We both let out a startled laugh and take a half step away from each other. I work up the courage to lean in closer to my new instance and, after a moment, she does the same. We take a few moments to inspect each other's faces. I'm startled to see just how much the acne scars that pock my face crinkle my cheeks when I smile. + +"Well I'll be damned." + +"Neat, is it not?" + +Both of me nod. My double --- it flashes into my head that she's named Rena Hatch#2a883de3, though how that comes to me, I haven't the faintest idea --- says, "So I can just go on living as I'd like?" + +"Well, sure, but for the purposes of this exercise, I would like you to go ahead and quit. Same thing, desire to quit, yadda yadda." + +"Isn't that kind of like dying?" + +"Not really, no. It is a merging. Many call it 'merging down' rather than 'quitting' for that reason. Our answer to the teleporter paradox is..." She gives a Talmudic shrug. + +Both of me laugh and, after a moment, where once Rena#2a883de3 stood, she is no longer. There's no sudden inrush of air, she simply isn't there anymore. + +There's a sensation of *almost* remembering something, like a word that's right on the tip of my tongue, ready to be said or dismissed as not worth the effort. + +I decide to remember it and there, suddenly, is the memory of popping into being, of suddenly seeing this guide from another point of view, suddenly seeing another version of myself --- me, the one who remained --- suddenly inspecting my own face, and then...well, then no more memories from that point of view. + +"Weird." + +The guide laughs. Weird to include that on a construct. "Again, you do not need to fork, or you can fork hundreds of times over. It is also used to change one's appearance --- simply fork while holding the desired change in your mind. Should you like to be shorter, to have thicker hair, well..." Another shrug. + +*This* leaves me pondering. I barely listen through the remainder of the tutorial --- checking the time, checking the feeds, checking my current reputation balance, looking up information in the perisystem architecture --- as my mind circles around that ability. + +I mean, of course there's the ability to change on the System. Right? Like, that was part of me uploading. Even if it required filling out forms in triplicate, there had to be a way to live the life I wanted up here, easier and more fulfilling. + +I just hadn't imagined it would be dropped in my lap by an automated guide. + +The sound of my name snaps me back to reality. "Uh, yes?" + +"I said 'welcome once more to Lagrange, Rena Hatch.' You have been provided with a starter boost of reputation. Feel free to look up housing on the reputation market, though you have been provided a room." + +"How do I get to it?" + +"Why, that is the final step in the tutorial, my dear. Project an intent to visit 'home'. This will work for any sim name you are provided, so long as it is either public or you have been invited by the sim owner." Another smile tickles at the corner of the guide's mouth. "For instance, if you would like a lovely cup of coffee, may I recommend The Alley Cat? You can find it at Old Town Square#58289a40." + +"Oh, well...alright. Thank you, I guess." + +"My pleasure." + +"Weren't you going to tell me your name?" + +The construct bows. "You may call me what you wish, but I am patterned off one of my creators, Then I Must In All Ways Be Earnest of the Ode clade." I must look nonplussed, as the construct laughs, waving a hand dismissively. "You will learn, my dear. Please enjoy, and do not hesitate to ask for help on the new upload assistance feed." + +I hesitate, bow back, and step out of the orientation sim with a wish. + +----- + +Those early days are heady for me. I do indeed get a very good coffee at The Alley Cat, though not without a moment of embarrassment as I have to ask the constructs working behind the bar how to pay. + +"No need," they say, sounding far less personal than the guide I'd met, more automated. "Reputation cost deducted automatically. No need." + +Ah well. Like I said, pretty damn good coffee. + +I spend a few days just poking around Old Town Square and its environs. At night, I step home to my little apartment, sleep for a while, browse the feeds, maybe take a shower. Then in the morning, I'm back to the public sim, poking through the various shops --- I spend the most time in the one specializing in impossible shapes --- or going for a hike up to the natural park environment just beyond the pedestrian mall. + +I eat, I sleep, I explore, and I fork. I fork like mad. + +There is a cost to forking --- after all, that new me takes up space on the System's hardware, too --- but only if you let the two instances linger for more than five minutes. It makes sense: if forking is the easiest way to work in these huge changes, then that gives you a buffer to do so. + +So I fork, holding in mind a change, and then my new instance and I discuss how it works out, and if it's good, the old instance quits and the new instance becomes the only me. I learn early on to make small changes, as trying to hold too much in my head at once just leads to a confused jumble of an appearance. I fork my hair smoother, less dry. I fork my face rounder and softer. I fork my breasts rounder and my hips curvier. I fork myself shorter. + +In the end, I guess I kind of complete the transition I'd started back phys-side. + +It's thrilling and terrifying, leaving behind that old version of myself. What happens if I fuck up and don't like who I become? What if the wrong me quits? Would I die? + +The feeds help me out immensely, here. With nearly two trillion instances, I'm hardly the first trans girl to upload to get away from a less-than-ideal life. I'm hardly the first one who'd been struck with a case of the genders that uploads to hunt for a cure. + +Here's what I learn: + +- Don't fucking worry. + +Sure enough, I can't quit without another fork already in existence. It's like pressing against a membrane: maybe I could push through, but it's like Lagrange doesn't want me to. Also, I find that if I focus hard enough, I can fork back into the version of myself who originally uploaded. The memory is still there. + +So I keep on forking and forking and forking until I...well, I guess I wind up looking a little bit like the guide who introduced me here. Sure, I've got longer hair and I'm not quite as stocky as she was, but I pass. + +I don't just pass, I *am* that girl. Not quite the same one I dreamed so long ago, but I just plain am that girl. + +Don't fucking worry, indeed. + +It's my third day there when I start to get pretty actively lonely, and instead of digging into the sims and shops and yet more restaurants, I start hunting for people. + +Old Town Square is surprisingly chill, in terms of crowds. Sure, there's little knots of people that wander down the brick-paved pedestrian mall, or folks out in ones and twos enjoying the sun and their own cups of coffee, but it's hardly as packed as I would have assumed for a system containing so many uploads and all their forks. + +The amount of sims listed on the perisystem architecture about blows my head off when I check. There have to be millions, maybe billions of sims I could go looking into. + +Which makes sense, I suppose. With the reputation I have, I could probably get started on a sim; it's not that expensive. + +I haven't the faintest how to do so, nor the faintest where to start, so I do the first thing that comes to mind and ask someone at The Alley Cat where they'd go to start seeing more of the world. The person I ask shrugs and gestures behind them toward a door set in the wall. I'd assumed it led out to a patio out back or something, a sign above it reads "Infinite Café#06f4e37a --- Thanks For Stopping By!" + +Nothing for it. I step through the door. + +And immediately fall to my knees. + +The street I walk out onto is far more packed than Old Town Square, yes, but it also seems to go on pretty much forever. The further down the street I look, the more it seems to rise until, sure enough, it rises right up into the sky and continues around in a loop until back where I am. So large is the diameter of this loop that the street above me looks like a shimmering thread draped lazily across the dazzling blue sky. + +"What the fuck..." + +There's a laugh beside me, and I look up to someone towering above me, offering a hand to help me stand. They're tall --- taller even than I was back phys-side --- with long hair that sits between frizzy and curly, and a rather chic looking tee to go with a pair of what look to be scrub pants. Messenger bag. Glasses. They're delightfully gender. Visibly and effortlessly transfeminine. "Come, stand. It is a lot, is it not?" + +"Uh...yeah," I say, wobbling up to my feet with their assistance. Looking around shows me people. People and people and people. Across the street: another café, stuffed to the brim with people. Down the street: yet another coffee shop, a furry of some sort staring longingly at a display of pastries within. "What the hell is this place?" + +"Infinite Café." They chuckle, not unkindly. "Every café sim on Lagrange is invited to have a back door that opens onto this street. You could walk for a month here and still not see half of the cafés on offer." + +"Jesus." + +"There are...ah, looks like fifty-eight cafés with Jesus in their name, yes." + +I snort. + +"Come, walk with me," they say. + +"Why?" + +"Fuck if I know. I am starting to feel awkward standing in front of this place waiting for you." + +I fall into step beside them as we start to make our way down the street. "Wait, hold on. Waiting for me?" + +"Yes. In All Ways said I ought to keep an eye out for you." + +"In All-- wait, the construct? The orientation guide?" + +"That was In All Ways's construct, yes. *She* is still a real person. She keeps vague tabs on uploads that pass through her orientation settings." + +"And she kept tabs on me?" + +"Milldions pass before her constructs' eyes, she just keeps an eye out for a few particular things. Friendly faces, interesting stories, that sort of stuff." They shrug, smiling. The smile is kind enough and earnest enough to take the wind out of my suspicion's sails. "You seemed interesting enough to her, apparently, so she sent you my way. You seem nice to me, too. You can call me My." + +"My...like me, my, mine?" I say, sounding stupid even to myself. + +They laugh. "Just like that, yes. Hold My Name Beneath Your Tongue And Know of the Ode clade. Just 'My' is fine. She/her." + +"That's the second time I've heard 'Ode clade', and I still don't get it." + +"A clade is just a group of people forked from the same upload. I am quite far diverged from my root instance. Certainly further than In All Ways is. You look a little like her, you know that?" + +Caught. I panic. + +She rests a hand gently on my elbow and tuts. "Hey, hush. It is okay. You take inspiration where you can, yes?" she says. "Besides, I am not going to complain. She is pretty." + +"Thanks," I stammer, unsure of how to proceed. "You are too, I guess." + +"'You guess'?" She smirks. "No, no, I get what you mean. In All Ways said I should be on the lookout for a trans girl, about our age, real frumpcore vibe. I got pretty much that, did I not? Besides, we usually share an aesthetic, I am just dressed down today." + +"What, the skirts and all?" + +She nods, tilts her head, and, with a quiet rustle, her clothes shift from what she had been wearing to a navy blue tiered skirt and almost-matching splotchy blue blouse. "Of course." + +I grin, making a show of looking her up and down. "Definitely pretty, then," I say. I ought to kick myself for flirting, but I'll take what I can get. + +She gives a hint of a curtsey. "So, Rena, yes? She/her, yes? Tell me who you are. Tell me why you are here. Tell me what you dream of." + +It takes me a moment to piece together what exactly I'm being asked. "I'm a nobody," I say eventually, shrugging. "Parents are nobodies, grandparents were nobodies. I had friends, but they were all on the net and planning to upload someday. I was just the first." I hesitate for a moment, then add more quietly, "And I guess the whole being a girl thing." + +"And what do you dream of?" + +"God, I have no fucking clue." + +"Cheers to that. Hey, look. Jesus Croissant." She laughs. "Want to check it out?" + +Jesus Croissant is sterile, blank, modern. Here, at last, I see the too-flat planes, the too-simple colors, the suspiciously repeating patterns of flecks on the formica counters. It makes me realize just how high quality a sim Old Town Square is. At least the coffee's okay, though croissants are weirdly absent from their menu. + +For the rest of the day, we continue on down the road, hunting for other Jesus-themed coffees and snacks. My teaches me how to play with my sensorium, to turn up and down my sense of smell, my sense of fullness and hunger, even, when a passer-by bumps into me, the collision algorithms that govern how close to me others can get to me before bouncing off. + +"It is a good place, Lagrange," she says. "People build all of this fantastically weird stuff, they build all of these fantastically weird versions of themselves, and they have their fun. They really do! But once they are here and no longer scraping by or living comfortably in their workaday jobs, they settle into their niches of giants or robots or furries or impossibly muscular people." She peeks at me sidelong, an appraising glance. "Or trans girls, yes?" + +While there's an invitation to respond, I decide against it, instead focusing on picking out each of the types she had mentioned in the crowd around us. There, a giant robot, standing nearly three meters tall. There, a surfeit of skunks, chatting animatedly. There, a woman who could absolutely, no doubt, break me in half. + +We continue on. + +We don't find the next Jesusy coffee shop, but we do agree to meet tomorrow to try again. + +----- + +I continue to meet with My --- or at least a fork of her --- daily for the next week or two. + +She's old, it turns out. Nearly three centuries. One of the first uploads, back in 2117, when the System had yet to blossom to its full potential. She'd been up here, riding along in the hardware that had been floating up by the moon since before my grandparents had been born. Since before my grandparents' grandparents had moved north to Saskatchewan. + +Old and wide-spread, too. The Ode clade has at least a hundred instances --- "*nominally* one hundred, do not ask me the total; it is probably well into the thousands" she says --- scattered about on Lagrange. + +The more I talk with her, the more worldly she seems, and the more of a hick I feel. Here's this trans gal --- a cis woman who had uploaded, a fork who had lived as a cis guy for decades before transitioning back the long way around --- out here living her best life like there's just nothing to it, getting coffee with me every day, taking me out to ridiculous restaurants every evening --- "I am just a fork," she says, "so you need not worry about keeping me from anything" --- and having increasingly deep conversations about the vagaries of life. + +She's a weird bird, but I can forgive much from someone more than ten times as old as me. + +And this whole time, even past my one-week-iversary of uploading, I keep forking and changing, forking and refining, forking and tuning. My hair could be this long, right? Or...well, no. Maybe it could be a touch shorter. And my eyelashes could be a bit longer. And the hairs that make up my unibrow could be thinner --- not gone, no, just enough to shape an impression of a face. And my cheeks could be maybe just a little rosier. Which maybe I could do by keeping them as they are but toning my skin a little lighter, perhaps? + +It's infuriating. It's *more* than infuriating. It's crazymaking, forking and changing, forking and changing, hunting for ever finer lines of exploration, going down blind alleys of gender, making U-turns in front of piles of identity that make me wince and squirm. + +I puzzle over this dysphoria, so different from back phys-side. So different from the reason I uploaded in the first place. + +My doesn't need to say anything, she just keeps on talking to me, keeps on spending time with me. She just keeps on being around me as someone who is happier, more content with her life. She just exists at me as someone who lives in her body entirely while I, itching, squirming, do not. + +She never calls me on it, not once, but when I finally break down in front of her and start crying about it, *'I know'* is painted across her face in plain-to-see lines. + +"I just don't even know what I'm doing. I feel like I'm refining myself into something unrecognizable," I ramble in a quiet corner of one of those Jesusy coffee shops. None, so far, have been Christian. All have been bizarre. "I'm turning into someone I don't know." + +"Why?" she asks. "I mean, I know *how* you are doing it. I know the base reasons. You are trying to become maybe a cisfemme woman, yes? You are trying to be the you that you always saw yourself as, yes?" + +"Well, yeah," I say, turning my untouched latte around in a circle on the dinged-up tabletop. "I told myself I'd come up here and finish my transition." + +"'Finish'?" + +I squint up at her, fearing a trap. "Ye-e-es..." + +She holds up a hand disarmingly. "I am not calling you out, my dear. Everyone approaches this differently. What I mean to ask is what 'finished' looks like for you." + +"I don't know," I say as I subside back into my seat, sounding miserable even to myself. + +"You have all the time in the world, Rena," My says. "And that world is going nowhere fast." + +I nod sullenly. + +"Well, hey. How about you show me what you looked like before." + +"Here?" + +She shrugs. There really isn't anyone around but us and the constructs behind the bar. + +I shrug, too, and fork into that version of me I remember from so long ago --- had it really been a week and a half? + +My raises an eyebrow. + +"What?" + +"Look." + +I glance over at that fork of me, then look closer. Really, truly look. What I'd taken as too tall comes off as merely tall-ish, now that she's not me. That too-high hairline is all but unnoticeable. That rectangular frame I'd bitched about plenty is...fine. Like, it's fine! She's fine! + +*I was fine.* + +My pushes her chair back to go stand by this new version of the old me, and similarities and differences crowd into my mind. There, two trans girls, just standing in a coffee shop, looking for all the world like they're on a date. Maybe they don't pass, not to my discerning eye, but they look fine. They look fine. + +Here are all the unassailable, irrefutable facts about them: + +- They look fine. + +"Fuck," I say. + +My laughs. + +"What do I do?" I groan, slouching back in my chair and looking up to the two before me. + +"Whatever you would like," My says. "You have the time, yes? And I sure as shit do not know what you need out of life. All I can do is keep taking you out for coffee while you figure it out, yes?" + +I laugh. "Yeah, but which me?" + +She casts an appraising look at me, then at my new instance standing beside her, visibly and effortlessly trans. "One of you," she says eventually. "But only one. The other can do whatever she wants --- she can quit or go on exploring her own life or whatever; she can change and individuate, become someone new, change her name to something ridiculous as we have --- but only one of you gets to go on the next date." + +Me and this new Rena, this new old Rena, look at each other, grin, and nod. + +"Deal," we say in unison. + From 813beb4cf40a7f14d638a2afcb189d20dcb12072 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sun, 24 Sep 2023 18:17:58 -0700 Subject: [PATCH 030/122] Typo --- content/extras/opportunity-paralysis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/opportunity-paralysis.md b/content/extras/opportunity-paralysis.md index ae22604..0d83ae3 100644 --- a/content/extras/opportunity-paralysis.md +++ b/content/extras/opportunity-paralysis.md @@ -1,7 +1,7 @@ --- title: Opportunity Paralysis author: Madison Scott-Clary -character: Rena Hatch --- 2368 +character: Rena Hatch — 2368 type: story --- From d4464d91568a402ae3391856ccf9ef702a4809a2 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 27 Sep 2023 10:53:10 -0700 Subject: [PATCH 031/122] MUCK intro doc --- content/extras/muck.md | 188 +++++++++++++++++++++++++++++++++++++++++ themes/maddybook | 2 +- 2 files changed, 189 insertions(+), 1 deletion(-) create mode 100644 content/extras/muck.md diff --git a/content/extras/muck.md b/content/extras/muck.md new file mode 100644 index 0000000..b4008c1 --- /dev/null +++ b/content/extras/muck.md @@ -0,0 +1,188 @@ +The Post-Self MUCK is an avenue for exploring the setting through roleplay. You can join us as a cladist on the Lagrange System in the year 2403 etc etc skunks write more here plox + +## Pt 0: Where Am I? + +This is the System, and you are a cladist, defined by your ability to fork into several duplicates of yourself on a whim, to merge or individuate as you will, and to live at ease in this consensual dream. + +This MUCK is a roleplaying community meant to bring together those various readers of [Post-Self.ink](https://post-self.ink) who are interested in telling stories set in this world. + +For those familiar with the setting, it is important to take note of the particular time and place in which we write: It is Systime 279, several years after the Century Attack that resulted in the irrevocable loss of approximately 1% of all instances on the Lagrange System. + +## Pt 1: The First Minutes + +Let us begin with an FAQ: + +### How do I get out of here? + +You can view various `sims` and `links` using their respective commands. Simply entering the name of one of them will send you to its destination. + +If you just want out, your best bet is to write `square`. + +### How do I talk? + +The simple answer is `say `. Sometimes what you want is to `pose `. You can write `" ` instead of `say`, and `; ` instead of `pose`. + +If you want your message not to begin with your name, you can use `@emit ` or `\\ ` instead. + +There is also `ooc `, which will accept the format `ooc ; `. + +Lastly, you may have noticed the **[Public]** channel. You can participate by writing `pub ` or `pub ; `. + +### What should I do now? + +You already know enough to jump in and roleplay! But the MUCK environment has so much more to offer. + +You could, for instance, decide to write an `@desc me = ` that people can `look %n` at. Use `%r` in place of newlines if you want multiple paragraphs. + +## Pt 2: The First Hour + +We should talk about getting around and communicating with others remotely. + +### Join / Call + +When you want to teleport to someone in particular, you can request to `join ` them. Alternatively, if you want to bring them to you, you can `call ` them. + +If you receive such a request, you answer it with the same commands; the notification will generate the command for you, which you can paste into your input if you prefer. + +### Page + +You can read more detailed documentation for this command by writing `help page`, but the simplest case is `page = `. This lets you send a private message to someone. You can also `page = ; ` to perform a page-pose. + +### Exits + +Exits are like doors. You can go through one by entering its name as a command. If there is an underlined part of the name, that is probably an abbreviation that will also work. + +There should always be an exit called **Back** that takes you closer to the central area in a given sim. **Out** should likewise take you closer to the figurative street. + +## Pt 3: The First Day + +Now we are getting into the thick of settling in! + +### Creating A Home + +You should read `help @dig` for more details, but it is enough to write `@dig/teleport ; @link me = here`. This will create a new room and make it your `home`. + +You can set an `@desc here = ` for the room just like you set for yourself. + +### Lost And Found + +If you ever lose track of your things, you can use `@find` or `@search` to retrieve their DBRefs, which will work in commands no matter where you are in the System. + +This is especially handy to `@teleport me = ` to a room you own, or to `@tel = me` something you own into your `inventory`. + +### Inventory Items + +You can `@create ` a new object, which will appear in your inventory. You can `@desc` it, `@link = me` it to yourself so it returns to you when sent home, `drop ` or `take ` it, `@lock = me` it so only you can move it, and `@set = :` its attributes. + +Such an object is not particularly useful on its own, but there are clever things you can do with them if you are willing to get acquainted with softcode. + +## Pt 4: The First Week + +Finally, we should talk about building. + +### Connecting Rooms + +If you own two rooms and you want to connect them, you will need to `@open  = , ` a new exit. + +For example, you might write, + + @open %xuE%xnast; east; e = #1234, %xuW%xnest; west; w + +This creates an exit where you stand called **East** that takes you to DBRef #1234, and a reciprocal exit called **West** that returns to where you stand. + +### Thinking About ANSI + +Those percent signs were probably a little scary. You can read more about them with `help ansi substitution`. You can experiment with them using the `think `, which will simply spit whatever you write back at you after evaluating any substitutions. + +It is important to note that each client will show ANSI differently, if it supports it at all. Treat this as pretty garnish, and avoid colors entirely. The ones you are likely to use are `\%xu`, **\%xh**, and \%xn, which resets any styling. + +You may be pleased to learn that these all work virtually anywhere, including when you speak! + +## Supp A --- Forks + +This is the System! Of **course** you can fork! Here is how that works: + +### The Fork Command + +Simply `fork [tag]` to produce a duplicate of yourself. If you do not include a tag, one will be randomly-generated instead. + +This fork inherits nearly everything about you, in- and out-of-character. There are some technical limitations, however. + +For one, a fork-of-a-fork can be made, but it will technically end up as your direct up-tree. This should not matter mechanically; it just makes things easier under the hood. Roleplay can do the rest. + +The other catch is to do with individuation, which requires a different approach to controlling your fork. It is better to create another character if you intend to have a fork take on a new name. Your memories can be copied over by a `Wizard`. + +### Wrangling Forks + +To control a fork, you can write `> = `. It will automatically set your default fork, which can be controlled by writing just `> `. A fork can `quit`, which will automatically send a `merge` request to you. + +### Memories + +You can save a new memory by writing `memo [paragraph]`. If you do not include any text after the command, it will list all of your memories instead. + +Memory merges **are** currently saved, but the command to address them has not yet been implemented. In the future, there will also be a `recall ` command, which will let you search your memories for specific words. + +## Supp B --- Softcode + +Softcode is where things start to get real interesting, but to be perfectly honest, if you are not prepared to grind your nose against it for several hours, it is probably not the feature for you. You can ask for help from a `Wizard` if you need, of course, but it will take time for you to get comfortable using it. Be patient with yourself; this stuff is hard. + +You can find an API containing most of the functions you can use on [the TinyMUX wiki](https://wiki.tinymux.org/index.php/Softcode_functions). You can also use `help ` in the case of those many pages that were never copied onto the website. + +Softcode is braided into plaintext to produce dynamic output. For instance, you could make your hair a different color every time someone looks at it, or create a watch that actually shows the time. You could make clothes that alter your description when put on, or a door that leads to a different destination based on the time of day. Softcode is flexible, but it is also kind of a pain to use. + +Here is an example of how to use softcode: + + think Two plus two equals [\spellnum( \add(2, 2) )]! + +This will output: + +> Two plus two equals four! + +The only unique function this MUCK has so far is `systime()`, which simply outputs the in-character time like so: `279+270.43`. + +These manuals have been given the `Visual` flag so that you can study how they work, if you need more examples. You can look into their inner workings with `examine `. + +## Supp C --- Pronouns + +TinyMUX's built-in substitutions for pronouns are not great, so we have implemented our own. + +### Setting Up Pronouns + +You can write `pronouns` to see a list of all presets we have already. If what you are looking for is not there, feel free to ask a `Wizard` for help. + +You may note that there are `Singular` and `Plural` options as well; these are important for setting up the grammar used when referring to you. + +To select a preset, write `pronouns ` and verify that the test string displays correctly. + +**Using Pronouns** +Virtually any text can include substitutions, and the functions are named so that they should be fairly readable. For example, if you have pronouns set to feminine: + + [they(\%#, 1)] [has(\%#)] [they(\%#)] / [them(\%#)] pronouns. + +will produce the output: + +> she has she / her pronouns. + +You can read about `\%#` in `help substitutions`. Also, take note of the extra parameter in that first substitution, `\[they(\%#%xh, 1``)\]`. This is how you capitalize a substituted word. + +### Pronoun Functions + +These are the commands for inserting pronouns in your text using softcode. + +`they()`, `them()`, `their()`, `theirs()`, `themself()` + +### Conjugation Functions + +These are the commands for properly conjugating verbs using softcode. + +* ss() : `[they(\%#)] walk[ss(\%#)]` = they walk / ey walks +* es() : `[they(\%#)] go[es(\%#)]` = they go / ey goes +* is() : `[they(\%#)] [is(\%#)]` = they are / ey is +* was() : `[they(\%#)] [was(\%#)]` = they were / ey was +* has() : `[they(\%#)] [has(\%)]` = they have / ey has + +## Supp D --- Differences for users coming from MUCKs + +* Instead of the `who`/`WHO` dichotomy, you can see who is in the room with you with `lwho` +* Instead of `spoof `, use `\\ ` +* You can still use `:` for posing. If you want the text to abut your name in poses (like for adding `'s`), use `;`. diff --git a/themes/maddybook b/themes/maddybook index d42cb0d..e460c8b 160000 --- a/themes/maddybook +++ b/themes/maddybook @@ -1 +1 @@ -Subproject commit d42cb0df2cea811e4b7f7889611d03d46f691ef4 +Subproject commit e460c8bb2e788fcfac9a9712aeecec6b0f0622a8 From da12e071a055b1b44ac282ac7a6b81b82c21f278 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 27 Sep 2023 11:05:44 -0700 Subject: [PATCH 032/122] Slashes --- content/extras/muck.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/content/extras/muck.md b/content/extras/muck.md index b4008c1..4af670e 100644 --- a/content/extras/muck.md +++ b/content/extras/muck.md @@ -1,6 +1,6 @@ The Post-Self MUCK is an avenue for exploring the setting through roleplay. You can join us as a cladist on the Lagrange System in the year 2403 etc etc skunks write more here plox -## Pt 0: Where Am I? +## Where Am I? This is the System, and you are a cladist, defined by your ability to fork into several duplicates of yourself on a whim, to merge or individuate as you will, and to live at ease in this consensual dream. @@ -8,7 +8,7 @@ This MUCK is a roleplaying community meant to bring together those various reade For those familiar with the setting, it is important to take note of the particular time and place in which we write: It is Systime 279, several years after the Century Attack that resulted in the irrevocable loss of approximately 1% of all instances on the Lagrange System. -## Pt 1: The First Minutes +## The First Minutes Let us begin with an FAQ: @@ -22,7 +22,7 @@ If you just want out, your best bet is to write `square`. The simple answer is `say `. Sometimes what you want is to `pose `. You can write `" ` instead of `say`, and `; ` instead of `pose`. -If you want your message not to begin with your name, you can use `@emit ` or `\\ ` instead. +If you want your message not to begin with your name, you can use `@emit ` or `\ ` instead. There is also `ooc `, which will accept the format `ooc ; `. @@ -32,9 +32,9 @@ Lastly, you may have noticed the **[Public]** channel. You can participate by wr You already know enough to jump in and roleplay! But the MUCK environment has so much more to offer. -You could, for instance, decide to write an `@desc me = ` that people can `look %n` at. Use `%r` in place of newlines if you want multiple paragraphs. +You could, for instance, decide to write an `@desc me = ` that people can see by at `look`ing at you. Use `%r` in place of newlines if you want multiple paragraphs. -## Pt 2: The First Hour +## The First Hour We should talk about getting around and communicating with others remotely. @@ -54,7 +54,7 @@ Exits are like doors. You can go through one by entering its name as a command. There should always be an exit called **Back** that takes you closer to the central area in a given sim. **Out** should likewise take you closer to the figurative street. -## Pt 3: The First Day +## The First Day Now we are getting into the thick of settling in! @@ -76,7 +76,7 @@ You can `@create ` a new object, which will appear in your inventory. You Such an object is not particularly useful on its own, but there are clever things you can do with them if you are willing to get acquainted with softcode. -## Pt 4: The First Week +## The First Week Finally, we should talk about building. @@ -94,11 +94,11 @@ This creates an exit where you stand called **East** that takes you to DB Those percent signs were probably a little scary. You can read more about them with `help ansi substitution`. You can experiment with them using the `think `, which will simply spit whatever you write back at you after evaluating any substitutions. -It is important to note that each client will show ANSI differently, if it supports it at all. Treat this as pretty garnish, and avoid colors entirely. The ones you are likely to use are `\%xu`, **\%xh**, and \%xn, which resets any styling. +It is important to note that each client will show ANSI differently, if it supports it at all. Treat this as pretty garnish, and avoid colors entirely. The ones you are likely to use are `%xu` for underlining, `%xh` for bold, and `%xn`, which resets any styling. You may be pleased to learn that these all work virtually anywhere, including when you speak! -## Supp A --- Forks +## Forks This is the System! Of **course** you can fork! Here is how that works: @@ -122,7 +122,7 @@ You can save a new memory by writing `memo [paragraph]`. If you do not include a Memory merges **are** currently saved, but the command to address them has not yet been implemented. In the future, there will also be a `recall ` command, which will let you search your memories for specific words. -## Supp B --- Softcode +## Softcode Softcode is where things start to get real interesting, but to be perfectly honest, if you are not prepared to grind your nose against it for several hours, it is probably not the feature for you. You can ask for help from a `Wizard` if you need, of course, but it will take time for you to get comfortable using it. Be patient with yourself; this stuff is hard. @@ -142,7 +142,7 @@ The only unique function this MUCK has so far is `systime()`, which simply outpu These manuals have been given the `Visual` flag so that you can study how they work, if you need more examples. You can look into their inner workings with `examine `. -## Supp C --- Pronouns +## Pronouns TinyMUX's built-in substitutions for pronouns are not great, so we have implemented our own. @@ -157,13 +157,13 @@ To select a preset, write `pronouns ` and verify that the test string di **Using Pronouns** Virtually any text can include substitutions, and the functions are named so that they should be fairly readable. For example, if you have pronouns set to feminine: - [they(\%#, 1)] [has(\%#)] [they(\%#)] / [them(\%#)] pronouns. + [they(%#, 1)] [has(%#)] [they(%#)] / [them(%#)] pronouns. will produce the output: > she has she / her pronouns. -You can read about `\%#` in `help substitutions`. Also, take note of the extra parameter in that first substitution, `\[they(\%#%xh, 1``)\]`. This is how you capitalize a substituted word. +You can read about `%#` in `help substitutions`. Also, take note of the extra parameter in that first substitution, `[they(%#%xh, 1``)]`. This is how you capitalize a substituted word. ### Pronoun Functions @@ -175,14 +175,14 @@ These are the commands for inserting pronouns in your text using softcode. These are the commands for properly conjugating verbs using softcode. -* ss() : `[they(\%#)] walk[ss(\%#)]` = they walk / ey walks -* es() : `[they(\%#)] go[es(\%#)]` = they go / ey goes -* is() : `[they(\%#)] [is(\%#)]` = they are / ey is -* was() : `[they(\%#)] [was(\%#)]` = they were / ey was -* has() : `[they(\%#)] [has(\%)]` = they have / ey has +* ss() : `[they(%#)] walk[ss(%#)]` = they walk / ey walks +* es() : `[they(%#)] go[es(%#)]` = they go / ey goes +* is() : `[they(%#)] [is(%#)]` = they are / ey is +* was() : `[they(%#)] [was(%#)]` = they were / ey was +* has() : `[they(%#)] [has(%#)]` = they have / ey has -## Supp D --- Differences for users coming from MUCKs +## Differences for users coming from MUCKs * Instead of the `who`/`WHO` dichotomy, you can see who is in the room with you with `lwho` -* Instead of `spoof `, use `\\ ` +* Instead of `spoof `, use `\ ` * You can still use `:` for posing. If you want the text to abut your name in poses (like for adding `'s`), use `;`. From 1949a8deea429d3d55845fa4abbc083d1c49b1b5 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 27 Sep 2023 11:09:23 -0700 Subject: [PATCH 033/122] Separate commands --- content/extras/muck.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/muck.md b/content/extras/muck.md index 4af670e..030dd6e 100644 --- a/content/extras/muck.md +++ b/content/extras/muck.md @@ -60,7 +60,7 @@ Now we are getting into the thick of settling in! ### Creating A Home -You should read `help @dig` for more details, but it is enough to write `@dig/teleport ; @link me = here`. This will create a new room and make it your `home`. +You should read `help @dig` for more details, but it is enough to write `@dig/teleport ` followed by `@link me = here`. This will create a new room and make it your `home`. You can set an `@desc here = ` for the room just like you set for yourself. From 7c84fc5cfe678643284e916fe2d14801a03e2cb1 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Wed, 27 Sep 2023 15:49:47 -0700 Subject: [PATCH 034/122] typo --- content/extras/muck.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/extras/muck.md b/content/extras/muck.md index 030dd6e..d21da1e 100644 --- a/content/extras/muck.md +++ b/content/extras/muck.md @@ -163,7 +163,7 @@ will produce the output: > she has she / her pronouns. -You can read about `%#` in `help substitutions`. Also, take note of the extra parameter in that first substitution, `[they(%#%xh, 1``)]`. This is how you capitalize a substituted word. +You can read about `%#` in `help substitutions`. Also, take note of the extra parameter in that first substitution, `[they(%#%xh, 1)]`. This is how you capitalize a substituted word. ### Pronoun Functions From dbbf7f9e7d67c700199f53171127ec7d37bc0812 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Tue, 3 Oct 2023 13:57:46 -0700 Subject: [PATCH 035/122] Nav details --- content/_index.md | 88 ++++++-------------------------------- content/extras/muck.md | 4 ++ layouts/partials/nav.html | 27 ++++++++---- static/css/toledot.css | 18 ++++---- static/img/hero-bg.png | Bin 0 -> 140367 bytes themes/maddybook | 2 +- 6 files changed, 44 insertions(+), 95 deletions(-) create mode 100644 static/img/hero-bg.png diff --git a/content/_index.md b/content/_index.md index 72cb457..1700131 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,78 +1,16 @@ --- --- - - -

    - - - - - - - - - +
    +
      +
    • Given the chance to live forever in a world not built for death, what do you do?
    • +
    • Given the inability to forget—all your joys and sorrows, all your foundational memories and traumas—how do you cope?
    • +
    • Given the ability to create a full copy of yourself—down to every single one of those memories—to do as they will, to individuate and live out their own forever lives, or merge back down and meld their memories with your own, what paths do you take?
    • +
    +
    +

    The Post-Self universe is an open setting for exploring the ramifications of being able to create copies of oneself, of what it means to undergo individuation, of what it means to let memories build up and up and up within oneself. With four novels, two novellas, and an anthology of short stories, there's story to explore spanning nearly three centuries of history.

    + +

    Updates

    + diff --git a/content/extras/muck.md b/content/extras/muck.md index d21da1e..8cd9a4a 100644 --- a/content/extras/muck.md +++ b/content/extras/muck.md @@ -1,3 +1,7 @@ +--- +title: The Post-Self MUCK +--- + The Post-Self MUCK is an avenue for exploring the setting through roleplay. You can join us as a cladist on the Lagrange System in the year 2403 etc etc skunks write more here plox ## Where Am I? diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index 63b1dc2..c50e633 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,14 +1,23 @@